/* ==========================================================================
   DEL.AS — Design Tokens
   Cores extraídas dos materiais oficiais de marca (brand deck / logo).
   Tema escuro: grafite em camadas — base, elevado, superfície e superfície
   ativa — em vez de preto chapado, para dar hierarquia sem cansar a leitura.
   ========================================================================== */
:root {
  /* Brand colors */
  --color-coral: #EF3355;
  --color-coral-dark: #CE1F42;
  --color-coral-light: #F0968C;
  --color-purple: #9457E0;
  --color-purple-dark: #7638C4;

  /* Paradas profundas — usadas no CTA e no hover do botão primário, onde o
     texto branco precisa se manter acima de 4,5:1. */
  --color-coral-hover: #DF2A4C;
  --color-coral-deep: #C01B3E;
  --color-purple-deep: #6E31B8;

  /* Versões da marca calibradas para uso sobre fundo escuro.
     São o coral e o roxo oficiais clareados até passarem em contraste AA. */
  --color-coral-on-dark: #FF5C79;   /* 6,2:1 sobre --color-base */
  --color-purple-on-dark: #C9A8FF;  /* 9,4:1 sobre --color-base */

  /* Neutros — escala escura.
     Os degraus foram calibrados por luminosidade perceptual (L*), não por
     razão de contraste: entre dois tons escuros a razão WCAG fica sempre
     próxima de 1, mas um passo de ~4 L* já é claramente visível.
     L*:  base 4,3  →  elevado 8,6  →  superfície 12,9  →  ativa 17,5 */
  --color-base: #0E0D13;       /* fundo do site e das seções nível A */
  --color-elevated: #191822;   /* seções nível B (alternância) */
  --color-surface: #22202C;    /* cards, FAQ, blocos de número */
  --color-surface-2: #2C2937;  /* hover de card e estados ativos */

  /* RGB puro do fundo — usado em scrims e superfícies de vidro */
  --base-rgb: 14, 13, 19;

  --color-line: rgba(255, 255, 255, .16);         /* bordas padrão */
  --color-line-strong: rgba(255, 255, 255, .34);  /* hover/aberto — 3,2:1, passa em 1.4.11 */
  --color-line-bright: rgba(255, 255, 255, .55);  /* sobre fotografia, onde o fundo varia */

  --color-text: #FFFFFF;                    /* títulos — 18,9:1 */
  --color-text-body: rgba(255, 255, 255, .78);   /* parágrafos — ~12:1 */
  --color-text-muted: rgba(255, 255, 255, .58);  /* legendas e rodapé — ~7:1 */

  /* Semantic */
  --primary: var(--color-coral);
  --secondary: var(--color-purple);
  --accent: var(--color-purple-on-dark);
  --background: var(--color-base);
  --surface: var(--color-surface);
  --text: var(--color-text);
  --text-muted: var(--color-text-body);
  --border: var(--color-line);

  --gradient-brand: linear-gradient(135deg, var(--color-purple-on-dark) 0%, var(--color-coral-on-dark) 100%);
  --gradient-brand-deep: linear-gradient(135deg, var(--color-purple-deep) 0%, var(--color-coral-deep) 100%);
  --gradient-hairline: linear-gradient(90deg, transparent 0%, var(--color-coral) 22%, var(--color-purple) 62%, transparent 100%);

  /* Spacing */
  --space-xs: .5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4.5rem;
  --space-2xl: 7rem;

  /* Layout */
  --container: 1200px;
  --container-narrow: 760px;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Shadow — sobre fundo escuro a sombra precisa ser preta, não acinzentada */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .35);
  --shadow-md: 0 14px 38px rgba(0, 0, 0, .45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .6);
  --glow-coral: 0 0 0 1px rgba(255, 92, 121, .35), 0 8px 30px rgba(239, 51, 85, .3);

  /* Type */
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --transition: .25s ease;
  --transition-spring: .45s cubic-bezier(.2, .8, .2, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body, h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

html, body { overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--color-text); }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 700; }

p { color: var(--text-muted); }

::selection { background: var(--color-coral-dark); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-md);
}
.container-narrow { max-width: var(--container-narrow); }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-coral-dark);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--color-purple-on-dark);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.7rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  min-height: 44px;
  white-space: nowrap;
  will-change: transform;
}
.btn-sm { padding: .65rem 1.3rem; font-size: .88rem; min-height: 40px; }

