/* ── Fontes, hospedadas aqui ─────────────────────────────────
   Antes vinham do fonts.googleapis.com. A folha de estilo de lá é
   RENDER-BLOCKING: o navegador precisava resolver DNS, abrir conexão TLS
   e baixar de outro domínio ANTES de desenhar qualquer coisa. Eram
   1.560 ms de atraso medidos no PageSpeed.

   Servindo daqui, a requisição some e as fontes entram no mesmo cache
   imutável dos outros assets (ver vercel.json).
   ───────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fontes/barlow-condensed-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fontes/barlow-condensed-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fontes/barlow-condensed-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fontes/source-sans-3-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fontes/source-sans-3-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fontes/source-sans-3-700.woff2') format('woff2');
}

/* ============================================================
   PRF Aprovado — Landing Page
   Azul escuro de fundo, dourado nos destaques, verde nos botões.
   Identidade herdada do aplicativo (src/index.css).
   ============================================================ */

:root {
  /* Azuis */
  --marinho-1:  #061529;   /* mais escuro, topo e rodapé */
  --marinho-2:  #0A1E3A;   /* fundo das seções escuras */
  --marinho-3:  #0F2A4F;   /* cards sobre o escuro */
  --marinho-4:  #16386A;   /* bordas e realces */
  --azul:       #0071BC;
  --azul-claro: #4DA3E0;

  /* Acentos */
  --ouro:        #F5A800;
  --ouro-claro:  #FFC845;
  --verde:       #00843D;
  --verde-claro: #12B357;
  --vermelho:    #C0392B;

  /* Claro */
  --claro-bg:    #ffffff;
  --claro-alt:   #eef2f7;
  --borda:       #dde5ee;
  --texto-1:     #0b1a2e;
  --texto-2:     #4a5c72;
  --texto-3:     #8496ab;

  /* Sobre escuro */
  --sob-1: #ffffff;
  --sob-2: #A9BDD6;
  --sob-borda: rgba(255,255,255,0.10);

  /* Fallback condensado de verdade em cada sistema, para o texto não
     mudar de largura quando a fonte real carregar. */
  --titulo: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', 'Liberation Sans Narrow', system-ui, sans-serif;
  --corpo:  'Source Sans 3', 'Segoe UI', system-ui, sans-serif;

  --max: 1180px;
  --raio: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--marinho-2);
  color: var(--sob-1);
  font-family: var(--corpo);
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.container--estreito { max-width: 780px; }
.centro { text-align: center; }

