* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans', sans-serif;
  color: #1a1a2e;
  background: #0f0a1a;
  overflow-x: hidden;
}
h1, h2, h3, .heading { font-family: 'Figtree', sans-serif; }

.page {
  position: relative;
  background: linear-gradient(135deg, #0f0a1a 0%, #1a0e2e 40%, #2d0f2a 70%, #4a1020 100%);
  overflow: hidden;
}
.blob { position: absolute; border-radius: 50%; pointer-events: none; }
.blob-1 { top: -120px; right: -120px; width: 380px; height: 380px; background: radial-gradient(circle, #ffb300, transparent); opacity: 0.15; }
.blob-2 { bottom: -100px; left: -100px; width: 320px; height: 320px; background: radial-gradient(circle, #b8003e, transparent); opacity: 0.2; }

.container { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 179, 0, 0.15);
  color: #ffd166;
  border: 1px solid rgba(255, 179, 0, 0.35);
}

/* ---------- Topo / Hero em duas colunas ---------- */
.topo { padding: 56px 0 44px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  text-align: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 340px; gap: 52px; text-align: left; }
}

.hero-foto { order: -1; }
@media (min-width: 900px) { .hero-foto { order: 0; } }

.foto-wrap { position: relative; max-width: 340px; margin: 0 auto; width: 100%; }
.foto-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,179,0,0.35), rgba(214,0,61,0.35));
  transform: translate(10px, 10px);
}
.foto {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 24px;
  border: 2px solid rgba(255,255,255,0.18);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.hero-texto .badge { margin-bottom: 18px; }

h1 {
  color: #ffffff;
  font-weight: 900;
  font-size: clamp(2rem, 5.6vw, 2.9rem);
  line-height: 1.1;
  margin: 0 0 14px;
}
.destaque {
  background: linear-gradient(135deg, #ffd166, #ff8a00);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitulo-novo {
  color: #ffffff;
  font-family: 'Figtree', sans-serif;
  font-weight: 800;
  font-size: clamp(1.3rem, 3.6vw, 1.7rem);
  line-height: 1.3;
  margin: 0 0 12px;
}

.linha-apoio {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 480px;
}
@media (min-width: 900px) { .linha-apoio { margin-left: 0; margin-right: 0; } }
.hero-texto .linha-apoio { margin-left: auto; margin-right: auto; }
@media (min-width: 900px) { .hero-texto .linha-apoio { margin-left: 0; } }

.destaque-novo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: rgba(255, 179, 0, 0.14);
  border: 1px solid rgba(255, 179, 0, 0.4);
  color: #ffd166;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 16px;
  border-radius: 12px;
  margin-bottom: 24px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.destaque-novo:hover { background: rgba(255, 179, 0, 0.22); border-color: rgba(255, 179, 0, 0.6); }
.destaque-novo svg { flex-shrink: 0; }

/* ---------- Contador ---------- */
.contador {
  display: inline-flex;
  gap: 10px;
  margin: 0 0 24px;
  flex-wrap: nowrap;
}
.hero-texto .contador { margin-left: auto; margin-right: auto; }
@media (min-width: 900px) { .hero-texto .contador { margin-left: 0; margin-right: 0; } }
.contador .unidade {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 10px 6px;
  min-width: 58px;
  text-align: center;
}
.contador .valor {
  display: block;
  font-family: 'Figtree', sans-serif;
  font-weight: 900;
  font-size: clamp(1.25rem, 4.5vw, 1.8rem);
  color: #ffd166;
  line-height: 1;
}
.contador .rotulo {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}
.contador.pulse .valor { animation: pulse 1s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .contador.pulse .valor { animation: none; }
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }

.campanha-encerrada {
  display: none;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 28px 24px;
  max-width: 480px;
  margin: 0 0 24px;
}
.hero-texto .campanha-encerrada { margin-left: auto; margin-right: auto; }
@media (min-width: 900px) { .hero-texto .campanha-encerrada { margin-left: 0; } }
.campanha-encerrada.show { display: block; }
.campanha-encerrada p { color: #ffffff; font-size: 1.05rem; margin: 0 0 16px; line-height: 1.5; }
.campanha-encerrada a {
  display: inline-block;
  color: #ffd166;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,209,102,0.5);
}

/* ---------- Botões do cabeçalho ---------- */
.botoes-hero {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (min-width: 900px) { .botoes-hero { justify-content: flex-start; } }

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 26px;
  border-radius: 12px;
  min-height: 52px;
  flex: 1 1 220px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-hero-primario {
  background: linear-gradient(135deg, #d6003d, #8a0030);
  color: #fff;
  box-shadow: 0 8px 30px rgba(214, 0, 61, 0.4);
}
.btn-hero-primario:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(214, 0, 61, 0.5); }
.btn-hero-secundario {
  background: transparent;
  color: #ffd166;
  border: 1.5px solid rgba(255, 209, 102, 0.5);
}
.btn-hero-secundario:hover { background: rgba(255, 209, 102, 0.1); border-color: #ffd166; }

/* ---------- Âncoras ---------- */
.ancoras {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}
.ancoras a {
  color: rgba(255,255,255,0.78);
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.ancoras a:hover { border-color: #ffd166; color: #ffd166; }

/* ---------- Blocos de cursos ---------- */
.bloco { padding: 56px 0; }
.bloco-header { text-align: center; margin-bottom: 32px; }
.bloco-header h2 {
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(1.4rem, 3.8vw, 2rem);
  margin: 0 0 10px;
  line-height: 1.3;
}
.bloco-header .bloco-sub {
  color: rgba(255,255,255,0.72);
  font-size: 0.98rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.grid-cursos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .grid-cursos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-cursos { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Seção clara: Última chance ---------- */
#ultima-chance.bloco-claro {
  background: var(--creme, #fdf3e4);
}
#ultima-chance.bloco-claro .bloco-header h2 { color: #2a0f2e; }
#ultima-chance.bloco-claro .bloco-header .bloco-sub { color: rgba(42,15,46,0.72); }

/* ---------- Seção roxo profundo: famílias ---------- */
#familias.bloco-roxo {
  background: #1c0a33;
}

/* ---------- Card ---------- */
.card-curso {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fdf9f6;
  border-radius: 18px;
  padding: 26px 22px 22px;
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-curso:hover { transform: translateY(-3px); box-shadow: 0 18px 50px rgba(0,0,0,0.32); }

.tarja-desconto {
  position: absolute;
  top: -12px;
  right: 16px;
  background: linear-gradient(135deg, #ffb300, #ff8a00);
  color: #1a1a2e;
  font-family: 'Figtree', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(255,138,0,0.4);
}

.card-curso h3 {
  color: #1a1a2e;
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.3;
  margin: 10px 0 8px;
}
.card-curso .linha {
  color: #6a6a8a;
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0 0 16px;
  flex-grow: 1;
}

.precos { margin-bottom: 16px; }
.preco-cheio {
  color: #9a9aa5;
  text-decoration: line-through;
  font-size: 0.85rem;
  margin: 0 0 2px;
}
.preco-black {
  color: #1a1a2e;
  font-family: 'Figtree', sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  margin: 0;
  line-height: 1.15;
}
.parcela {
  color: #6a6a8a;
  font-size: 0.82rem;
  margin: 2px 0 0;
}

.btn-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 44px;
  background: linear-gradient(135deg, #d6003d, #8a0030);
  color: white;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 8px 24px rgba(214, 0, 61, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card-curso:hover .btn-card { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(214, 0, 61, 0.45); }

.selos-card { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.selo {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(138, 0, 48, 0.1);
  color: #8a0030;
  border: 1px solid rgba(138, 0, 48, 0.25);
}
.selo.selo-info {
  background: rgba(255, 179, 0, 0.14);
  color: #a86a00;
  border-color: rgba(255, 179, 0, 0.35);
}
.selo.selo-urgente {
  background: #d6003d;
  color: #fff;
  border-color: #d6003d;
  font-size: 0.7rem;
  padding: 5px 11px;
  box-shadow: 0 4px 14px rgba(214, 0, 61, 0.45);
}

.nota-menor-preco {
  color: #6a6a8a;
  font-size: 0.78rem;
  font-style: italic;
  margin: 8px 0 0;
}

/* ---------- Combo ---------- */
.card-combo {
  background: linear-gradient(145deg, #fff8ea, #fdf0dc);
  border: 2px solid #ffb300;
}

/* ---------- Card invertido (Última chance) ---------- */
.card-curso.card-invertido {
  background: linear-gradient(145deg, #2a0f2e, #1c0a1c);
  border: 1px solid rgba(255,255,255,0.08);
}
.card-invertido h3 { color: #ffffff; }
.card-invertido .linha { color: rgba(255,255,255,0.72); }
.card-invertido .preco-cheio { color: rgba(255,255,255,0.45); }
.card-invertido .preco-black { color: #ffd166; }
.card-invertido .parcela { color: rgba(255,255,255,0.65); }
.card-invertido .tarja-desconto {
  font-size: 0.92rem;
  padding: 7px 16px;
  box-shadow: 0 8px 22px rgba(255,138,0,0.55);
}
.card-invertido.card-combo {
  background: linear-gradient(145deg, #3a1a10, #2a0f2e);
  border: 2px solid #ffb300;
}

/* ---------- Prova social ---------- */
.provas {
  background: var(--creme, #fdf3e4);
  padding: 56px 0 24px;
}
.provas h2 {
  color: #2a0f2e;
  text-align: center;
  font-weight: 800;
  font-size: clamp(1.3rem, 3.6vw, 1.8rem);
  margin: 0 0 8px;
}
.provas .provas-sub {
  color: rgba(42,15,46,0.68);
  text-align: center;
  font-size: 0.95rem;
  margin: 0 0 32px;
}
.provas-grid { column-count: 1; column-gap: 16px; }
@media (min-width: 560px) { .provas-grid { column-count: 2; } }
@media (min-width: 900px) { .provas-grid { column-count: 3; } }
.prova {
  break-inside: avoid;
  margin: 0 0 16px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 26px rgba(0,0,0,0.18);
}
.prova img { display: block; width: 100%; height: auto; }

/* ---------- Carrossel de depoimentos ---------- */
.depoimentos-carrossel {
  background: var(--creme, #fdf3e4);
  padding: 8px 0 64px;
}
.carrossel-wrap { position: relative; }
.carrossel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 2px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carrossel-track::-webkit-scrollbar { display: none; }

.depoimento-card {
  flex: 0 0 auto;
  width: 280px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 10px 30px rgba(42,15,46,0.12);
  display: flex;
  flex-direction: column;
}
@media (min-width: 640px) { .depoimento-card { width: 320px; } }

.depoimento-etiqueta {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #8a0030;
  background: rgba(138, 0, 48, 0.08);
  border: 1px solid rgba(138, 0, 48, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.depoimento-texto {
  color: #3a2a3a;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 14px;
  flex-grow: 1;
}
.depoimento-texto strong { color: #8a0030; font-weight: 700; }
.depoimento-nome {
  color: #6a5a6a;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
}

.carrossel-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}
.carrossel-botao {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(42,15,46,0.2);
  background: #fff;
  color: #2a0f2e;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.carrossel-botao:hover { border-color: #8a0030; background: rgba(138,0,48,0.06); }

/* ---------- FAQ ---------- */
.faq { padding: 56px 0 64px; }
.faq h2 {
  color: #ffffff;
  text-align: center;
  font-weight: 800;
  font-size: clamp(1.3rem, 3.6vw, 1.8rem);
  margin: 0 0 32px;
}
.faq-lista { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  overflow: hidden;
}
.faq-pergunta {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  color: #ffffff;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.faq-pergunta .icone { flex-shrink: 0; transition: transform 0.2s ease; color: #ffd166; }
.faq-pergunta[aria-expanded="true"] .icone { transform: rotate(180deg); }
.faq-resposta {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-resposta.open { max-height: 300px; }
.faq-resposta p {
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
  padding: 0 20px 18px;
}

/* ---------- Rodapé ---------- */
footer {
  padding: 28px 20px 36px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #0f0a1a;
}
footer p {
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.6;
}

/* ---------- Botão flutuante de WhatsApp ---------- */
.whatsapp-flutuante {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25d366, #128c4a);
  color: #fff;
  text-decoration: none;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 14px 20px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(18,140,74,0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.whatsapp-flutuante:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(18,140,74,0.55); }
.whatsapp-flutuante svg { flex-shrink: 0; }
@media (max-width: 520px) {
  .whatsapp-flutuante span { display: none; }
  .whatsapp-flutuante { padding: 14px; }
}

/* ---------- Responsivo: contador nunca quebra linha em 320px ---------- */
@media (max-width: 360px) {
  .contador { gap: 6px; }
  .contador .unidade { min-width: 48px; padding: 8px 4px; }
  .contador .valor { font-size: 1.1rem; }
  .contador .rotulo { font-size: 0.56rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .carrossel-track { scroll-behavior: auto; }
}
