[x-cloak] { display: none !important; }

html { scroll-padding-top: 5rem; }

.no-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* ---------- Nav links ---------- */
.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: #d4af37;
  transition: width 0.25s ease;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }
.nav-link--active { color: #e8c874; }
.nav-link--active::after { width: 100%; }

.mobile-link {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.2s ease, color 0.2s ease;
}
.mobile-link:hover { background: rgba(212, 175, 55, 0.1); color: #e8c874; }
.mobile-link--active { background: rgba(212, 175, 55, 0.12); color: #e8c874; }

.footer-link {
  color: rgb(163 163 163);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-link:hover { color: #e8c874; padding-left: 4px; }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Hero orbs / float ---------- */
.hero-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(90px);
  opacity: 0.35;
  animation: orb-pulse 8s ease-in-out infinite;
}
.hero-orb--gold { background: radial-gradient(circle, #d4af37, transparent 70%); }
.hero-orb--navy { background: radial-gradient(circle, #254570, transparent 70%); animation-delay: -3s; }

@keyframes orb-pulse {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.15) translate(-20px, 20px); }
}

.hero-float { animation: hero-float 6s ease-in-out infinite; }
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* ---------- Area cards ---------- */
.area-card { position: relative; overflow: hidden; }

/* ---------- Floating label inputs ---------- */
.field-group { position: relative; }
.field-input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgb(212 212 212);
  background: rgb(250 250 250);
  padding: 1.25rem 1rem 0.6rem 1rem;
  font-size: 0.95rem;
  color: #0b1b33;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field-input:focus {
  border-color: #d4af37;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}
.field-label {
  position: absolute;
  left: 1rem;
  top: 0.9rem;
  font-size: 0.95rem;
  color: rgb(115 115 115);
  pointer-events: none;
  transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}
.field-input:focus ~ .field-label,
.field-input:not(:placeholder-shown) ~ .field-label {
  top: 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #b8912a;
}

/* ---------- Splash de abertura ---------- */
#splash-overlay {
  transition: opacity 0.9s ease-in;
}
#splash-overlay.splash-overlay--fading {
  opacity: 0;
}

.splash-img {
  max-width: min(80vw, 460px);
  max-height: 42vh;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.32);
  transition: opacity 1.3s ease-in-out, transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.splash-img--visible {
  opacity: 1;
  transform: scale(1);
}
.splash-img--fading {
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.9s ease-in;
}

@media (prefers-reduced-motion: reduce) {
  .splash-img { transition: none; }
  #splash-overlay { transition: none; }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f5f5f5; }
::-webkit-scrollbar-thumb { background: #0b1b33; border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: #d4af37; }
