/* Moldurinha — estilos compartilhados (hero escuro, cenas animadas, jornada com rolagem) */
:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --surface-2: #eef1ec;
  --fg: #16201a;
  --muted: #56625b;
  --rule: #dbe1dc;
  --accent: #2f6b4f;
  --accent-strong: #234f3b;
  --accent-soft: #e2eee7;
  --warm: #c8782a;
  --warm-soft: #f6e6d4;
  --on-accent: #ffffff;
  /* Seções escuras (hero, diferencial, contato, rodapé) — iguais nos dois temas */
  --ink: #0d2119;
  --ink-2: #133024;
  --ink-fg: #eef4f0;
  --ink-muted: #a9bbb1;
  --ink-rule: rgba(255, 255, 255, .12);
  --mint: #9fd8bb;
  --shadow: 0 1px 2px rgba(15, 30, 22, .06), 0 12px 32px rgba(15, 30, 22, .08);
  --shadow-lg: 0 24px 60px rgba(4, 14, 9, .35);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --max: 74rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101512; --surface: #171d19; --surface-2: #1c231f; --fg: #e7ece9; --muted: #9eaba4;
    --rule: #2a332e; --accent: #7cc4a0; --accent-strong: #9fd8bb; --accent-soft: #1c2b23;
    --warm: #e2a15c; --warm-soft: #33261a; --on-accent: #0f1712; --shadow: none;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101512; --surface: #171d19; --surface-2: #1c231f; --fg: #e7ece9; --muted: #9eaba4;
  --rule: #2a332e; --accent: #7cc4a0; --accent-strong: #9fd8bb; --accent-soft: #1c2b23;
  --warm: #e2a15c; --warm-soft: #33261a; --on-accent: #0f1712; --shadow: none;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--warm); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 500; }
p { margin: 0; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: .5rem 1rem; z-index: 99; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: .5rem; }
.eyebrow::before { content: ""; width: 1.4rem; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); }
.hl { color: var(--warm); font-style: italic; }

/* ---------- Efeitos de entrada e saída ---------- */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 32px, 0);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.js [data-reveal="left"] { transform: translate3d(-48px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(48px, 0, 0); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Cabeçalho (vidro escuro) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(13, 33, 25, .72); backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--ink-rule); transition: background-color .3s ease;
}
.site-header.scrolled { background: rgba(13, 33, 25, .92); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.1rem; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 28px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--ink-fg); text-decoration: none; font-weight: 600; font-size: .97rem; opacity: .88; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--mint); }
.nav-toggle { display: none; background: none; border: 1px solid var(--ink-rule); color: var(--ink-fg); border-radius: 10px; padding: .45rem .75rem; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--ink-rule); padding: .5rem 16px 1rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--ink-rule); }
  .nav .btn { margin-top: .8rem; justify-content: center; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.35rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.2;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-warm { background: var(--warm); color: #fff; box-shadow: 0 8px 24px rgba(200, 120, 42, .35); }
.btn-warm:hover { background: #b46a22; }
.btn-ghost { border-color: var(--rule); color: var(--fg); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-line { border-color: rgba(255, 255, 255, .28); color: var(--ink-fg); background: rgba(255, 255, 255, .04); }
.btn-line:hover { border-color: var(--mint); }
.nav .btn { padding: .6rem 1.1rem; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Seções ---------- */
section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-head { display: grid; gap: .85rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); max-width: 48rem; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.band { background: var(--surface-2); }

/* Seções escuras com brilho */
.dark { background: var(--ink); color: var(--ink-fg); position: relative; overflow: hidden; isolation: isolate; }
.dark .lead, .dark .muted { color: var(--ink-muted); }
.dark .eyebrow { color: var(--mint); }
.dark a:not(.btn) { color: var(--mint); }
.glow::before, .glow::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none;
}
.glow::before { width: 520px; height: 520px; left: -140px; top: -160px; background: radial-gradient(circle, rgba(124, 196, 160, .32), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.glow::after { width: 460px; height: 460px; right: -120px; bottom: -180px; background: radial-gradient(circle, rgba(200, 120, 42, .28), transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.1); } }
.grid-bg { background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 8vw, 6.5rem); }
.hero .wrap { display: grid; gap: clamp(2.5rem, 5vw, 4rem); grid-template-columns: 1.05fr 1fr; align-items: center; }
.hero-copy { display: grid; gap: 1.4rem; align-content: center; }
.hero h1 .hl { color: var(--warm); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: .4rem 0 0; list-style: none; }
.chips li { font-size: .88rem; font-weight: 600; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--ink-rule); color: var(--ink-fg); background: rgba(255, 255, 255, .04); }
.stat-row { display: flex; flex-wrap: wrap; gap: 1.8rem; margin-top: .6rem; }
.stat-row div { display: grid; }
.stat-row strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--ink-fg); line-height: 1.1; }
.stat-row span { font-size: .9rem; color: var(--ink-muted); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem); }
.crumbs { font-size: .9rem; color: var(--ink-muted); }
.crumbs a { color: var(--ink-muted) !important; }

