/* Conceito: oficina de usinagem lida como desenho técnico. Grafite frio, aço e um único âmbar de sinalização.
   A abertura "usina" a peça com a rolagem: uma linha de varredura revela o aço polido sobre a peça bruta. */
:root {
  --font-display: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-body: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;

  --bg: #ffffff;
  --surface: #f5f6f7;
  --surface-2: #eceef0;
  --line: #dfe2e5;
  --fg: #0b0f13;
  --muted: #5b6670;
  --steel: #1c242c;
  --amber: #f5a524;
  --amber-text: #b86a00;
  --wa: #25d366;
  --wa-ink: #06210f;

  /* a abertura é sempre escura, nos dois temas */
  --hero-bg: #0b0e11;
  --hero-fg: #f3f6f8;
  --hero-muted: #b9c3cb;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: 0.95; letter-spacing: 0.005em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.mono { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.kicker { color: var(--amber-text); margin-bottom: 1rem; display: block; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 48px; padding: 0.75rem 1.3rem; border-radius: 4px; border: 1px solid transparent; font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .18s ease, background-color .18s ease, border-color .18s ease; }
.btn:active { transform: translateY(1px); }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: #3be07a; }
.btn-line { border-color: var(--line); color: var(--fg); background: transparent; }
.btn-line:hover { border-color: var(--steel); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- barra superior ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: calc(10px + env(safe-area-inset-top, 0px)) 0 10px; background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-mark { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; padding: 6px 9px 4px; border: 2px solid var(--steel); letter-spacing: 0.04em; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { text-decoration: none; font-size: 0.95rem; color: var(--muted); }
.nav a:not(.btn):hover { color: var(--fg); }
.nav .btn { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.95rem; }

/* ---------- abertura ---------- */
.hero-track { position: relative; height: calc(100svh + 85vh); }
.rm .hero-track { height: auto; }
.hero-stage { --p: 0; --so: 0; --gx: 50%; --gy: 50%; position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; background: var(--hero-bg); isolation: isolate; }
.media { position: absolute; inset: 0; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.media .after { clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0); }
.glint { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(440px circle at var(--gx) var(--gy), rgba(255,255,255,.16), transparent 62%); mix-blend-mode: screen; transition: opacity .4s ease; }
.fine .glint { opacity: 1; }
.scan { position: absolute; top: 0; bottom: 0; left: calc(var(--p) * 100%); width: 2px; margin-left: -1px; background: var(--amber); box-shadow: 0 0 22px 3px rgba(245,165,36,.5); opacity: var(--so); pointer-events: none; }
.scan::before { content: ""; position: absolute; top: 0; bottom: 0; right: 2px; width: 140px; background: linear-gradient(to left, rgba(245,165,36,.16), transparent); }
.shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(8,11,14,.94) 0%, rgba(8,11,14,.74) 30%, rgba(8,11,14,0) 62%), linear-gradient(to bottom, rgba(8,11,14,.6), rgba(8,11,14,0) 24%); }
.hero-copy { position: absolute; inset: auto 0 0 0; padding-bottom: clamp(22px, 5vh, 52px); color: var(--hero-fg); }
.hero h1 { font-size: clamp(2.55rem, 7vw, 6.2rem); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-sub { margin-top: 1.1rem; max-width: 52ch; color: var(--hero-muted); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.hero .btn-line { border-color: rgba(255,255,255,.38); color: var(--hero-fg); }
.hero .btn-line:hover { border-color: #fff; }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.readout { color: var(--hero-muted); display: grid; gap: 8px; min-width: 220px; }
.readout b { color: var(--amber); font-weight: 500; }
.bar { height: 4px; background: rgba(255,255,255,.18); position: relative; }
.bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); background: var(--amber); }
.hint { position: absolute; left: 50%; top: 86px; transform: translateX(-50%); color: var(--hero-muted); display: flex; align-items: center; gap: 10px; transition: opacity .3s ease; white-space: nowrap; }
.hint svg { width: 14px; height: 14px; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.cap { position: absolute; right: var(--gutter); top: 84px; color: var(--hero-muted); text-align: right; pointer-events: none; }
.tag { position: absolute; top: 50%; color: var(--hero-fg); background: rgba(8,11,14,.62); padding: 4px 8px; pointer-events: none; }

/* ---------- faixa de fatos ---------- */
.facts { border-block: 1px solid var(--line); background: var(--surface); }
.facts .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts p { padding: 22px 20px; border-left: 1px solid var(--line); }
.facts p:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; text-transform: uppercase; line-height: 1; margin-bottom: 4px; }
.facts span { color: var(--muted); font-size: 0.95rem; }

section.blk { padding-block: clamp(56px, 9vw, 112px); }
.blk h2 { font-size: clamp(2.1rem, 5vw, 3.9rem); max-width: 18ch; }
.lead { margin-top: 1rem; color: var(--muted); max-width: 58ch; }

/* ---------- caminhos ---------- */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--line); }
.path { padding: 28px 28px 28px 0; display: flex; flex-direction: column; gap: 14px; }
.path + .path { padding-left: 28px; border-left: 1px solid var(--line); }
.path h3 { font-size: 2rem; }
.path p { color: var(--muted); flex: 1; }
.path .btn { align-self: flex-start; }

