/* ============================================================
   CARVÃO DOURADOS — camada de direção de arte "Brasa & Dourado"
   Carregada DEPOIS de css/style.css: só amplia/sobrescreve o que é
   específico deste projeto. Cores sempre via variáveis do tema.
   A página é escura de ponta a ponta, na estética da marca
   (preto carvão + dourado do selo + brasa), para conversar com a
   logo, as embalagens e a foto do hero.
   ============================================================ */

html, body {
    overflow-x: hidden;
}

body {
    background: var(--carvao-fundo);
    color: var(--carvao-creme);
}

::selection {
    background: rgba(var(--color-secondary-rgb), .9);
    color: #14100E;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 2px;
}

/* ===== Textura: grão fino de carvão (SVG inline, sem arquivo de imagem) ===== */
.ember-grain::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: .38;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* ===== Header ===== */
.lp-topbar {
    background: #0A0807;
    color: rgba(243, 233, 220, .72);
    border-bottom: 1px solid var(--carvao-borda);
}
.lp-topbar a:hover { color: var(--color-secondary); }

.lp-navbar {
    background: rgba(16, 12, 11, .78);
    border-bottom: 1px solid var(--carvao-borda);
    box-shadow: 0 18px 40px -30px #000;
}

.lp-nav-link {
    color: rgba(243, 233, 220, .82);
    font-size: .95rem;
    letter-spacing: -.01em;
}
.lp-nav-link:hover { color: var(--color-secondary); }

#lp-menu-toggle { color: var(--carvao-creme); }

#lp-mobile-menu {
    background: rgba(12, 9, 8, .97);
    border-top: 1px solid var(--carvao-borda);
}

/* Logo circular da marca */
.ember-logo {
    width: auto;
    filter: drop-shadow(0 6px 18px rgba(217, 162, 46, .25));
    transition: transform var(--transition-base), filter var(--transition-base);
}
a:hover > .ember-logo {
    transform: scale(1.04);
    filter: drop-shadow(0 8px 24px rgba(217, 162, 46, .45));
}

/* ===== Botões ===== */
.lp-btn-highlight {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #B88322 100%);
    color: #14100E;
    box-shadow: 0 10px 28px -8px rgba(var(--color-secondary-rgb), .5);
}
.lp-btn-highlight:hover {
    box-shadow: 0 18px 38px -10px rgba(var(--color-secondary-rgb), .65);
}

.ember-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    padding: .75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    color: var(--carvao-creme);
    border: 1px solid rgba(217, 162, 46, .45);
    background: rgba(20, 16, 14, .55);
    backdrop-filter: blur(6px);
    transition: transform var(--transition-base), background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
}
.ember-btn-ghost:hover {
    transform: translateY(-2px);
    background: rgba(217, 162, 46, .14);
    border-color: var(--color-secondary);
    color: #F2C75C;
}

/* ===== Hero (foto real do cliente, full-bleed) ===== */
.ember-hero {
    position: relative;
    overflow: hidden;
    background: #0B0807;
}

.ember-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('../img/hero.webp');
    background-size: cover;
    background-position: 60% center;
}

/* Escurece o suficiente para o texto branco sem matar o pôr do sol da foto:
   mais forte à esquerda (onde fica o texto), mais leve à direita. */
.ember-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(100deg, rgba(8, 6, 5, .94) 0%, rgba(10, 7, 6, .86) 34%, rgba(12, 8, 7, .62) 62%, rgba(12, 8, 7, .42) 100%),
        linear-gradient(to top, rgba(8, 6, 5, .96) 0%, transparent 42%);
}

/* Brilho de brasa que amarra a foto com a paleta da marca */
.ember-hero-heat {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(60% 55% at 72% 62%, rgba(242, 115, 28, .22) 0%, transparent 70%);
    animation: ember-breathe 6s ease-in-out infinite;
}
@keyframes ember-breathe {
    0%, 100% { opacity: .7; }
    50% { opacity: 1; }
}

.ember-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem 1rem .45rem .6rem;
    border-radius: 9999px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .01em;
    color: #F7E6C2;
    background: rgba(20, 16, 14, .72);
    border: 1px solid rgba(217, 162, 46, .42);
    backdrop-filter: blur(6px);
}
.ember-hero-badge i, .ember-hero-badge svg { color: var(--color-secondary); }

/* Régua de calor: assinatura visual do projeto */
.ember-heat-bar {
    height: 3px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #0B0807 0%, var(--carvao-vermelho) 24%, #F2731C 54%, #D9A22E 80%, #FBEBC0 100%);
}

.ember-trust {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: rgba(243, 233, 220, .92);
    font-size: .875rem;
    font-weight: 500;
}
.ember-trust i, .ember-trust svg { color: var(--color-secondary); }

