/* ==========================================================================
   Atlântico Avanti · LP Bootcamp
   Base visual alinhada ao Manual de Marca Avanti (2025)
   - Títulos: Poppins (Light 300 + Bold 700 para contraste)
   - Texto corrido: Inter Light 300, destaques em Inter Bold 700
   ========================================================================== */

/* ---------- 0. Fontes (hospedadas localmente, subconjunto latino) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/inter-300.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-700.woff2") format("woff2"); }

/* ---------- 1. Tokens ---------- */
:root {
  /* Paleta primária (manual 4.2) */
  --roxo: #81319c;          /* Roxo Atlântico */
  --roxo-escuro: #65267a;   /* Roxo 3 */
  --laranja: #ef5123;       /* Laranja Atlântico */
  --laranja-escuro: #b53d1a;/* Laranja 1 (hover) */
  --branco: #ffffff;

  /* Cinzas (manual 4.3) */
  --cinza-1: #262626;       /* títulos sobre fundo claro, rodapé */
  --cinza-3: #4a4a4a;       /* texto corrido sobre fundo claro */
  --cinza-atl: #636363;     /* textos de apoio (meta, legendas) */
  --cinza-5: #d1d1d1;       /* texto de apoio sobre fundo escuro */
  --cinza-6: #dedede;       /* linhas e divisórias */
  --cinza-7: #f6f6f6;       /* fundo cinza claro */

  /* Funcional */
  --whatsapp: #6aa32e;       /* Verde 3 (paleta secundária) */
  --whatsapp-hover: #5a8c26;

  /* Papéis de cor */
  --c-title: var(--cinza-1);
  --c-title-accent: var(--roxo);
  --c-text: var(--cinza-3);
  --c-text-muted: var(--cinza-atl);
  --c-link: var(--roxo);
  --c-link-hover: var(--laranja);

  /* Tipografia */
  --ff-title: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Escala única (mobile → desktop) */
  --fs-display: clamp(2rem, 1.35rem + 2.6vw, 3rem);       /* 32 → 48  · H1 */
  --fs-h2: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);        /* 28 → 36  · títulos de seção */
  --fs-h3: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);    /* 19 → 22  · títulos de card/etapa */
  --fs-h4: 1.125rem;                                       /* 18       · subtítulos de lista, FAQ */
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);      /* 17 → 20  · parágrafo de abertura */
  --fs-body: clamp(1rem, 0.97rem + 0.12vw, 1.0625rem);     /* 16 → 17  · texto corrido */
  --fs-small: 0.9375rem;                                   /* 15       · meta, rodapé */
  --fs-xs: 0.875rem;                                       /* 14       · links legais */

  --lh-title: 1.2;
  --lh-text: 1.65;

  /* Espaços e forma */
  --container: 75rem;
  --gutter: clamp(1.25rem, 0.8rem + 2vw, 2rem);
  --section-y: clamp(4rem, 3rem + 4vw, 6.5rem);
  --radius: 1.25rem;
  --radius-pill: 999px;

  /* Movimento */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-reveal: 640ms;
  --stagger: 110ms;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1rem;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--ff-text);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: var(--lh-text);
  color: var(--c-text);
  background: var(--branco);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
b, strong { font-weight: 700; }

a { color: var(--c-link); text-decoration: underline; text-underline-offset: 0.18em; transition: color 0.2s ease; }
a:hover { color: var(--c-link-hover); }
:focus-visible { outline: 3px solid var(--laranja); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--cinza { background: var(--cinza-7); }
.section--roxo { background: var(--roxo); }
.section--laranja { background: var(--laranja); }

/* Link "Pular para o conteúdo": invisível até receber foco pelo teclado (Tab) */
.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--ff-title);
  font-weight: 700;
  color: var(--branco);
  background: var(--roxo);
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; color: var(--branco); }
main:focus { outline: none; }

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