/* ---------- calculadora ---------- */
.calc-sec { background: var(--surface); border-block: 1px solid var(--line); }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 72px); margin-top: 40px; align-items: stretch; }
.fields { display: grid; gap: 18px; align-content: start; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; }
.field small { display: block; color: var(--muted); margin-top: 6px; font-size: 0.85rem; }
.inp { display: flex; align-items: stretch; border: 1px solid var(--line); background: var(--bg); border-radius: 4px; }
.inp:focus-within { border-color: var(--amber); }
.inp span { display: grid; place-items: center; padding: 0 14px; color: var(--muted); font-family: var(--font-mono); font-size: 0.85rem; border-right: 1px solid var(--line); }
.inp span.suf { border-right: 0; border-left: 1px solid var(--line); }
.inp input { flex: 1; min-width: 0; padding: 14px; background: transparent; border: 0; color: var(--fg); font: 500 1.15rem var(--font-mono); font-variant-numeric: tabular-nums; }
.inp input:focus { outline: none; }
.result { background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.result .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 7vw, 5.4rem); line-height: .9; color: var(--amber-text); font-variant-numeric: tabular-nums; }
.result .row { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.result .row b { font-family: var(--font-mono); font-weight: 500; }
.result .note { color: var(--muted); font-size: 0.85rem; }

/* ---------- serviços ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); margin-top: 40px; }
.svc-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.svc-list button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; text-transform: uppercase; line-height: 1; color: var(--muted); transition: color .2s ease, padding .2s ease; }
.svc-list button:hover { color: var(--fg); }
.svc-list button[aria-pressed="true"] { color: var(--fg); padding-left: 14px; box-shadow: inset 3px 0 0 var(--amber); }
.svc-list button:focus-visible { outline: 2px solid var(--amber); outline-offset: -2px; }
.panel { display: grid; gap: 18px; align-content: start; }
.panel h3 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.panel > p { color: var(--muted); max-width: 54ch; }
.panel ul { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 56ch; }
.panel li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; }
.panel li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .6em; background: var(--amber); }
.panel .btn { justify-self: start; }

/* ---------- peça anotada ---------- */
.spec-sec { background: var(--surface); border-block: 1px solid var(--line); }
.spec { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.plate { position: relative; border: 1px solid var(--line); background: var(--hero-bg); }
.plate img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.pin { position: absolute; width: 0; height: 0; }
.pin::before { content: ""; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border: 2px solid var(--amber); background: rgba(8,11,14,.7); border-radius: 50%; }
.pin::after { content: ""; position: absolute; left: -1px; width: 2px; height: 34px; background: var(--amber); }
.pin.up::after { bottom: 6px; }
.pin.down::after { top: 6px; }
.pin span { position: absolute; left: 0; transform: translateX(-50%); white-space: nowrap; color: #fff; background: rgba(8,11,14,.78); padding: 3px 8px; }
.pin.up span { bottom: 40px; }
.pin.down span { top: 40px; }
.plate figcaption { padding: 10px 14px; color: var(--muted); border-top: 1px solid var(--line); background: var(--surface); }
.spec ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; border-top: 1px solid var(--line); }
.spec li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; }
.spec li b { font-family: var(--font-mono); font-weight: 500; font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-text); padding-top: .25em; }

/* ---------- como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 40px; counter-reset: s; }
.step { padding: 22px 24px 8px 0; border-top: 2px solid var(--line); position: relative; }
.step::before { counter-increment: s; content: counter(s); font-family: var(--font-display); font-weight: 800; font-size: 3.2rem; line-height: 1; color: var(--amber-text); display: block; margin-bottom: 10px; }
.step h3 { font-size: 1.5rem; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ---------- perguntas ---------- */
.faq-sec { background: var(--surface); border-block: 1px solid var(--line); }
.faq { margin-top: 36px; max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--amber-text); font-size: 1.4rem; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 62ch; }

