/* =========================================================
   Charque Preferido — Landing page
   Paleta: azul-marinho da marca (#01004e) + vermelho do logo
   ========================================================= */
:root {
    --navy: #01004e;
    --navy-2: #08086a;
    --navy-3: #1c2b80;
    --navy-noite: #000033;
    --vermelho: #e8141c;
    --vermelho-esc: #b80d14;
    --verde-charque: #4cc224;
    --creme: #f6f2ea;
    --creme-2: #ebe4d6;
    --tinta: #0d0c2b;
    --cinza: #5d617a;
    --branco: #ffffff;

    --f-titulo: 'Fraunces', Georgia, 'Times New Roman', serif;
    --f-texto: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --f-rotulo: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;

    --raio: 28px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --largura: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
    margin: 0;
    font-family: var(--f-texto);
    font-size: 17px;
    line-height: 1.65;
    color: var(--tinta);
    background: var(--creme);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
/* corta qualquer sobra lateral sem quebrar o "pin" do ScrollTrigger */
html, body { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--vermelho); color: #fff; }

.wrap { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 var(--gutter); }

.pular {
    position: absolute; left: 16px; top: -60px; z-index: 1000;
    background: var(--vermelho); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.pular:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--vermelho); outline-offset: 3px; border-radius: 6px; }

