/* Sintonize na Paz — tokens e estilos. Fonte da verdade: BRIEFING.md, seções 8.2 a 8.4. */
:root {
  --white: #ffffff;
  --ivory: #fbf9f3;
  --gold: #c9a24b;
  --gold-hover: #e3cd93;
  --gold-text: #8e6f28;
  --purple: #4b2a7b;
  --purple-deep: #3a1f61;
  --magenta: #b0408f;
  --lilac: #e9ddf5;
  --lilac-soft: #f5effa;
  --ink: #2b2b28;
  --ink-soft: #5b5b55;
  --on-dark: #ffffff;
  --on-dark-soft: #e4d8f2;
  --line: #e7e0cf;
  --field-line: #8f897b;
  --error: #b3261e;

  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 1px 2px rgba(43, 26, 70, 0.06), 0 12px 32px -12px rgba(43, 26, 70, 0.18);
  --shadow-form: 0 2px 6px rgba(28, 12, 52, 0.12), 0 32px 64px -24px rgba(28, 12, 52, 0.45);

  --gutter: 20px;
  --header-h: 64px;
  --section-y: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 76px; --section-y: 104px; }
}
@media (min-width: 1200px) {
  :root { --section-y: 120px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html, body { overflow-x: clip; }
@media (min-width: 768px) { body { font-size: 18px; } }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--purple); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--magenta); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: fixed; left: 12px; top: -100px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-hover); color: var(--ink); }
.btn--outline { border-color: var(--purple); color: var(--purple); background: transparent; }
.btn--outline:hover { background: var(--purple); color: var(--on-dark); }
.btn--ghost { border-color: var(--line); color: var(--purple); background: var(--white); }
.btn--ghost:hover { border-color: var(--purple); color: var(--purple); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 14px 32px; font-size: 17px; }
.btn--block { width: 100%; }
.btn[disabled] { cursor: progress; opacity: 0.75; }
.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: inherit; text-decoration: underline; text-underline-offset: 3px; font: inherit;
}
.link-btn:hover { color: var(--magenta); }
.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--line); color: var(--purple); cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover:not([disabled]) { border-color: var(--purple); }
.icon-btn[disabled] { opacity: 0.4; cursor: default; }
.icon-btn--plain { background: transparent; border-color: transparent; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: var(--on-dark);
  background: linear-gradient(180deg, rgba(28, 12, 52, 0.55), rgba(28, 12, 52, 0));
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-solid { background: var(--purple); box-shadow: 0 6px 24px -12px rgba(28, 12, 52, 0.6); }
.site-header__inner {
  height: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; min-width: 0; }
.brand:hover { color: inherit; }
.brand__logo { height: 26px; width: auto; flex: none; }
.brand__divider { width: 1px; height: 24px; background: rgba(255, 255, 255, 0.4); flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.01em; white-space: nowrap; }
.site-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.site-header__actions .btn { display: none; }
@media (max-width: 519px) {
  .site-header.is-solid .brand__name, .site-header.is-solid .brand__divider { display: none; }
  .site-header.is-solid .site-header__actions .btn { display: inline-flex; }
}
@media (min-width: 520px) {
  .site-header__actions .btn { display: inline-flex; }
}
@media (min-width: 768px) {
  .brand__logo { height: 32px; }
  .brand__name { font-size: 16px; }
  .site-header__actions { gap: 20px; }
}
.lang-switch { display: flex; align-items: center; }
.lang-switch__item {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 6px;
  color: var(--on-dark-soft); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.08em;
  border-radius: 8px;
}
.lang-switch__item:hover { color: var(--on-dark); }
.lang-switch__item[aria-current="true"] { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.lang-switch__item:focus-visible { outline-color: var(--gold-hover); }

/* ---------- Topo ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--on-dark);
  padding: calc(var(--header-h) + 28px) 0 56px;
  background: var(--purple-deep);
}
/* Celular/tablet: o topo inclui o formulário (~1400px). Cobrindo tudo, a foto ampliava ~3x e cortava as pessoas.
   A foto fica só atrás do logo e dos textos, centrada na mulher do meio, e esmaece no roxo antes do formulário. */
.hero__media { position: absolute; inset: 0 0 auto; height: 560px; z-index: -2; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover; object-position: 46% 40%;
  transform-origin: 50% 35%;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__img { animation: hero-breathe 28s ease-in-out infinite alternate; }
}
@keyframes hero-breathe {
  from { transform: scale(1.02); }
  to { transform: scale(1.12) translate3d(0, -1.5%, 0); }
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(36, 16, 64, 0.78) 0%, rgba(52, 26, 90, 0.62) 38%, rgba(36, 16, 64, 0.9) 100%);
}
.hero__sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 70vh; pointer-events: none; }
.hero__inner { display: grid; gap: 32px; }
.hero__copy { text-align: center; }
.hero__logo { margin: 0 auto 20px; width: min(300px, 76vw); }
.hero__logo-img { width: 100%; height: auto; }
.hero__wordmark { margin: 0; font-family: var(--font-display); text-align: center; }
.hero__wordmark span { display: block; font-size: clamp(34px, 9vw, 52px); font-weight: 600; line-height: 1.1; }
.hero__wordmark small { display: block; margin-top: 6px; font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--on-dark-soft); }
.hero__date {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  margin: 0 0 20px; padding: 10px 22px; border-radius: 999px;
  border: 1px solid rgba(227, 205, 147, 0.55); background: rgba(28, 12, 52, 0.35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero__eyebrow { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-soft); }
.hero__date-value { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--gold-hover); }
.hero__title { font-size: clamp(24px, 6.2vw, 40px); line-height: 1.25; font-weight: 600; max-width: 22ch; margin-inline: auto; }
.hero__sub { margin: 16px auto 0; max-width: 46ch; color: var(--on-dark-soft); font-size: 17px; }