/* ---------- contato ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 6vw, 88px); margin-top: 36px; }
.form { display: grid; gap: 16px; align-content: start; }
.form .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form label { display: block; font-weight: 500; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 4px; font: 400 1rem var(--font-body); }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--amber); }
.form .note { color: var(--muted); font-size: 0.9rem; }
.form .warn { color: var(--amber-text); font-size: 0.92rem; }
.info { display: grid; gap: 0; align-content: start; border-top: 1px solid var(--line); }
.info div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.info dt { color: var(--amber-text); margin-bottom: 4px; }
.info dd { margin: 0; }
.info a { text-underline-offset: 3px; }

footer { padding: 36px 0 calc(36px + 64px); color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }

.fab { display: none; transition: opacity .25s, transform .25s; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; box-shadow: 0 8px 24px rgba(0,0,0,.35); }

/* ---------- revelar ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hint svg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .paths, .steps { grid-template-columns: 1fr; }
  .path, .path + .path { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .calc, .svc, .spec, .contact { grid-template-columns: 1fr; }
  .steps { gap: 8px; }
  .step { padding-right: 0; }
}
@media (max-width: 720px) {
  .brand-name { font-size: 1rem; }
  .fab { display: inline-flex; }
  .fab.off { opacity: 0; pointer-events: none; transform: translateY(12px); }
  .facts .wrap { grid-template-columns: 1fr; }
  .facts p, .facts p:first-child { border-left: 0; padding: 14px 0; border-top: 1px solid var(--line); }
  .facts p:first-child { border-top: 0; }
  .form .two { grid-template-columns: 1fr; }
  .spec li { grid-template-columns: 1fr; gap: 2px; }
  .hero-stage { min-height: 640px; }
  .media { inset: 0 0 auto 0; height: 58%; }
  .media img { object-position: 52% 60%; }
  .hero-copy { padding-bottom: 20px; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .hero-sub { font-size: 1rem; margin-top: .8rem; }
  .hero-actions { margin-top: 1rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .readout { display: none; }
  .hint { top: 64px; }
  .cap { display: none; }
  .tag { display: none; }
}
/* =================== v2: site multipágina =================== */
:root { --alert: #ff5d4a; }
[hidden] { display: none !important; }
.top .wrap { max-width: none; }
.nav { gap: 6px; }
.nav > a:not(.btn), .has-sub > a { padding: 10px 12px; border-radius: 4px; }
.nav a[aria-current="page"] { color: var(--fg); box-shadow: inset 0 -2px 0 var(--amber); border-radius: 0; }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: 0; min-width: 300px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.35); display: none; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: grid; }
.sub a { padding: 12px 14px; text-decoration: none; color: var(--fg); border-radius: 4px; display: grid; gap: 2px; font-weight: 500; }
.sub a small { color: var(--muted); font-weight: 400; font-size: .85rem; }
.sub a:hover { background: var(--surface-2); }
.nav .btn { margin-left: 10px; }
.menu-btn { all: unset; display: none; box-sizing: border-box; cursor: pointer; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 4px; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: var(--fg); position: relative; transition: transform .2s, background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.top.open .menu-btn span { background: transparent; }
.top.open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.top.open .menu-btn span::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .nav { position: fixed; inset: 0; top: 0; padding: calc(84px + env(safe-area-inset-top, 0px)) var(--gutter) 32px; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; z-index: -1; }
  .top.open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav > a:not(.btn), .has-sub > a { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.9rem; color: var(--fg); padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; display: block; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--amber-text); }
  .sub { position: static; display: grid; border: 0; box-shadow: none; padding: 0 0 8px 12px; background: transparent; min-width: 0; }
  .sub a { padding: 10px 0; font-size: 1rem; color: var(--muted); }
  .sub a small { display: none; }
  .nav .btn { margin: 20px 0 0; min-height: 52px; }
  .top .brand-name { font-size: 1rem; }
}

/* ---------- cabeçalho das páginas internas ---------- */
.phero { position: relative; isolation: isolate; background: var(--hero-bg); color: var(--hero-fg); padding: calc(132px + env(safe-area-inset-top, 0px)) 0 clamp(40px, 7vw, 84px); overflow: hidden; border-bottom: 1px solid var(--line); }
.phero-bg { position: absolute; inset: 0; z-index: -1; }
.phero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.phero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,11,14,.94) 0%, rgba(8,11,14,.7) 55%, rgba(8,11,14,.35) 100%), linear-gradient(to top, rgba(8,11,14,.9), transparent 50%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--hero-muted); margin-bottom: 20px; }
.crumbs a { color: var(--hero-muted); text-decoration: none; } .crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }
.phero h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); max-width: 16ch; }
.phero h1 em { font-style: normal; color: var(--amber); }
.phero .hero-sub { max-width: 58ch; }
.phero .stats { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-top: 30px; color: var(--hero-muted); }
.phero .stats b { color: var(--amber); font-weight: 500; }

/* ---------- história rolada (home) ---------- */
.story-track { position: relative; height: 440vh; background: var(--hero-bg); }
.story-stage { position: sticky; top: 0; height: 100svh; min-height: 580px; overflow: hidden; color: var(--hero-fg); isolation: isolate; }
.story-media { position: absolute; inset: 0; z-index: -1; }
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s ease, transform 1.8s cubic-bezier(.2,.7,.2,1), filter .9s ease; will-change: transform; }
.story-media .su { opacity: 0; }
.story-stage[data-step="0"] .sb { transform: scale(1.04); filter: grayscale(.85) brightness(.55); }
.story-stage[data-step="1"] .sb { transform: scale(1.7); transform-origin: 28% 46%; filter: brightness(.8); }
.story-stage[data-step="2"] .sb { opacity: 0; transform: scale(1.7); transform-origin: 28% 46%; }
.story-stage[data-step="2"] .su { opacity: 1; transform: scale(1.75); transform-origin: 72% 38%; }
.story-stage[data-step="3"] .sb { opacity: 0; }
.story-stage[data-step="3"] .su { opacity: 1; transform: scale(1.02); transform-origin: 50% 50%; }
.story-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,11,14,.92) 0%, rgba(8,11,14,.55) 48%, rgba(8,11,14,.1) 100%), linear-gradient(to top, rgba(8,11,14,.7), transparent 40%); }
.story-inner { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; }
.story-copy { position: relative; min-height: 22rem; max-width: 34rem; }
.s { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.s.on { opacity: 1; transform: none; pointer-events: auto; }
.s .mono { color: var(--amber); display: block; margin-bottom: 14px; }
.s h2 { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: 18px; }
.s p { color: var(--hero-muted); font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 44ch; }
.story-rail { display: grid; gap: 14px; justify-items: end; align-self: center; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; background: rgba(8,11,14,.7); border: 1px solid rgba(255,255,255,.18); color: var(--hero-fg); }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--alert); box-shadow: 0 0 0 4px rgba(255,93,74,.22); transition: background .4s, box-shadow .4s; }
.story-stage[data-step="1"] .status i, .story-stage[data-step="2"] .status i { background: var(--amber); box-shadow: 0 0 0 4px rgba(245,165,36,.22); }
.story-stage[data-step="3"] .status i { background: var(--wa); box-shadow: 0 0 0 4px rgba(37,211,102,.22); }
.ticks { display: grid; gap: 10px; }
.ticks i { display: block; width: 28px; height: 3px; background: rgba(255,255,255,.25); transition: background .3s, width .3s; justify-self: end; }
.ticks i.on { background: var(--amber); width: 52px; }
.story-cta { position: absolute; left: 0; right: 0; bottom: clamp(18px, 4vh, 40px); }
.rm .story-track { height: auto; }
.rm .story-stage { position: relative; height: auto; padding-block: 72px; }
.rm .story-copy { min-height: 0; display: grid; gap: 40px; max-width: 40rem; }
.rm .s { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.rm .story-rail, .rm .story-cta { display: none; }
.rm .story-stage .su { opacity: 1; }
.rm .story-stage .sb { opacity: 0; }

/* ---------- números ---------- */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); background: var(--surface); }
.nums > div { padding: 30px 24px; border-left: 1px solid var(--line); }
.nums > div:first-child { border-left: 0; }
.nums b { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; color: var(--amber-text); }
.nums span { display: block; margin-top: 8px; color: var(--muted); font-size: .95rem; }