/* Coral escuro no preenchimento: é o único tom da marca que mantém o texto
   branco acima de 4,5:1. O coral puro fica para bordas, ícones e hover. */
.btn-primary { background: var(--color-coral-dark); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-coral-hover); box-shadow: var(--glow-coral); }

.btn-ghost { border: 1.5px solid var(--color-line-strong); color: var(--color-text); background: var(--color-surface); }
.btn-ghost:hover { background: var(--color-surface-2); border-color: var(--color-text-muted); }

.btn-outline { border: 1.5px solid var(--color-coral-on-dark); color: var(--color-coral-on-dark); }
.btn-outline:hover { background: var(--color-coral-on-dark); color: var(--color-base); }

.btn-light { background: #fff; color: var(--color-coral-dark); box-shadow: var(--shadow-sm); }
.btn-light:hover { box-shadow: var(--shadow-md); }

.btn-ghost-light { border: 1.5px solid var(--color-text-muted); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

/* ==========================================================================
   Header — vidro escuro sobre qualquer seção
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(var(--base-rgb), .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--color-line);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.site-header.is-scrolled {
  background: rgba(var(--base-rgb), .94);
  border-color: var(--color-line-strong);
  box-shadow: var(--shadow-lg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  height: 76px;
}

.brand-logo { height: 30px; width: auto; }

.main-nav ul { display: flex; gap: 2rem; }
.main-nav a {
  font-size: .93rem;
  font-weight: 600;
  color: var(--color-text-body);
  transition: color var(--transition);
  padding: .4rem 0;
}
.main-nav a:hover { color: var(--color-text); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
}
.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--color-base);
    padding: var(--space-lg) var(--space-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }
  .main-nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 1rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--color-line); }
  .header-actions .btn-primary.btn-sm { padding: .6rem 1.1rem; font-size: .85rem; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   Sections — ritmo por elevação
   As seções alternam entre o fundo base e um nível elevado, e são separadas
   por um fio de luz coral→roxo, que marca a transição sem pesar.
   ========================================================================== */
.section {
  position: relative;
  padding-block: var(--space-2xl);
  background: var(--color-base);
}
.section-alt { background: var(--color-elevated); }

.section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 2 * var(--space-md), var(--container));
  height: 1px;
  background: var(--gradient-hairline);
  opacity: .35;
  pointer-events: none;
}

.eyebrow {
  color: var(--color-coral-on-dark);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.eyebrow::before,
.eyebrow::after {
  color: var(--color-purple-on-dark);
  font-weight: 800;
}
.eyebrow::before { content: "["; margin-right: .45em; }
.eyebrow::after { content: "]"; margin-left: .45em; }

.section-head { max-width: 640px; margin-bottom: var(--space-xl); }
.section-head h2 { margin-bottom: 1rem; }
.section-head p:last-child { margin: 0; }

.split-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.split-grid h2 { margin-bottom: 1.1rem; }
.split-grid p + p { margin-top: 1rem; }

@media (max-width: 900px) {
  .split-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Cursor spotlight — glow sutil que segue o mouse
   ========================================================================== */
.spotlight { position: relative; isolation: isolate; }
.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(680px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .09), transparent 60%);
  opacity: 0;
  transition: opacity .5s ease;
}
.spotlight.is-active::before { opacity: 1; }
.spotlight > .container { position: relative; z-index: 1; }

/* ==========================================================================
   Tilt + spotlight-border — micro-interação sutil nos cards
   ========================================================================== */
.tilt {
  transform-style: preserve-3d;
  transition: transform var(--transition-spring), box-shadow var(--transition-spring);
  will-change: transform;
}

.spot-card { position: relative; overflow: hidden; }
.spot-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--color-coral-on-dark), var(--color-purple-on-dark) 55%, transparent 75%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 2;
}
.spot-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 92, 121, .22), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}
.spot-card:hover::after,
.spot-card:hover::before { opacity: 1; }

/* ==========================================================================
   Cards — superfície e estados compartilhados
   ========================================================================== */
