/* ==========================================================================
   Rocketing IA | site de apresentação (HTML fixo)
   Movimento: transform e opacity apenas, ease-out forte, 150 a 300ms em UI,
   hover só onde existe hover, botões com feedback de clique.
   ========================================================================== */

:root {
  --bg: hsl(0 0% 3.1%);
  --fg: hsl(0 0% 93.7%);
  --fg-soft: hsl(0 0% 78%);
  --muted: hsl(0 0% 64%);
  --card: hsl(0 0% 5.9%);
  --border: hsl(0 0% 13%);
  --primary: hsl(37 52% 54.5%);
  --primary-light: hsl(40 68% 77.3%);
  --danger: hsl(0 68% 56.1%);
  --blue: 217 91% 60%;
  --purple: 263 70% 50%;
  --gold-rgb: 37 52% 54.5%;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --container: 1200px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ol, ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
::selection { background: hsl(var(--gold-rgb) / 0.35); }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.gold { color: var(--primary); }
em { font-style: normal; color: var(--primary); }
strong { color: var(--fg); font-weight: 600; }

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

/* Scrollbar dourada */
* { scrollbar-width: thin; scrollbar-color: hsl(38 70% 45% / 0.7) hsl(0 0% 3%); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: hsl(0 0% 3%); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, hsl(38 70% 30% / .7), hsl(38 70% 55%), hsl(38 70% 30% / .7)); border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-md { max-width: 1000px; }
.container-sm { max-width: 780px; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ico-lg { width: 30px; height: 30px; }

/* ---------- Tipografia ---------- */
h2 { font-size: clamp(1.85rem, 3.8vw, 2.85rem); line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; }
h3 { font-size: 1.1rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }

.badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid hsl(var(--gold-rgb) / 0.4);
  background: hsl(var(--gold-rgb) / 0.06);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ---------- Botões ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  overflow: hidden;
  isolation: isolate;
  transition: transform 160ms var(--ease-out), box-shadow 220ms var(--ease-out), background-color 200ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-primary {
  background: linear-gradient(135deg, hsl(40 60% 62%), var(--primary) 55%, hsl(37 52% 48%));
  color: hsl(0 0% 5%);
  box-shadow: 0 8px 28px hsl(var(--gold-rgb) / 0.28);
}
.btn-primary::before {   /* brilho que atravessa no hover */
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 38%, hsl(0 0% 100% / .35) 47%, transparent 56%);
  transform: translateX(-120%);
  transition: transform 700ms var(--ease-out);
}
.btn .ico { transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { box-shadow: 0 12px 38px hsl(var(--gold-rgb) / 0.42); }
  .btn-primary:hover::before { transform: translateX(120%); }
  .btn:hover .ico { transform: translateX(3px); }
}

.link-gold { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--primary); font-size: 0.9rem; font-weight: 500; }
@media (hover: hover) { .link-gold:hover { text-decoration: underline; text-underline-offset: 4px; } }

/* ---------- Cards (vidro + borda que gira no hover) ---------- */
.card {
  position: relative;
  padding: 26px;
  border-radius: 14px;
  border: 1px solid hsl(var(--gold-rgb) / 0.16);
  background: var(--card);
  box-shadow: 0 4px 24px rgb(0 0 0 / .4);
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out), border-color 260ms var(--ease-out);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.93rem; }
.card-danger { border-color: hsl(0 68% 56% / 0.22); }
.card-danger .ico { color: var(--danger); margin-bottom: 16px; }
.card-danger h3 { color: var(--danger); }
.card-center { text-align: center; }
.card-center .ico { margin: 0 auto 16px; }
.card-ico { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 10px; background: hsl(var(--gold-rgb) / .1); color: var(--primary); margin-bottom: 16px; }
.card-lg { padding: clamp(24px, 5vw, 56px); }
.card-gold { border: 1px solid var(--primary); box-shadow: 0 16px 48px rgb(0 0 0 / .45); background: var(--card); }

