/* =========================================================
   RFID CONNECT EXPERIENCE — styles.css
   Modelo: header navy + hero com título serifado dourado +
   card branco flutuante (5 pilares) + seções claras +
   inscrição em navy. Playfair Display (display) + Poppins.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Navy da marca */
  --night-950: #030e22;            /* footer, header rolado */
  --night-900: #051d40;            /* navy base */
  --night-800: #0a2a55;            /* superfícies elevadas no navy */
  --night-700: #0d3161;            /* inputs, células */
  --night-line: rgba(148, 178, 210, 0.16);

  /* Dourado da marca */
  --gold: #c9973f;                 /* botões, destaques sobre navy */
  --gold-hot: #dbae5c;             /* hover */
  --gold-ink: #8f6414;             /* dourado escurecido p/ texto sobre branco (AA) */

  /* Seções claras */
  --paper: #ffffff;
  --paper-dim: #f7f9fc;
  --ink: #0b2044;                  /* títulos sobre branco */
  --ink-soft: #44536e;             /* corpo sobre branco */
  --line-light: #e3e9f2;

  /* Texto sobre navy */
  --text-hi: rgba(255, 255, 255, 0.96);
  --text-mid: rgba(219, 229, 240, 0.85);
  --text-low: rgba(184, 200, 218, 0.65);

  /* Tipo */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", Arial, Helvetica, sans-serif;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0:  clamp(0.95rem, 0.92rem + 0.2vw, 1.05rem);
  --step-1:  clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.6rem, 1.45rem + 0.9vw, 2.1rem);
  --step-3:  clamp(2rem, 1.75rem + 1.5vw, 2.8rem);
  --step-4:  clamp(2.2rem, 1.7rem + 2.5vw, 3.7rem);

  /* Espaço fluido */
  --space-s: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
  --space-m: clamp(2rem, 1.6rem + 2vw, 3.5rem);
  --space-l: clamp(4rem, 3rem + 5vw, 7.5rem);

  --maxw: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --radius: 16px;
  --radius-sm: 6px;

  /* Movimento */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.65s;

  /* z-scale semântica */
  --z-card: 5;
  --z-sticky: 40;
  --z-menu: 50;

  --header-h: 92px;
  --countdown-h: 42px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.text-gold { color: var(--gold); }

.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;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  padding: 1.05em 2em;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out),
              color 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out),
              transform 0.25s var(--ease-out);
}

.btn:hover { transform: translateY(-1px); }

/* Dourado degradê — texto navy (AA), com neon deslizante */
.btn--gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ecca6f 0%, var(--gold) 55%, #b98730 100%);
  color: var(--night-900);
  animation: neon-glow 2.6s ease-in-out infinite;
}
.btn--gold:hover {
  background: linear-gradient(180deg, #f3d685 0%, var(--gold-hot) 55%, #c99a45 100%);
}
.btn--gold::after {
  content: "";
  position: absolute;
  top: -4px;
  bottom: -4px;
  left: -70%;
  width: 45%;
  background: linear-gradient(105deg,
    transparent 0%,
    rgba(255, 244, 214, 0.75) 50%,
    transparent 100%);
  transform: skewX(-20deg);
  pointer-events: none;
  animation: neon-sweep 2.6s ease-in-out infinite;
}

/* Contorno dourado sobre fundo claro */
.btn--line {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-ink);
}
.btn--line:hover {
  background: var(--gold);
  color: var(--night-900);
}

/* Convite do header — transparente com borda laranja */
.btn--invite {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-hot);
}
.btn--invite:hover {
  background: var(--gold);
  color: var(--night-900);
}

.btn--lg { padding: 1.2em 2.4em; font-size: 0.84rem; }
.btn--block { width: 100%; }

/* =========================================================
   CONTADOR REGRESSIVO (barra acima do header)
   ========================================================= */
.countdown-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-sticky);
  height: var(--countdown-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding-inline: 1rem;
  background: var(--night-950);
  border-bottom: 1px solid rgba(201, 151, 63, 0.25);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.countdown-bar__timer {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
}

.countdown-seg {
  color: var(--text-low);
  font-size: 0.68rem;
}
.countdown-seg strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-hot);
  font-variant-numeric: tabular-nums;
  margin-right: 0.15rem;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  inset: var(--countdown-h) 0 auto 0;
  z-index: var(--z-sticky);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out);
}

/* Páginas sem a barra de contagem regressiva (ex.: políticas legais) —
   o header não deve reservar o espaço de --countdown-h, senão sobra uma
   faixa vazia/sobreposta no topo. */
body.no-countdown .site-header { inset: 0 0 auto 0; }

.site-header.is-scrolled {
  background: rgba(3, 12, 30, 0.98);
  border-bottom-color: rgba(148, 178, 210, 0.08);
  box-shadow: 0 8px 30px rgba(2, 8, 20, 0.45);
}

.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand__logo img { height: 80px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.6rem);
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2rem);
}

.main-nav__list a {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-hi);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.main-nav__list a:hover,
.main-nav__list a[aria-current="true"] {
  color: var(--gold-hot);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--text-hi);
  transition: transform 0.3s var(--ease-out), top 0.3s var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--night-900);
  padding-top: calc(var(--countdown-h) + var(--header-h) + clamp(3.5rem, 8vh, 7rem));
  /* Respiro p/ o card flutuante — o .pillars (abaixo) puxa pra cima com um
     valor sempre MENOR que este, então o card nunca cobre a data/botão. */
  padding-bottom: clamp(8rem, 10vh, 11rem);
  overflow: hidden;
  color: var(--text-mid);
}

.hero__photo,
.hero__photo video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Desktop: desloca o enquadramento do vídeo p/ baixo (mostra mais o topo da cena) */
@media (min-width: 641px) {
  .hero__photo video { object-position: center 25%; }
}

/* Mobile: sobe o enquadramento (mostra mais a parte de baixo da cena) */
@media (max-width: 640px) {
  .hero__photo video { object-position: center 65%; }
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(4, 16, 38, 0.94) 0%,
      rgba(4, 16, 38, 0.78) 45%,
      rgba(4, 16, 38, 0.45) 100%),
    linear-gradient(180deg,
      rgba(4, 16, 38, 0.55) 0%,
      rgba(4, 16, 38, 0.15) 40%,
      rgba(4, 16, 38, 0.85) 100%);
}

/* Anéis de sinal RFID — assinatura da marca */
.hero__signal {
  position: absolute;
  top: 50%;
  right: min(-6vw, -60px);
  transform: translateY(-50%);
  width: clamp(380px, 44vw, 680px);
  aspect-ratio: 1;
  opacity: 0.7;
  pointer-events: none;
}
.hero__signal .ring {
  stroke: rgba(201, 151, 63, 0.85);
  stroke-width: 1.2;
}
.hero__signal .ring--2 { stroke: rgba(201, 151, 63, 0.65); }
.hero__signal .ring--3 { stroke: rgba(201, 151, 63, 0.5); }
.hero__signal .ring--4 { stroke: rgba(201, 151, 63, 0.35); }

