/* =================================================================
   NASCIMENTO TEAM — Landing page
   Paleta extraída de nascimentoteam.com (marca roxo/violeta #ba63ff)
   Tipografia: DM Sans
   ================================================================= */

:root {
  /* Marca / acento */
  --primary:        #ba63ff;
  --primary-light:  #c875ff;
  --primary-dark:   #8939bf;
  --primary-deep:   #59307a;

  /* Neutros escuros */
  --bg:        #0e0e0e;
  --bg-2:      #141414;
  --surface:   #181818;
  --surface-2: #1f1f1f;
  --border:    rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Texto */
  --text:        #ffffff;
  --text-soft:   #edf0f2;
  --text-muted:  #b3b3b3;
  --text-dim:    #808080;

  /* Apoio */
  --green:   #179151;
  --radius:  16px;
  --radius-lg: 24px;
  --maxw:    1280px; /* largura do conteúdo (desktop); ajustada por faixa no fim do arquivo */
  --shadow:  0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --glow:    0 0 0 1px rgba(186, 99, 255, 0.25), 0 18px 50px -12px rgba(186, 99, 255, 0.4);
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);

  /* Fundo de pontos (estilização sutil estilo Atomik) */
  --dot-bg:   radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.4px);
  --dot-size: 22px 22px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  background-image: var(--dot-bg);
  background-size: var(--dot-size);
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: -0.01em;
  overflow-x: clip; /* 'clip' contém overflow horizontal sem virar scroll-container (preserva sticky) */
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; color: var(--text); font-weight: 700; }

/* Equilíbrio de quebra de linha — evita palavras viúvas */
h1, h2, h3, h4, blockquote, summary, .eyebrow, .tl-tag { text-wrap: balance; }
p, li, figcaption, .hero__subtitle, .section-head__note { text-wrap: pretty; }

::selection { background: var(--primary); color: #fff; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: min(820px, var(--maxw)); }

.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--alt { background-color: var(--bg-2); background-image: var(--dot-bg); background-size: var(--dot-size); border-block: 1px solid var(--border); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 14px;
}

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h1,
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.6rem); }
.section-head__note { margin-top: 14px; color: var(--text-muted); font-size: 1rem; }

