/* ==========================================================================
   SEVEN RESÍDUOS — DESIGN SYSTEM (base.css)
   Escuro, profundo e fluido. Azul-marinho + laranja da marca, verde de
   natureza nos detalhes. Componentes documentados em DESIGN.md.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
    --navy-950: #020c16;
    --navy-900: #041a2e;
    --navy-800: #062a48;
    --navy-700: #0a3a63;
    --blue: #044c8c;
    --blue-500: #1c78d6;
    --blue-300: #7cb8ff;
    --blue-100: #d6e9ff;
    --orange: #ff8800;
    --orange-400: #ffa63d;
    --orange-200: #ffd3a1;
    --green: #2fbf5a;
    --green-300: #8be3a6;
    --mist: #eef3f7;
    --white: #ffffff;

    --ink: #0b1b2b;
    --ink-soft: rgba(11, 27, 43, .72);
    --light: #eaf2fb;
    --light-soft: rgba(234, 242, 251, .74);
    --line-dark: rgba(234, 242, 251, .12);
    --line-light: rgba(11, 27, 43, .1);

    --f-display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
    --f-text: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;

    --container: 1240px;
    --gutter: clamp(20px, 5vw, 64px);
    --header-h: 84px;
    --radius-s: 14px;
    --radius: 24px;
    --radius-l: 36px;

    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --ease-in-out: cubic-bezier(.65, .05, .36, 1);
    --ease-back: cubic-bezier(.34, 1.56, .64, 1);

    --shadow-deep: 0 40px 80px -30px rgba(1, 10, 20, .65), 0 14px 30px -18px rgba(1, 10, 20, .5);
    --shadow-soft: 0 24px 50px -28px rgba(4, 26, 46, .45);
    --glow-orange: 0 0 0 1px rgba(255, 136, 0, .4), 0 18px 40px -14px rgba(255, 136, 0, .55);
}

/* --------------------------------------------------------------------------
   2. RESET E BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: clip;
    background: var(--navy-950);
}

body {
    margin: 0;
    font-family: var(--f-text);
    font-size: 17px;
    line-height: 1.65;
    color: var(--light);
    background: var(--navy-950);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
::selection { background: var(--orange); color: var(--navy-950); }
:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 4px; border-radius: 8px; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.skip-link {
    position: fixed; left: 16px; top: -60px; z-index: 3000;
    padding: 10px 16px; border-radius: 12px; background: var(--orange); color: var(--navy-950); font-weight: 700;
    transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 16px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* (O grão fixo sobre a tela inteira foi retirado: custava composição em todo quadro.) */

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */
.container { width: min(var(--container), calc(100% - 2 * var(--gutter))); margin-inline: auto; }

.section {
    position: relative;
    padding-block: clamp(90px, 12vw, 170px);
    isolation: isolate;
}
.section--tight { padding-block: clamp(60px, 8vw, 110px); }
.section--dark { background: var(--navy-900); color: var(--light); }
.section--deep { background: var(--navy-950); color: var(--light); }
.section--light { background: var(--mist); color: var(--ink); }
.section--white { background: var(--white); color: var(--ink); }

/* Seções claras trocam as cores de apoio */
.section--light, .section--white {
    --fg: var(--ink); --fg-soft: var(--ink-soft); --line: var(--line-light); --accent: var(--blue);
}
.section--dark, .section--deep, .page-hero, .site-footer {
    --fg: var(--light); --fg-soft: var(--light-soft); --line: var(--line-dark); --accent: var(--orange-400);
}

/* Bordas orgânicas entre seções */
.curve {
    position: absolute; left: 0; width: 100%; height: clamp(50px, 8vw, 120px); pointer-events: none; z-index: 1;
}
.curve--top { top: 0; transform: translateY(calc(-100% + 2px)); }
.curve--bottom { bottom: 0; transform: translateY(calc(100% - 2px)) scaleY(-1); }
.curve path { fill: currentColor; }

