/* Redmoon — original, brand-first eclipse hero with drifting atmospheric haze. */
.eclipse-hero {
  position: relative;
  isolation: isolate;
  display: block;
  height: min(940px, 100svh);
  min-height: 740px;
  overflow: hidden;
  background: #030409;
}
.eclipse-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 29%, rgba(74,8,36,.24), transparent 49%),
    radial-gradient(ellipse at 90% 62%, rgba(14,20,44,.36), transparent 46%),
    #030409;
}
.eclipse-hero .hero-grain {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  opacity: .1;
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.034) 3px 4px);
  mix-blend-mode: screen;
}
.eclipse-hero .eclipse-glow {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 8%;
  width: min(970px, 100vw);
  height: 500px;
  transform: translateX(-50%);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(228,4,62,.20), rgba(107,5,45,.08) 40%, transparent 70%);
  filter: blur(46px);
  animation: eclipseGlow 6s ease-in-out infinite alternate;
}
.eclipse-hero .eclipse-art {
  position: absolute;
  z-index: 1;
  inset: 55px 0 auto;
  height: 520px;
  overflow: hidden;
  pointer-events: none;
}
.eclipse-hero .eclipse-art img {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-64%);
  width: min(1130px, 106vw);
  max-width: none;
  height: auto;
  display: block;
  opacity: .94;
  filter: drop-shadow(0 0 38px rgba(232,0,58,.25));
  animation: eclipseArrival 1.9s cubic-bezier(.17,.76,.21,1) both, eclipseBreath 9s 2s ease-in-out infinite alternate;
}
/* Four softly displaced plumes move around the eclipse, independently of the wordmark. */
.eclipse-hero .eclipse-nebula {
  position: absolute;
  z-index: 2;
  inset: 0 0 43%;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 72%, transparent);
}
.eclipse-hero .nebula-wisp {
  position: absolute;
  display: block;
  border-radius: 48% 62% 46% 64%;
  filter: blur(31px);
  will-change: transform, opacity;
  opacity: .6;
  background:
    radial-gradient(ellipse at 30% 58%, rgba(255,36,92,.36) 0, rgba(232,13,71,.23) 20%, transparent 54%),
    radial-gradient(ellipse at 65% 35%, rgba(169,14,76,.32) 0, rgba(92,5,52,.2) 33%, transparent 69%),
    radial-gradient(ellipse at 85% 70%, rgba(240,25,85,.28), transparent 55%);
}
.eclipse-hero .nebula-wisp-left {
  top: 120px;
  left: calc(50% - 605px);
  width: 590px;
  height: 275px;
  transform-origin: 75% 52%;
  animation: nebulaDriftLeft 15s ease-in-out infinite alternate;
}
.eclipse-hero .nebula-wisp-right {
  top: 65px;
  left: calc(50% + 120px);
  width: 550px;
  height: 330px;
  opacity: .78;
  transform-origin: 20% 60%;
  animation: nebulaDriftRight 17s ease-in-out -6s infinite alternate;
}
.eclipse-hero .nebula-wisp-top {
  top: 0;
  left: calc(50% - 240px);
  width: 495px;
  height: 220px;
  opacity: .43;
  transform-origin: 50% 90%;
  animation: nebulaDriftTop 13s ease-in-out -3s infinite alternate;
}
.eclipse-hero .nebula-wisp-low {
  top: 300px;
  left: calc(50% - 250px);
  width: 530px;
  height: 210px;
  opacity: .41;
  transform-origin: 50% 10%;
  animation: nebulaDriftLow 19s ease-in-out -9s infinite alternate;
}
.eclipse-hero .eclipse-beams {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.eclipse-beams i {
  position: absolute;
  display: block;
  width: 800px;
  height: 110px;
  left: 50%;
  top: 280px;
  background: linear-gradient(90deg, transparent 0%, rgba(254,28,82,.04) 35%, rgba(255,72,112,.15) 70%, transparent 100%);
  filter: blur(15px);
  clip-path: polygon(0 48%, 100% 0, 100% 100%);
  transform-origin: 52% 50%;
  animation: eclipseRayShift 11s ease-in-out infinite alternate;
}
.eclipse-beams i:nth-child(1) { transform: translateX(-69%) rotate(-25deg); }
.eclipse-beams i:nth-child(2) { transform: translateX(-34%) rotate(155deg); animation-delay: -3s; }
.eclipse-beams i:nth-child(3) { transform: translateX(-63%) rotate(22deg); animation-delay: -5s; }
.eclipse-beams i:nth-child(4) { transform: translateX(-31%) rotate(198deg); animation-delay: -8s; }
.eclipse-brand {
  position: absolute;
  z-index: 3;
  top: clamp(206px, 25vh, 256px);
  left: 50%;
  width: min(1100px, 94vw);
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  text-align: center;
  pointer-events: none;
  animation: eclipseBrandIn 1.25s cubic-bezier(.14,.72,.26,1) both;
}
.eclipse-wordmark {
  display: flex;
  align-items: baseline;
  justify-content: center;
  white-space: nowrap;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(91px, 11.65vw, 170px);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.105em;
  text-shadow: 0 9px 60px rgba(0,0,0,.82), 0 1px 3px rgba(0,0,0,.25);
}
.eclipse-wordmark span:first-child { color: #fff; }
.eclipse-wordmark span:last-child { color: #ff164e; text-shadow: 0 4px 52px rgba(249,0,65,.3); }
.eclipse-events {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(21px, 3vw, 48px);
  width: min(700px, 75vw);
  margin-top: 14px;
  color: #f6f0f3;
}
.eclipse-events i { display: block; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, rgba(252,243,246,.6), transparent); }
.eclipse-events strong {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(13px, 1.72vw, 23px);
  font-weight: 500;
  letter-spacing: .74em;
  padding-left: .74em;
  text-shadow: 0 2px 25px #000;
}
.eclipse-hero .eclipse-sr-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.eclipse-hero .eclipse-gallery {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: 52%;
  bottom: 0;
  width: auto;
  height: auto;
  opacity: 1;
  background: transparent;
  overflow: hidden;
  isolation: isolate;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 76%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 76%, transparent 100%);
}
.eclipse-hero .hero-photo {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.18fr 1fr 1.06fr;
  grid-template-rows: 1fr;
  gap: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  clip-path: inset(0 0 0 100%);
  transition: opacity 1.2s ease, clip-path 1.5s cubic-bezier(.22,.78,.19,1), visibility 1.5s;
}
.eclipse-hero .hero-photo.is-active {
  visibility: visible;
  opacity: 1;
  clip-path: inset(0 0 0 0);
}
.eclipse-hero .hero-frame,
.eclipse-hero .hero-frame-main,
.eclipse-hero .hero-frame-secondary,
.eclipse-hero .hero-frame-detail {
  position: relative;
  overflow: hidden;
  background: #100b12;
  grid-row: 1;
  grid-column: auto;
  margin: 0;
  border: 0;
  min-width: 0;
  min-height: 0;
  box-shadow: none;
}
.eclipse-hero .hero-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(4,4,9,.17), transparent 54%, rgba(4,4,9,.12));
}
.eclipse-hero .hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  filter: contrast(1.08) saturate(.80) brightness(.77) sepia(.08);
}
.eclipse-hero .hero-photo:nth-child(1) .hero-frame-main img { object-position: center 53%; }
.eclipse-hero .hero-photo:nth-child(1) .hero-frame-secondary img { object-position: center 47%; }
.eclipse-hero .hero-photo:nth-child(1) .hero-frame-detail img { object-position: center 64%; }
.eclipse-hero .hero-photo:nth-child(2) .hero-frame-main img { object-position: center 59%; }
.eclipse-hero .hero-photo:nth-child(3) .hero-frame-main img { object-position: center 58%; }
.eclipse-hero .hero-photo:nth-child(4) .hero-frame-main img { object-position: center 50%; }
.eclipse-hero .hero-frame figcaption { display: none; }
.eclipse-hero .hero-photo.is-active .hero-frame img { animation: eclipsePhotoFloat 8.8s ease-out both; }
.eclipse-hero .eclipse-gallery::after {
  content: '';
  position: absolute;
  z-index: 3;
  inset: 0;
  background:
    radial-gradient(ellipse at 52% 24%, rgba(141,10,48,.22), transparent 58%),
    linear-gradient(90deg, rgba(3,4,9,.87), rgba(3,4,9,.12) 24%, rgba(3,4,9,.12) 76%, rgba(3,4,9,.84)),
    linear-gradient(0deg, rgba(3,4,9,.8), rgba(32,5,17,.12) 39%, rgba(3,4,9,.5));
  pointer-events: none;
}
@keyframes eclipseBrandIn {
  from { opacity: 0; filter: blur(8px); transform: translateX(-50%) scale(1.065); }
  75% { filter: blur(0); }
  to { opacity: 1; transform: translateX(-50%) scale(1); }
}
@keyframes eclipseArrival {
  from { opacity: 0; transform: translateX(-64%) scale(.91); filter: blur(16px); }
  to { opacity: .94; transform: translateX(-64%) scale(1); filter: drop-shadow(0 0 38px rgba(232,0,58,.25)); }
}
@keyframes eclipseBreath { from { opacity: .79; } to { opacity: .97; } }
@keyframes eclipseGlow { from { opacity: .52; transform: translateX(-50%) scale(.92); } to { opacity: .94; transform: translateX(-50%) scale(1.05); } }
@keyframes eclipseRayShift { from { opacity: .22; filter: blur(18px); } to { opacity: .62; filter: blur(12px); } }
@keyframes eclipsePhotoFloat { from { transform: scale(1.045); } to { transform: scale(1); } }
@keyframes nebulaDriftLeft {
  0% { transform: translate3d(-20px, 8px, 0) rotate(-8deg) scale(.92); opacity: .38; }
  48% { transform: translate3d(25px, -16px, 0) rotate(4deg) scale(1.1); opacity: .76; }
  100% { transform: translate3d(65px, 10px, 0) rotate(12deg) scale(.96); opacity: .52; }
}
@keyframes nebulaDriftRight {
  0% { transform: translate3d(28px, -12px, 0) rotate(10deg) scale(.93); opacity: .46; }
  55% { transform: translate3d(-42px, 21px, 0) rotate(-7deg) scale(1.12); opacity: .87; }
  100% { transform: translate3d(-82px, -6px, 0) rotate(-15deg) scale(.97); opacity: .58; }
}
@keyframes nebulaDriftTop {
  0% { transform: translate3d(-36px, 15px, 0) rotate(-13deg) scale(.88); opacity: .26; }
  100% { transform: translate3d(37px, 46px, 0) rotate(12deg) scale(1.12); opacity: .55; }
}
@keyframes nebulaDriftLow {
  0% { transform: translate3d(38px, 20px, 0) rotate(7deg) scale(1.06); opacity: .26; }
  100% { transform: translate3d(-42px, -27px, 0) rotate(-12deg) scale(.89); opacity: .54; }
}
/* Polished, solid Redmoon WhatsApp mark with a single restrained aura. */
.floating-contact.floating-contact-redmoon {
  display: grid;
  place-items: center;
  right: 24px;
  bottom: 21px;
  width: 72px;
  height: 72px;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #ff366b;
  transition: transform .25s cubic-bezier(.2,.75,.2,1), opacity .22s ease;
}
.floating-contact.floating-contact-redmoon::before {
  content: '';
  position: absolute;
  display: block;
  inset: -5px;
  z-index: 0;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 24, 90, .28), rgba(226, 12, 71, .09) 44%, transparent 72%);
  filter: blur(6px);
  pointer-events: none;
  animation: whatsappAura 4.6s ease-in-out infinite;
}
.floating-contact.floating-contact-redmoon::after {
  content: '';
  position: absolute;
  display: block;
  inset: 7px;
  z-index: 0;
  border: 1px solid rgba(251, 53, 108, .45);
  border-radius: 50%;
  pointer-events: none;
  animation: whatsappRipple 4.6s ease-out infinite;
}
.floating-contact.floating-contact-redmoon svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 60px;
  height: 60px;
  overflow: visible;
  filter: drop-shadow(0 5px 7px rgba(69, 5, 26, .36));
}
.floating-contact-redmoon .wa-outline {
  fill: url(#redmoonWhatsappGradient);
  stroke: rgba(255, 216, 229, .65);
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.floating-contact-redmoon .wa-handset { fill: #fff8fb; }
.floating-contact.floating-contact-redmoon:hover,
.floating-contact.floating-contact-redmoon:focus-visible {
  transform: translateY(-3px) scale(1.055);
  opacity: .98;
}
.floating-contact.floating-contact-redmoon:focus-visible { outline: 2px solid #ff95b1; outline-offset: 4px; }
@keyframes whatsappAura {
  0%, 100% { opacity: .52; transform: scale(.94); }
  50% { opacity: .9; transform: scale(1.14); }
}
@keyframes whatsappRipple {
  0% { opacity: 0; transform: scale(.82); }
  18% { opacity: .52; }
  72% { opacity: .12; }
  100% { opacity: 0; transform: scale(1.55); }
}
@media (max-width: 1050px) {
  .eclipse-hero .eclipse-art { top: 36px; }
  .eclipse-hero .eclipse-art img { width: 106vw; }
  .eclipse-brand { top: 26%; }
  .eclipse-wordmark { font-size: clamp(77px, 11.8vw, 124px); }
  .eclipse-hero .eclipse-gallery { left: 0; right: 0; }
}
@media (max-width: 700px) {
  .eclipse-hero { height: max(760px, 96svh); min-height: 710px; }
  .eclipse-hero .eclipse-art { top: 93px; height: 360px; }
  .eclipse-hero .eclipse-art img { top: -1px; width: 735px; transform: translateX(-64%); }
  .eclipse-brand { width: 96vw; top: 29%; }
  .eclipse-wordmark { font-size: clamp(48px, 11.15vw, 76px); letter-spacing: -.1em; }
  .eclipse-events { width: 73vw; margin-top: 10px; gap: 15px; }
  .eclipse-events strong { font-size: 10px; letter-spacing: .5em; padding-left: .5em; }
  .eclipse-hero .eclipse-gallery { top: 52%; left: 0; right: 0; bottom: 0; }
  .eclipse-hero .hero-photo { grid-template-columns: 1.25fr .78fr; gap: 0; }
  .eclipse-hero .hero-frame-detail { display: none; }
  .eclipse-hero .hero-frame img { object-position: center; }
  .eclipse-beams i { top: 240px; }
  .eclipse-hero .eclipse-nebula { inset: 0 0 48%; }
  .eclipse-hero .nebula-wisp-left { top: 145px; left: calc(50% - 390px); width: 430px; height: 220px; }
  .eclipse-hero .nebula-wisp-right { top: 95px; left: calc(50% + 25px); width: 390px; height: 265px; }
  .eclipse-hero .nebula-wisp-top { top: 70px; left: calc(50% - 190px); width: 380px; height: 165px; }
  .eclipse-hero .nebula-wisp-low { top: 270px; left: calc(50% - 160px); width: 360px; height: 155px; }
  .floating-contact.floating-contact-redmoon { width: 63px; height: 63px; right: 14px; bottom: 14px; }
  .floating-contact.floating-contact-redmoon svg { width: 55px; height: 55px; }
}
@media (max-width: 390px) {
  .eclipse-brand { top: 27%; }
  .eclipse-wordmark { font-size: 47px; }
  .eclipse-hero .eclipse-gallery { top: 52%; }
}
@media (prefers-reduced-motion: reduce) {
  .eclipse-hero .eclipse-glow,
  .eclipse-hero .eclipse-art img,
  .eclipse-hero .eclipse-beams i,
  .eclipse-hero .nebula-wisp,
  .eclipse-brand,
  .eclipse-hero .hero-photo.is-active .hero-frame img { animation: none; }
  .eclipse-brand { opacity: 1; transform: translateX(-50%); }
  .eclipse-hero .eclipse-art img { opacity: .94; transform: translateX(-64%); }
  .eclipse-hero .hero-photo { transition: none; }
  .floating-contact.floating-contact-redmoon::before,
  .floating-contact.floating-contact-redmoon::after { animation: none; opacity: 0; }
}

/* Mesma assinatura transparente da abertura, ampliada sem desfocar a marca. */
.eclipse-hero .hero-signature {
  position: absolute;
  z-index: 6;
  top: clamp(-25px, calc(18vh - 150px), 24px);
  left: 50%;
  width: min(940px, 94vw);
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-signature::before {
  content: '';
  position: absolute;
  inset: 14% 24%;
  z-index: -1;
  background: radial-gradient(ellipse, #030207 0 45%, rgba(3, 2, 7, .9) 61%, transparent 74%);
}
.hero-signature .loader-wordmark { font-size: clamp(66px, 11.2vw, 154px); }
.hero-signature .loader-events { font-size: clamp(12px, 1.35vw, 20px); margin-top: 22px; }
.hero-signature .loader-orbit-light {
  stroke-dasharray: .16 .84;
  stroke-dashoffset: 0;
  opacity: .62;
  animation: signature-orbit 12s linear infinite;
}
@keyframes signature-orbit { to { stroke-dashoffset: -1; } }
@media (max-width: 700px) {
  .eclipse-hero .hero-signature { width: min(650px, 112vw); top: clamp(100px, 14svh, 145px); }
  .hero-signature .loader-wordmark { font-size: clamp(52px, 12.7vw, 80px); }
  .hero-signature .loader-events { font-size: 10px; margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-signature .loader-orbit-light { animation: none; }
}