.js .hero__signal .ring {
  transform-origin: center;
  animation: ring-pulse 6s var(--ease-out) infinite;
}
.js .hero__signal .ring--2 { animation-delay: 0.6s; }
.js .hero__signal .ring--3 { animation-delay: 1.2s; }
.js .hero__signal .ring--4 { animation-delay: 1.8s; }

@keyframes ring-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.3rem;
  padding: 0.45rem 1rem;
  border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-hot);
  background: rgba(4, 16, 38, 0.45);
}

.hero__title {
  font-size: var(--step-3);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-hi);
  line-height: 1.14;
  letter-spacing: 0.015em;
  max-width: 30ch;
}

.hero__line { display: block; overflow: hidden; }
.hero__line > span { display: inline-block; }

/* Trechos que escapam do uppercase do título (ex.: o "o" de IoT) */
.hero__title .vcr-keep { text-transform: none; }

/* Vertical cut reveal por letra (spans gerados em initHeroCharReveal) */
.hero__title--chars .vcr-w { display: inline-flex; overflow: hidden; }
.hero__title--chars .vcr-c {
  display: inline-block;
  transform: translateY(115%);
  /* overshoot leve p/ imitar a spring (stiffness ~200, damping ~21) */
  transition: transform 0.7s cubic-bezier(0.3, 1.36, 0.4, 1);
}
.hero.is-in .hero__title--chars .vcr-c { transform: translateY(0); }

/* Com o modo por letra ativo, a animação antiga por linha sai de cena */
.js .hero__title--chars .hero__line > span {
  transform: none;
  transition: none;
}

/* Coreografia de entrada (gateada em .js — sem JS, tudo visível) */
.js .hero__line > span {
  transform: translateY(112%);
  transition: transform 0.9s var(--ease-out);
}
.js .hero__line:nth-child(2) > span { transition-delay: 0.1s; }
.js .hero__line:nth-child(3) > span { transition-delay: 0.2s; }
.js .hero.is-in .hero__line > span { transform: translateY(0); }

.hero__lede {
  margin-top: 1.1rem;
  max-width: 650px;
  font-size: var(--step-0);
  font-weight: 300;
  color: var(--text-hi);
  line-height: 1.6;
}

.js .hero__lede,
.js .hero__actions {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.js .hero__lede { transition-delay: 0.35s; }
.js .hero__actions { transition-delay: 0.5s; }
.js .hero.is-in .hero__lede,
.js .hero.is-in .hero__actions {
  opacity: 1;
  transform: translateY(0);
}

.hero__actions {
  margin-top: clamp(1rem, 2vh, 1rem);
  margin-bottom: clamp(1rem, 2vh, 1rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

/* Animações do neon dos botões dourados (aplicadas em .btn--gold) */
@keyframes neon-sweep {
  0%       { left: -70%; }
  55%, 100% { left: 140%; }
}

@keyframes neon-glow {
  0%, 100% {
    box-shadow:
      0 0 10px rgba(219, 174, 92, 0.35),
      0 0 28px rgba(201, 151, 63, 0.2);
  }
  50% {
    box-shadow:
      0 0 18px rgba(219, 174, 92, 0.6),
      0 0 48px rgba(201, 151, 63, 0.35);
  }
}

.hero__event-info {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-hi);
  line-height: 1.65;
}
.hero__event-info p { margin: 0; }
.hero__event-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero__event-date svg {
  width: 17px; height: 17px;
  color: var(--gold);
  flex-shrink: 0;
}

.hero__event-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__event-line svg {
  width: 16px; height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

/* =========================================================
   CARD FLUTUANTE — 5 PILARES
   ========================================================= */
.pillars {
  position: relative;
  z-index: var(--z-card);
  /* Cresce mais devagar (-8vh) que o padding-bottom do hero (10vh) acima,
     então sobra sempre uma folga — em qualquer altura de janela o card
     nunca alcança a data/hora/botão do hero. */
  margin-top: clamp(-7.5rem, -8vh, -6.75rem);
  padding-bottom: var(--space-m);
  background: transparent;
}

.pillars__card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(4, 16, 38, 0.28);
  padding: clamp(1.4rem, 2.8vw, 2.2rem) clamp(0.9rem, 2.2vw, 1.8rem);
}

.pillars__kicker {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: clamp(1.4rem, 2.5vw, 2rem);
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.pillar {
  text-align: center;
  padding-inline: clamp(0.8rem, 1.6vw, 1.6rem);
}

.pillar + .pillar { border-left: 1px solid var(--line-light); }

.pillar__icon {
  display: inline-flex;
  width: 44px; height: 44px;
  margin-bottom: 0.9rem;
  color: var(--ink);
}
.pillar__icon svg { width: 100%; height: 100%; }

/* Entrada em cascata dos pilares quando o card revela (.reveal-visible) */
.js .pillars__kicker {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.js .pillar {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.js .pillar__icon {
  opacity: 0;
  transform: scale(0.4);
  /* overshoot: o ícone "pula" ao chegar */
  transition: opacity 0.45s var(--ease-out),
              transform 0.55s cubic-bezier(0.3, 1.5, 0.45, 1);
}

.js .pillars__card.reveal-visible .pillars__kicker,
.js .pillars__card.reveal-visible .pillar,
.js .pillars__card.reveal-visible .pillar__icon {
  opacity: 1;
  transform: none;
}

.js .pillar:nth-child(1) { transition-delay: 0.1s; }
.js .pillar:nth-child(2) { transition-delay: 0.22s; }
.js .pillar:nth-child(3) { transition-delay: 0.34s; }
.js .pillar:nth-child(4) { transition-delay: 0.46s; }
.js .pillar:nth-child(5) { transition-delay: 0.58s; }
.js .pillar:nth-child(1) .pillar__icon { transition-delay: 0.22s; }
.js .pillar:nth-child(2) .pillar__icon { transition-delay: 0.34s; }
.js .pillar:nth-child(3) .pillar__icon { transition-delay: 0.46s; }
.js .pillar:nth-child(4) .pillar__icon { transition-delay: 0.58s; }
.js .pillar:nth-child(5) .pillar__icon { transition-delay: 0.7s; }

.pillar h3 {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.pillar p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* =========================================================
   SOBRE O EVENTO
   ========================================================= */
.about { padding-block: var(--space-l); background: var(--paper); }

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about__kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 1.1rem;
}

.about__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.about__text {
  max-width: 52ch;
  margin-bottom: 1.6rem;
}

/* =========================================================
   PARA QUEM É O EVENTO
   ========================================================= */
.audience { padding-block: 0 var(--space-m); background: var(--paper); }

.audience__card {
  position: relative;
  background: var(--paper-dim);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: clamp(2.4rem, 5vw, 3.8rem) clamp(1.6rem, 4vw, 3.4rem);
}

/* Neon dourado rodando continuamente na borda do card (mesmo anel do form) */
.audience__card::before,
.audience__card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 2px;
  background: conic-gradient(from var(--ring-angle),
    transparent 0deg,
    transparent 290deg,
    rgba(201, 151, 63, 0.35) 320deg,
    #ffe9b8 348deg,
    var(--gold-hot) 355deg,
    transparent 360deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  animation: ring-rotate 5.5s linear infinite;
}
.audience__card::after {
  filter: blur(7px);
  opacity: 0.75;
}

.audience__kicker {
  text-align: center;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 0.9rem;
}

.audience__title {
  text-align: center;
  font-size: var(--step-2);
  font-weight: 700;
  color: var(--ink);
  max-width: 26ch;
  margin: 0 auto 2.6rem;
}
.audience__title span { color: var(--gold-ink); }

.audience__lede {
  text-align: center;
  margin: 0 auto 2.6rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.audience__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.25rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out);
}
.audience__item:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--gold) 45%, transparent);
  box-shadow: 0 14px 30px rgba(4, 16, 38, 0.1);
}

/* Neon girando na borda ao passar o mouse (mesmo anel do card do form) */
.audience__item::before,
.audience__item::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-sm);
  padding: 2px;
  background: conic-gradient(from var(--ring-angle),
    transparent 0deg,
    transparent 290deg,
    rgba(201, 151, 63, 0.35) 320deg,
    #ffe9b8 348deg,
    var(--gold-hot) 355deg,
    transparent 360deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  pointer-events: none;
}
.audience__item::after { filter: blur(6px); }
.audience__item:hover::before,
.audience__item:hover::after {
  opacity: 1;
  animation: ring-rotate 3.5s linear infinite;
}