/* Brilhos decorativos de fundo (profundidade) */
.glow {
    /* degradê suave no lugar de filter: blur (que era recalculado a cada quadro) */
    position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; opacity: .55;
    width: clamp(260px, 40vw, 620px); aspect-ratio: 1;
}
.glow--blue { background: radial-gradient(closest-side, rgba(28, 120, 214, .5), rgba(28, 120, 214, .18) 50%, rgba(28, 120, 214, 0)); }
.glow--orange { background: radial-gradient(closest-side, rgba(255, 136, 0, .32), rgba(255, 136, 0, .12) 50%, rgba(255, 136, 0, 0)); }
.glow--green { background: radial-gradient(closest-side, rgba(47, 191, 90, .26), rgba(47, 191, 90, .09) 50%, rgba(47, 191, 90, 0)); }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: var(--stack, 20px); }

/* --------------------------------------------------------------------------
   4. TIPOGRAFIA
   -------------------------------------------------------------------------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
    color: var(--accent, var(--orange-400));
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }

.t-display {
    font-family: var(--f-display); font-weight: 400; letter-spacing: .01em; line-height: .9;
    font-size: clamp(3.6rem, 10vw, 9.6rem); text-transform: uppercase;
}
.t-title {
    font-family: var(--f-display); font-weight: 400; letter-spacing: .015em; line-height: .95;
    font-size: clamp(2.6rem, 5.6vw, 5.2rem); text-transform: uppercase; text-wrap: balance;
}
.t-title em, .t-display em { font-style: normal; color: var(--orange); }
.t-sub {
    font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance;
}
.t-card { font-size: 1.3rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--fg-soft, var(--light-soft)); max-width: 62ch; }
.muted { color: var(--fg-soft, var(--light-soft)); }
.section-head { max-width: 860px; }
.section-head > * + * { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* --------------------------------------------------------------------------
   5. BOTÕES E CHIPS
   -------------------------------------------------------------------------- */
.btn {
    --mx: 50%; --my: 50%;
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 26px; border-radius: 999px; font-weight: 800; font-size: 15px; letter-spacing: .02em; line-height: 1.2;
    isolation: isolate; overflow: hidden; white-space: nowrap;
    transition: background-color .35s, color .35s, border-color .35s, box-shadow .45s var(--ease-out);
}
.btn::after {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
    background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .45), transparent 55%);
}
.btn:hover::after { opacity: 1; }
.btn .icon { transition: transform .45s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn--orange { background: var(--orange); color: var(--navy-950); box-shadow: 0 16px 34px -16px rgba(255, 136, 0, .8); }
.btn--orange:hover { background: var(--orange-400); box-shadow: var(--glow-orange); }
.btn--green { background: var(--green); color: var(--navy-950); box-shadow: 0 16px 34px -16px rgba(47, 191, 90, .7); }
.btn--glass {
    color: var(--fg, var(--light)); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
}
.btn--glass:hover { border-color: var(--orange-400); }
.btn--outline { color: var(--fg, var(--ink)); border: 1.5px solid var(--line, var(--line-light)); }
.btn--outline:hover { border-color: var(--orange); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--block { width: 100%; white-space: normal; text-align: center; }

.chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 700; color: var(--fg, var(--light));
    background: rgba(255, 255, 255, .07); border: 1px solid var(--line, var(--line-dark));
}
.section--light .chip, .section--white .chip { background: rgba(4, 76, 140, .06); }
.chip .icon { color: var(--green); }

/* --------------------------------------------------------------------------
   6. CARTÕES E LISTAS
   -------------------------------------------------------------------------- */
.card {
    position: relative; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035));
    border: 1px solid var(--line-dark); box-shadow: var(--shadow-deep);
    transition: border-color .4s, background-color .4s;
}
.card:hover { border-color: rgba(255, 166, 61, .45); }
.card--light { background: var(--white); border-color: var(--line-light); color: var(--ink); box-shadow: var(--shadow-soft); }
.card--light:hover { border-color: rgba(4, 76, 140, .3); }
.card__icon {
    display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; margin-bottom: 22px;
    color: var(--navy-950); background: linear-gradient(145deg, var(--orange-400), var(--orange));
    box-shadow: 0 14px 30px -14px rgba(255, 136, 0, .8);
}
.card__icon .icon { width: 28px; height: 28px; }
.card__icon--blue { color: var(--white); background: linear-gradient(145deg, var(--blue-500), var(--blue)); box-shadow: 0 14px 30px -14px rgba(28, 120, 214, .8); }
.card__text { margin-top: 10px; color: var(--fg-soft, var(--light-soft)); }
/* Profundidade dos filhos só em elementos sempre 3D. Nos .card ela nunca aparecia:
   o backdrop-filter antigo do cartão achatava o 3D (o cartão inclina inteiro, plano). */
