/* ═══════════════════════════════════════════════════════════
   HERO.CSS — Section hero principale
═══════════════════════════════════════════════════════════ */

#hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;

}

/* ── Background ── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 20% 110%, rgba(255, 69, 0, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% -10%, rgba(255, 184, 0, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse 100% 50% at 50% 100%, rgba(0, 0, 0, 0.9) 0%, transparent 60%),
    linear-gradient(160deg, #0f0800 0%, #1a0a00 50%, #0a0a0a 100%);
  z-index: 1;
}

/* Noise texture overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  z-index: 2;
  opacity: 0.4;
}

/* ── Orbes animées ── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(255, 69, 0, 0.2);
  top: -100px;
  left: -100px;
  animation: floatOrb 8s ease-in-out infinite alternate;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(255, 184, 0, 0.15);
  bottom: -50px;
  right: -50px;
  animation: floatOrb 6s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.1); }
}

/* ── Content ── */
.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 20px;
  max-width: 900px;

   
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 184, 0, 0.12);
  border: 1px solid rgba(255, 184, 0, 0.3);
  color: var(--c-accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '★';
  font-size: 0.9em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 10rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title .line     { display: block; overflow: hidden; }
.hero-title .word     { display: inline-block; }
.hero-title .highlight {
  color: transparent;
  -webkit-text-stroke: 2px var(--c-primary);
  text-stroke: 2px var(--c-primary);
}
.hero-title .solid       { color: var(--c-text); }
.hero-title .accent-word { color: var(--c-primary); }

.hero-subtitle {
  font-family: var(--font-head);
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 500;
  color: rgb(245, 240, 232);
  letter-spacing: 0.05em;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Scroll indicator ── */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50.5%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--c-primary));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* ── Éléments flottants décoratifs ── */
.hero-floating {
  position: absolute;
  z-index: 5;
  font-size: 3rem;
  pointer-events: none;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

.f1 { top: 15%;    left: 5%;   font-size: 2.5rem; }
.f2 { top: 25%;    right: 7%;  font-size: 3.5rem; }
.f3 { bottom: 20%; left: 6%;   font-size: 2rem; }
.f4 { bottom: 20%; right: 1%;  font-size: 3rem; }