.text-grad {
  background: linear-gradient(100deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px; --pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 0.96rem;
  text-transform: none; letter-spacing: 0.01em;
  cursor: pointer; border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn--sm  { --pad-y: 10px; --pad-x: 20px; font-size: 0.9rem; }
.btn--lg  { --pad-y: 17px; --pad-x: 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: linear-gradient(100deg, #6d28a8 0%, #9b3fd4 50%, #cd9cf5 100%);
  color: #fff;
  border-color: rgba(221, 194, 247, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 8px 24px -8px rgba(155, 63, 212, 0.6),
    0 0 32px -2px rgba(186, 99, 255, 0.5),
    0 0 64px 4px rgba(186, 99, 255, 0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 12px 30px -8px rgba(155, 63, 212, 0.78),
    0 0 42px 0 rgba(186, 99, 255, 0.62),
    0 0 84px 8px rgba(186, 99, 255, 0.32);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--primary); background: rgba(186, 99, 255, 0.08); transform: translateY(-2px); }

.btn--whatsapp {
  background: linear-gradient(100deg, #1f8f5f 0%, #2fb574 50%, #b6e8cd 100%);
  border-color: rgba(190, 240, 210, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 8px 24px -8px rgba(37, 180, 110, 0.6),
    0 0 32px -2px rgba(45, 210, 120, 0.5),
    0 0 64px 4px rgba(45, 210, 120, 0.25);
}
.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 12px 30px -8px rgba(37, 180, 110, 0.78),
    0 0 42px 0 rgba(45, 210, 120, 0.62),
    0 0 84px 8px rgba(45, 210, 120, 0.32);
}

/* ============================================================= */
/* SCARCITY BAR                                                   */
/* ============================================================= */
.scarcity-bar {
  background: linear-gradient(90deg, var(--primary-deep), var(--primary-dark));
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
  position: relative; z-index: 60;
}
.scarcity-bar__inner { display: flex; align-items: center; justify-content: center; gap: 10px; padding-block: 9px; }
.scarcity-bar strong { font-weight: 700; }
.scarcity-bar__dot {
  width: 8px; height: 8px; border-radius: 50%; background: #fff; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); }
  70%  { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* ============================================================= */
/* HEADER / NAV                                                   */
/* ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 14, 14, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); background: rgba(14, 14, 14, 0.9); }
.site-header__inner { display: flex; align-items: center; gap: 20px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em;
  box-shadow: 0 6px 18px -6px rgba(186, 99, 255, 0.7);
}
.brand__name { font-size: 1.08rem; color: var(--text); letter-spacing: -0.02em; }
.brand__name span { color: var(--primary-light); }

.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 9px; font-size: 0.95rem; color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.header-cta { margin-left: 6px; text-transform: none; letter-spacing: normal; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--border-strong); border-radius: 11px;
  cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================= */
/* HERO                                                          */
/* ============================================================= */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 104px); }
.hero__glow {
  position: absolute; top: -25%; right: -10%; width: 70vw; height: 70vw; max-width: 820px; max-height: 820px;
  background: radial-gradient(circle, rgba(186, 99, 255, 0.28), transparent 62%);
  filter: blur(20px); pointer-events: none; z-index: 0;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: start;
}
.hero__title { font-size: clamp(2.1rem, 5vw, 3.5rem); margin-bottom: 22px; }
.hero__subtitle { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--text-muted); max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero__microcopy { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--text-dim); }
.hero__microcopy svg { color: var(--primary-light); flex-shrink: 0; }

.hero__trust {
  display: flex; gap: 14px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border); flex-wrap: wrap;
}
.hero__trust li { display: flex; flex-direction: column; }
.hero__trust strong { font-size: 1.35rem; color: var(--text); font-weight: 700; }
.hero__trust span { font-size: 0.85rem; color: var(--text-dim); }

.hero__media { position: relative; }
.hero__badge {
  position: absolute; bottom: 22px; left: -14px;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  border-radius: 16px; padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow); backdrop-filter: blur(8px);
}
.hero__badge-num { font-size: 1.6rem; font-weight: 700; color: var(--primary-light); line-height: 1; }
.hero__badge-label { font-size: 0.8rem; color: var(--text-muted); line-height: 1.25; }

/* Placeholder de foto */
.photo-placeholder {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 120% at 70% 0%, rgba(186, 99, 255, 0.28), transparent 55%),
    linear-gradient(160deg, var(--surface-2), #101010);
  border: 1px solid var(--border-strong);
  display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center;
  color: var(--text-dim); overflow: hidden; box-shadow: var(--shadow);
}
.photo-placeholder::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(255, 255, 255, 0.015) 18px, rgba(255, 255, 255, 0.015) 36px);
  pointer-events: none;
}
.photo-placeholder svg { color: var(--primary); opacity: 0.55; }
.photo-placeholder figcaption { font-size: 0.85rem; }
.photo-placeholder small { font-size: 0.72rem; color: var(--text-dim); opacity: 0.7; }
.hero__media img, .about__media img { width: 100%; display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero__photo {
  aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%;
  border: 2px solid rgba(186, 99, 255, 0.6);
  box-shadow: var(--shadow), 0 0 40px -12px rgba(186, 99, 255, 0.5);
}

/* ============================================================= */
/* PARA QUEM É — cards "é para você que"                          */
/* ============================================================= */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.aud-card {
  display: flex; flex-direction: column; gap: 16px; min-height: 196px;
  padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.aud-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.aud-tag {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 5px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); border-radius: 999px;
}
.aud-tag__icon {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  color: var(--primary-light); background: rgba(186, 99, 255, 0.16);
}
.aud-tag__pill {
  padding: 7px 14px; border-radius: 999px; white-space: nowrap;
  background: linear-gradient(100deg, var(--primary-dark), var(--primary));
  color: #fff; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.aud-tag__pill b { opacity: 0.65; margin-left: 3px; }
.aud-card p { color: var(--text-soft); font-size: 1rem; }
/* célula de foto (último box) */
.aud-card--photo { padding: 0; overflow: hidden; min-height: 220px; position: relative; }
.aud-card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; display: block; }
.aud-photo {
  width: 100%; height: 100%; min-height: 220px; display: grid; place-content: center; justify-items: center; gap: 10px;
  text-align: center; color: var(--text-dim); font-size: 0.82rem;
  background:
    radial-gradient(120% 120% at 70% 10%, rgba(186, 99, 255, 0.3), transparent 55%),
    linear-gradient(160deg, var(--surface-2), #101010);
}
.aud-photo svg { color: var(--primary); opacity: 0.5; }
.aud-photo small { color: var(--text-dim); opacity: 0.7; font-size: 0.72rem; }

/* Caixa de alerta (honestidade) — amarela, fundo escuro */
.honesty {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 22px;
  padding: 22px 26px; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(245, 185, 66, 0.09), rgba(245, 185, 66, 0.015));
  border: 1px solid rgba(245, 185, 66, 0.5);
}
.honesty svg { color: #f5b942; flex-shrink: 0; margin-top: 3px; }
.honesty p { color: var(--text-soft); }
.honesty strong { color: #f7cf86; }

/* ============================================================= */
/* PILARES                                                       */
/* ============================================================= */
/* Layout 2 colunas: imagem sticky à esquerda + pilha de cards à direita */
.metodo-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.metodo-aside { position: sticky; top: 96px; align-self: start; }
.metodo-aside .section-head { margin-bottom: 22px; }
.metodo-photo {
  position: relative; aspect-ratio: 4 / 5; max-height: 62vh; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-strong); box-shadow: var(--shadow); color: var(--text-dim);
  background:
    radial-gradient(120% 120% at 70% 0%, rgba(186, 99, 255, 0.28), transparent 55%),
    linear-gradient(160deg, var(--surface-2), #101010);
  display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center;
}
.metodo-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.metodo-photo svg { color: var(--primary); opacity: 0.5; }
.metodo-photo small { font-size: 0.72rem; opacity: 0.7; }
.metodo-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.metodo-photo.is-empty img { display: none; }
.flip-h { transform: scaleX(-1); }

/* Moldura de foto reutilizável (placeholder gracioso até o arquivo existir) */
.photo-frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  background:
    radial-gradient(120% 120% at 70% 0%, rgba(186, 99, 255, 0.26), transparent 55%),
    linear-gradient(160deg, var(--surface-2), #101010);
}
.photo-frame--purple { border: 2px solid rgba(186, 99, 255, 0.6); box-shadow: var(--shadow), 0 0 40px -12px rgba(186, 99, 255, 0.5); }
.photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.photo-frame.is-empty img { display: none; }
.photo-frame__note { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 16px; text-align: center; color: var(--text-dim); font-size: 0.85rem; }
.photo-frame__note svg { color: var(--primary); opacity: 0.5; }
.photo-frame__note small { color: var(--text-dim); opacity: 0.7; font-size: 0.72rem; }

/* Pilha sticky: cada card encosta no topo e o próximo sobrepõe o anterior.
   Obs.: o pai precisa ser bloco (sticky não funciona em item flex). */
.pillars { display: block; }
.pillar {
  position: sticky; padding: clamp(28px, 3.4vw, 44px);
  min-height: 34vh; margin-bottom: 22px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  background:
    radial-gradient(135% 120% at 100% 0%, rgba(186, 99, 255, 0.16), transparent 52%),
    linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 -14px 44px -22px rgba(0, 0, 0, 0.9), 0 28px 56px -30px rgba(0, 0, 0, 0.95);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.pillar:hover { border-color: rgba(186, 99, 255, 0.42); }
.pillar:nth-child(1) { top: 96px; }
.pillar:nth-child(2) { top: 118px; }
.pillar:nth-child(3) { top: 140px; }
.pillar::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light) 42%, transparent);
}
.pillar__icon, .pillar h3, .pillar p { position: relative; z-index: 1; }
.pillar__num {
  position: absolute; z-index: 0; top: -0.22em; right: 0.02em;
  font-size: clamp(6.5rem, 13vw, 10.5rem); font-weight: 800; line-height: 1;
  letter-spacing: -0.05em; color: transparent;
  -webkit-text-stroke: 1.5px rgba(186, 99, 255, 0.16);
  pointer-events: none; user-select: none;
}
.pillar__icon {
  width: 58px; height: 58px; display: grid; place-items: center;
  margin-bottom: 22px; border-radius: 16px; color: var(--primary-light);
  background: linear-gradient(160deg, rgba(186, 99, 255, 0.24), rgba(186, 99, 255, 0.05));
  border: 1px solid rgba(186, 99, 255, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 28px -14px rgba(186, 99, 255, 0.7);
}
.pillar h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); margin-bottom: 12px; }
.pillar p { color: var(--text-muted); font-size: 1rem; max-width: 48ch; }