/* ---------- grade de serviços ---------- */
.sgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin-top: 44px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.scard { grid-column: span 2; position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; background: var(--bg); transition: background .25s ease; min-width: 0; }
.scard:nth-child(-n+2) { grid-column: span 3; }
.scard:hover { background: var(--surface); }
.scard .n { color: var(--amber-text); }
.scard h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.scard p { color: var(--muted); flex: 1; max-width: 46ch; }
.scard .go { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.scard .go::after { content: "→"; transition: transform .2s ease; }
.scard:hover .go::after { transform: translateX(6px); }
.scard .thumb { height: 150px; margin: -28px -28px 6px; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--hero-bg); }
.scard .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .6s ease; filter: grayscale(.6) brightness(.8); }
.scard:hover .thumb img { transform: scale(1.06); filter: none; }

/* lista de serviços (página) */
.srow { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 24px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .25s ease; }
.srows { border-top: 1px solid var(--line); margin-top: 40px; }
.srow:hover { padding-left: 14px; box-shadow: inset 3px 0 0 var(--amber); }
.srow .n { color: var(--amber-text); padding-top: .6em; }
.srow h3 { font-size: clamp(2rem, 3.6vw, 3rem); }
.srow p { color: var(--muted); }
.srow .go { font-size: 1.6rem; align-self: center; }

/* ---------- conteúdo das páginas de serviço ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 88px); }
.sticky { position: sticky; top: 100px; align-self: start; }
.prose { display: grid; gap: 18px; max-width: 62ch; }
.prose p { color: var(--muted); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.checks li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.checks li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .65em; background: var(--amber); }
.checks b { display: block; }
.checks span { color: var(--muted); display: block; }
.gloss { display: grid; border-top: 1px solid var(--line); }
.gloss div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.gloss dt { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-text); padding-top: .3em; }
.gloss dd { margin: 0; color: var(--muted); }
.gloss dd b { color: var(--fg); font-weight: 600; }
.next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.next a { padding: 28px 0; text-decoration: none; display: grid; gap: 6px; }
.next a + a { padding-left: 28px; border-left: 1px solid var(--line); text-align: right; padding-right: 0; }
.next a:hover b { color: var(--amber-text); }
.next b { font-family: var(--font-display); font-size: 1.8rem; text-transform: uppercase; line-height: 1; transition: color .2s; }
.next .mono { color: var(--muted); }

/* ---------- setores ---------- */
.sect { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 40px; }
.sect article { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.sect h3 { font-size: 2rem; }
.sect p { color: var(--muted); }
.sect .mono { color: var(--amber-text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips span { padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; font-size: .85rem; color: var(--muted); }

/* ---------- faixa de chamada ---------- */
.cta-band { background: var(--hero-bg); color: var(--hero-fg); border-top: 1px solid var(--line); position: relative; isolation: isolate; overflow: hidden; }
.cta-band .bgimg { position: absolute; inset: 0; z-index: -1; opacity: .35; }
.cta-band .bgimg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.cta-band .bgimg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hero-bg) 8%, transparent 80%); }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 5rem); max-width: 16ch; }
.cta-band h2 em { font-style: normal; color: var(--amber); }
.cta-band p { color: var(--hero-muted); margin-top: 16px; max-width: 50ch; }
.cta-band .hero-actions { margin-top: 28px; }
.cta-band .btn-line { border-color: rgba(255,255,255,.38); color: var(--hero-fg); }

/* ---------- rodapé ---------- */
footer { padding: 64px 0 40px; background: var(--surface); }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
footer h4 { margin: 0 0 14px; font-weight: 500; color: var(--amber-text); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; color: var(--fg); } footer a:hover { color: var(--amber-text); }
footer p { max-width: 36ch; }
footer .legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; }
.fab { transition: opacity .25s, transform .25s; }