@media (min-width: 960px) {
  .hero { min-height: min(100svh, 920px); display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 72px; }
  .hero__media { bottom: 0; height: auto; }
  .hero__img { object-position: 55% 35%; -webkit-mask-image: none; mask-image: none; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(36, 16, 64, 0.88) 0%, rgba(52, 26, 90, 0.55) 52%, rgba(36, 16, 64, 0.82) 100%);
  }
  .hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(380px, 440px); align-items: center; gap: 56px; }
  .hero__copy { text-align: left; }
  .hero__logo { margin: 0 0 24px -6px; width: 340px; }
  .hero__wordmark { text-align: left; }
  .hero__date { align-items: flex-start; }
  .hero__title { margin-inline: 0; font-size: clamp(32px, 3.1vw, 44px); }
  .hero__sub { margin-inline: 0; font-size: 18px; }
}

/* ---------- Formulário ---------- */
.signup {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-lg); padding: 24px 20px;
  box-shadow: var(--shadow-form);
  width: 100%; max-width: 520px; margin-inline: auto;
}
.signup:focus { outline: none; }
@media (min-width: 480px) { .signup { padding: 32px 28px; } }
.signup__title { font-size: 22px; }
.signup__lead { margin: 6px 0 20px; color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 480px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink); }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; font-size: 16px; line-height: 1.3; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--field-line); border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none; -webkit-appearance: none;
}
.field input:hover, .field select:hover { border-color: var(--ink-soft); }
.field input:focus, .field select:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px var(--lilac); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.16); }
.select { position: relative; }
.select select { padding-right: 40px; text-overflow: ellipsis; }
.select::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--purple); border-bottom: 2px solid var(--purple); transform: rotate(45deg);
  pointer-events: none;
}
.field__error { margin: 0; font-size: 14px; line-height: 1.4; color: var(--error); font-weight: 600; }
.field__error::before { content: "! "; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Turnstile (interaction-only): fora do grid (sem altura nem gap) até a Cloudflare pedir interação. */
.turnstile-slot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.turnstile-slot.is-open { position: static; width: auto; height: auto; min-height: 65px; overflow: visible; clip-path: none; }
.form__status {
  margin: 0; padding: 12px 14px; border-radius: 12px;
  background: #fbeceb; color: var(--error); font-size: 15px; line-height: 1.45; font-weight: 600;
}
.form__consent { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
.form__consent .link-btn { color: var(--purple); font-weight: 600; }
.form[aria-busy="true"] .btn { cursor: progress; }

/* ---------- Seções ---------- */
.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--ivory { background: var(--ivory); }
.section--lilac { background: var(--lilac); }
.section--lilac .kicker { color: var(--purple); }
.section__head { max-width: 680px; margin-bottom: 40px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section__head--split > div:first-child { max-width: 680px; }
.kicker {
  margin: 0 0 12px; font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--magenta);
}
.section__title { font-size: clamp(28px, 4.2vw, 42px); color: var(--ink); }
.section__lead { margin-top: 16px; color: var(--ink-soft); max-width: 60ch; }
.lede { font-size: 19px; color: var(--ink); margin-top: 20px; }
@media (min-width: 768px) { .lede { font-size: 21px; } }

/* O que é */
.about { display: grid; gap: 40px; }
.about__text { max-width: 640px; }
.about__text p:not(.kicker):not(.lede) { color: var(--ink-soft); }
.about__benefits {
  background: var(--lilac-soft); border-radius: var(--radius-lg); padding: 28px 24px;
  border: 1px solid var(--lilac); align-self: start;
}
.about__benefits-title { font-size: 19px; margin-bottom: 16px; }
.benefits { display: grid; gap: 4px; }
.benefits li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--lilac); font-size: 17px; }
.benefits li:last-child { border-bottom: 0; }
.benefits__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(201, 162, 75, 0.2); }
@media (min-width: 960px) {
  .about { grid-template-columns: 1.25fr 1fr; gap: 72px; align-items: center; }
  .about__benefits { padding: 36px 36px; }
}

