/* Topo animado da pagina inicial (so index.php, via $homeHero). */
.home-hero-page .site-topbar { display: none; }
.home-hero-page .site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  background: transparent; border-bottom: 0; box-shadow: none; backdrop-filter: none;
}
.home-hero-page .site-header .site-logo img { width: 170px; max-height: none; filter: drop-shadow(0 4px 12px rgba(0,0,0,.5)); }

.home-hero {
  position: relative; height: 640px; overflow: hidden;
  background: #020616 url(../img/hero/ceu.jpg) center / cover;
}
.home-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2,6,22,.9) 0%, rgba(2,6,22,.5) 45%, rgba(2,6,22,.05) 100%),
    linear-gradient(180deg, rgba(2,6,22,.55) 0%, rgba(2,6,22,0) 22%, rgba(2,6,22,0) 62%, #0a1226 100%);
}
.home-hero-content {
  position: absolute; z-index: 2; left: 64px; top: 190px; max-width: 560px;
  font-family: Nunito, Barlow, sans-serif; color: #f4f7ff;
}
.home-hero-status {
  display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 700;
  background: rgba(10,20,48,.75); border: 1px solid #1b2a55; padding: 7px 14px; border-radius: 30px;
}
.home-hero-status[hidden] { display: none; }
.home-hero-status i { width: 9px; height: 9px; border-radius: 50%; background: #47e08a; box-shadow: 0 0 10px #47e08a; }
.home-hero h1 {
  font-family: "Baloo 2", "Exo 2", sans-serif; font-weight: 800; color: #fff;
  font-size: 64px; line-height: .98; letter-spacing: -1px; margin: 22px 0 18px;
}
.home-hero p { font-size: 19px; line-height: 1.55; color: #c9d3f2; max-width: 480px; margin: 0; }
.home-hero-cta { display: flex; gap: 16px; margin-top: 30px; align-items: center; }
.home-hero-baixar {
  font-family: "Baloo 2", "Exo 2", sans-serif; font-weight: 800; font-size: 26px;
  white-space: nowrap; background: #ffd425; color: #0b1f4d !important; border-radius: 40px; padding: 14px 40px 10px;
  box-shadow: 0 0 0 4px #1747a6, 0 12px 34px rgba(255,212,37,.3); text-decoration: none !important;
}
.home-hero-baixar:hover { filter: brightness(1.07); }
.home-hero-baixar:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.home-hero-cta small { color: #93a0c4; font-size: 14px; line-height: 1.4; }

@media (prefers-reduced-motion: reduce) { .home-hero-video { display: none; } }

@media (max-width: 980px) {
  body.home-hero-page { display: flex; flex-direction: column; }
  .home-hero-page .site-header { position: relative; background: #020616; order: -1; }
  .home-hero { height: auto; min-height: 520px; }
  .home-hero-content { position: relative; left: 0; top: 0; padding: 60px 22px 56px; }
  .home-hero h1 { font-size: 42px; }
  .home-hero p { font-size: 17px; }
}
@media (max-width: 640px) {
  .home-hero h1 { font-size: 36px; }
  .home-hero-cta { flex-wrap: wrap; }
  .home-hero-baixar { font-size: 22px; padding: 12px 30px 8px; }
  .home-hero-page .site-header .site-logo img { width: 140px; }
}
