/* ==========================================================
   Design System — UNIFESP (#215A36) + NUSE Editorial Palette
   ========================================================== */
:root {
  --unifesp-green: #215a36;
  --unifesp-green-dark: #143a22;
  --unifesp-green-deep: #0d2717;
  --unifesp-green-soft: #e9f2ec;
  --unifesp-gray: #59656c;
  --gold-accent: #b8882e;
  --gold-light: #e7c882;
  --yt-red: #c81e1e;

  --bg-page: #faf8f3;
  --bg-surface: #ffffff;
  --bg-tinted: #f1f5f2;
  --text-main: #18231d;
  --text-muted: #4b5a52;
  --border-subtle: rgba(33, 90, 54, 0.14);
  --shadow-sm: 0 4px 16px rgba(17, 41, 26, 0.06);
  --shadow-md: 0 14px 36px rgba(17, 41, 26, 0.1);
  --shadow-lg: 0 24px 60px rgba(13, 39, 23, 0.16);

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ==========================================================
   Barra de Progresso & Cabeçalho Institucional Oficial
   ========================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 100;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--unifesp-green) 0%, var(--gold-accent) 100%);
  pointer-events: none;
  transition: transform 0.08s linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 28px rgba(13, 39, 23, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.75rem;
}

.official-logos {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.logo-link:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.logo-unifesp {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.logo-divider {
  width: 1px;
  height: 44px;
  background: rgba(33, 90, 54, 0.2);
}

.logo-nuse {
  height: 62px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding-block: 0.25rem;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--unifesp-green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--unifesp-green);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

/* ==========================================================
   Botões
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

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

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.86rem;
}

.btn-lg {
  padding: 0.9rem 1.55rem;
  font-size: 0.96rem;
}

.btn-primary {
  background: var(--unifesp-green);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(33, 90, 54, 0.24);
}

.btn-primary:hover {
  background: var(--unifesp-green-dark);
  box-shadow: 0 14px 28px rgba(33, 90, 54, 0.3);
}

.btn-secondary {
  background: #ffffff;
  color: var(--unifesp-green);
  border-color: rgba(33, 90, 54, 0.28);
}

.btn-secondary:hover {
  background: var(--unifesp-green-soft);
  border-color: var(--unifesp-green);
}

.btn-youtube {
  background: var(--yt-red);
  color: #ffffff;
}

.btn-youtube:hover {
  background: #a51616;
}

.btn-gold {
  padding: 0.82rem 1.45rem;
  background: var(--gold-accent);
  color: #ffffff;
  font-size: 0.94rem;
}

.btn-gold:hover {
  background: #9f7322;
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.icon-sm {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ==========================================================
   Hero / Convite
   ========================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 3.5rem 4.5rem;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(33, 90, 54, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 92% 20%, rgba(184, 136, 46, 0.1) 0%, transparent 42%),
    linear-gradient(180deg, #faf8f3 0%, #f3f7f4 100%);
  z-index: -1;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  opacity: 0.45;
  will-change: transform;
}

.orb-1 {
  width: 360px;
  height: 360px;
  top: -90px;
  left: -80px;
  background: radial-gradient(circle, rgba(33, 90, 54, 0.22), transparent 70%);
  animation: floatOrb 14s ease-in-out infinite alternate;
}

.orb-2 {
  width: 320px;
  height: 320px;
  bottom: -80px;
  right: 8%;
  background: radial-gradient(circle, rgba(184, 136, 46, 0.22), transparent 70%);
  animation: floatOrb 18s ease-in-out infinite alternate-reverse;
}

.botanical-flourish {
  position: absolute;
  right: -30px;
  top: 24px;
  width: min(360px, 42vw);
  height: auto;
  color: rgba(33, 90, 54, 0.08);
  animation: floatLeaf 10s ease-in-out infinite;
}

@keyframes floatOrb {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(26px, 18px, 0) scale(1.08); }
}

@keyframes floatLeaf {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-8px, 10px, 0) rotate(1.5deg); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.8rem;
  align-items: center;
}

.eyebrow-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.34rem 0.8rem;
  border-radius: 999px;
  background: #fdecec;
  color: #9e1c1c;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yt-red);
  box-shadow: 0 0 0 0 rgba(200, 30, 30, 0.55);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 30, 30, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(200, 30, 30, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 30, 30, 0); }
}

.series-tag {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--unifesp-green);
}

.hero-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 3.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--unifesp-green-deep);
}

.hero-subtitle {
  margin: 0 0 1.7rem;
  font-size: 1.04rem;
  color: var(--text-muted);
  max-width: 60ch;
}

.hero-subtitle strong {
  color: var(--text-main);
}

/* Metadados */
.event-meta-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.meta-card {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 0.95rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.meta-card:hover {
  transform: translateY(-3px);
  border-color: rgba(33, 90, 54, 0.32);
  box-shadow: var(--shadow-md);
}

.meta-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--unifesp-green-soft);
  color: var(--unifesp-green);
  flex-shrink: 0;
}

.meta-icon svg {
  width: 18px;
  height: 18px;
}

.meta-label {
  display: block;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--unifesp-gray);
}