.audience__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  color: var(--gold-ink);
  transition: background-color 0.3s var(--ease-out),
              color 0.3s var(--ease-out),
              transform 0.3s var(--ease-out);
}
.audience__item:hover .audience__icon {
  background: linear-gradient(180deg, #ecca6f, var(--gold));
  color: var(--night-900);
  transform: scale(1.06);
}
.audience__icon svg { width: 26px; height: 26px; }

.audience__item p {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}

/* Entrada em cascata (animation não trava o hover depois) */
.js .audience__item { opacity: 0; }
.js .audience__card.reveal-visible .audience__item {
  opacity: 1;
  animation: audience-in 0.55s var(--ease-out) backwards;
}
@keyframes audience-in {
  from { opacity: 0; transform: translateY(22px); }
}
.js .audience__card.reveal-visible .audience__item:nth-child(1) { animation-delay: 0.05s; }
.js .audience__card.reveal-visible .audience__item:nth-child(2) { animation-delay: 0.14s; }
.js .audience__card.reveal-visible .audience__item:nth-child(3) { animation-delay: 0.23s; }
.js .audience__card.reveal-visible .audience__item:nth-child(4) { animation-delay: 0.32s; }
.js .audience__card.reveal-visible .audience__item:nth-child(5) { animation-delay: 0.41s; }
.js .audience__card.reveal-visible .audience__item:nth-child(6) { animation-delay: 0.5s; }

.about__media { position: relative; }

/* =========================================================
   CARROSSEL DE FOTOS (seção Sobre o evento)
   ========================================================= */
.about-gallery {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--night-900);
  box-shadow: 0 24px 50px rgba(4, 16, 38, 0.25);
}

.about-gallery__track {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-gallery__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}
.about-gallery__slide.is-active { opacity: 1; z-index: 1; }

.about-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-gallery__arrow {
  cursor: pointer;
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(5, 15, 35, 0.55);
  border: 1px solid rgba(233, 240, 248, 0.35);
  color: var(--text-hi);
  backdrop-filter: blur(2px);
  transform: translateY(-50%);
  transition: background-color 0.2s var(--ease-out),
              border-color 0.2s var(--ease-out),
              color 0.2s var(--ease-out);
}
.about-gallery__arrow svg { width: 20px; height: 20px; }
.about-gallery__arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--night-900);
}
.about-gallery__arrow--prev { left: 0.9rem; }
.about-gallery__arrow--next { right: 0.9rem; }

.about-gallery__dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
  transform: translateX(-50%);
}

.about-gallery__dot {
  cursor: pointer;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 0;
  padding: 0;
  transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.about-gallery__dot:hover { background: rgba(255, 255, 255, 0.7); }
.about-gallery__dot.is-active {
  background: var(--gold);
  transform: scale(1.25);
}

/* =========================================================
   TÍTULO COM RÉGUAS (— TÍTULO —)
   ========================================================= */
.rule-title {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
  justify-content: center;
  margin-bottom: var(--space-m);
}
.rule-title::before,
.rule-title::after {
  content: "";
  flex: 1;
  max-width: 220px;
  height: 1px;
  background: color-mix(in srgb, var(--gold) 55%, transparent);
}

/* Variante clara para uso sobre fundo navy */
.rule-title--dark { color: var(--text-hi); }

/* =========================================================
   EMPRESAS APOIADORAS
   ========================================================= */
.supporters {
  background: var(--paper);
  padding-top: var(--space-l);
}

.logo-mural {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.2rem clamp(2.5rem, 5vw, 4.5rem);
}

.logo-mural li {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  opacity: 0.85;
  white-space: nowrap;
  transition: opacity 0.2s var(--ease-out);
}
.logo-mural li:hover { opacity: 1; }
.logo-mural em { font-style: italic; font-weight: 500; }
.logo-mural strong { color: var(--gold-ink); }
.logo-mural small { font-size: 0.6em; letter-spacing: 0.14em; text-transform: uppercase; }

.logo-mural img {
  height: clamp(52px, 6vw, 72px);
  width: auto;
  max-width: 250px;
  object-fit: contain;
}

.supporters__note {
  margin-top: 2.2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* =========================================================
   REALIZAÇÃO / PATROCÍNIO / APOIO
   ========================================================= */
.sponsors { padding-block: var(--space-m); background: var(--paper); }

.sponsors .container { max-width: 1440px; }

.sponsors__intro {
  max-width: 56ch;
  margin: 0 auto clamp(2rem, 4vw, 2.8rem);
  text-align: center;
}

.sponsors__kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 1.1rem;
}

.sponsors__title {
  font-size: var(--step-3);
  font-weight: 700;
  color: var(--ink);
}

.sponsors__band {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: clamp(1.8rem, 4vw, 3rem) 0;
  padding: clamp(1.8rem, 3vw, 2.6rem) clamp(1.2rem, 4vw, 3rem);
  background: var(--paper-dim);
  border-radius: var(--radius);
}

.sponsor-group {
  flex: 1 1 0;
  min-width: 220px;
  text-align: center;
  padding-inline: clamp(1.2rem, 3.4vw, 2.8rem);
}
.sponsor-group + .sponsor-group { border-left: 1px solid var(--line-light); }
.sponsor-group--pair { flex-grow: 1.6; }

.sponsor-group__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 1.3rem;
}

.sponsor-group__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1.6rem clamp(1.2rem, 2.4vw, 2rem);
}