/* ---------- Layout de seções ---------- */
.section { position: relative; z-index: 1; padding: clamp(64px, 9vw, 112px) 0; }
.section-head { text-align: center; margin: 0 auto clamp(36px, 5vw, 56px); max-width: 720px; }
.section-head h2 { margin: 16px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-blue { background: radial-gradient(ellipse at top, hsl(var(--blue) / .06), transparent 70%); }
.section-purple { background: radial-gradient(ellipse at top right, hsl(var(--purple) / .06), transparent 70%); }
.section-gold { background: radial-gradient(ellipse at center, hsl(var(--gold-rgb) / .08), transparent 70%); }
.section-warm { background: radial-gradient(ellipse at bottom, hsl(37 80% 55% / .09), hsl(20 80% 50% / .04) 40%, transparent 70%); }
.section-warm-left { background: radial-gradient(ellipse at bottom left, hsl(25 60% 50% / .08), transparent 70%); }
.section-partners { background: radial-gradient(ellipse at 50% 60%, hsl(var(--gold-rgb) / .07), transparent 55%); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- NAV ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; border-bottom: 1px solid transparent; transition: background-color 300ms var(--ease-out), border-color 300ms var(--ease-out), backdrop-filter 300ms; }
.nav.scrolled, .nav.open { background: hsl(0 0% 3.1% / .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--border); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 30px; height: 30px; }
.logo-text { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--fg); white-space: nowrap; }
.logo { flex-shrink: 0; }
@media (max-width: 479px) { .logo-text { font-size: 1.05rem; } .logo-mark { width: 26px; height: 26px; } }
.logo-sm .logo-mark { width: 24px; height: 24px; }
.logo-sm .logo-text { font-size: 1.1rem; }
.nav-links { display: none; gap: 6px; }
.nav-links a { padding: 8px 12px; border-radius: 8px; font-size: 0.9rem; color: var(--muted); transition: color 180ms var(--ease-out); }
@media (hover: hover) { .nav-links a:hover { color: var(--primary); } }
@media (min-width: 900px) { .nav-links { display: flex; } }




/* ---------- HERO ---------- */
.hero { position: relative; z-index: 1; padding: calc(var(--nav-h) + clamp(36px, 7vw, 76px)) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.hero-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-glow-a { top: -14%; right: -8%; width: min(560px, 80vw); aspect-ratio: 1; background: radial-gradient(circle, hsl(var(--gold-rgb) / .22), transparent 65%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 56px); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.hero-title { margin: 0 0 22px; font-size: clamp(2.1rem, 4.7vw, 3.75rem); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.04em 0.12em; margin: 0 -0.04em -0.12em; }
.hero-title .wi { display: inline-block; will-change: transform; }
.hero-sub { max-width: 560px; margin: 0 0 32px; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 500; }
.hero-proof { margin-top: 26px; color: var(--muted); font-size: .88rem; }
@media (max-width: 559px) { .hero-copy .btn { width: auto; max-width: 100%; padding: 15px 24px; font-size: 1rem; } }
@media (max-width: 359px) { .hero-copy .btn { width: 100%; } }

/* ---------- Diagnóstico ---------- */
.diag { position: relative; display: grid; width: 100%; max-width: 540px; justify-self: center; padding: clamp(22px, 3vw, 34px); border: 1px solid hsl(var(--gold-rgb) / .24); border-radius: 18px; background: linear-gradient(180deg, hsl(0 0% 7.5%), hsl(0 0% 4.5%)); box-shadow: 0 24px 60px rgb(0 0 0 / .5); }
.diag-pick, .diag-result { grid-area: 1 / 1; min-width: 0; transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms; }
.diag-result { opacity: 0; transform: translateY(8px); visibility: hidden; outline: none; }
.diag.is-result .diag-pick { opacity: 0; transform: translateY(-8px); visibility: hidden; }
.diag.is-result .diag-result { opacity: 1; transform: none; visibility: visible; transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s; }
.diag-q { margin-bottom: 20px; font-size: clamp(1.4rem, 2.5vw, 1.8rem); line-height: 1.2; letter-spacing: -0.025em; }
.diag-choices { display: grid; gap: 10px; }
.diag-choice { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 17px 18px; border: 1px solid var(--border); border-radius: 12px; text-align: left; font-size: 1rem; font-weight: 600; line-height: 1.3; background: hsl(0 0% 6%); transition: border-color 200ms var(--ease-out), transform 160ms var(--ease-out); -webkit-tap-highlight-color: transparent; }
.diag-choice::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), hsl(var(--gold-rgb) / .16), transparent 70%); opacity: 0; transition: opacity 200ms var(--ease-out); pointer-events: none; }
.diag-choice > * { position: relative; }
.diag-choice .ico { color: var(--primary); transition: transform 200ms var(--ease-out); }
.diag-choice:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .diag-choice:hover { border-color: hsl(var(--gold-rgb) / .55); }
  .diag-choice:hover::before { opacity: 1; }
  .diag-choice:hover .ico { transform: translateX(4px); }
}

