/* ==========================================================================
   ACADEMY AMERICANA — DZA Landing Page
   ========================================================================== */

/* Metropolis via cdnfonts (Sora como fallback do Google Fonts) */
@import url('https://fonts.cdnfonts.com/css/metropolis-2');
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   Variáveis
   ========================================================================== */
:root {
  /* Cores primárias */
  --red:        #BF0A30;
  --white:      #FFFFFF;
  --navy:       #002868;

  /* Cores secundárias */
  --red-bright: #F12829;
  --blue-light: #00BFFF;
  --blue-royal: #0659CE;

  /* Neutros */
  --bg:         #ffffff;
  --bg-soft:    #f6f8fc;
  --bg-dark:    #001a47;
  --ink:        #0c1a36;
  --ink-soft:   #495676;
  --line:       #e3e8f1;

  /* Tipografia */
  --font-display: 'Metropolis', 'Sora', system-ui, -apple-system, sans-serif;
  --font-body:    'Metropolis', 'Sora', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(0, 40, 104, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 40, 104, 0.10);
  --shadow-lg: 0 24px 60px rgba(0, 40, 104, 0.18);

  /* Espaçamentos */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4rem;
  --s-7: 6rem;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  /* sem -webkit-font-smoothing: antialiased — deixava o texto fino demais no Mac */
  /* text-rendering: optimizeLegibility; */
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }

/* ==========================================================================
   Tipografia
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--red);
}
.eyebrow.on-dark { color: var(--blue-light); }
.eyebrow.on-dark::before { background: var(--blue-light); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 600;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-3);
}

.section {
  padding: var(--s-7) 0;
  position: relative;
}
.section--dark {
  background: var(--navy);
  color: var(--white);
}
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--soft { background: var(--bg-soft); }

.section-head {
  text-align: center;
  margin-bottom: var(--s-5);
  display: flex; flex-direction: column; align-items: center; gap: var(--s-2);
}
.section-head .lead { margin: 0 auto; }

/* Cabeçalho da seção "Onde já estivemos" com fontes um pouco menores */
#parceiras .section-head .eyebrow { font-size: 0.72rem; }
#parceiras .section-head h2 { font-size: clamp(1.5rem, 3.2vw, 2.35rem); }
#parceiras .section-head .lead { font-size: clamp(0.92rem, 1.4vw, 1.05rem); }

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(191, 10, 48, 0.32);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background: var(--red-bright);
  box-shadow: 0 14px 32px rgba(191, 10, 48, 0.42);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--white); }