/* ---------- 3. Tipografia ---------- */
.title {
  font-family: var(--ff-title);
  font-weight: 300;
  line-height: var(--lh-title);
  letter-spacing: -0.01em;
  color: var(--c-title);
  text-wrap: balance;
}
.title strong { font-weight: 700; color: var(--c-title-accent); }

.title--display { font-size: var(--fs-display); }
.title--h2 { font-size: var(--fs-h2); }

.subtitle {
  font-family: var(--ff-title);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-title);
}

.label {
  font-family: var(--ff-title);
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.35;
  color: var(--c-title);
}

.lead { font-size: var(--fs-lead); }
.center { text-align: center; }
.center .title, .title.center { margin-inline: auto; }

.prose > * + * { margin-top: 1.25em; }

/* Fundos escuros: tudo em branco sólido, apoio em cinza 5 */
.on-dark,
.on-dark .title,
.on-dark .title strong,
.on-dark .subtitle,
.on-dark .label { color: var(--branco); }
.on-dark { --c-link: var(--branco); --c-link-hover: var(--cinza-5); }
/* Manual 5.3: sobre o roxo, o trecho em Bold do título vai em Cinza 5 */
.section--roxo .title strong { color: var(--cinza-5); }

/* Lista com marcador da marca */
.list > li {
  position: relative;
  padding-left: 1.5rem;
}
.list > li + li { margin-top: 0.85rem; }
.list > li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--laranja);
}
/* ---------- 4. Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3.5rem;
  padding: 0.75rem 2rem;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--ff-title);
  font-size: 1.1875rem;   /* 19px bold = "texto grande" (WCAG): contraste 3:1 basta */
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
  text-decoration: none;
  color: var(--branco);
  background: var(--laranja);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s var(--ease-out);
}
.btn:hover { color: var(--branco); background: var(--laranja-escuro); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.375rem; height: 1.375rem; flex: none; fill: currentColor; }

.btn--whatsapp { width: 100%; padding-inline: 1.25rem; background: var(--whatsapp); }
.btn--whatsapp:hover { background: var(--whatsapp-hover); }

/* ---------- 5. Header ---------- */
.site-header {
  background: var(--branco);
  border-bottom: 1px solid var(--cinza-6);
}
.site-header .container {
  display: flex;
  align-items: flex-end; /* tarja apoiada na linha de base das letras do logo */
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}
.site-header__logo { display: block; line-height: 0; }
.site-header__logo img { width: auto; height: 2.75rem; }
/* selo do ciclo, como no original: faixa amarela à esquerda, fundo cinza e cantos direitos arredondados */
.site-header__tag {
  align-self: flex-end;
  padding: 0.25rem 0.75rem;
  border-left: 0.375rem solid #ffc50b;
  border-radius: 0 0.3125rem 0.3125rem 0;
  background: var(--cinza-5);
  font-family: var(--ff-title);
  font-size: var(--fs-xs);
  font-weight: 300;
  line-height: 1.3;
  color: var(--cinza-1);
  white-space: nowrap;
}

/* Ícones do sprite (Lucide, traço 1.5) */
.icon { width: 1.5rem; height: 1.5rem; flex: none; color: var(--laranja); }

/* Botão secundário (contorno roxo) */
.btn--outline {
  color: var(--roxo);
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--roxo);
}
.btn--outline:hover { color: var(--branco); background: var(--roxo); }

