/* ==========================================================
   Design system AUVP — tema Escola (modo escuro)
   Referência: central-produtos.vercel.app/design-system
   ========================================================== */
:root {
  /* Cores (tokens do tema Escola) */
  --bg: #000000;                          /* --background */
  --card: #0f0f0f;                        /* --card: 0 0% 6% */
  --card-2: #1b1b1b;                      /* card sobre dobra preta */
  --muted-bg: #1a1a1a;                    /* --muted */
  --ink: #f7f6f2;                         /* --foreground: 45 25% 96% */
  --muted: #bab5ab;                       /* --muted-foreground: 40 10% 70% */
  --line: #423924;                        /* --border: 42 30% 20% */
  --line-soft: rgba(66, 57, 36, 0.5);
  --gold: #f6c655;                        /* --primary / --brand: 42 90% 65% */
  --gold-hover: #fad97f;                  /* --brand-hover: 42 95% 75% */
  --gold-from: #edb32c;                   /* --brand-gradient-from */
  --gold-to: #734d0d;                     /* --brand-gradient-to */
  --gold-soft: rgba(246, 198, 85, 0.1);
  --on-gold: #141414;                     /* --primary-foreground */
  --spotlight: rgba(246, 198, 85, 0.07);  /* --spotlight */
  --todo: #f59e0b;

  /* Tipografia */
  --font-display: "Anek Latin", sans-serif;
  --font-body: "Roboto", sans-serif;
  --font-ui: "Sora", sans-serif;

  /* Forma e movimento */
  --radius: 12px;       /* cards: sempre 12px */
  --radius-panel: 16px;
  --radius-btn: 5px;    /* botões: 5px */
  --dur: 240ms;         /* padrão do sistema */
  --dur-lp: 320ms;      /* Escola LP: cards translúcidos e destaques */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }
[hidden] { display: none !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  /* Escala pelo menor lado da tela, para caber em 16:9 no Meet */
  font-size: clamp(14px, min(1.35vw, 2.4vh), 26px);
  line-height: 1.5;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
.ph, .ph-fill { line-height: 1; }

/* ==========================================================
   Deck e slides
   ========================================================== */
.deck { position: relative; height: 100dvh; }

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 5.5em 6vw;
  overflow-x: hidden;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateX(40px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
  background: radial-gradient(ellipse at 100% 0%, var(--spotlight), transparent 55%), var(--bg);
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.slide.is-past { transform: translateX(-40px); }

.slide__inner { position: relative; width: 100%; max-width: 68em; }
.narrow { max-width: 44em; }
.center { text-align: center; }

.slide--cover,
.slide--divider {
  text-align: center;
  background: radial-gradient(ellipse at 50% 120%, rgba(246, 198, 85, 0.16), transparent 60%), var(--bg);
}
.slide--cover .slide__inner,
.slide--divider .slide__inner { max-width: 50em; }

/* Entrada escalonada dos elementos do slide ativo */
.slide__inner > *,
.split > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.slide.is-active .slide__inner > *,
.slide.is-active .split > * { opacity: 1; transform: none; }
.slide.is-active .slide__inner > *:nth-child(2) { transition-delay: 0.08s; }
.slide.is-active .slide__inner > *:nth-child(3) { transition-delay: 0.16s; }
.slide.is-active .slide__inner > *:nth-child(4) { transition-delay: 0.24s; }
.slide.is-active .slide__inner > *:nth-child(5) { transition-delay: 0.32s; }

/* Fragmentos: revelados um a um pela seta → */
.fragment:not([data-fragment="state"]) {
  opacity: 0 !important;
  transform: translateY(12px) !important;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease) !important;
}
.fragment.is-visible:not([data-fragment="state"]) { opacity: 1 !important; transform: none !important; }

/* ==========================================================
   Tipografia
   ========================================================== */
h1, h2, .display, .card__title, .card__value, .fact__value, .stat-big,
.chat-card__title, .badge-top1__num {
  font-family: var(--font-display);
}

/* Label — Roboto Bold uppercase */
.eyebrow, .label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.eyebrow { color: var(--gold); margin-bottom: 0.9em; }
.label { color: var(--muted); margin-bottom: 0.7em; display: flex; align-items: center; gap: 0.4em; }

h1, h2 { font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
/* sem viúvas: a última linha nunca fica com uma palavra só (o JS garante nos navegadores antigos) */
p, li, .hw__title, .hw__text { text-wrap: pretty; }
.nowrap { white-space: nowrap; }
h2 { font-size: 2.7em; margin-bottom: 0.65em; max-width: 22em; }
.center h2 { margin-inline: auto; }

.display { font-size: 4.8em; font-weight: 800; margin-bottom: 0.25em; }
.display--md { font-size: 4em; }
.slide--divider .display { font-size: 4.4em; }

.lead { font-size: 1.3em; font-weight: 400; color: var(--muted); max-width: 32em; }
.slide--cover .lead { margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 0.85em; }
.gold { color: var(--gold); }
strong { font-weight: 700; }

/* Trechos a preencher/confirmar: sublinhado tracejado laranja */
.todo {
  text-decoration: underline dashed var(--todo);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
body.hide-todo .todo { text-decoration: none; }

.logo { margin: 0 auto 2.4em; height: auto; }
.logo--xl { width: 16em; }
.logo--lg { width: 12em; margin-bottom: 2em; }

.divider__num {
  display: block;
  font-family: var(--font-display);
  font-size: 9em;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-to) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.1em;
}

/* ==========================================================
   Componentes
   ========================================================== */
.grid { display: grid; gap: 1em; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Card — radius 12px, baixo contraste com a dobra, hover oficial */
.card {
  padding: 1.5em 1.7em;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform var(--dur-lp) ease, box-shadow var(--dur-lp) ease, border-color var(--dur-lp) ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--line); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); }

/* Card translúcido (Escola LP) */
.glass,
.theme-capital .card {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

/* Card de destaque: filete dourado + ícone em círculo */
.card--feature { padding: 1.9em 1.9em 2.2em; }
.card--feature::before {
  content: "";
  display: block;
  width: 2.2em;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  margin-bottom: 1.3em;
}
.card--feature .card__title { font-size: 1.45em; margin: 0.9em 0 0.5em; }
.feature__icon {
  display: grid;
  place-items: center;
  width: 3em;
  height: 3em;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 1.3em;
}

.card__icon { display: block; font-size: 1.8em; color: var(--gold); margin-bottom: 0.5em; }
.card__value { font-size: 1.4em; font-weight: 600; line-height: 1.25; }
.card__title { font-size: 1.3em; font-weight: 700; line-height: 1.2; margin-bottom: 0.3em; }

.callout {
  margin-top: 1.5em;
  padding: 1em 1.4em;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  background: var(--gold-soft);
  font-size: 1.05em;
}

/* Botão — Sora Bold caixa alta, radius 5px, hover revela a borda */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 1.8em;
  padding: 1.1em 2em;
  border: 1px solid var(--gold);
  border-radius: var(--radius-btn);
  background: var(--gold);
  color: var(--on-gold);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.8em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background var(--dur) ease, color var(--dur) ease;
}
.btn:hover { background: transparent; color: var(--gold); }
.btn .ph { font-size: 1.3em; }
.btn--small { margin-top: 0; padding: 0.85em 1.5em; }

/* Links ainda não configurados em js/config.js */
[data-link].is-pending { cursor: not-allowed; }
.btn.is-pending { background: var(--muted-bg); border: 1px dashed var(--todo); color: var(--muted); }

/* ---------- Layout em duas colunas ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4em;
  align-items: center;
}
.split--media { grid-template-columns: 1.35fr 1fr; }
.split--qr { grid-template-columns: 1.4fr 1fr; }

/* ---------- Informações básicas: foto diagramada ---------- */
.photo-bleed {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56%;
  margin: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
.photo-bleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 30%;
  transform: scale(1.06);
  transition: transform 6s ease-out;
}
.slide.is-active .photo-bleed img { transform: scale(1); }
.photo-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, transparent 35%);
}

.photo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3em;
  align-items: center;
  min-height: calc(100dvh - 11em);
}
.photo-layout__content { max-width: 30em; }

/* cada informação num bloco próprio, separado por linhas */
.photo-layout__content h2 { margin-bottom: 0.8em; }
.facts { list-style: none; display: grid; }
.fact { padding: 1em 0; }
.fact .label { color: var(--gold); margin-bottom: 0.5em; }
.fact .label .ph { font-size: 1.4em; }
.fact__value { font-size: 2.2em; font-weight: 800; line-height: 1; margin-bottom: 0.3em; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45em; margin-top: 0.6em; }
.chips li {
  padding: 0.3em 0.8em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  font-size: 0.85em;
  white-space: nowrap;
}

