/* ==========================================================================
   Lobster 8 | website v4
   Reposicionamento: "A Lobster 8 constrói o caminho entre alguém procurar
   um negócio e virar cliente." Fonte de verdade dos textos: identidade/marca.md.

   Movimento só no desktop (>= 1024px). Abaixo disso o common.js não liga o GSAP
   e a página é estática: sem pin, sem faixa horizontal, sem reveal.

   Mecanismos de efeito (desktop):
   - entrada do hero (título fatiado, escalonado)              -> hero
   - Ciclo 8 em infinito, luz percorrendo a linha (CSS puro)  -> hero
   - iluminação de palavra ao rolar (pinado)                    -> diferencial (slogan 2)
   - cards com glow no hover                                    -> o problema
   - visual fixo + texto rolando ao lado                        -> como funciona
   - faixa horizontal pinada com scroll e encaixe (snap)         -> o que entregamos
   - painel com glow radial                                     -> CTA final
   - botão flutuante de WhatsApp, header que expande, progresso -> global

   CSP sem 'unsafe-inline': zero <style> e zero style="" no HTML. Toda
   customização vem de classes, custom properties fixas ou nth-child.
   Z-index: 40 header, 45 botão flutuante, 60 progresso, 100 skip-link.
   ========================================================================== */

@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes beam { to { --a: 360deg; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes lite-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes inf-run { to { stroke-dashoffset: -100; } }
@keyframes inf-dot { 0%, 20% { background: var(--coral); transform: translate(-50%, -50%) scale(1.35); box-shadow: 0 0 0 1px rgba(255, 150, 128, .8), 0 0 20px rgba(255, 95, 69, .8), 0 0 44px rgba(255, 95, 69, .4); } 30%, 100% { background: var(--surface-2); transform: translate(-50%, -50%); box-shadow: inset 0 0 0 1px var(--line-strong); } }
@keyframes inf-label { 0%, 20% { color: var(--text); text-shadow: 0 0 16px rgba(255, 95, 69, .7); } 30%, 100% { color: var(--text-muted); text-shadow: none; } }

:root {
  color-scheme: dark;
  --bg: #031323;
  --bg-alt: #072742;
  --surface: #0e3459;
  --surface-2: #154474;
  --line: rgba(243, 246, 250, 0.20);
  --line-strong: rgba(243, 246, 250, 0.42);
  --text: #f3f6fa;
  --text-muted: #bccada;
  --coral: #ff5f45;
  --coral-hot: #ff8068;
  --coral-soft: rgba(255, 95, 69, 0.2);
  --cyan: #22e3ea;

  --glow-sm: 0 0 0 1px rgba(255, 128, 104, .55), 0 0 16px rgba(255, 95, 69, .4);
  --glow-md: 0 0 0 1px rgba(255, 150, 128, .8), 0 0 26px rgba(255, 95, 69, .6), 0 0 60px rgba(255, 95, 69, .25);

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-card: 20px;
  --r-input: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --hh: 64px;
  --header-max: 80px;
}
.past-hero { --hh: 80px; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--header-max); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--coral-hot); outline-offset: 3px; border-radius: 8px; box-shadow: 0 0 16px rgba(255, 95, 69, .45); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--coral); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.1; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -0.02em; }
.accent { color: var(--coral); text-shadow: 0 0 32px rgba(255, 95, 69, .4); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--text-muted); max-width: 52ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-hot); }
.eyebrow .ico { width: 14px; height: 14px; }

.ico { display: block; width: 1em; height: 1em; }