/* ---------- 6. Hero ---------- */
.hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(2rem, 1.5rem + 2vw, 3rem); }
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
}
.hero .title { font-size: var(--fs-h3); line-height: 1.35; color: var(--cinza-3); }
/* nome do programa funciona como assinatura: Poppins Bold em roxo */
.hero__brand {
  display: block;
  margin-bottom: 0.75rem;
  font-size: clamp(3.5rem, 1.9rem + 6.4vw, 6.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--roxo);
}
/* efeito de digitação do nome + cursor amarelo piscando */
.tw-cursor {
  display: inline-block;
  width: 0.07em;
  height: 0.82em;
  margin-left: 0.06em;
  vertical-align: -0.04em;
  background: #ffc50b;
}
@media (prefers-reduced-motion: no-preference) {
  .tw-cursor { animation: tw-blink 1s steps(1) infinite; }
  @keyframes tw-blink { 50% { opacity: 0; } }
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 1.5rem clamp(1.5rem, 1rem + 2vw, 3rem);
  margin-top: 2.25rem;
}
.hero__stats li { color: var(--roxo); }
.stat__num {
  font-family: var(--ff-title);
  font-size: clamp(2.25rem, 1.9rem + 1.4vw, 3rem);
  font-weight: 700;
  line-height: 1;
}
.stat__unit {
  font-family: var(--ff-title);
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  font-weight: 300;
  line-height: 1;
}
.stat__desc { display: block; margin-top: 0.35rem; font-size: var(--fs-small); font-weight: 400; color: var(--cinza-atl); }
.hero__stats li:last-child { color: var(--laranja); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.hero__actions .btn--outline { font-size: 1rem; min-height: 3.5rem; padding-inline: 1.5rem; }
.hero__note { margin-top: 1.25rem; font-size: var(--fs-small); color: var(--cinza-atl); }
.hero__art { position: relative; width: 100%; max-width: 31rem; margin-inline: auto; }
.hero__art img { position: relative; z-index: 1; width: 100%; }
/* ---------- 7. Diferenciais ---------- */
.features-wrap { padding-bottom: clamp(3rem, 2rem + 3vw, 4.5rem); }
.features {
  padding: clamp(1.75rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--cinza-7);
}
.features__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.5rem;
}
.features__list li { display: grid; gap: 0.75rem; align-content: start; line-height: 1.4; color: var(--cinza-3); }
.features__list .icon { width: 2.25rem; height: 2.25rem; }
.features__list strong { color: var(--c-title); }
.features__obs { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--cinza-6); font-size: var(--fs-small); text-align: center; color: var(--cinza-atl); }

/* ---------- 8. Sobre o Bootcamp (roxo) ---------- */
.about-bc .container {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.about-bc__art img { width: 100%; }
.about-bc .title { margin-bottom: 2.25rem; }
.numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.numbers li { display: grid; align-content: start; gap: 0.5rem; }
.numbers__num {
  font-family: var(--ff-title);
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--branco);
}
.numbers__desc { line-height: 1.45; color: var(--branco); }
.numbers__note { font-size: var(--fs-small); line-height: 1.45; color: var(--cinza-5); }
.numbers--small { margin-top: 2.25rem; padding-top: 2rem; border-top: 1px solid var(--cinza-5); }
.numbers--small .numbers__num { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); }