.btn--dark {
  background: var(--navy);
  color: var(--white);
}
.btn--dark:hover { background: var(--blue-royal); transform: translateY(-2px); }
.btn--xl { padding: 1.2rem 2.2rem; font-size: 1.1rem; }
.btn__icon-wa { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.btn--block { width: 100%; }

/* ==========================================================================
   Header sticky
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: var(--s-3);
}
.site-header img { height: 38px; width: auto; }
.site-header .btn { padding: 0.5rem 1rem; font-size: 0.8rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background:
    linear-gradient(95deg, rgba(0,18,51,0.96) 0%, rgba(0,24,64,0.9) 34%, rgba(0,26,71,0.55) 60%, rgba(0,26,71,0.2) 82%, rgba(0,26,71,0.12) 100%),
    linear-gradient(180deg, rgba(0,18,51,0.55) 0%, rgba(0,18,51,0) 30%, rgba(0,18,51,0) 72%, rgba(0,18,51,0.78) 100%),
    url('../img/hero/golden-gate.jpg') 22% 28% / cover no-repeat;
  color: var(--white);
  overflow: visible;
  padding: var(--s-7) 0;
  display: flex;
  align-items: center;
  min-height: 82vh;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 3.9vw, 3.2rem);
  line-height: 1.08;
  font-weight: 800;
  text-wrap: balance;
  letter-spacing: -0.02em;
}
.hero h1 .accent {
  color: var(--red-bright);
  display: block;
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: block;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  max-width: 600px;
}
.hero__copy p.lead {
  color: rgba(255,255,255,0.85);
  font-size: 1.02rem;
  max-width: 32em;
}
.hero__cta {
  display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-2);
}
.hero__cta .btn--xl { padding: 1.05rem 1.95rem; font-size: 1rem; }

/* Blur leve só na lateral direita (suaviza a água atrás do homem).
   Mascarado por gradiente: nítido à esquerda, desfocado à direita. */
.hero__blur {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  z-index: 1;
  pointer-events: none;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 42%);
  mask-image: linear-gradient(to right, transparent 0%, #000 42%);
}

/* Mentor recortado, base alinhada à seção e cabeça sobre o cabeçalho */
.hero__photo {
  position: absolute;
  right: 11%;                      /* afasta da lateral direita, aproxima do texto */
  bottom: 0;                       /* base da imagem = base da seção */
  height: calc(100% + 16px);       /* respiro entre o cabelo e o PT/EN */
  width: auto;
  margin: 0;
  z-index: 60;                     /* acima do cabeçalho (z-index: 50) no topo */
  pointer-events: none;
}
/* Ao rolar, a figura passa para trás do cabeçalho (evita o "voo" no scroll) */
.is-scrolled .hero__photo { z-index: 1; }

/* Legenda da imagem do mentor (canto inferior direito) */
.hero__caption {
  position: absolute;
  right: 4%;
  bottom: 8%;
  z-index: 61;
  text-align: right;
  color: var(--white);
  max-width: 320px;
}
.hero__caption-name {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.hero__caption-name::after {
  content: '';
  display: block;
  width: 100%; height: 2px;
  background: var(--red-bright);
  margin: 0.45rem 0 0.5rem;
}
.hero__caption-quote {
  display: block;
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 900px) {
  .hero__caption { display: none; }
}
.hero__photo img {
  display: block;
  height: 100%;
  width: auto;
  object-position: bottom right;
  filter: drop-shadow(0 24px 50px rgba(0,0,0,0.45));
}

/* ==========================================================================
   Cards genéricos
   ========================================================================== */
.cards-grid {
  display: grid;
  gap: var(--s-3);
}
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Seção Oportunidades — caminhos (Entrada, Formação, Carreira) */
.paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: var(--s-4);
}
.path {
  display: flex;
  gap: var(--s-2);
  align-items: flex-start;
  padding: var(--s-1) var(--s-3);
}
.path + .path { border-left: 1px solid var(--line); }
.path__icon { flex-shrink: 0; color: var(--red); line-height: 0; }
.path__icon svg { width: 48px; height: 48px; display: block; }
.path__body { min-width: 0; }
.path__title {
  font-size: 1.3rem;
  color: var(--navy);
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.path__tag { color: var(--red); font-weight: 700; font-size: 0.9rem; margin: 0 0 0.55rem; white-space: nowrap; }
.path__desc { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.5; margin: 0; }
@media (max-width: 760px) {
  .paths { grid-template-columns: 1fr; gap: var(--s-4); }
  .path { padding: 0; }
  .path + .path { border-left: none; border-top: 1px solid var(--line); padding-top: var(--s-4); }
}

/* ==========================================================================
   Linha do tempo — O Caminho (animação de percurso)
   ========================================================================== */
.journey { margin-top: var(--s-3); }
.journey__track {
  list-style: none;
  display: flex;
  align-items: flex-start;
  position: relative;
  padding-top: 52px;
}
.journey__step {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  opacity: 0;
  transform: translateY(10px) scale(0.92);
}
/* Marcador "você está aqui" (estilo mapa) apontando para o Pré-Diagnóstico */
.journey__here {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
}
.journey__here-label {
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(191, 10, 48, 0.4);
}
.journey__here::after {
  content: '';
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--red);
  margin-top: -1px;
  filter: drop-shadow(0 3px 2px rgba(191, 10, 48, 0.3));
}
.journey.is-visible .journey__step {
  animation: journeyIn .5s cubic-bezier(.2,.7,.3,1) forwards;
  animation-delay: calc(var(--i) * 0.16s);
}
@keyframes journeyIn { to { opacity: 1; transform: none; } }

.journey__step:not(:last-child)::after,
.journey__step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(50% + 28px);
  width: calc(100% - 56px);
  height: 0;
}
.journey__step:not(:last-child)::after { border-top: 2px dashed rgba(6,89,206,0.28); }
.journey__step:not(:last-child)::before {
  border-top: 2px solid var(--blue-royal);
  transform: scaleX(0);
  transform-origin: left center;
}
.journey.is-visible .journey__step:not(:last-child)::before {
  animation: journeyLine .45s ease forwards;
  animation-delay: calc(var(--i) * 0.16s + 0.18s);
}
@keyframes journeyLine { to { transform: scaleX(1); } }