/* ---------- Aviso do AUVP Sempre (popup no slide de ferramentas) ---------- */
.sempre-pop {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.7);
}
/* o véu cobre o slide inteiro: sem o deslocamento dos outros fragmentos, para não criar rolagem */
.slide .sempre-pop.fragment { transform: none !important; }
.sempre-pop:not(.is-visible), .sempre-pop.is-dismissed { pointer-events: none; }
.sempre-pop.is-dismissed { opacity: 0 !important; }
.sempre-pop__card {
  max-width: 24em;
  padding: 2em 2.2em;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: linear-gradient(rgba(246, 198, 85, 0.08), rgba(246, 198, 85, 0.08)), var(--card);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
  text-align: center;
  transform: scale(0.92);
  transition: transform 0.45s var(--ease);
}
.sempre-pop.is-visible .sempre-pop__card { transform: none; }
.sempre-pop__icon {
  display: inline-grid;
  place-items: center;
  width: 3em;
  height: 3em;
  margin-bottom: 0.7em;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 1.4em;
}
.sempre-pop__title { margin-bottom: 0.35em; font-family: var(--font-display); font-size: 1.6em; font-weight: 800; color: var(--gold); }
.sempre-pop .muted { font-size: 1.1em; }


/* ---------- Print/vídeo em moldura de navegador ---------- */
.shot {
  display: block;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: transform var(--dur-lp) ease, border-color var(--dur-lp) ease;
}
.shot:hover { transform: translateY(-2px); border-color: var(--gold); }
.shot__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.6em 0.9em;
  background: var(--card-2);
  border-bottom: 1px solid var(--line-soft);
}
.shot__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.shot__url {
  margin-left: 0.8em;
  padding: 0.15em 0.9em;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-size: 0.72em;
}
.shot__screen { position: relative; display: block; aspect-ratio: 16 / 10; }
.shot__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot__screen--video { aspect-ratio: auto; background: var(--bg); }
.shot__screen--video video { width: 100%; height: auto; max-height: calc(100dvh - 14em); object-fit: contain; }
.shot__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 600;
  background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(246, 198, 85, 0.03) 14px 28px);
}
.shot__placeholder small { font-family: var(--font-body); font-weight: 400; font-size: 0.75em; }

/* ---------- Ferramentas (abas) ---------- */
.tools { display: grid; grid-template-columns: 17.5em 1fr; gap: 2em; align-items: stretch; }
.tools__list {
  display: grid;
  gap: 0.4em;
  padding: 0.6em;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: rgba(26, 26, 26, 0.5);
}
.tools__tab {
  display: flex;
  align-items: center;
  gap: 0.8em;
  padding: 0.85em 1em;
  border-radius: var(--radius);
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05em;
  color: var(--muted);
  transition: all var(--dur) ease;
}
.tools__tab:hover { color: var(--ink); background: rgba(255, 255, 255, 0.04); }
.tools__tab[aria-selected="true"] { background: var(--gold); color: var(--on-gold); }
.tools__num { font-family: var(--font-body); font-size: 0.7em; font-weight: 700; letter-spacing: 0.1em; color: var(--gold); }
.tools__tab[aria-selected="true"] .tools__num { color: var(--on-gold); opacity: 0.7; }
.tools__check { margin-left: auto; opacity: 0; color: var(--gold); font-size: 1.1em; transition: opacity var(--dur); }
.tools__tab.is-visited .tools__check { opacity: 1; }
.tools__tab[aria-selected="true"] .tools__check { color: var(--on-gold); }
.tools__panel { display: grid; grid-template-columns: 1fr 10em; gap: 1.6em; align-items: stretch; animation: fade-in 0.4s var(--ease); }
.tools .shot__screen { aspect-ratio: 2 / 1; }
.tools .shot__screen img { object-position: top center; }
.tools__caption { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 1.2em; padding: 0.4em 0; }
.tools__caption p { font-size: 1.05em; color: var(--muted); }