[data-tilt-keep3d] .card__icon { transform: translateZ(40px); }
[data-tilt-keep3d] .card__title { transform: translateZ(26px); }
[data-tilt-keep3d] .card__text { transform: translateZ(14px); }
.card--light .card__text { color: var(--ink-soft); }

.checklist { display: grid; gap: 10px; margin-top: 18px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.checklist li::before {
    content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
    background: rgba(47, 191, 90, .16) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 12.5 10 16.5 18 8' fill='none' stroke='%232fbf5a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 14px no-repeat;
}

/* preserve-3d só durante a inclinação (.is-tilting, site.js): ligado o tempo todo, cada
   filho vira uma camada de composição (eram ~60 a mais na Home). Os .card ficam planos,
   como sempre foram na prática; elementos com 3D próprio usam data-tilt-keep3d. */
[data-tilt]:not(.card).is-tilting, [data-tilt][data-tilt-keep3d] { transform-style: preserve-3d; }
.tilt-shine {
    position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .4s;
    background: radial-gradient(circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 255, 255, .22), transparent 55%);
}
[data-tilt]:hover .tilt-shine { opacity: 1; }

/* Números */
.stat__num {
    font-family: var(--f-display); font-size: clamp(3.2rem, 6vw, 5.4rem); line-height: .9; color: var(--orange);
    font-variant-numeric: tabular-nums;
}
.stat__label { margin-top: 8px; font-weight: 700; color: var(--fg-soft, var(--light-soft)); }

/* Citação grande */
.quote-big {
    font-family: var(--f-display); text-transform: uppercase; line-height: 1;
    font-size: clamp(2.4rem, 5.4vw, 5rem); text-wrap: balance;
}
.quote-big + .quote-by { margin-top: 18px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-400); font-size: 13px; }

/* Moldura de imagem com profundidade */
.media-frame {
    position: relative; overflow: hidden; border-radius: var(--radius-l); box-shadow: var(--shadow-deep);
    background: var(--navy-800);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }

/* Faixa corrida */
.marquee { overflow: hidden; white-space: nowrap; padding-block: 22px; border-block: 1px solid var(--line-dark); background: var(--navy-950); }
.marquee__track { display: inline-flex; gap: 48px; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: 48px; font-family: var(--f-display); font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: .03em; color: var(--light); }
.marquee__item::after { content: ""; width: 16px; height: 16px; background: url("../img/seven-mark.png") center / contain no-repeat; }

/* Abas (role=tablist) */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line, var(--line-dark)); }
.section--light .tabs, .section--white .tabs { background: var(--white); }
.tabs [role="tab"] { padding: 12px 20px; border-radius: 999px; font-weight: 800; font-size: 14.5px; color: var(--fg-soft); transition: color .3s, background-color .3s; }
.tabs [role="tab"][aria-selected="true"] { background: var(--orange); color: var(--navy-950); }