.sponsor-group__logos img {
  height: clamp(52px, 6vw, 72px);
  width: auto;
  max-width: 250px;
  object-fit: contain;
}

/* =========================================================
   PROGRAMAÇÃO — timeline central com zigue-zague
   ========================================================= */
.schedule {
  position: relative;
  padding-block: var(--space-l);
  background: var(--paper-dim);
  overflow: hidden;
}

/* Esferas desfocadas flutuando ao fundo */
.schedule::before,
.schedule::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.4;
  pointer-events: none;
  animation: float-blob 18s ease-in-out infinite;
}
.schedule::before {
  background: rgba(201, 151, 63, 0.4);
  top: 12%;
  left: -80px;
}
.schedule::after {
  background: rgba(28, 74, 140, 0.35);
  bottom: 8%;
  right: -90px;
  animation-duration: 23s;
  animation-delay: -9s;
}
@keyframes float-blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -35px) scale(1.15); }
  66% { transform: translate(-25px, 35px) scale(1.05); }
}

.schedule .container { position: relative; }

.schedule__lede {
  max-width: 46ch;
  margin: -1.4rem auto var(--space-m);
  text-align: center;
  color: var(--ink-soft);
}

.schedule-list {
  list-style: none;
  margin: 0 auto;
  padding: 0.5rem 0;
  max-width: 880px;
  position: relative;
  counter-reset: step;
}

/* Linha central dourada */
.schedule-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg,
    transparent 0%,
    color-mix(in srgb, var(--gold) 60%, transparent) 6%,
    color-mix(in srgb, var(--gold) 60%, transparent) 94%,
    transparent 100%);
}

.schedule-item {
  position: relative;
  counter-increment: step;
  width: calc(50% - 52px);
  padding: 1.3rem 1.5rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  /* tilt 3D: --mry/--mrx vêm do mouse (initScheduleTilt); --sign alterna o lado */
  --sign: -1;
  transform: translateX(var(--ex, 0px)) translateY(var(--hy, 0px))
             perspective(900px)
             rotateY(calc(var(--mry, 0deg) * var(--sign)))
             rotateX(var(--mrx, 0deg));
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.schedule-item + .schedule-item { margin-top: 1.8rem; }
.schedule-item:nth-child(odd) { margin-right: auto; }
.schedule-item:nth-child(even) { margin-left: auto; --sign: 1; }

.schedule-item:hover {
  --hy: -5px;
  box-shadow: 0 18px 40px rgba(4, 16, 38, 0.12);
}

/* Nó numerado sobre a linha central */
.schedule-item::before {
  content: counter(step);
  position: absolute;
  top: 1.1rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #ecca6f, var(--gold));
  border: 3px solid var(--paper-dim);
  color: var(--night-900);
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 2;
}
.schedule-item:nth-child(odd)::before { right: -73px; }
.schedule-item:nth-child(even)::before { left: -73px; }

.schedule-item:hover::before {
  animation: node-pulse 1.5s ease-in-out infinite;
}
@keyframes node-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 151, 63, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(201, 151, 63, 0); }
}

/* Barra dourada que preenche a base no hover */
.schedule-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-hot));
  transition: width 0.5s var(--ease-out);
}
.schedule-item:hover::after { width: 100%; }

.schedule-item time {
  display: inline-block;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--gold-ink);
  margin-bottom: 0.45rem;
}

.schedule-item h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.schedule-item p { font-size: 0.85rem; line-height: 1.6; }

/* Entrada: cada card desliza do seu lado da linha */
.js .schedule-item.reveal {
  opacity: 0;
  --ex: -56px;
}
.js .schedule-item.reveal:not(.reveal-visible):nth-child(even) { --ex: 56px; }
.js .schedule-item.reveal.reveal-visible {
  opacity: 1;
  --ex: 0px;
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out),
              box-shadow 0.4s var(--ease-out);
}

/* Garante a pilha de transform (entrada + tilt + hover) acima do
   transform genérico do sistema .reveal, em qualquer estado */
.js ol.schedule-list > .schedule-item {
  transform: translateX(var(--ex, 0px)) translateY(var(--hy, 0px))
             perspective(900px)
             rotateY(calc(var(--mry, 0deg) * var(--sign)))
             rotateX(var(--mrx, 0deg));
}

/* Mobile/tablet: linha à esquerda, cards em coluna única
   (900px = mesmo breakpoint das demais seções do site, evita
   a timeline ficar em zigue-zague enquanto o resto já é mobile) */
@media (max-width: 900px) {
  .schedule-list::before { left: 18px; }
  .schedule-item,
  .schedule-item:nth-child(odd),
  .schedule-item:nth-child(even) {
    width: calc(100% - 52px);
    margin-left: 52px;
    margin-right: 0;
  }
  .schedule-item:nth-child(odd)::before,
  .schedule-item:nth-child(even)::before {
    left: -52px;
    right: auto;
  }
  .js .schedule-item.reveal:not(.reveal-visible) { --ex: 36px; }
}

.schedule__note {
  margin-top: 2.2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* =========================================================
   LOCALIZAÇÃO
   ========================================================= */
.location { padding-block: var(--space-l); background: var(--paper); }

.location__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.location__kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 1.1rem;
}

.location__title {
  font-size: var(--step-3);
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.location__text { max-width: 44ch; margin-bottom: 1.6rem; }

.location__meta {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.location__meta strong { color: var(--ink); }

.location__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.6rem;
  margin-bottom: 2rem;
}

.location__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s var(--ease-out);
}
.location__contact-link:hover { color: var(--gold-ink); }

.location__contact-link svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
  flex-shrink: 0;
}

.location__map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-dim);
  box-shadow: 0 24px 50px rgba(4, 16, 38, 0.18);
}

.location__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding-block: var(--space-l); background: var(--paper); }

.faq__list {
  max-width: 760px;
  margin-inline: auto;
}

.faq__item {
  border-bottom: 1px solid var(--line-light);
}
.faq__item:first-child { border-top: 1px solid var(--line-light); }

.faq__item summary {
  position: relative;
  list-style: none;
  padding: 1.2rem 2.6rem 1.2rem 0.2rem;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s var(--ease-out);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold-ink); }

/* Indicador "+" que vira "–" ao abrir */
.faq__item summary::before,
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 0.6rem;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--gold);
  transform: translateY(-50%);
  transition: transform 0.25s var(--ease-out);
}
.faq__item summary::after { transform: translateY(-50%) rotate(90deg); }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(0deg); }

