/* ===== Variables & base (palette logo AB AETERNO) ===== */
:root {
  --blue-marine: #003058;
  --blue-fonce: #082848;
  --blue-profond: #002858;
  --blue-inter: #083050;
  --blue-clair: #7098A8;
  --gris-clair: #D6D6D6;
  --bg: #001828;
  --accent-glow: rgba(0, 48, 88, 0.4);
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ===== Decorative background ===== */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.gradient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.gradient-orb-1 {
  width: 60vmax;
  height: 60vmax;
  background: radial-gradient(circle, var(--blue-inter) 0%, var(--blue-profond) 40%, transparent 70%);
  top: -20%;
  right: -10%;
  animation: float 20s ease-in-out infinite;
}
.gradient-orb-2 {
  width: 40vmax;
  height: 40vmax;
  background: radial-gradient(circle, var(--blue-fonce) 0%, var(--blue-profond) 50%, transparent 70%);
  bottom: -10%;
  left: -10%;
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-5%, -5%) scale(1.05); }
}

/* ===== Hero : logo centré ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

.hero-logo-wrap {
  position: relative;
  display: inline-block;
  opacity: 0;
  transform: scale(0.92);
}

.hero-logo {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 40px var(--accent-glow));
}

.logo-shine {
  position: absolute;
  inset: -20%;
  z-index: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.08) 55%,
    transparent 60%
  );
  background-size: 200% 100%;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-logo {
    max-width: 220px;
  }
}