.path-wrap { --p: 1; position: relative; margin: 4px 0 22px; }
.path-track, .path-fill, .path-travel { position: absolute; top: 23px; left: 12.5%; right: 12.5%; height: 2px; border-radius: 2px; pointer-events: none; }
.path-track { background: var(--border); }
.path-fill { background: var(--primary); transform-origin: left center; transform: scaleX(var(--p)); }
.path-travel { transform: translateX(calc((var(--p) - 1) * 100%)); transition: opacity 300ms var(--ease-out); }
.path-travel::after { content: ''; position: absolute; top: -4px; right: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary-light); box-shadow: 0 2px 10px hsl(var(--gold-rgb) / .8); }
.path-wrap.done .path-travel { opacity: 0; }
.path { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.path-step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 4px; }
.path-node { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid hsl(var(--gold-rgb) / .38); background: var(--bg); transition: background-color 250ms var(--ease-out), border-color 250ms var(--ease-out); }
.path-node::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); transition: background-color 250ms var(--ease-out); }
.path-step:last-child .path-node::after { width: 12px; height: 7px; border-radius: 0; background: none; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: translateY(-1px) rotate(-45deg); transition: border-color 250ms var(--ease-out); }
.path-step.on .path-node { border-color: var(--primary); background: var(--primary); }
.path-step.on .path-node::after { background: hsl(0 0% 6%); }
.path-step.on:last-child .path-node::after { background: none; border-color: hsl(0 0% 6%); }
.path-label { display: block; margin-top: 10px; font-size: .82rem; line-height: 1.3; font-weight: 500; color: var(--fg-soft); text-wrap: balance; }
.diag-out { margin: 0 0 22px; font-size: 1.12rem; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.diag-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.link-btn { color: var(--muted); font-size: .9rem; text-decoration: underline; text-underline-offset: 4px; transition: color 180ms var(--ease-out); }
.diag-map { display: inline-block; margin-top: 18px; color: var(--primary); font-size: .88rem; font-weight: 500; }
@media (hover: hover) { .link-btn:hover { color: var(--primary); } .diag-map:hover { text-decoration: underline; text-underline-offset: 4px; } }
@media (max-width: 559px) {
  .diag-actions .btn { width: 100%; }
  .path { grid-template-columns: 1fr; }
  .path-step { flex-direction: row; text-align: left; gap: 16px; height: 64px; align-items: flex-start; padding: 0; }
  .path-label { margin-top: 13px; font-size: .95rem; }
  .path-track, .path-fill, .path-travel { top: 23px; bottom: 41px; left: 22px; right: auto; width: 2px; height: auto; }
  .path-fill { transform-origin: center top; transform: scaleY(var(--p)); }
  .path-travel { transform: translateY(calc((var(--p) - 1) * 100%)); }
  .path-travel::after { top: auto; bottom: -5px; right: auto; left: -4px; }
}

/* orbital: soluções do caminho escolhido */
.orb-node .orb-in { transition: transform 200ms var(--ease-out), opacity 300ms var(--ease-out); }
.orbital.has-lit .orb-node:not(.is-lit):not(.is-active) .orb-in { opacity: .32; }
.orb-node.is-lit::before { border-color: hsl(var(--gold-rgb) / .55); transform: scale(1); }

/* ---------- MARQUEE ---------- */
.marquee { position: relative; z-index: 1; overflow: hidden; padding: 16px 0; border-block: 1px solid var(--border); background: linear-gradient(90deg, hsl(var(--blue) / .04), hsl(var(--purple) / .04), hsl(var(--blue) / .04)); }
.marquee-track { display: flex; width: max-content; animation: marquee 62s linear infinite; }
.marquee-group { display: flex; flex-shrink: 0; }
.marquee-group span { margin: 0 32px; color: var(--primary); font-size: 0.82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.marquee-group span::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 32px; vertical-align: middle; background: var(--primary); transform: rotate(45deg); opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- ORBITAL ---------- */
.orbital { --w: 600px; --r: 240px; --node: 58px; position: relative; width: min(100%, 600px); aspect-ratio: 1; margin: 0 auto; }
.orb-glow { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle, hsl(var(--gold-rgb) / .16), transparent 70%); }
.orb-ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1px solid hsl(var(--gold-rgb) / .14); transform: translate(-50%, -50%); }
.orb-ring-1 { width: 80%; height: 80%; border-color: hsl(var(--gold-rgb) / .22); }
.orb-ring-2 { width: 98%; height: 98%; border-style: dashed; border-color: hsl(var(--gold-rgb) / .08); }
.orb-ring-3 { width: 62%; height: 62%; border-color: hsl(var(--gold-rgb) / .08); }
.orb-ring-4 { width: 40%; height: 40%; border-color: hsl(var(--gold-rgb) / .06); }