.stem-card,
.benefit-card,
.step-card,
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.stem-card:hover,
.benefit-card:hover,
.step-card:hover,
.faq-item:hover {
  background: var(--color-surface-2);
  border-color: var(--color-line-strong);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  padding-block: calc(var(--space-2xl) + 1.5rem) calc(var(--space-2xl) + 1rem);
  color: var(--color-text-body);
  overflow: hidden;
}

/* O fundo do Hero é montado em duas camadas:
   1. uma cópia da foto ampliada e muito desfocada, que preenche a área toda
      e faz o papel de ambiente;
   2. a foto em proporção natural, que mantém a retratada inteira no
      enquadramento em vez de ser cortada numa faixa pelo object-fit. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--color-base);
  overflow: hidden;
}

/* Camada 1 — ambiente desfocado */
.hero-bg::before {
  content: "";
  position: absolute;
  /* folga maior que 3x o raio do blur em todos os lados, senão as bordas
     desbotam e aparece o retângulo da camada */
  inset: -170px;
  background: url("../img/woman-hero.jpg") center 30% / cover no-repeat;
  filter: blur(26px) saturate(.85);
  opacity: .5;
}

/* Camada 2 — retrato em proporção natural.
   width:auto preserva o aspecto original, então nada é esmagado. A 140% da
   altura do Hero ele passa a ocupar a maior parte da largura da tela; o que
   sobra em cima e embaixo é aparado pelo overflow do pai. */