/* ---------- Brilho: contorno luminoso em elementos clicáveis ---------- */
.btn, .wa-fab { position: relative; isolation: isolate; }
.btn::after, .wa-fab::after, .service-card::after, .problem-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--a), transparent 0 55%, rgba(255, 150, 128, .15) 62%, #ff8f78 80%, #fff1ec 93%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s; animation: beam 2.4s linear infinite; animation-play-state: paused;
}
.btn:hover::after, .btn:focus-visible::after, .wa-fab:hover::after, .wa-fab:focus-visible::after,
.service-card:hover::after, .service-card:focus-visible::after,
.problem-card:hover::after { opacity: 1; animation-play-state: running; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font-body); cursor: pointer; will-change: transform;
  transition: background .25s, border-color .25s, color .25s, box-shadow .3s, transform .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--coral); color: var(--bg); box-shadow: 0 0 0 1px rgba(255, 150, 128, .65), 0 6px 26px -4px rgba(255, 95, 69, .6), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary:hover, .btn-primary:focus-visible { background: #ff705a; box-shadow: var(--glow-md), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-ghost { border-color: rgba(243, 246, 250, .5); color: var(--text); background: rgba(243, 246, 250, .03); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--coral-hot); color: var(--text); box-shadow: var(--glow-sm), inset 0 0 18px rgba(255, 95, 69, .12); }
.btn-sm { padding: 11px 20px; font-size: .9375rem; }
.btn .ico { width: 18px; height: 18px; }

/* ---------- Progresso de leitura ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--coral); box-shadow: 0 0 12px 1px rgba(255, 95, 69, .9); transform-origin: 0 50%; transform: scaleX(0); }
#top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }

/* ---------- Header: compacto no hero, ampliado depois dele ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--hh); display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: height .5s var(--ease), background .3s, border-color .3s, box-shadow .5s;
}
.site-header.is-scrolled { background: rgba(3, 19, 35, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.past-hero .site-header { background: rgba(3, 19, 35, .9); border-bottom-color: rgba(255, 128, 104, .45); box-shadow: 0 10px 40px -18px rgba(255, 95, 69, .55); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; transition: font-size .5s var(--ease), gap .5s var(--ease); }
.brand img { width: 30px; height: auto; transition: width .5s var(--ease), filter .5s; }
.past-hero .brand { font-size: 1.6rem; gap: 14px; }
.past-hero .brand img { width: 46px; filter: drop-shadow(0 0 12px rgba(255, 95, 69, .55)); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: .9375rem; color: var(--text-muted); transition: color .2s, text-shadow .2s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links a.is-active { box-shadow: 0 2px 0 var(--coral); text-shadow: 0 0 14px rgba(255, 95, 69, .6); }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 11px; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, top .25s, background .25s; }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Estrutura de seção ---------- */
section { position: relative; padding-block: clamp(80px, 11vw, 144px); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 62ch; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   HERO — slogan + CTA + Ciclo 8 em infinito horizontal
   ========================================================================== */
.hero { min-height: 100dvh; display: grid; align-items: center; padding-top: 96px; padding-bottom: 48px; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(760px 560px at 78% 46%, rgba(255, 95, 69, .16), transparent 70%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(24px, 5vw, 72px); }
.hero-copy { display: grid; gap: 22px; justify-items: start; will-change: transform, opacity; }
.hero-title { max-width: 15ch; }
.hero-title br { display: none; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.hero-note { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: .875rem; }
.hero-note .ico { width: 15px; height: 15px; filter: drop-shadow(0 0 5px rgba(255, 95, 69, .6)); }
.hero-visual { display: grid; place-items: center; gap: 18px; will-change: transform, opacity; }
.hero-title.is-in .w { overflow: visible; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .14em; margin: 0 -.04em -.14em; }
.wi { display: inline-block; will-change: transform; }
.js:not(.force-show) [data-hero], .js:not(.force-show) .hero-title .wi { opacity: 0; }
.js.gsap-ready [data-hero], .js.gsap-ready .hero-title .wi { opacity: 1; }

/* ---------- Ciclo 8: infinito horizontal ----------
   A luz percorre a linha em 7,2s (pathLength=100). Cada etapa acende quando a luz
   passa por ela: o atraso de cada nó é a posição dele no traçado (0; 27,3; 50;
   77,3), menos meio comprimento da luz, convertido em tempo e deslocado em -7,2s
   para começar já em fase. Mudou a duração ou o traçado, recalcular os quatro. */
.inf { --dur: 7.2s; position: relative; width: min(100%, 520px); aspect-ratio: 560 / 300; }
.inf-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.inf-track, .inf-pulse { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.inf-track { stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 100; }
.inf-pulse { stroke: var(--coral); stroke-width: 3; stroke-dasharray: 12 88; filter: drop-shadow(0 0 6px rgba(255, 95, 69, .9)); animation: inf-run var(--dur) linear infinite; transition: opacity .6s; }
.js.gsap-ready .hero-visual:not(.is-live) .inf-pulse { opacity: 0; }
.inf-node { position: absolute; width: 0; height: 0; }
.inf-node[data-node="mapear"]    { left: 23.16%; top: 20.55%; --d: calc(-0.432s); }
.inf-node[data-node="construir"] { left: 76.84%; top: 79.45%; --d: calc(1.534s - var(--dur)); }
.inf-node[data-node="conectar"]  { left: 76.84%; top: 20.55%; --d: calc(3.168s - var(--dur)); }
.inf-node[data-node="medir"]     { left: 23.16%; top: 79.45%; --d: calc(5.134s - var(--dur)); }
.inf-dot { position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong); transform: translate(-50%, -50%); animation: inf-dot var(--dur) var(--d) ease-in-out infinite; }
.inf-label { position: absolute; left: 0; transform: translateX(-50%); white-space: nowrap; font-family: var(--font-display); font-weight: 600; font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); animation: inf-label var(--dur) var(--d) ease-in-out infinite; }
.inf-node[data-node="mapear"] .inf-label, .inf-node[data-node="conectar"] .inf-label { bottom: 18px; }
.inf-node[data-node="construir"] .inf-label, .inf-node[data-node="medir"] .inf-label { top: 18px; }
.inf-caption { max-width: 34ch; text-align: center; text-wrap: balance; font-size: .8125rem; color: var(--text-muted); }

/* ==========================================================================
   O PROBLEMA — três cards, na linguagem do cliente
   ========================================================================== */
.problems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* Subgrid: número, frase, custo e etiqueta ocupam a mesma linha nos três cards,
   mesmo quando a frase de um deles quebra em menos linhas. */
.problem-card {
  position: relative; overflow: hidden; display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 18px; align-content: start; padding: clamp(26px, 3vw, 32px);
  border: 1px solid var(--line-strong); border-radius: var(--r-card);
  background: linear-gradient(180deg, var(--surface), var(--bg-alt));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  transition: border-color .3s, box-shadow .4s, transform .5s var(--ease);
}
.problem-card:hover { border-color: rgba(255, 128, 104, .7); box-shadow: 0 0 0 1px rgba(255, 95, 69, .25), 0 0 44px -8px rgba(255, 95, 69, .5); transform: translateY(-4px); }
.problem-number { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--coral-hot); }
.problem-quote { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.28; letter-spacing: -0.015em; }
.problem-quote::before { content: "“"; }
.problem-quote::after { content: "”"; }
.problem-cost { color: var(--text-muted); font-size: .9375rem; }
.problem-tag { display: inline-flex; margin-top: 4px; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--coral-hot); }

/* ==========================================================================
   DIFERENCIAL — slogan 2 (pinado, palavras acendem) + contraste com agência
   ========================================================================== */
.differential { padding-block: 0; }
.statement { min-height: 100dvh; display: grid; align-items: center; padding-block: 0; }
.statement-text { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.14; font-size: clamp(1.9rem, 4.6vw, 3.5rem); max-width: 24ch; }
.statement-text .sw { display: inline; }
.js.gsap-ready .statement-text .sw { opacity: .18; }


/* ==========================================================================
   COMO FUNCIONA — visual fixo à esquerda, linha do tempo rolando à direita
   ========================================================================== */
.timeline-section { border-block: 1px solid var(--line); }
.timeline-title { max-width: 20ch; margin-bottom: clamp(24px, 4vw, 40px); }
.timeline-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.timeline-visual { position: sticky; top: calc(50dvh - 190px); display: grid; place-items: center; height: 380px; }
.timeline-badge { position: relative; display: grid; place-items: center; width: min(74%, 260px); aspect-ratio: 1; }
.timeline-badge .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255, 128, 104, .5); }
.timeline-badge .ring.r2 { inset: 22px; border-style: solid; border-color: var(--line-strong); }
.js .timeline-badge .ring { animation: spin 60s linear infinite; }
.timeline-step { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.5rem); text-align: center; line-height: 1.1; transition: opacity .4s; }
.timeline-step small { display: block; margin-top: 6px; font-family: var(--font-body); font-weight: 500; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.timeline-steps { display: grid; }
.tstep { min-height: 66dvh; display: grid; align-content: center; gap: 14px; max-width: 46ch; transition: opacity .6s; }
.js .tstep { opacity: .3; }
.js .tstep.is-active { opacity: 1; }
.tstep-when { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-hot); }
.tstep h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
.tstep p { color: var(--text-muted); font-size: 1.0625rem; }
.tstep:last-child { min-height: 50dvh; }

