
/* -----------------------------------------------------------------------------

# Hero Styles

----------------------------------------------------------------------------- */
.hero-bg {
  background-image: url(../img/hero/coeur2cible_hero.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-area {
  height: 700px;
  position: relative;
  z-index: 1;
}

html, body {
  height: 100%;
}

.hero-area:after {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  content: "";
  background-color: #07212e;
  z-index: -1;
  opacity: 0.6;
}

.hero-text p.subtitle {
  color: #782f17;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 7px;
  font-size: 15px;
}

.hero-text h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.hero-area div {
  height: 100%;
}

.hero-area div.hero-text {
  height: 100%;
  width: 100%;
}

.hero-area div.hero-text-tablecell {
  height: auto;
  vertical-align: middle;
}

.hero-area div.hero-text-tablecell div {
  height: auto;
  vertical-align: middle;
}

.hero-btns {
  margin-top: 35px;
}

.hero-btns a.bordered-btn {
  margin-left: 15px;
}

.hero-area div.hero-form {
  background-color: #fff;
  text-align: center;
  width: 380px;
  margin: 0 auto;
  margin-right: 0;
  border-radius: 5px;
  -webkit-box-shadow: 0 0 15px #2d2d2d;
  box-shadow: 0 0 15px #2d2d2d;
  position: absolute;
  right: 30px;
  bottom: -15%;
  height: 600px;
}

input[type="submit"] {
  background-color: #782f17;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  border: none !important;
  cursor: pointer;
  padding: 15px 25px;
  border-radius: 3px;
}
.single-homepage-slider {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 25, 34, 0.1);
    display: flex;
    align-items: center;     /* CENTRAGE VERTICAL */
    justify-content: center; /* CENTRAGE HORIZONTAL */
}

.hero-text {
    color: #fff;
}

.hero-text .subtitle {
    color: #782f17;
    font-weight: 700;
    letter-spacing: 6px;
    text-transform: uppercase;
}

.hero-text h1 {
    /* font-size: clamp(20px, 5vw, 50px); */
    font-weight: 700;
}
.hero-btns {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
@media (max-width: 992px) {
    .single-homepage-slider {
        min-height: 80vh;
    }
}

@media (max-width: 576px) {
    .single-homepage-slider {
        min-height: 70vh;
    }
}

.homepage-slider div.hero-text-tablecell div {
  height: auto;
}

.single-homepage-slider {
  background-size: cover;
  background-position: center;
  background-color: #020C0E;
  position: relative;
  z-index: 1;
}

.single-homepage-slider:after {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #051922;
  content: "";
  z-index: -1;
  opacity: 0.7;
}

div.owl-controls, .owl-controls div {
  height: auto;
  top: 50%;
  color: #782f17;
  font-size: 48px;
}

.homepage-slider {
  position: relative;
}

.owl-prev {
  position: absolute;
  left: 60px;
  margin-top: -30px;
}

.owl-next {
  position: absolute;
  right: 60px;
  margin-top: -30px;
}


/* -----------------------------
   Hero area responsive
------------------------------- */
@media (max-width: 992px) {
  .hero-area {
    height: 600px; /* réduire hauteur sur tablette */
  }

  .hero-text h1 {
    font-size: 48px; /* titre plus petit */
  }

  .hero-text p.subtitle {
    font-size: 13px;
    letter-spacing: 5px;
  }

  .hero-btns {
    margin-top: 25px;
    flex-direction: column;
  }

  .hero-btns a {
    margin: 10px 0 0 0 !important; /* boutons empilés et espacés */
  }
}

@media (max-width: 768px) {
  .hero-area {
    height: 500px; /* sur mobile plus petit */
  }

  .hero-text h1 {
    font-size: 36px; /* titre plus petit */
    line-height: 1.2;
  }

  .hero-text p.subtitle {
    font-size: 12px;
    letter-spacing: 3px;
  }

  .hero-btns {
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .hero-area {
    padding: 60px 15px; /* éviter débordement */
  }

  
  .hero-area div {
    margin-top: 2.5rem;
  }


  .hero-text h1 {
    font-size: 28px; 
  }

  .hero-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
  }

  .hero-btns a {
    width: 80%; /* boutons plus petits et centrés */
    text-align: center;
    margin: 8px 0;
  }

  .hero-text-tablecell {
    display: block;
  }
}







/* Slogan / badge */
.hero-text .subtitle {
    color: #782f17;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-size: 14px; /* plus petit */
    margin-bottom: 10px;
}

/* Titre principal */
.hero-text h1 {
    /* font-size: clamp(30px, 5vw, 60px); */
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 15px;
    font-size: 3.1rem;
}

/* Texte descriptif */
.hero-text .hero-description {
    font-size: 18px;  /* plus grand que le slogan */
    color: #fff;
    max-width: 800px;
    margin: 0 auto 25px auto;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 48px;
    }
    .hero-text .subtitle {
        font-size: 12px;
    }
    .hero-text .hero-description {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 28px;
    }
    .hero-text .subtitle {
        font-size: 10px;
    }
    .hero-text .hero-description {
        font-size: 14px;
    }
}
