/* =========================================================
   HERO PRO – GOFRIPE (HOME ONLY)
========================================================= */

.hero-slide{
  position:relative;
  min-height:620px;
  background-size:cover;
  background-position:center;
}

/* Overlay sombre pro (lisibilité garantie) */
.hero-overlay-pro{
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      90deg,
      rgba(11,15,21,.85) 0%,
      rgba(11,15,21,.65) 45%,
      rgba(11,15,21,.35) 70%,
      rgba(11,15,21,.05) 100%
    );
  display:flex;
  align-items:center;
}

/* Bloc texte (effet premium) */
.hero-content{
  background:rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  padding:3rem;
  border-radius:var(--radius-lg);
  max-width:620px;
  box-shadow:0 25px 60px rgba(0,0,0,.45);
}

/* Textes */
.hero-kicker{
  display:inline-block;
  font-size:.75rem;
  font-weight:900;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--gofripe-orange);
  margin-bottom:.75rem;
}

.hero-title{
  color:#fff;
  font-weight:900;
  line-height:1.1;
  margin-bottom:1rem;
}

.hero-text{
  color:rgba(255,255,255,.9);
  font-size:1.05rem;
  line-height:1.7;
}

/* Boutons */
.hero-content .btn{
  box-shadow:0 10px 25px rgba(0,0,0,.35);
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next{
  width:6%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon{
  filter:drop-shadow(0 4px 8px rgba(0,0,0,.6));
}

/* Responsive */
@media (max-width: 992px){
  .hero-slide{ min-height:520px; }
  .hero-content{ padding:2rem; }
}

@media (max-width: 576px){
  .hero-slide{ min-height:420px; }
  .hero-title{ font-size:1.6rem; }
  .hero-text{ font-size:.95rem; }
}

/* =========================
   HERO – MOBILE FIX
========================= */

/* Sécurité anti débordement */
html, body{
  overflow-x:hidden;
}

#heroSlider,
.hero-slide{
  overflow:hidden;
  width:100%;
}

/* Overlay full width */
.hero-overlay-pro{
  width:100%;
  padding:0 1rem;
}

/* Contenu HERO */
.hero-content{
  width:100%;
  max-width:560px;
  margin:0 auto;
  box-sizing:border-box;
}

/* MOBILE FIRST */
@media (max-width: 576px){

  .hero-slide{
    min-height:420px;
  }

  .hero-content{
    padding:1.75rem 1.5rem;
    border-radius:18px;
  }

  .hero-title{
    font-size:1.55rem;
    line-height:1.25;
  }

  .hero-text{
    font-size:.95rem;
    line-height:1.6;
  }

  .hero-content .btn{
    width:100%;
    justify-content:center;
  }

  .hero-content .btn + .btn{
    margin-top:.75rem;
  }
}

/* TABLET */
@media (min-width: 577px) and (max-width: 991px){
  .hero-content{
    max-width:620px;
  }
}