.journey__dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-royal);
  position: relative;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(0,40,104,0.10);
}
.journey__dot svg { width: 26px; height: 26px; }
.journey__dot--flag { overflow: hidden; padding: 0; border-color: rgba(0,0,0,0.10); }
.journey__dot--flag svg { width: 100%; height: 100%; }
.journey__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  max-width: 104px;
}
.journey__desc {
  font-size: 0.72rem;
  color: var(--ink-soft);
  line-height: 1.3;
  max-width: 118px;
  margin-top: -0.25rem;
}
/* Destaque do passo Pré-Diagnóstico (pré-diagnóstico gratuito) */
.journey__dot--accent { border-color: var(--red); color: var(--red); }
.journey__step--accent .journey__label { color: var(--red); }
@media (max-width: 760px) {
  .journey__track {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 50px 0 12px;
    -webkit-overflow-scrolling: touch;
  }
  .journey__step { flex: 0 0 118px; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,40,104,0.25);
}
.card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--blue-royal));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--s-2);
}
.card__icon--red { background: linear-gradient(135deg, var(--red), var(--red-bright)); }
.card__title { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--navy); }
.card__text { color: var(--ink-soft); font-size: 0.97rem; }

/* Destaques de cor reutilizáveis */
.accent-blue { color: var(--blue-royal); }
.accent-red { color: var(--red); }

/* ==========================================================================
   Método DZA — painel de marca + colunas (fundo escuro)
   ========================================================================== */
.method2 {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  align-items: stretch;
}
.method2 > * + * {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: var(--s-3);
}
.method2__brand { padding-right: var(--s-3); }
.method2__brand .eyebrow { margin-bottom: 0.5rem; }
.method2__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 0.88;
  color: #fff;
  letter-spacing: -0.02em;
}
.method2__logo-sub {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 1.9vw, 1.5rem);
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.01em;
  margin-top: 0.25rem;
}
.method2__logo-sub .accent { color: var(--red-bright); }
.method2__tagline {
  margin: var(--s-2) 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
}
.method2__feat { text-align: center; padding-top: 0.3rem; }
.method2__icon { color: var(--red-bright); display: flex; justify-content: center; margin-bottom: var(--s-2); }
.method2__icon svg { width: 46px; height: 46px; }
.method2__title {
  color: #fff;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin: 0 0 0.5rem;
}
.method2__desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}
.method2__cta { text-align: center; margin-top: var(--s-5); }
@media (max-width: 900px) {
  .method2 { grid-template-columns: 1fr 1fr; row-gap: var(--s-4); }
  .method2 > * + * { border-left: none; padding-left: 0; }
  .method2__brand { grid-column: 1 / -1; text-align: center; padding-right: 0; }
  .method2__feat { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: var(--s-3); }
}
@media (max-width: 560px) {
  .method2 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--red), #8e0823);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: var(--s-3);
}
.cta-banner h3 { color: var(--white); font-size: 1.8rem; }
.cta-banner p { opacity: 0.92; max-width: 56ch; }

/* ==========================================================================
   Mentor
   ========================================================================== */