/* ---------- 9. Para quem é + matrícula ---------- */
.audience .title { margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.audience__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.audience__photo { position: relative; max-width: 17.5rem; margin-bottom: 1.5rem; }
.audience__photo::before {
  content: "";
  position: absolute;
  inset: 26% 0 0 0;
  border-radius: var(--radius);
  background: var(--laranja);
}
.audience__photo--roxo::before { background: var(--roxo); }
.audience__photo img { position: relative; width: 100%; border-radius: 0 0 var(--radius) var(--radius); }
.audience__list p {
  max-width: 17.5rem;
  font-family: var(--ff-title);
  font-size: var(--fs-h3);
  font-weight: 300;
  line-height: 1.35;
  color: var(--c-title);
}
.audience__list p strong { color: var(--roxo); }

.enroll {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
  padding: clamp(1.75rem, 1rem + 2vw, 2.75rem);
  border-radius: var(--radius);
  background: var(--branco);
}
.enroll__title { font-family: var(--ff-title); font-size: var(--fs-h3); font-weight: 700; line-height: 1.3; color: var(--roxo); }
.enroll__list { display: contents; }
.enroll__list li { display: grid; align-content: start; gap: 0.5rem; }
.enroll__list .icon { width: 2rem; height: 2rem; margin-bottom: 0.25rem; }
.enroll__item { font-family: var(--ff-title); font-size: var(--fs-h4); font-weight: 700; line-height: 1.35; color: var(--c-title); }

/* ---------- 10. Gratuito com alto impacto ---------- */
.impact .container {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.impact__art { max-width: 28rem; }
.impact__art img { width: 100%; }
.impact .title { margin-bottom: 1.75rem; }
.impact__obs { color: var(--cinza-atl); }

/* ---------- 11. Cursos (faixas coloridas mantidas como no original) ---------- */
.courses__intro { padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); background: var(--cinza-7); }
.courses__intro .title { display: flex; align-items: center; gap: 1rem; }
.courses__intro .icon { width: 2.5rem; height: 2.5rem; }
.curso { background: var(--curso); color: var(--branco); }
.curso__summary {
  --pad: max(var(--gutter), calc((100% - var(--container)) / 2));
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.375rem var(--pad);
  cursor: pointer;
  list-style: none;
}
.curso__summary::-webkit-details-marker { display: none; }
.curso__summary::after {
  content: "";
  flex: none;
  width: 0.75rem;
  height: 0.75rem;
  margin-left: auto;
  margin-right: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-25%) rotate(45deg);
  transition: transform 0.3s var(--ease-out);
}
.curso[open] > .curso__summary::after { transform: translateY(25%) rotate(-135deg); }
.curso__summary:hover .curso__nome { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.curso__icon { width: 2.75rem; height: 2.75rem; flex: none; }
.curso__nome { font-family: var(--ff-title); font-size: var(--fs-h2); font-weight: 300; line-height: 1.2; }
.curso__body { padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.curso__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badges li {
  padding: 0.375rem 1rem;
  border: 1px solid var(--branco);
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.4;
}
.badges .badge--destaque { border-color: #ffc50b; background: #ffc50b; color: var(--cinza-1); font-weight: 700; }
.curso__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); margin-top: 2.25rem; }
.curso .label { color: var(--branco); margin-bottom: 0.75rem; }
.curso .list + .label { margin-top: 2rem; }
.curso .list > li + li { margin-top: 0.5rem; }
.curso .list > li::before { background: currentColor; }
.curso__importante { display: grid; gap: 1em; margin-top: 2.25rem; padding: 1.5rem; border: 1px solid var(--branco); border-radius: var(--radius); }
.curso__importante .label { margin-bottom: 0; text-transform: uppercase; letter-spacing: 0.04em; }
.curso__aprender { margin-bottom: 0.5rem; font-family: var(--ff-title); font-size: var(--fs-h3); font-weight: 700; line-height: 1.3; }
.modulo { border-bottom: 1px solid currentColor; }
.modulo summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 0.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--ff-title);
  font-size: var(--fs-h4);
  font-weight: 400;
  line-height: 1.4;
}
.modulo summary::-webkit-details-marker { display: none; }
.modulo summary::after {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.375rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-25%) rotate(45deg);
  transition: transform 0.3s var(--ease-out);
}
.modulo[open] summary::after { transform: translateY(25%) rotate(-135deg); }
.modulo p { padding: 0 0.25rem 1.25rem; }

/* ---------- 12. Diversidade (laranja) ---------- */
.diversity__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}
.diversity__big { display: block; margin-top: 0.35em; }
.diversity__art { width: 100%; }
.diversity__list .label { margin-bottom: 1rem; }
.list--seta > li { padding-left: 1.875rem; }
.list--seta > li::before {
  top: 0.3em;
  left: 0;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.diversity__seals {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem 2.5rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--branco);
}
.diversity__seal-imgs { display: flex; align-items: center; gap: 1rem; }
.diversity__seal-imgs img { width: auto; height: 5.25rem; }