/* ============================================================= */
/* COMO FUNCIONA — timeline vertical (estilo ronaldox.com.br)     */
/* ============================================================= */
.timeline-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.timeline-intro { position: sticky; top: 100px; margin-bottom: 0; }
.timeline { position: relative; display: flex; flex-direction: column; }
.tl-step { position: relative; display: flex; gap: 22px; padding-bottom: 38px; }
.tl-step:last-child { padding-bottom: 0; }
/* linha vertical conectando os badges */
.tl-step::before {
  content: ""; position: absolute; left: 23px; top: 28px; bottom: -10px; width: 2px;
  background: linear-gradient(var(--primary), rgba(186, 99, 255, 0.12));
}
.tl-step:last-child::before { display: none; }
.tl-badge {
  position: relative; z-index: 1; flex-shrink: 0; width: 48px; height: 48px; border-radius: 15px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, var(--primary-light), var(--primary-dark));
  box-shadow: 0 0 0 6px rgba(186, 99, 255, 0.08), 0 12px 28px -8px rgba(186, 99, 255, 0.75);
}
.tl-body { padding-top: 3px; }
.tl-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary-light); margin-bottom: 7px; }
.tl-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.tl-body p { color: var(--text-muted); font-size: 0.98rem; }

/* ============================================================= */
/* FEATURES (o que está incluso)                                 */
/* ============================================================= */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 30px 26px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.feature__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  background: rgba(186, 99, 255, 0.12); color: var(--primary-light);
}
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 0.95rem; }