@media (max-width: 960px) {
  .two-col, .contact { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .sgrid { grid-template-columns: 1fr; }
  .scard, .scard:nth-child(-n+2) { grid-column: auto; }
  .srow { grid-template-columns: 3rem minmax(0, 1fr); }
  .srow p, .srow .go { grid-column: 2; }
  .srow .go { display: none; }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nums > div:nth-child(3) { border-left: 0; }
  .nums > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sect { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .story-inner { grid-template-columns: 1fr; align-content: end; padding-bottom: 130px; }
  .story-rail { position: absolute; top: 90px; right: var(--gutter); }
  .story-copy { min-height: 19rem; }
  .story-shade { background: linear-gradient(to top, rgba(8,11,14,.95) 25%, rgba(8,11,14,.35) 70%, rgba(8,11,14,.5)); }
  .story-track { height: 400vh; }
}
@media (max-width: 720px) {
  .gloss div { grid-template-columns: 1fr; gap: 2px; }
  .next { grid-template-columns: 1fr; }
  .next a + a { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; text-align: left; }
  footer .cols { grid-template-columns: 1fr; }
  .phero { padding-top: calc(108px + env(safe-area-inset-top, 0px)); }
  .scard .thumb { height: 120px; }
}
.nums > div { min-width: 0; }
.nums b { overflow-wrap: anywhere; }
@media (max-width: 720px) { .nums > div { padding: 22px var(--gutter); } .nums b { font-size: 1.9rem; } footer { padding-bottom: 96px; } }

.top.open { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
@media (max-width: 960px) {
  .story-stage[data-step="0"] .sb { transform: scale(1.04); object-position: 28% 50%; }
  .story-stage[data-step="1"] .sb { transform: scale(1.3); transform-origin: 20% 50%; object-position: 28% 50%; }
  .story-stage[data-step="2"] .su { transform: scale(1.25); transform-origin: 78% 40%; object-position: 72% 50%; }
  .story-stage[data-step="3"] .su { transform: scale(1.02); object-position: 62% 50%; }
}

/* =================== v3: sempre claro + tipografia neo-grotesca =================== */
html { color-scheme: light; }
h1, h2, h3 { font-weight: 500; text-transform: none; line-height: 1.02; letter-spacing: -0.035em; }
.mono { font-weight: 400; letter-spacing: .08em; font-size: .72rem; }
.brand-mark { font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; padding: 7px 9px 6px; border-width: 2px; }
.brand-name { font-weight: 600; text-transform: none; letter-spacing: -.01em; font-size: 1.02rem; }
.blk h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); max-width: 20ch; }
.facts b, .nums b, .svc-list button, .next b, .step::before, .result .big { text-transform: none; letter-spacing: -.035em; font-weight: 500; }
.nums b { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.result .big { font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: 1; }
.path h3, .step h3, .scard h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.srow h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.sect h3 { font-size: 1.6rem; }
.step::before { font-size: 2.2rem; }
.panel h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.next b { font-size: 1.5rem; }
@media (max-width: 960px) {
  .nav > a:not(.btn), .has-sub > a { font-family: var(--font-display); font-weight: 500; text-transform: none; font-size: 1.8rem; letter-spacing: -.03em; }
}

/* ---------- abertura (clara) ---------- */
.hero-stage { background: var(--bg); display: flex; flex-direction: column; padding-top: calc(80px + env(safe-area-inset-top, 0px)); }
.hero-copy { position: static; inset: auto; order: 1; padding: clamp(10px, 2.4vh, 28px) 0 clamp(14px, 2.6vh, 28px); color: var(--fg); }
.hero h1 { font-size: clamp(2.2rem, 4.8vw, 4.4rem); max-width: 22ch; }
.hero h1 em, .phero h1 em, .cta-band h2 em { color: var(--amber-text); }
.hero-sub { color: var(--muted); margin-top: .9rem; }
.hero-actions { margin-top: 1.1rem; }
.hero .btn-line, .cta-band .btn-line { border-color: var(--line); color: var(--fg); }
.hero .btn-line:hover, .cta-band .btn-line:hover { border-color: var(--steel); }
.media { order: 2; position: relative; inset: auto; flex: 1 1 0; min-height: 200px; width: min(var(--maxw), 100% - 2 * var(--gutter)); margin: 0 auto var(--gutter); border-radius: 10px; overflow: hidden; background: var(--hero-bg); }
.shade { background: linear-gradient(to top, rgba(8,11,14,.5), rgba(8,11,14,0) 38%); }
.readout { color: var(--muted); }
.readout b { color: var(--amber-text); }
.bar { background: var(--line); }
.bar i { background: var(--amber); }
.hint { top: auto; bottom: calc(var(--gutter) + 18px); color: #fff; }
.cap { top: auto; bottom: calc(var(--gutter) + 18px); right: calc(max(var(--gutter), (100% - var(--maxw)) / 2) + 16px); color: rgba(255,255,255,.85); }
@media (max-width: 720px) {
  .hero-stage { min-height: 620px; padding-top: calc(70px + env(safe-area-inset-top, 0px)); }
  .media { inset: auto; height: auto; }
  .hero-copy { padding-bottom: 14px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero-actions .btn { flex: 1 1 100%; min-height: 46px; }
  .hint { bottom: calc(var(--gutter) + 12px); }
}

/* ---------- história rolada (clara) ---------- */
.story-track { background: var(--bg); }
.story-stage { color: var(--fg); padding-top: calc(80px + env(safe-area-inset-top, 0px)); }
.story-media { z-index: 0; inset: auto; top: calc(88px + env(safe-area-inset-top, 0px)); bottom: var(--gutter); right: max(var(--gutter), calc((100% - var(--maxw)) / 2)); width: min(54%, 680px); border-radius: 10px; overflow: hidden; background: var(--hero-bg); }
.story-shade { display: none; }
.story-inner { position: relative; z-index: 1; padding-top: 0; }
.story-copy { max-width: 30rem; }
.s .mono { color: var(--amber-text); }
.s h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 12ch; }
.s p { color: var(--muted); }
.story-rail { position: absolute; z-index: 2; top: calc(104px + env(safe-area-inset-top, 0px)); right: calc(max(var(--gutter), (100% - var(--maxw)) / 2) + 16px); }
.story-inner { grid-template-columns: minmax(0, 1fr); }
.story-cta { z-index: 2; }
.rm .story-media { position: relative; inset: auto; width: auto; height: 280px; margin-bottom: 28px; right: auto; }
@media (max-width: 960px) {
  .story-media { top: calc(78px + env(safe-area-inset-top, 0px)); left: var(--gutter); right: var(--gutter); width: auto; bottom: auto; height: 40%; }
  .story-rail { top: calc(92px + env(safe-area-inset-top, 0px)); right: calc(var(--gutter) + 12px); }
  .story-inner { align-content: end; padding-bottom: 96px; }
  .story-copy { min-height: 16rem; }
  .s h2 { font-size: clamp(2rem, 8vw, 2.6rem); }
}

/* ---------- cabeçalho das páginas internas (claro) ---------- */
.phero { background: var(--bg); color: var(--fg); padding-bottom: clamp(40px, 6vw, 72px); }
.phero-bg { z-index: 0; inset: auto; top: calc(116px + env(safe-area-inset-top, 0px)); bottom: clamp(40px, 6vw, 72px); right: max(var(--gutter), calc((100% - var(--maxw)) / 2)); width: min(36%, 440px); border-radius: 10px; overflow: hidden; background: var(--hero-bg); }
.phero-bg::after { display: none; }
.phero-bg img { opacity: 1; }
.phero .wrap { position: relative; z-index: 1; padding-right: min(42%, 500px); box-sizing: border-box; }
.phero h1 { font-size: clamp(2.2rem, 4.8vw, 4.2rem); max-width: 14ch; }
.phero .hero-sub, .crumbs, .crumbs a, .phero .stats { color: var(--muted); }
.crumbs a:hover { color: var(--fg); }
.phero .stats b { color: var(--amber-text); }
@media (max-width: 960px) {
  .phero { display: flex; flex-direction: column; }
  .phero .wrap { padding-right: 0; }
  .phero-bg { position: relative; inset: auto; order: 2; width: auto; height: 190px; margin: 28px var(--gutter) 0; }
}

/* ---------- faixa de chamada (clara) ---------- */
.cta-band { background: var(--surface); color: var(--fg); }
.cta-band .bgimg { z-index: 0; inset: auto; opacity: 1; top: clamp(56px, 9vw, 112px); bottom: clamp(56px, 9vw, 112px); right: max(var(--gutter), calc((100% - var(--maxw)) / 2)); width: min(32%, 400px); border-radius: 10px; overflow: hidden; background: var(--hero-bg); }
.cta-band .bgimg::after { display: none; }
.cta-band .wrap { position: relative; z-index: 1; padding-right: min(38%, 460px); box-sizing: border-box; }
.cta-band h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 14ch; }
.cta-band p { color: var(--muted); }
@media (max-width: 960px) {
  .cta-band { display: flex; flex-direction: column; }
  .cta-band .wrap { padding-right: 0; }
  .cta-band .bgimg { position: relative; inset: auto; order: 2; width: auto; height: 180px; margin: 32px var(--gutter) 0; }
}

footer { background: var(--surface); }
.scard .thumb img { filter: none; }
.top { background: color-mix(in srgb, var(--bg) 86%, transparent); }

/* ---------- vídeo controlado pela rolagem ---------- */
.scrub-track { position: relative; height: 380vh; background: var(--bg); }
.scrub-stage { position: sticky; top: 0; height: 100svh; min-height: 560px; display: flex; flex-direction: column; padding-top: calc(80px + env(safe-area-inset-top, 0px)); background: var(--bg); }
.scrub-head { padding: clamp(8px, 2vh, 24px) 0 clamp(14px, 2.4vh, 26px); }
.scrub-head h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); max-width: 22ch; }
.scrub-head .kicker { margin-bottom: .6rem; }
.scrub-frame { position: relative; flex: 1 1 0; min-height: 220px; width: min(var(--maxw), 100% - 2 * var(--gutter)); margin: 0 auto var(--gutter); border-radius: 10px; overflow: hidden; background: #0b0e11; }
.scrub-frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scrub-shade { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, rgba(8,11,14,.58), rgba(8,11,14,.34) 70%), linear-gradient(to top, rgba(8,11,14,.4), rgba(8,11,14,0) 40%); }
.scrub-caps { position: absolute; inset: 0; display: grid; place-items: center; padding: clamp(24px, 5vw, 72px); pointer-events: none; }
.cs { position: absolute; left: 50%; top: 50%; width: min(100% - 2 * clamp(24px, 5vw, 72px), 24ch); margin: 0; text-align: center; color: #fff; font-size: clamp(1.9rem, 4.8vw, 4.2rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.04; text-wrap: balance; text-shadow: 0 2px 28px rgba(0,0,0,.35); opacity: 0; transform: translate(-50%, calc(-50% + 16px)); transition: opacity .5s ease, transform .5s ease; }
.cs.on { opacity: 1; transform: translate(-50%, -50%); }
.scrub-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.22); }
.scrub-bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--sp, 0) * 100%); background: var(--amber); }
.cap-il { position: absolute; top: 16px; right: 16px; color: rgba(255,255,255,.85); }
.rm .scrub-track { height: auto; }
.rm .scrub-stage { position: relative; height: auto; min-height: 0; padding-bottom: 8px; }
.rm .scrub-frame { flex: none; height: 56vh; min-height: 320px; }
.rm .scrub-caps { position: static; padding: 18px 0 0; display: grid; gap: 10px; place-items: start; pointer-events: auto; }
.rm .cs { position: static; width: auto; opacity: 1; transform: none; font-size: 1.15rem; text-align: left; color: var(--fg); text-shadow: none; }
.rm .scrub-shade { background: linear-gradient(to top, rgba(8,11,14,.4), transparent 40%); }
@media (max-width: 720px) {
  .scrub-track { height: 340vh; }
  .scrub-stage { padding-top: calc(70px + env(safe-area-inset-top, 0px)); }
  .scrub-head h2 { font-size: clamp(1.7rem, 7.4vw, 2.2rem); }
  .cs { font-size: clamp(1.7rem, 7.6vw, 2.4rem); }
}