/* ---------- 13. Datas (linha do tempo) ---------- */
.steps .title { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.steps__list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1rem; }
.step { position: relative; }
.step__num {
  display: block;
  min-height: 2.5em;
  margin-bottom: 0.75rem;
  font-family: var(--ff-title);
  font-size: clamp(1.1875rem, 1.05rem + 0.4vw, 1.375rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--laranja);
}
.step__marker { position: relative; margin-bottom: 1rem; }
.step__icon { position: relative; z-index: 1; width: 2.5rem; height: 2.5rem; color: var(--laranja); }
.step:not(:last-child) .step__marker::after {
  content: "";
  position: absolute;
  left: 3.25rem;
  right: 0.25rem;
  top: 50%;
  height: 2px;
  background: var(--cinza-5);
  transform-origin: left center;
}
.step__title {
  font-family: var(--ff-title);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--c-title);
}
.step p { margin-top: 0.25rem; font-size: var(--fs-small); line-height: 1.4; color: var(--cinza-atl); }
.steps__cta { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }

/* ---------- 14. Depoimentos (roxo) ---------- */
.testimonials .title { max-width: 52rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.testimonials__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 1rem + 1vw, 2rem); }
.video {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cinza-1);
}
.video img,
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--laranja);
  transform: translate(-50%, -50%);
  transition: background-color 0.2s ease, transform 0.2s var(--ease-out);
}
.video__play svg { width: 1.75rem; height: 1.75rem; margin-left: 0.2rem; color: var(--branco); }
.video:hover .video__play { background: var(--laranja-escuro); transform: translate(-50%, -50%) scale(1.06); }
.depoimento blockquote { margin: 1.25rem 0 0; }
.depoimento footer { margin-top: 1rem; font-size: var(--fs-small); line-height: 1.5; color: var(--cinza-5); }
.depoimento footer strong { font-family: var(--ff-title); font-size: 1rem; color: var(--branco); }

/* ---------- 13. FAQ ---------- */
.faq .title { margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.faq__list { border-top: 1px solid var(--cinza-6); }
.faq__item { border-bottom: 1px solid var(--cinza-6); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.375rem 0.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--ff-title);
  font-size: var(--fs-h4);
  font-weight: 400;
  line-height: 1.4;
  color: var(--c-title);
  transition: color 0.2s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover,
.faq__item[open] summary { color: var(--roxo); }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 0.625rem;
  height: 0.625rem;
  margin-right: 0.375rem;
  border-right: 2px solid var(--roxo);
  border-bottom: 2px solid var(--roxo);
  transform: translateY(-25%) rotate(45deg);
  transition: transform 0.3s var(--ease-out);
}
.faq__item[open] summary::after { transform: translateY(25%) rotate(-135deg); }
.faq__answer { padding: 0 2.5rem 1.75rem 0.25rem; }
.faq__answer > * + * { margin-top: 1em; }
.faq__answer .list > li + li { margin-top: 0.5rem; }

/* ---------- 14. Instagram ---------- */
.instagram { position: relative; overflow: hidden; }
.instagram__mark {
  position: absolute;
  left: -4rem;
  top: 4rem;
  width: 18rem;
  height: 18rem;
  color: var(--cinza-6);
  fill: var(--cinza-6);
  pointer-events: none;
}
.instagram .container { position: relative; }
.instagram .title { margin-bottom: 2.5rem; }
.instagram__feed { min-height: 25rem; }

/* ---------- 15. Sobre ---------- */
.about .container {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 1rem + 5vw, 5rem);
  align-items: center;
}
.about__photo { position: relative; }
.about__photo img { width: 100%; border-radius: var(--radius); }
/* triângulo "play" do logotipo Avanti */
.about__photo::after {
  content: "";
  position: absolute;
  left: -1.5rem;
  bottom: 12%;
  width: 3.25rem;
  height: 3.75rem;
  background: var(--laranja);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.about .title { margin-bottom: 1.75rem; }
.about .title .inline-logo {
  display: inline-block;
  width: auto;
  height: 0.9em;          /* altura da caixa-alta da Poppins */
  margin-left: 0.08em;
  vertical-align: baseline; /* base do logo = linha de base do texto */
}
.about__seals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2.25rem;
}
.about__seals img { height: 4.5rem; width: auto; }
.about__seals .seal-pnge { height: 3.5rem; }