/* Cartão branco para formulários (RD, calculadora) */
.form-shell {
    position: relative; padding: clamp(24px, 3.4vw, 44px); border-radius: var(--radius-l);
    background: var(--white); color: var(--ink); box-shadow: var(--shadow-deep);
}
.form-shell::before {
    content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
    background: linear-gradient(135deg, var(--orange), transparent 40%, var(--blue-500)); filter: blur(18px); opacity: .5;
}

/* --------------------------------------------------------------------------
   7. HERO DAS PÁGINAS INTERNAS
   -------------------------------------------------------------------------- */
.page-hero {
    position: relative; min-height: clamp(480px, 74vh, 720px); display: flex; align-items: flex-end;
    padding: calc(var(--header-h) + 60px) 0 clamp(70px, 9vw, 120px); overflow: hidden; isolation: isolate; color: var(--light);
    background: var(--navy-900);
}
.page-hero__bg { position: absolute; inset: -10% 0; z-index: -3; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(70% 90% at 85% 30%, rgba(28, 120, 214, .25), transparent 60%),
        linear-gradient(100deg, rgba(2, 12, 22, .95) 0%, rgba(4, 26, 46, .78) 45%, rgba(4, 26, 46, .35) 100%),
        linear-gradient(0deg, var(--navy-900) 0%, transparent 40%);
}
.page-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: end; }
.page-hero__title { font-family: var(--f-display); font-size: clamp(4rem, 12vw, 10rem); line-height: .86; text-transform: uppercase; }
.page-hero__quote { margin-top: 18px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600; color: var(--light-soft); max-width: 46ch; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero__logo { position: relative; height: clamp(240px, 34vw, 420px); }
.page-hero__logo canvas, .page-hero__logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero__logo img { object-fit: contain; opacity: .9; }
.js .page-hero__logo img.logo-fallback { opacity: 0; }
.crumbs { display: flex; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--light-soft); margin-bottom: 18px; }
.crumbs a:hover { color: var(--orange-400); }
.crumbs span[aria-hidden] { opacity: .5; }
.js .page-hero__logo.logo-failed img.logo-fallback,
.motion-fallback .page-hero__logo img.logo-fallback { opacity: .9; }
@media (max-width: 860px) {
    /* o símbolo vira decoração atrás do texto, sem roubar o toque dos botões */
    .page-hero__inner { grid-template-columns: 1fr; position: static; }
    .page-hero__inner > :first-child { position: relative; z-index: 2; }
    .page-hero__logo { position: absolute; z-index: 0; right: -40px; top: calc(var(--header-h) + 10px); width: 52vw; height: 52vw; opacity: .5; pointer-events: none; }
}

