/* ==========================================================
   MEU INVEST — LANDING PAGE
   Mobile-first · HTML5 + CSS3 puro · sem dependências
   Paleta extraída das telas reais do aplicativo.
   ========================================================== */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/poppins-800.woff2") format("woff2"); }

:root {
  /* fundos (app) */
  --bg: #080b1a;
  --bg-2: #0b1022;
  --surface: #121a2f;
  --surface-2: #17203a;
  --line: rgba(148, 163, 210, 0.13);
  --line-2: rgba(148, 163, 210, 0.24);

  /* texto */
  --text: #f2f4fa;
  --muted: #9aa3bb;
  --muted-2: #717a95;

  /* acentos (app) */
  --green: #22c98c;
  --green-2: #3be0a3;
  --green-ink: #03140d;
  --green-soft: rgba(34, 201, 140, 0.12);
  --green-line: rgba(34, 201, 140, 0.35);
  --purple: #9a80f5;
  --purple-deep: #503a83;
  --purple-sel: #4a4458;
  --purple-soft: rgba(122, 94, 220, 0.14);
  --blue: #4c94ff;
  --blue-soft: rgba(76, 148, 255, 0.13);
  --amber: #f0b803;
  --amber-soft: rgba(240, 184, 3, 0.12);
  --rose: #f28b8b;

  --font-display: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: 20px;
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 64px;
  --section-y: 52px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
}

