/* Abertura do Pharus (page loading): farol dourado acende, feixe de luz varre, cortina azul-marinho se abre.
   100% CSS: termina sozinha (animação com fim, forwards) mesmo sem JS. Pula na mesma sessão e com prefers-reduced-motion. */
.abertura { position: fixed; inset: 0; z-index: 9999; pointer-events: none; overflow: hidden; animation: ab-some 0s linear 1.75s forwards; }
.sem-abertura .abertura, .abertura[hidden] { display: none; }
.ab-lado { position: absolute; top: 0; bottom: 0; width: 50.2%; background: #0A1625; }
.ab-lado--e { left: 0; animation: ab-e .65s cubic-bezier(.76, 0, .24, 1) 1.05s forwards; border-right: 1px solid rgba(240, 184, 72, .5); }
.ab-lado--d { right: 0; animation: ab-d .65s cubic-bezier(.76, 0, .24, 1) 1.05s forwards; border-left: 1px solid rgba(240, 184, 72, .5); }
.ab-lado::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 50% 50%, rgba(19, 40, 74, .9), transparent 70%),
  linear-gradient(rgba(240, 184, 72, .05) 1px, transparent 1px) 0 0 / 44px 44px,
  linear-gradient(90deg, rgba(240, 184, 72, .05) 1px, transparent 1px) 0 0 / 44px 44px; }
.ab-centro { position: absolute; left: 50%; top: 50%; width: min(300px, 62vw); transform: translate(-50%, -50%); text-align: center; animation: ab-centro .35s ease 1.0s forwards; }
.ab-farol { position: relative; width: 112px; height: 112px; margin: 0 auto; }
.ab-farol svg { position: relative; width: 100%; height: 100%; fill: #F0B848; filter: drop-shadow(0 0 18px rgba(240, 184, 72, .45)); opacity: 0; transform: translateY(10px) scale(.92); animation: ab-farol .6s cubic-bezier(.2, .7, .1, 1) .1s forwards; }
.ab-feixe { position: absolute; left: 50%; top: 16%; width: 150vmax; height: 34px; margin-top: -17px; transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(247, 207, 110, .75), rgba(240, 184, 72, .18) 30%, transparent 70%);
  clip-path: polygon(0 46%, 100% 0, 100% 100%, 0 54%); opacity: 0; animation: ab-feixe 1s ease-in-out .15s forwards; }
.ab-feixe--2 { animation-name: ab-feixe2; }
.ab-nome { margin: 18px 0 0; font: 600 1.05rem/1 Sora, system-ui, sans-serif; letter-spacing: .5em; text-indent: .5em; color: #fff; opacity: 0; animation: ab-texto .5s ease .35s forwards; }
.ab-ass { margin: 10px 0 0; font: 600 1.15rem/1 Caveat, cursive; color: #F0B848; opacity: 0; animation: ab-texto .5s ease .55s forwards; }
.ab-barra { height: 2px; margin: 22px auto 0; width: 120px; background: rgba(240, 184, 72, .18); border-radius: 2px; overflow: hidden; }
.ab-barra i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #DE9A2C, #F7CF6E); transform: scaleX(0); transform-origin: 0 50%; animation: ab-barra .85s cubic-bezier(.3, .7, .2, 1) .1s forwards; }
@keyframes ab-farol { to { opacity: 1; transform: none; } }
@keyframes ab-texto { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ab-barra { to { transform: scaleX(1); } }
@keyframes ab-feixe { 0% { opacity: 0; transform: rotate(-200deg); } 25% { opacity: 1; } 100% { opacity: 0; transform: rotate(-340deg); } }
@keyframes ab-feixe2 { 0% { opacity: 0; transform: rotate(-20deg); } 25% { opacity: .9; } 100% { opacity: 0; transform: rotate(140deg); } }
@keyframes ab-e { to { transform: translateX(-101%); } }
@keyframes ab-d { to { transform: translateX(101%); } }
@keyframes ab-centro { to { opacity: 0; transform: translate(-50%, -50%) scale(1.15); } }
@keyframes ab-some { to { visibility: hidden; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .abertura { display: none; } }
/* conteúdo do hero entra junto com a cortina (só quando a abertura toca) */
html:not(.sem-abertura) .hero { animation: ab-hero .9s cubic-bezier(.2, .7, .1, 1) 1.05s both; }
@keyframes ab-hero { from { opacity: .0; transform: scale(1.025); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html:not(.sem-abertura) .hero { animation: none; } }