@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Lives de mercado ---------- */
.lives { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.6em; align-items: stretch; }
.lives__when { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 1.8em 2em; }
.live-badge {
  position: absolute;
  top: 1.4em;
  right: 1.4em;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.35em 0.8em;
  border: 1px solid rgba(239, 91, 91, 0.5);
  border-radius: 999px;
  color: #f7a3a3;
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.live-badge__dot { width: 0.6em; height: 0.6em; border-radius: 50%; background: #ef5b5b; animation: live-pulse 1.6s ease-out infinite; }
@keyframes live-pulse {
  from { box-shadow: 0 0 0 0 rgba(239, 91, 91, 0.6); }
  to { box-shadow: 0 0 0 0.7em rgba(239, 91, 91, 0); }
}
.week { list-style: none; display: flex; gap: 0.4em; margin-bottom: 1.4em; max-width: 22em; }
.week li {
  flex: 1;
  padding: 0.45em 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  text-align: center;
  color: var(--muted);
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.week li.is-on { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.lives__day { font-family: var(--font-display); font-size: 1.5em; font-weight: 600; }
.lives__time { font-family: var(--font-display); font-size: 6em; font-weight: 800; line-height: 0.9; color: var(--gold); margin-bottom: 0.2em; }
.lives__extras { list-style: none; display: grid; align-content: center; }
.lives__extras li { display: flex; gap: 1.2em; align-items: flex-start; padding: 1.2em 0; }
.lives__extras .feature__icon { flex: none; }

/* ---------- Tarefa de casa: cada passo com a sua imagem ---------- */
.homework { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; }
.h2-note { display: block; margin-top: 0.35em; color: var(--muted); font-family: var(--font-body); font-size: 0.38em; font-weight: 400; letter-spacing: 0; }
.hw {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--card);
  cursor: pointer;
  transition: all var(--dur-lp) ease;
}
.hw:hover { border-color: var(--gold); transform: translateY(-2px); }
.hw__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
}
.hw__media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.hw__media-tag {
  position: absolute;
  right: 0.7em;
  bottom: 0.7em;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.3em 0.75em;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  font-size: 0.75em;
  font-weight: 700;
}
.hw__media--link:hover img { transform: scale(1.03); }
.hw__media img { transition: transform var(--dur-lp) ease; }
.hw__body { display: flex; flex-direction: column; gap: 0.35em; padding: 0.9em 1.3em 1.1em; }
.hw__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.1em; }
.hw__num { font-family: var(--font-display); font-size: 1.8em; font-weight: 800; line-height: 1; color: rgba(246, 198, 85, 0.35); transition: color var(--dur); }
.hw__check {
  display: grid;
  place-items: center;
  width: 1.7em;
  height: 1.7em;
  border: 2px solid var(--line);
  border-radius: 50%;
  color: transparent;
  transition: all var(--dur) ease;
}
.hw__title { font-family: var(--font-display); font-size: 1.2em; font-weight: 700; line-height: 1.2; }
.hw__text { color: var(--muted); font-size: 0.95em; }
.hw[aria-pressed="true"] { border-color: var(--gold); background: linear-gradient(rgba(246, 198, 85, 0.07), rgba(246, 198, 85, 0.07)), var(--card); }
.hw[aria-pressed="true"] .hw__num { color: var(--gold); }
.hw[aria-pressed="true"] .hw__check { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }

/* ---------- AUVP Capital ---------- */
.photo-bleed--left {
  left: 0;
  right: auto;
  -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 38%);
  mask-image: linear-gradient(270deg, transparent 0%, #000 38%);
}
.photo-bleed--left img { object-position: 8% 50%; }
.photo-layout--right .photo-layout__content { grid-column: 2; }
.h2--md { font-size: 2.2em; }
.values { list-style: none; display: grid; gap: 1.4em; margin: 0.4em 0 2em; }
.values li { display: flex; gap: 1em; align-items: flex-start; }
.values .ph { flex: none; font-size: 1.5em; color: var(--gold); margin-top: 0.05em; }
.values__title { font-family: var(--font-display); font-size: 1.15em; font-weight: 700; line-height: 1.2; margin-bottom: 0.15em; }
.values .muted { font-size: 0.92em; }

.badge-top1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 12em;
  padding: 1.6em;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold-from), var(--gold-to));
  color: var(--ink);
}
.badge-top1 .ph-fill { font-size: 2em; color: #fff3cf; margin-bottom: 0.3em; }
.badge-top1__num { font-size: 3.2em; font-weight: 800; line-height: 1; margin-bottom: 0.2em; }
.badge-top1__text { line-height: 1.35; }

.badge-top1--inline { flex-direction: row; align-items: center; gap: 1em; width: 100%; padding: 1em 1.5em; }
.badge-top1--inline .ph-fill { margin: 0; font-size: 1.8em; }
.badge-top1--inline .badge-top1__num { flex: none; font-size: 2.2em; margin: 0; white-space: nowrap; }
.badge-top1--inline .badge-top1__text { font-size: 0.95em; }

/* ---------- Parceria BTG + vantagens ---------- */
.conta { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6em; align-items: start; }

/* a conta e o dinheiro ficam na AUVP Capital; o BTG Pactual é a base de infraestrutura */
.infra { display: grid; }
.infra__main {
  padding: 1.3em 1.5em 1.4em;
  border: 1px solid var(--gold);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(rgba(246, 198, 85, 0.1), rgba(246, 198, 85, 0.1)), var(--card);
}
.infra__tag { display: block; color: var(--muted); font-size: 0.72em; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.infra__main .infra__tag { color: var(--gold); }
.infra__name { margin: 0.1em 0 0.6em; font-family: var(--font-display); font-size: 1.9em; font-weight: 800; line-height: 1.1; color: var(--gold); }
.infra__items { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5em; }
.infra__items li {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.35em 0.85em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  font-size: 0.9em;
}
.infra__items .ph { color: var(--gold); font-size: 1.15em; }
.infra__base {
  display: flex;
  align-items: center;
  gap: 0.9em;
  padding: 0.9em 1.5em;
  border: 1px solid var(--line-soft);
  border-top: 1px dashed var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--card-2);
  color: var(--muted);
  font-size: 0.95em;
}
.infra__base > .ph { flex: none; font-size: 1.6em; color: var(--muted); }
.infra__base strong { color: var(--ink); }
.infra__base .infra__tag { margin-bottom: 0.15em; }
.conta__note { margin-top: 1.1em; padding-left: 1em; border-left: 3px solid var(--gold); }
.conta__note strong { color: var(--gold); }

/* Vantagens: bloqueadas até o fragmento/botão "abrir conta" */
.conta__perks-title { margin-bottom: 0.7em; font-family: var(--font-display); font-size: 1.45em; font-weight: 800; line-height: 1.1; }
.perk-list { list-style: none; display: grid; gap: 0.45em; }
.perk {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 0.55em 1.1em;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--card);
  transition: all 0.6s var(--ease);
}
.perk__icon { flex: none; font-size: 1.6em; color: var(--gold); transition: color 0.6s; }
.perk .perk__title { flex: 1; }
.perk__title { font-family: var(--font-display); font-size: 1.1em; font-weight: 700; line-height: 1.2; }
.perk .muted { font-size: 0.92em; }
.perk__lock { flex: none; font-size: 1.2em; color: var(--muted); }
.perk__lock .ph-lock-simple-open { display: none; }
.perks:not(.is-visible) .perk { opacity: 0.5; }
.perks:not(.is-visible) .perk__icon { color: var(--muted); }
.perks.is-visible .perk { border-color: var(--gold); background: linear-gradient(rgba(246, 198, 85, 0.07), rgba(246, 198, 85, 0.07)), var(--card); }
.perks.is-visible .perk:nth-child(2) { transition-delay: 0.1s; }
.perks.is-visible .perk:nth-child(3) { transition-delay: 0.2s; }
.perks.is-visible .perk:nth-child(4) { transition-delay: 0.3s; }
.perks.is-visible .perk:nth-child(5) { transition-delay: 0.4s; }
.perks.is-visible .perk__lock { color: var(--gold); }
.perks.is-visible .perk__lock .ph-lock-simple { display: none; }
.perks.is-visible .perk__lock .ph-lock-simple-open { display: inline-block; }