/* ---------- 16. Rodapé ---------- */
.site-footer {
  padding-block: 4rem 2.5rem;
  background: var(--cinza-1);
  color: var(--cinza-5);
  font-size: var(--fs-small);
}
.site-footer__main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
}
.site-footer__brand { display: grid; gap: 1.25rem; max-width: 40rem; }
.site-footer__brand img { width: 13rem; }
.site-footer address { font-style: normal; }
.address-line { display: block; max-width: 27rem; text-wrap: balance; margin-bottom: 0.25rem; }
.site-footer a { color: var(--branco); }
.site-footer a:hover { color: var(--laranja); }
.site-footer__social { display: grid; justify-items: end; gap: 0.875rem; }
.site-footer__social-title {
  font-family: var(--ff-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--branco);
}
.social { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.social a {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--cinza-3);
  color: var(--branco);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease-out);
}
.social a:hover { background: var(--laranja); border-color: var(--laranja); color: var(--branco); transform: translateY(-2px); }
.social svg { width: 1.25rem; height: 1.25rem; fill: currentColor; color: currentColor; }
.site-footer__support {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--cinza-3);
}
.support-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.support-logos img { width: auto; height: 2.25rem; }
.site-footer__law { max-width: 40rem; justify-self: end; }
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--cinza-3);
  font-size: var(--fs-xs);
}
.site-footer__legal a { color: var(--cinza-5); text-decoration: none; }
.site-footer__legal a:hover { color: var(--branco); text-decoration: underline; }

/* ---------- 17. CTA flutuante ---------- */
.floating-cta {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 50;
  min-height: 3.25rem;
  padding-inline: 1.75rem;
  box-shadow: 0 0.5rem 1.5rem rgba(38, 38, 38, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s linear 0.3s, background-color 0.2s ease;
}
.floating-cta.is-shown {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s, background-color 0.2s ease;
}
.floating-cta.is-shown:hover { transform: translateY(-2px); }
.floating-cta .icon { color: currentColor; }

/* ==========================================================================
   18. Animações de entrada
   - Só acontecem uma vez (sem animação de saída).
   - Itens que entram juntos na tela aparecem em sequência (stagger via --i).
   - Sem JS ou com "reduzir movimento": conteúdo sempre visível.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 1.5rem, 0);
    transition:
      opacity var(--dur-reveal) var(--ease-out),
      transform var(--dur-reveal) var(--ease-out);
    transition-delay: calc(var(--i, 0) * var(--stagger));
  }
  .js [data-reveal="fade"] { transform: none; }
  .js [data-reveal="zoom"] { transform: scale(0.94); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }

  /* linha da etapa "desenha" depois que a etapa aparece */
  .js .step:not(:last-child) .step__marker::after,
  .js .step:not(:last-child)::after {
    transform: scaleX(0);
    transition: transform 700ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * var(--stagger) + 300ms);
  }
  .js .step.is-visible .step__marker::after { transform: scaleX(1); }

  /* ilustração do hero: flutuação sutil e contínua, só depois de entrar */
  .hero__art img { animation: float 7s ease-in-out 1s infinite; }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-0.75rem); }
  }

  /* FAQ: abre/fecha com altura animada nos navegadores que suportam */
  @supports (interpolate-size: allow-keywords) {
    .faq__list { interpolate-size: allow-keywords; }
    .curso, .modulo { interpolate-size: allow-keywords; }
    .faq__item::details-content,
    .curso::details-content,
    .modulo::details-content {
      block-size: 0;
      overflow: hidden;
      transition: block-size 0.35s var(--ease-out), content-visibility 0.35s allow-discrete;
    }
    .faq__item[open]::details-content,
    .curso[open]::details-content,
    .modulo[open]::details-content { block-size: auto; }
  }
}