.orb-center { position: absolute; top: 50%; left: 50%; width: 54%; transform: translate(-50%, -50%); text-align: center; z-index: 2; }
.orb-idle { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted); font-size: clamp(.78rem, 2.2vw, .95rem); }
.orb-count { font-size: clamp(2.6rem, 9vw, 4.4rem); line-height: 1; font-weight: 700; letter-spacing: -0.04em; color: var(--primary); }
.orb-detail { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.orb-detail[hidden], .orb-idle[hidden] { display: none; }
.orb-d-ico { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: hsl(var(--gold-rgb) / .14); color: var(--primary); margin-bottom: 2px; }
.orb-d-title { font-size: clamp(.95rem, 2.6vw, 1.3rem); line-height: 1.2; }
.orb-d-desc { color: var(--muted); font-size: clamp(.75rem, 2vw, .92rem); line-height: 1.45; }
.orb-d-rel { margin-top: 8px; }
.orb-d-rel-label { display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; opacity: .8; }
.orb-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.orb-chip { padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; font-size: .74rem; color: var(--fg-soft); transition: border-color 180ms var(--ease-out), color 180ms, transform 140ms var(--ease-out); }
.orb-chip:active { transform: scale(.95); }
@media (hover: hover) { .orb-chip:hover { border-color: var(--primary); color: var(--primary); } }
@media (max-width: 599px) { .orb-d-ico, .orb-d-label, .orb-d-rel { display: none; } .orb-center { width: 56%; } }

.orb-nodes { position: absolute; inset: 0; }
.orb-node {
  position: absolute; top: 50%; left: 50%;
  width: var(--node); height: var(--node);
  margin: calc(var(--node) / -2) 0 0 calc(var(--node) / -2);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: hsl(0 0% 6% / .9);
  color: var(--primary);
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}
.orb-node .ico { width: 42%; height: 42%; transition: transform 220ms var(--ease-out); }
.orb-node::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid transparent; transition: border-color 240ms var(--ease-out), transform 240ms var(--ease-out); transform: scale(.85); }
.orb-node.is-related::before { border-color: hsl(var(--gold-rgb) / .55); transform: scale(1); }
.orb-node.is-active { background: var(--primary); color: hsl(0 0% 6%); box-shadow: 0 0 0 6px hsl(var(--gold-rgb) / .18), 0 10px 30px hsl(var(--gold-rgb) / .4); }
.orb-node .orb-in { position: absolute; inset: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform 200ms var(--ease-out); }
.orb-node:active .orb-in { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .orb-node:hover .orb-in { transform: scale(1.12); } .orb-node.is-active:hover .orb-in { transform: scale(1.04); } }
.orb-hint { text-align: center; margin-top: 28px; color: var(--muted); font-size: .9rem; }