/* ============================================================= */
/* DEPOIMENTOS / CARROSSEL                                        */
/* ============================================================= */
.carousel { position: relative; display: flex; align-items: center; gap: 12px; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc(33.333% - 14px);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 4px 18px; flex: 1; min-width: 0; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.testimonial {
  scroll-snap-align: start; padding: 28px 26px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 16px;
}
.testimonial__stars { color: var(--primary-light); letter-spacing: 3px; font-size: 0.95rem; }
.testimonial blockquote { color: var(--text-soft); font-size: 1.02rem; line-height: 1.55; flex: 1; }
.testimonial__author { display: flex; align-items: center; gap: 12px; padding-top: 6px; border-top: 1px solid var(--border); }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-deep));
}
.testimonial__author strong { display: block; color: var(--text); font-size: 0.98rem; }
.testimonial__author span { font-size: 0.85rem; color: var(--text-dim); }

.carousel__nav {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text);
  display: grid; place-items: center; transition: background 0.2s, border-color 0.2s, transform 0.2s, opacity 0.2s;
}
.carousel__nav:hover { background: var(--primary); border-color: var(--primary); transform: scale(1.05); }
.carousel__nav:disabled { opacity: 0.35; cursor: default; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.carousel__dots button {
  width: 8px; height: 8px; border-radius: 50%; border: none; cursor: pointer; padding: 0;
  background: var(--border-strong); transition: background 0.2s, width 0.2s;
}
.carousel__dots button.is-active { background: var(--primary-light); width: 22px; border-radius: 4px; }

/* ============================================================= */
/* DEPOIMENTOS — marquee infinito full-width com fade nas bordas  */
/* ============================================================= */
#depoimentos .container { margin-bottom: clamp(30px, 4vw, 48px); }
.marquee {
  width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee-scroll 80s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track,
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__item {
  flex-shrink: 0; height: clamp(300px, 40vw, 400px); width: auto;
  margin-right: 18px; border-radius: 16px;
  border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  user-select: none; -webkit-user-drag: none;
}
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ============================================================= */
/* PLANOS                                                        */
/* ============================================================= */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 30px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: border-color 0.3s, transform 0.3s var(--ease);
}
.plan:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.plan--featured {
  border-color: rgba(186, 99, 255, 0.45);
  background: linear-gradient(180deg, rgba(186, 99, 255, 0.08), var(--surface) 40%);
  box-shadow: var(--glow);
}
.plan--featured:hover { border-color: var(--primary); }
.plan__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark)); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(186, 99, 255, 0.8);
}
.plan__name { font-size: 1.4rem; margin-bottom: 6px; }
.plan__tagline { color: var(--text-muted); font-size: 0.95rem; min-height: 2.8em; }
.plan__price { display: flex; align-items: baseline; gap: 3px; margin: 18px 0 4px; color: var(--text); }
.plan__currency { font-size: 1.1rem; font-weight: 600; color: var(--text-muted); }
.plan__value { font-size: 2.6rem; font-weight: 700; line-height: 1; }
.plan__period { font-size: 0.95rem; color: var(--text-dim); }
.plan__cash { margin-top: 4px; color: var(--text-dim); font-size: 0.85rem; }
.plan__list { display: grid; gap: 11px; margin: 20px 0 26px; }
.plan__list li { position: relative; padding-left: 28px; color: var(--text-soft); font-size: 0.94rem; }
.plan__list li.is-in::before {
  content: ""; position: absolute; left: 4px; top: 7px; width: 8px; height: 4px;
  border-left: 2px solid var(--primary-light); border-bottom: 2px solid var(--primary-light); transform: rotate(-45deg);
}
.plan__list li.is-out { color: var(--text-dim); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.2); }
.plan__list li.is-out::before {
  content: "\00d7"; position: absolute; left: 5px; top: 0; color: var(--text-dim); font-size: 0.95rem; line-height: 1.5;
}
.plan .btn { margin-top: auto; }
.plans__note { text-align: center; margin-top: 28px; color: var(--text-muted); font-size: 0.92rem; max-width: 760px; margin-inline: auto; }
.plans__note a { color: var(--primary-light); font-weight: 600; white-space: nowrap; display: inline-block; margin-top: 6px; }
.plans__note a:hover { text-decoration: underline; }
/* botão que leva da home para a página /planos */
.plans__cta { text-align: center; margin-top: 22px; }

