/* ==========================================================================
   Evento Viver Mais — styles.css
   Complementa o Tailwind com componentes, estados de animação e detalhes finos.
   ========================================================================== */

:root {
  --coral: #ff808b;
  --coral-soft: #ffb3ba;
  --coral-deep: #e9626f;
  --navy: #353446;
  --navy-deep: #26252f;
  --navy-light: #45445a;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.12);

  --font-display: "Barlow Condensed", Impact, sans-serif;
  --font-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --ease-apple: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* O fundo do html é o que aparece no "elástico" do iOS no fim da página:
   usa a mesma cor do rodapé para a página terminar de verdade */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--navy-deep);
  overscroll-behavior-y: none;
}
/* fallback: hidden só no html (no body também viraria container de rolagem e quebraria o sticky) */
html { overflow-x: hidden; }
@supports (overflow: clip) {
  /* clip corta o excesso lateral sem criar outro container de rolagem (não quebra o sticky) */
  html, body { overflow-x: clip; }
}
body {
  background: var(--navy);
  color: var(--white);
  overscroll-behavior-y: none;
}
::selection { background: var(--coral); color: var(--navy); }

/* Lenis (smooth scroll) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Tipografia ---------- */
.font-display {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.005em;
}
.display-xl {
  font-size: clamp(3.6rem, 15vw, 9.5rem);
  line-height: 0.86;
}
.display-lg {
  font-size: clamp(2.9rem, 11vw, 6.5rem);
  line-height: 0.9;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}
.justify-center.eyebrow { display: flex; }

/* ---------- Botões ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.4s var(--ease-apple), background-color 0.3s, box-shadow 0.4s var(--ease-apple), color 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--coral-soft); outline-offset: 3px; }

.btn-primary {
  background: var(--coral);
  color: var(--navy-deep);
  box-shadow: 0 10px 30px -10px rgba(255, 128, 139, 0.65);
}
.btn-primary:hover { background: var(--coral-soft); box-shadow: 0 16px 40px -12px rgba(255, 128, 139, 0.8); }

.btn-ghost {
  padding: 0.95rem 1.4rem;
  font-size: 0.95rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn-sm { padding: 0.62rem 1.05rem; font-size: 0.85rem; }
.btn-lg { padding: 1.15rem 1.9rem; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  height: var(--header-h);
  transition: background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(38, 37, 47, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-color: var(--line);
}
.logo { line-height: 1; letter-spacing: 0.02em; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero-sticky {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 3rem) 1.25rem 5rem;
}
.hero-glow {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(42% 36% at 50% 48%, rgba(255, 128, 139, 0.3) 0%, rgba(255, 128, 139, 0.258) 12%, rgba(255, 128, 139, 0.198) 24%, rgba(255, 128, 139, 0.138) 36%, rgba(255, 128, 139, 0.087) 48%, rgba(255, 128, 139, 0.048) 60%, rgba(255, 128, 139, 0.022) 72%, rgba(255, 128, 139, 0.007) 84%, rgba(255, 128, 139, 0.0) 100%),
    radial-gradient(62% 50% at 50% 110%, rgba(255, 128, 139, 0.12) 0%, rgba(255, 128, 139, 0.103) 12%, rgba(255, 128, 139, 0.079) 24%, rgba(255, 128, 139, 0.055) 36%, rgba(255, 128, 139, 0.035) 48%, rgba(255, 128, 139, 0.019) 60%, rgba(255, 128, 139, 0.009) 72%, rgba(255, 128, 139, 0.003) 84%, rgba(255, 128, 139, 0.0) 100%);
  opacity: 0.55;
  will-change: transform, opacity;
}
.hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5rem;
  align-items: center;
  text-align: center;
}
.hero-layer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 56rem;
}
.hero-eyebrow { font-size: 0.85rem; letter-spacing: 0.4em; }
.hero-eyebrow::before { display: none; }

.hero-date {
  font-size: clamp(8.5rem, 44vw, 27rem);
  line-height: 0.8;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--coral);
  background: linear-gradient(180deg, #ffd0d4 0%, var(--coral) 45%, var(--coral-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  will-change: transform, opacity;
  user-select: none;
}
.hero-meta {
  margin-top: 1.4rem;
  font-size: clamp(1.15rem, 5vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
}
.sep { margin: 0 0.5em; color: var(--coral); opacity: 0.85; font-weight: 400; }

.hero-sub {
  max-width: 36rem;
  margin: 1.6rem auto 2.2rem;
  font-size: clamp(1rem, 3.8vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
}

.seats {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}
.seats.justify-center { display: flex; }
.seats-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}
.scroll-hint { display: none; }

/* Hero no modo animado: palco fixo (sticky) enquanto a seção rola */
.motion .hero { height: 340vh; }
.motion .hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  padding: var(--header-h) 1.25rem 0;
}
.motion .hero-stage {
  display: grid;
  place-items: center;
  height: 100%;
  gap: 0;
}
.motion .hero-layer { grid-area: 1 / 1; }
/* Estados iniciais (o GSAP assume daqui) */
.motion .hero-date { opacity: 0.22; transform: scale(0.58); }
.motion .hero-meta { opacity: 0; }
.motion .hero-content-layer { opacity: 0; visibility: hidden; }