/* nota de rodapé (asterisco), no padrão da página de planos */
sup { font-size: 0.65em; line-height: 0; }
.footnote { margin-top: 0.7em; color: var(--muted); font-size: 0.78em; }
.perks__btn { margin-top: 0.7em; transition: opacity var(--dur), background var(--dur) ease, color var(--dur) ease; }
.perks.is-visible .perks__btn { opacity: 0; pointer-events: none; }

/* ---------- Fee-based ---------- */
.fee__lead { max-width: 46em; margin: -0.2em 0 1.8em; font-size: 1.15em; line-height: 1.5; }
.fee__points { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; }
.fee__points li {
  padding: 1.4em 1.5em 1.5em;
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.6);
}
.fee__num { display: block; margin-bottom: 0.8em; color: var(--gold); font-size: 0.75em; font-weight: 700; letter-spacing: 0.1em; }
.fee__title { margin-bottom: 0.35em; font-family: var(--font-display); font-size: 1.3em; font-weight: 700; line-height: 1.2; }
.fee__points .muted { font-size: 0.95em; line-height: 1.45; }

/* ---------- Planos ---------- */

/* Seletor segmentado: um botão por tipo de plano */
.seg {
  display: inline-flex;
  gap: 0.25em;
  margin-bottom: 1em;
  padding: 0.3em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
}
.seg__btn {
  padding: 0.6em 1.3em;
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.85em;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--dur) ease;
}
.seg__btn:hover { color: var(--ink); }
.seg__btn[aria-selected="true"] { background: var(--gold); color: var(--on-gold); }

.plan {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  animation: fade-in 0.4s var(--ease);
}
.plan__body { padding: 1.25em 1.8em; }
.plan { min-height: 15em; } /* mesma altura nos três planos: a caixa não pula ao trocar de aba */
.plan__desc { font-size: 1.1em; line-height: 1.45; margin-bottom: 0.9em; }
.plan__list { list-style: none; display: grid; gap: 0.45em; margin-bottom: 1.1em; }
.plan__list li { display: flex; gap: 0.6em; align-items: flex-start; }
.plan__list .ph { flex: none; margin-top: 0.2em; color: var(--gold); }
.plan__note { margin-top: 1em; padding-top: 0.8em; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 0.8em; }
/* notas numeradas abaixo dos planos, como na página oficial */
.disclaimers {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2em 2em;
  margin-top: 0.7em;
  color: var(--muted);
  font-size: 0.75em;
}