/* link de volta para a home, na página /planos */
.plans__back { text-align: center; margin-top: 26px; font-size: 0.9rem; }
.plans__back a { color: var(--text-dim); }
.plans__back a:hover { color: var(--primary-light); text-decoration: underline; }

/* Cabeçalho centralizado + alternador de tipo de plano */
.section-head--center { max-width: 760px; margin-inline: auto; text-align: center; }
.plan-switch {
  position: relative;
  display: flex; width: fit-content; max-width: 100%; gap: 4px; padding: 5px;
  margin: 0 auto clamp(28px, 4vw, 40px);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
}
.plan-switch__thumb {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; z-index: 0; border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  box-shadow: 0 6px 16px -6px rgba(186, 99, 255, 0.7);
  transition: transform 0.35s var(--ease), width 0.35s var(--ease);
}
.plan-switch__btn {
  position: relative; z-index: 1;
  border: none; background: transparent; color: var(--text-muted); cursor: pointer;
  font: inherit; font-weight: 600; font-size: 0.95rem; padding: 11px 22px; border-radius: 999px;
  transition: color 0.25s; white-space: nowrap;
}
.plan-switch__btn span { font-weight: 400; opacity: 0.75; }
.plan-switch__btn.is-active { color: #fff; }

/* transição suave (slide) entre os grupos de planos */
[data-plan-group] { transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
[data-plan-group].is-leaving { opacity: 0; transform: translateX(-28px); }
[data-plan-group].is-entering { opacity: 0; transform: translateX(28px); }
.plans--2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; }
.plans__intro { max-width: 720px; margin: 0 auto 26px; text-align: center; color: var(--text-muted); }
.plans__intro strong { color: var(--text); }
.is-hidden { display: none !important; }

/* ============================================================= */
/* SOBRE                                                         */
/* ============================================================= */
.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.about__media { position: relative; }
.about__media.photo-frame { border-radius: 16px; }
/* a moldura fica bem mais estreita que a foto, então o recorte é lateral:
   o 14% mantém o Henrique enquadrado em vez de cortar pela esquerda */
.about__media img { object-position: 14% center; }
.about__content h2 { font-size: clamp(2rem, 3.4vw, 2.5rem); margin-bottom: 20px; }
.about__content p { color: var(--text-muted); margin-bottom: 16px; }
.about__content strong { color: var(--text); }
.about__highlight {
  margin-top: 22px !important; padding: 18px 22px; border-left: 3px solid var(--primary);
  background: rgba(186, 99, 255, 0.06); border-radius: 0 12px 12px 0;
  color: var(--text-soft) !important; font-size: 1.02rem;
}
/* Desktop: foto da bio acompanha a altura do bloco de texto */
@media (min-width: 1024px) {
  .about__media.photo-frame { aspect-ratio: auto; height: 100%; }
}

/* ============================================================= */
/* FAQ                                                           */
/* ============================================================= */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.25s;
}
.faq__item[open] { border-color: var(--border-strong); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 600; color: var(--text); font-size: 1.05rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--primary-light); transition: transform 0.3s var(--ease);
  line-height: 1;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__answer { padding: 0 24px 22px; color: var(--text-muted); overflow: hidden; transition: height 0.32s var(--ease); }