/* Pacotes na coluna direita do hero: sombra projetada para os sacos descolarem
   da foto de fundo, sem nenhuma moldura ou fundo por trás. */
.ember-hero-packs {
    position: relative;
    width: 100%;
    max-width: 30rem;
}
.ember-hero-packs::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4%;
    width: 78%;
    height: 12%;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent 78%);
    filter: blur(6px);
}
.ember-hero-packs img {
    position: relative;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 26px 38px rgba(0, 0, 0, .75)) drop-shadow(0 0 60px rgba(242, 115, 28, .22));
}

/* Sombra de texto do hero, já que o fundo é foto */
.ember-hero-text {
    text-shadow: 0 2px 18px rgba(0, 0, 0, .75), 0 1px 4px rgba(0, 0, 0, .6);
}

/* ===== Faixa rolante (quem compra) ===== */
.ember-marquee {
    overflow: hidden;
    background: #0A0807;
    border-top: 1px solid var(--carvao-borda);
    border-bottom: 1px solid var(--carvao-borda);
}
.ember-marquee-track {
    display: flex;
    width: max-content;
    animation: ember-marquee 32s linear infinite;
}
.ember-marquee-track > span {
    display: inline-flex;
    align-items: center;
    gap: 2.5rem;
    padding: .9rem 1.25rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(243, 233, 220, .55);
    white-space: nowrap;
}
.ember-marquee-track i, .ember-marquee-track svg { color: var(--color-secondary); }
@keyframes ember-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ===== Seções ===== */
.ember-section {
    position: relative;
    background:
        radial-gradient(75% 55% at 85% 0%, rgba(242, 115, 28, .1) 0%, transparent 62%),
        var(--carvao-fundo);
}
.ember-section-alt {
    position: relative;
    background: linear-gradient(180deg, var(--carvao-fundo) 0%, #171210 55%, var(--carvao-fundo) 100%);
}

.ember-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--color-secondary);
}
.ember-eyebrow::before {
    content: "";
    width: 1.75rem;
    height: 2px;
    border-radius: 9999px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-tertiary));
}

/* ===== Ticket de produto (escuro, com a foto real sangrada no topo) ===== */
.lp-product-ticket {
    background: var(--carvao-superficie);
    border: 1px solid var(--carvao-borda);
    box-shadow: 0 30px 60px -28px #000, 0 10px 24px -16px rgba(217, 162, 46, .3);
}
.lp-product-ticket:hover {
    border-color: rgba(217, 162, 46, .42);
    box-shadow: 0 40px 75px -26px #000, 0 16px 34px -18px rgba(217, 162, 46, .45);
}

/* As fotos dos sacos vêm recortadas (PNG com fundo transparente): o produto "flutua"
   sobre um fundo quente, com sombra projetada — em vez de sangrar como cena. */
.lp-products-grid .lp-product-ticket-photo,
.lp-product-ticket-photo {
    padding: 1.1rem 1rem 2rem;
    min-height: 0;
    aspect-ratio: 1 / 1;
    background: radial-gradient(120% 95% at 50% 8%, rgba(242, 115, 28, .22) 0%, rgba(217, 162, 46, .08) 45%, #14100E 82%);
    border-radius: 1.75rem 1.75rem 0 0;
}
.lp-products-grid .lp-product-ticket-photo img,
.lp-product-ticket-photo img {
    position: relative;
    z-index: 2;
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .65));
}
/* sombra elíptica no "chão" do card */
.lp-product-ticket-photo-shadow {
    display: block;
    bottom: 1.25rem;
    width: 62%;
    height: 1.2rem;
    background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent 78%);
}