/* ==========================================================================
   O QUE ENTREGAMOS — faixa horizontal pinada, três linhas de serviço
   ========================================================================== */
.deliver { padding-block: 0; }
.deliver-pin { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 0; padding-block: calc(var(--header-max) + 32px) 40px; }
.deliver-head { display: grid; gap: 14px; margin-bottom: 28px; max-width: 62ch; }
.dtl { display: none; margin-bottom: 28px; }
.dtl-line { position: relative; height: 3px; border-radius: 3px; background: var(--line-strong); }
.dtl-fill { position: absolute; inset: 0; border-radius: inherit; background: var(--coral); box-shadow: 0 0 14px 1px rgba(255, 95, 69, .85); transform-origin: 0 50%; transform: scaleX(0); }
.dtl-labels { display: flex; justify-content: space-between; margin-top: 12px; font-family: var(--font-display); font-weight: 600; font-size: .9375rem; color: var(--text-muted); }
.dtl-labels span { transition: color .3s, text-shadow .3s; }
.dtl-labels span.is-active { color: var(--text); text-shadow: 0 0 16px rgba(255, 95, 69, .8); }
.deliver-viewport { align-self: center; }
.deliver-track { display: grid; gap: 20px; width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.service-card {
  position: relative; display: grid; grid-template-columns: 1fr; gap: 20px; min-height: min(52dvh, 460px);
  padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line-strong); border-radius: var(--r-card);
  background: linear-gradient(135deg, var(--surface-2), var(--surface) 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 1px rgba(255, 95, 69, .06);
  transition: border-color .3s, box-shadow .4s;
}
.service-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--coral-soft); box-shadow: inset 0 0 0 1px rgba(255, 128, 104, .4), 0 0 18px rgba(255, 95, 69, .3); }
.service-icon .ico { width: 28px; height: 28px; filter: drop-shadow(0 0 6px rgba(255, 95, 69, .7)); }
.service-quote { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: var(--text-muted); }
.service-quote::before { content: "“"; } .service-quote::after { content: "”"; }
.service-name { font-size: clamp(1.6rem, 2.6vw, 2.1rem); max-width: 16ch; }
.service-change { color: var(--text-muted); font-size: 1.0625rem; max-width: 42ch; }
.service-change strong { color: var(--text); font-weight: 600; }
.service-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 600; color: var(--text); }
.service-link .ico { width: 20px; height: 20px; transition: transform .4s var(--ease); filter: drop-shadow(0 0 6px rgba(255, 95, 69, .7)); }
.service-card:hover .service-link .ico { transform: translate(4px, -4px); }
.js.gsap-ready .deliver-pin { min-height: 100dvh; overflow: hidden; }
.js.gsap-ready .dtl { display: block; }
.js.gsap-ready .deliver-viewport { align-self: start; }
.js.gsap-ready .deliver-track { display: flex; width: max-content; min-width: 100%; gap: 24px; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); margin: 0; will-change: transform; }
.js.gsap-ready .service-card { flex: 0 0 min(100vw - 2 * var(--gutter), var(--container)); }