/* Como participar */
/* Passos em cards do mesmo tamanho (grid-auto-rows: 1fr iguala as alturas), número e texto centralizados. */
.steps { display: grid; grid-auto-rows: 1fr; gap: 12px; margin-bottom: 40px; counter-reset: s; }
.steps li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 22px 20px; text-align: center; font-size: 17px; line-height: 1.5;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
}
.steps__n {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--purple); color: var(--on-dark); font-family: var(--font-display); font-weight: 700; font-size: 17px;
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .steps li { justify-content: flex-start; padding: 28px 24px; }
}
.ways { display: grid; gap: 20px; }
.way {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px 24px;
  border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.way__icon { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 16px; }
.way__title { font-size: 21px; margin-bottom: 8px; }
.way p { color: var(--ink-soft); }
.way__langs { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 16px; }
.way__langs strong { color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.way__more { margin-top: 12px; font-size: 16px; }
.schedule {
  border-radius: var(--radius-lg); padding: 28px 24px;
  border: 1.5px dashed #c8b5e3; background: rgba(233, 221, 245, 0.35);
}
.schedule__icon { width: 32px; height: 32px; color: var(--purple); margin-bottom: 12px; }
.schedule__title { font-size: 19px; margin-bottom: 8px; }
.schedule__empty { color: var(--ink-soft); }
.schedule__zone { color: var(--ink-soft); margin-bottom: 12px; }
.schedule__list { margin: 0; display: grid; gap: 8px; }
.schedule__row { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--lilac); padding-bottom: 8px; }
.schedule__row dt { color: var(--ink-soft); }
.schedule__row dd { margin: 0; font-family: var(--font-display); font-weight: 600; }
.schedule__row.is-current dt { color: var(--ink); font-weight: 600; }
@media (min-width: 768px) { .ways { grid-template-columns: 1fr 1fr; gap: 24px; } .schedule { grid-column: 1 / -1; } }
/* Mesma grade dos passos 1-2-3 (3 colunas iguais, 24 px): cards alinhados em largura e espaçamento. */
@media (min-width: 1100px) { .ways { grid-template-columns: repeat(3, 1fr); } .schedule { grid-column: auto; } }

/* Números */
.stats { display: grid; gap: 16px; }
.stat {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 28px 16px; border-radius: var(--radius-lg); background: var(--ivory);
}
.stat__prefix { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--magenta); }
.stat__num {
  font-family: var(--font-display); font-weight: 700; line-height: 1; letter-spacing: -0.03em;
  font-size: clamp(56px, 9vw, 88px); color: var(--purple); font-variant-numeric: tabular-nums; margin: 6px 0 10px;
}
.stat__label { font-size: 17px; color: var(--ink-soft); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* Idiomas */
.langs { display: grid; gap: 32px; }
.langs__groups { display: grid; gap: 24px; }
.langs__group { background: rgba(255, 255, 255, 0.6); border-radius: var(--radius-lg); padding: 24px; }
.langs__label { display: flex; align-items: center; gap: 10px; font-size: 16px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--purple); margin-bottom: 16px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 0 rgba(176, 64, 143, 0.5); }
@media (prefers-reduced-motion: no-preference) {
  .live-dot { animation: pulse 2.4s ease-out infinite; }
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(176, 64, 143, 0.45); } 80%, 100% { box-shadow: 0 0 0 10px rgba(176, 64, 143, 0); } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px;
  background: var(--white); border-radius: 999px; font-size: 16px; line-height: 1.3;
  box-shadow: 0 1px 2px rgba(43, 26, 70, 0.08);
}
.chip__code {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--purple); color: var(--on-dark); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.04em;
}
@media (min-width: 960px) {
  .langs { grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }
}