/* Faixa navy mais baixa que a foto: a cabeça do Rodrigo sai por cima.
   min-height trava a altura da faixa (independe do tamanho da fonte). */
#mentor { position: relative; padding-top: 0; padding-bottom: 0; overflow: visible; }
#mentor .container { display: flex; align-items: center; min-height: 424px; position: relative; z-index: 1; }
.mentor__watermark {
  position: absolute;
  left: 3%;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: auto;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.mentor__copy { width: 540px; max-width: 90%; margin-left: 4%; padding: var(--s-2) 0; transform: translateY(-14px); }
.mentor__copy .eyebrow { margin-bottom: 0.55rem; }
.mentor__copy h2 { color: var(--navy); font-size: clamp(1.6rem, 2.7vw, 2.15rem); white-space: nowrap; margin-bottom: 0.3rem; }
.mentor__role { color: var(--blue-royal); font-weight: 700; font-size: 0.98rem; margin: 0 0 var(--s-2); }
.mentor__desc { color: var(--ink-soft); font-size: 0.83rem; line-height: 1.5; margin: 0 0 var(--s-2); max-width: 62ch; }
.mentor__list { list-style: none; display: grid; gap: 0.6rem; margin: var(--s-2) 0 0; }
.mentor__list li {
  position: relative; padding-left: 1.4rem;
  color: var(--ink-soft);
  font-size: 0.8rem; line-height: 1.4;
}
.mentor__list li strong { color: var(--blue-royal); font-weight: 700; }
.mentor__list li::before {
  content: ''; position: absolute; left: 0; top: 0.5em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue-royal);
}
.mentor__photo { position: absolute; right: 9%; bottom: 0; width: 490px; margin: 0; z-index: 2; }
.mentor__photo img { display: block; width: 100%; }

/* Universidades parceiras — marquee */
.marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 83s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  flex-shrink: 0;
  margin-right: var(--s-7);
  height: 68px;
  width: auto;
  max-width: 205px;
  object-fit: contain;
  align-self: center;
}
/* Logos redondas (selos) um pouco maiores para legibilidade */
.marquee__item--round { height: 90px; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}
@media (max-width: 760px) {
  .marquee__item { height: 46px; max-width: 150px; margin-right: var(--s-6); }
  .marquee__item--round { height: 62px; }
}

/* ==========================================================================
   Mensagem de sucesso do formulário (legado)
   ========================================================================== */
.form-success {
  text-align: center;
  padding: var(--s-4);
  background: rgba(22,163,74,0.08);
  border-radius: var(--radius);
  color: #166534;
  font-weight: 600;
}

/* ==========================================================================
   CTA final, banner com mascote (fiel à referência)
   ========================================================================== */
.final-banner {
  position: relative;
  background: linear-gradient(180deg, #002868 0%, #001a47 100%);
  color: var(--white);
  overflow: hidden;
  min-height: 200px;
}
.final-banner__grid {
  display: grid;
  grid-template-columns: 250px 1fr 320px;
  gap: var(--s-4);
  align-items: center;
  min-height: 274px;
  padding: var(--s-4) 0;
}

.final-banner__mascot {
  position: relative;
  align-self: end;
  margin-bottom: -42px;
}
.final-banner__mascot img {
  display: block;
  width: 100%;
  height: auto;
}

.final-banner__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}
.final-banner__copy h2 {
  color: var(--white);
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  line-height: 1.18;
  text-wrap: balance;
}
.final-banner__copy h2 .accent { color: var(--blue-light); }
.final-banner__copy p {
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  max-width: 38ch;
}
.final-banner__cta {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  line-height: 1.2;
  text-align: center;
  padding: 0.75rem 1.25rem;
}
.final-banner__cta svg { flex-shrink: 0; }