/* ==========================================================================
   FAQ — <details> nativo, sem JavaScript necessário
   ========================================================================== */
.faq-list { display: grid; max-width: 860px; }
.faq-item { border-top: 1px solid var(--line-strong); }
.faq-item:last-child { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.faq-item[open] summary .ico { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--coral-hot); }
.faq-body { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .4s var(--ease), visibility 0s .4s; }
.faq-item[open] .faq-body { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .4s var(--ease), visibility 0s; }
.faq-body-inner { overflow: hidden; }
.faq-body p { padding: 0 4px 26px; color: var(--text-muted); max-width: 64ch; }

/* ==========================================================================
   CTA final — painel com glow radial, WhatsApp único
   ========================================================================== */
.cta-panel { display: grid; gap: 26px; justify-items: start; text-align: left; padding: clamp(32px, 6vw, 72px); border-radius: var(--r-card); border: 1px solid var(--line-strong); background: radial-gradient(620px 420px at 15% 0%, rgba(255, 95, 69, .18), transparent 70%), var(--surface); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.cta-panel h2 { max-width: 20ch; }
.cta-note { color: var(--text-muted); font-size: .9375rem; }

/* ---------- Botão flutuante (WhatsApp) ---------- */
.wa-fab {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 45;
  display: inline-flex; align-items: center; height: 58px; min-width: 58px; justify-content: center; padding: 0 16px; border-radius: 999px;
  background: var(--coral); color: var(--bg); font-weight: 600; font-size: .9375rem; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255, 150, 128, .65), 0 8px 30px -4px rgba(255, 95, 69, .7), inset 0 1px 0 rgba(255, 255, 255, .35);
  opacity: 0; transform: translateY(18px) scale(.9); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease), box-shadow .3s;
}
.past-hero .wa-fab { opacity: 1; transform: none; pointer-events: auto; }
.wa-fab:hover, .wa-fab:focus-visible { box-shadow: var(--glow-md), inset 0 1px 0 rgba(255, 255, 255, .4); }
.wa-fab img { width: 28px; height: 28px; flex: none; }
.wa-fab span { max-width: 0; overflow: hidden; margin-left: 0; transition: max-width .45s var(--ease), margin .45s var(--ease); }
.wa-fab:hover span, .wa-fab:focus-visible span { max-width: 220px; margin-left: 10px; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 40px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; gap: 20px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-tagline { color: var(--text-muted); font-size: .9375rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: .9375rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--text); text-shadow: 0 0 14px rgba(255, 95, 69, .7); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-muted); font-size: .8125rem; }