/* Edições anteriores: carrossel 3D de vidro (29/10/2026, adaptado de modelo_section_pages/carrossel-glass.html) */
.glass-section {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--purple-deep); color: var(--on-dark);
}
.glass-section .kicker { color: var(--gold-hover); }
.glass-section .section__title { color: var(--on-dark); }
.glass-section .section__lead { color: var(--on-dark-soft); }
.glass-section .bylang__title { color: var(--on-dark); }
.glass-section .bylang__empty { color: var(--on-dark-soft); }

/* Luzes de fundo na paleta (roxo, magenta, dourado): é o que aparece através do vidro. */
.glass-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glass-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; }
.glass-blob--1 { width: 46vmax; height: 46vmax; background: var(--purple); top: -14vmax; left: -10vmax; }
.glass-blob--2 { width: 34vmax; height: 34vmax; background: var(--magenta); bottom: -12vmax; right: -8vmax; opacity: 0.45; }
.glass-blob--3 { width: 24vmax; height: 24vmax; background: var(--gold); top: 38%; left: 48%; opacity: 0.28; }
@media (prefers-reduced-motion: no-preference) {
  .glass-blob { animation: glass-float 22s ease-in-out infinite; }
  .glass-blob--2 { animation-delay: -7s; }
  .glass-blob--3 { animation-delay: -13s; }
}
@keyframes glass-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(5vmax, -3vmax) scale(1.12); }
  66% { transform: translate(-4vmax, 4vmax) scale(0.92); }
}

/* Palco 3D */
.glass {
  --card-w: 340px; --card-h: 370px;
  --glass-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.05));
  /* Base roxa semiopaca nos cards: os cards de trás não "vazam" através do vidro (feedback 29/10). */
  --glass-card-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04)), rgba(52, 28, 92, 0.86);
  --glass-border: rgba(255, 255, 255, 0.32);
  margin-top: 8px;
}
.glass__stage {
  position: relative; height: calc(var(--card-h) + 80px);
  perspective: 1400px; perspective-origin: 50% 45%;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.glass__stage.is-dragging { cursor: grabbing; }
.glass__stage:focus-visible { outline: 2px solid var(--gold-hover); outline-offset: 6px; border-radius: var(--radius-lg); }
.glass__track { position: absolute; inset: 0; transform-style: preserve-3d; list-style: none; margin: 0; padding: 0; }

.glass-card {
  position: absolute; left: 50%; top: 50%;
  width: var(--card-w); height: var(--card-h);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--glass-card-bg); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 30px 60px -20px rgba(20, 8, 40, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  will-change: transform, opacity, filter; transform-style: preserve-3d;
  text-align: left; color: var(--on-dark);
}
/* Reflexo diagonal do vidro e luz que segue o ponteiro no card da frente */
.glass-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0) 65%, rgba(255, 255, 255, 0.1) 100%);
}
.glass-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.22), transparent 60%);
}
@media (hover: hover) { .glass-card.is-active:hover::after { opacity: 1; } }

.glass-card__art {
  position: absolute; left: 14px; right: 14px; top: 14px; aspect-ratio: 16 / 9; /* capa inteira (ela tem texto próprio) */
  border-radius: calc(var(--radius-lg) - 8px); overflow: hidden;
  background: var(--purple); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.glass-card__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.glass-card__play {
  position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, 0.22); border: 1px solid rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff;
}
.glass-card__play svg { width: 24px; height: 24px; margin-left: 3px; }
.glass-card__kicker {
  position: relative; margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-hover);
}
.glass-card__title { position: relative; margin: 4px 0 14px; font-size: 22px; line-height: 1.2; color: var(--on-dark); }
.glass-card .btn { position: relative; align-self: flex-start; }

.glass-card__langs { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; list-style: none; padding: 0; }
.glass-card__langs a {
  display: inline-block; padding: 3px 10px; border-radius: 99px; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.4); color: var(--on-dark);
  font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.04em;
}
.glass--langs { --card-h: 410px; }