/* ============================================================= */
/* CTA FINAL                                                     */
/* ============================================================= */
.final-cta { position: relative; overflow: hidden; padding-block: clamp(72px, 10vw, 130px); text-align: center; }
.final-cta__glow {
  position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 50% 0%, rgba(186, 99, 255, 0.22), transparent 65%);
  pointer-events: none;
}
.final-cta__inner { position: relative; z-index: 1; max-width: min(680px, var(--maxw)); margin-inline: auto; }
.final-cta h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: 18px; }
.final-cta p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 32px; }
.final-cta__micro { font-size: 0.9rem !important; color: var(--text-dim) !important; margin-top: 20px; margin-bottom: 0 !important; }

/* ============================================================= */
/* RODAPÉ                                                        */
/* ============================================================= */
.site-footer { border-top: 1px solid var(--border); padding-block: 48px; background-color: var(--bg-2); background-image: var(--dot-bg); background-size: var(--dot-size); }
.site-footer__inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.site-footer__tag { color: var(--text-muted); max-width: 460px; font-size: 0.95rem; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.site-footer__nav a { color: var(--text-muted); font-size: 0.95rem; transition: color 0.2s; }
.site-footer__nav a:hover { color: var(--primary-light); }
.site-footer__copy { color: var(--text-dim); font-size: 0.85rem; }

/* ============================================================= */
/* WHATSAPP FLUTUANTE                                             */
/* ============================================================= */
.wa-float {
  position: fixed; right: 30px; bottom: 30px; z-index: 70;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: #25d366;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42);
  animation: floatBtn 3s ease-in-out infinite;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.wa-float::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.35);
  animation: pulseRing 2s ease-out infinite;
}
.wa-float svg { position: relative; }
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.6);
  animation-play-state: paused;
}
@keyframes floatBtn { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes pulseRing { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.5); opacity: 0; } }
@media (max-width: 600px) { .wa-float { right: 18px; bottom: 18px; width: 52px; height: 52px; } }
@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
  .wa-float::before { display: none; }
}