@media (min-width: 960px) {
  :root { --gutter: 32px; --section-y: 96px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-weight: 800; }
h2 { font-weight: 700; font-size: clamp(1.65rem, 4.4vw, 2.6rem); }
h3 { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
p { text-wrap: pretty; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.hl { color: var(--green); }

.ic {
  width: 1.25em; height: 1.25em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.ic--green { color: var(--green); }
.ic--purple { color: var(--purple); }
.ic--amber { color: var(--amber); }
.ic--blue { color: var(--blue); }
.ic--muted { color: var(--muted-2); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 300;
  background: var(--green); color: var(--green-ink); font-weight: 700;
  padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--green-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 13px 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  text-align: center; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .25s ease, transform .15s ease;
}
.btn-primary { background: var(--green); color: var(--green-ink); box-shadow: 0 10px 28px -12px rgba(34, 201, 140, 0.55); }
.btn-primary:hover { background: var(--green-2); box-shadow: 0 12px 34px -10px rgba(34, 201, 140, 0.6); }
.btn-primary:active { transform: translateY(1px) scale(.99); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--green-line); color: var(--green-2); }
.btn-lg { min-height: 54px; padding: 15px 30px; font-size: 1rem; }
.btn-sm { min-height: 40px; padding: 9px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }
@media (max-width: 599px) { .btn-lg { width: 100%; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(8, 11, 26, 0.88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-icon { flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-name span { color: var(--green); }

.nav-desktop { display: none; }

.menu-toggle {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 44px; height: 44px; margin-right: -10px; border-radius: 10px;
}
.menu-toggle span { width: 22px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: grid; overflow: hidden; max-height: 0; visibility: hidden;
  background: rgba(8, 11, 26, 0.97);
  transition: max-height .28s ease, visibility 0s linear .28s;
}
.nav-mobile.is-open { max-height: 440px; visibility: visible; transition: max-height .28s ease; border-top: 1px solid var(--line); }
.nav-mobile a:not(.btn) { padding: 14px var(--gutter); border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 500; }
.nav-mobile a:not(.btn):hover { color: var(--text); }
.nav-mobile .btn { margin: 16px var(--gutter) 20px; }

@media (min-width: 960px) {
  .menu-toggle, .nav-mobile { display: none; }
  .nav-desktop { display: flex; align-items: center; gap: 28px; }
  .nav-desktop a:not(.btn) { position: relative; font-size: 0.93rem; color: var(--muted); transition: color .2s ease; }
  .nav-desktop a:not(.btn):hover { color: var(--text); }
  .nav-desktop .btn { margin-left: 6px; }
}

/* ---------- Seções ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 780px; margin: 0 auto 28px; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.lead { margin-top: 10px; font-size: clamp(1rem, 2.2vw, 1.13rem); color: var(--muted); }
.lead--left { text-align: left; }

@media (min-width: 768px) {
  .section-head { margin-bottom: 40px; }
}
@media (min-width: 960px) {
  .section-head { margin-bottom: 56px; }
}

/* ---------- Mockup de smartphone (telas reais) ---------- */
.phone {
  --pw: 250px;
  position: relative; width: var(--pw); max-width: 100%;
  padding: 8px; border-radius: 38px;
  background: linear-gradient(155deg, #3b4052 0%, #15171e 28%, #0b0c11 72%, #2b2f3b 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.09), 0 0 0 1px #000, var(--shadow);
}
.phone-screen {
  position: relative; overflow: hidden;
  border-radius: 30px; padding-top: 20px;
  background: #121a2f;
}
.phone-screen::before {
  content: ""; position: absolute; top: 6px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px;
  border-radius: 50%; background: #04050a; box-shadow: 0 0 0 1.5px #1e2438;
}
.phone-screen img { width: 100%; }
.phone--lg { --pw: 270px; }
.phone--glow { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.09), 0 0 0 1px #000, var(--shadow), 0 0 90px -20px rgba(34, 201, 140, 0.35); }
.phone--glow-purple { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.09), 0 0 0 1px #000, var(--shadow), 0 0 90px -20px rgba(122, 94, 220, 0.4); }

@media (min-width: 600px) {
  .phone { --pw: 270px; }
  .phone--lg { --pw: 290px; }
}
@media (min-width: 960px) {
  .phone { --pw: 280px; }
  .phone--lg { --pw: 310px; }
}

/* ==========================================================
   1. HERO
   ========================================================== */
.hero {
  position: relative; overflow: hidden;
  padding: 28px 0 8px;
  margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + 28px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 45%, rgba(34, 201, 140, 0.10), transparent 70%),
    radial-gradient(50% 50% at 10% 0%, rgba(122, 94, 220, 0.08), transparent 70%);
}
.hero-inner { position: relative; display: grid; gap: 22px; }
.hero-copy, .hero-cta { text-align: center; }

/* Identificação de app Android (substitui o antigo eyebrow) */
.android-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 6px 14px 6px 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.01em;
  color: var(--text); background: rgba(61, 220, 132, 0.08); border: 1px solid rgba(61, 220, 132, 0.38); border-radius: 999px;
}
.android-badge .ic { width: 20px; height: 20px; color: #3ddc84; }

.hero h1 { font-size: clamp(2.2rem, 10.4vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; }
.line { display: block; white-space: nowrap; }
.hero-sub { margin: 14px auto 0; max-width: 520px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 3.6vw, 1.35rem); line-height: 1.32; }
.hero-text { margin: 10px auto 0; max-width: 440px; color: var(--muted); font-size: 0.95rem; }
.hero-actions { display: grid; gap: 4px; }

/* "Ver o app em ação": link compacto no celular, botão contornado a partir de 600px */
.btn-watch { border-color: transparent; background: none; min-height: 48px; color: var(--text); }
.btn-watch-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green-soft); border: 1px solid var(--green-line); color: var(--green); }
.btn-watch-ic .ic { width: 12px; height: 12px; margin-left: 2px; }
.btn-watch:hover .btn-watch-ic { background: var(--green); color: var(--green-ink); }

.hero-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 10px; font-size: 0.84rem; color: var(--muted); }
.hero-note li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.hero-note li::before { content: ""; width: 9px; height: 5px; margin-top: -3px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.hero-note li:first-child { color: var(--text); font-weight: 600; }

.hero-media { display: flex; justify-content: center; }
.hero-art { display: none; }

/* Celular/tablet: telas reais entre o texto e o CTA, recortadas na parte que identifica o app */
.hero-phones {
  position: relative; width: 100%; max-width: 360px; height: 318px; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 70%, transparent);
  mask-image: linear-gradient(#000 70%, transparent);
}
.hero-phones .phone { position: absolute; top: 4px; }
.hero-phone-front { --pw: 240px; left: 0; z-index: 1; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.09), 0 0 0 1px #000, 0 30px 60px -10px rgba(0,0,0,.9), 0 0 80px -20px rgba(34,201,140,.35); }
.hero-phone-back { --pw: 196px; right: 0; top: 40px !important; opacity: .6; }
@media (max-width: 370px) {
  .hero-phones { height: 300px; }
  .hero-phone-front { --pw: 226px; }
  .hero-phone-back { --pw: 184px; }
}
@media (min-width: 600px) {
  .hero-phones { max-width: 440px; height: 400px; }
  .hero-phone-front { --pw: 270px; }
  .hero-phone-back { --pw: 222px; }
}
.hero-img {
  width: min(100%, 460px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 80%, transparent 99%), linear-gradient(to right, transparent 0, #000 10%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 80%, transparent 99%), linear-gradient(to right, transparent 0, #000 10%, #000 88%, transparent 100%);
  mask-composite: intersect;
}

@media (min-width: 600px) {
  .hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
  .btn-watch { border-color: var(--line-2); background: rgba(255, 255, 255, 0.02); padding-left: 18px; }
  .btn-watch:hover { border-color: var(--green-line); color: var(--text); }
  .hero-note { margin-top: 14px; }
}

@media (min-width: 960px) {
  .hero { padding-top: calc(var(--header-h) + 12px); padding-bottom: 0; }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas: ". media" "copy media" "cta media" ". media";
    column-gap: 32px; row-gap: 0;
    min-height: min(640px, calc(100svh - var(--header-h) - 64px));
  }
  .hero-copy { grid-area: copy; text-align: left; }
  .hero-cta { grid-area: cta; text-align: left; margin-top: 28px; }
  .hero-media { grid-area: media; align-self: center; }
  .hero h1 { font-size: clamp(2.9rem, 4.8vw, 3.9rem); }
  .hero-sub, .hero-text { margin-left: 0; }
  .hero-sub { max-width: 500px; }
  .hero-note { justify-content: flex-start; color: var(--muted-2); }
  .hero-art { display: block; }
  .hero-phones { display: none; }
  .hero-actions { justify-content: flex-start; }
  .hero-img { width: 100%; }
}
@media (min-width: 1280px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); }
}
@media (min-width: 960px) and (max-height: 820px) {
  .hero-img { max-height: calc(100svh - var(--header-h) - 72px); width: auto; }
}

/* ---------- Microfaixa ---------- */
.strip { display: none; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; padding-top: 18px; padding-bottom: 18px; }
.strip-list li { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; }
.strip-list .ic { width: 22px; height: 22px; }

@media (min-width: 768px) {
  .strip { display: block; }
  .strip-list { display: flex; justify-content: center; gap: 0; }
  .strip-list li { padding: 0 32px; font-size: 0.98rem; }
  .strip-list li + li { border-left: 1px solid var(--line-2); }
}

/* ==========================================================
   VÍDEO — veja o app em ação
   ========================================================== */
.section--video {
  padding-top: calc(var(--section-y) * .75);
  background: radial-gradient(60% 45% at 50% 40%, rgba(34, 201, 140, 0.07), transparent 70%);
}
.section--video .section-head { margin-bottom: 24px; }
.video { position: relative; max-width: 920px; margin: 0 auto; }

.video-poster {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; padding: 0; overflow: hidden; text-align: left;
  border-radius: 24px; border: 1px solid var(--line-2);
  background:
    radial-gradient(60% 60% at 50% 45%, rgba(34, 201, 140, 0.16), transparent 72%),
    radial-gradient(50% 50% at 100% 0%, rgba(122, 94, 220, 0.14), transparent 70%),
    linear-gradient(165deg, #111a33, #080b1a 75%);
  box-shadow: var(--shadow), 0 0 80px -40px rgba(34, 201, 140, .6);
  transition: border-color .25s ease;
}
.video-poster:hover { border-color: var(--green-line); }
.video-poster:focus-visible { outline-offset: 4px; border-radius: 24px; }

.video-stage {
  position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-start; gap: 12px; padding-top: 18px;
  -webkit-mask-image: linear-gradient(#000 58%, transparent 94%);
  mask-image: linear-gradient(#000 58%, transparent 94%);
}
.video-phone { display: flex; flex-direction: column-reverse; align-items: center; gap: 10px; }
.video-phone .phone { --pw: clamp(128px, 41vw, 176px); padding: 6px; border-radius: 28px; }
.video-phone .phone-screen { border-radius: 22px; padding-top: 14px; }
.video-phone .phone-screen::before { top: 4px; width: 7px; height: 7px; margin-left: -3.5px; }
.video-phone--ranking { margin-top: 26px; }
.video-phone--ranking .phone { opacity: .85; }
.video-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; color: var(--text);
  background: rgba(18, 26, 47, 0.9); border: 1px solid var(--line-2);
}
.video-tag .ic { width: 15px; height: 15px; color: var(--green); }

.video-poster-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-poster-img[hidden] { display: none; }

.video-corner {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; color: var(--text);
  background: rgba(8, 11, 26, 0.8); border: 1px solid rgba(61, 220, 132, 0.38);
}
.video-corner .ic { width: 17px; height: 17px; color: #3ddc84; }

.video-play {
  position: absolute; left: 50%; top: 56%; z-index: 2; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.video-play::before {
  content: ""; position: absolute; left: 50%; top: 40%; width: 240px; height: 240px; margin: -120px 0 0 -120px; z-index: -1;
  border-radius: 50%; background: radial-gradient(rgba(8, 11, 26, 0.78), transparent 68%);
}
.video-play-btn {
  display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%;
  background: var(--green); color: var(--green-ink);
  box-shadow: 0 0 0 10px rgba(34, 201, 140, 0.18), 0 18px 40px -12px rgba(34, 201, 140, 0.8);
  transition: transform .2s ease, box-shadow .25s ease;
}
.video-play-btn .ic { width: 30px; height: 30px; margin-left: 4px; }
.video-poster:hover .video-play-btn { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(34, 201, 140, 0.2), 0 18px 44px -10px rgba(34, 201, 140, 0.9); }
.video-play-label {
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; color: var(--text);
  background: rgba(8, 11, 26, 0.82); border: 1px solid var(--line-2);
}

/* Player (criado pelo script só depois do clique) */
.video-player { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 24px; border: 1px solid var(--line-2); background: #000; box-shadow: var(--shadow); }
.video-player iframe, .video-player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video.is-vertical .video-player { aspect-ratio: 9 / 16; max-width: 340px; margin: 0 auto; border-radius: 28px; }
.video.is-playing .video-poster { display: none; }

.video-soon {
  margin: 14px auto 0; width: fit-content; max-width: 100%; padding: 8px 16px; border-radius: 999px; text-align: center;
  font-size: 0.88rem; color: var(--text); background: var(--surface); border: 1px solid var(--green-line);
}
.video-soon[hidden] { display: none; }
.video[hidden] { display: none; }
.section--video .android-badge { margin-bottom: 14px; }
.demos-note { margin: 14px auto 0; max-width: 620px; text-align: center; font-size: 0.8rem; color: var(--muted-2); }

/* ---------- Carrossel (scroll-snap nativo; JS só para setas, indicadores e teclado) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.carousel { --slide-w: 80%; --gap: 16px; position: relative; }
.carousel-track {
  position: relative; display: flex; gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 14px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline-offset: -2px; border-radius: 16px; }
.carousel-track > li { flex: 0 0 var(--slide-w); min-width: 0; scroll-snap-align: start; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 6px; }
.carousel-nav[hidden] { display: none; }
.carousel-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  color: var(--text); background: var(--surface); border: 1px solid var(--line-2);
  transition: border-color .2s ease, color .2s ease, opacity .2s ease;
}
.carousel-btn:hover:not(:disabled) { border-color: var(--green-line); color: var(--green-2); }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.carousel-btn .ic { width: 20px; height: 20px; }
.carousel-btn[data-carousel-prev] .ic { transform: rotate(180deg); }
.carousel-dots { display: flex; align-items: center; }
.carousel-dot { display: grid; place-items: center; width: 24px; height: 32px; }
.carousel-dot::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--line-2); transition: width .25s ease, background-color .25s ease; }
.carousel-dot[aria-current="true"]::before { width: 20px; background: var(--green); }

/* ---------- Demonstrações em vídeo ---------- */
.demos { --slide-w: 100%; }
.demo { display: flex; flex-direction: column; align-items: center; text-align: center; }
.demo-phone { --pw: 100%; max-width: 340px; padding: 6px; border-radius: 34px; transition: box-shadow .3s ease; }
.demo.is-playing .demo-phone { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.09), 0 0 0 1px #000, var(--shadow), 0 0 70px -18px rgba(34, 201, 140, 0.55); }
.demo-phone .phone-screen { border-radius: 27px; padding-top: 16px; background: #0d0f15; }
.demo-phone .phone-screen::before { top: 4px; width: 8px; height: 8px; margin-left: -4px; }
.demo-video { display: block; width: 100%; height: auto; aspect-ratio: 480 / 1040; background: #0d0f15; object-fit: contain; }
.demo-play {
  position: absolute; inset: 16px 0 0; z-index: 1; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(8, 11, 26, 0) 35%, rgba(8, 11, 26, 0.55));
}
.demo-play .video-play-btn { width: 62px; height: 62px; }
.demo-play .ic { width: 26px; height: 26px; margin-left: 4px; }
.demo-play:hover .video-play-btn { transform: scale(1.06); }
.demo-play:focus-visible { outline-offset: -4px; border-radius: 0 0 27px 27px; }
.demo-play[hidden] { display: none; }
.demo-toggle {
  position: absolute; right: 10px; bottom: 10px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: var(--text); background: rgba(8, 11, 26, 0.72); border: 1px solid var(--line-2);
  opacity: .8; transition: opacity .2s ease;
}
.demo-toggle[hidden] { display: none; }
.demo-toggle .ic { width: 16px; height: 16px; }
.demo-toggle:hover, .demo-toggle:focus-visible { opacity: 1; }
.demo h3 { margin-top: 16px; max-width: 320px; font-size: 1rem; line-height: 1.3; }
.demo-n {
  display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; vertical-align: 1px; border-radius: 50%;
  font-size: 0.74rem; font-weight: 800; color: var(--green-ink); background: var(--green);
}
.demo p { margin-top: 6px; max-width: 320px; font-size: 0.88rem; line-height: 1.4; color: var(--muted); }
.demo-time { margin-top: 10px; padding: 2px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line-2); }

@media (min-width: 600px) {
  .demos { --slide-w: calc((100% - var(--gap)) / 2); }
}
@media (min-width: 1024px) {
  .demos { --gap: 24px; }
  .demo-phone { max-width: 270px; }
  .demos .carousel-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 6px 0 0; }
  .demos .carousel-nav { display: none; }
}

/* ==========================================================
   DADOS REAIS — atualização automática
   ========================================================== */
.refresh-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 7px 16px 7px 12px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--text);
  background: var(--green-soft); border: 1px solid var(--green-line);
}
.refresh-badge .ic { width: 18px; height: 18px; color: var(--green); }
.refresh-badge span { color: var(--green); }
.refresh-badge--sm { margin-top: 0; font-size: 0.82rem; padding: 6px 14px 6px 10px; white-space: nowrap; }

.auto-steps { display: grid; gap: 12px; max-width: 1080px; margin: 0 auto; counter-reset: auto; }
.auto-steps li {
  position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  counter-increment: auto;
}
.auto-steps li::before {
  content: counter(auto); position: absolute; top: 10px; right: 14px;
  font-family: var(--font-display); font-weight: 800; font-size: 0.8rem; color: var(--muted-2);
}
.auto-ic { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--green); background: var(--green-soft); border: 1px solid var(--green-line); }
.auto-ic .ic { width: 22px; height: 22px; }
.auto-steps h3 { font-size: 1rem; padding-right: 16px; text-wrap: pretty; }
.auto-steps p { margin-top: 2px; font-size: 0.88rem; line-height: 1.4; color: var(--muted); }
.auto-steps li.auto-end { border-color: var(--green-line); }
.auto-end .auto-ic { color: var(--green-ink); background: var(--green); border-color: var(--green); }

@media (min-width: 600px) {
  .auto-steps { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (min-width: 1024px) {
  .auto-steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .auto-steps li { grid-template-columns: 1fr; row-gap: 12px; align-content: start; padding: 22px 20px; }
  .auto-ic { grid-row: auto; }
  .auto-steps li:not(:last-child)::after {
    content: ""; position: absolute; top: 40px; right: -16px; width: 8px; height: 8px;
    border-top: 2px solid var(--green); border-right: 2px solid var(--green); transform: rotate(45deg); opacity: .8;
  }
}

.live { max-width: 1080px; margin: 0 auto 36px; }
.live[hidden] { display: none; }
.live-head { display: grid; gap: 12px; justify-items: start; margin-bottom: 16px; }
.live-head h3 { font-size: clamp(1.2rem, 3.4vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; }
.live-updated { margin-top: 6px; display: flex; align-items: baseline; gap: 8px; font-size: 0.92rem; color: var(--text); }
.live-updated::before { content: ""; flex-shrink: 0; align-self: center; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.live-updated.is-closed::before { background: var(--muted-2); box-shadow: 0 0 0 4px rgba(148, 163, 210, 0.12); }
.live-note { margin-top: 10px; font-size: 0.8rem; color: var(--muted-2); text-align: center; }
@media (min-width: 768px) {
  .live-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
}

.quotes { --slide-w: min(86vw, 380px); }
@media (min-width: 768px) { .quotes { --gap: 20px; --slide-w: calc((100% - var(--gap)) / 2); } .quotes .carousel-track { margin: 0; padding-left: 0; padding-right: 0; scroll-padding-inline: 0; } }
@media (min-width: 1024px) { .quotes { --slide-w: calc((100% - 2 * var(--gap)) / 3); } }
.qcard { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-2); }
.qcard-top { display: flex; align-items: center; gap: 12px; }
.qcard-logo { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; overflow: hidden; border-radius: 50%; background: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: var(--bg); }
.qcard-logo img { width: 100%; height: 100%; object-fit: contain; }
.qcard-id { min-width: 0; }
.qcard-ticker { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.qcard-name { font-size: 0.84rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qcard-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.qcard-price strong { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; letter-spacing: -0.02em; line-height: 1.1; }
.qcard-chg { font-weight: 600; font-size: 0.95rem; }
.qcard-chg.is-up { color: var(--green-2); }
.qcard-chg.is-down { color: var(--rose); }
.qcard-chg.is-flat { color: var(--muted); }
.qcard-chart { margin: 0; }
.qcard-chart svg { display: block; width: 100%; height: 72px; overflow: visible; }
.qcard-axis { display: flex; justify-content: space-between; margin-top: 4px; font-size: 0.72rem; color: var(--muted-2); }
.qcard-nochart { padding: 14px 12px; border-radius: 12px; font-size: 0.82rem; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); }
.qcard-time { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--muted); }
.qcard-time .ic { width: 15px; height: 15px; }

.duty { display: grid; gap: 12px; max-width: 1080px; margin: 28px auto 0; }
.duty-col { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-2); }
.duty-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; margin-bottom: 14px; }
.duty-col h3 .ic { width: 22px; height: 22px; color: var(--purple); }
.duty-col--app { border-color: var(--green-line); background: linear-gradient(160deg, var(--green-soft), var(--surface) 60%); }
.duty-list { display: grid; gap: 9px; }
.duty-list li { display: flex; align-items: baseline; gap: 10px; font-size: 0.95rem; line-height: 1.35; }
.duty-list li::before {
  content: ""; flex-shrink: 0; width: 9px; height: 5px; margin-bottom: 3px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
.duty-col:not(.duty-col--app) .duty-list li::before { border-color: var(--purple); }
.quote--center { max-width: 640px; margin: 28px auto 0; text-align: center; border-left-width: 1px; border-left-color: var(--line); border-radius: 16px; }
.nowrap-unit { display: inline-block; }

@media (min-width: 600px) {
  .duty-list--2 { grid-template-columns: 1fr 1fr; column-gap: 20px; }
}
@media (min-width: 768px) {
  .duty { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; }
  .duty-col { padding: 24px 26px; }
}

/* ==========================================================
   CONFIRA VOCÊ MESMO — comparação de cotações
   ========================================================== */
.sources { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.sources li {
  padding: 7px 14px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 0.86rem;
  background: var(--surface); border: 1px solid var(--line-2);
}
.sources-ri { margin-top: 12px; font-size: 0.86rem; color: var(--muted); }

.proof-head { display: grid; gap: 14px; justify-items: start; max-width: 1080px; margin: 0 auto 18px; }
.proof-head h3 { font-size: clamp(1.2rem, 3.4vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; }
.proof-head p:not(.refresh-badge) { margin-top: 6px; max-width: 600px; font-size: 0.95rem; color: var(--muted); }
@media (min-width: 768px) {
  .proof-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
}

.proofs { --slide-w: min(86vw, 440px); max-width: 1080px; margin: 0 auto; }
.proof {
  display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-2);
}
.proof-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.proof-ticker { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.01em; }
.proof-name { font-size: 0.88rem; color: var(--muted); }
.proof-when { margin-left: auto; padding: 3px 10px; border-radius: 999px; font-size: 0.76rem; color: var(--muted); border: 1px solid var(--line-2); white-space: nowrap; }
.proof-vals { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.proof-vals dt { font-size: 0.72rem; color: var(--muted); }
.proof-vals dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.proof-eq dd { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-body); font-weight: 600; font-size: 0.78rem; color: var(--green-2); white-space: nowrap; }
.proof-eq .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.capture-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; white-space: nowrap;
  font-size: 0.82rem; font-weight: 600; color: var(--muted); background: var(--surface); border: 1px dashed var(--line-2);
}
.capture-badge .ic { width: 16px; height: 16px; color: var(--muted); }
.sources-lead { margin-top: 12px; font-size: 0.95rem; color: var(--text); }
.proof-shot { display: block; cursor: zoom-in; }
.proof-src { display: block; margin-bottom: 6px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.proof-shot img { width: 100%; border-radius: 12px; border: 1px solid var(--line); background: #0f1527; transition: border-color .2s ease; }
.proof-img { display: block; border-radius: 12px; background: #fff; }
.proof-shot--ext img {
  background: #fff; border-color: transparent;
  -webkit-mask-image: linear-gradient(to right, #000 88%, transparent);
  mask-image: linear-gradient(to right, #000 88%, transparent);
}
.proof-shot:hover img { border-color: var(--green-line); }
.proof-shot:focus-visible { border-radius: 12px; }
.proof-cap { margin-top: auto; font-size: 0.86rem; line-height: 1.4; color: var(--muted); }

@media (min-width: 768px) {
  .proofs { --gap: 20px; --slide-w: calc((100% - var(--gap)) / 2); }
  .proofs .carousel-track { margin: 0; padding-left: 0; padding-right: 0; scroll-padding-inline: 0; }
  .proof { padding: 18px; }
}

.proof-notes { display: grid; gap: 6px; max-width: 720px; margin: 18px auto 0; text-align: center; font-size: 0.86rem; color: var(--muted); }
.proof-notes strong { color: var(--text); font-weight: 600; }
.proof-notes .ic { width: 1.05em; height: 1.05em; color: var(--green); vertical-align: -0.18em; margin-right: 6px; }
.proof-daily { max-width: 640px; margin: 26px auto 0; text-align: center; font-size: clamp(1rem, 2.4vw, 1.12rem); color: var(--muted); }
.proof-daily strong { display: block; color: var(--text); font-weight: 600; }

/* ---------- Ampliação de imagem ---------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; overflow: visible; }
.lightbox::backdrop { background: rgba(4, 6, 14, 0.9); }
.lightbox img { display: block; max-width: min(1200px, 94vw); max-height: 86vh; width: auto; border-radius: 12px; box-shadow: var(--shadow); }
.lightbox-close {
  position: fixed; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--text); background: var(--surface); border: 1px solid var(--line-2);
}
.lightbox-close .ic { width: 20px; height: 20px; }

@media (min-width: 600px) {
  .video-poster { aspect-ratio: 16 / 9; }
  .video-stage { gap: 132px; padding-top: 22px; }
  .video-phone .phone { --pw: clamp(170px, 26vw, 236px); padding: 7px; border-radius: 34px; }
  .video-phone .phone-screen { border-radius: 27px; padding-top: 18px; }
  .video-phone--ranking { margin-top: 34px; }
  .video-play { top: 50%; }
  .video-corner { left: 20px; bottom: 18px; font-size: 0.84rem; }
}
@media (min-width: 960px) {
  .video-play-btn { width: 88px; height: 88px; }
  .video-play-btn .ic { width: 34px; height: 34px; }
  .video-tag { font-size: 0.86rem; }
}

/* Jornada em 5 passos: ícone + título curto */
.journey { display: grid; gap: 8px; max-width: 400px; margin: 28px auto 0; }
.journey li {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 8px 14px 8px 10px; border-radius: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.96rem; line-height: 1.25;
  background: var(--surface); border: 1px solid var(--line);
}
.journey-ic { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; color: var(--green); background: var(--green-soft); border: 1px solid var(--green-line); }
.journey-ic .ic { width: 20px; height: 20px; }
.journey-n {
  position: absolute; left: 40px; top: 3px; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%;
  font-size: 0.68rem; font-weight: 800; color: var(--green-ink); background: var(--green);
  box-shadow: 0 0 0 2px var(--surface);
}
.journey li.journey-end { border-color: var(--green-line); }
.journey-end .journey-ic { color: var(--green-ink); background: var(--green); border-color: var(--green); }
.journey-end .journey-ic .ic { stroke-width: 2.6; }

@media (min-width: 768px) {
  .journey { grid-template-columns: repeat(5, 1fr); gap: 12px; max-width: 980px; margin-top: 44px; }
  .journey li { flex-direction: column; gap: 12px; padding: 0 4px; text-align: center; background: none; border: 0; font-size: 0.95rem; }
  .journey-ic { width: 60px; height: 60px; border-radius: 18px; background: var(--surface); border-color: var(--line-2); }
  .journey-ic .ic { width: 26px; height: 26px; }
  .journey-n { left: calc(50% + 18px); top: -7px; width: 22px; height: 22px; font-size: 0.74rem; box-shadow: 0 0 0 3px var(--bg); }
  .journey li:not(:last-child)::after {
    content: ""; position: absolute; top: 26px; right: -10px; width: 8px; height: 8px;
    border-top: 2px solid var(--green); border-right: 2px solid var(--green); transform: rotate(45deg); opacity: .8;
  }
}

/* ==========================================================
   2. FUNIL — do universo às oportunidades
   ========================================================== */
.universe { display: grid; gap: 44px; justify-items: center; }

.funnel { display: grid; justify-items: center; gap: 30px; width: 100%; max-width: 560px; counter-reset: none; }
.funnel-step {
  position: relative; width: 100%;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px;
  padding: 18px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-2);
  text-align: center; color: var(--muted);
}
.funnel-step:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; bottom: -24px; width: 12px; height: 12px; margin-left: -6px;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg); opacity: .8;
}
.funnel-step:not(:last-child)::before {
  content: ""; position: absolute; left: 50%; bottom: -26px; width: 2px; height: 22px; margin-left: -1px;
  background: linear-gradient(var(--line-2), var(--green)); opacity: .8;
}
.funnel-num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--text); letter-spacing: -0.03em; }
.funnel-step span { font-size: 1rem; }

.funnel-step--filter { flex-direction: column; gap: 12px; padding: 20px 16px; border-color: rgba(154, 128, 245, 0.35); background: linear-gradient(180deg, var(--purple-soft), var(--surface) 70%); }
.funnel-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--text); }
.funnel-label .ic { color: var(--purple); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips li {
  padding: 6px 12px; border-radius: 999px; font-size: 0.84rem; color: var(--text);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2);
}
.funnel-out { display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem !important; color: var(--rose); }
.funnel-out .ic { width: 1em; height: 1em; }

.funnel-step--pass { width: 84%; border-color: var(--green-line); background: linear-gradient(180deg, var(--green-soft), var(--surface) 80%); box-shadow: 0 0 40px -18px rgba(34, 201, 140, .5); }
.funnel-step--pass .funnel-num { color: var(--green); }
.funnel-step--rank { width: 66%; color: var(--green-ink); background: var(--green); border-color: var(--green); font-weight: 500; }
.funnel-step--rank strong { font-family: var(--font-display); }

.universe-phone { display: grid; justify-items: center; gap: 14px; }
.universe-phone figcaption { max-width: 320px; text-align: center; }
.universe-phone figcaption strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; line-height: 1.35; color: var(--text); }
.status { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 12px; font-size: 0.82rem; color: var(--muted); }
.status li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

@media (min-width: 960px) {
  .universe { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: 64px; max-width: 1040px; margin: 0 auto; }
  .funnel { justify-self: end; }
  .funnel-num { font-size: 2.8rem; }
}

/* ==========================================================
   3. PILARES
   ========================================================== */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 1040px; margin: 0 auto; }
.pillar {
  --c: var(--green); --cs: var(--green-soft);
  position: relative; padding: 18px 16px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--cs), var(--surface) 65%);
  border: 1px solid color-mix(in srgb, var(--c) 38%, transparent);
  transition: transform .25s ease, border-color .25s ease;
}
.pillar:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 65%, transparent); }
.pillar .ic { width: 30px; height: 30px; color: var(--c); margin-bottom: 12px; }
.pillar h3 { font-size: 1.05rem; }
.pillar p { margin-top: 4px; font-size: 0.88rem; color: var(--muted); line-height: 1.4; }
.pillar--green { --c: var(--green); --cs: var(--green-soft); }
.pillar--blue { --c: var(--blue); --cs: var(--blue-soft); }
.pillar--purple { --c: var(--purple); --cs: var(--purple-soft); }
.pillar--amber { --c: var(--amber); --cs: var(--amber-soft); }