/* ---------- textos ---------- */
.rotulo {
    font-family: var(--f-rotulo);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--vermelho);
    display: inline-flex; align-items: center; gap: 12px;
    margin-bottom: 18px;
}
.rotulo::before { content: ''; width: 34px; height: 2px; background: currentColor; }
.rotulo-claro { color: #ff6b70; }

.titulo {
    font-family: var(--f-titulo);
    font-weight: 700;
    font-size: clamp(36px, 5.4vw, 72px);
    line-height: 1.02;
    letter-spacing: -.02em;
    color: var(--navy);
    font-variation-settings: 'opsz' 144;
}
.titulo em, .hero-titulo em {
    font-style: italic;
    font-weight: 500;
    color: var(--vermelho);
}
.titulo-claro { color: #fff; }
.titulo-claro em { color: #ff5b61; }

.cabeca { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.cabeca-p { margin-top: 20px; font-size: 18px; color: var(--cinza); max-width: 560px; }

/* palavras divididas pelo JS para revelar */
.linha-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.linha-mask > span { display: inline-block; will-change: transform; }

/* ---------- botões ---------- */
.btn {
    --bg: var(--navy); --fg: #fff;
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    font-family: var(--f-rotulo);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--bg);
    color: var(--fg);
    border: 2px solid var(--bg);
    overflow: hidden;
    isolation: isolate;
    transition: color .4s var(--ease), border-color .4s var(--ease);
}
/* preenchimento "líquido" que sobe ao passar o mouse */
.btn::before {
    content: '';
    position: absolute; left: 50%; top: 100%;
    width: 140%; aspect-ratio: 1;
    border-radius: 45%;
    background: var(--vermelho);
    transform: translate(-50%, 0) rotate(0deg);
    transition: transform .7s var(--ease);
    z-index: -1;
}
.btn:hover::before { transform: translate(-50%, -78%) rotate(120deg); }
.btn:hover { border-color: var(--vermelho); color: #fff; }
.btn-claro { --bg: #fff; --fg: var(--navy); }
.btn-linha { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.45); }
.btn-vermelho { --bg: var(--vermelho); --fg: #fff; }
.btn-vermelho::before { background: #fff; }
.btn-vermelho:hover { color: var(--navy); border-color: #fff; }
.btn-grande { min-height: 62px; padding: 0 40px; font-size: 18px; }

/* ---------- PRELOADER ---------- */
.loader { display: none; }
html.js.carregando .loader {
    position: fixed; inset: 0; z-index: 900;
    display: grid; place-content: center; justify-items: center; gap: 22px;
    background: var(--navy);
    color: #fff;
    /* segurança: se o JS/CDN falhar, some sozinho */
    animation: loader-fora .6s 3.2s forwards;
}
@keyframes loader-fora { to { opacity: 0; visibility: hidden; } }
html.js.carregando body { overflow: hidden; }
.loader-star { width: 120px; height: 120px; }
.loader-word { display: flex; gap: 10px; font-family: var(--f-titulo); font-size: 22px; font-weight: 700; letter-spacing: .02em; }
.loader-word span { display: inline-block; }

/* estrela da marca (gerada pelo JS) */
.estrela { width: 100%; height: 100%; overflow: visible; }
.estrela .claro { fill: #fff; }
.estrela .escuro { fill: #c9cbe6; }
.estrela .centro { fill: var(--vermelho); }

/* ---------- CURSOR ---------- */
.cursor, .cursor-dot { display: none; }
@media (hover: hover) and (pointer: fine) {
    html.js.cursor-on, html.js.cursor-on a, html.js.cursor-on button { cursor: none; }
    html.js.cursor-on .cursor, html.js.cursor-on .cursor-dot {
        display: block; position: fixed; left: 0; top: 0; z-index: 950; pointer-events: none;
        opacity: 0; visibility: hidden; /* aparece no primeiro movimento do mouse */
    }
    html.js.cursor-on .cursor { display: grid; }
    .cursor {
        width: 40px; height: 40px; margin: -20px 0 0 -20px;
        border: 1.5px solid var(--vermelho);
        border-radius: 50%;
        place-items: center;
        transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s var(--ease), border-color .35s;
        mix-blend-mode: normal;
    }
    .cursor-label {
        font-family: var(--f-rotulo); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
        color: #fff; opacity: 0; transition: opacity .2s;
    }
    .cursor.grande { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--vermelho); border-color: var(--vermelho); }
    .cursor.grande .cursor-label { opacity: 1; }
    .cursor.link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(232, 20, 28, .12); }
    .cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--vermelho); }
}

/* ---------- CABEÇALHO ---------- */
.topo {
    position: fixed; top: 0; left: 0; right: 0; z-index: 500;
    color: #fff;
    transition: transform .5s var(--ease), background .4s, box-shadow .4s;
}
.topo-in { display: flex; align-items: center; gap: 28px; height: 84px; }
.topo.solido {
    background: rgba(1, 0, 78, .82);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 10px 40px rgba(0, 0, 40, .25);
}
.topo.solido .topo-in { height: 70px; }
.topo.escondido { transform: translateY(-110%); }
.marca { display: flex; align-items: center; gap: 12px; line-height: 1; font-family: var(--f-titulo); font-size: 15px; }
.marca img { width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.marca strong { font-weight: 900; font-size: 19px; letter-spacing: .01em; }
.menu { display: flex; gap: 6px; margin-left: auto; }
.menu a {
    position: relative;
    padding: 8px 14px;
    font-family: var(--f-rotulo); font-weight: 600; font-size: 16px; letter-spacing: .1em; text-transform: uppercase;
    overflow: hidden;
}
/* texto que "rola" para cima no hover */
.menu a span { display: block; transition: transform .45s var(--ease); }
.menu a span::after { content: attr(data-t); position: absolute; left: 0; right: 0; top: 100%; text-align: center; color: #ff6b70; }
.menu a:hover span { transform: translateY(-100%); }
.topo-cta { min-height: 44px; padding: 0 22px; font-size: 14px; }
.menu-btn { display: none; }

.menu-mobile[hidden] { display: none; }

@media (max-width: 980px) {
    .menu, .topo-cta { display: none; }
    .topo-in { height: 70px; justify-content: space-between; }
    .menu-btn {
        display: grid; place-content: center; gap: 7px;
        width: 50px; height: 50px; margin-left: auto;
        border: 0; border-radius: 50%;
        background: #fff; cursor: pointer;
        position: relative; z-index: 520;
    }
    .menu-btn span { display: block; width: 22px; height: 2px; background: var(--navy); transition: transform .45s var(--ease); }
    .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
    .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

    .menu-mobile {
        position: fixed; inset: 0; z-index: 490;
        background: var(--navy);
        color: #fff;
        display: flex; flex-direction: column; justify-content: center; gap: 40px;
        padding: 100px var(--gutter) 40px;
        clip-path: circle(0% at calc(100% - 41px) 35px);
        transition: clip-path .8s var(--ease);
    }
    .menu-mobile.aberto { clip-path: circle(150% at calc(100% - 41px) 35px); }
    .menu-mobile nav { display: grid; gap: 4px; }
    .menu-mobile nav a {
        font-family: var(--f-titulo); font-size: clamp(38px, 11vw, 60px); font-weight: 700; line-height: 1.1;
        display: flex; align-items: baseline; gap: 14px;
        opacity: 0; transform: translateY(30px);
        transition: opacity .5s, transform .6s var(--ease);
    }
    .menu-mobile nav a small { font-family: var(--f-rotulo); font-size: 14px; color: #ff6b70; letter-spacing: .15em; }
    .menu-mobile.aberto nav a { opacity: 1; transform: none; }
    .menu-mobile.aberto nav a:nth-child(2) { transition-delay: .06s; }
    .menu-mobile.aberto nav a:nth-child(3) { transition-delay: .12s; }
    .menu-mobile.aberto nav a:nth-child(4) { transition-delay: .18s; }
    .menu-mobile.aberto nav a:nth-child(5) { transition-delay: .24s; }
    .menu-mobile .btn { align-self: flex-start; }
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex; align-items: center;
    padding: 120px 0 90px;
    color: #fff;
    background:
        radial-gradient(70% 60% at 78% 45%, rgba(46, 64, 190, .55), transparent 70%),
        radial-gradient(50% 50% at 10% 100%, rgba(232, 20, 28, .18), transparent 70%),
        var(--navy);
    overflow: hidden;
    isolation: isolate;
}
/* grão de filme por cima do azul */
.hero::after, .processo::after, .parcerias::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    opacity: .14; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.sal { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-estrela {
    position: absolute; z-index: 0;
    width: min(120vh, 1100px); aspect-ratio: 1;
    right: -18%; top: 50%;
    transform: translateY(-50%);
    opacity: .1;
    pointer-events: none;
}
.hero-estrela .estrela path { fill: none; stroke: #fff; stroke-width: .35; }
.hero-in {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.selo {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 18px 8px 12px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(6px);
    font-family: var(--f-rotulo); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase;
    margin-bottom: 28px;
}
.selo-ponto { width: 9px; height: 9px; border-radius: 50%; background: var(--vermelho); box-shadow: 0 0 0 0 rgba(232, 20, 28, .7); animation: pulso 2s infinite; }
@keyframes pulso { 70% { box-shadow: 0 0 0 10px rgba(232, 20, 28, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 20, 28, 0); } }
.hero-titulo {
    font-family: var(--f-titulo);
    font-weight: 900;
    font-size: clamp(46px, 7.4vw, 108px);
    line-height: .98;
    letter-spacing: -.03em;
    font-variation-settings: 'opsz' 144;
}
.hero-titulo em { color: #ff4950; font-weight: 500; }
.hero-sub { margin-top: 28px; max-width: 520px; font-size: 19px; color: rgba(255, 255, 255, .78); }
.hero-acoes { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-palco { position: relative; aspect-ratio: 1; width: 100%; max-width: 600px; justify-self: center; }
.palco-disco {
    position: absolute; inset: 9%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #2d3fb8, var(--navy-2) 60%, var(--navy-noite));
    box-shadow: inset 0 0 80px rgba(0, 0, 0, .35), 0 40px 100px rgba(0, 0, 30, .55);
}
.peca { position: absolute; will-change: transform; filter: drop-shadow(0 30px 40px rgba(0, 0, 20, .55)); user-select: none; }
.peca-a { width: 66%; left: 15%; top: 15%; z-index: 2; }
.peca-b { width: 38%; left: -4%; bottom: 6%; z-index: 3; }
.peca-c { width: 27%; right: 2%; top: 0; z-index: 1; }
.palco-carimbo {
    position: absolute; right: 4%; bottom: 6%; z-index: 4;
    width: 25%; aspect-ratio: 1;
    border-radius: 50%;
    background: var(--vermelho);
    display: grid; place-items: center;
    box-shadow: 0 16px 40px rgba(232, 20, 28, .4);
}
.palco-carimbo svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: girar 18s linear infinite; }
.palco-carimbo text { fill: #fff; font-family: var(--f-rotulo); font-weight: 700; font-size: 17px; letter-spacing: 3.6px; }
.palco-carimbo img { width: 46%; border-radius: 50%; background: #fff; }
@keyframes girar { to { transform: rotate(360deg); } }

/* conteúdo do hero espera o JS (com rede de segurança se o JS/CDN falhar) */
html.js .hero-in { visibility: hidden; animation: aparece 0s 2.6s forwards; }
@keyframes aparece { to { visibility: visible; } }

.rolar {
    position: absolute; left: 50%; bottom: 26px; z-index: 2;
    width: 28px; height: 46px; margin-left: -14px;
    border: 2px solid rgba(255, 255, 255, .5); border-radius: 20px;
}
.rolar span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: #fff; animation: rolar 1.8s var(--ease) infinite; }
@keyframes rolar { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 900px) {
    .hero { padding: 110px 0 100px; }
    .hero-in { grid-template-columns: 1fr; gap: 28px; }
    .hero-palco { max-width: 440px; width: 92%; }
    .hero-estrela { right: -50%; top: 70%; width: 150vw; }
}
@media (max-width: 560px) {
    .hero-acoes .btn { flex: 1 1 100%; }
    .hero-sub { font-size: 17px; }
}

/* ---------- FAIXA ---------- */
.faixa {
    position: relative; z-index: 2;
    background: var(--vermelho);
    color: #fff;
    padding: 18px 0;
    overflow: hidden;
    transform: rotate(-2deg) scale(1.04);
    margin: -26px 0 0;
    box-shadow: 0 20px 50px rgba(184, 13, 20, .25);
}
.faixa-trilho { display: flex; align-items: center; gap: 34px; width: max-content; will-change: transform; }
.faixa-trilho span {
    font-family: var(--f-titulo); font-weight: 900; font-style: italic;
    font-size: clamp(30px, 4.4vw, 56px); line-height: 1; white-space: nowrap; letter-spacing: -.01em;
}
.faixa-trilho span:nth-of-type(even) { -webkit-text-stroke: 1.5px #fff; color: transparent; }
.faixa-trilho i { display: block; width: clamp(28px, 3.5vw, 44px); height: clamp(28px, 3.5vw, 44px); flex: none; }
.faixa-trilho i .claro, .faixa-trilho i .escuro { fill: #fff; }
.faixa-trilho i .escuro { fill: #ffc9cb; }
.faixa-trilho i .centro { fill: var(--navy); }

/* ---------- SOBRE ---------- */
.sobre { padding: clamp(110px, 14vw, 180px) 0 clamp(90px, 12vw, 160px); background: var(--creme); }
.sobre-in { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.sobre-foto { position: relative; filter: drop-shadow(0 34px 50px rgba(1, 0, 78, .2)); }
.revela-circulo {
    border-radius: var(--raio);
    overflow: hidden;
    aspect-ratio: 1;
}
.revela-circulo img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.sobre-etiqueta {
    position: absolute; left: -14px; bottom: 34px;
    background: var(--navy); color: #fff;
    padding: 14px 22px; border-radius: 16px;
    font-family: var(--f-rotulo); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 14px;
    box-shadow: 0 16px 40px rgba(1, 0, 78, .35);
}
.texto-acende {
    margin-top: 30px;
    font-family: var(--f-titulo);
    font-size: clamp(22px, 2.3vw, 30px);
    line-height: 1.35;
    font-weight: 500;
    color: var(--navy);
}
.texto-acende .w { transition: none; }
.sobre-p { margin-top: 24px; color: var(--cinza); font-size: 18px; }
@media (max-width: 900px) {
    .sobre-in { grid-template-columns: 1fr; }
    .sobre-foto { max-width: 520px; }
    .sobre-etiqueta { left: 12px; }
}

/* ---------- PROCESSO ---------- */
.processo {
    position: relative;
    padding: clamp(100px, 12vw, 160px) 0;
    background:
        radial-gradient(60% 40% at 50% 0%, rgba(46, 64, 190, .45), transparent 70%),
        var(--navy);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.processo .wrap { position: relative; z-index: 1; }
.processo .cabeca-p { color: rgba(255, 255, 255, .72); }
.trilha { position: relative; display: grid; gap: clamp(40px, 7vw, 90px); padding: 20px 0; }
.trilha-svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 0; }
.trilha-base { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; }
.trilha-linha { fill: none; stroke: var(--vermelho); stroke-width: 3; stroke-linecap: round; }
.trilha-viajante {
    position: absolute; left: 0; top: 0; z-index: 2;
    width: 110px; height: auto;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .5));
    pointer-events: none;
    opacity: 0;
}
html.js .trilha-viajante.pronto { opacity: 1; }
.etapa { position: relative; z-index: 1; display: flex; align-items: center; }
.etapa:nth-of-type(even) { justify-content: flex-end; }
.etapa-marco {
    position: absolute; left: 50%; top: 50%;
    width: 22px; height: 22px; margin: -11px 0 0 -11px;
    border-radius: 50%;
    background: var(--navy); border: 3px solid rgba(255, 255, 255, .35);
    transition: background .4s, border-color .4s, transform .4s var(--ease);
}
.etapa.ativa .etapa-marco { background: var(--vermelho); border-color: #fff; transform: scale(1.3); }
.etapa-card {
    width: min(44%, 460px);
    padding: 34px 34px 36px;
    border-radius: var(--raio);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background .5s, border-color .5s;
}
.etapa.ativa .etapa-card { background: rgba(255, 255, 255, .11); border-color: rgba(255, 107, 112, .5); }
.etapa-num {
    display: block;
    font-family: var(--f-titulo); font-weight: 900; font-style: italic;
    font-size: 64px; line-height: 1;
    color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .5);
    margin-bottom: 14px;
}
.etapa.ativa .etapa-num { -webkit-text-stroke-color: #ff6b70; }
.etapa h3 { font-family: var(--f-titulo); font-size: 30px; font-weight: 700; margin-bottom: 10px; }
.etapa p { color: rgba(255, 255, 255, .74); }
@media (max-width: 760px) {
    .etapa, .etapa:nth-of-type(even) { justify-content: flex-end; }
    .etapa-marco { left: 22px; }
    .etapa-card { width: calc(100% - 58px); padding: 26px 22px; }
    .etapa-num { font-size: 48px; }
    .etapa h3 { font-size: 25px; }
    .trilha-viajante { width: 70px; }
}

/* ---------- PRODUTOS ---------- */
.produtos { position: relative; background: var(--creme); padding: clamp(100px, 12vw, 150px) 0 clamp(80px, 9vw, 120px); overflow: hidden; }
.cabeca-produtos { max-width: var(--largura); display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 60px); }
.cabeca-produtos .cabeca-p { margin-top: 0; }
.produtos-janela { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 20px 0 30px; }
.produtos-janela::-webkit-scrollbar { display: none; }
.produtos-trilho {
    display: flex; gap: clamp(18px, 2.4vw, 30px);
    width: max-content;
    padding: 0 max(var(--gutter), calc((100vw - var(--largura)) / 2 + var(--gutter)));
}
html.horizontal .produtos-janela { overflow: visible; scroll-snap-type: none; padding: 10px 0 20px; }
/* no modo fixo (computador) tudo precisa caber na altura da tela */
html.horizontal .produtos { min-height: 100vh; padding: 96px 0 30px; display: flex; flex-direction: column; justify-content: center; }
html.horizontal .cabeca-produtos { margin-bottom: 18px; }
html.horizontal .cabeca-produtos .titulo { font-size: clamp(36px, 4.4vw, 60px); }
html.horizontal .produto-cena { height: min(36vh, 400px); margin-bottom: 16px; }
html.horizontal .produto { padding: 20px 22px 22px; }
html.horizontal .produto > p:not(.produto-linha) { min-height: 0; }
.produto {
    --cor: var(--verde-charque);
    --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 30%;
    position: relative;
    flex: none;
    width: clamp(260px, 26vw, 340px);
    scroll-snap-align: center;
    padding: 26px 26px 28px;
    border-radius: var(--raio);
    background: #fff;
    box-shadow: 0 24px 60px rgba(1, 0, 78, .1);
    transition: box-shadow .5s var(--ease);
}
.produto.linha-jerked { --cor: var(--vermelho); }
.produto:hover { box-shadow: 0 34px 80px rgba(1, 0, 78, .2); }
.produto-cena {
    position: relative;
    height: clamp(300px, 34vw, 420px);
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--cor) 30%, transparent), transparent 62%),
        linear-gradient(160deg, #f2efe8, #e4ded1);
    display: grid; place-items: center;
    overflow: hidden;
    margin-bottom: 22px;
    /* inclinação 3D que segue o mouse (variáveis definidas pelo JS) */
    transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
    transition: transform .5s var(--ease);
}
.produto-cena img {
    position: absolute; inset: 0; margin: auto;
    height: 86%; width: auto; max-width: 84%;
    object-fit: contain;
    filter: drop-shadow(0 26px 30px rgba(1, 0, 78, .3));
    will-change: transform;
}
.brilho {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, .55), transparent 45%);
    opacity: 0; transition: opacity .4s;
    mix-blend-mode: soft-light;
}
.produto:hover .brilho { opacity: 1; }
.produto-linha {
    display: inline-block;
    font-family: var(--f-rotulo); font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
    color: #fff; background: var(--cor);
    padding: 4px 12px; border-radius: 999px;
    margin-bottom: 10px;
}
.linha-charque .produto-linha { color: var(--navy); }
.produto h3 { font-family: var(--f-titulo); font-weight: 700; font-size: 28px; color: var(--navy); line-height: 1.1; margin-bottom: 8px; }
.produto > p:not(.produto-linha) { color: var(--cinza); font-size: 16px; min-height: 3.3em; }
.produto-link {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
    font-family: var(--f-rotulo); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 15px;
    color: var(--navy);
}
.produto-link span { display: inline-block; transition: transform .4s var(--ease); }
.produto:hover .produto-link span { transform: translateX(6px); }
.produto-link::after { content: ''; position: absolute; inset: 0; border-radius: var(--raio); }
.produtos-progresso { margin-top: 10px; }
.produtos-progresso span { display: block; height: 3px; background: var(--creme-2); border-radius: 3px; position: relative; overflow: hidden; }
.produtos-progresso span::after { content: ''; position: absolute; inset: 0; background: var(--vermelho); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- PARCERIAS ---------- */
.parcerias {
    position: relative;
    min-height: 100vh; min-height: 100svh;
    display: grid; align-items: center;
    padding: 120px 0;
    color: #fff;
    background: var(--navy);
    overflow: hidden;
    isolation: isolate;
}
.parcerias-moldura { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.parcerias-moldura img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.parcerias-moldura::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(1, 0, 78, .95) 0%, rgba(1, 0, 78, .78) 45%, rgba(1, 0, 78, .35) 100%);
}
.parcerias-in { position: relative; z-index: 1; max-width: var(--largura); }
.parcerias-in .titulo { max-width: 780px; }
.parcerias-in .cabeca-p { color: rgba(255, 255, 255, .8); margin-bottom: 38px; }

/* ---------- CONTATO ---------- */
.contato { padding: clamp(100px, 12vw, 160px) 0; background: var(--creme); }
.contato-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contato-card {
    position: relative;
    display: flex; flex-direction: column; gap: 8px;
    padding: 34px 30px 72px;
    border-radius: var(--raio);
    background: #fff;
    border: 1px solid rgba(1, 0, 78, .08);
    overflow: hidden;
    isolation: isolate;
    transition: color .5s var(--ease);
}
/* o azul "inunda" o card a partir do ponto onde o mouse entrou */
.contato-card::before {
    content: '';
    position: absolute; left: var(--mx, 50%); top: var(--my, 100%);
    width: 10px; height: 10px; margin: -5px 0 0 -5px;
    border-radius: 50%;
    background: var(--navy);
    transform: scale(0);
    transition: transform .7s var(--ease);
    z-index: -1;
}
.contato-card:hover::before { transform: scale(90); }
.contato-card:hover { color: #fff; }
.contato-card:hover .contato-tipo { color: #ff6b70; }
.contato-card strong { font-family: var(--f-titulo); font-weight: 700; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.3; color: inherit; overflow-wrap: break-word; }
.contato-card:not(:hover) strong { color: var(--navy); }
.contato-tipo { font-family: var(--f-rotulo); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 13px; color: var(--vermelho); transition: color .4s; }
.contato-ico { width: 54px; height: 54px; border-radius: 16px; background: var(--vermelho); display: grid; place-items: center; margin-bottom: 14px; }
.contato-ico svg { width: 26px; height: 26px; fill: #fff; }
.contato-seta { position: absolute; right: 28px; bottom: 24px; font-size: 26px; transition: transform .5s var(--ease); }
.contato-card:hover .contato-seta { transform: translateX(6px) rotate(-45deg); }
@media (max-width: 900px) { .contato-grade { grid-template-columns: 1fr; } }

/* ---------- RODAPÉ ---------- */
.rodape { background: var(--navy-noite); color: #fff; padding: 80px 0 34px; overflow: hidden; }
.rodape-topo { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.rodape-topo img { width: 72px; height: 72px; border-radius: 50%; background: #fff; }
.rodape-topo p { font-family: var(--f-titulo); font-style: italic; font-size: clamp(20px, 2.4vw, 28px); }
.voltar-topo {
    margin-left: auto;
    width: 60px; height: 60px; border-radius: 50%;
    display: grid; place-items: center;
    border: 1.5px solid rgba(255, 255, 255, .3);
    font-size: 22px;
    transition: background .4s, border-color .4s;
}
.voltar-topo:hover { background: var(--vermelho); border-color: var(--vermelho); }
.rodape-palavra {
    margin: 50px 0 30px;
    font-family: var(--f-titulo); font-weight: 900;
    font-size: min(12vw, 170px); /* o JS ajusta para caber exatamente na largura */
    line-height: .85;
    letter-spacing: -.04em;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, .35);
    user-select: none;
}
.rodape-palavra .l { display: inline-block; }
.rodape-palavra .l > span { display: inline-block; transition: color .3s, -webkit-text-stroke-color .3s, transform .5s var(--ease); }
.rodape-palavra .l:hover > span { color: var(--vermelho); -webkit-text-stroke-color: var(--vermelho); transform: translateY(-12%) rotate(-6deg); }
.rodape-legal { font-size: 14px; color: rgba(255, 255, 255, .55); border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; }

/* ---------- WHATSAPP FLUTUANTE ---------- */
.zap-flutuante {
    position: fixed; right: 20px; bottom: 20px; z-index: 400;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25d366;
    display: grid; place-items: center;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .3);
    transition: transform .4s var(--ease);
}
.zap-flutuante::before {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid #25d366;
    animation: onda 2.4s var(--ease) infinite;
}
@keyframes onda { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.zap-flutuante svg { width: 30px; height: 30px; fill: #fff; }
.zap-flutuante:hover { transform: scale(1.08) rotate(-8deg); }

/* ---------- MOVIMENTO REDUZIDO ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    html.js.carregando .loader { display: none; }
    .trilha-viajante { display: none; }
}