.hero-bg-img {
  position: absolute;
  top: -20%;
  bottom: auto;
  left: 62%;
  transform: translateX(-50%);
  height: 140%;
  width: auto;
  max-width: none;
  /* Em monitores muito largos a proporção natural não alcançaria a largura
     da tela; o min-width força a cobertura e o object-fit corta em cima e
     embaixo em vez de esticar a imagem. */
  min-width: 70vw;
  object-fit: cover;
  object-position: center 20%;
  opacity: .7;
  filter: blur(2px) grayscale(.1);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

/* Halo focado atrás da coluna de conteúdo: escurece só onde há texto,
   deixando a retratada visível nas laterais. */
.hero-bg-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(56% 60% at 50% 46%, rgba(var(--base-rgb), .86) 0%, rgba(var(--base-rgb), .72) 55%, rgba(var(--base-rgb), .34) 100%),
    linear-gradient(180deg, rgba(var(--base-rgb), .8) 0%, rgba(var(--base-rgb), 0) 24%, rgba(var(--base-rgb), 0) 58%, rgba(var(--base-rgb), .95) 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .3;
  mix-blend-mode: screen;
}
.blob-coral { width: 40%; height: 60%; top: -10%; right: -8%; background: var(--color-coral); }
.blob-purple { width: 35%; height: 50%; bottom: -12%; left: -6%; background: var(--color-purple); }

/* Conteúdo do Hero acima de todas as camadas de fundo e do spotlight */
.hero .hero-inner { position: relative; z-index: 3; }

.hero-content {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Sombra em duas camadas — uma difusa que descola a logo da foto e uma
   curta que define a borda. É o que a coloca em primeiro plano. */
.hero-logo {
  height: clamp(94px, 13vw, 161px);
  width: auto;
  margin-bottom: var(--space-md);
  filter:
    drop-shadow(0 10px 34px rgba(0, 0, 0, .75))
    drop-shadow(0 2px 6px rgba(0, 0, 0, .55));
}

/* As logos dos parceiros são brancas sobre transparência: precisam de uma
   base escura translúcida — nunca de uma pílula clara, onde desapareceriam. */
.hero-partners {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;

  background: transparent;
  border: none;
  padding: .5rem;

  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  border-radius: 0;
  box-shadow: none;

  margin-bottom: var(--space-lg);
}

.hero-partner-logo {
  height: 37px;
  width: auto;
}

.hero-partner-logo-caixa {
  height: 25px;
}
.hero-partners-divider { width: 1px; height: 24px; background: var(--color-line-strong); }

.hero h1 { color: var(--color-text); margin-bottom: 1.25rem; max-width: 18ch; }

.hero-lede {
  font-size: 1.1rem;
  max-width: 46ch;
  margin-bottom: var(--space-lg);
  color: var(--color-text-body);
}

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

@media (max-width: 900px) {
  /* No mobile o texto ocupa quase toda a largura, então o escurecimento
     precisa ser mais amplo — mas continua deixando a foto perceptível. */
  .hero-bg-scrim {
    background:
      radial-gradient(78% 50% at 50% 42%, rgba(var(--base-rgb), .84) 0%, rgba(var(--base-rgb), .74) 60%, rgba(var(--base-rgb), .6) 100%),
      linear-gradient(180deg, rgba(var(--base-rgb), .85) 0%, rgba(var(--base-rgb), .1) 26%, rgba(var(--base-rgb), .2) 60%, rgba(var(--base-rgb), .95) 100%);
  }
  .hero-bg::before { filter: blur(22px) saturate(.85); }
  .hero-content { max-width: 100%; }

  /* No mobile a tela já é vertical: a foto preenche tudo em sangria e ainda
     assim cabe inteira: o corte acontece nas laterais, não nela. */
  .hero-bg-img {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 100%;
    min-width: 0;
    object-position: 66% center;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* Em telas estreitas as duas logos de parceiro somadas não cabem em uma
   linha no tamanho cheio — reduzem só o suficiente para não quebrar. */
@media (max-width: 620px) {
  .hero-partners {
    gap: .9rem;
    padding: .8rem 1.2rem;
  }

  .hero-partner-logo {
    height: 29px;
  }

  .hero-partner-logo-caixa {
    height: 25px;
  }

  .hero-partners-divider {
    height: 23px;
  }
}

/* ==========================================================================
   O Projeto — foto editorial
   ========================================================================== */
.project-visual {
  position: relative;
  aspect-ratio: 340 / 286;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-md);
}
.project-photo { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Quem Pode Participar — STEM grid
   ========================================================================== */
.stem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.stem-card {
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}
.stem-card .icon {
  width: 44px; height: 44px;
  stroke-width: 1.1;
  margin-inline: auto;
  margin-bottom: 1rem;
  color: var(--color-purple-on-dark);
}
.stem-card h3 { margin: 0; }

@media (max-width: 760px) {
  .stem-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Icons — shared
   ========================================================================== */
/* A espessura do traço fica aqui, e não como atributo no SVG, porque ela é
   medida dentro do viewBox de 24: quanto maior o ícone na tela, mais grosso o
   traço fica. Os valores abaixo compensam isso e rendem ~2px em todos eles. */
.icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-lg { width: 32px; height: 32px; stroke-width: 1.5; }

/* ==========================================================================
   O Que Você Recebe — benefit grid
   ========================================================================== */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.benefit-card {
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.benefit-card .icon-lg { color: var(--color-coral-on-dark); margin-bottom: 1.25rem; }
.benefit-card h3 { margin-bottom: .9rem; }
.benefit-card ul { display: flex; flex-direction: column; gap: .55rem; }
.benefit-card li {
  position: relative;
  padding-left: 1.1rem;
  font-size: .92rem;
  color: var(--color-text-body);
}
.benefit-card li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-purple-on-dark);
}

@media (max-width: 900px) {
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .benefit-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Como Participar — steps
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.step-card {
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  position: relative;
}
.step-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 1.25rem;
}
.step-card h3 { margin-bottom: .6rem; }
.step-card p { margin-bottom: 1.5rem; }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
}

.coming-soon {
  text-align: center;
  padding: 2.94rem var(--space-lg);
}
.coming-soon-badge {
  display: inline-block;
  font-size: clamp(3.6rem, 8vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -.01em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Datas Importantes — calendário
   ========================================================================== */
.schedule-block + .schedule-block { margin-top: var(--space-xl); }

.schedule-subtitle {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.25rem;
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--color-text);
}
.schedule-subtitle::before {
  content: "";
  width: 6px;
  height: 1.4em;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  flex-shrink: 0;
}

.schedule-note {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 700;
  color: var(--color-coral-dark);
}

/* overflow-x isolado no wrapper: a tabela pode rolar sem nunca alargar a página */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  background: var(--color-surface);
}

.schedule-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}
.schedule-table th {
  text-align: left;
  padding: 1rem 1.25rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-coral-on-dark);
  border-bottom: 1px solid var(--color-line);
  white-space: nowrap;
}
.schedule-table td {
  padding: 1rem 1.25rem;
  font-size: .92rem;
  color: var(--color-text-body);
  border-bottom: 1px solid var(--color-line);
}
.schedule-table td:first-child { color: var(--color-text); font-weight: 600; }
.schedule-table tbody tr { transition: background var(--transition); }
.schedule-table tbody tr:hover { background: var(--color-surface-2); }
.schedule-table tbody tr:last-child td { border-bottom: 0; }

/* Oficinas territoriais — mesma tabela de "Outras datas importantes",
   com colunas proporcionais e endereço + link de mapa na própria célula */
.workshop-table th:nth-child(1),
.workshop-table td:nth-child(1) { width: 15%; }
.workshop-table th:nth-child(2),
.workshop-table td:nth-child(2) { width: 27%; }
.workshop-table th:nth-child(3),
.workshop-table td:nth-child(3) { width: 43%; }
.workshop-table th:nth-child(4),
.workshop-table td:nth-child(4) { width: 15%; white-space: nowrap; }

.workshop-address-cell { font-size: .82rem; line-height: 1.35; }
.workshop-address-cell p { margin: 0 0 .2rem; }
.workshop-ref { opacity: .75; font-size: .78rem; }
.workshop-map-link {
  display: inline-block;
  margin-top: .2rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--color-coral-on-dark);
  text-decoration: none;
}
.workshop-map-link:hover { text-decoration: underline; }