/* ── Tipografia ─────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--titulo);
  font-weight: 800;
  line-height: 1.05;
  margin: 0;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.35rem, 5.4vw, 3.75rem); }
h2 { font-size: clamp(1.95rem, 4.2vw, 3rem); }
h3 { font-size: 1.18rem; font-weight: 700; }
p  { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.destaque       { color: var(--ouro); }
.destaque-verde { color: var(--verde-claro); }

.titulo { text-align: center; margin-bottom: 14px; }
.titulo--escuro { color: var(--texto-1); }

.sobrancelha {
  font-family: var(--titulo);
  font-weight: 700;
  font-size: 0.93rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ouro);
  margin: 0 0 16px;
}
.sobrancelha--escura { color: #b5820a; }
.estrela { font-size: 0.72em; opacity: 0.85; margin: 0 4px; }

/* ── Ícones ─────────────────────────────────────── */
.ic {
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.ic--mini   { width: 15px; height: 15px; }
.ic--medio  { width: 30px; height: 30px; color: var(--ouro); }
.ic--grande { width: 38px; height: 38px; color: var(--ouro); }

/* ── Botões ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 8px;
  font-family: var(--titulo);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.07); }
.btn:focus-visible { outline: 3px solid var(--ouro); outline-offset: 3px; }

.btn--verde {
  background: linear-gradient(180deg, var(--verde-claro), var(--verde));
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 132, 61, 0.34);
}
.btn--pequeno { padding: 11px 20px; font-size: 0.96rem; }
.btn--grande  { padding: 18px 44px; font-size: 1.22rem; }
.btn--largo   { width: 100%; }

/* ── Header ─────────────────────────────────────── */
.topo {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(6, 21, 41, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sob-borda);
}
.topo__inner { display: flex; align-items: center; gap: 20px; height: 72px; }

.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.marca__logo { width: 32px; height: auto; }
.marca__nome {
  font-family: var(--titulo);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 0.92;
  color: var(--ouro);
  letter-spacing: 0.03em;
  display: flex;
  flex-direction: column;
}
.marca__nome small {
  font-size: 0.46em;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: #fff;
}

.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav a {
  color: var(--sob-2);
  text-decoration: none;
  font-family: var(--titulo);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color .15s;
  white-space: nowrap;
}
.nav a:hover { color: var(--ouro); }
.nav__aluno { color: #fff !important; }
.nav__aluno:hover { color: var(--ouro) !important; }

.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; margin-left: auto; }
.menu-btn span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────── */
main { background: var(--claro-bg); }
.hero {
  position: relative;
  background: linear-gradient(150deg, #071b33 0%, #0B2444 45%, #071c36 100%);
  padding: 72px 0 132px;
  overflow: hidden;
  border-bottom-left-radius: 50% 96px;
  border-bottom-right-radius: 50% 96px;
}
/* Foto de fundo do hero — só no desktop, ver @media abaixo */
.hero__foto {
  position: absolute;
  inset: 0;
  background: url("assets/hero-bg.webp") center 35% / cover no-repeat;
  opacity: 0.28;
  mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(100deg, transparent 0, rgba(0,0,0,0.35) 34%, #000 72%);
  mask-image: linear-gradient(100deg, transparent 0, rgba(0,0,0,0.35) 34%, #000 72%);
  pointer-events: none;
  display: none;
}
@media (min-width: 941px) {
  .hero__foto { display: block; }
}
.hero__foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(7,27,51,0.55) 0%, rgba(11,36,68,0.35) 50%, rgba(7,28,54,0.6) 100%);
}
.hero__brilho {
  position: absolute;
  z-index: 1;
  inset: -20% 40% 40% -20%;
  background: radial-gradient(closest-side, rgba(0,113,188,0.32), transparent);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
}
.hero h1 { color: #fff; font-size: clamp(2.1rem, 3.5vw, 3.35rem); text-wrap: balance; max-width: 525px; }
.hero__sub { margin-top: 22px; font-size: 1.08rem; color: var(--sob-2); max-width: 479px; }
.hero .btn--grande { margin-top: 30px; }

.selos {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin: 34px 0 0;
  padding: 0;
  font-family: var(--titulo);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--sob-2);
}
.selos li { display: inline-flex; align-items: center; gap: 8px; }
.selos .ic { width: 17px; height: 17px; color: var(--ouro); }

/* ── Mockups (notebook e celular) ───────────────── */
.hero__imagem { position: relative; padding-bottom: 22px; }
.hero__mockup {
  display: block;
  width: max(100%, min(118%, calc(100% + (100vw - 1180px) / 2 + 20px)));
  max-width: none;
  height: auto;
  filter: drop-shadow(0 14px 12px rgba(2, 10, 22, 0.45));
}

.notebook { position: relative; }
.notebook__tela {
  background: #0d1b2e;
  border: 9px solid #212b3b;
  border-bottom-width: 12px;
  border-radius: 14px 14px 4px 4px;
  box-shadow: 0 26px 60px rgba(0,0,0,0.5);
  overflow: hidden;
}
.notebook__base {
  height: 13px;
  margin: 0 -7%;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #2b3648, #1a2231);
  box-shadow: 0 16px 26px rgba(0,0,0,0.42);
  position: relative;
}
.notebook__base::after {
  content: "";
  position: absolute;
  left: 50%; top: 3px;
  width: 78px; height: 4px;
  border-radius: 0 0 5px 5px;
  background: rgba(255,255,255,0.14);
  transform: translateX(-50%);
}
.notebook--claro .notebook__tela { border-color: #cbd5e1; box-shadow: 0 22px 46px rgba(15,42,79,0.22); }
.notebook--claro .notebook__base { background: linear-gradient(180deg, #e2e8f0, #c3ccd8); box-shadow: 0 14px 24px rgba(15,42,79,0.18); }

.celular {
  position: absolute;
  right: -8px;
  bottom: -34px;
  width: 27%;
  max-width: 172px;
}
.celular__tela {
  background: #0d1b2e;
  border: 7px solid #212b3b;
  border-radius: 22px;
  box-shadow: 0 20px 44px rgba(0,0,0,0.55);
  overflow: hidden;
}

/* ── Placeholder de print ───────────────────────── */
.print {
  border: 2px dashed rgba(148,163,184,0.5);
  background: rgba(148,163,184,0.1);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: 16px;
}
.print::after {
  content: "PRINT: " attr(data-print);
  font-family: var(--titulo);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-align: center;
}
.print--celular { aspect-ratio: 9 / 17; }
.notebook--claro .print { border-color: #b6c3d4; background: #f2f5f9; }
.notebook--claro .print::after { color: var(--texto-3); }

/* ── Faixa de benefícios ────────────────────────── */
.faixa-beneficios {
  position: relative;
  z-index: 2;
  background: transparent;
  margin-top: -104px;
  padding-bottom: 40px;
}
.faixa-beneficios::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  top: 104px;
  background: var(--claro-bg);
}
.beneficios {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: linear-gradient(135deg, #133A6B, #0F2A4F);
  border: 1px solid var(--marinho-4);
  border-radius: 18px;
  padding: 40px 20px;
  box-shadow: 0 24px 60px rgba(4, 16, 33, 0.4);
}
.beneficio { text-align: center; padding: 0 18px; }
.beneficio + .beneficio { border-left: 1px solid rgba(255,255,255,0.09); }
.beneficio h3 { color: var(--ouro); margin: 14px 0 10px; font-size: 1.05rem; letter-spacing: 0.04em; }
.beneficio p { color: var(--sob-2); font-size: 0.94rem; line-height: 1.55; }

/* ── Seções ─────────────────────────────────────── */
.secao { padding: 88px 0; }
#como-funciona { padding-top: 44px; }
.secao--clara  { background: var(--claro-bg); color: var(--texto-1); }
.secao--cinza  { background: var(--claro-alt); color: var(--texto-1); }
.secao--escura { background: var(--marinho-2); color: var(--sob-1); }
.secao--clara p, .secao--cinza p { color: var(--texto-2); }

/* ── Como funciona ──────────────────────────────── */
.como { position: relative; overflow: hidden; }
.como__foto {
  position: absolute;
  inset: 0;
  display: none;
  background: url("assets/como-bg.webp") center 40% / cover no-repeat;
  opacity: 0.50;
  mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, rgba(0,0,0,0.5) 62%, transparent 94%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 18%, rgba(0,0,0,0.5) 62%, transparent 94%);
  pointer-events: none;
}
@media (min-width: 941px) {
  .como__foto { display: block; }
}
.como .container { position: relative; z-index: 1; }
.como__centro { max-width: 860px; text-align: center; }
.como__centro h2 { color: var(--texto-1); margin-bottom: 14px; }
.como__legenda { font-size: 1rem; color: var(--texto-3); margin: 0 0 34px; }
.video {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #071c36;
  box-shadow: 0 24px 60px rgba(4, 16, 33, 0.28);
}
/* object-fit: a capa e 16:9 igual ao bloco, mas se um dia o video tiver outra
   proporcao o poster preenche sem distorcer. */
.video__player { display: block; width: 100%; aspect-ratio: 16 / 9; background: #071c36; object-fit: cover; }

/* ── Capa clicavel (carrega o player so no clique) ─────────
   E um <button> de verdade, e nao uma div com onclick, para funcionar no
   teclado e ser anunciado como botao por leitor de tela. */
.video__capa {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #071c36;
  cursor: pointer;
  position: relative;
  line-height: 0;
}
/* A arte da capa JA tem um botao de play desenhado, entao nao sobrepomos outro:
   dois plays na mesma imagem confundem. O sinal de que a capa e clicavel vem do
   cursor, do leve brilho no hover e do contorno no foco por teclado. */
/* `height: auto` é obrigatório aqui. Os atributos width/height do <img> valem
   como dica de estilo; definindo só a largura no CSS, a altura ficaria presa no
   valor do atributo, as duas dimensões virariam definidas e o aspect-ratio
   seria ignorado, deixando a capa quase quadrada. */
.video__capa img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: filter 0.18s ease, transform 0.25s ease;
}
.video__capa:hover img,
.video__capa:focus-visible img { filter: brightness(1.07); transform: scale(1.012); }
.video__capa:focus-visible { outline: 3px solid var(--ouro); outline-offset: 3px; }

/* O iframe entra no lugar do botao mantendo a mesma caixa. */
.video__frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.como__cta { margin-top: 34px; }
.como__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 62px; align-items: center; }
.como__texto h2 { color: var(--texto-1); margin-bottom: 26px; }

.lista-check { list-style: none; margin: 0 0 30px; padding: 0; }
.lista-check li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 13px;
  font-size: 1.02rem;
  font-weight: 600;
}
.lista-check li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--verde-claro);
}
.lista-check li::after {
  content: "";
  position: absolute;
  left: 6px; top: 8px;
  width: 9px; height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.lista-check--compacta li { font-size: 0.97rem; font-weight: 400; color: var(--sob-2); margin-bottom: 10px; }

/* ── Recursos ───────────────────────────────────── */
.carrossel { position: relative; margin-top: 48px; }
.recursos__cta { display: flex; justify-content: center; margin-top: 44px; }
.recursos {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0 12px;
}
.recursos::-webkit-scrollbar { display: none; }
.recurso-card { flex: 0 0 calc((100% - 64px) / 5); scroll-snap-align: start; }

.seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ouro);
  border-radius: 50%;
  background: rgba(7, 28, 54, 0.88);
  color: var(--ouro);
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.seta:hover { background: var(--ouro); color: #071c36; }
.seta:active { transform: translateY(-50%) scale(0.94); }
.seta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.seta--esq { left: -20px; }
.seta--dir { right: -20px; }
.seta[disabled] { opacity: 0.35; cursor: default; }
.recurso-card {
  background: linear-gradient(160deg, var(--marinho-3), #0C2242);
  border: 1px solid var(--marinho-4);
  border-radius: var(--raio);
  padding: 26px 20px;
  text-align: center;
  transition: transform .18s ease, border-color .18s ease;
}
.recurso-card:hover { transform: translateY(-4px); border-color: var(--ouro); }
.recurso-card h3 { color: var(--ouro); margin: 14px 0 9px; font-size: 1.02rem; letter-spacing: 0.05em; }
.recurso-card p { color: var(--sob-2); font-size: 0.9rem; line-height: 1.52; }

/* ── Depoimentos ────────────────────────────────── */
.depoimentos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 22px;
  margin-top: 48px;
}
.depoimento {
  background: #fff;
  border: 1px solid var(--borda);
  box-shadow: 0 1px 0 var(--borda), 0 10px 22px rgba(11, 26, 46, 0.10), 0 24px 48px rgba(11, 26, 46, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
  border-radius: var(--raio);
  padding: 26px 24px;
}
.depoimento:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 var(--borda), 0 14px 28px rgba(11, 26, 46, 0.13), 0 30px 56px rgba(11, 26, 46, 0.08);
}
.estrelas { color: var(--ouro); letter-spacing: 3px; font-size: 1.02rem; margin-bottom: 16px; }
.depoimento__autor { display: grid; gap: 2px; margin-bottom: 12px; }
.depoimento__autor b { font-size: 1rem; color: var(--texto-1); }
.depoimento__autor small { color: var(--texto-3); font-size: 0.86rem; }
.depoimento__texto { font-size: 1rem; line-height: 1.6; color: var(--texto-2); margin: 0; min-height: 3.2em; }

/* ── TAF + estudos ──────────────────────────────── */
.taf { position: relative; overflow: hidden; background: var(--claro-bg); }
.taf::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(72%, 1000px);
  height: 100%;
  background: url("assets/taf-atletas.webp") right bottom / contain no-repeat;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 14%),
    linear-gradient(to bottom, transparent 0, #000 10%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 14%),
    linear-gradient(to bottom, transparent 0, #000 10%, #000 94%, transparent 100%);
  mask-composite: intersect;
  pointer-events: none;
}
.taf .container { position: relative; z-index: 1; }
.taf__grid { display: grid; grid-template-columns: minmax(0, 520px); gap: 54px; align-items: center; min-height: 520px; }
.taf__imagem { display: none; }
.taf__texto h2 { color: var(--texto-1); }
.taf__sub { margin-top: 18px; font-size: 1.05rem; color: var(--texto-2); max-width: 46ch; }
.taf__lista {
  list-style: none;
  margin: 30px 0 34px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.taf__lista li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: transparent;
}
.taf__lista .ic { width: 22px; height: 22px; margin-top: 3px; color: var(--verde); }
.taf__lista span { display: grid; gap: 2px; }
.taf__lista strong { color: var(--texto-1); font-weight: 700; font-size: 1rem; }
.taf__lista small { color: var(--texto-2); font-size: 0.92rem; line-height: 1.5; }
.taf__imagem img { display: block; width: 100%; height: auto; filter: drop-shadow(0 16px 14px rgba(2, 10, 22, 0.28)); }

/* ── Planos ─────────────────────────────────────── */
.planos { background: linear-gradient(150deg, #0A2141, #071b33); text-align: center; }
.planos__centro { max-width: 760px; display: grid; justify-items: center; }
.planos__texto h2, .planos__centro h2 { color: #fff; margin-bottom: 12px; }
.planos__sub { color: var(--sob-2); margin-bottom: 34px; }

.oferta {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 34px 46px 30px;
  border: 1px solid var(--ouro);
  border-radius: var(--raio);
  background: rgba(245, 168, 0, 0.08);
  box-shadow: 0 18px 44px rgba(2, 10, 22, 0.35);
}
.oferta__selo {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: 999px;
  background: var(--ouro);
  color: #1a1200;
  font-family: var(--titulo);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.oferta__antes {
  color: var(--sob-2);
  font-size: 1.02rem;
  text-decoration: line-through;
  text-decoration-color: var(--vermelho);
  text-decoration-thickness: 2px;
}
.oferta__valor {
  font-family: var(--titulo);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  line-height: 1;
  color: #fff;
}
.oferta__valor small { font-size: 0.3em; font-weight: 700; color: var(--sob-2); margin-left: 4px; }
.oferta__parcela { color: var(--ouro-claro); font-size: 0.98rem; font-weight: 600; }

.planos .btn--grande { margin-top: 30px; }
.planos__seguro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--sob-2);
  font-size: 0.88rem;
}
.planos__seguro .ic { color: var(--verde-claro); }

.garantias {
  list-style: none;
  margin: 22px 0 0;
  padding: 34px 0 0;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  gap: 22px 44px;
}
.garantias li { display: grid; justify-items: center; gap: 10px; }
.garantias .ic { width: 24px; height: 24px; color: var(--ouro); }
.garantias span {
  display: grid;
  gap: 3px;
  font-family: var(--titulo);
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
}
.garantias small { font-family: var(--corpo); font-weight: 400; font-size: 0.8rem; color: var(--sob-2); }

/* ── FAQ ────────────────────────────────────────── */
.faq { margin-top: 40px; }
.faq__item {
  border: 1px solid var(--borda);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 11px;
  overflow: hidden;
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 19px 54px 19px 22px;
  font-weight: 700;
  font-size: 1.03rem;
  color: var(--texto-1);
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 24px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2.5px solid var(--azul);
  border-bottom: 2.5px solid var(--azul);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__item summary:focus-visible { outline: 3px solid var(--ouro); outline-offset: -3px; }
.faq__resp { padding: 0 22px 21px; }

/* ── Fechamento ─────────────────────────────────── */
.fechamento { text-align: center; padding-bottom: 26px; }
.fechamento__inner { display: grid; justify-items: center; gap: 30px; }
.fechamento__legal { margin: 6px 0 0; font-size: 0.78rem; color: var(--sob-2); opacity: 0.72; }
/* Links legais no rodapé. Separados por um ponto médio via ::before para não
   depender de caractere solto no HTML, que quebraria a leitura por leitor de tela. */
.fechamento__link { color: var(--sob-2); text-decoration: underline; text-underline-offset: 2px; }
.fechamento__link::before { content: '·'; margin: 0 8px; text-decoration: none; display: inline-block; }
.fechamento__link:hover { color: #fff; }
.fechamento__frase {
  font-family: var(--titulo);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.15;
  color: #fff;
  max-width: 22ch;
  margin: 0;
  text-wrap: balance;
}
@media (min-width: 941px) {
  .fechamento__frase { max-width: 56ch; letter-spacing: 0.01em; line-height: 1.3; }
}

/* ── Faixa de confiança ─────────────────────────── */
.confianca { background: var(--marinho-1); border-top: 1px solid var(--sob-borda); padding: 30px 0; }
.confianca__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.confianca__grid > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: left;
  font-family: var(--titulo);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sob-2);
  line-height: 1.35;
}
.confianca__grid > div + div { border-left: 1px solid var(--sob-borda); }
.confianca .ic { color: var(--ouro); }

/* ── Rodapé ─────────────────────────────────────── */
.rodape { background: var(--marinho-1); padding: 30px 0 26px; border-top: 1px solid var(--sob-borda); }
.rodape__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.rodape__copy { color: #6c8099; font-size: 0.87rem; margin: 0; }
.rodape__links { display: flex; gap: 22px; flex-wrap: wrap; }
.rodape__links a { color: var(--sob-2); text-decoration: none; font-size: 0.88rem; }
.rodape__links a:hover { color: var(--ouro); }
.rodape__nota {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--sob-borda);
  color: #58708c;
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: center;
}

/* ══════════════ RESPONSIVO ══════════════ */
@media (max-width: 1080px) {
  .nav { gap: 16px; }
  .nav a { font-size: 0.94rem; letter-spacing: 0.05em; }
  .recurso-card { flex-basis: calc((100% - 32px) / 3); }
}

@media (max-width: 940px) {
  .hero__grid, .como__grid, .planos__grid { grid-template-columns: 1fr; gap: 48px; }
  .taf::after { display: none; }
  .taf { padding-bottom: 0; }
  .taf__imagem { display: block; order: 1; margin: 0 -16px 0; }
  .taf__imagem img {
    filter: none;
    -webkit-mask-image:
      linear-gradient(to bottom, #000 0, #000 94%, transparent 100%),
      linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to bottom, #000 0, #000 94%, transparent 100%),
      linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
    mask-composite: intersect;
  }
  .taf__grid { grid-template-columns: 1fr; gap: 34px; min-height: 0; }
  .hero__mockup { width: 100%; }
  .hero { padding: 56px 0 96px; }
  .hero__sub { max-width: none; }

  /* ── Mockup logo abaixo do título, no mobile ──────────────
     A imagem mora em .hero__imagem, irmã de .hero__texto, então reordenar os
     dois contêineres só a levaria para antes ou depois do bloco de texto
     inteiro, nunca para o meio dele.
     `display: contents` dissolve o invólucro do texto: seus filhos viram itens
     diretos do mesmo grid da imagem, e aí a ordem é definida um a um. Funciona
     aqui porque .hero__texto é invólucro puro, sem nenhuma regra própria.
     O HTML não muda, então o desktop fica intocado por construção. */
  .hero__texto { display: contents; }
  .hero__grid  { gap: 0; }

  .hero .sobrancelha  { order: 1; }
  .hero h1            { order: 2; }
  .hero__imagem       { order: 3; margin: 30px 0 4px; padding-bottom: 0; }
  .hero__sub          { order: 4; }
  .hero .btn--grande  { order: 5; }
  .hero .selos        { order: 6; }

  /* Sem o invólucro, cada filho passa a ser item de grid e a margem automática
     que centraliza no bloco de 720px encolheria a caixa para o conteúdo.
     `justify-self: stretch` mantém a largura da coluna, e a centralização
     continua vindo do text-align do hero. */
  .hero .sobrancelha, .hero h1, .hero__sub, .hero .selos { justify-self: stretch; }
  .secao--clara { overflow-x: clip; }
  .como__imagem { order: 2; }
  .beneficios { grid-template-columns: repeat(2, 1fr); gap: 30px 8px; padding: 34px 16px; }
  .beneficio:nth-child(odd) { border-left: 0; }
  .beneficio:nth-child(3), .beneficio:nth-child(4) { padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.09); }
  .faixa-beneficios { background: transparent; margin-top: -72px; }
  .faixa-beneficios::after { top: 72px; }
  .garantias { grid-template-columns: repeat(3, auto); gap: 24px 22px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .secao { padding: 62px 0; }
  .taf { padding-bottom: 0; }
  .taf__imagem { overflow: hidden; }
  .taf__imagem img { margin-bottom: -14%; width: 132%; max-width: none; margin-left: -32%; }

  /* Tudo centralizado no mobile */
  .hero, .secao, .faixa-beneficios { text-align: center; }
  .hero h1, .hero__sub, .taf__sub, .planos__sub, .depoimento__texto { max-width: none; margin-left: auto; margin-right: auto; }
  .selos { justify-content: center; }
  .taf__lista li { grid-template-columns: 1fr; justify-items: center; gap: 8px; }
  .taf__lista .ic { margin: 0; }
  .depoimento__autor { justify-items: center; text-align: center; }
  .faq__item summary { text-align: left; }
  .faq__resp { text-align: left; }
  .planos__seguro { justify-content: center; }

  .menu-btn { display: flex; }
  .topo__cta { display: none; }
  .nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    background: var(--marinho-1);
    border-bottom: 1px solid var(--sob-borda);
    padding: 6px 20px 18px;
    display: none;
  }
  .nav.aberto { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }

  .recursos { gap: 12px; }
  .recurso-card { flex-basis: calc((100% - 12px) / 2); }
  .seta--esq { left: -12px; }
  .seta--dir { right: -12px; }
  .recurso-card { padding: 22px 14px; }
  .beneficios { grid-template-columns: 1fr; gap: 26px; }
  .beneficio { border-left: 0 !important; }
  .beneficio + .beneficio { padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.09); }

  .celular { width: 34%; right: -4px; bottom: -26px; }
  .hero .btn--grande { width: 100%; }

  .oferta { padding: 32px 24px 28px; width: 100%; }
  .planos .btn--grande { width: 100%; }

  .confianca__grid { grid-template-columns: 1fr 1fr; gap: 22px 10px; }
  .confianca__grid > div { border-left: 0 !important; font-size: 0.78rem; }

  .rodape__inner { flex-direction: column; text-align: center; }
}