/* ---------- CRM (vídeo + recursos) ---------- */
.crm-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 48px); align-items: center; }
@media (min-width: 1024px) { .crm-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.crm-video { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px solid hsl(var(--gold-rgb) / .3); background: #081410; box-shadow: 0 28px 70px rgb(0 0 0 / .55); }
.crm-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.crm-side .feat-list { grid-template-columns: 1fr; }
.crm-cta { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 559px) { .crm-cta .btn { width: 100%; } }

/* ---------- Google Ads (mesmo molde do CRM, vídeo do outro lado) ---------- */
.ads-grid .ads-video { background: #0b0b0b; }
@media (min-width: 1024px) {
  .ads-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .ads-grid .ads-video { order: 2; }
}
.ads-glue { max-width: 640px; margin: clamp(28px, 4vw, 40px) auto 0; text-align: center; color: var(--fg-soft); font-size: 1.05rem; font-weight: 500; text-wrap: balance; }

/* ---------- MÉTODO ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps::before, .steps::after { content: ''; position: absolute; top: 31px; left: 12.5%; right: 12.5%; height: 2px; border-radius: 2px; }
.steps::before { background: var(--border); }
.steps::after { background: linear-gradient(90deg, hsl(var(--gold-rgb) / .3), var(--primary)); transform-origin: left center; transform: scaleX(var(--p, 1)); box-shadow: 0 0 12px hsl(var(--gold-rgb) / .5); }
.step { position: relative; text-align: center; padding-top: 0; }
.step-n { position: relative; z-index: 1; display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid var(--primary); background: var(--bg); color: var(--primary); font-size: 1.15rem; font-weight: 700; margin-bottom: 20px; transition: background-color 400ms var(--ease-out), color 400ms var(--ease-out), box-shadow 400ms var(--ease-out); }
.step.on .step-n { background: var(--primary); color: hsl(0 0% 6%); box-shadow: 0 0 0 7px hsl(var(--gold-rgb) / .16); }
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .93rem; max-width: 240px; margin: 0 auto; }
@media (max-width: 899px) {
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 460px; margin: 0 auto; }
  .steps::before, .steps::after { top: 32px; bottom: 60px; left: 31px; right: auto; width: 2px; height: auto; }
  .steps::after { transform-origin: center top; transform: scaleY(var(--p, 1)); background: linear-gradient(180deg, hsl(var(--gold-rgb) / .3), var(--primary)); }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; text-align: left; padding-bottom: 36px; }
  .step-n { grid-row: span 2; margin-bottom: 0; }
  .step p { margin: 0; max-width: none; }
}

/* ---------- FUNDADOR ---------- */
.founder { display: flex; flex-direction: column; align-items: center; gap: 28px; }
@media (min-width: 768px) { .founder { flex-direction: row; gap: 48px; } }
.founder-photo { width: clamp(160px, 40vw, 240px); aspect-ratio: 5 / 6; flex-shrink: 0; border-radius: 14px; overflow: hidden; border: 2px solid hsl(var(--gold-rgb) / .3); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-body h3 { font-size: 1.4rem; }
.founder-role { color: var(--primary); font-size: .92rem; font-weight: 500; margin: 2px 0 16px; }
.founder-bio { color: var(--muted); font-size: .95rem; line-height: 1.75; }
@media (max-width: 767px) { .founder-body { text-align: center; } .link-gold { justify-content: center; } }

/* ---------- PARCEIROS ---------- */
.sphere-wrap { display: flex; flex-direction: column; align-items: center; }
.sphere { position: relative; width: 500px; max-width: 100%; aspect-ratio: 1; perspective: 1000px; cursor: grab; user-select: none; touch-action: pan-y; }
.sphere.dragging { cursor: grabbing; }
.sphere-item { position: absolute; top: 50%; left: 50%; will-change: transform, opacity; }
.sphere-item > div { width: 100%; height: 100%; border-radius: 12px; overflow: hidden; background: var(--card); border: 2px solid var(--border); box-shadow: 0 4px 16px rgb(0 0 0 / .25); transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.sphere-item img { width: 100%; height: 100%; object-fit: contain; padding: 6px; pointer-events: none; }
.sphere-item.hov > div { transform: scale(1.14); border-color: var(--primary); box-shadow: 0 8px 32px rgb(0 0 0 / .45); }
.sphere-caption { min-height: 1.6em; margin-top: 8px; color: var(--primary-light); font-weight: 600; font-size: .95rem; }
.sphere-hint { color: var(--muted); font-size: .8rem; opacity: .75; margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: 12px; border: 1px solid hsl(var(--purple) / .22); background: hsl(0 0% 5.9% / .7); transition: border-color 240ms var(--ease-out), background-color 240ms var(--ease-out); }
.faq-item.open { border-color: hsl(var(--gold-rgb) / .35); background: hsl(0 0% 6.5% / .9); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; font-weight: 600; font-size: 1rem; border-radius: 12px; }
.faq-q .ico { color: var(--primary); transition: transform 320ms var(--ease-out); }
.faq-item.open .faq-q .ico { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 250ms var(--ease-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size: .96rem; opacity: 0; transform: translateY(-4px); transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
.faq-item.open .faq-a p { opacity: 1; transform: none; transition-delay: 70ms; }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: clamp(28px, 6vw, 56px); }
.cta h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 14px; }
.cta p { color: var(--muted); margin-bottom: 30px; font-size: 1.02rem; }

/* ---------- FOOTER ---------- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--border); padding: 48px 0 28px; }
.footer-top { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 768px) { .footer-top { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-cnpj { margin-top: 8px; color: var(--muted); font-size: .85rem; }
.footer-links { display: flex; flex-direction: column; gap: 14px; color: var(--muted); font-size: .9rem; }
@media (min-width: 768px) { .footer-links { flex-direction: row; gap: 28px; } }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; transition: color 180ms var(--ease-out); }
@media (hover: hover) { .footer-links a:hover { color: var(--primary); } }
.footer-bottom { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }

/* ---------- Decoração fixa ---------- */
.rails { position: fixed; inset: 0; z-index: 0; pointer-events: none; display: none; }
@media (min-width: 1280px) { .rails { display: block; } }
.rail { position: absolute; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, hsl(var(--gold-rgb) / .22) 12%, hsl(var(--gold-rgb) / .22) 88%, transparent); }
.rail-l { left: 22px; } .rail-r { right: 22px; }
.rail-branch { position: absolute; height: 1px; width: 42px; background: hsl(var(--gold-rgb) / .16); transition: background-color 600ms var(--ease-out), box-shadow 600ms var(--ease-out); }
.rail-branch::after { content: ''; position: absolute; top: -2.5px; width: 6px; height: 6px; border-radius: 50%; background: hsl(var(--gold-rgb) / .3); transition: background-color 600ms var(--ease-out), box-shadow 600ms var(--ease-out); }
.rail-l .rail-branch { left: 22px; } .rail-l .rail-branch::after { right: -3px; }
.rail-r .rail-branch { right: 22px; } .rail-r .rail-branch::after { left: -3px; }
.rail-branch.on { background: hsl(var(--gold-rgb) / .75); box-shadow: 0 0 10px hsl(var(--gold-rgb) / .5); }
.rail-branch.on::after { background: var(--primary); box-shadow: 0 0 10px hsl(var(--gold-rgb) / .8); }


/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; }
}

/* ---------- Composições sem cards ---------- */
.section-head-left { text-align: left; margin-left: 0; margin-right: 0; max-width: 640px; }
.rows { border-top: 1px solid var(--border); }
.row { display: grid; grid-template-columns: 36px 1fr; column-gap: 20px; row-gap: 6px; padding: 26px 0; border-bottom: 1px solid var(--border); align-items: start; }
.row-ico { color: var(--danger); grid-row: span 2; margin-top: 2px; }
.row p { color: var(--muted); }
@media (min-width: 768px) { .row { grid-template-columns: 36px minmax(0, 5fr) minmax(0, 7fr); align-items: baseline; } .row-ico { grid-row: auto; } .row h3 { font-size: 1.2rem; } }

.feat-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; width: 100%; }
.feat { display: grid; grid-template-columns: 22px 1fr; column-gap: 14px; padding: 20px 0; border-top: 1px solid var(--border); }
.feat .ico { color: var(--primary); margin-top: 2px; }
.feat h3 { font-size: 1rem; margin-bottom: 4px; }
.feat p { color: var(--muted); font-size: .92rem; }
@media (max-width: 559px) { .feat-list { grid-template-columns: 1fr; } }

.diff-cols { display: grid; grid-template-columns: repeat(4, 1fr); }
.diff { padding: 8px 28px; border-left: 1px solid var(--border); }
.diff:first-child { border-left: 0; padding-left: 0; }
.diff .ico { margin-bottom: 18px; }
.diff p { color: var(--muted); font-size: .93rem; margin-top: 8px; }
@media (max-width: 1023px) { .diff-cols { grid-template-columns: 1fr 1fr; row-gap: 32px; } .diff:nth-child(odd) { border-left: 0; padding-left: 0; } }
@media (max-width: 559px) { .diff-cols { grid-template-columns: 1fr; row-gap: 0; } .diff { border-left: 0; padding: 22px 0; border-top: 1px solid var(--border); } .diff:first-child { border-top: 0; padding-top: 0; } }

/* ---------- Botão compacto (diagnóstico) ---------- */
.btn-sm { padding: 12px 20px; font-size: .94rem; gap: 8px; }

/* ---------- Barra de ícones (celular): aparece ao começar a rolar ---------- */
.tabbar { display: none; }
@media (max-width: 899px) {
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; padding-bottom: env(safe-area-inset-bottom); background: hsl(0 0% 4% / .94); border-top: 1px solid var(--border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translateY(110%); visibility: hidden; transition: transform 250ms var(--ease-out), visibility 0s linear 250ms; }
  .tabbar.show { transform: none; visibility: visible; transition: transform 250ms var(--ease-out), visibility 0s; }
  .tab { position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 11px 2px 9px; color: var(--muted); font-size: .625rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; transition: color 200ms var(--ease-out), transform 140ms var(--ease-out); -webkit-tap-highlight-color: transparent; }
  .tab .ico { width: 22px; height: 22px; stroke-width: 1.8; }
  .tab:active { transform: scale(0.94); }
  .tab::before { content: ''; position: absolute; top: -1px; left: 50%; width: 26px; height: 2px; margin-left: -13px; border-radius: 2px; background: var(--primary); transform: scaleX(0); transition: transform 220ms var(--ease-out); }
  .tab.is-active { color: var(--primary); }
  .tab.is-active::before { transform: scaleX(1); }
  .footer { padding-bottom: calc(28px + 66px + env(safe-area-inset-bottom)); }
}

/* ---------- Página legal (política de privacidade) ---------- */
.legal { position: relative; z-index: 1; padding: calc(var(--nav-h) + clamp(40px, 7vw, 72px)) 0 clamp(56px, 8vw, 96px); }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 14px; }
.legal-date { margin-bottom: 26px; color: var(--muted); font-size: .92rem; }
.legal-lead { color: var(--fg-soft); font-size: 1.08rem; line-height: 1.7; }
.legal section { margin-top: clamp(30px, 5vw, 46px); padding-top: clamp(24px, 4vw, 34px); border-top: 1px solid var(--border); }
.legal h2 { margin-bottom: 14px; font-size: clamp(1.3rem, 2.6vw, 1.6rem); line-height: 1.2; letter-spacing: -0.02em; }
.legal h3 { margin: 24px 0 8px; font-size: 1.05rem; }
.legal p, .legal li { color: var(--fg-soft); font-size: 1rem; line-height: 1.75; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 1.25rem; list-style: disc; }
.legal li { margin-top: 8px; padding-left: 4px; }
.legal li::marker { color: var(--primary); }
.legal a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--fg); font-weight: 600; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; color: var(--muted); font-size: .92rem; transition: color 180ms var(--ease-out); }
.legal-back .ico { width: 18px; height: 18px; }
@media (hover: hover) { .legal-back:hover { color: var(--primary); } }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.footer-bottom a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; transition: color 180ms var(--ease-out); }
@media (hover: hover) { .footer-bottom a:hover { color: var(--primary); } }
.legal ul + p { margin-top: 14px; }
