/* ==========================================================================
   J.A. CHAPES SÀRL — Bandeau d'accueil (hero)
   --------------------------------------------------------------------------
   Grande image plein écran, voiles sombres, halo orange,
   titre, boutons et invitation à défiler.
   Les @keyframes utilisées ici se trouvent dans animations.css.
   ========================================================================== */

/* ==========================================================================
   6. HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}

.hero__media {
  position: absolute;
  inset: -5% 0;
  will-change: transform;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Voiles sombres pour garder le texte lisible */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, #000 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.25) 100%),
    linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 55%, transparent 100%);
}

/* Halo orange discret qui respire */
.hero__glow {
  position: absolute;
  top: -30%;
  left: 50%;
  width: 60%;
  height: 140%;
  transform: translateX(-50%) rotate(12deg);
  background: linear-gradient(to bottom, rgba(255,106,26,0.14), transparent 60%);
  filter: blur(80px);
  animation: glow-pulse 8s ease-in-out infinite;
  pointer-events: none;
}


.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  /* padding-top/bottom uniquement : le padding latéral vient de .container */
  padding-top: 160px;
  padding-bottom: 90px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 7px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-soft);
}
.hero__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--orange);
}

.hero__title {
  max-width: 900px;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: #fff;
}
.hero__title span {
  display: block;
  color: var(--orange-soft);
}

.hero__text {
  max-width: 560px;
  margin-top: 26px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 38px;
}

.hero__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.25s ease;
}
.hero__phone:hover { color: #fff; }
.hero__phone span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

/* Invitation à défiler */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.hero__scroll svg { animation: bob 1.8s ease-in-out infinite; }
