@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #1a1a2e;
  background: #fff;
  overflow-x: hidden;
}

/* ── VARIABLES ── */
:root {
  --black: #1a1a2e;
  --mid: #555;
  --muted: #999;
  --border: #e8e8e8;
  --green: #1dbd5c;
  --green-dark: #17a34f;
  --blue: #0057ff;
  --bg-light: #f6f8fb;
  --bg-mint: #eef7f3;
  --bg-dark: #111827;
  --radius: 12px;
  --radius-sm: 6px;
}

/* ── URGENCY BAR ── */
.urgency {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 11px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.urgency strong { font-weight: 800; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--black);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-logo strong {
  font-weight: 700;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 16px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--mid);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-links a:hover { background: var(--bg-light); color: var(--black); }
.nav-links a.active { color: var(--black); font-weight: 600; }

/* ── HERO ── */
.hero {
  padding: 100px 40px 80px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.hero-tag {
  display: inline-block;
  background: var(--bg-mint);
  color: #1d7a4f;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--mid);
  max-width: 600px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.75;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--black);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.btn-ghost:hover { border-color: #aaa; background: var(--bg-light); }

/* HERO STATS */
.hero-stats {
  display: flex;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
}
.hero-stat {
  flex: 1;
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: 'Lora', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label { font-size: 0.78rem; color: var(--muted); }

/* ── SECTION BASE ── */
.section { padding: 80px 40px; }
.section-inner { max-width: 900px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 16px;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 620px;
  line-height: 1.75;
  margin-bottom: 44px;
}

/* ALTERNATING BACKGROUNDS */
.section-white { background: #fff; }
.section-light { background: var(--bg-light); }
.section-mint  { background: var(--bg-mint); }
.section-dark  { background: var(--bg-dark); color: #fff; }
.section-dark h2 { color: #fff; }
.section-dark .section-lead { color: rgba(255,255,255,0.6); }
.section-dark .section-tag { color: #6ee7b7; }

/* ── COMO É O CURSO ── */
.curso-body p { margin-bottom: 18px; color: var(--mid); font-size: 1rem; line-height: 1.8; }
.curso-body p strong { color: var(--black); font-weight: 600; }
.curso-body p:last-child { margin-bottom: 0; }

/* ── DEPOIMENTOS TRECHOS ── */
.dep-trecho {
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 24px;
  margin-bottom: 16px;
  background: #fff;
  transition: box-shadow 0.15s;
}
.dep-trecho:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.dep-trecho .titulo {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.dep-trecho blockquote {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--black);
  line-height: 1.6;
  margin-bottom: 10px;
}
.dep-trecho .autor { font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.dep-link { text-align: right; margin-top: 4px; }
.dep-link a { font-size: 0.88rem; font-weight: 600; color: var(--blue); text-decoration: none; }
.dep-link a:hover { text-decoration: underline; }

/* ── DEP CARD COMPLETO (página depoimentos) ── */
.dep-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 20px;
  background: #fff;
}
.dep-card p { font-size: 0.95rem; line-height: 1.78; margin-bottom: 12px; color: var(--mid); }
.dep-card p:last-child { margin-bottom: 0; }
.dep-card .autor { font-size: 0.82rem; color: var(--green-dark); font-weight: 600; margin-top: 16px; display: block; font-style: normal; }

/* ── TURMAS ── */
.turmas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.turma-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.turma-card:hover { border-color: var(--green); box-shadow: 0 4px 20px rgba(29,189,92,0.1); }
.turma-card.online { border-color: var(--blue); background: #f0f5ff; }
.turma-card.online:hover { box-shadow: 0 4px 20px rgba(0,87,255,0.1); }
.turma-tipo {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.turma-tipo.presencial { background: #e8f5ee; color: #1d7a4f; }
.turma-tipo.online-badge { background: #e8eeff; color: #0040cc; }
.turma-nome {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 16px;
}
.turma-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.turma-row:last-child { border-bottom: none; }
.turma-row-label { color: var(--muted); }
.turma-row-val { font-weight: 600; color: var(--black); }

/* ── CURSO DETALHES ── */
.curso-detalhes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
}
.detalhe-item { background: #fff; padding: 24px 20px; text-align: center; }
.detalhe-num { font-family: 'Lora', serif; font-size: 1.7rem; font-weight: 700; color: var(--black); line-height: 1; margin-bottom: 4px; }
.detalhe-label { font-size: 0.75rem; color: var(--muted); }

/* ── PREÇOS ── */
.precos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 580px; margin-bottom: 36px; }
.preco-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 32px 28px; }
.preco-card.destaque { border-color: var(--green); background: #f0fbf5; }
.preco-tag { display: inline-block; background: var(--green); color: #fff; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 50px; margin-bottom: 12px; }
.preco-quando { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.preco-valor { font-family: 'Lora', serif; font-size: 2.4rem; font-weight: 700; color: var(--black); line-height: 1; margin-bottom: 6px; }
.preco-parcela { font-size: 0.88rem; color: var(--mid); }
.preco-matricula { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
.preco-economia { display: inline-block; margin-top: 12px; background: #d1fae5; color: #065f46; font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 50px; }

/* ── FAQ ── */
.faq-list { max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-pergunta { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 1rem; font-weight: 600; color: var(--black); cursor: pointer; user-select: none; transition: color 0.15s; }
.faq-pergunta:hover { color: var(--blue); }
.faq-icon { font-size: 1.4rem; font-weight: 300; color: var(--green); flex-shrink: 0; transition: transform 0.25s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-resposta { display: none; padding-bottom: 20px; }
.faq-item.open .faq-resposta { display: block; }
.faq-resposta p { font-size: 0.95rem; color: var(--mid); line-height: 1.75; margin-bottom: 12px; }
.faq-resposta p:last-child { margin-bottom: 0; }

/* ── TABELA ── */
.table-wrap { overflow-x: auto; margin: 20px 0 40px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th { background: var(--black); color: #fff; padding: 13px 16px; text-align: left; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; }
td { padding: 11px 16px; border-bottom: 1px solid var(--border); color: var(--mid); }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--bg-light); }
tr.recesso td { color: #aaa; font-style: italic; background: #fffbeb; }

/* ── CTA BOX ── */
.cta-box {
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  margin: 60px 0 0;
  overflow: hidden;
}
.cta-box h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.25;
  border: none !important;
}
.cta-box p {
  color: rgba(255,255,255,0.65);
  font-size: 0.97rem;
  margin-bottom: 8px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.cta-box .btn {
  margin-top: 28px;
  font-size: 1rem;
  padding: 15px 32px;
  max-width: 100%;
  word-break: break-word;
}

/* ── CREDENCIAIS ── */
.credencial { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 0.97rem; color: var(--mid); }
.credencial::before { content: ''; display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* ── VIDEO ── */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); margin-bottom: 12px; background: #000; }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.video-label { font-size: 0.85rem; color: var(--muted); margin-bottom: 32px; font-style: italic; }

/* ── GOOGLE MAPS ── */
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-top: 20px; }
.map-wrap iframe { display: block; width: 100%; height: 320px; border: none; }

/* ── FOOTER ── */
footer { background: var(--bg-dark); color: rgba(255,255,255,0.4); text-align: center; padding: 32px 40px; font-size: 0.82rem; line-height: 1.9; }
footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
footer a:hover { color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-top { padding: 12px 16px; }
  .nav-logo { font-size: 1.1rem; }
  .nav-wpp { font-size: 0.78rem; padding: 7px 13px; }
  .nav-links { padding: 4px 8px; gap: 0; }
  .nav-links a { font-size: 0.78rem; padding: 6px 8px; }
  .hero { padding: 48px 20px 40px; }
  .hero h1 { font-size: 1.9rem; }
  .hero-sub { font-size: 1rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn, .hero-ctas .btn-ghost { text-align: center; justify-content: center; }
  .section { padding: 48px 20px; }
  .section h2 { font-size: 1.6rem; }
  .turmas-grid { grid-template-columns: 1fr; }
  .curso-detalhes { grid-template-columns: repeat(2,1fr); }
  .precos { grid-template-columns: 1fr; max-width: 100%; }
  .cta-box { padding: 36px 20px; margin: 40px 0 0; border-radius: 8px; }
  .cta-box .btn { width: 100%; justify-content: center; font-size: 0.95rem; padding: 14px 20px; }
  .dep-trecho { padding: 14px 16px; }
  table { font-size: 0.82rem; }
  th, td { padding: 9px 10px; }
  footer { padding: 24px 20px; }
  .map-wrap iframe { height: 260px; }
}