/* --------------------------------------------------------------------------
   8. CABEÇALHO
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 1000; padding: 14px var(--gutter) 0;
    transition: transform .6s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(-120%); }
.site-header__inner {
    display: flex; align-items: center; gap: 18px; height: calc(var(--header-h) - 14px);
    padding: 0 10px 0 22px; border-radius: 999px;
    background: rgba(4, 26, 46, .5); border: 1px solid rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transition: background-color .5s, box-shadow .5s;
}
.site-header.is-scrolled .site-header__inner { background: rgba(4, 26, 46, .78); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .7); }
.brand { display: block; flex: none; perspective: 600px; }
.brand__logo { width: clamp(150px, 15vw, 190px); height: auto; transition: transform .7s var(--ease-back), filter .5s; transform-origin: 18% 50%; }
.brand:hover .brand__logo { transform: rotateY(-14deg) scale(1.04); filter: drop-shadow(0 0 14px rgba(255, 136, 0, .45)); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__list > li { position: relative; display: flex; align-items: center; }
.nav__link, .nav__sub a {
    position: relative; display: block; padding: 10px 13px; border-radius: 999px;
    font-family: var(--f-display); font-size: 1.28rem; letter-spacing: .04em; line-height: 1; color: var(--light);
    transition: color .3s, background-color .3s;
}
.nav__link:hover, .nav__sub a:hover { color: var(--orange-400); }
.nav__link[aria-current="page"], [data-current-group] > .nav__link { color: var(--orange); }
.nav__link[aria-current="page"]::after, [data-current-group] > .nav__link::after {
    content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--orange);
}
.nav__toggle { display: grid; place-items: center; width: 26px; height: 26px; margin-left: -8px; border-radius: 50%; color: var(--light); transition: transform .4s var(--ease-out), color .3s; }
.nav__toggle:hover { color: var(--orange-400); }
.nav__group.is-open .nav__toggle, .nav__group:hover .nav__toggle { transform: rotate(180deg); }
.nav__sub {
    position: absolute; left: -6px; top: calc(100% + 10px); min-width: 210px; padding: 10px;
    border-radius: 22px; background: rgba(4, 26, 46, .92); border: 1px solid var(--line-dark); box-shadow: var(--shadow-deep);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top left;
    transition: opacity .3s, transform .4s var(--ease-out), visibility .3s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__group:hover .nav__sub, .nav__group.is-open .nav__sub, .nav__group:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { font-size: 1.2rem; padding: 12px 14px; border-radius: 14px; }
.nav__sub a:hover { background: rgba(255, 255, 255, .06); }
.nav__sub a[aria-current="page"] { color: var(--orange); }

.site-header__cta { flex: none; }
.burger { display: none; position: relative; width: 50px; height: 50px; border-radius: 50%; background: var(--orange); color: var(--navy-950); flex: none; }
.burger span { position: absolute; left: 15px; right: 15px; height: 2.4px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.burger span:first-child { top: 20px; }
.burger span:last-child { top: 28px; }
.burger[aria-expanded="true"] span:first-child { top: 24px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 24px; transform: rotate(-45deg); }

.menu-mobile {
    position: fixed; inset: 0; z-index: 990; display: flex; flex-direction: column; justify-content: center; gap: 30px;
    padding: calc(var(--header-h) + 30px) var(--gutter) 40px; background: var(--navy-950);
    clip-path: circle(0% at calc(100% - 50px) 48px); transition: clip-path .8s var(--ease-in-out);
}
.menu-mobile.is-open { clip-path: circle(150% at calc(100% - 50px) 48px); }
.menu-mobile ul { display: grid; gap: 2px; }
.menu-mobile a { font-family: var(--f-display); font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.05; letter-spacing: .02em; }
.menu-mobile a:hover { color: var(--orange); }
.menu-mobile__sub a { font-size: clamp(1.5rem, 6vw, 2.2rem); color: var(--light-soft); padding-left: 22px; }
.menu-mobile .btn { align-self: flex-start; font-family: var(--f-text); font-size: 16px; }

@media (max-width: 1180px) { .nav__link { padding: 10px 9px; font-size: 1.18rem; } .site-header__cta { display: none; } }
@media (max-width: 980px) { .nav { display: none; } .burger { display: block; margin-left: auto; } .site-header__inner { padding-right: 8px; } }

/* --------------------------------------------------------------------------
   9. RODAPÉ
   -------------------------------------------------------------------------- */