/* Controles */
.glass__controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 4px; }
.glass__btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform 0.2s var(--ease-out), background 0.2s;
}
.glass__btn svg { width: 22px; height: 22px; }
@media (hover: hover) { .glass__btn:hover { background: rgba(255, 255, 255, 0.24); transform: scale(1.06); } }
.glass__btn:active { transform: scale(0.95); }
.glass__btn:focus-visible { outline: 2px solid var(--gold-hover); outline-offset: 3px; }
.glass__dots { display: flex; gap: 8px; }
.glass__dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; cursor: pointer;
  background: rgba(255, 255, 255, 0.35); transition: width 0.3s var(--ease-out), background 0.3s;
}
.glass__dot.is-on { width: 28px; background: var(--gold-hover); }
.glass__dot:focus-visible { outline: 2px solid var(--gold-hover); outline-offset: 3px; }

@media (max-width: 600px) {
  .glass { --card-w: 260px; --card-h: 330px; }
  .glass--langs { --card-h: 370px; }
  .glass-card { padding: 18px; }
  .glass-card__title { font-size: 19px; }
}
.bylang { margin-top: 24px; padding: 20px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: grid; gap: 4px; }
.bylang__title { font-size: 17px; }
.bylang__empty { color: var(--ink-soft); font-size: 16px; }
@media (min-width: 768px) { .bylang { grid-template-columns: auto 1fr; align-items: center; gap: 24px; } }
/* Caixa "por idioma" em vidro sobre o fundo escuro */
.glass-section .bylang {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.26); box-shadow: none;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}

/* Quem somos */
.who { display: grid; gap: 40px; }
.who__text { max-width: 620px; }
.who__text .btn { margin-top: 28px; }
.founders { display: grid; gap: 16px; align-self: center; }
.founder {
  display: flex; gap: 20px; align-items: flex-start; padding: 24px;
  border-radius: var(--radius-lg); background: var(--ivory); border: 1px solid var(--line);
}
.founder__mark {
  flex: none; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--gold);
  font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--purple); letter-spacing: 0.04em;
}
.founder__mark { overflow: hidden; padding: 3px; border-width: 2px; }
@media (max-width: 479px) { .founder { gap: 16px; padding: 20px; } .founder__mark { width: 72px; height: 72px; } }
.founder__mark img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; clip-path: circle(50%); }
.founder__name { font-size: 19px; margin-bottom: 6px; }
.founder p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
@media (min-width: 960px) { .who { grid-template-columns: 1.1fr 1fr; gap: 72px; } }

/* Dúvidas */
.faq { display: grid; gap: 32px; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.4; color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background:
    linear-gradient(var(--purple), var(--purple)) center / 12px 2px no-repeat,
    linear-gradient(var(--purple), var(--purple)) center / 2px 12px no-repeat,
    var(--lilac);
  transition: transform 0.3s var(--ease-out);
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--purple); }
.qa summary:focus-visible { outline-offset: 2px; }
.qa p { margin: 0; padding: 0 44px 22px 0; color: var(--ink-soft); max-width: 68ch; }
@media (min-width: 768px) { .qa summary { font-size: 19px; padding: 24px 0; } }
@media (min-width: 960px) { .faq { grid-template-columns: 1fr 2fr; gap: 72px; } .faq__head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .qa { interpolate-size: allow-keywords; }
    .qa::details-content { height: 0; overflow: clip; transition: height 0.35s var(--ease-out), content-visibility 0.35s allow-discrete; }
    .qa[open]::details-content { height: auto; }
  }
}

/* Faixa final */
.final {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--purple); color: var(--on-dark); padding-block: calc(var(--section-y) * 0.9);
  text-align: center;
}
.final::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 140%; z-index: -1;
  background:
    radial-gradient(closest-side at 30% 60%, rgba(176, 64, 143, 0.55), transparent),
    radial-gradient(closest-side at 75% 40%, rgba(201, 162, 75, 0.28), transparent);
}
.final__inner { display: grid; justify-items: center; gap: 16px; }
.final__title { font-size: clamp(28px, 4.6vw, 46px); max-width: 20ch; }
.final__text { color: var(--on-dark-soft); max-width: 44ch; margin-bottom: 12px; }
.final .btn:focus-visible { outline-color: var(--gold-hover); }