.core {
  grid-column: 1 / -1; order: 0;
  padding: 22px 20px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line-2);
  box-shadow: var(--shadow), 0 0 60px -30px rgba(34, 201, 140, .45);
}
.pillar--l1, .pillar--l2 { order: -1; }
.pillar--r1, .pillar--r2 { order: 1; }
.core-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-align: center; }
.core-checks { display: grid; gap: 8px; margin: 16px 0; }
.core-checks li {
  display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); font-weight: 500;
}
.core-checks .ic { margin-left: auto; color: var(--green); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--green)); flex-shrink: 0; }
.dot--green { --c: var(--green); } .dot--blue { --c: var(--blue); } .dot--purple { --c: var(--purple); } .dot--amber { --c: var(--amber); } .dot--gray { --c: #8e97b3; }
.core-result {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 999px;
  background: var(--green); color: var(--green-ink); font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.95rem;
}
.core-result .ic { stroke-width: 2.6; }

@media (min-width: 600px) {
  .pillars { gap: 16px; }
  .pillar { padding: 22px 20px; }
  .core { max-width: 420px; width: 100%; justify-self: center; }
}

@media (min-width: 960px) {
  .pillars {
    grid-template-columns: 1fr 340px 1fr;
    grid-template-areas: "l1 core r1" "l2 core r2";
    column-gap: 64px; row-gap: 20px; align-items: center;
  }
  .pillar--l1 { grid-area: l1; } .pillar--l2 { grid-area: l2; }
  .pillar--r1 { grid-area: r1; } .pillar--r2 { grid-area: r2; }
  .core { grid-area: core; max-width: none; }
  .pillar { padding: 24px; }
  .pillar::after {
    content: ""; position: absolute; top: 50%; width: 64px; height: 2px;
    background: linear-gradient(90deg, var(--c), transparent); opacity: .6;
  }
  .pillar--l1::after, .pillar--l2::after { right: -65px; }
  .pillar--r1::after, .pillar--r2::after { left: -65px; transform: scaleX(-1); }
}

/* ==========================================================
   4. RANKING
   ========================================================== */
.ranking { display: grid; gap: 10px; justify-items: center; }
.ranking-phone { display: grid; justify-items: center; gap: 18px; order: -1; margin-bottom: 18px; }
.why-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  font-size: 0.86rem; color: var(--text); background: var(--surface); border: 1px solid var(--line-2);
}
.why-pill .ic { color: var(--purple); }