/* ---------- abertura em vídeo ---------- */
.herov { height: 300vh; }
.herov .scrub-frame { margin-top: 4px; }
.herov .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transition: opacity .3s; }
.herov .scrub-shade { background: radial-gradient(ellipse at center, rgba(8,11,14,.3), rgba(8,11,14,0) 70%), linear-gradient(rgba(8,11,14,.34), rgba(8,11,14,.34)); }
.herov .scrub-caps { z-index: 2; padding-bottom: clamp(70px, 12vh, 110px); }
.herov .cs { top: 46%; }
.herov h1.cs { font-size: clamp(2.3rem, 5.8vw, 5.4rem); width: min(100% - 2 * clamp(24px, 5vw, 72px), 19ch); letter-spacing: -.045em; }
.herov h1.cs em { font-style: normal; color: #ffb53d; }
.herov p.cs { font-size: clamp(1.25rem, 2.7vw, 2.2rem); width: min(100% - 2 * clamp(24px, 5vw, 72px), 32ch); letter-spacing: -.03em; font-weight: 400; }
.herov .hint { position: absolute; top: 16px; bottom: auto; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.88); z-index: 3; display: flex; align-items: center; gap: 10px; transition: opacity .3s; white-space: nowrap; }
.herov .hint svg { width: 14px; height: 14px; animation: nudge 1.6s ease-in-out infinite; }
.herov .cap-il { z-index: 3; }
.herov .cs { text-shadow: 0 2px 30px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.35); }
.hero-cta { position: absolute; z-index: 3; left: 50%; bottom: clamp(20px, 4vh, 38px); transform: translateX(-50%); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: max-content; max-width: calc(100% - 32px); }
.hero-cta .btn-line { border-color: rgba(255,255,255,.6); color: #fff; background: rgba(8,11,14,.25); }
.hero-cta .btn-line:hover { border-color: #fff; }
.rm .herov h1.cs { font-size: clamp(1.8rem, 6vw, 3rem); color: var(--fg); }
.rm .herov h1.cs em { color: var(--amber-text); }
.rm .herov .scrub-caps { padding-bottom: 0; }
.rm .hero-cta { position: absolute; }
@media (max-width: 720px) {
  .herov { height: 280vh; }
  .herov h1.cs { font-size: clamp(1.95rem, 9vw, 2.6rem); }
  .herov p.cs { font-size: clamp(1.2rem, 5.4vw, 1.5rem); }
  .herov .cs { top: 27%; }
  .herov .hint { top: 46px; }
  .hero-cta { flex-direction: column; width: calc(100% - 32px); }
  .hero-cta .btn { width: 100%; min-height: 46px; }
  .herov .scrub-caps { padding-bottom: 130px; }
}

/* ---------- menu flutuante ---------- */
.top { top: calc(12px + env(safe-area-inset-top, 0px)); inset: calc(12px + env(safe-area-inset-top, 0px)) 0 auto 0; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; pointer-events: none; }
.top .wrap { pointer-events: auto; width: min(1120px, 100% - 2 * var(--gutter)); padding: 8px 8px 8px 18px; border-radius: 999px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); border: 1px solid rgba(223,226,229,.9); box-shadow: 0 10px 34px rgba(8,11,14,.14); }
.nav .btn { border-radius: 999px; }
.brand-mark { border-radius: 5px; }
@media (max-width: 960px) {
  .top.open { background: none; }
  .top.open .wrap { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); box-shadow: none; }
  .menu-btn { border-radius: 999px; width: 42px; height: 42px; }
}