/* Rodapé */
.site-footer { background: var(--purple-deep); color: var(--on-dark-soft); padding: 56px 0 28px; font-size: 15px; line-height: 1.6; }
.site-footer a, .site-footer .link-btn { color: var(--on-dark); }
.site-footer a:hover, .site-footer .link-btn:hover { color: var(--gold-hover); }
.site-footer :focus-visible { outline-color: var(--gold-hover); }
.site-footer__inner { display: grid; gap: 32px; }
.site-footer__brand img { height: 36px; width: auto; margin-bottom: 14px; }
.site-footer__label { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-hover); margin-bottom: 10px; }
.site-footer__links { display: grid; gap: 4px; }
.site-footer__links a, .site-footer__links .link-btn { display: inline-block; padding: 6px 0; text-decoration: none; }
.site-footer__links a:hover, .site-footer__links .link-btn:hover { text-decoration: underline; }
.site-footer__credit { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 12px; color: #c9b7e2; }
@media (min-width: 768px) { .site-footer__inner { grid-template-columns: 2fr 1fr 1fr; } }

/* Popup */
.dialog {
  width: min(720px, calc(100% - 32px)); max-height: min(86vh, 860px); padding: 0; border: 0;
  border-radius: var(--radius-lg); background: var(--white); color: var(--ink);
  box-shadow: 0 40px 80px -20px rgba(28, 12, 52, 0.5);
}
.dialog::backdrop { background: rgba(28, 12, 52, 0.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dialog[open] { display: flex; }
@media (prefers-reduced-motion: no-preference) {
  .dialog[open] { animation: dialog-in 0.3s var(--ease-out); }
}
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.dialog__panel { display: flex; flex-direction: column; min-height: 0; width: 100%; }
.dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--line); }
.dialog__title { font-size: 21px; }
.dialog__body { overflow-y: auto; padding: 20px 24px 28px; font-size: 16px; line-height: 1.65; overscroll-behavior: contain; }
.dialog__body:focus-visible { outline-offset: -3px; }
.dialog__body h3 { font-size: 17px; margin: 24px 0 8px; }
.dialog__body ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }
.dialog__updated { font-size: 14px; color: var(--ink-soft); margin-bottom: 4px; }

/* Aviso de cookies */
.cookie-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  display: grid; gap: 12px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--white); color: var(--ink); box-shadow: var(--shadow-form); font-size: 15px; line-height: 1.5;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar__actions { display: flex; gap: 10px; justify-content: flex-end; }
@media (min-width: 768px) { .cookie-bar { left: auto; max-width: 440px; right: 24px; bottom: 24px; } }

/* Entradas discretas */
.js .reveal { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.ways .reveal:nth-child(2), .stats .reveal:nth-child(2), .founders .reveal:nth-child(2) { transition-delay: 0.08s; }
.ways .reveal:nth-child(3), .stats .reveal:nth-child(3) { transition-delay: 0.16s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Página de obrigado ---------- */
.thanks {
  position: relative; isolation: isolate; overflow: hidden; min-height: 100svh;
  display: grid; place-items: center; padding: calc(var(--header-h) + 32px) 0 56px; color: var(--on-dark);
  background: var(--purple-deep);
}
.thanks .hero__media { opacity: 1; }
.thanks::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(36, 16, 64, 0.82), rgba(36, 16, 64, 0.92));
}
.thanks__card {
  background: var(--white); color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-form);
  padding: 32px 22px; max-width: 600px; margin-inline: auto; text-align: center;
}
@media (min-width: 480px) { .thanks__card { padding: 44px 40px; } }
.thanks__check {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lilac); color: var(--purple);
}
.thanks__check svg { width: 30px; height: 30px; }
.thanks__title { font-size: clamp(26px, 5vw, 34px); margin-bottom: 16px; }
.thanks__card p { color: var(--ink-soft); }
.thanks__card .thanks__lead { color: var(--ink); font-size: 18px; }
.thanks__block { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.thanks__block h2 { font-size: 17px; margin-bottom: 14px; }
.btn--whats { background: #1f7a4a; color: #fff; }
.btn--whats:hover { background: #17633b; color: #fff; }
.btn--whats svg { flex: none; width: 24px; height: 24px; }
.ig-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
.ig-list a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 4px; font-weight: 700; text-decoration: none; }
.ig-list a:hover { text-decoration: underline; }
.ig-list small { font-weight: 400; color: var(--ink-soft); }
.thanks__back { margin-top: 28px; }
