/* ==========================================================================
   CÓDIGO PALHARES — Folha de estilos principal
   --------------------------------------------------------------------------
   Sumário
   01. Fontes (hospedadas no próprio site — sem dependência externa)
   02. Variáveis de identidade visual (cores, tipografia, espaçamentos)
   03. Reset e base
   04. Utilitários e layout
   05. Botões
   06. Cabeçalho e navegação (inclui menu mobile)
   07. Hero (banner principal)
   08. Faixa de credenciais
   09. Seções, cards e grades
   10. Metodologia (etapas)
   11. Concursos
   12. Depoimentos
   13. Professor
   14. Mentoria (linha do tempo, itens inclusos, FAQ)
   15. Formulário
   16. Chamada final (CTA)
   17. Rodapé
   18. WhatsApp flutuante
   19. Animações
   20. Responsividade
   ========================================================================== */

/* 01. Fontes ------------------------------------------------------------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* 02. Variáveis ---------------------------------------------------------- */
:root {
  /* Paleta da marca — altere aqui para mudar o site inteiro */
  /* Azul-marinho da logo: #152b50 */
  --navy-950: #071430;
  --navy-900: #0d2045;
  --navy-800: #152b50;
  --navy-700: #1e3a68;
  --blue-600: #1f5fbf;
  --blue-500: #2f74e0;
  --blue-300: #8fb4f0;
  --blue-100: #e7effc;
  --blue-50:  #f3f7fd;
  /* Azul-aço da logo (coluna, balança e filetes) — detalhe discreto.
     O nome --gold foi mantido por compatibilidade. */
  --gold:     #6c85a4;
  --gold-soft:#a9bcd6;

  --ink:   #0d1a2f;
  --text:  #33415a;
  --muted: #5d6a82;
  --line:  #e2e8f1;
  --white: #ffffff;
  --bg-soft: #f5f8fc;
  --success: #1c7c54;
  --error:   #b42318;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 28, 61, .06), 0 1px 3px rgba(10, 28, 61, .05);
  --shadow:    0 10px 30px -12px rgba(10, 28, 61, .18);
  --shadow-lg: 0 30px 60px -20px rgba(5, 15, 36, .35);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 9vw, 120px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 03. Reset e base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1, h2 { font-family: var(--font-serif); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue-500); color: #fff; }

/* Foco visível para navegação por teclado (acessibilidade) */
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }

/* Link "pular para o conteúdo" */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  transition: top .2s;
}
.skip-link:focus { top: 12px; text-decoration: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 04. Utilitários e layout ---------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-900); color: #c9d4e8; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--gold); }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--blue-300); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.section-head p { font-size: 1.125rem; color: var(--muted); margin: 0; }
.section--dark .section-head p { color: #a9b8d3; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); }
.text-gold { color: var(--gold-soft); }
.mt-0 { margin-top: 0; }
.center { text-align: center; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 05. Botões ------------------------------------------------------------- */
.btn {
  --bg: var(--blue-600); --fg: #fff; --bd: var(--blue-600);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px;
  font-size: .86rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase;
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd); border-radius: 999px;
  cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(31, 95, 191, .55); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary:hover { --bg: var(--blue-500); --bd: var(--blue-500); }
.btn--light { --bg: #fff; --fg: var(--navy-900); --bd: #fff; }
.btn--light:hover { box-shadow: 0 12px 24px -10px rgba(255, 255, 255, .35); }
.btn--outline { --bg: transparent; --fg: var(--navy-900); --bd: var(--navy-900); }
.btn--outline:hover { --bg: var(--navy-900); --fg: #fff; box-shadow: none; }
.btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .35); }
.btn--ghost:hover { --bd: #fff; --bg: rgba(255, 255, 255, .06); box-shadow: none; }
.btn--whats { --bg: #128c4a; --bd: #128c4a; }
.btn--whats:hover { --bg: #0f7a40; --bd: #0f7a40; box-shadow: 0 12px 24px -10px rgba(18, 140, 74, .5); }
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: .78rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* 06. Cabeçalho ---------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
/* Estado após rolar a página (classe adicionada via JS) */
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(6, 18, 42, .92);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: rgba(255, 255, 255, .08);
}

/* Logo: símbolo oficial (imagem) + nome em texto, como na identidade visual */
.brand { display: inline-flex; align-items: center; gap: 14px; color: #fff; text-decoration: none !important; }
.brand__mark { width: auto; height: 46px; flex: none; }
.brand__text { display: flex; flex-direction: column; align-items: center; line-height: 1; padding-left: 14px; border-left: 1px solid rgba(169, 188, 214, .35); }
.brand__tag {
  display: flex; align-items: center; gap: 8px; width: 100%;
  font-size: .6rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 6px; padding-left: .32em;
}
.brand__tag::before, .brand__tag::after { content: ""; flex: 1; height: 1px; background: rgba(169, 188, 214, .45); }
.brand__name { font-family: var(--font-sans); font-size: 1.12rem; font-weight: 400; letter-spacing: .14em; white-space: nowrap; }
.brand__name strong { font-weight: 700; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; list-style: none; gap: 2px; }
.nav__link {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: #d5deee; font-size: .94rem; font-weight: 500; text-decoration: none !important;
  transition: color .2s, background-color .2s;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav__link[aria-current="page"] { color: #fff; }
.nav__link[aria-current="page"]::after {
  content: ""; display: block; height: 2px; width: 18px; margin: 4px auto -6px; background: var(--gold); border-radius: 2px;
}
.nav__cta { margin-left: 10px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px;
  background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform .3s var(--ease), background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* 07. Hero --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-950); color: #c3cfe4;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 100px)) 0 clamp(72px, 9vw, 120px);
}
/* Fundo: brilho radial + grade sutil */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 520px at 85% 15%, rgba(47, 116, 224, .28), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(31, 95, 191, .18), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
          mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.1rem); line-height: 1.06; letter-spacing: -.025em; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--blue-300); }
.hero__sub { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: #b7c5de; max-width: 540px; margin-bottom: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .92rem; color: #9fb0cd; }
.hero__trust li { display: flex; align-items: center; gap: 8px; list-style: none; }
.hero__trust svg { width: 18px; height: 18px; color: var(--gold-soft); }

/* Painel ilustrativo do plano de estudos */
.plan-card {
  position: relative; padding-bottom: 64px !important; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); padding: 26px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg); color: #d6e0f0;
}
.plan-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.plan-card__title { font-weight: 650; color: #fff; font-size: 1rem; }
.plan-card__meta { font-size: .78rem; color: #93a6c6; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(143, 180, 240, .14); color: var(--blue-300); letter-spacing: .04em; }
.pill--gold { background: rgba(200, 163, 91, .16); color: var(--gold-soft); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.bars { display: grid; gap: 14px; margin-bottom: 22px; }
.bar__label { display: flex; justify-content: space-between; font-size: .84rem; margin-bottom: 6px; }
.bar__label span:last-child { color: #93a6c6; font-variant-numeric: tabular-nums; }
.bar__track { height: 8px; background: rgba(255, 255, 255, .08); border-radius: 999px; overflow: hidden; }
.bar__fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue-600), var(--blue-300)); transform-origin: left; }
.reveal.is-visible .bar__fill { animation: grow 1.4s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.checks { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.check { display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.check__box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, .25); display: grid; place-items: center; flex: none; }
.check--done .check__box { background: var(--blue-600); border-color: var(--blue-600); }
.check--done .check__box svg { width: 12px; height: 12px; color: #fff; }
.check--done span:last-child { color: #8fa1c1; text-decoration: line-through; text-decoration-color: rgba(255,255,255,.25); }
.plan-card__float {
  position: absolute; left: -28px; bottom: -26px; background: #fff; color: var(--ink);
  border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; font-size: .86rem;
}
.plan-card__float strong { display: block; font-size: 1.3rem; line-height: 1.1; color: var(--navy-900); }
.plan-card__float .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-100); color: var(--blue-600); display: grid; place-items: center; }
.plan-card__float .ico svg { width: 22px; height: 22px; }
.plan-card__note { font-size: .7rem; color: #7c8fb1; margin: 16px 0 0; text-align: right; }

/* Cabeçalho de páginas internas */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; background: var(--navy-950); color: #b7c5de;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(56px, 7vw, 88px);
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 420px at 90% 0%, rgba(47, 116, 224, .3), transparent 60%), linear-gradient(180deg, var(--navy-950), var(--navy-900)); }
.page-hero::after {
  content: ""; position: absolute; right: 5vw; bottom: -50px; z-index: -1;
  width: 340px; height: 412px; background: url("../img/logo-marca-branca.png") no-repeat center / contain; opacity: .06;
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.5rem); max-width: 860px; }
.page-hero p { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 700px; margin-bottom: 32px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin-top: 0; font-size: .85rem; margin-bottom: 22px; color: #8fa1c1; }
.breadcrumb a { color: #b7c5de; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* 08. Faixa de credenciais ---------------------------------------------- */
.creds { background: #fff; border-bottom: 1px solid var(--line); }
.creds__list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.creds__item { padding: 30px 24px; border-right: 1px solid var(--line); }
.creds__item:last-child { border-right: 0; }
.creds__num { font-family: var(--font-serif); font-size: clamp(1.45rem, 2.2vw, 2rem); white-space: nowrap; color: var(--navy-900); line-height: 1; margin-bottom: 8px; display: block; }
.creds__label { font-size: .9rem; color: var(--muted); line-height: 1.4; display: block; }

/* 09. Cards -------------------------------------------------------------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d2dcea; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.card h3 { margin-bottom: 10px; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--blue-100); color: var(--blue-600);
}
.icon svg { width: 26px; height: 26px; }
.icon--dark { background: var(--navy-900); color: #fff; }
.section--dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--dark .card p { color: #a9b8d3; }
.section--dark .card:hover { border-color: rgba(255, 255, 255, .22); box-shadow: none; }
.section--dark .icon { background: rgba(143, 180, 240, .12); color: var(--blue-300); }

/* Destaque em duas colunas */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }

.quote-block {
  border-left: 3px solid var(--gold); padding: 6px 0 6px 24px; margin: 28px 0;
  font-family: var(--font-serif); font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--ink); line-height: 1.4;
}

.feature-list { list-style: none; display: grid; gap: 14px; margin: 24px 0 32px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list svg { flex: none; width: 22px; height: 22px; color: var(--blue-600); margin-top: 3px; }
.section--dark .feature-list svg { color: var(--blue-300); }

/* 10. Metodologia -------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.step { position: relative; padding: 0 24px 0 0; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-serif); font-size: 2.6rem; color: var(--blue-600); line-height: 1; margin-bottom: 18px;
}
.step::after { content: ""; position: absolute; top: 20px; left: 72px; right: 20px; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .98rem; margin: 0; }
.section--dark .step::before { color: var(--blue-300); }
.section--dark .step::after { background: linear-gradient(90deg, rgba(255,255,255,.15), transparent); }
.section--dark .step p { color: #a9b8d3; }

.steps--2 { grid-template-columns: repeat(2, 1fr) !important; gap: 40px 28px; }

/* 11. Concursos ---------------------------------------------------------- */
.exam-card { display: flex; flex-direction: column; overflow: hidden; padding: 0 !important; }
.exam-card__top { position: relative; padding: 30px 30px 26px; background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #c7d3e8; min-height: 172px; }
.exam-card__top::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); }
.exam-card__top .icon { background: rgba(255, 255, 255, .1); color: #fff; margin-bottom: 18px; }
.exam-card__top h3 { color: #fff; margin: 0; }
.exam-card__body { padding: 26px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.exam-card__body p { margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 22px; }
.tag { font-size: .78rem; font-weight: 550; padding: 5px 11px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--navy-800); }
.exam-card__body .link-arrow { margin-top: auto; }

/* Turmas */
.turma { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 24px 28px; }
.turma + .turma { margin-top: 14px; }
.turma h3 { margin: 0 0 4px; font-size: 1.1rem; }
.turma p { margin: 0; font-size: .95rem; }
.status { font-size: .74rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.status--aberta { background: #e5f4ec; color: var(--success); }
.status--breve  { background: #fbf3e2; color: #8a6420; }
.status--encerrada { background: #eef1f5; color: var(--muted); }

/* 12. Depoimentos -------------------------------------------------------- */
.testimonial { display: flex; flex-direction: column; gap: 22px; margin: 0; }
.testimonial__stars { display: flex; gap: 3px; color: var(--gold); }
.testimonial__stars svg { width: 17px; height: 17px; }
.testimonial blockquote { margin: 0; font-size: 1.04rem; color: var(--text); line-height: 1.7; flex: 1; }
.testimonial__person { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--blue-100); flex: none; }
.testimonial__person > span { display: block; line-height: 1.35; }
.testimonial__name { font-weight: 650; color: var(--ink); display: block; line-height: 1.3; }
.testimonial__result { display: block; font-size: .88rem; color: var(--blue-600); font-weight: 550; margin-top: 2px; }
.testimonial--placeholder { border-style: dashed; border-color: #c9d5e6; background: var(--blue-50); }
.testimonial--placeholder blockquote { color: var(--muted); font-style: italic; }

/* 13. Professor ---------------------------------------------------------- */
.prof-photo { position: relative; width: 100%; max-width: 480px; }
.prof-photo__frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); box-shadow: var(--shadow-lg);
}
.prof-photo__frame img { width: 100%; height: 100%; object-fit: cover; }
.prof-photo::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); border-radius: var(--radius-lg); z-index: -1; opacity: .55;
}
.prof-photo__badge {
  position: absolute; right: -18px; bottom: 34px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 16px 20px; max-width: 230px; font-size: .85rem; line-height: 1.4; color: var(--muted);
}
.prof-photo__badge strong { display: block; color: var(--navy-900); font-size: .98rem; margin-bottom: 2px; }
.cv-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 28px 0 34px; }
.cv-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; color: var(--ink); line-height: 1.45; }
.cv-list svg { flex: none; width: 20px; height: 20px; color: var(--blue-600); margin-top: 1px; }

/* Linha do tempo (trajetória e mentoria) */
.timeline { list-style: none; position: relative; display: grid; gap: 8px; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--blue-100), var(--line)); }
.timeline__item { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding: 14px 0; }
.timeline__dot {
  width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-100);
  display: grid; place-items: center; color: var(--blue-600); font-weight: 700; font-size: .9rem; position: relative; z-index: 1;
}
.timeline__item--current .timeline__dot { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.timeline__dot svg { width: 22px; height: 22px; }
.timeline__item h3 { margin: 10px 0 4px; font-size: 1.12rem; }
.timeline__item p { margin: 0; color: var(--muted); font-size: 1rem; }
.timeline__phase { font-size: .74rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* 14. Mentoria ----------------------------------------------------------- */
.phase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.phase { padding: 36px; }
.phase__num { font-family: var(--font-serif); font-size: .95rem; color: var(--gold); letter-spacing: .1em; margin-bottom: 12px; display: block; }
.phase ul { list-style: none; display: grid; gap: 14px; margin-top: 18px; }
.phase li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--text); font-size: 1rem; }
.phase li svg { width: 20px; height: 20px; color: var(--blue-600); margin-top: 3px; }
.phase li strong { color: var(--ink); display: block; }
.phase li span { color: var(--muted); font-size: .95rem; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { text-align: left; padding: 30px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.pillar__k { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); font-weight: 650; display: block; margin-bottom: 10px; }
.pillar h3 { color: #fff; }
.pillar p { color: #a9b8d3; margin: 0; }

.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #cbd7e8; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 60px 22px 26px; font-weight: 600; color: var(--ink); position: relative; font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 26px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--blue-600); border-bottom: 2px solid var(--blue-600); transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq__body { padding: 0 26px 24px; color: var(--muted); }
.faq .faq__body p:last-child { margin: 0; }

/* 15. Formulário --------------------------------------------------------- */
.form-wrap { background: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-lg); color: var(--text); }
.form-wrap h3 { font-size: 1.4rem; margin-bottom: 6px; color: var(--ink); }
.form-wrap > p { color: var(--muted); font-size: .98rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--blue-600); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--bg-soft); font-size: 1rem; color: var(--ink); transition: border-color .2s, background-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231f5fbf' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(47, 116, 224, .14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); background: #fff8f7; }
.field__error { font-size: .82rem; color: var(--error); min-height: 0; }
.field__error:empty { display: none; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue-600); flex: none; }
.consent.has-error { color: var(--error); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; } /* anti-spam (honeypot) */
.form__actions { grid-column: 1 / -1; display: grid; gap: 12px; }
.form__status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; font-size: .95rem; display: none; }
.form__status.is-success { display: block; background: #e5f4ec; color: var(--success); }
.form__status.is-error { display: block; background: #fdecea; color: var(--error); }
.form__note { font-size: .8rem; color: var(--muted); text-align: center; margin: 0; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.contact-cards { display: grid; gap: 14px; margin-top: 30px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #d5deee; text-decoration: none !important; transition: background-color .2s, border-color .2s; }
.contact-card:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .2); }
.contact-card .icon { margin: 0; width: 46px; height: 46px; background: rgba(143, 180, 240, .12); color: var(--blue-300); }
.contact-card strong { color: #fff; display: block; font-weight: 600; }
.contact-card span { font-size: .9rem; color: #9fb0cd; }
.section:not(.section--dark) .contact-card { background: #fff; border-color: var(--line); color: var(--text); }
.section:not(.section--dark) .contact-card strong { color: var(--ink); }
.section:not(.section--dark) .contact-card span { color: var(--muted); }
.section:not(.section--dark) .contact-card .icon { background: var(--blue-100); color: var(--blue-600); }

/* 16. CTA ---------------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: clamp(40px, 6vw, 72px);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #c3cfe4;
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(47,116,224,.45), transparent 65%); z-index: -1; }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.cta p { margin: 0; font-size: 1.1rem; max-width: 580px; }
.cta .btn-row { flex-direction: column; }

/* 17. Rodapé ------------------------------------------------------------- */
.site-footer { position: relative; background: var(--navy-950); color: #94a5c3; padding: 72px 0 32px; font-size: .95rem; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(100deg, var(--navy-800) 0 37%, var(--gold) 37% 100%); }
.footer__logo { height: 64px; width: auto; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer__about p { margin: 18px 0 22px; max-width: 340px; }
.footer__title { color: #fff; font-size: .8rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-sans); }
.footer__links { list-style: none; display: grid; gap: 10px; }
.footer__links a { color: #b2c0d8; }
.footer__links a:hover { color: #fff; }
.social { display: flex; gap: 10px; list-style: none; }
.social a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #d5deee;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .2s, transform .2s;
}
.social a:hover { background: var(--blue-600); transform: translateY(-2px); text-decoration: none; }
.social svg { width: 19px; height: 19px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: .85rem; color: #7487a8; }
.footer__bottom a { color: #94a5c3; }

/* 18. WhatsApp flutuante ------------------------------------------------- */
.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 18px 0 16px; border-radius: 999px;
  background: #128c4a; color: #fff; box-shadow: 0 14px 30px -10px rgba(18, 140, 74, .6);
  font-weight: 600; font-size: .92rem; text-decoration: none !important;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.whats-float:hover { transform: translateY(-3px) scale(1.02); }
.whats-float svg { width: 28px; height: 28px; flex: none; }
.whats-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #128c4a; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.25); opacity: 0; } }

/* 19. Animações ---------------------------------------------------------- */
/* Elementos com .reveal aparecem ao rolar (JS). Sem JS, ficam visíveis. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Páginas de texto (privacidade, obrigado, 404) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.state-page { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 60px) var(--gutter) 80px; background: var(--bg-soft); }
.state-page .big { font-family: var(--font-serif); font-size: clamp(4rem, 12vw, 8rem); color: var(--navy-900); line-height: 1; margin-bottom: 12px; }
.state-page .icon { margin-inline: auto; width: 72px; height: 72px; border-radius: 50%; }
.state-page .icon svg { width: 36px; height: 36px; }
.state-page .btn-row { justify-content: center; margin-top: 28px; }

/* 20. Responsividade ----------------------------------------------------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .step::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  /* Menu mobile em tela cheia */
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 8px; padding: 24px var(--gutter) 40px;
    background: var(--navy-950); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { font-size: 1.25rem; padding: 16px 4px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__link:hover { background: transparent; }
  .nav__link[aria-current="page"]::after { margin: 6px 0 -6px; }
  .nav__cta { margin: 20px 0 0; }
  .nav__cta .btn { width: 100%; }
  body.menu-open { overflow: hidden; }
  .site-header.menu-active { background: var(--navy-950); }

  .hero__grid, .split { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; }
  .grid-3, .pillars { grid-template-columns: 1fr 1fr; }
  .creds__list { grid-template-columns: repeat(2, 1fr); }
  .creds__item:nth-child(2) { border-right: 0; }
  .creds__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta { grid-template-columns: 1fr; }
  .cta .btn-row { flex-direction: row; }
  .prof-photo { margin-inline: auto; }
  .phase-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid-2, .grid-3, .grid-4, .pillars { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .btn-row .btn { width: 100%; }
  .brand { gap: 10px; }
  .brand__mark { height: 40px; }
  .brand__text { padding-left: 10px; }
  .brand__name { font-size: .95rem; letter-spacing: .1em; }
  .brand__tag { font-size: .52rem; letter-spacing: .26em; margin-bottom: 5px; }
  .creds__item { padding: 22px 16px; }
  .card, .phase { padding: 26px; }
  .plan-card { padding: 20px; }
  .plan-card__float { left: 12px; bottom: -24px; }
  .prof-photo::before { inset: 14px -10px -14px 14px; }
  .prof-photo__badge { right: 10px; }
  .cv-list { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .turma { grid-template-columns: 1fr; gap: 12px; }
  .turma .icon { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .whats-float { right: 16px; bottom: 16px; height: 58px; width: 58px; padding: 0; justify-content: center; }
  .whats-float .whats-float__label { display: none; }
  .cta .btn-row { flex-direction: column; }
}

@media (max-width: 480px) {
  .steps--2 { grid-template-columns: 1fr !important; gap: 32px; }
}