/* benefícios que valem para todos os planos */
.plans__all {
  display: flex;
  align-items: center;
  gap: 1.2em;
  margin: -0.2em 0 0.9em;
  padding: 0.6em 1.2em;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(246, 198, 85, 0.05);
}
.plans__all-tag {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--gold);
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plans__all-tag .ph-fill { font-size: 1.4em; }
.plans__all ul { list-style: none; display: grid; gap: 0.25em; padding-left: 1.2em; border-left: 1px solid var(--line); font-size: 0.95em; }
.plans__all li::before { content: "•"; margin-right: 0.5em; color: var(--gold); }
.plan__fee {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.6em 1.8em;
  border-left: 1px solid var(--line-soft);
  background: rgba(246, 198, 85, 0.05);
}
.plan__fee-value { margin-bottom: 0.2em; font-family: var(--font-display); font-size: 1.9em; font-weight: 800; line-height: 1.1; color: var(--gold); }
.plan__fee-value small { font-size: 0.5em; font-weight: 600; color: var(--muted); }
.plan__fee-value--text { font-size: 1.35em; }

/* ---------- Abra sua conta ---------- */
.account { display: grid; grid-template-columns: 1.7fr 1fr; gap: 1.4em; align-items: stretch; }
.account__info { display: grid; gap: 0.7em; align-content: start; }
.account__callout { margin-top: 0; }
.grid--2 { grid-template-columns: 1fr 1fr; }
.account__card { padding: 0.8em 1.2em; }
.account__howto { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.4em; }
.account__howto-head { display: flex; align-items: center; justify-content: space-between; gap: 0.8em; margin-bottom: 0.2em; }
.account__howto-head .account__title { margin-bottom: 0; }
.account__list--how { margin-top: 0.3em; }
/* atalho discreto para o link de abertura (não é um botão de destaque) */
.account__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  color: var(--muted);
  font-size: 0.75em;
  white-space: nowrap;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  transition: color var(--dur);
}
.account__link:hover { color: var(--gold); }
/* link dentro do texto (ex.: "página de planos") */
.inline-link { color: var(--gold); white-space: nowrap; text-decoration: underline dotted; text-underline-offset: 3px; }
.inline-link .ph { font-size: 0.9em; }
.account__callout { padding: 0.75em 1.2em; }
.account__card:hover { transform: none; }
.account__title { display: flex; align-items: center; gap: 0.5em; margin-bottom: 0.3em; font-family: var(--font-display); font-size: 1.15em; font-weight: 700; }
.account__title .ph { color: var(--gold); font-size: 1.2em; }
.account__card .muted { font-size: 0.92em; line-height: 1.4; }
.account__important {
  display: flex;
  align-items: center;
  gap: 0.4em;
  margin: 0 0 0.4em;
  color: var(--gold);
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.account__list { list-style: none; display: grid; gap: 0.3em; color: var(--muted); font-size: 0.9em; }
.account__list li::before { content: "•"; margin-right: 0.5em; color: var(--gold); }
.account__list strong { color: var(--ink); white-space: nowrap; }
.account__photo { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line-soft); border-radius: var(--radius); min-height: 16em; }
.account__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Avaliação: link fixado no chat ---------- */
.chat-card {
  justify-self: center;
  width: 100%;
  max-width: 19em;
  padding: 2em 1.8em;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: linear-gradient(rgba(246, 198, 85, 0.08), rgba(246, 198, 85, 0.08)), var(--card);
  text-align: center;
}
.chat-card__icon {
  display: inline-grid;
  place-items: center;
  width: 3.4em;
  height: 3.4em;
  margin-bottom: 0.8em;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 1.4em;
}
.chat-card__title { margin-bottom: 0.4em; font-size: 1.5em; font-weight: 800; }
.chat-card .muted strong { color: var(--gold); }

/* ---------- Ecossistema: o olho no centro, os serviços em órbita ---------- */
.split--eco { grid-template-columns: 0.8fr 1.6fr; gap: 1.5em; }