/* ---------- 19. Responsivo ---------- */
@media (max-width: 1100px) {
  .features__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .enroll { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .enroll__title { grid-column: 1 / -1; }
  .diversity__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .diversity__art { grid-row: span 2; grid-column: 2; grid-row: 1 / span 2; }
  .testimonials__list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 40rem; margin-inline: auto; }

  /* Datas: linha do tempo vertical a partir do tablet */
  .steps__list { grid-template-columns: 1fr; gap: 0; max-width: 34rem; margin-inline: auto; }
  .step { display: grid; grid-template-columns: 4.25rem 1fr; grid-template-areas: "marker num" "marker title" "marker text"; padding-bottom: 2rem; }
  .step:last-child { padding-bottom: 0; }
  .step__num { grid-area: num; min-height: 0; margin-bottom: 0.25rem; }
  .step__title { grid-area: title; }
  .step p { grid-area: text; }
  .step__marker { grid-area: marker; position: absolute; left: 0; top: 0; margin: 0; }
  .step:not(:last-child) .step__marker::after { display: none; }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 1.25rem;
    top: 3.25rem;
    bottom: 0.75rem;
    width: 2px;
    background: var(--cinza-5);
    transform-origin: top center;
  }
  @media (prefers-reduced-motion: no-preference) {
    .js .step:not(:last-child)::after { transform: scaleY(0); }
    .js .step.is-visible::after { transform: scaleY(1); }
  }
}

@media (max-width: 860px) {
  .hero .container,
  .about-bc .container,
  .impact .container,
  .curso__grid,
  .about .container { grid-template-columns: 1fr; }

  .hero__art { max-width: 22rem; grid-row: 1; }
  .about-bc__art { max-width: 30rem; }
  .impact__art { max-width: 20rem; }
  .audience__list { grid-template-columns: 1fr; max-width: 22rem; }
  .audience__list li { display: grid; grid-template-columns: 8.5rem 1fr; align-items: end; gap: 1.25rem; }
  .audience__photo { margin-bottom: 0; }
  .diversity__top { grid-template-columns: 1fr; }
  .diversity__art { grid-column: auto; grid-row: auto; max-width: 26rem; }
  .diversity__seals { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .site-header__logo img { height: 2.125rem; }
  .site-header__tag { font-size: 0.75rem; padding-inline: 0.5rem; }

  .hero__stats { grid-template-columns: repeat(2, auto); }
  .hero__actions .btn:first-child { width: 100%; }
  .hero__actions .btn--outline { flex: 1 1 0; padding-inline: 0.75rem; }
  .btn { padding-inline: 1.25rem; }

  .features__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers { grid-template-columns: 1fr; gap: 1.5rem; }
  .numbers--small { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .numbers--small .numbers__desc { font-size: var(--fs-small); }
  .enroll { grid-template-columns: 1fr; }

  .curso__summary { gap: 1rem; padding-block: 1.125rem; }
  .curso__icon { width: 2.25rem; height: 2.25rem; }
  .curso__nome { font-size: 1.5rem; }
  .curso__top .btn { width: 100%; }

  /* depoimentos: carrossel com rolagem lateral */
  .testimonials__list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    max-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
  }
  .depoimento { scroll-snap-align: start; }

  .faq__item summary { font-size: 1.0625rem; }
  .faq__answer { padding-right: 0.25rem; }

  .instagram__mark { width: 10rem; height: 10rem; left: -3rem; top: auto; bottom: 2rem; }

  .about__photo::after { left: -0.75rem; width: 2.25rem; height: 2.625rem; }
  .about__seals img { height: 3.75rem; }

  .site-footer__main,
  .site-footer__brand,
  .site-footer__social,
  .site-footer__support { justify-items: center; text-align: center; }
  .site-footer__support { grid-template-columns: 1fr; }
  .site-footer__law { justify-self: center; }
  .address-line { margin-inline: auto; }
  .site-footer__main { flex-direction: column; align-items: center; }
  .support-logos { justify-content: center; }
  .site-footer__legal { flex-direction: column; align-items: center; }

  .floating-cta { right: 1rem; left: 1rem; bottom: 1rem; }
}