.motion .scroll-hint {
  position: absolute;
  left: 50%;
  bottom: calc(1.6rem + var(--safe-bottom));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.scroll-hint-line {
  position: relative;
  width: 1.5px;
  height: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
}
.scroll-hint-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--coral);
  animation: scrollLine 1.8s var(--ease-apple) infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ==========================================================================
   Batimento — um único "coração" (script.js) dirige ECG, data, logo e halos
   ========================================================================== */
.logo-plus, .beat-date, .vitals-heart, .success-icon { display: inline-block; transform-origin: 50% 55%; will-change: transform; }
.beat-date { display: block; }

/* Halo que expande a cada batida (botões e pontos "ao vivo") */
.beat-halo {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid var(--coral);
  opacity: 0;
  pointer-events: none;
}
.seats-dot .beat-halo { inset: -1px; border-radius: 50%; }
.sticky-bar-cta { position: relative; }

/* Eletrocardiograma ao vivo atrás do 07/11 */
.ecg, .hero-pulse, .vitals { display: none; }
.motion .ecg {
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: min(46vh, 380px);
  transform: translateY(-50%);
  opacity: 0.55;
  pointer-events: none;
}
.motion .hero-pulse {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(36% 28% at 50% 50%, rgba(255, 128, 139, 0.34) 0%, rgba(255, 128, 139, 0.292) 12%, rgba(255, 128, 139, 0.224) 24%, rgba(255, 128, 139, 0.156) 36%, rgba(255, 128, 139, 0.099) 48%, rgba(255, 128, 139, 0.054) 60%, rgba(255, 128, 139, 0.026) 72%, rgba(255, 128, 139, 0.009) 84%, rgba(255, 128, 139, 0.0) 100%);
  opacity: 0;
  will-change: transform, opacity;
}
.motion .vitals {
  position: absolute;
  left: 1.25rem;
  /* alinhado à linha do "Role" (mesma altura do rótulo) */
  bottom: calc(1.6rem + 28px + 0.6rem + var(--safe-bottom));
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.vitals-heart { color: var(--coral); }
.vitals-bpm {
  min-width: 2.2ch;
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--white);
}
@media (min-width: 768px) {
  .motion .vitals { left: 2rem; }
}