.faq__item p {
  padding: 0 2.6rem 1.3rem 0.2rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* =========================================================
   CTA INTERMEDIÁRIO (entre Localização e Setores)
   ========================================================= */
.cta-band {
  position: relative;
  padding-block: var(--space-m);
  background:
    radial-gradient(700px 380px at 85% 50%, rgba(28, 74, 140, 0.4), transparent 65%),
    linear-gradient(120deg, var(--night-950), var(--night-900));
  text-align: center;
  overflow: hidden;
}

.cta-band__signal {
  position: absolute;
  top: 50%;
  left: min(-8vw, -80px);
  transform: translateY(-50%);
  width: clamp(320px, 34vw, 520px);
  aspect-ratio: 1;
  opacity: 0.35;
  pointer-events: none;
}
.cta-band__signal .ring {
  stroke: rgba(201, 151, 63, 0.85);
  stroke-width: 1.2;
}
.cta-band__signal .ring--2 { stroke: rgba(201, 151, 63, 0.65); }
.cta-band__signal .ring--3 { stroke: rgba(201, 151, 63, 0.5); }
.cta-band__signal .ring--4 { stroke: rgba(201, 151, 63, 0.35); }

.cta-band__inner { position: relative; z-index: 2; }

.cta-band__kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-hot);
  margin-bottom: 1.1rem;
}

.cta-band__title {
  font-size: var(--step-2);
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 1rem;
}

.cta-band__text {
  max-width: 52ch;
  margin: 0 auto 1.8rem;
  color: var(--text-mid);
}

/* =========================================================
   PALESTRANTES
   ========================================================= */
.speakers {
  position: relative;
  padding-block: var(--space-l);
  background:
    radial-gradient(900px 480px at 15% 0%, rgba(28, 74, 140, 0.35), transparent 65%),
    var(--night-900);
  color: var(--text-mid);
  overflow: hidden;
}

.speakers__glow {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(140, 180, 225, 0.12) 1px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent, #000 30%);
  pointer-events: none;
}

.speakers .container { position: relative; }

.speakers__intro {
  max-width: 60ch;
  margin: 0 auto clamp(2.2rem, 4.5vw, 3.2rem);
  text-align: center;
  position: relative;
}

.speakers__title {
  font-size: var(--step-3);
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}

.speakers__lede {
  color: var(--text-mid);
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.speaker { text-align: center; }

.speaker__photo {
  position: relative;
  margin: 0 0 1.2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(2, 8, 20, 0.4);
}

.speaker__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(2, 8, 20, 0.94) 20%, rgba(2, 8, 20, 0) 100%);
  opacity: 1;
  transform: translateY(0);
}

.speaker__overlay .speaker__name { margin-bottom: 0.35rem; }

.speaker__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.5s var(--ease-out);
}
.speaker:hover .speaker__photo img { transform: scale(1.04); }

.speaker__name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}

.speaker h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-hi);
}

.speaker p {
  font-size: 0.85rem;
  color: var(--text-mid);
}

.speakers__note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-low);
}

/* =========================================================
   INSCRIÇÃO
   ========================================================= */
.registration {
  position: relative;
  padding-block: var(--space-l);
  background:
    radial-gradient(1000px 500px at 80% 10%, rgba(28, 74, 140, 0.35), transparent 65%),
    var(--night-900);
  color: var(--text-mid);
  overflow: hidden;
}

.registration__glow {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(140, 180, 225, 0.12) 1px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent, #000 30%);
  pointer-events: none;
}

/* Interação com o mouse: bolinhas acendem em dourado ao redor do cursor.
   A posição vem das vars --mx/--my atualizadas via JS (initDotsHover). */
.speakers__glow::after,
.registration__glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(219, 174, 92, 0.75) 1.4px, transparent 2px);
  background-size: 26px 26px;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  -webkit-mask-image: radial-gradient(180px 180px at var(--mx, -400px) var(--my, -400px),
    #000 0%, rgba(0, 0, 0, 0.35) 50%, transparent 72%);
  mask-image: radial-gradient(180px 180px at var(--mx, -400px) var(--my, -400px),
    #000 0%, rgba(0, 0, 0, 0.35) 50%, transparent 72%);
}
.speakers__glow.is-hover::after,
.registration__glow.is-hover::after { opacity: 1; }

.registration__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.2rem);
  align-items: center;
}

.registration__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-hot);
  margin-bottom: 1.4rem;
}
.registration__kicker svg { width: 15px; height: 15px; }

.registration__title {
  font-size: var(--step-3);
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: 0.02em;
  margin-bottom: 1.6rem;
}

/* Sub-kicker "Garanta sua presença" com filete dourado acima */
.registration__subkicker {
  position: relative;
  padding-top: 1.3rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-hot);
}
.registration__subkicker::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--gold);
}

.registration__text { color: var(--text-mid); }

.registration__meta {
  margin-top: 1.8rem;
  display: grid;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-mid);
}
.registration__meta li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.registration__meta svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--gold-hot);
}
.registration__meta strong { color: var(--text-hi); }

/* Card do formulário (borda arredondada como no layout de referência) */
@property --ring-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.registration__form-wrap {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border: 1px solid var(--night-line);
  border-radius: var(--radius);
  background: rgba(3, 12, 30, 0.35);
}

/* Neon girando na borda: anel nítido + cópia desfocada (brilho) */
.registration__form-wrap::before,
.registration__form-wrap::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 2px;
  background: conic-gradient(from var(--ring-angle),
    transparent 0deg,
    transparent 290deg,
    rgba(219, 174, 92, 0.35) 320deg,
    #ffe9b8 348deg,
    var(--gold-hot) 355deg,
    transparent 360deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  animation: ring-rotate 4.5s linear infinite;
}
.registration__form-wrap::after {
  filter: blur(7px);
  opacity: 0.75;
}

@keyframes ring-rotate {
  to { --ring-angle: 360deg; }
}

.registration__form-title {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold-hot);
  margin-bottom: 1.7rem;
}
.registration__form-title::before,
.registration__form-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: color-mix(in srgb, var(--gold) 55%, transparent);
}
.registration__form-title span { flex-shrink: 0; }

.registration-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
}

.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }

.registration-form input[type="text"],
.registration-form input[type="email"],
.registration-form input[type="tel"],
.registration-form select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-hi);
  background: var(--night-700);
  border: 1px solid var(--night-line);
  border-radius: 10px;
  padding: 0.95rem 1.1rem;
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
  appearance: none;
}

.registration-form select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-mid) 50%),
    linear-gradient(135deg, var(--text-mid) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 2px),
    calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

/* Campo de telefone: seletor de país + código (BR) + input, lado a lado */
.phone-field {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.phone-field__country { flex: 1 1 148px; min-width: 128px; }
.phone-field__country select { padding-right: 2rem; }

.phone-field__code {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 0.85rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-hot);
  background: var(--night-700);
  border: 1px solid var(--night-line);
  border-radius: 10px;
  white-space: nowrap;
}
.phone-field.is-br .phone-field__code { display: inline-flex; }

.phone-field input[type="tel"] { flex: 2 1 180px; min-width: 0; }

.registration-form ::placeholder { color: rgba(233, 240, 248, 0.78); opacity: 1; }
.registration-form select:invalid,
.registration-form select option[value=""] { color: rgba(233, 240, 248, 0.78); }
.registration-form select option { color: var(--ink); background: var(--paper); }

.registration-form input:focus,
.registration-form select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--night-800);
}