.legend { display: grid; gap: 10px; width: 100%; max-width: 520px; }
.legend-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.legend-item h3 { font-size: 0.98rem; }
.legend-item p { font-size: 0.86rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.legend-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; background: rgba(255, 255, 255, 0.05); }
.legend-ic .ic { width: 20px; height: 20px; }
.legend-ic--green { color: var(--green); background: var(--green-soft); }
.legend-ic--blue { color: var(--blue); background: var(--blue-soft); }
.legend-ic--purple { color: var(--purple); background: var(--purple-soft); }
.legend-ic--amber { color: var(--amber); background: var(--amber-soft); }
.legend-ic--white { color: var(--text); }

.fineprint { margin-top: 28px; text-align: center; font-size: 0.8rem; color: var(--muted-2); }

@media (max-width: 1023px) {
  .ranking { grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
  .ranking-phone { grid-column: 1 / -1; }
  .legend { max-width: none; }
}
@media (max-width: 639px) {
  .legend-item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; min-height: 142px; }
  .legend-item p { font-size: 0.84rem; }
}

@media (min-width: 1024px) {
  .ranking { grid-template-columns: 1fr auto 1fr; gap: 48px; align-items: center; }
  .ranking-phone { order: 0; margin-bottom: 0; }
  .legend { gap: 16px; max-width: 320px; }
  .legend--left { justify-self: end; }
  .legend--left .legend-item { flex-direction: row-reverse; text-align: right; }
  .legend--right { justify-self: start; }
  .legend-item { background: transparent; border-color: transparent; padding: 10px 0; }
}