/* ============================================================= */
/* SCROLL REVEAL                                                  */
/* ============================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================= */
/* RESPONSIVO — largura do conteúdo por dispositivo               */
/*   Desktop  (>=1440px)   -> 1280px                              */
/*   Notebook (1024-1439)  ->  900px                             */
/*   Tablet   (768-1023)   ->  800px                             */
/*   Mobile   (<768px)     ->  400px                             */
/* ============================================================= */
@media (max-width: 1439px) {
  :root { --maxw: 900px; }
  /* planos empilham (3 colunas só no desktop largo) */
  .plans, .plans--2 { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan--featured { order: -1; } /* "Mais vantajoso" sempre em primeiro quando empilhado */
}
@media (max-width: 1023px) { :root { --maxw: 800px; } }
@media (max-width: 767px)  { :root { --maxw: 400px; } }

/* Tablet e abaixo: menu vira hambúrguer, hero/sobre empilham, 2 colunas */
@media (max-width: 1023px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 4px;
    padding: 16px 24px 22px; margin: 0; background: rgba(14, 14, 14, 0.98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
  }
  .nav.is-open a { padding: 12px 14px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 420px; margin-inline: auto; }
  .hero__badge { left: auto; right: 14px; }
  .about { grid-template-columns: 1fr; }
  .about__media { width: min(360px, 100%); margin-inline: auto; }
  .features { grid-template-columns: 1fr 1fr; }
  .timeline-wrap { grid-template-columns: 1fr; }
  .timeline-intro { position: static; }
  .audience { grid-template-columns: 1fr 1fr; }
  .metodo-wrap { grid-template-columns: 1fr; }
  .metodo-aside { position: static; }
  .metodo-photo { max-height: 46vh; margin-top: 4px; }
  .carousel__track { grid-auto-columns: calc(50% - 10px); }
}

@media (max-width: 767px) {
  /* Header mobile: logo + menu hambúrguer (sem botão de WhatsApp) */
  .scarcity-bar__dot { display: none; }
  .site-header__inner { gap: 10px; }
  .brand__name { font-size: 1rem; white-space: nowrap; }
  .nav-toggle { margin-left: auto; }
  /* Primeira dobra: apenas o CTA de contato, em verde */
  .hero__actions .btn--ghost { display: none; }
  .hero__actions .btn--primary {
    background: linear-gradient(100deg, #1f8f5f 0%, #2fb574 50%, #b6e8cd 100%);
    border-color: rgba(190, 240, 210, 0.6);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.35),
      0 8px 24px -8px rgba(37, 180, 110, 0.6),
      0 0 32px -2px rgba(45, 210, 120, 0.5);
  }
  .audience { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .carousel__track { grid-auto-columns: 88%; }
  .carousel__nav { display: none; }
  .plan-switch { width: 100%; }
  .plan-switch__btn { flex: 1; padding: 11px 10px; font-size: 0.85rem; }
  .plan-switch__btn span { display: none; }
  body { font-size: 16px; }

  /* Usa toda a largura do boxed de 400px */
  .container { padding-inline: 14px; }
  /* Textos de corpo um pouco menores para reduzir o número de linhas */
  .hero__subtitle, .section-head__note, .plans__intro, .plans__note,
  .aud-card p, .pillar p, .plan__tagline, .plan__list li,
  .about__content p, .faq__answer p, .tl-body p, .honesty p {
    font-size: 0.92rem;
  }

  /* Depoimentos no mobile: slider slide a slide com scroll-snap.
     O marquee infinito (animação de transform num track gigante) travava em
     celulares mais fracos, então aqui ele é desligado e quem avança é o
     autoplay do script.js, um slide por vez. */
  .marquee {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee::-webkit-scrollbar { display: none; }
  .marquee__track {
    animation: none;
    will-change: auto;
    padding-inline: 10vw; /* deixa o 1º e o último slide centralizarem */
  }
  /* as cópias que só existiam para o loop infinito não são usadas no mobile */
  .marquee__item[aria-hidden="true"] { display: none; }
  .marquee__item {
    width: min(80vw, 300px); height: auto; margin-right: 12px;
    scroll-snap-align: center;
  }
}

@media (max-width: 420px) {
  .container { padding-inline: 14px; }
  .hero__trust { gap: 18px; }
  .btn--lg { --pad-x: 24px; }
}

/* Acessibilidade: reduzir movimento */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