.lp-product-ticket-tag {
    z-index: 3;
    color: #14100E;
    background: linear-gradient(135deg, #F2C75C, #D9A22E);
    box-shadow: 0 6px 16px -4px rgba(var(--color-secondary-rgb), .55);
}
.lp-product-ticket-stamp {
    z-index: 3;
    width: 3.4rem;
    height: 3.4rem;
    border-color: rgba(217, 162, 46, .75);
    background: rgba(11, 8, 7, .72);
    color: #F2C75C;
}
.lp-product-ticket-stamp b { font-size: .95rem; }
.lp-product-ticket-stamp span { opacity: .85; }

.lp-product-ticket-seam {
    border-top: 2px dashed rgba(217, 162, 46, .22);
}
.lp-product-ticket-notch {
    background: var(--carvao-fundo);
    box-shadow: inset 0 0 0 1px rgba(217, 162, 46, .18);
}
.lp-product-ticket-title { color: var(--carvao-creme); }
.lp-product-ticket-subtitle { color: var(--carvao-fumaca); }
.lp-product-ticket-specs { border-top-color: rgba(243, 233, 220, .1); }
.lp-product-ticket-spec-row { border-bottom-color: rgba(243, 233, 220, .1); }
.lp-product-ticket-spec-label { color: var(--carvao-fumaca); }
.lp-product-ticket-spec-value { color: #F2C75C; }
.lp-product-ticket-footer { border-top-color: rgba(217, 162, 46, .22); }
.lp-product-ticket-barcode {
    background-image: repeating-linear-gradient(90deg, #F3E9DC 0 2px, transparent 2px 5px, #F3E9DC 5px 6px, transparent 6px 11px, #F3E9DC 11px 14px, transparent 14px 18px, #F3E9DC 18px 20px, transparent 20px 24px);
    opacity: .35;
}
.lp-product-ticket-code { color: var(--carvao-fumaca); }

/* Slot de foto ausente (fallback caso algum .webp não exista) */
.ember-photo-slot {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    text-align: center;
    color: rgba(217, 162, 46, .55);
}
.ember-photo-slot i, .ember-photo-slot svg { width: 3.25rem; height: 3.25rem; }
.ember-photo-slot span {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.lp-product-ticket-photo img.is-missing { display: none; }
.lp-product-ticket-photo img.is-missing ~ .ember-photo-slot { display: flex; }

/* Pacote em destaque (o "mais pedido") */
.lp-product-ticket--featured {
    border: 1.5px solid rgba(217, 162, 46, .65);
    box-shadow: 0 36px 70px -24px #000, 0 14px 34px -14px rgba(217, 162, 46, .5);
}
.lp-product-ticket--featured .lp-product-ticket-cta .lp-product-card-btn {
    font-size: 1rem;
    padding-top: .9rem;
    padding-bottom: .9rem;
}
@media (min-width: 1024px) {
    .lp-product-ticket--featured {
        transform: scale(1.06);
        z-index: 2;
    }
    .lp-product-ticket--featured:hover { transform: scale(1.06) translateY(-6px); }
}

/* ===== Faixa de reforço (3 argumentos curtos) ===== */
.ember-strip {
    display: grid;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: var(--carvao-superficie);
    border: 1px solid var(--carvao-borda);
    box-shadow: 0 24px 50px -34px #000;
}
@media (min-width: 768px) {
    .ember-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.ember-strip-item {
    display: flex;
    align-items: center;
    gap: .9rem;
}
.ember-strip-item i, .ember-strip-item svg { flex-shrink: 0; }
.ember-strip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .9rem;
    color: var(--color-secondary);
    background: rgba(var(--color-secondary-rgb), .14);
    border: 1px solid rgba(217, 162, 46, .25);
}

/* ===== Painel (bloco de atacado) ===== */
.ember-panel {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
    padding: 1.75rem;
    background:
        radial-gradient(80% 120% at 8% 0%, rgba(242, 115, 28, .14) 0%, transparent 62%),
        var(--carvao-superficie);
    border: 1px solid var(--carvao-borda);
    box-shadow: 0 30px 60px -34px #000;
}

/* ===== Fechamento (CTA final) ===== */
.ember-final {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(75% 110% at 50% 118%, rgba(242, 115, 28, .42) 0%, rgba(217, 162, 46, .12) 45%, transparent 76%),
        linear-gradient(160deg, #221A15 0%, #130E0C 62%, #0B0807 100%);
}

/* ===== Footer ===== */
footer { border-top: 1px solid var(--carvao-borda); }

/* ===== Tipografia de apoio ===== */
.ember-display {
    letter-spacing: -.035em;
    line-height: 1.02;
}
.ember-lead {
    color: var(--carvao-fumaca);
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* ===== Mobile ===== */
@media (max-width: 767px) {
    .ember-hero-bg {
        /* no celular a coluna de texto ocupa a tela inteira: puxa o enquadramento
           para a churrasqueira e escurece mais, para o texto nunca competir com a foto */
        background-position: 68% center;
    }
    .ember-hero-overlay {
        background: linear-gradient(180deg, rgba(8, 6, 5, .9) 0%, rgba(10, 7, 6, .82) 45%, rgba(8, 6, 5, .94) 100%);
    }
    .ember-panel { padding: 1.5rem 1.25rem; }
    .ember-strip { padding: 1.25rem; }
    .lp-product-ticket-stamp { width: 3rem; height: 3rem; }
    .ember-marquee-track > span {
        gap: 1.75rem;
        font-size: .72rem;
    }
    .ember-hero-packs { max-width: 21rem; }
}

@media (prefers-reduced-motion: reduce) {
    .ember-marquee-track,
    .ember-hero-heat {
        animation: none !important;
    }
}