/* ==========================================================
   5. APORTE (destaque)
   ========================================================== */
.section--spotlight {
  background:
    radial-gradient(55% 60% at 75% 50%, rgba(34, 201, 140, 0.14), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--green-line);
  border-bottom: 1px solid var(--line);
}
.aporte { display: grid; gap: 44px; justify-items: center; }
.aporte-copy { text-align: center; width: 100%; max-width: 560px; }
.aporte-copy h2 { font-size: clamp(2rem, 6.4vw, 3.4rem); font-weight: 800; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); margin: 32px 0; }
.flow li {
  position: relative; display: grid; justify-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(0.78rem, 2.8vw, 0.95rem);
}
.flow .ic {
  box-sizing: content-box; width: 22px; height: 22px; padding: 13px; border-radius: 16px;
  color: var(--text); background: var(--surface); border: 1px solid var(--line-2);
}
.flow li:not(:last-child)::after {
  content: ""; position: absolute; top: 24px; right: -5px; width: 8px; height: 8px;
  border-top: 2px solid var(--green); border-right: 2px solid var(--green); transform: rotate(45deg); opacity: .8;
}
.flow-end .ic { color: var(--green-ink); background: var(--green); border-color: var(--green); stroke-width: 2.4; }

.quote {
  padding: 18px 20px; border-radius: 16px; font-size: clamp(1rem, 2.6vw, 1.15rem); color: var(--muted); line-height: 1.5;
  background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line);
}
.quote strong { color: var(--text); font-weight: 600; }