/* Respiração: brilho dos fundos sobe e desce como uma respiração calma (~5s) */
.breath { position: relative; isolation: isolate; }
.motion .breath::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(70% 50% at 50% 0%, rgba(255, 128, 139, 0.16) 0%, rgba(255, 128, 139, 0.138) 12%, rgba(255, 128, 139, 0.106) 24%, rgba(255, 128, 139, 0.074) 36%, rgba(255, 128, 139, 0.046) 48%, rgba(255, 128, 139, 0.026) 60%, rgba(255, 128, 139, 0.012) 72%, rgba(255, 128, 139, 0.004) 84%, rgba(255, 128, 139, 0.0) 100%);
  animation: breathe 5.2s ease-in-out infinite alternate;
  will-change: opacity;
}
/* só opacidade: nada muda de tamanho, então nada "vaza" para os lados */
@keyframes breathe {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

/* ---------- Seções ---------- */
.section { position: relative; padding: clamp(5.5rem, 14vw, 9rem) 0; }
.section-deep { background: var(--navy-deep); }

/* Reveal ao rolar */
.motion [data-reveal] { opacity: 0; transform: translateY(44px); }

/* Texto que "acende" palavra por palavra */
.scrub-text {
  font-size: clamp(1.45rem, 5.6vw, 2.6rem);
  line-height: 1.32;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--white);
}
.motion .scrub-text .word { opacity: 0.16; }
.scrub-text .word.hl { color: var(--coral); }

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.6rem;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
}
.stat-number { font-size: 3.4rem; line-height: 0.9; color: var(--coral); }
.stat-label { font-size: 0.92rem; color: var(--muted); }

/* ---------- Agenda ---------- */
.agenda { position: relative; padding-left: 0; }
.agenda-list { display: flex; flex-direction: column; gap: 2.8rem; }
.agenda-line {
  position: absolute;
  left: 1.55rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 1.5px;
  background: var(--line);
  overflow: hidden;
}
.agenda-line-fill {
  position: absolute;
  inset: 0;
  background: var(--coral);
  transform-origin: top center;
}
.motion .agenda-line-fill { transform: scaleY(0); }

.agenda-item {
  position: relative;
  display: grid;
  grid-template-columns: 3.1rem 1fr;
  gap: 1.3rem;
  align-items: start;
}
.agenda-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  font-size: 1.15rem;
  color: var(--navy-deep);
  background: var(--coral);
  box-shadow: 0 0 0 6px var(--navy-deep);
}
.agenda-title { font-size: clamp(1.7rem, 6.5vw, 2.6rem); line-height: 1; margin-top: 0.35rem; }
.agenda-text { margin-top: 0.6rem; max-width: 34rem; line-height: 1.6; color: var(--muted); }

/* ---------- Local ---------- */
.marquee {
  white-space: nowrap;
  font-size: clamp(6rem, 24vw, 16rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 128, 139, 0.22);
  /* respiro entre o letreiro e o card: nada se sobrepõe */
  margin-bottom: clamp(1.25rem, 5vw, 2.5rem);
  pointer-events: none;
  user-select: none;
}
.marquee span { display: inline-block; will-change: transform; }