/* Lista de aprovadas — mesmo cartão das tabelas, nomes em colunas
   que se reorganizam conforme a largura da tela */
#lista-aprovadas { scroll-margin-top: 6rem; }

.section-head .approved-lead {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--color-text);
}

/* Mensagem às participantes, entre o título e os nomes */
.approved-message {
  max-width: 900px;
  margin: calc(var(--space-lg) - var(--space-xl)) 0 var(--space-lg);
}
.approved-message p {
  margin: 0 0 1rem;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--color-text-body);
}
.approved-message .approved-email {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: .4rem 0 0;
  padding: .7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--color-coral-on-dark);
  background: rgba(255, 92, 121, .1);
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  font-weight: 700;
  color: var(--color-text);
}

/* Despedida abaixo dos nomes */
.approved-closing {
  margin-top: var(--space-lg);
  text-align: center;
}
.approved-closing p {
  margin: 0 0 .5rem;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--color-text-body);
}
.approved-closing .approved-closing-strong {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.approved-list {
  list-style: none;
  counter-reset: aprovada;
  margin: 0;
  padding: .5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  background: var(--color-surface);
}
.approved-list li {
  counter-increment: aprovada;
  display: flex;
  align-items: baseline;
  gap: .8rem;
  padding: 1rem .9rem;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-line);
}
/* Ordem alfabética corre de cima para baixo em cada coluna:
   2 colunas de 16 no tablet, 4 colunas de 8 no desktop */
@media (min-width: 640px) {
  .approved-list {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(16, auto);
    grid-auto-flow: column;
  }
  .approved-list li:nth-child(16n) { border-bottom: 0; }
}
@media (min-width: 1024px) {
  .approved-list {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(8, auto);
  }
  .approved-list li:nth-child(16n) { border-bottom: 1px solid var(--color-line); }
  .approved-list li:nth-child(8n) { border-bottom: 0; }
}
.approved-list li:last-child { border-bottom: 0; }

.approved-list li::before {
  content: counter(aprovada, decimal-leading-zero);
  font-size: .9rem;
  font-weight: 700;
  color: var(--color-coral-on-dark);
  min-width: 1.6em;
}

/* ==========================================================================
   Números — blocos de impacto com contagem animada
   ========================================================================== */
.stats-head { max-width: 640px; margin-inline: auto; text-align: center; }

/* Flex em vez de grid: com 5 blocos, a última linha quase sempre fica
   incompleta, e o flex centraliza o que sobra em vez de encostar à esquerda. */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
/* Os cards são esticados até a altura do mais alto; sem centralizar o
   conteúdo, o número fica colado no topo e desalinhado entre os cards. */