@media (min-width: 960px) {
  .aporte { grid-template-columns: minmax(0, 1fr) auto; gap: 80px; align-items: center; max-width: 1040px; margin: 0 auto; }
  .aporte-copy { text-align: left; }
  .quote { border-left: 3px solid var(--green); border-radius: 4px 16px 16px 4px; }
  .aporte-phone .phone { --pw: 330px; }
}

/* ==========================================================
   6. REGRAS / CONFIGURAÇÕES
   ========================================================== */
.rules { display: grid; gap: 48px; }
.rules-copy { max-width: 520px; width: 100%; margin: 0 auto; }
.rules-copy h2, .rules-copy .kicker { text-align: left; }
.rules-copy h2 { margin-bottom: 0; }

.settings {
  margin-top: 28px; padding: 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-2);
}
.settings-rows { display: grid; }
.settings-rows > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.settings-rows > div:first-child { padding-top: 0; }
.settings-rows dt { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.95rem; }
.settings-rows dt .ic { width: 17px; height: 17px; }
.settings-rows dd { font-weight: 600; white-space: nowrap; }
.settings-label { margin: 18px 0 10px; font-size: 0.9rem; color: var(--muted); }

.seg { display: grid; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.seg li { padding: 10px 8px; text-align: center; font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.seg li.is-on { background: var(--purple-sel); color: var(--text); }
.seg--4 { grid-template-columns: repeat(4, 1fr); }
.seg--4 li + li { border-left: 1px solid var(--line-2); }
.seg--2x2 { grid-template-columns: 1fr 1fr; }
.seg--2x2 li:nth-child(even) { border-left: 1px solid var(--line-2); }
.seg--2x2 li:nth-child(n+3) { border-top: 1px solid var(--line-2); }

.rules-phones { position: relative; display: flex; justify-content: center; align-items: flex-start; }
.rules-phones .phone { margin: 0; }
.phone--back { display: none; }
.phone-tag {
  position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; white-space: nowrap;
  font-size: 0.86rem; font-weight: 500; color: var(--text);
  background: #1a1633; border: 1px solid rgba(154, 128, 245, 0.45); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8);
}
.phone-tag .ic { color: var(--purple); }

@media (min-width: 600px) {
  .rules-phones { min-height: 580px; }
  .phone--back { display: block; position: absolute; left: calc(50% + 10px); top: 40px; --pw: 240px; opacity: .5; filter: saturate(.8); }
  .phone--front { position: relative; margin-right: 180px !important; z-index: 1; }
}

@media (min-width: 960px) {
  .rules { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; max-width: 1080px; margin: 0 auto; }
  .rules-copy { margin: 0; }
  .rules-phones { min-height: 640px; }
  .phone--back { --pw: 250px; left: calc(50% - 10px); top: 30px; }
  .phone--front { margin-right: 180px !important; }
}

/* ==========================================================
   7. DESCUBRA (sugestões)
   ========================================================== */
.flow--3 { grid-template-columns: repeat(3, 1fr); max-width: 440px; margin: -8px auto 36px; }
.flow-end--purple .ic { color: var(--text); background: var(--purple-deep); border-color: rgba(154, 128, 245, 0.6); stroke-width: 2.2; }

.discover { display: flex; justify-content: center; align-items: center; gap: 28px; }
.discover-phone--list, .discover-mid { display: none; }

@media (min-width: 768px) {
  .discover-phone--list, .discover-mid { display: flex; }
  .discover-phone--list .phone { opacity: .75; }
  .discover-mid { flex-direction: column; align-items: center; gap: 14px; color: var(--green); }
  .discover-radar {
    display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
    background: var(--green-soft); border: 1px solid var(--green-line); box-shadow: 0 0 40px -10px rgba(34, 201, 140, .6);
  }
  .discover-radar .ic { width: 28px; height: 28px; }
  .discover-arrow { width: 28px; height: 28px; color: var(--muted); }
}
@media (min-width: 960px) {
  .discover { gap: 48px; }
  .discover-mid { gap: 18px; }
}

/* ==========================================================
   CTA INTERMEDIÁRIO
   ========================================================== */
.cta-mid { padding: var(--section-y) 0 calc(var(--section-y) * .9); }
.cta-panel {
  position: relative; overflow: hidden; max-width: 980px; margin: 0 auto; padding: 44px 18px; text-align: center;
  border-radius: 28px; border: 1px solid var(--green-line);
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(34, 201, 140, 0.16), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: 0 0 80px -40px rgba(34, 201, 140, .6);
}
.cta-panel h2 { font-size: clamp(1.8rem, 8.4vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.cta-panel p { margin: 16px auto 28px; max-width: 480px; color: var(--muted); font-size: 1.05rem; }
.cta-panel .btn { white-space: normal; }
@media (max-width: 400px) { .cta-panel .btn { padding-left: 20px; padding-right: 20px; font-size: 0.92rem; } }
@media (min-width: 960px) { .cta-panel { padding: 72px 48px; } }

/* ==========================================================
   OFERTA
   ========================================================== */
.price-card {
  max-width: 460px; margin: 0 auto; padding: 30px 18px 24px; text-align: center; border-radius: 28px;
  background: linear-gradient(180deg, rgba(34, 201, 140, 0.10), var(--surface) 45%);
  border: 1px solid var(--green-line);
  box-shadow: var(--shadow), 0 0 70px -35px rgba(34, 201, 140, .6);
}
@media (min-width: 480px) { .price-card { padding: 32px 26px 26px; } }
.price-product { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.price-badge { margin-top: 14px; }
.price-badge > span:not(.ph) {
  display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--green); background: var(--green-soft); border: 1px solid var(--green-line);
}
.price-value { margin-top: 16px; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 9vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.1; }
.price-terms { margin-top: 6px; color: var(--muted); font-size: 0.93rem; }
.price-strong { margin: 14px auto 24px; max-width: 320px; font-weight: 600; font-size: 0.98rem; line-height: 1.45; }
.price-activation { margin: -14px 0 24px; font-size: 0.84rem; color: var(--muted); }
.price-help { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.price-help[hidden] { display: none; }
.price-help p { margin-bottom: 10px; font-weight: 600; font-size: 0.93rem; }
.btn-whatsapp { background: rgba(37, 211, 102, 0.08); border-color: rgba(37, 211, 102, 0.4); color: #3ddc7e; }
.btn-whatsapp:hover { background: rgba(37, 211, 102, 0.16); border-color: #25d366; }
.btn-buy { min-height: 60px; padding-left: 18px; padding-right: 18px; font-size: 1.02rem; box-shadow: 0 14px 36px -12px rgba(34, 201, 140, 0.7); }
.price-security { margin-top: 14px; text-align: center; font-size: 0.84rem; color: var(--muted); }
.price-security .ic { width: 1.05em; height: 1.05em; color: var(--green); vertical-align: -0.18em; margin-right: 6px; }

/* Marcador de informação comercial pendente (substituir via CONFIG) */
.ph {
  display: inline-block; padding: 4px 10px; border: 1.5px dashed var(--amber); border-radius: 8px;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.8rem !important; font-weight: 700; letter-spacing: 0; line-height: 1.4;
  color: var(--amber); background: var(--amber-soft);
}

.guarantee {
  display: flex; gap: 16px; align-items: flex-start; max-width: 460px; margin: 20px auto 0; padding: 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-2);
}
.guarantee[hidden] { display: none; }
.guarantee .ic { width: 32px; height: 32px; color: var(--green); }
.guarantee p { margin-top: 4px; color: var(--muted); font-size: 0.92rem; }

.disclaimer { max-width: 560px; margin: 24px auto 0; text-align: center; font-size: 0.8rem; color: var(--muted-2); }

/* ==========================================================
   FAQ
   ========================================================== */
.faq { display: grid; gap: 10px; max-width: 780px; margin: 0 auto; }
.faq-item { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s ease; }
.faq-item[open] { border-color: var(--green-line); }
.faq-item summary {
  position: relative; display: block; cursor: pointer; list-style: none;
  padding: 18px 56px 18px 20px; font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 2px; margin-top: -1px; border-radius: 2px;
  background: var(--green); transition: transform .25s ease;
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-item summary:hover { color: var(--green-2); }
.faq-a { padding: 0 20px 20px; }
.faq-a p { color: var(--muted); font-size: 0.95rem; }

/* ==========================================================
   CTA FINAL
   ========================================================== */
.cta-final {
  position: relative; overflow: hidden; padding: var(--section-y) 0 0;
  background: radial-gradient(60% 70% at 70% 60%, rgba(34, 201, 140, 0.12), transparent 70%), var(--bg);
}
.cta-final-inner { display: grid; gap: 24px; }
.cta-final-copy { text-align: center; }
.cta-final h2 { font-size: clamp(2.2rem, 10.4vw, 3.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; }
.cta-final-copy p { margin: 16px auto 28px; max-width: 420px; color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.15rem); }
.cta-final-media img {
  width: 100%; max-width: 640px; margin: 0 auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 80%, transparent 100%), linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 80%, transparent 100%), linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect;
}

@media (min-width: 960px) {
  .cta-final { padding-top: 48px; }
  .cta-final-inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 24px; }
  .cta-final-copy { text-align: left; }
  .cta-final-copy p { margin-left: 0; }
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer { padding: 40px 0 36px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-inner { display: grid; gap: 22px; justify-items: center; text-align: center; }
.footer-by { margin-top: 6px; font-size: 0.86rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; }
.footer-links a { padding: 8px 10px; font-size: 0.9rem; color: var(--muted); border-radius: 8px; }
.footer-links a:hover { color: var(--text); }
.footer-legal { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; text-align: center; }
.footer-legal p { font-size: 0.78rem; color: #8089a3; max-width: 820px; margin: 0 auto; }

@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1fr auto; justify-items: start; text-align: left; align-items: center; }
  .footer-links { justify-content: flex-end; }
}

/* ---------- Barra de compra (mobile) ---------- */
.buy-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; align-items: center; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 16, 34, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-2);
  transform: translateY(110%); transition: transform .3s ease;
}
.buy-bar.is-visible { transform: translateY(0); }
.buy-bar-info { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
.buy-bar-name { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.buy-bar-price { font-size: 0.8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 960px) { .buy-bar { display: none; } }

/* ==========================================================
   ANIMAÇÕES (sutis)
   ========================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.js .hero-copy { animation: rise .7s ease both; }
.js .hero-media { animation: rise .9s .12s ease both; }
.js .hero-cta { animation: rise .8s .2s ease both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