.location-card {
  position: relative;
  padding: clamp(1.8rem, 6vw, 3.5rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(110% 80% at 100% 0%, rgba(255, 128, 139, 0.22) 0%, rgba(255, 128, 139, 0.189) 12%, rgba(255, 128, 139, 0.145) 24%, rgba(255, 128, 139, 0.101) 36%, rgba(255, 128, 139, 0.064) 48%, rgba(255, 128, 139, 0.035) 60%, rgba(255, 128, 139, 0.017) 72%, rgba(255, 128, 139, 0.006) 84%, rgba(255, 128, 139, 0.0) 100%),
    linear-gradient(160deg, var(--navy-light), var(--navy-deep));
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.location-quote {
  margin-top: 2rem;
  max-width: 34rem;
  font-size: clamp(1.15rem, 4.4vw, 1.5rem);
  line-height: 1.45;
  color: var(--white);
}
.location-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.location-meta dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
}
.location-meta dd { margin-top: 0.35rem; font-size: 0.95rem; font-weight: 500; }

/* ---------- Quem conduz ---------- */
.host-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy);
  border: 1px solid var(--line);
  transition: transform 0.6s var(--ease-apple), border-color 0.4s;
}
.host-card:hover { border-color: rgba(255, 128, 139, 0.4); }
/* Foto: mesmo tratamento de cor nas duas + bordas que se dissolvem no card */
.host-media {
  position: relative;
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
}
.host-photo {
  position: absolute;
  left: 0;
  top: -7%;
  width: 100%;
  height: 114%; /* folga para o parallax interno */
  object-fit: cover;
  object-position: var(--focus, 50% 20%);
  filter: saturate(0.58) contrast(1.06) brightness(0.92);
  /* a própria foto se dissolve: laterais macias e base que some no card */
  -webkit-mask-image: linear-gradient(180deg, #000 52%, rgba(0, 0, 0, 0.55) 72%, transparent 90%);
  mask-image: linear-gradient(180deg, #000 52%, rgba(0, 0, 0, 0.55) 72%, transparent 90%);
  will-change: transform;
  transition: filter 1.2s var(--ease-apple);
}
/* Banho de cor da marca: aproxima o fundo cinza (estúdio) e o verde (externo) */
.host-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(165deg, rgba(255, 128, 139, 0.5) 0%, rgba(53, 52, 70, 0.7) 75%);
  mix-blend-mode: soft-light;
}
/* Vinheta: laterais e base derretem no azul-marinho do card */
.host-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(53, 52, 70, 0) 60%, var(--navy) 96%),
    radial-gradient(110% 80% at 50% 30%, transparent 42%, rgba(53, 52, 70, 0.92) 100%);
}
.host-card:hover .host-photo { filter: saturate(0.85) contrast(1.06) brightness(1); }