.registration-form .is-invalid { border-color: #e4737f; }

.field__error {
  min-height: 0;
  margin-top: 0.3rem;
  font-size: 0.76rem;
  color: #f4a3ab;
}
.field__error:empty { display: none; }

/* Botão do form: mesmo degradê/neon global, só muda raio e altura */
.registration-form .btn--gold {
  border-radius: 10px;
  padding-block: 1.2em;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  cursor: pointer;
  font-size: 0.84rem;
  color: var(--text-mid);
}
.checkbox input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.checkbox__box {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 0.2em;
  border: 1px solid var(--text-low);
  border-radius: 4px;
  background: transparent;
  position: relative;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.checkbox input:checked + .checkbox__box {
  background: var(--gold);
  border-color: var(--gold);
}
.checkbox input:checked + .checkbox__box::after {
  content: "";
  position: absolute;
  left: 5px; top: 1.5px;
  width: 5px; height: 9px;
  border: solid var(--night-900);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}
.checkbox input:focus-visible + .checkbox__box {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.checkbox__label a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s var(--ease-out);
}
.checkbox__label a:hover {
  color: var(--gold-hot);
}

.form-success {
  grid-column: 1 / -1;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(78, 168, 120, 0.16);
  border: 1px solid rgba(120, 205, 160, 0.4);
  color: #bfe8d0;
  font-size: 0.9rem;
}

.form-error {
  grid-column: 1 / -1;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(228, 115, 127, 0.14);
  border: 1px solid rgba(228, 115, 127, 0.4);
  color: #f4a3ab;
  font-size: 0.9rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  background: var(--night-950);
  color: var(--text-mid);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--gold) 55%, transparent) 50%, transparent);
}

.brand--footer .brand__logo img { height: 72px; }

/* --- Grade de colunas --- */
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(140px, 1fr));
  gap: clamp(2.2rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.site-footer__brand { display: grid; gap: 1.1rem; align-content: start; }

.site-footer__tagline {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-low);
  max-width: 32ch;
}

.site-footer__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  border: 1px solid color-mix(in srgb, var(--text-mid) 25%, transparent);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.site-footer__whatsapp svg { width: 15px; height: 15px; fill: currentColor; }
.site-footer__whatsapp:hover { color: var(--gold-hot); border-color: var(--gold); }

.site-footer__col { display: grid; gap: 1rem; align-content: start; }

.site-footer__col-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-hot);
}

.site-footer__col ul { display: grid; gap: 0.65rem; }

.site-footer__col a {
  font-size: 0.86rem;
  color: var(--text-mid);
  transition: color 0.2s var(--ease-out);
}
.site-footer__col a:hover { color: var(--gold-hot); }

.site-footer__facts li {
  font-size: 0.86rem;
  color: var(--text-low);
}

.site-footer__cta {
  justify-self: start;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-hot);
  transition: color 0.2s var(--ease-out), gap 0.2s var(--ease-out);
}
.site-footer__cta:hover { color: var(--gold); }

/* --- Realização e apoio --- */
.site-footer__sponsors {
  display: grid;
  gap: 0.9rem;
  justify-items: center;
  padding-block: clamp(1.8rem, 3.5vw, 2.4rem);
  border-top: 1px solid color-mix(in srgb, var(--text-mid) 12%, transparent);
}

.site-footer__sponsors-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-low);
}

.site-footer__sponsors-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem 1.6rem;
}

.site-footer__sponsors-logos img {
  height: clamp(36px, 4vw, 48px);
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* --- Barra inferior --- */
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  padding-block: 1.4rem;
  border-top: 1px solid color-mix(in srgb, var(--text-mid) 12%, transparent);
}

.site-footer__copy { font-size: 0.78rem; color: var(--text-low); }

.site-footer__contact { font-size: 0.78rem; color: var(--text-low); }
.site-footer__contact a { color: var(--gold-hot); transition: color 0.2s var(--ease-out); }
.site-footer__contact a:hover { color: var(--gold); }

/* =========================================================
   PÁGINAS LEGAIS (Privacidade / Cookies)
   ========================================================= */
.legal-hero {
  padding-top: calc(var(--countdown-h) + var(--header-h) + clamp(2.5rem, 6vh, 4.5rem));
  padding-bottom: clamp(2.5rem, 5vh, 3.5rem);
  background: var(--night-900);
  color: var(--text-mid);
}
body.no-countdown .legal-hero {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vh, 4.5rem));
}
.legal-hero__kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-hot);
  margin-bottom: 0.9rem;
}
.legal-hero__title {
  font-size: var(--step-3);
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 0.7rem;
}
.legal-hero__updated { font-size: 0.85rem; color: var(--text-low); }

.legal-page { padding-block: var(--space-l); background: var(--paper); }

.legal-content {
  max-width: 760px;
  margin-inline: auto;
}

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2.6rem;
  margin-bottom: 0.9rem;
}
.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 1.6rem;
  margin-bottom: 0.5rem;
}

.legal-content p {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 1.2rem;
  padding-left: 1.3rem;
  display: grid;
  gap: 0.5rem;
}
.legal-content li {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.legal-content li strong { color: var(--ink); }

.legal-content a { color: var(--gold-ink); font-weight: 600; text-decoration: underline; }

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  font-size: 0.85rem;
}
.legal-content th,
.legal-content td {
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--line-light);
  color: var(--ink-soft);
  vertical-align: top;
}
.legal-content th {
  color: var(--ink);
  font-weight: 700;
  background: var(--paper-dim);
}

.legal-content__placeholder {
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  border: 1px dashed color-mix(in srgb, var(--gold) 55%, transparent);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-size: 0.85rem;
  color: var(--gold-ink);
  margin-bottom: 1.6rem;
}

.legal-content__manage-btn {
  margin-top: 0.4rem;
  margin-bottom: 1.6rem;
}