.orbit {
  --sat: 5.4em;
  --raio: 10em;
  --core: 6.8em;
  position: relative;
  justify-self: center;
  width: calc(2 * var(--raio) + var(--sat));
  height: calc(2 * var(--raio) + var(--sat));
  margin: 1.6em 0;
}
.orbit__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(2 * var(--raio));
  height: calc(2 * var(--raio));
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(246, 198, 85, 0.35);
  border-radius: 50%;
}
/* um arco dourado percorre a órbita devagar */
.orbit__ring--spin {
  border: 2px solid transparent;
  border-top-color: var(--gold);
  border-right-color: rgba(246, 198, 85, 0.25);
  animation: orbit-spin 16s linear infinite;
}
@keyframes orbit-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.orbit__core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: var(--core);
  height: var(--core);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 198, 85, 0.2) 0%, rgba(0, 0, 0, 0.9) 70%);
  box-shadow: 0 0 0 1px rgba(246, 198, 85, 0.4), 0 0 60px rgba(246, 198, 85, 0.25);
}
.orbit__core img { width: 78%; }
/* ondas que saem do olho */
.orbit__core::before,
.orbit__core::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(246, 198, 85, 0.5);
  border-radius: 50%;
  animation: core-wave 3.2s ease-out infinite;
}
.orbit__core::after { animation-delay: 1.6s; }
@keyframes core-wave { from { transform: scale(1); opacity: 0.8; } to { transform: scale(2.1); opacity: 0; } }

/* Cada serviço é um satélite: o ângulo posiciona e o giro contrário
   devolve o card à horizontal */
.eorb {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: var(--sat);
  height: var(--sat);
  margin: calc(var(--sat) / -2);
  padding: 0;
  transform: rotate(var(--a)) translate(var(--raio)) rotate(calc(-1 * var(--a)));
}
.eorb-in { display: block; width: 100%; height: 100%; animation: eco-aparece 0.45s ease backwards; animation-delay: calc(var(--j, 0) * 60ms + 200ms); }
.eorb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 10px 22px -10px rgba(246, 198, 85, 0.55);
  transition: transform 0.24s var(--ease), box-shadow 0.24s;
}
.eorb:hover .eorb-img { transform: scale(1.08); box-shadow: 0 14px 28px -8px rgba(246, 198, 85, 0.8); }
/* fio do satélite até o olho */
.eorb::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: max(0px, calc(var(--raio) - var(--core) / 2 - var(--sat) / 2));
  height: 1px;
  transform-origin: 0 50%;
  transform: rotate(calc(var(--a) + 180deg)) translateX(calc(var(--sat) / 2));
  background: linear-gradient(90deg, rgba(246, 198, 85, 0.7), rgba(246, 198, 85, 0.05));
  pointer-events: none;
}
/* o nome fica sempre do lado de fora da órbita */
.eorb b { position: absolute; white-space: nowrap; line-height: 1.15; }
.eorb b span { font-family: var(--font-display); font-size: 0.85em; font-weight: 600; transition: color 0.2s; }
.eorb--baixo b { left: 50%; top: calc(100% + 0.4em); transform: translateX(-50%); }
.eorb--cima b { left: 50%; bottom: calc(100% + 0.4em); transform: translateX(-50%); }
.eorb--dir b { left: calc(100% + 0.7em); top: 50%; transform: translateY(-50%); }
.eorb--esq b { right: calc(100% + 0.7em); top: 50%; transform: translateY(-50%); }
.eorb:hover b span { color: var(--gold); }
.eorb small { display: none; }
@keyframes eco-aparece { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }

/* Popup do item: cresce a partir do card clicado, com a foto grande e o texto por cima */
.eco-modal-cena { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; pointer-events: none; }
.eco-modal-cena.ver { pointer-events: auto; }
.eco-modal-cena::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  transition: opacity 0.42s;
}
/* o desfoque só existe com o popup aberto: parado, ele recalcularia a tela inteira a cada quadro */
.eco-modal-cena.ver::before { opacity: 1; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.eco-modal {
  position: relative;
  width: min(92vw, max(420px, 50vw));
  max-height: 86vh;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 40px 80px -28px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0s 0.5s, visibility 0s 0.5s;
}
.eco-modal-cena.ver .eco-modal { opacity: 1; visibility: visible; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0s, visibility 0s; }
.eco-modal-img { width: 100%; aspect-ratio: 2 / 1; max-height: 42vh; object-fit: cover; background: var(--card); }
/* o texto fica abaixo da foto: com os tópicos, por cima ela perderia a leitura */
.eco-modal-corpo { padding: 1.1em 1.6em 1.4em; border-top: 1px solid var(--line-soft); }
.eco-modal-corpo b { display: block; margin-bottom: 0.3em; font-family: var(--font-display); font-size: 1.6em; font-weight: 700; line-height: 1.12; color: var(--gold); }
.eco-modal-corpo p { color: rgba(255, 255, 255, 0.85); max-width: 62ch; }
.eco-modal-topicos { list-style: none; display: grid; gap: 0.45em 1.4em; margin-top: 0.9em; }
/* com quatro ou mais tópicos curtos, duas colunas: o popup não cresce demais */
.eco-modal-topicos:has(li:nth-child(4)) { grid-template-columns: 1fr 1fr; }
.eco-modal-topicos li { display: flex; gap: 0.6em; align-items: flex-start; color: var(--ink); }
.eco-modal-topicos .ph-fill { flex: none; margin-top: 0.15em; color: var(--gold); font-size: 1.15em; }
.eco-modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  font-size: 16px;
}
.eco-modal-x:hover { background: rgba(0, 0, 0, 0.8); }