/* Monitor de ECG na base da foto — mesmo traçado contínuo do hero */
.photo-ecg { display: none; }
.motion .photo-ecg {
  display: block;
  position: absolute;
  left: 0;
  bottom: 7%;
  z-index: 3;
  width: 100%;
  height: 64px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.host-body { padding: 1.6rem 1.6rem 1.9rem; }
.host-name { font-size: 2.2rem; line-height: 1; }
.host-crm { margin-top: 0.4rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; color: var(--coral); }
.host-role { margin-top: 0.9rem; color: var(--muted); line-height: 1.55; }

/* ---------- Formulário ---------- */
.section-form {
  background:
    radial-gradient(75% 50% at 50% 0%, rgba(255, 128, 139, 0.18) 0%, rgba(255, 128, 139, 0.155) 12%, rgba(255, 128, 139, 0.119) 24%, rgba(255, 128, 139, 0.083) 36%, rgba(255, 128, 139, 0.052) 48%, rgba(255, 128, 139, 0.029) 60%, rgba(255, 128, 139, 0.013) 72%, rgba(255, 128, 139, 0.004) 84%, rgba(255, 128, 139, 0.0) 100%),
    var(--navy);

}
.form-card {
  margin-top: 2.6rem;
  padding: clamp(1.4rem, 5vw, 2.4rem);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
}
.lead-form { display: flex; flex-direction: column; gap: 1.15rem; }
.field label:not(.consent) {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"] {
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  font-size: 1rem; /* >= 16px evita zoom automático no iOS */
  color: var(--white);
  background: rgba(38, 37, 47, 0.7);
  border: 1px solid var(--line);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.field input::placeholder { color: rgba(255, 255, 255, 0.35); }
.field input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 128, 139, 0.18);
  background: rgba(38, 37, 47, 0.95);
}
.field.has-error input { border-color: #ff5a6a; }
.field-error { min-height: 0; margin-top: 0.4rem; font-size: 0.8rem; color: #ffa3ab; }
.field-error:empty { display: none; }

.consent {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent-box {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 7px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: transparent;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.consent-box svg { width: 14px; height: 14px; }
.consent input:checked + .consent-box { background: var(--coral); border-color: var(--coral); color: var(--navy-deep); }
.consent input:focus-visible + .consent-box { box-shadow: 0 0 0 4px rgba(255, 128, 139, 0.3); }
.field.has-error .consent-box { border-color: #ff5a6a; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lead-form .btn { margin-top: 0.4rem; }
.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(38, 37, 47, 0.3);
  border-top-color: var(--navy-deep);
  animation: spin 0.8s linear infinite;
}
.is-loading .btn-spinner { display: inline-block; }
.is-loading { pointer-events: none; opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { font-size: 0.85rem; text-align: center; color: #ffa3ab; }
.form-status:empty { display: none; }

.form-success { padding: 1.5rem 0.5rem; text-align: center; outline: none; }
.success-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  background: var(--coral);
  color: var(--navy-deep);
  box-shadow: 0 0 0 10px rgba(255, 128, 139, 0.15);
}
.success-icon svg { width: 34px; height: 34px; }

/* ---------- Apoio & Rodapé ---------- */
.sponsor { background: var(--navy-deep); border-top: 1px solid var(--line); }
.sponsor-placeholder {
  display: grid;
  place-items: center;
  min-width: 240px;
  height: 64px;
  padding: 0 1.5rem;
  border-radius: 14px;
  border: 1.5px dashed rgba(255, 255, 255, 0.2);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--line);
  padding-bottom: calc(1.5rem + var(--safe-bottom));
}
.footer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0;
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-list li { display: inline-flex; flex-wrap: wrap; gap: 0.4rem; }
/* celular: um item por linha (sem "|" sobrando no fim da linha); desktop: em linha com separador */
@media (max-width: 767px) {
  .footer-list { flex-direction: column; gap: 0.55rem; }
}
@media (min-width: 768px) {
  .footer-list li:not(:last-child)::after { content: "|"; margin: 0 0.75rem; color: rgba(255, 255, 255, 0.2); }
}
.footer-list a { color: rgba(255, 255, 255, 0.8); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 128, 139, 0.5); }
.footer-list a:hover { color: var(--coral); }

/* ---------- Barra fixa ---------- */
.sticky-bar {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: calc(1rem + var(--safe-bottom));
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: calc(100% - 2rem);
  padding: 0.5rem 0.5rem 0.5rem 1.15rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--white);
  background: rgba(38, 37, 47, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  transform: translate3d(-50%, calc(100% + 2rem), 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.7s var(--ease-apple), opacity 0.5s var(--ease-apple), visibility 0s linear 0.7s;
}
.sticky-bar.is-visible {
  transform: translate3d(-50%, 0, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.7s var(--ease-apple), opacity 0.5s var(--ease-apple), visibility 0s;
}
.sticky-bar strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; color: var(--coral); }
.sticky-bar .sep { margin: 0 0.55em; }
.sticky-bar-info { overflow: hidden; text-overflow: ellipsis; }
.sticky-bar-cta {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--navy-deep);
  transition: transform 0.4s var(--ease-apple);
}
.sticky-bar-cta svg { width: 18px; height: 18px; }
.sticky-bar:hover .sticky-bar-cta { transform: translateX(3px); }

@media (max-width: 360px) {
  .sticky-bar { font-size: 0.74rem; }
  .sticky-bar .sep { margin: 0 0.35em; }
}

@media (min-width: 768px) {
  .agenda-list { gap: 3.4rem; }
  .agenda-item { grid-template-columns: 4.2rem 1fr; gap: 2rem; }
  .agenda-num { width: 4.2rem; height: 4.2rem; font-size: 1.4rem; }
  .agenda-line { left: 2.1rem; }
  .host-card:hover { transform: translateY(-6px); }
  /* ritmo assimétrico: o segundo card desce, quebrando a fila */
  .hosts-grid { align-items: start; }
  .hosts-grid > .host-card:nth-child(2) { margin-top: 6rem; }
}

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