.meta-value {
  display: block;
  font-size: 0.92rem;
  line-height: 1.3;
  color: var(--text-main);
  margin-top: 0.1rem;
}

.meta-hint {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.12rem;
}

/* Contagem regressiva */
.countdown-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  margin-bottom: 1.6rem;
  background: rgba(33, 90, 54, 0.06);
  border: 1px solid rgba(33, 90, 54, 0.18);
  border-radius: var(--radius-md);
}

.countdown-caption {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--unifesp-green-dark);
}

.countdown-grid {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cd-unit {
  min-width: 56px;
  padding: 0.42rem 0.55rem;
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(33, 90, 54, 0.14);
  text-align: center;
}

.cd-num {
  display: block;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--unifesp-green);
  font-variant-numeric: tabular-nums;
  transition: transform 0.18s ease, color 0.18s ease;
}

.cd-num.tick {
  transform: scale(1.1);
  color: var(--gold-accent);
}

.cd-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--unifesp-gray);
}

/* Botões Hero */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.utility-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.25rem 0;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--unifesp-green);
  text-decoration: none;
  cursor: pointer;
}

.text-action:hover {
  text-decoration: underline;
}

.dot-sep {
  color: var(--unifesp-gray);
}

/* Cartão Visual Hero */
.broadcast-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 0.85rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.broadcast-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 68px rgba(13, 39, 23, 0.2);
}

.broadcast-thumb-wrap {
  position: relative;
  border-radius: calc(var(--radius-lg) - 8px);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #dce8e0;
}

.broadcast-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(13, 39, 23, 0.16);
  transition: background-color 0.22s ease;
}

.thumb-play-overlay:hover {
  background: rgba(13, 39, 23, 0.34);
}

.play-circle {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(200, 30, 30, 0.94);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.thumb-play-overlay:hover .play-circle,
.video-facade:hover .play-circle {
  transform: scale(1.08);
}

.play-circle svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.play-circle-lg {
  width: 78px;
  height: 78px;
}

.play-circle-lg svg {
  width: 32px;
  height: 32px;
}

.broadcast-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.85rem 0.35rem 0.2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.yt-direct-pill {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--unifesp-green-soft);
  color: var(--unifesp-green);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.78rem;
}

.yt-direct-pill:hover {
  background: #dcebe1;
}

/* ==========================================================
   Seções Gerais
   ========================================================== */
.section {
  padding-block: 4.5rem;
}

.section-tinted {
  background: var(--bg-tinted);
  border-block: 1px solid var(--border-subtle);
}

.section-dark {
  background: linear-gradient(155deg, var(--unifesp-green-deep) 0%, var(--unifesp-green-dark) 55%, #19442a 100%);
  color: #ffffff;
}

.section-header {
  max-width: 680px;
  margin-bottom: 2.3rem;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-accent);
}

.section-eyebrow-light {
  color: var(--gold-light);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--unifesp-green-deep);
}

.section-title-light {
  color: #ffffff;
}

/* Sobre a Palestra */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 1.4rem;
}

.info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(33, 90, 54, 0.3);
  box-shadow: var(--shadow-md);
}

.info-card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--unifesp-green-soft);
  color: var(--unifesp-green);
  margin-bottom: 1.1rem;
}