/* Bloco de prova social à direita */
.final-banner__stat {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding-left: var(--s-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
}
.final-banner__stat-avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.4));
}
.fb-avatar {
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  background: #0a2a5e;
  flex: none;
}
/* Tamanhos graduados: centro maior e à frente, diminuindo para as pontas */
.fb-avatar:nth-child(1) { width: 46px; height: 46px; z-index: 1; }
.fb-avatar:nth-child(2) { width: 54px; height: 54px; z-index: 2; margin-left: -13px; }
.fb-avatar:nth-child(3) { width: 64px; height: 64px; z-index: 3; margin-left: -13px; }
.fb-avatar:nth-child(4) { width: 54px; height: 54px; z-index: 2; margin-left: -13px; }
.fb-avatar:nth-child(5) { width: 46px; height: 46px; z-index: 1; margin-left: -13px; }
.final-banner__stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 4.2vw, 3.6rem);
  line-height: 0.9;
  color: #fff;
}
.final-banner__stat-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  line-height: 1;
  color: #fff;
}
.final-banner__stat-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  line-height: 1.4;
  max-width: 26ch;
  margin: 0.55rem 0 0;
}
.final-banner__stat-desc .fb-accent { color: var(--blue-light); font-weight: 700; }
.final-banner__stat-vez {
  color: var(--blue-light);
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  margin: 0.6rem 0 0;
}

/* Responsividade do banner */
@media (max-width: 980px) {
  .final-banner__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--s-3);
  }
  .final-banner__copy { order: 1; align-items: center; }
  .final-banner__copy p { margin: 0 auto; }
  .final-banner__cta { align-self: center; }
  .final-banner__stat {
    order: 2;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-left: 0;
    padding-top: var(--s-3);
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
  .final-banner__mascot { order: 3; margin-bottom: 0; }
  .final-banner__mascot img { width: 100%; max-width: 300px; height: auto; margin: 0 auto; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #001233;
  color: rgba(255,255,255,0.7);
  padding: var(--s-5) 0;
  font-size: 0.92rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: space-between;
  align-items: center;
}
.site-footer img { height: 36px; }
.site-footer a:hover { color: var(--white); }
.site-footer__social { display: flex; align-items: center; gap: 1rem; }
.site-footer__social a { color: rgba(255, 255, 255, 0.7); display: inline-flex; transition: color .15s ease; }
.site-footer__social a:hover { color: var(--white); }
.site-footer__social svg { width: 20px; height: 20px; }

/* ==========================================================================
   Animações
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Banner de cookies (LGPD)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 180%);
  width: min(660px, calc(100% - 28px));
  z-index: 80;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), opacity .4s ease;
}
.cookie-banner.is-visible { transform: translate(-50%, 0); opacity: 1; }
.cookie-banner__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.cookie-banner__text a { color: var(--blue-royal); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: var(--s-2); flex-shrink: 0; }
.cookie-banner__btn { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.cookie-banner__btn--ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1.5px solid var(--line);
}
.cookie-banner__btn--ghost:hover {
  background: rgba(12, 26, 54, 0.05);
  color: var(--ink);
  border-color: var(--ink-soft);
}
[data-theme="dark"] .cookie-banner { background: var(--surface); border-color: var(--line); }
[data-theme="dark"] .cookie-banner__btn--ghost { border-color: rgba(255,255,255,0.22); color: var(--ink); }
[data-theme="dark"] .cookie-banner__btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.45); }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; bottom: 12px; gap: var(--s-2); }
  .cookie-banner__actions { justify-content: center; }
  .cookie-banner__btn { flex: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
/* animação removida pra evitar composite layer que reduz nitidez da foto */

/* ==========================================================================
   Responsividade
   ========================================================================== */
@media (max-width: 980px) {
  .hero { min-height: 0; padding: var(--s-6) 0 0; display: block; }
  .hero__blur { display: none; }
  .hero__grid { display: flex; flex-direction: column; text-align: center; }
  .hero__copy { align-items: center; max-width: 100%; }
  .hero__copy p.lead { margin: 0 auto; }
  .hero__photo {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 400px;
    margin: var(--s-4) auto 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1;
  }
  .hero__photo img { margin: 0 auto; }
  .mentor__copy { width: auto; max-width: 100%; margin-left: 0; transform: none; }
  .mentor__photo { position: static; width: 100%; max-width: 320px; margin: var(--s-4) auto 0; right: auto; }
}

@media (max-width: 720px) {
  .section { padding: var(--s-6) 0; }
  .cards-grid--3, .cards-grid--4 { grid-template-columns: 1fr; }
  .cards-grid--2 { grid-template-columns: 1fr; }
}

/* Ajustes específicos do mobile: logo do cabeçalho e hero */
@media (max-width: 760px) {
  /* Logo menor e sem distorção — evita o achatamento causado pelo flex + reset de img */
  .site-header__inner > a { flex: 0 0 auto; }
  .site-header img { height: 30px; width: auto; max-width: none; }

  /* Compacta o cabeçalho para caber sem cortar o botão */
  .site-header__inner { gap: 10px; }
  .site-header__actions { gap: 8px; }
  .site-header .btn { padding: 0.45rem 0.7rem; font-size: 0.72rem; }

  /* Remove a foto do mentor no mobile, mantendo só a ponte (Golden Gate) ao fundo */
  .hero__photo { display: none; }
  .hero {
    display: flex;
    align-items: center;
    min-height: 74vh;
    padding: var(--s-6) 0;
  }
}

@media (max-width: 480px) {
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; }
  .hero__photo { height: 340px; }
}