/* ---------- Cenas animadas (telas de exemplo) ---------- */
.scene { position: relative; display: grid; gap: .9rem; }
.scene-note { font-size: .78rem; color: var(--ink-muted); text-align: right; letter-spacing: .02em; }
.mock {
  background: #fff; color: #1d2621; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgba(0, 0, 0, .04);
}
.mock-top { display: flex; align-items: center; gap: .4rem; padding: .65rem .9rem; background: #f3f5f2; border-bottom: 1px solid #e6ebe7; font-size: .8rem; color: #5b6a62; }
.mock-top i { width: 9px; height: 9px; border-radius: 50%; background: #d5dcd7; display: block; }
.mock-top b { margin-left: .4rem; font-weight: 600; }
.mock-body { padding: 1rem; display: grid; gap: .8rem; }

.searchbox { display: flex; align-items: center; gap: .6rem; border: 1px solid #dfe4e0; border-radius: 999px; padding: .65rem 1rem; font-size: 1rem; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.searchbox svg { width: 18px; height: 18px; color: #7b8a82; flex: none; }
.js-q { min-height: 1.4em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caret { width: 2px; height: 1.15em; background: var(--accent); animation: blink 1s steps(1) infinite; flex: none; }
@keyframes blink { 50% { opacity: 0; } }

.result { border: 1px solid #e8ece9; border-radius: 12px; padding: .8rem .95rem; display: grid; gap: .25rem; font-size: .92rem; }
.result .tag { font-size: .72rem; font-weight: 700; color: #1d2621; }
.result .url { font-size: .8rem; color: #4d5c54; }
.result .ttl { color: #1a4fb5; font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.result .desc { color: #56635c; font-size: .86rem; }
.result.ad { border-color: #cfe3d8; background: #f8fcf9; }
.map { display: grid; grid-template-columns: 92px 1fr; gap: .8rem; align-items: center; }
.map-art { height: 78px; border-radius: 10px; background:
  linear-gradient(135deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%),
  linear-gradient(45deg, transparent 40%, #ffffff 40%, #ffffff 47%, transparent 47%),
  #dfeee5; position: relative; overflow: hidden; }
.map-art .pin { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -22px 0 0 -13px; color: var(--warm); }
.stars { color: #e0a321; letter-spacing: 1px; font-size: .85rem; }
.ai { display: grid; grid-template-columns: 30px 1fr; gap: .7rem; align-items: start; }
.ai-dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, #7cc4a0, #2f6b4f); color: #fff; }
.ai-dot svg { width: 16px; height: 16px; }
.ai p { font-size: .9rem; color: #33413a; }
.cite { display: inline-flex; align-items: center; gap: .3rem; margin-top: .35rem; font-size: .76rem; font-weight: 600; color: #2f6b4f; background: #e7f2ec; border-radius: 999px; padding: .2rem .6rem; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.bars span { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #7cc4a0, #2f6b4f); height: var(--h); transform-origin: bottom; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.kpis div { background: #f3f6f4; border-radius: 10px; padding: .55rem .7rem; font-size: .75rem; color: #5b6a62; }
.kpis strong { display: block; font-size: 1rem; color: #1d2621; }

/* Passos das cenas: escondidos até a classe s1, s2... */
.js .scene .step { opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .scene.s1 .step-1, .js .scene.s2 .step-2, .js .scene.s3 .step-3, .js .scene.s4 .step-4, .js .scene.s5 .step-5 { opacity: 1; transform: none; }
.js .scene .bars span { transform: scaleY(.08); transition: transform .8s var(--ease); }
.js .scene.s2 .bars span { transform: scaleY(1); }
.js .scene.s2 .bars span:nth-child(2) { transition-delay: .08s; } .js .scene.s2 .bars span:nth-child(3) { transition-delay: .16s; }
.js .scene.s2 .bars span:nth-child(4) { transition-delay: .24s; } .js .scene.s2 .bars span:nth-child(5) { transition-delay: .32s; }
.js .scene.s2 .bars span:nth-child(6) { transition-delay: .40s; } .js .scene.s2 .bars span:nth-child(7) { transition-delay: .48s; }
.js .scene .map-art .pin { transform: translateY(-40px); opacity: 0; transition: transform .6s cubic-bezier(.3,1.6,.5,1), opacity .3s; }
.js .scene.s2 .map-art .pin { transform: none; opacity: 1; }

/* Telefone (Meta Ads) */
.phone { width: min(300px, 100%); margin-inline: auto; background: #0b0f0d; border-radius: 34px; padding: 10px; box-shadow: var(--shadow-lg); }
.phone-screen { background: #fff; border-radius: 26px; overflow: hidden; color: #1d2621; display: grid; }
.ig-head { display: flex; align-items: center; gap: .55rem; padding: .7rem .8rem; font-size: .82rem; }
.ig-head .av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #c8782a, #e9b26f); }
.ig-head small { display: block; font-size: .7rem; color: #6b7871; }
.ig-img { aspect-ratio: 1 / .82; background: linear-gradient(150deg, #2f6b4f, #133024 70%); display: grid; place-items: center; color: #fff; text-align: center; padding: 1rem; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; }
.ig-img small { display: block; font-family: var(--font-body); font-size: .8rem; opacity: .8; margin-top: .4rem; }
.ig-cta { display: flex; justify-content: space-between; align-items: center; padding: .65rem .8rem; background: #f1f6f3; font-size: .82rem; font-weight: 600; }
.ig-cta b { color: #2f6b4f; }
.chat { padding: .8rem; display: grid; gap: .45rem; background: #efe9e1; min-height: 9.5rem; align-content: start; }
.bubble { max-width: 82%; padding: .45rem .7rem; border-radius: 12px; font-size: .8rem; line-height: 1.35; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.bubble.in { background: #fff; justify-self: start; border-top-left-radius: 3px; }
.bubble.out { background: #d6f5c9; justify-self: end; border-top-right-radius: 3px; }
.js .scene.s2 .ig-cta { animation: pulse 1.2s ease 2; }
@keyframes pulse { 50% { background: #d8ece1; } }

/* SERP (SEO) */
.serp { position: relative; height: calc(5 * 58px); }
.serp-row { position: absolute; left: 0; right: 0; top: calc(var(--i) * 58px); height: 50px; display: flex; align-items: center; gap: .7rem; padding: 0 .85rem; border-radius: 10px; border: 1px solid #e8ece9; background: #fff; transition: top .7s var(--ease), box-shadow .3s, border-color .3s; font-size: .88rem; }
.serp-row .pos { font-weight: 700; color: #7b8a82; width: 1.4rem; }
.serp-row .ln { flex: 1; height: 8px; border-radius: 6px; background: #e8ece9; }
.serp-row .ln.short { flex: .6; }
.serp-row.you { border-color: #c8782a; box-shadow: 0 6px 18px rgba(200, 120, 42, .22); z-index: 2; }
.serp-row.you .pos { color: #c8782a; }
.serp-row.you b { color: #1a4fb5; }
.trend path { fill: none; stroke: #2f6b4f; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.trend .area { fill: rgba(47, 107, 79, .12); stroke: none; opacity: 0; transition: opacity .8s .6s; }
.js .scene .trend .line { transition: stroke-dashoffset 1.6s var(--ease); }
.js .scene.s2 .trend .line { stroke-dashoffset: 0; }
.js .scene.s2 .trend .area { opacity: 1; }
html:not(.js) .trend path { stroke-dashoffset: 0; }
html:not(.js) .trend .area { opacity: 1; }

/* IA (GEO) */
.ask { display: flex; gap: .6rem; align-items: center; justify-content: flex-end; }
.ask .q { background: #e7f2ec; color: #1d2621; border-radius: 14px 14px 4px 14px; padding: .6rem .85rem; font-size: .92rem; max-width: 88%; display: flex; align-items: center; gap: .3rem; }
.skel { display: grid; gap: .4rem; }
.skel i { display: block; height: 9px; border-radius: 6px; background: linear-gradient(90deg, #eef2ef, #dfe7e2, #eef2ef); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.skel i:nth-child(2) { width: 85%; } .skel i:nth-child(3) { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Faixa de canais (letreiro) ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--rule); background: var(--surface); padding-block: 1.1rem; }
.marquee-track { display: flex; gap: 2.8rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: clamp(1.15rem, 2.5vw, 1.5rem); color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 2.8rem; }
.marquee span::after { content: "✦"; color: var(--warm); font-size: .9em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards de serviço ---------- */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 1.7rem; display: grid; gap: .8rem; align-content: start;
  text-decoration: none; color: var(--fg); box-shadow: var(--shadow); overflow: hidden;
  transition: border-color .25s ease, transform .35s var(--ease), box-shadow .35s var(--ease), opacity .8s var(--ease);
}
.card::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 70%); opacity: 0; transition: opacity .4s; }
a.card:hover { border-color: var(--accent); transform: translateY(-6px); }
a.card:hover::after { opacity: 1; }
.card p { color: var(--muted); font-size: 1rem; position: relative; z-index: 1; }
.card h3 { position: relative; z-index: 1; }
.card .more { color: var(--accent); font-weight: 600; font-size: .98rem; margin-top: .3rem; position: relative; z-index: 1; }
.card .more span { display: inline-block; transition: transform .25s var(--ease); }
a.card:hover .more span { transform: translateX(5px); }
.icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; position: relative; z-index: 1; }
.icon svg { width: 27px; height: 27px; }
.dark .icon { background: rgba(124, 196, 160, .14); color: var(--mint); }

/* ---------- Jornada com linha que preenche ---------- */
.journey { position: relative; display: grid; gap: clamp(3.5rem, 8vw, 6rem); padding-block: 1rem; }
.journey::before, .journey .fill { content: ""; position: absolute; left: 50%; top: 0; width: 3px; margin-left: -1.5px; border-radius: 3px; }
.journey::before { bottom: 0; background: var(--rule); }
.journey .fill { height: calc(var(--p, 0) * 100%); background: linear-gradient(var(--accent), var(--warm)); }
.j-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.j-item .node { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); z-index: 2; transition: transform .4s var(--ease), background-color .4s, border-color .4s; }
.j-item.is-in .node { background: var(--warm); border-color: var(--warm); transform: scale(1.15); }
.j-item:nth-child(odd of .j-item) .j-media { order: 2; }
.j-text { display: grid; gap: 1rem; align-content: center; }
.j-num { font-family: var(--font-display); color: var(--warm); font-size: 1rem; font-weight: 600; letter-spacing: .04em; }
.j-media .mock { box-shadow: var(--shadow); }
@media (max-width: 900px) {
  .journey::before, .journey .fill { left: 11px; }
  .j-item { grid-template-columns: 1fr; padding-left: 2.6rem; gap: 1.6rem; }
  .j-item .node { left: 11px; top: 0; margin-top: 0; }
  .j-item:nth-child(odd of .j-item) .j-media { order: 0; }
}

/* Mini cenas da jornada (animam quando entram na tela e voltam quando saem) */
.js .j-item .pop { opacity: 0; transform: translateY(12px) scale(.97); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--k, 0) * 220ms + 250ms); }
.js .j-item.is-in .pop { opacity: 1; transform: none; }
.js .j-item .bars span { transform: scaleY(.08); transition: transform .9s var(--ease); transition-delay: calc(var(--k, 0) * 80ms + 300ms); }
.js .j-item.is-in .bars span { transform: scaleY(1); }
.js .j-item .trend .line { transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.js .j-item.is-in .trend .line { stroke-dashoffset: 0; }
.js .j-item.is-in .trend .area { opacity: 1; }
.js .j-item .climb { transition: top 1.2s var(--ease) .5s, box-shadow .3s; }
.js .j-item:not(.is-in) .climb { top: calc(4 * 58px); }
.js .j-item .sink { transition: top 1.2s var(--ease) .5s; }
.js .j-item:not(.is-in) .sink { top: calc((var(--i) - 1) * 58px); }

/* ---------- Listas, recursos, etapas, linha do tempo ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.checklist li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .6rem; }
.checklist li::before {
  content: ""; width: 1.25rem; height: 1.25rem; margin-top: .22rem; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232f6b4f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checklist strong { display: block; }
.checklist span { color: var(--muted); font-size: 1rem; }

.feature-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.feature { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.4rem 1.5rem; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .25s, opacity .8s var(--ease); }
.feature:hover { border-color: var(--accent); }
.feature .n { font-family: var(--font-display); font-size: 1.1rem; color: var(--warm); font-weight: 600; min-width: 1.8rem; }
.feature strong { display: block; margin-bottom: .2rem; }
.feature span { color: var(--muted); font-size: 1rem; }

.for-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.for-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: .6rem; align-content: start; box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.for-card:nth-child(2) { border-top-color: var(--warm); }
.for-card p { color: var(--muted); font-size: 1rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .5rem; align-content: start; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); color: var(--warm); font-size: 1.6rem; font-weight: 600; }
.steps li::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--accent), var(--warm)); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) calc(var(--d, 0ms) + 300ms); }
.steps li.is-in::after { transform: scaleX(1); }
.steps p { color: var(--muted); font-size: 1rem; }

.two-col { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); grid-template-columns: 1fr 1.1fr; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.counters div { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 1rem; }
.counters strong { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--accent); }
.counters span { font-size: .9rem; color: var(--muted); }

.timeline { list-style: none; padding: 0; margin: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1.5rem; padding: 1.4rem 0; border-top: 1px solid var(--rule); }
.timeline li:last-child { border-bottom: 1px solid var(--rule); }
.timeline .when { color: var(--muted); font-size: .95rem; font-variant-numeric: tabular-nums; padding-top: .15rem; }
.timeline h3 { font-size: 1.15rem; }
.timeline .where { color: var(--accent); font-weight: 600; font-size: .98rem; margin: .15rem 0 .45rem; }
.timeline p { color: var(--muted); font-size: 1rem; }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; gap: .3rem; } }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.tags li { background: var(--surface); border: 1px solid var(--rule); border-radius: 999px; padding: .35rem .85rem; font-size: .92rem; font-weight: 600; }

/* Depoimento */
.quote { display: grid; gap: 1.2rem; max-width: 56rem; margin: 0 auto; text-align: center; justify-items: center; }
.quote .mark { font-family: var(--font-display); font-size: 5rem; line-height: .6; color: var(--warm); height: 2.2rem; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.25rem, 2.8vw, 1.75rem); line-height: 1.45; font-weight: 500; }
.quote cite { font-style: normal; color: var(--muted); font-size: 1rem; }
.quote cite strong { color: var(--fg); }

/* Perguntas frequentes */
.faq { display: grid; gap: .75rem; max-width: 52rem; }
.faq details { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 0 1.3rem; transition: border-color .25s, opacity .8s var(--ease), transform .8s var(--ease); }
.faq details[open] { border-color: var(--accent); }
.faq summary { cursor: pointer; font-weight: 600; padding: 1.15rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.15rem; color: var(--muted); }

/* Diferencial (faixa escura) */
.highlight { display: grid; gap: 1.1rem; max-width: 52rem; }
.highlight p { font-size: clamp(1.1rem, 2.2vw, 1.3rem); }

/* Chamada final */
.cta { display: grid; gap: 1.3rem; justify-items: start; max-width: 46rem; }
.cta-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.cta-art { justify-self: center; width: min(240px, 70%); }
.cta-art img { width: 100%; height: auto; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
@media (max-width: 900px) { .cta-wrap { grid-template-columns: 1fr; } .cta-art { display: none; } }

.other-services { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.other-services a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: 1.05rem 1.25rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; text-decoration: none; color: var(--fg); font-weight: 600; transition: border-color .25s, transform .3s var(--ease); }
.other-services a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

/* Rodapé */
.site-footer { background: #091711; color: var(--ink-muted); padding-block: 3rem; font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.site-footer img { height: 26px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer a { color: var(--ink-muted); }
.site-footer a:hover { color: var(--mint); }
.foot-brand { display: grid; gap: .7rem; }

/* Botão flutuante do WhatsApp */
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 30; }
.wa-float svg { width: 30px; height: 30px; }

/* Barra de progresso da leitura */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 50; background: linear-gradient(90deg, var(--accent), var(--warm)); transform: scaleX(var(--sp, 0)); transform-origin: left; pointer-events: none; }

/* Movimento reduzido: tudo visível e parado */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* Cena de IA: carregando (s1) → resposta (s2) → citação (s3) */
.js .scene.s2 .skel { display: none; }
.js .scene .answer { display: none; }
.js .scene.s2 .answer { display: block; }
html:not(.js) .skel { display: none; }

/* Jornada simples (etapas das páginas de serviço) */
.journey.slim { gap: clamp(1.5rem, 4vw, 2.5rem); }
.journey.slim .j-item { grid-template-columns: 1fr 1fr; }
.journey.slim .j-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.5rem 1.6rem; display: grid; gap: .45rem; box-shadow: var(--shadow); }
.journey.slim .j-card p { color: var(--muted); font-size: 1rem; }
.journey.slim .j-item:nth-child(odd of .j-item) .j-card { grid-column: 1; }
.journey.slim .j-item:nth-child(even of .j-item) .j-card { grid-column: 2; }
@media (max-width: 900px) {
  .journey.slim .j-item { grid-template-columns: 1fr; }
  .journey.slim .j-item .j-card { grid-column: 1 !important; }
}
.svc-hero-copy { display: grid; gap: 1.3rem; align-content: center; }

/* Evita que o texto digitado alargue a cena no celular */
.hero .wrap > *, .scene, .mock, .mock-body, .searchbox, .ask .q { min-width: 0; }
.ask .q .js-q { white-space: normal; }