.info-card-icon svg {
  width: 24px;
  height: 24px;
}

.info-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.12rem;
  color: var(--unifesp-green-deep);
}

.info-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================
   Palestrante
   ========================================================== */
.speaker-panel {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.speaker-photo-col {
  position: relative;
}

.speaker-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid var(--unifesp-green-soft);
  box-shadow: var(--shadow-md);
  background: #e5ece7;
}

.speaker-photo {
  width: 100%;
  aspect-ratio: 10 / 9;
  object-fit: cover;
  object-position: center top;
}

.speaker-seal {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--unifesp-green-soft);
  font-size: 0.84rem;
  color: var(--unifesp-green-dark);
}

.speaker-name {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.1;
  color: var(--unifesp-green-deep);
}

.speaker-lead {
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
  color: var(--text-muted);
}

.credentials-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.credentials-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-page);
  border: 1px solid rgba(33, 90, 54, 0.1);
}

.cred-marker {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--unifesp-green);
  margin-top: 0.45rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(33, 90, 54, 0.14);
}

.credentials-list strong {
  display: block;
  font-size: 0.94rem;
  color: var(--text-main);
}

.credentials-list span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================
   Transmissão / Player
   ========================================================== */
.stream-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stream-desc {
  margin: 0.65rem 0 0;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.84);
}

.video-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #08170e;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.video-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-facade {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: block;
}

.video-facade-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-facade-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 23, 14, 0.18) 0%, rgba(8, 23, 14, 0.62) 100%);
  transition: background 0.2s ease;
}

.video-facade:hover .video-facade-scrim {
  background: linear-gradient(180deg, rgba(8, 23, 14, 0.25) 0%, rgba(8, 23, 14, 0.72) 100%);
}

.video-facade-cta {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #ffffff;
  padding: 1rem;
  text-align: center;
}

.video-facade-text {
  font-size: 1.08rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.video-facade-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(13, 39, 23, 0.72);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}

.embed-note {
  margin: 1.15rem 0 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
}

.embed-note code {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  color: #ffffff;
  word-break: break-all;
}

/* ==========================================================
   Rodapé Oficial
   ========================================================== */
.site-footer {
  background: #0b2013;
  color: rgba(255, 255, 255, 0.85);
  padding-block: 3.2rem 2rem;
  border-top: 3px solid var(--gold-accent);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.1rem;
}

.footer-unifesp-logo {
  height: 76px;
  width: auto;
}

.footer-nuse-badge {
  background: #ffffff;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.footer-nuse-logo {
  height: 62px;
  width: auto;
}

.footer-org-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.footer-org-text strong {
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.35rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

/* ==========================================================
   Responsividade
   ========================================================== */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

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

  .speaker-panel {
    grid-template-columns: 1fr;
    padding: 1.75rem;
    gap: 1.8rem;
  }

  .speaker-photo-col {
    max-width: 320px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    gap: 0.75rem;
  }

  .official-logos {
    gap: 0.75rem;
  }

  .nav-link {
    display: none;
  }

  .btn-youtube.btn-sm {
    padding: 0.48rem 0.9rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .logo-unifesp {
    height: 42px;
  }

  .logo-divider {
    height: 32px;
  }

  .logo-nuse {
    height: 46px;
  }

  .event-meta-cards {
    grid-template-columns: 1fr;
  }

  .countdown-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 440px) {
  .container {
    width: min(1160px, calc(100% - 1.5rem));
  }

  .logo-unifesp {
    height: 36px;
  }

  .logo-nuse {
    height: 40px;
  }

  .btn-youtube.btn-sm {
    padding: 0.44rem 0.76rem;
    font-size: 0.76rem;
  }

  .hero {
    padding-block: 2.3rem 3.2rem;
  }

  .hero-actions .btn-lg {
    width: 100%;
  }

  .speaker-panel {
    padding: 1.25rem;
  }
}

/* ==========================================================
   Animações de Entrada (Scroll Reveal) & Toast
   ========================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 120;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  padding: 0.72rem 1.25rem;
  border-radius: 999px;
  background: var(--unifesp-green-deep);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(231, 200, 130, 0.4);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