/* ==========================================================================
   Reforço de peso, fontes secundárias mais legíveis
   ========================================================================== */
.card__text,
.mentor__copy ul li,
.metric__label,
.proof__label,
.muted,
p.muted {
  font-weight: 600;
}

.eyebrow,
.metric__label,
.proof__label,
.authority__label {
  font-weight: 700;
}

/* ==========================================================================
   Utilitários
   ========================================================================== */
.text-center { text-align: center; }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mb-3 { margin-bottom: var(--s-3); }

/* ==========================================================================
   Header — toggles de tema e idioma
   ========================================================================== */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.lang-switch button {
  padding: 0.3rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  transition: background .2s ease, color .2s ease;
}
.lang-switch button.is-active {
  background: var(--blue-royal);
  color: #fff;
}

.theme-toggle {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.theme-toggle:hover { background: var(--bg-soft); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun { display: none; }

/* ==========================================================================
   TEMA ESCURO — ativado por [data-theme="dark"] no <html>
   (apenas adiciona overrides; não altera o tema claro)
   ========================================================================== */
[data-theme="dark"] {
  --bg:        #0b1020;
  --bg-soft:   #121a2e;
  --ink:       #e7ecf7;
  --ink-soft:  #9fabc6;
  --line:      #283350;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.65);
  --surface:   #151d33;
}

/* Ícone do toggle (lua no claro, sol no escuro) */
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }

/* Header translúcido escuro */
[data-theme="dark"] .site-header {
  background: rgba(11, 16, 32, 0.9);
}

/* Superfícies de cards passam a usar o tom escuro */
[data-theme="dark"] .card {
  background: var(--surface);
}

/* Cards e ícones claros adicionais passam ao tom escuro */
[data-theme="dark"] .journey__dot {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

/* Textos navy desses componentes passam a claro para legibilidade no escuro */
[data-theme="dark"] .journey__label {
  color: var(--ink);
}
[data-theme="dark"] .journey__step--accent .journey__label { color: var(--red); }
[data-theme="dark"] .journey__dot--accent { border-color: var(--red); }

/* Logos das universidades no escuro: cada uma sobre um "chip" claro,
   mantendo as cores originais (seção segue escura). Espaçamento reduzido. */
[data-theme="dark"] .marquee__item {
  box-sizing: content-box;
  background: #c4cad6;
  padding: 9px 18px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  margin-right: var(--s-3);
}

/* Textos que no tema claro usam navy passam a claro */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] .card__title {
  color: var(--ink);
}

[data-theme="dark"] .form-success { color: #86efac; }