/* ---------- Próximos passos e avisos: rota vertical ---------- */
.split--notices { grid-template-columns: 1fr 1.35fr; }
.route { position: relative; list-style: none; display: grid; gap: 1.5em; }
.route::before {
  content: "";
  position: absolute;
  top: 1.4em;
  bottom: 1.4em;
  left: 1.4em;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(246, 198, 85, 0.15));
}
.route__step { position: relative; display: flex; gap: 1.3em; align-items: flex-start; }
.route__dot {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 2.8em;
  height: 2.8em;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--bg);
  color: var(--gold);
  font-size: 1em;
  box-shadow: 0 0 0 6px var(--bg);
}
.route__dot .ph, .route__dot .ph-fill { font-size: 1.25em; }
.route__title { margin-bottom: 0.2em; font-family: var(--font-display); font-size: 1.35em; font-weight: 700; line-height: 1.2; }
.route__step .muted { font-size: 0.95em; }
.route__step .muted strong { color: var(--ink); }
.route__tag {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45em;
  margin-top: 0.6em;
  padding: 0.45em 0.8em;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--gold-soft);
  font-size: 0.88em;
  line-height: 1.35;
}
.route__tag .ph, .route__tag .ph-fill { flex: none; margin-top: 0.1em; color: var(--gold); }

/* ==========================================================
   Chrome: topo, progresso e controles
   ========================================================== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 1.2em;
  padding: 1.4em 6vw 0;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.4s;
}
.topbar__logo { width: 6.5em; height: auto; }
.topbar__block {
  padding-left: 1.2em;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
body.chrome-off .topbar { opacity: 0; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 10; }
.progress__bar { height: 100%; width: 0; background: var(--gold); transition: width 0.5s var(--ease); }

.controls {
  position: fixed;
  bottom: 1.2em;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.3em 0.6em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10;
  font-size: 14px;
  opacity: 0.35;
  transition: opacity var(--dur);
}
.controls:hover, .controls:focus-within { opacity: 1; }

.controls__btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 16px; transition: background var(--dur); }
.controls__btn:hover { background: var(--gold-soft); color: var(--gold); }
.controls__btn:disabled { opacity: 0.3; cursor: default; background: transparent; color: inherit; }

.dots { display: flex; gap: 5px; }
.dot { width: 6px; height: 6px; border-radius: 999px; background: #3a3a3a; transition: width 0.3s var(--ease), background 0.3s; }
.dot[aria-selected="true"] { width: 18px; background: var(--gold); }

.counter { min-width: 3.6em; text-align: center; font-size: 0.85em; color: var(--muted); font-variant-numeric: tabular-nums; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ==========================================================
   Responsivo
   ========================================================== */
@media (max-width: 860px) {
  body { font-size: 15px; }
  .slide { padding: 4.5em 16px 5em; place-items: start center; }
  .slide--cover, .slide--divider { place-items: center; }
  h2 { font-size: 2em; }
  .display, .display--md, .slide--divider .display { font-size: 2.8em; }
  .divider__num { font-size: 6em; }
  .grid--3, .split, .split--media, .split--qr, .tools, .eco, .photo-layout, .lives, .fee, .homework { grid-template-columns: 1fr; }
  .plan, .account, .notices, .grid--2, .account__howto, .fee__points { grid-template-columns: 1fr; }
  .plans__all { flex-direction: column; align-items: flex-start; }
  .plans__all ul { padding-left: 0; border-left: 0; }
  .plan__fee { border-left: 0; border-top: 1px solid var(--line-soft); }
  .seg { display: flex; flex-wrap: wrap; border-radius: var(--radius); }
  .split--eco { grid-template-columns: 1fr; }
  .orbit { font-size: 0.8em; }
  .photo-layout--right .photo-layout__content { grid-column: auto; }
  .lives__time { font-size: 4em; }
  .split { gap: 2em; }
  .photo-bleed { width: 100%; bottom: auto; height: 45%; -webkit-mask-image: linear-gradient(0deg, transparent, #000 50%); mask-image: linear-gradient(0deg, transparent, #000 50%); opacity: 0.45; }
  .photo-layout { min-height: 0; }
  .badge-top1 { width: auto; }
  .conta { grid-template-columns: 1fr; }
  .tools__panel { grid-template-columns: 1fr; }
  .dots { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation: none !important;
  }
}
