/* =============================================================================================
   X1 Agente IA — página de vendas (x1agenteia.com). Separado do style.css do app de propósito:
   branco predominante, verdes do app, brilho e 3D (pedido do dono, 2026-11-16). Só tema claro.
   Spec: docs/superpowers/specs/2026-11-16-pagina-de-vendas-design.md §6, §7 e §12.
   ============================================================================================= */

:root {
  --paper: #ffffff;
  --mist: #f3f8f4;          /* faixas de seção: branco esverdeado */
  --mist-2: #e8f3eb;
  --ink: #0d1f14;           /* texto: verde quase preto, nunca o #111 genérico */
  --ink-2: #3a5144;
  --ink-3: #6a7f71;
  --line: #dde9e0;
  --x1: #16a34a;            /* o verde do app */
  --x1-deep: #0f6b2f;
  --x1-ink: #0a4a20;
  --leaf: #4ade80;          /* brilho */
  --mint: #dcfce7;
  --bubble: #d9fdd3;        /* balão de mensagem enviada, como no WhatsApp */
  --tick: #34b7f1;          /* ✓✓ de lida */
  --danger: #c2261b;
  --glow-soft: 0 24px 60px -24px rgba(22, 163, 74, 0.45);
  --lift: 0 1px 1px rgba(13, 31, 20, 0.04), 0 8px 24px -8px rgba(13, 31, 20, 0.12), 0 30px 70px -30px rgba(13, 31, 20, 0.22);
  --font-display: "Bricolage Grotesque", "Geist", "SF Pro Display", -apple-system, "Segoe UI", system-ui, sans-serif;
  --font-body: "Geist", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.site {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
[hidden] { display: none !important; } /* o [hidden] perde pra qualquer display do autor */
a { color: var(--x1-deep); }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }
mark.todo { background: #fff1a8; color: inherit; padding: 0 0.2em; border-radius: 4px; box-shadow: 0 0 0 1px #f2d64b inset; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 12px; z-index: 100; background: var(--paper); padding: 8px 12px; border-radius: 8px; }

/* --- botões --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #22b85a 0%, var(--x1) 55%, #12893f 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 10px 24px -10px rgba(22, 163, 74, 0.75);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 16px 32px -12px rgba(22, 163, 74, 0.8); }
.btn-ghost { color: var(--ink); background: var(--paper); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--x1); }
.btn[aria-disabled="true"] { cursor: default; }
.btn[aria-disabled="true"]:hover { transform: none; border-color: var(--line); }

/* --- topo --- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(221, 233, 224, 0.7);
  padding-top: env(safe-area-inset-top, 0px);
}
.topbar-in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 18px/1 var(--font-display); letter-spacing: -0.02em; }
.topnav { display: flex; gap: 26px; margin-left: 8px; }
.topnav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.topnav a:hover { color: var(--ink); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.link-enter { color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.link-enter:hover { color: var(--x1-deep); }

/* --- rodapé --- */
.foot { background: var(--ink); color: #cfe0d5; margin-top: 0; }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; padding-block: 44px; align-items: start; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display); font-size: 17px; }
.foot-company p { margin: 0 0 4px; font-size: 14px; color: #a9c2b2; }
.foot-company mark.todo { color: var(--ink); }
.foot-links { display: grid; gap: 8px; justify-items: end; }
.foot-links a { color: #e6f2ea; text-decoration: none; font-size: 14px; }
.foot-links a:hover { color: #fff; text-decoration: underline; }

/* --- documentos (Termos, Privacidade) --- */
.site-doc main { background: linear-gradient(180deg, var(--mist) 0, var(--paper) 280px); }
.doc { max-width: 760px; padding-block: 56px 80px; }
.doc h1 { font: 700 clamp(34px, 5vw, 48px)/1.08 var(--font-display); letter-spacing: -0.03em; margin: 0 0 10px; text-wrap: balance; }
.doc-meta { color: var(--ink-3); margin: 0 0 40px; font-size: 15px; }
.doc h2 { font: 650 22px/1.25 var(--font-display); letter-spacing: -0.015em; margin: 44px 0 12px; scroll-margin-top: 96px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--ink); }

/* =============================== página de vendas =============================== */
.band { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.band-mist { background: var(--mist); }
.h2 { font: 700 clamp(32px, 4.6vw, 54px)/1.06 var(--font-display); letter-spacing: -0.025em; margin: 0 0 18px; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--ink-2); margin: 0 0 14px; max-width: 36em; }
.lead-narrow { max-width: 40em; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- abertura: o título é um balão enviado às 03:12 --- */
.hero { position: relative; overflow: hidden; padding-block: clamp(36px, 6vw, 84px) clamp(56px, 8vw, 104px); }
.hero-glow {
  position: absolute; right: -18vw; top: -22vw; width: 78vw; height: 78vw; max-width: 1100px; max-height: 1100px;
  background: radial-gradient(circle at 50% 50%, rgba(74, 222, 128, 0.42), rgba(22, 163, 74, 0.14) 38%, rgba(255, 255, 255, 0) 66%);
  pointer-events: none;
}
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-copy { min-width: 0; }
.hero-bubble {
  position: relative; display: inline-block; margin: 0 0 28px; max-width: 11.5ch;
  padding: 0.42em 0.5em 0.62em; border-radius: 0.5em 0.14em 0.5em 0.5em;
  background: linear-gradient(170deg, #ecffe7 0%, var(--bubble) 58%, #c9f5c1 100%);
  font: 740 clamp(42px, 6.2vw, 80px)/1 var(--font-display); letter-spacing: -0.028em; word-spacing: 0.04em; color: var(--ink);
  text-wrap: balance;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 -2px 0 rgba(15, 107, 47, 0.06) inset,
              0 40px 70px -36px rgba(15, 107, 47, 0.55), 0 12px 30px -18px rgba(22, 163, 74, 0.5);
}
.hero-bubble::before { /* rabinho do balão, no canto de cima à direita, como mensagem enviada */
  content: ""; position: absolute; top: 0; right: -0.24em; width: 0.32em; height: 0.36em;
  background: #e5fdde; clip-path: polygon(0 0, 100% 0, 0 100%);
}
.hero-bubble::after { /* reflexo de vidro no topo */
  content: ""; position: absolute; left: 0.3em; right: 0.3em; top: 0.06em; height: 0.18em; border-radius: 0.2em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)); pointer-events: none;
}
.hero-bubble-text { position: relative; z-index: 1; }
.bubble-meta { position: absolute; right: 0.55em; bottom: 0.22em; display: inline-flex; align-items: center; gap: 6px; font: 500 15px/1 var(--font-body); letter-spacing: 0; color: #4d6b57; }
.ticks { width: 18px; height: 11px; color: var(--tick); }
.hero-sub { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 32em; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.hero-trust svg { width: 19px; height: 19px; color: var(--x1); flex: none; }

/* palco 3D: celular vendendo + balões flutuantes */
.hero-stage { position: relative; perspective: 1500px; display: grid; place-items: center; min-height: 600px; }
.stage-3d {
  position: relative; transform-style: preserve-3d;
  transform: rotateX(calc(7deg + var(--rx, 0deg))) rotateY(calc(-16deg + var(--ry, 0deg)));
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.phone {
  position: relative; width: 296px; height: 600px; border-radius: 48px; padding: 12px;
  background: linear-gradient(145deg, #23362a, #0c1811 55%, #1b2b21);
  box-shadow: 0 0 0 1.5px #3c5446 inset, 0 2px 0 rgba(255, 255, 255, 0.18) inset,
              0 60px 110px -40px rgba(13, 31, 20, 0.6), 0 40px 80px -30px rgba(22, 163, 74, 0.55);
  display: flex; flex-direction: column;
}
.phone::before { content: ""; position: absolute; inset: 12px; border-radius: 37px; background: #eef4ee; }
.phone > * { position: relative; }
.phone-notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 14px; background: #0c1811; z-index: 3; }
.phone-head {
  display: flex; align-items: center; gap: 10px; padding: 44px 16px 12px; border-radius: 37px 37px 0 0;
  background: linear-gradient(180deg, #13803d, var(--x1-deep)); color: #fff;
}
.phone-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f7c8a8; color: #7a3d16; font-weight: 700; }
.phone-who { display: grid; line-height: 1.15; }
.phone-who strong { font-size: 15px; }
.phone-who small { font-size: 11.5px; opacity: 0.8; }
.chat { list-style: none; margin: 0; padding: 14px 12px; display: flex; flex-direction: column; gap: 7px; flex: 1; overflow: hidden; }
.msg { position: relative; max-width: 84%; padding: 7px 10px 17px; border-radius: 12px; font-size: 13.5px; line-height: 1.38; color: var(--ink); box-shadow: 0 1px 1px rgba(13, 31, 20, 0.08); }
.msg p { margin: 0; }
.msg time { position: absolute; right: 9px; bottom: 4px; font-size: 10px; color: #6f8577; }
.msg-in { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.msg-out { align-self: flex-end; background: var(--bubble); border-top-right-radius: 3px; }
.msg-audio { display: flex; align-items: center; gap: 9px; width: 70%; padding-top: 10px; }
.audio-play { width: 0; height: 0; border-left: 11px solid var(--x1-deep); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.audio-wave { flex: 1; height: 18px; background: repeating-linear-gradient(90deg, #7fa48b 0 2px, transparent 2px 5px); border-radius: 2px; -webkit-mask: radial-gradient(ellipse 100% 70% at 50% 50%, #000 45%, rgba(0, 0, 0, 0.45)); mask: radial-gradient(ellipse 100% 70% at 50% 50%, #000 45%, rgba(0, 0, 0, 0.45)); }
.msg-sale {
  align-self: center; margin-top: 4px; padding: 8px 14px; border-radius: 999px; max-width: none;
  background: #fff; color: var(--x1-deep); font-weight: 650; font-size: 13px;
  box-shadow: 0 0 0 1.5px var(--leaf), 0 10px 26px -8px rgba(22, 163, 74, 0.7);
}
.typing { position: absolute; left: 24px; bottom: 26px; display: flex; gap: 4px; padding: 10px 12px; border-radius: 12px; background: #fff; opacity: 0; transition: opacity 0.2s; box-shadow: 0 1px 1px rgba(13, 31, 20, 0.08); }
.typing.is-on { opacity: 1; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: #8aa394; animation: dot 1s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 80%, 100% { transform: translateY(0); opacity: 0.5; } 40% { transform: translateY(-4px); opacity: 1; } }
.js .chat .msg { opacity: 0; transform: translateY(10px) scale(0.96); transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.9, 0.25, 1.15); }
.js .chat .msg.is-in { opacity: 1; transform: none; }
.js .chat .msg-sale.is-in { animation: sale 1.2s ease-out 1; }
@keyframes sale { 0% { box-shadow: 0 0 0 1.5px var(--leaf), 0 0 0 0 rgba(74, 222, 128, 0.7); } 100% { box-shadow: 0 0 0 1.5px var(--leaf), 0 0 0 18px rgba(74, 222, 128, 0); } }

.float-bubble {
  position: absolute; display: grid; gap: 2px; padding: 12px 16px 12px 34px; white-space: nowrap;
  border-radius: 18px 18px 18px 5px; background: linear-gradient(160deg, #ffffff 0%, #f0fbf2 100%);
  box-shadow: 0 1px 0 #fff inset, 0 0 0 1px rgba(22, 163, 74, 0.12), 0 22px 44px -18px rgba(13, 31, 20, 0.35), 0 18px 40px -16px rgba(22, 163, 74, 0.5);
  animation: bob 6s ease-in-out infinite;
}
.float-bubble::before { content: ""; position: absolute; left: 14px; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25), 0 0 14px 2px rgba(74, 222, 128, 0.8); }
.float-bubble b { font: 650 15px/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.float-bubble small { font-size: 12.5px; color: var(--ink-3); }
.fb-1 { top: 54px; left: -170px; transform: translateZ(90px); }
.fb-2 { top: 205px; right: -190px; transform: translateZ(140px); animation-delay: -1.5s; border-radius: 18px 18px 5px 18px; }
.fb-3 { bottom: 150px; left: -190px; transform: translateZ(60px); animation-delay: -3s; }
.fb-4 { bottom: -18px; right: -128px; transform: translateZ(110px); animation-delay: -4.5s; border-radius: 18px 18px 5px 18px; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }

/* --- problema: a página sozinha, sem ninguém pra responder --- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-text { min-width: 0; }
.split-rev .split-text { order: 2; }
.lonely-page { position: relative; height: 320px; }
.lp-card {
  position: absolute; left: 10%; top: 30px; width: 62%; padding: 26px; border-radius: 18px; background: #fff;
  display: grid; gap: 12px; box-shadow: 0 1px 0 var(--line), 0 24px 50px -30px rgba(13, 31, 20, 0.35); transform: rotate(-2deg);
}
.lp-line { height: 10px; border-radius: 6px; background: var(--mist-2); }
.w50 { width: 50%; } .w70 { width: 70%; } .w90 { width: 90%; }
.lp-buy { justify-self: start; margin-top: 8px; padding: 10px 18px; border-radius: 10px; background: #c9d6cd; color: #fff; font-weight: 600; font-size: 14px; }
.lp-doubt { position: absolute; right: 4%; top: 0; padding: 12px 16px; border-radius: 18px; border: 2px dashed #b9c9be; color: var(--ink-3); background: rgba(255, 255, 255, 0.7); font-weight: 500; }
.lp-left { position: absolute; right: 10%; bottom: 26px; padding: 8px 14px; border-radius: 999px; background: #fff; color: #9a3b2f; font-size: 13.5px; font-weight: 600; box-shadow: 0 0 0 1px #f0d4cf; }

/* --- virada: muitas conversas ao mesmo tempo, em leque 3D --- */
.fan { list-style: none; margin: 0; padding: 0; position: relative; height: 380px; perspective: 1200px; }
.fan-card {
  position: absolute; width: 74%; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px;
  padding: 14px 18px; border-radius: 18px; background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px rgba(13, 31, 20, 0.4);
  transform: rotateY(-22deg) rotateX(8deg) translateZ(calc(var(--k, 0) * 30px));
}
.fan-card b { font: 650 15px/1.2 var(--font-display); }
.fan-card span { grid-column: 1; color: var(--ink-2); font-size: 14px; }
.fan-card time { grid-row: 1; grid-column: 2; font-size: 12px; color: var(--ink-3); }
.fan-card:nth-child(1) { --k: 0; top: 0; left: 0; opacity: 0.7; }
.fan-card:nth-child(2) { --k: 1; top: 62px; left: 4%; opacity: 0.8; }
.fan-card:nth-child(3) { --k: 2; top: 124px; left: 8%; opacity: 0.9; }
.fan-card:nth-child(4) { --k: 3; top: 186px; left: 12%; }
.fan-card:nth-child(5) {
  --k: 5; top: 258px; left: 18%;
  background: linear-gradient(160deg, #1bb056, var(--x1) 55%, #0f7d36); color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 30px 60px -24px rgba(22, 163, 74, 0.8);
}
.fan-card:nth-child(5) span, .fan-card:nth-child(5) time { color: rgba(255, 255, 255, 0.9); }
.fan-card:nth-child(5) b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #b9ffcf; vertical-align: 1px; animation: live 1.8s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(185, 255, 207, 0.8); } 70%, 100% { box-shadow: 0 0 0 9px rgba(185, 255, 207, 0); } }

/* --- vídeo --- */
.video-in { max-width: 980px; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; max-width: 100%; margin-top: 28px; border-radius: 28px; overflow: hidden;
  background: radial-gradient(circle at 30% 20%, #1f7a43, #0d2a18 60%, #081a0f);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.9), 0 0 0 9px var(--line), 0 50px 90px -40px rgba(13, 31, 20, 0.6), 0 30px 80px -40px rgba(22, 163, 74, 0.6);
}
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; color: #e5f6ea; text-align: center; padding: 16px; }
.video-cover p { margin: 0; font: 600 18px/1.3 var(--font-display); }
.video-play { width: 86px; height: 86px; border-radius: 50%; background: rgba(255, 255, 255, 0.95); position: relative; box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.12), 0 0 40px 6px rgba(74, 222, 128, 0.45); }
.video-play::after { content: ""; position: absolute; left: 35px; top: 27px; border-left: 24px solid var(--x1); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }

/* --- funções: chegam como mensagens --- */
.feats { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 22px; perspective: 1400px; }
.feat {
  position: relative; display: grid; gap: 6px; align-content: start; padding: 20px 22px 22px; min-width: 0;
  background: linear-gradient(170deg, #ffffff, #f6fcf7); border-radius: 24px 24px 24px 6px;
  box-shadow: 0 1px 0 #fff inset, 0 0 0 1px rgba(22, 163, 74, 0.1), 0 24px 48px -30px rgba(13, 31, 20, 0.35);
  transform: rotateX(5deg); transform-origin: 50% 100%;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.25, 1.1), box-shadow 0.3s ease, opacity 0.45s ease;
}
.feat-r { background: linear-gradient(170deg, #ecffe8, var(--bubble)); border-radius: 24px 24px 6px 24px; }
.feat:nth-child(3n + 2) { margin-top: 26px; }
.feat b { font: 680 19px/1.2 var(--font-display); letter-spacing: -0.015em; }
.feat span { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.feat:hover { transform: rotateX(0deg) translateY(-5px); box-shadow: 0 1px 0 #fff inset, 0 0 0 1px rgba(22, 163, 74, 0.22), 0 34px 60px -28px rgba(22, 163, 74, 0.55); }
.js .feat:not(.is-in) { opacity: 0; transform: rotateX(5deg) translateY(18px) scale(0.95); }

/* --- como funciona (sequência de verdade, por isso numerada) --- */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.step { display: grid; gap: 8px; align-content: start; padding: 26px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.step-n { width: 46px; height: 46px; border-radius: 16px 16px 16px 4px; display: grid; place-items: center; background: var(--x1); color: #fff; font: 700 20px/1 var(--font-display); box-shadow: 0 12px 24px -12px rgba(22, 163, 74, 0.8); margin-bottom: 6px; }
.step b { font: 680 20px/1.25 var(--font-display); letter-spacing: -0.015em; }
.step span:last-child { color: var(--ink-2); }

/* --- para quem --- */
.who { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.who-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.who-list li { position: relative; padding: 18px 20px 18px 56px; border-radius: 18px; background: var(--mist); font: 560 clamp(18px, 1.8vw, 21px)/1.35 var(--font-display); letter-spacing: -0.01em; }
.who-list li::before { content: ""; position: absolute; left: 20px; top: 21px; width: 22px; height: 22px; border-radius: 50%; background: var(--x1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* --- planos: o Intermediário elevado, com luz correndo na borda --- */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.band-plans { background: radial-gradient(ellipse 70% 55% at 50% 62%, rgba(74, 222, 128, 0.22), rgba(255, 255, 255, 0) 70%), var(--paper); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: stretch; margin-top: 60px; perspective: 1600px; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 26px 26px; min-width: 0;
  border-radius: 28px; background: #fff; border: 1px solid var(--line);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s;
  box-shadow: 0 30px 60px -40px rgba(13, 31, 20, 0.35);
}
.plan::after { /* reflexo que segue o mouse */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 45%);
  mix-blend-mode: soft-light;
}
.plan:hover::after { opacity: 1; }
.plan.is-recommended {
  z-index: 2; padding-block: 44px 34px; margin-block: -26px;
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              conic-gradient(from var(--spin), rgba(22, 163, 74, 0.18) 0deg, var(--leaf) 60deg, var(--x1) 100deg, rgba(22, 163, 74, 0.18) 160deg, rgba(22, 163, 74, 0.18) 360deg) border-box;
  transform: translateZ(70px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  box-shadow: 0 0 0 10px rgba(74, 222, 128, 0.12), 0 0 60px 0 rgba(74, 222, 128, 0.28), 0 50px 90px -36px rgba(22, 163, 74, 0.6), 0 30px 50px -30px rgba(13, 31, 20, 0.35);
  animation: spin 6s linear infinite;
}
@keyframes spin { to { --spin: 360deg; } }
.plan-flag {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%); padding: 8px 16px; border-radius: 14px 14px 14px 4px;
  background: linear-gradient(160deg, #22b85a, var(--x1-deep)); color: #fff; font: 650 14px/1 var(--font-display); white-space: nowrap;
  box-shadow: 0 12px 26px -10px rgba(22, 163, 74, 0.9);
}
.plan-name { margin: 0; font: 720 26px/1.1 var(--font-display); letter-spacing: -0.025em; }
.plan-pitch { margin: 0; color: var(--ink-2); font-size: 15.5px; min-height: 3em; }
.plan-price { margin: 4px 0 2px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-price strong { font: 760 clamp(36px, 3.6vw, 46px)/1 var(--font-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--ink-3); font-size: 15px; }
.plan-soon { color: var(--ink-3); }
.plan-items { list-style: none; margin: 0; padding: 14px 0 6px; border-top: 1px solid var(--line); display: grid; gap: 10px; align-content: start; flex: 1; }
.plan-items li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.plan-items li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230f6b2f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.plan-items li:first-child { color: var(--ink); font-weight: 600; }
.plan-cta { width: 100%; margin-top: 8px; }
.plan:not(.is-recommended) .plan-cta { background: var(--ink); box-shadow: none; }
.plan:not(.is-recommended) .plan-cta:hover { background: #1c3324; }
.plan-cta:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.plans-foot { margin-top: 68px; display: grid; justify-items: center; gap: 16px; text-align: center; }
.guarantee { margin: 0; display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.guarantee svg { width: 24px; height: 24px; color: var(--x1); flex: none; }
.pay-methods { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pay-methods li { padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 500; color: var(--ink-2); }

/* --- segurança --- */
.safe { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.safe li { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.safe b { font: 660 17px/1.25 var(--font-display); }
.safe span { color: var(--ink-2); font-size: 15px; }

/* --- dúvidas --- */
.faq { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font: 620 clamp(17px, 1.7vw, 20px)/1.35 var(--font-display); letter-spacing: -0.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%230f6b2f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 13px no-repeat; transition: transform 0.25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 22px; color: var(--ink-2); max-width: 44em; }

/* --- chamada final: o mesmo balão da abertura, às 03:00 --- */
.band-final { background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(74, 222, 128, 0.35), rgba(255, 255, 255, 0) 70%), var(--mist); }
.final-in { display: grid; justify-items: center; gap: 30px; }
.final-bubble {
  position: relative; margin: 0; max-width: 18ch; padding: 0.45em 0.55em 0.75em; border-radius: 0.5em 0.14em 0.5em 0.5em;
  background: linear-gradient(170deg, #ecffe7, var(--bubble) 60%, #c9f5c1);
  font: 720 clamp(32px, 4.8vw, 60px)/1.06 var(--font-display); letter-spacing: -0.025em; word-spacing: 0.04em; text-wrap: balance;
  box-shadow: 0 1px 0 #fff inset, 0 40px 70px -36px rgba(15, 107, 47, 0.55);
}
.final-bubble::before { content: ""; position: absolute; top: 0; right: -0.24em; width: 0.32em; height: 0.36em; background: #e5fdde; clip-path: polygon(0 0, 100% 0, 0 100%); }

/* --- telas médias e celular --- */
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-stage { min-height: 580px; margin-top: 8px; }
  .fb-1 { left: -120px; } .fb-3 { left: -130px; } .fb-2 { right: -130px; } .fb-4 { right: -110px; }
  .split, .who { grid-template-columns: 1fr; }
  .split-rev .split-text { order: 0; }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat:nth-child(3n + 2) { margin-top: 0; }
  .feat:nth-child(2n) { margin-top: 22px; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .plan.is-recommended { order: -1; transform: none; margin-block: 0 8px; }
  .safe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body.site { font-size: 16px; }
  .hero-bubble { font-size: clamp(38px, 11.5vw, 52px); max-width: 100%; }
  .bubble-meta { font-size: 12px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stage { min-height: 500px; }
  .stage-3d { transform: rotateX(5deg) rotateY(-10deg) scale(0.86); }
  .phone { width: 262px; height: 540px; }
  .float-bubble { padding: 9px 12px 9px 28px; }
  .float-bubble b { font-size: 13.5px; }
  .float-bubble small { display: none; }
  .float-bubble::before { left: 11px; top: 14px; width: 8px; height: 8px; }
  .fb-1 { top: 40px; left: -54px; } .fb-2 { top: 180px; right: -64px; }
  .fb-3 { bottom: 150px; left: -62px; } .fb-4 { bottom: 52px; right: -58px; }
  .lonely-page { height: 270px; }
  .lp-card { left: 0; width: 76%; }
  .fan { height: 340px; }
  .fan-card { width: 84%; }
  .feats, .steps, .safe { grid-template-columns: 1fr; }
  .feat:nth-child(2n) { margin-top: 0; }
  .plan { padding-inline: 22px; }
}

/* --- painel de pagamento (<dialog>) --- */
.co {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 28px;
  background: var(--paper); color: var(--ink); box-shadow: 0 60px 120px -40px rgba(13, 31, 20, 0.55), 0 0 0 1px var(--line);
  overflow: auto;
}
.co::backdrop { background: rgba(13, 31, 20, 0.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.co[open] { animation: co-in 0.28s cubic-bezier(0.2, 0.8, 0.25, 1.05); }
@keyframes co-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.co-in { display: grid; gap: 18px; padding: 26px 26px 22px; }
.co-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.co-head h2 { margin: 0; font: 700 24px/1.2 var(--font-display); letter-spacing: -0.02em; }
.co-close { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 0; background: var(--mist); color: var(--ink-2); cursor: pointer; display: grid; place-items: center; }
.co-close svg { width: 18px; height: 18px; }
.co-close:hover { background: var(--mist-2); color: var(--ink); }
.co-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; counter-reset: co; }
.co-steps li { counter-increment: co; padding: 8px 10px; border-radius: 12px; background: var(--mist); color: var(--ink-3); font-size: 13.5px; font-weight: 600; }
.co-steps li::before { content: counter(co) ". "; }
.co-steps li.is-on { background: var(--mint); color: var(--x1-ink); }
.co-plans { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.co-plans legend { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 6px; }
.co-plan { position: relative; display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; min-width: 0; }
.co-plan input { position: absolute; opacity: 0; pointer-events: none; }
.co-plan:has(input:checked) { border-color: var(--x1); background: #f6fdf7; box-shadow: 0 0 0 3px var(--mint); }
.co-plan:has(input:disabled) { opacity: 0.5; cursor: not-allowed; }
.co-plan:has(input:focus-visible) { outline: 3px solid var(--leaf); outline-offset: 2px; }
.co-plan-name { font: 650 15px/1.2 var(--font-display); }
.co-plan-price { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.co-form { display: grid; gap: 6px; }
.co-form label { font-size: 14px; font-weight: 600; margin-top: 8px; }
.co-form label small { font-weight: 500; color: var(--ink-3); }
.co-form input:not([type="checkbox"]) {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); font: 400 16px/1 var(--font-body);
}
.co-form input:not([type="checkbox"]):focus { outline: none; border-color: var(--x1); box-shadow: 0 0 0 4px var(--mint); }
.co-pass { position: relative; }
.co-pass input { padding-right: 96px !important; }
.co-show { position: absolute; right: 6px; top: 6px; height: 36px; padding: 0 12px; border: 0; border-radius: 9px; background: var(--mist); color: var(--ink-2); font: 600 13px/1 var(--font-body); cursor: pointer; }
.co-hint { color: var(--ink-3); font-size: 12.5px; }
.co-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; margin-top: 14px !important; line-height: 1.45; }
.co-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--x1); flex: none; }
.co-error { margin: 6px 0 0; padding: 10px 12px; border-radius: 12px; background: #fdecea; color: var(--danger); font-size: 14px; }
.co-next { margin-top: 12px; width: 100%; }
.co-pay { display: grid; gap: 12px; }
.co-back { justify-self: center; border: 0; background: none; color: var(--ink-3); font: 500 14px/1 var(--font-body); text-decoration: underline; cursor: pointer; padding: 6px; }
.co-guarantee { margin: 0; font-size: 13px; color: var(--ink-3); text-align: center; }

/* componente de pagamento (checkout.js) na identidade da página */
.x1co { display: grid; gap: 14px; }
.x1co-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.x1co-method {
  display: grid; justify-items: start; gap: 8px; padding: 12px; min-width: 0; text-align: left; cursor: pointer;
  border-radius: 16px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-family: var(--font-body);
}
.x1co-method:hover { border-color: #b5d9bf; }
.x1co-method.is-active { border-color: var(--x1); background: #f6fdf7; box-shadow: 0 0 0 3px var(--mint), 0 14px 30px -18px rgba(22, 163, 74, 0.7); }
.x1co-method-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--mint); color: var(--x1-deep); }
.x1co-method-icon svg { width: 20px; height: 20px; }
.x1co-method.is-active .x1co-method-icon { background: var(--x1); color: #fff; }
.x1co-method-text { display: grid; gap: 2px; min-width: 0; }
.x1co-method-title { font: 650 15px/1.2 var(--font-display); }
.x1co-method-sub { font-size: 11.5px; line-height: 1.35; color: var(--ink-3); }
.x1co-element { min-height: 4px; }
.x1co-element.is-loading { min-height: 140px; border-radius: 14px; background: linear-gradient(90deg, var(--mist), var(--mist-2), var(--mist)); background-size: 200% 100%; animation: co-shimmer 1.2s linear infinite; }
@keyframes co-shimmer { to { background-position: -200% 0; } }
.x1co-error { margin: 0; padding: 10px 12px; border-radius: 12px; background: #fdecea; color: var(--danger); font-size: 14px; }
.x1co-pay {
  min-height: 54px; border: 0; border-radius: 999px; cursor: pointer; color: #fff; font: 650 17px/1 var(--font-body);
  background: linear-gradient(180deg, #22b85a 0%, var(--x1) 55%, #12893f 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 12px 26px -10px rgba(22, 163, 74, 0.75);
}
.x1co-pay:disabled { opacity: 0.45; cursor: not-allowed; }
.x1co-pay.is-busy { cursor: progress; }
.x1co-note { margin: 0; font-size: 12px; color: var(--ink-3); text-align: center; }

@media (max-width: 640px) {
  .co { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .co-in { padding: max(18px, env(safe-area-inset-top, 0px)) 18px max(18px, env(safe-area-inset-bottom, 0px)); }
  .co-plans, .x1co-methods { grid-template-columns: 1fr; }
  .x1co-method { grid-template-columns: auto 1fr; align-items: center; }
}

/* --- espera do pagamento (/confirmando) --- */
body.site-confirm { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 30%, var(--mint), var(--paper) 60%); }
.confirm-box { max-width: 460px; padding: 40px 24px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.confirm-box h1 { font: 700 30px/1.15 var(--font-display); letter-spacing: -0.02em; margin: 8px 0 0; }
.confirm-box p { margin: 0; color: var(--ink-2); }
.confirm-logo { width: 72px; height: auto; }
.confirm-pulse { width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle, var(--leaf) 0 30%, transparent 31%); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); animation: confirm-pulse 1.6s ease-out infinite; }
@keyframes confirm-pulse { to { box-shadow: 0 0 0 26px rgba(74, 222, 128, 0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 860px) {
  .topnav { display: none; }
  .foot-in { grid-template-columns: 1fr; gap: 20px; }
  .foot-links { justify-items: start; }
}
@media (max-width: 520px) {
  .topbar-in { gap: 12px; min-height: 60px; }
  .brand span { display: none; }
  .topbar-actions { gap: 12px; }
  .btn-sm { padding: 0 14px; }
}
