/* Shared hero/mobile CSS for the capture page variants (t1/t2/t3).
   Rules here are byte-identical across all 3 themes. Per-theme values
   (body background/color, section background swaps, headline/subheadline
   text color, and any other contrast fixes) stay inline in each page's
   own <style> block. */

/* Barra de urgência no topo — alterna 2 mensagens, reaproveita o fade
   do @keyframes badge-fade (definido em components.css). */
.top-bar {
  background: #C0392B;
  color: #FFFFFF;
  text-align: center;
  padding: 10px var(--space-sm);
  font-size: 0.82rem;
  font-weight: 700;
}
.top-bar__track {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  min-height: 1.3em;
}
.top-bar__track span {
  position: absolute;
  left: 0;
  right: 0;
  animation: badge-fade 6s infinite;
}
.top-bar__track span:nth-child(2) {
  opacity: 0;
  animation-delay: 3s;
}

/* Mobile-first hero: tightened spacing so logo + headline + CTA clear the
   first fold on 375x667 (iPhone SE) without scrolling. Desktop (>=768px)
   is restored to the original, roomier spacing below. */
#hero-section { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.hero {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-top: var(--space-sm);
}
.hero__logo { max-width: 170px; margin-bottom: 6px; }
.hero__headline { font-size: 1.5rem; margin-bottom: 6px; }
.hero__subheadline { font-size: 0.92rem; line-height: 1.4; margin-bottom: var(--space-sm); }
.hero__date { font-weight: 700; font-size: 0.9rem; color: var(--color-brand-primary); margin-bottom: 10px; }
.modules-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-sm); margin-top: var(--space-md); }
#lead-form { padding: var(--space-sm); gap: 10px; }
#lead-form input { padding: 10px 14px; }

@media (min-width: 768px) {
  #hero-section { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
  .hero { padding-top: var(--space-lg); align-items: center; text-align: center; }
  .hero__content { max-width: 640px; margin: 0 auto; }
  .hero__logo { max-width: 220px; margin-bottom: var(--space-sm); margin-left: auto; margin-right: auto; }
  .hero__headline { font-size: 2.25rem; margin-bottom: var(--space-xs); }
  .hero__subheadline { font-size: 1.1rem; line-height: 1.5; margin-bottom: var(--space-md); }
  .hero__date { font-size: 1rem; margin-bottom: var(--space-sm); }
  #lead-form { padding: var(--space-md); gap: var(--space-sm); max-width: 420px; margin: 0 auto; }
  #lead-form input { padding: 14px 16px; }
  .modules-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Motion banner (benefícios) — identical across all 3 themes */
.motion-banner {
  overflow: hidden;
  background: var(--color-brand-secondary);
  padding: var(--space-sm) 0;
}
.motion-banner__track {
  display: flex;
  gap: var(--space-lg);
  white-space: nowrap;
  width: max-content;
  animation: motion-banner-scroll 20s linear infinite;
}
.motion-banner__track span {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
}
@keyframes motion-banner-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Seção "Sobre a Especialista" (BIO) — identical across all 3 themes */
.bio-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}
.bio-section__eyebrow,
.bio-section__name,
.bio-section__role {
  text-align: center;
}
.bio-section__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.bio-section__eyebrow {
  display: block;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--color-brand-primary);
  margin-bottom: 4px;
}
.bio-section__name { margin-bottom: 2px; }
.bio-section__role {
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: var(--space-sm);
}
.bio-section__credentials {
  list-style: none;
  padding: 0;
  margin-top: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.bio-section__credentials li {
  padding-left: 1.4em;
  position: relative;
}
.bio-section__credentials li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--color-brand-primary);
}
@media (min-width: 768px) {
  .bio-section { flex-direction: row; align-items: flex-start; text-align: left; gap: var(--space-lg); }
  .bio-section__photo { width: 220px; height: 220px; }
  .bio-section__eyebrow, .bio-section__role { text-align: left; }
}