/* ---------- abertura em tela cheia ---------- */
.herov { height: 280vh; }
.herov .scrub-stage { padding-top: 0; min-height: 520px; }
.herov .scrub-frame { width: 100%; margin: 0; border-radius: 0; }
.herov .poster { object-position: 62% 50%; }
.herov .scrub-shade { background: radial-gradient(ellipse at center, rgba(8,11,14,.28), rgba(8,11,14,0) 70%), linear-gradient(rgba(8,11,14,.34), rgba(8,11,14,.34)); }
.herov .scrub-caps { padding: 80px clamp(20px, 5vw, 72px) 60px; }
.herov .cs { top: 50%; }
.herov h1.cs { width: min(100% - 40px, 17ch); font-size: clamp(2.5rem, 6.6vw, 6.4rem); line-height: 1.02; letter-spacing: -.05em; }
.herov h1.cs .l1 { display: inline; }
.herov h1.cs .l2 { display: block; margin-top: .14em; color: #ffb53d; opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.herov.p2 h1.cs .l2, .herov .scrub-stage.p2 h1.cs .l2 { opacity: 1; transform: none; }
.herov .hint { top: auto; bottom: 30px; }
.herov .cap-il { top: auto; bottom: 30px; right: clamp(16px, 3vw, 36px); }
.herov .scrub-bar { height: 3px; }
.intro { padding-block: clamp(48px, 7vw, 88px); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.intro-lead { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.14; max-width: 28ch; }
.intro .hero-actions { margin: 0; justify-content: flex-start; }
.rm .herov .scrub-stage { height: auto; }
.rm .herov .scrub-frame { flex: none; height: 100svh; min-height: 520px; }
.rm .herov .scrub-caps { position: absolute; display: grid; padding: 80px 40px 60px; }
.rm .herov h1.cs { position: absolute; left: 50%; top: 50%; width: min(100% - 40px, 17ch); transform: translate(-50%, -50%); color: #fff; font-size: clamp(2.5rem, 6.6vw, 6.4rem); text-align: center; }
.rm .herov h1.cs .l2 { opacity: 1; transform: none; color: #ffb53d; }
@media (max-width: 960px) { .intro-grid { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 720px) {
  .herov { height: 260vh; }
  .herov h1.cs { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .herov .cs { top: 28%; }
  .herov .scrub-caps { padding: 80px 20px 70px; }
  .herov .hint { bottom: 24px; }
  .herov .cap-il { display: none; }
}

.brand-logo{height:30px;width:auto;display:block;flex:none}
footer .brand-logo{height:36px}
.nums.two{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:720px){.nums.two > div:nth-child(2){border-left:1px solid var(--line)}.nums.two > div:nth-child(n+3){border-top:0}.nums.two b{font-size:1.5rem}.brand-logo{height:26px}}

.clients{border-block:1px solid var(--line)}
.logos{list-style:none;margin:36px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid var(--line)}
.logos li{display:flex;align-items:center;justify-content:center;min-height:120px;padding:24px;border-left:1px solid var(--line);border-bottom:1px solid var(--line)}
.logos li:first-child{border-left:0}
.logos img{max-height:56px;max-width:80%;width:auto;filter:grayscale(1) contrast(1.1);opacity:.75;transition:opacity .2s}
.logos li:hover img{opacity:1}
.lg-name{font-family:var(--font-display);font-weight:600;font-size:1.5rem;letter-spacing:-.02em;color:#8a949c}
@media (max-width:720px){.logos{grid-template-columns:1fr}.logos li{border-left:0;min-height:90px}}
.logos .lg-bauducco img{height:52px;max-height:none}
.logos .lg-cacau-show img{height:78px;max-height:none}
.logos .lg-tenda-atacadista img{height:60px;max-height:none}
@media (max-width:720px){.logos .lg-cacau-show img{height:68px}}

/* ---------- ajustes mobile (v13) ---------- */
/* troca de legenda sem sobreposição: o texto que sai some rápido, o que entra espera */
.s, .cs { transition: opacity .16s ease, transform .16s ease; }
.s.on, .cs.on { transition: opacity .4s ease .16s, transform .4s ease .16s; }
.fab.off { visibility: hidden; transition: opacity .25s, transform .25s, visibility 0s .25s; }
@media (max-width: 720px) {
  .story-track { height: 360vh; }
  .scrub-track { margin-top: -28px; }
  footer { padding-bottom: 40px; }
}

/* formulário por e-mail (v14) */
.mailsec { background: var(--surface); border-top: 1px solid var(--line); }
.mailsec h2 em { font-style: normal; color: var(--amber-text); }
.mailsec .contact { margin-top: 0; align-items: start; }
.mailnote { margin-top: 18px; }
.mailnote a { color: var(--fg); }
.btn-amber { background: var(--amber); color: #1a1100; justify-self: start; }
.btn-amber:hover { background: #ffb73c; }
.btn-amber[disabled] { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .status { padding: 12px 14px; border-radius: 4px; border: 1px solid var(--line); font-weight: 500; }
.form .status.ok { border-color: #1f9d55; color: #14753f; background: rgba(31,157,85,.08); }
.form .status.err { border-color: #c2410c; color: #9a3412; background: rgba(194,65,12,.07); }
.cta-band .cta-alt { font-size: .95rem; }
.cta-band .cta-alt a { color: var(--hero-fg); text-underline-offset: 3px; }