.stat-block {
  flex: 1 1 250px;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.stat-block:hover {
  background: var(--color-surface-2);
  border-color: var(--color-line-strong);
  box-shadow: var(--shadow-md);
}
.stat-number {
  display: block;
  font-size: clamp(2.7rem, 5vw, 3.8rem);
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: .8rem;
  white-space: nowrap;
}

/* "R$" e "mil" no mesmo corpo dos dígitos deixavam "R$50 mil" quase duas
   vezes mais largo que "12". Reduzidos, o número volta a caber e ganha
   hierarquia. O white-space: pre preserva o espaço escrito no HTML. */
.stat-affix {
  font-size: .55em;
  font-weight: 700;
  white-space: pre;
}
/* Piso de duas linhas: iguala a altura de todos os rótulos, para que os
   números fiquem na mesma linha de um card para o outro. */
.stat-label {
  font-size: 1.02rem;
  color: var(--color-text-body);
  max-width: 22ch;
  min-height: 3.3rem;
  margin-inline: auto;
}

@media (max-width: 620px) {
  .stat-block { max-width: none; }
  .stat-label { min-height: 0; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }

.faq-item {
  border-radius: var(--radius-md);
  padding: 0 var(--space-md);
}
.faq-item[open] {
  background: var(--color-surface-2);
  border-color: var(--color-line-strong);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.35rem 2rem 1.35rem 0;
  font-weight: 700;
  color: var(--color-text);
  position: relative;
  transition: color var(--transition);
  border-radius: var(--radius-sm);
}
.faq-item summary:hover { color: var(--color-coral-on-dark); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-coral-on-dark);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-answer { padding-bottom: 1.35rem; }

.todo-note {
  display: inline-block;
  font-size: .85rem;
  font-style: italic;
  color: var(--color-text-muted);
  background: var(--color-base);
  border-left: 3px solid var(--color-coral-on-dark);
  border-radius: var(--radius-sm);
  padding: .5rem .8rem;
  margin: 0;
}

.faq-footnote { margin-top: var(--space-lg); color: var(--color-text-body); }
.faq-footnote a { color: var(--color-coral-on-dark); font-weight: 700; text-decoration: underline; }
.faq-footnote a:hover { color: var(--color-text); }

/* ==========================================================================
   CTA Final — o único momento luminoso da página
   ========================================================================== */
.cta-final {
  background: var(--gradient-brand-deep);
  padding-block: var(--space-2xl);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, .35);
}
.cta-inner { max-width: 620px; text-align: center; margin-inline: auto; }
.cta-final h2 { color: #fff; margin-bottom: .9rem; }
.cta-final p { color: rgba(255, 255, 255, .92); margin-bottom: var(--space-lg); font-size: 1.05rem; }
.cta-final .hero-actions { justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-base);
  color: var(--color-text-body);
  border-top: 1px solid var(--color-line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--space-xl);
  padding-block: var(--space-2xl) var(--space-lg);
}

.footer-logo { height: 22px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { color: var(--color-text-muted); max-width: 34ch; }

.footer-nav h3,
.footer-partners h3 {
  color: var(--color-text);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.footer-nav ul { display: flex; flex-direction: column; gap: .7rem; }
.footer-nav a { font-size: .92rem; transition: color var(--transition); }
.footer-nav a:hover { color: var(--color-text); }

.footer-partners .partner-group + .partner-group { margin-top: 1.5rem; }
.partner-group a { display: inline-block; transition: opacity var(--transition); }
.partner-group a:hover { opacity: .75; }
.partner-logo { height: 40px; width: auto; }

.footer-legal {
  border-top: 1px solid var(--color-line);
  padding-block: var(--space-md) 0;
}
.footer-legal p {
  color: var(--color-text-muted);
  font-size: .78rem;
  line-height: 1.5;
  margin: 0;
  max-width: 60ch;
}

.footer-bottom {
  padding-block: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
}
.footer-bottom p { color: var(--color-text-muted); font-size: .85rem; margin: 0; }
.footer-bottom p a { color: var(--color-text-body); font-weight: 700; text-decoration: underline; transition: color var(--transition); }
.footer-bottom p a:hover { color: var(--color-coral-on-dark); }

.footer-signature {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--color-text-muted);
  font-size: .85rem;
  font-weight: 600;
  transition: color var(--transition);
}
.footer-signature svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-signature:hover { color: var(--color-coral-on-dark); }

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer-bottom { justify-content: flex-start; }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .tilt { transition: none; }
}