.site-footer { position: relative; margin-top: clamp(60px, 8vw, 110px); padding-bottom: 30px; background: var(--navy-950); color: var(--light); }
.site-footer__curve { position: absolute; left: 0; top: 1px; width: 100%; height: clamp(50px, 7vw, 110px); transform: translateY(-100%); }
.site-footer__curve path { fill: var(--navy-950); }
.site-footer__cta {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px;
    padding: clamp(40px, 6vw, 80px) 0; border-bottom: 1px solid var(--line-dark);
}
.site-footer__quote { margin-top: 14px; font-family: var(--f-display); font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1; max-width: 22ch; text-transform: uppercase; }
.site-footer__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer__grid { display: grid; grid-template-columns: 180px repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 60px); padding: clamp(40px, 6vw, 70px) 0; font-size: 15.5px; color: var(--light-soft); }
.site-footer__brand img { width: 150px; }
.site-footer__h { margin-bottom: 12px; font-size: 12.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-400); }
.site-footer__col p + p { margin-top: 14px; }
.site-footer__addr { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__addr .icon { margin-top: 4px; color: var(--orange-400); }
.site-footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
.site-footer__links a, .site-footer__contacts a { transition: color .3s; }
.site-footer__links a:hover, .site-footer__contacts a:hover { color: var(--orange-400); }
.site-footer__contacts { display: grid; gap: 10px; }
.site-footer__contacts a { display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--light-soft); }
.back-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--light); }
.back-top .icon { transform: rotate(-90deg); color: var(--orange); }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   10. TRANSIÇÃO ENTRE PÁGINAS, CURSOR E PRÉVIA
   -------------------------------------------------------------------------- */
.page-wipe {
    position: fixed; inset: 0; z-index: 2800; display: grid; place-items: center; pointer-events: none;
    background: var(--navy-950); clip-path: circle(0% at 50% 50%);
}
.page-wipe img { width: 90px; opacity: 0; transform: scale(.6) rotate(-20deg); }
.page-wipe.is-covering { clip-path: circle(150% at var(--wx, 50%) var(--wy, 50%)); transition: clip-path .7s var(--ease-in-out); pointer-events: all; }
.page-wipe.is-covering img { opacity: 1; transform: none; transition: opacity .4s .25s, transform .7s .2s var(--ease-back); }
.page-wipe.is-revealing { clip-path: circle(0% at 50% 50%); transition: clip-path .8s var(--ease-in-out); }
.page-wipe.is-start, .arriving:not(.motion-fallback) .page-wipe { clip-path: circle(150% at 50% 50%); }
.arriving:not(.motion-fallback) .page-wipe img { opacity: 1; transform: none; }
.arriving:not(.motion-fallback) body { background: var(--navy-950); }
.page-wipe.is-start img { opacity: 1; transform: none; }

.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; inset: 0 auto auto 0; z-index: 2900; pointer-events: none; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--orange); }
.cursor__ring {
    width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid rgba(255, 166, 61, .6); display: grid; place-items: center;
    transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out), background-color .3s, border-color .3s;
}
.cursor__label { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-950); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.is-hover .cursor__ring { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: rgba(255, 136, 0, .14); }
.cursor.is-label .cursor__ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--orange); border-color: var(--orange); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-hidden { opacity: 0; }
.has-cursor body, .has-cursor a, .has-cursor button { cursor: none; }
.has-cursor input, .has-cursor select, .has-cursor textarea, .has-cursor iframe { cursor: auto; }

.preview-badge {
    position: fixed; left: 14px; bottom: 14px; z-index: 2950; padding: 7px 12px; border-radius: 999px;
    font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    background: #ffd84d; color: #1a1a1a; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); pointer-events: none;
}

/* --------------------------------------------------------------------------
   11. ESTADOS DE ANIMAÇÃO (só com JS; com fallback)
   -------------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(48px); }
.js [data-reveal="left"] { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal="scale"] { transform: scale(.92); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-split] { visibility: hidden; }
.js [data-split].is-split { visibility: visible; }
/* as máscaras de linha do SplitText não podem cortar acentos e cedilhas (É, Ç, Õ) */
[data-split] > div { padding-block: .18em; margin-block: -.18em; }
.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split-line > span { display: inline-block; will-change: transform; }

.motion-fallback [data-reveal], .reduced-motion [data-reveal] { opacity: 1 !important; transform: none !important; }
.motion-fallback [data-split], .reduced-motion [data-split] { visibility: visible !important; }
.motion-fallback .page-wipe, .reduced-motion .page-wipe { display: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