/* =========================================================
   REVEALS (gateados em .js — sem JS tudo fica visível)
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur) var(--ease-out) var(--reveal-delay, 0s),
              transform var(--dur) var(--ease-out) var(--reveal-delay, 0s);
}
.js .reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1160px) {
  .pillars__grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2rem 1.5rem; }
  .pillar + .pillar { border-left: 0; }
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1080px) {
  .main-nav {
    position: fixed;
    inset: calc(var(--countdown-h) + var(--header-h)) 0 auto 0;
    z-index: var(--z-menu);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(3, 12, 30, 0.99);
    border-bottom: 1px solid var(--night-line);
    padding: 1rem var(--pad) 1.6rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
  }
  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav__list a {
    display: block;
    padding: 0.9rem 0.2rem;
    border-bottom: 1px solid var(--night-line);
    font-size: 0.82rem;
  }
  .main-nav__cta { margin-top: 1.2rem; }

  .nav-toggle { display: block; }
  #nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
  #nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

  body.no-countdown .main-nav { inset: var(--header-h) 0 auto 0; }
}

@media (max-width: 900px) {
  .about__inner,
  .location__inner,
  .registration__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .hero__signal { opacity: 0.3; }

  .audience-grid { grid-template-columns: 1fr; gap: 1rem; }

  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; max-width: 40ch; }
}

@media (max-width: 640px) {
  :root { --header-h: 76px; }
  .brand__logo img { height: 62px; }

  /* Hero: mais respiro embaixo + card sobe menos (sem cobrir conteúdo) */
  .hero {
    /* Fallback p/ navegadores sem suporte a svh */
    padding-top: calc(var(--countdown-h) + var(--header-h) + clamp(2rem, 30vh, 16rem));
    /* O respiro (gap) nunca pode passar do espaço que sobra depois de reservar
       ~490px para badge + título + descrição + botão — garante que os 4
       apareçam na primeira tela em qualquer altura de celular. */
    padding-top: calc(var(--countdown-h) + var(--header-h) +
      min(clamp(2rem, 42vh, 22rem),
          calc(100svh - var(--countdown-h) - var(--header-h) - 490px)));
    padding-bottom: 9.5rem;
  }
  /* Overlay mais leve no topo p/ a imagem de fundo aparecer no respiro,
     escurecendo só atrás do texto */
  .hero__veil {
    background:
      linear-gradient(180deg,
        rgba(4, 16, 38, 0.62) 0%,
        rgba(4, 16, 38, 0.25) 15%,
        rgba(4, 16, 38, 0.15) 29%,
        rgba(4, 16, 38, 0.88) 43%,
        rgba(4, 16, 38, 0.96) 100%);
  }
  .hero__title { max-width: none; font-size: clamp(1.4rem, 1.28rem + 0.8vw, 1.85rem); }
  .hero__actions { align-items: stretch; flex-direction: column; gap: 1.6rem; }
  .hero__actions .btn { width: 100%; }
  .hero__eyebrow { font-size: 0.64rem; padding: 0.4rem 0.8rem; }

  .pillars { margin-top: -6rem; }

  .pillars__grid { grid-template-columns: 1fr; padding-inline: 0.4rem; }
  .pillars__card { padding: 2rem 1.6rem; }
  .pillar { padding-block: 1.2rem; }
  .pillar + .pillar { border-top: 1px solid var(--line-light); }

  /* Realização / Patrocínio / Apoio: empilha, divisórias viram linhas horizontais */
  .sponsors__band { flex-direction: column; gap: 1.8rem; }
  .sponsor-group { padding-inline: 0.5rem; }
  .sponsor-group + .sponsor-group {
    border-left: none;
    border-top: 1px solid var(--line-light);
    padding-top: 1.8rem;
  }

  /* Logos das empresas apoiadoras: 2 por linha */
  .logo-mural {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
    justify-items: center;
  }
  .logo-mural img { max-width: 100%; }

  .registration-form { grid-template-columns: 1fr; }

  .speakers-grid { grid-template-columns: 1fr; }


  .schedule-item { padding: 1.1rem 1.2rem; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .site-footer__brand { grid-column: 1 / -1; max-width: none; }
  .site-footer__whatsapp { justify-self: start; }

  .site-footer__sponsors-logos { gap: 1.4rem; }

  .site-footer__bottom { flex-direction: column; text-align: center; }
}

/* =========================================================
   HERO EM TELAS BAIXAS (celular em paisagem, ou qualquer tela
   com pouca altura) — a proteção acima é por LARGURA (max-width:
   640px) e não cobre um celular deitado, que é mais largo que
   640px mas continua muito baixo. Esta regra usa max-height e
   comprime tipografia/espaçamento para o badge, título, descrição
   e botão sempre caberem na primeira tela.
   ========================================================= */
@media (max-height: 480px) {
  :root { --header-h: 64px; --countdown-h: 34px; }

  .hero {
    padding-top: calc(var(--countdown-h) + var(--header-h) + 0.5rem);
    padding-bottom: 3rem;
  }
  .hero__eyebrow { margin-bottom: 0.6rem; font-size: 0.62rem; padding: 0.3rem 0.7rem; }
  .hero__title { font-size: var(--step-1); line-height: 1.2; }
  .hero__lede { margin-top: 0.6rem; font-size: 0.82rem; line-height: 1.45; }
  .hero__actions {
    margin-top: 0.8rem;
    margin-bottom: 0.4rem;
    flex-direction: row;
    align-items: center;
  }
  .hero__actions .btn { width: auto; }
  .hero__event-info { display: none; }
}

/* =========================================================
   TOAST DE PROVA SOCIAL (inscrições recentes)
   ========================================================= */
.signup-toast {
  position: fixed;
  left: 1.1rem;
  bottom: 1.1rem;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: min(320px, calc(100vw - 2.2rem));
  padding: 0.85rem 2.1rem 0.85rem 1rem;
  background: rgba(3, 12, 30, 0.96);
  border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(2, 8, 20, 0.5);
  color: var(--text-mid);
  font-size: 0.8rem;
  line-height: 1.45;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-16px);
  transition: opacity 0.4s var(--ease-out),
              transform 0.4s var(--ease-out),
              visibility 0s linear 0.4s;
}
.signup-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition-delay: 0s;
}

.signup-toast__avatar {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ecca6f, var(--gold));
  color: var(--night-900);
  font-weight: 700;
  font-size: 0.95rem;
}

.signup-toast strong { color: var(--text-hi); font-weight: 600; }
.signup-toast small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: var(--text-low);
}