/* ---------- Páginas de apoio (obrigado, 404) ---------- */
.center-page { min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.center-page .stack-col { display: grid; gap: 22px; justify-items: center; max-width: 520px; }
.center-page-title { font-size: clamp(2rem, 5vw, 2.75rem); }
.center-page img { width: 88px; }
.center-page p { color: var(--text-muted); }

/* ==========================================================================
   Página de serviço (ser-encontrado / atender-sem-perder / organizar-operacao)
   ========================================================================== */
.service-hero { padding-top: calc(var(--header-max) + 64px); padding-bottom: clamp(48px, 6vw, 80px); overflow: clip; }
.service-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 480px at 85% 30%, rgba(255, 95, 69, .16), transparent 70%); }
.service-hero-inner { position: relative; display: grid; gap: 22px; justify-items: start; max-width: 70ch; }
.service-hero-inner h1 { max-width: 18ch; }
.service-meta { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(32px, 5vw, 56px); padding-top: 28px; border-top: 1px solid var(--line-strong); max-width: 900px; }
.service-meta dt { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-hot); margin-bottom: 6px; }
.service-meta dd { color: var(--text); font-size: 1rem; }
.includes { display: grid; gap: 10px; color: var(--text); font-size: 1rem; max-width: 640px; }
.includes li { display: flex; gap: 12px; align-items: flex-start; }
.includes li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; background: url("../icons/check.svg") center / contain no-repeat; filter: drop-shadow(0 0 5px rgba(255, 95, 69, .7)); }
.cta-solo { display: grid; gap: 24px; justify-items: start; padding: clamp(28px, 6vw, 64px); border-radius: var(--r-card); border: 1px solid var(--line-strong); background: radial-gradient(520px 360px at 0% 0%, rgba(255, 95, 69, .16), transparent 70%), var(--surface); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.cta-solo h2 { max-width: 20ch; }
.cta-solo + .next-service { margin-top: 24px; }
.next-service { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; border: 1px dashed var(--line-strong); border-radius: var(--r-card); }
.next-service p { color: var(--text-muted); font-size: .9375rem; }
.next-service strong { display: block; color: var(--text); font-size: 1.1rem; margin-top: 2px; }

/* ---------- Reveal de entrada ---------- */
.js.gsap-ready [data-reveal] { opacity: 0; transform: translateY(28px); }

/* ---------- Responsivo ---------- */
@media (max-width: 1023px) {
  /* Tablet e celular: só texto no hero, e nada preso na tela durante a rolagem. */
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { min-height: auto; align-items: start; padding-top: calc(var(--hh) + 48px); padding-bottom: clamp(64px, 12vw, 96px); }
  .problems-grid { grid-template-columns: 1fr; }
  .statement { min-height: auto; padding-block: clamp(72px, 14vw, 112px); }
  .timeline-grid { grid-template-columns: 1fr; gap: 0; }
  .timeline-visual { display: none; }
  .js .tstep { opacity: 1; min-height: auto; padding-block: 28px; border-top: 1px solid var(--line); }
  .tstep:last-child { min-height: auto; }
  .service-meta { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  :root { --hh: 60px; --header-max: 72px; }
  .past-hero { --hh: 72px; }
  .past-hero .brand { font-size: 1.35rem; }
  .past-hero .brand img { width: 38px; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--hh) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(3, 19, 35, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 12px var(--gutter) 28px; border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .25s, opacity .25s, visibility .25s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { display: block; padding: 16px 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
  .nav-links a.is-active { box-shadow: none; color: var(--coral-hot); }
  .nav .btn { margin-top: 20px; }
  .service-card { min-height: min(58dvh, 440px); }
  .service-meta { grid-template-columns: 1fr; }
  .wa-fab { height: 54px; min-width: 54px; }
  .wa-fab span { display: none; }
  .next-service { flex-direction: column; align-items: flex-start; }
}

/* ---------- Movimento leve (celular e tablet, classe posta pelo common.js) ----------
   Fade curto com subida pequena, uma vez por bloco. Sem pin e sem scrub. */
.lite-motion .hero [data-hero], .lite-motion .hero-title { animation: lite-up .8s var(--ease) both; }
.lite-motion .hero .eyebrow { animation-delay: .05s; }
.lite-motion .hero-title { animation-delay: .15s; }
.lite-motion .hero .lead { animation-delay: .3s; }
.lite-motion .hero .actions { animation-delay: .42s; }
.lite-motion .hero .hero-note { animation-delay: .52s; }
.lite-motion .lite { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.lite-motion .lite.is-in { opacity: 1; transform: none; }
/* A luz que corre na borda: no desktop vem do hover; aqui, do card estar na tela. */
.lite-motion .problem-card.is-lit::after, .lite-motion .service-card.is-lit::after { opacity: 1; animation-play-state: running; }
.problem-card:nth-child(2)::after, .service-card:nth-child(2)::after { animation-delay: -.8s; }
.problem-card:nth-child(3)::after, .service-card:nth-child(3)::after { animation-delay: -1.6s; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-hero], .js .hero-title .wi, .js [data-reveal], .js .statement-text .sw { opacity: 1 !important; transform: none !important; }
  .js .tstep { opacity: 1; }
  .inf-pulse { display: none; }
  .inf-dot { transform: translate(-50%, -50%); }
}

/* Serviço sem movimento: os slides ficam em coluna, tudo visível */
html:not(.gsap-ready) .deliver-track { display: grid !important; }
html:not(.gsap-ready) .service-card { flex: none !important; }