.signup-toast__close {
  position: absolute;
  top: 0.25rem;
  right: 0.45rem;
  padding: 0.15rem;
  border: 0;
  background: transparent;
  color: var(--text-low);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.signup-toast__close:hover { color: var(--text-hi); }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .js .hero__line > span,
  .js .hero__lede,
  .js .hero__actions {
    transform: none;
    opacity: 1;
    transition: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .js .pillars__kicker,
  .js .pillar,
  .js .pillar__icon {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .js .schedule-item.reveal,
  .js .schedule-item.reveal:nth-child(even) {
    opacity: 1;
    --ex: 0px;
    transition: none;
  }

  .js .audience__item {
    opacity: 1;
    animation: none;
  }

  .js .hero__signal .ring { animation: none; }

  .btn:hover { transform: none; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   BOTÃO FLUTUANTE — WHATSAPP
   Fica logo acima do widget de consentimento (.cc-widget:
   46px de altura, bottom 1.1rem / 0.7rem no mobile).
   ========================================================= */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: calc(1.1rem + 46px + 0.8rem);
  z-index: 9997; /* abaixo do banner/widget de consentimento */
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2ee06f 0%, #25d366 55%, #1aa951 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(2, 8, 20, 0.35);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(2, 8, 20, 0.4);
}
.wa-float:focus-visible {
  outline: 2px solid #25d366;
  outline-offset: 3px;
}
.wa-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@media (max-width: 480px) {
  .wa-float {
    right: 0.7rem;
    bottom: calc(0.7rem + 46px + 0.7rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float, .wa-float:hover { transform: none; transition: none; }
}

/* =========================================================
   SELETOR DE IDIOMA (header) — PT / EN / ES
   ========================================================= */
/* Com o seletor no header, o nav deixa de ser o último item:
   o margin-left:auto mantém nav + idioma agrupados à direita. */
.main-nav { margin-left: auto; }

.lang-switch {
  position: relative;
  flex-shrink: 0;
}

.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid rgba(148, 178, 210, 0.3);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  color: var(--text-hi);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out),
              background-color 0.2s var(--ease-out);
}
.lang-switch__btn:hover,
.lang-switch.is-open .lang-switch__btn {
  border-color: var(--gold);
  color: var(--gold-hot);
  background: rgba(201, 151, 63, 0.08);
}
/* Bandeiras SVG (botão e opções do dropdown) */
.lang-flag {
  display: inline-flex;
  flex-shrink: 0;
  width: 20px;
  height: 14px;
  border-radius: 2.5px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(148, 178, 210, 0.25);
}
.lang-flag svg {
  width: 100%;
  height: 100%;
  display: block;
}
.lang-switch__btn .lang-switch__chevron {
  width: 11px;
  height: 11px;
  transition: transform 0.2s var(--ease-out);
}
.lang-switch.is-open .lang-switch__chevron { transform: rotate(180deg); }

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 172px;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: rgba(3, 12, 30, 0.98);
  border: 1px solid rgba(148, 178, 210, 0.14);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(2, 8, 20, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out),
              visibility 0.2s;
  z-index: 20;
}
.lang-switch.is-open .lang-switch__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.lang-switch__menu li { list-style: none; }

.lang-switch__menu button {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.6rem 0.8rem;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-hi);
  transition: background-color 0.15s var(--ease-out), color 0.15s var(--ease-out);
}
.lang-switch__menu button:hover {
  background: rgba(201, 151, 63, 0.12);
  color: var(--gold-hot);
}
.lang-switch__menu button[aria-selected="true"] {
  color: var(--gold-hot);
  font-weight: 600;
}

/* Mobile: o nav vira painel fixo, então o seletor gruda no hambúrguer */
@media (max-width: 1080px) {
  .lang-switch { margin-left: auto; }
  .lang-switch__btn { padding: 0.42rem 0.7rem; }
}

/* =========================================================
   PÁGINA DE OBRIGADO (obrigado.html)
   ========================================================= */
.thanks-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(28, 74, 140, 0.45), transparent 65%),
    var(--night-900);
  color: var(--text-mid);
  text-align: center;
  padding-top: calc(var(--header-h) + clamp(3rem, 9vh, 5.5rem));
  padding-bottom: clamp(3rem, 7vh, 4.5rem);
}

.thanks-hero__signal {
  position: absolute;
  top: 50%;
  right: min(-8vw, -80px);
  transform: translateY(-50%);
  width: clamp(320px, 34vw, 520px);
  aspect-ratio: 1;
  opacity: 0.3;
  pointer-events: none;
}
.thanks-hero__signal .ring { stroke: rgba(201, 151, 63, 0.85); stroke-width: 1.2; }
.thanks-hero__signal .ring--2 { stroke: rgba(201, 151, 63, 0.65); }
.thanks-hero__signal .ring--3 { stroke: rgba(201, 151, 63, 0.5); }
.thanks-hero__signal .ring--4 { stroke: rgba(201, 151, 63, 0.35); }

.thanks-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.thanks-hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 1.3rem;
  color: var(--night-900);
  background: linear-gradient(180deg, #ecca6f 0%, var(--gold) 55%, #b98730 100%);
  box-shadow: 0 8px 28px rgba(201, 151, 63, 0.4);
}
.thanks-hero__badge svg { width: 30px; height: 30px; }

.thanks-hero__kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-hot);
  margin-bottom: 0.9rem;
}

.thanks-hero__title {
  font-size: var(--step-3);
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 1rem;
}

.thanks-hero__lede {
  max-width: 58ch;
  margin: 0 auto 2rem;
  color: var(--text-mid);
}

/* Aviso: vaga ainda não confirmada */
.thanks-alert {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  text-align: left;
  max-width: 640px;
  margin-inline: auto;
  padding: 1.2rem 1.4rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--gold) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
}
.thanks-alert__icon {
  flex: 0 0 auto;
  display: inline-flex;
  color: var(--gold-hot);
  margin-top: 0.15rem;
}
.thanks-alert__icon svg { width: 26px; height: 26px; }
.thanks-alert h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 0.4rem;
}
.thanks-alert p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-mid);
}
.thanks-alert p strong { color: var(--gold-hot); }

/* Cabeçalhos das seções claras */
.thanks-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
  text-align: center;
  margin-bottom: 0.7rem;
}
.thanks-title {
  font-size: var(--step-2);
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin-bottom: clamp(1.8rem, 4vh, 2.6rem);
}

/* Linha do tempo dos próximos passos */
.thanks-steps { padding-block: var(--space-l) var(--space-m); background: var(--paper); }

.thanks-steps__list {
  list-style: none;
  max-width: 640px;
  margin-inline: auto;
  padding: 0;
}

.thanks-step {
  position: relative;
  display: flex;
  gap: 1.1rem;
  padding-bottom: 1.9rem;
}
.thanks-step:last-child { padding-bottom: 0; }

/* Linha vertical conectando os passos */
.thanks-step::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 2px;
  width: 2px;
  background: color-mix(in srgb, var(--gold) 30%, transparent);
}
.thanks-step:last-child::before { display: none; }

.thanks-step__num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold-ink);
  background: var(--paper);
  border: 2px solid color-mix(in srgb, var(--gold) 55%, transparent);
}
.thanks-step__num svg { width: 18px; height: 18px; }

.thanks-step.is-done .thanks-step__num {
  color: var(--night-900);
  background: linear-gradient(180deg, #ecca6f 0%, var(--gold) 55%, #b98730 100%);
  border-color: transparent;
}

.thanks-step h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0.45rem 0 0.35rem;
}
.thanks-step p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* Cards "o que fazer agora" */
.thanks-todo { padding-block: var(--space-m) var(--space-l); background: var(--paper-dim); }

.thanks-todo__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  max-width: 880px;
  margin-inline: auto;
}

.thanks-card {
  background: var(--paper);
  border: 1px solid rgba(11, 32, 68, 0.08);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 4px 18px rgba(11, 32, 68, 0.05);
}
.thanks-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 0.9rem;
  color: var(--gold-ink);
  background: color-mix(in srgb, var(--gold) 14%, transparent);
}
.thanks-card__icon svg { width: 22px; height: 22px; }
.thanks-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.thanks-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.thanks-card p a { color: var(--gold-ink); font-weight: 600; text-decoration: underline; }
.thanks-card__cta {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.thanks-card__cta:hover { color: var(--gold); }

.thanks-note {
  max-width: 640px;
  margin: clamp(1.8rem, 4vh, 2.4rem) auto 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--ink-soft);
  text-align: center;
}

.thanks-actions {
  text-align: center;
  margin-top: 1.6rem;
}

@media (max-width: 680px) {
  .thanks-todo__grid { grid-template-columns: 1fr; }
  .thanks-alert { flex-direction: column; gap: 0.6rem; }
}
