/* HERO CLAIR */

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: flex;
  align-items: center;
  background: var(--ivory);
  overflow: hidden;
  padding: 7rem 0 5rem;
}

.hero-slide__eyebrow{
  margin-bottom: 1.5rem;
  letter-spacing: 0.25em;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--gold);
}

/* IMAGE SUBTILE */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: url("../images/images_de_fond/image_de_fond-scaled.jpeg") center/cover no-repeat;

  opacity: 0.15;
  mix-blend-mode: multiply;
  z-index: 0;
}

/* CONTENU */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 72rem;
  width: 100%;
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* KICKER */
.hero-kicker {
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

/* TITRE */
.hero h1 {
  width: 100%;
  font-size: clamp(3rem, 7vw, 5rem);
  color: var(--blue);
  text-align: center;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

/* LIGNE LUXE */
.hero h1::after {
  content: "";
  display: block;
  width: 4rem;
  height: 2px;
  background: var(--gold);
  margin-top: 1rem;
  margin-inline: auto;
}

/* SOUS TITRE */
.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin: 1.5rem 0;
  color: rgba(0, 33, 145, 0.75);
}

/* TEXTE */
.hero-text {
  margin-bottom: 2rem;
  color: rgba(0, 0, 0, 0.65);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.6;
  max-width: 70rem;
  text-align: justify;
}

/* BOUTON */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  background: var(--blue);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  position: relative;
  z-index: 2;
}

.btn-primary:hover {
  background: #001870;
  transform: translateY(-2px);
}

/* @media (max-width: 768px) {

  .hero {
    min-height: calc(100svh - var(--header-height));
    height: auto;
    display: flex;
    align-items: center;
  }

  .hero-content {
    width: 100%;
    padding: 0 auto;
  }

  .hero-kicker {
    margin-bottom: 0.6rem;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 7.5vw, 2.7rem);
    line-height: 1.06;
    margin-bottom: 0.45rem;
  }

  .hero h1::after {
    width: 2.6rem;
    margin-top: 0.55rem;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.28;
    margin: 0.7rem 0 0.6rem;
  }

  .hero-text {
    font-size: 0.9rem;
    line-height: 1.42;
    margin-bottom: 1rem;
    text-align: left;
    max-width: 100%;
  }

  .hero-text br {
    display: none;
  }

  .btn-primary {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    text-align: center;
    padding: 0.85rem 1.15rem;
    white-space: normal;
  }

} */

@media (max-width: 768px) {

  .hero {
    min-height: calc(100svh - var(--header-height));
    height: auto;
    display: flex;
    align-items: center;
  }

  .hero-content {
    width: min(88vw, 34rem);
    margin-inline: auto;
    padding: 0;
  }

  .hero-kicker {
    margin-bottom: 0.75rem;
    font-size: clamp(0.95rem, 4vw, 1.25rem);
    letter-spacing: 0.32em;
    line-height: 1.45;
  }

  .hero h1 {
    font-size: clamp(3rem, 13vw, 5rem);
    line-height: 0.95;
    margin-bottom: 0.65rem;
  }

  .hero h1::after {
    width: 3.4rem;
    margin-top: 0.75rem;
  }

  .hero-subtitle {
    font-size: clamp(1.2rem, 4.9vw, 1.65rem);
    line-height: 1.25;
    margin: 1rem 0 0.9rem;
  }

  .hero-text {
    font-size: clamp(1rem, 2.4vw, 1.45rem);
    line-height: 1.45;
    margin-bottom: 1.35rem;
    text-align: left;
    max-width: 100%;
  }

  .hero-text br {
    display: none;
  }

  .btn-primary {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    text-align: center;
    padding: 1em 1.6em;
    font-size: clamp(1rem, 4vw, 1.25rem);
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4.25rem 0 2.4rem;
  }

  .hero-content {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 9.5vw, 2.5rem);
    line-height: 1.05;
    margin-bottom: 1rem;
  }

  .hero h1::after {
    width: 2.4rem;
    margin-top: 0.5rem;
  }

  .hero-subtitle {
    font-size: 0.88rem;
    line-height: 1.25;
    margin: 0.55rem 0 0.5rem;
    margin-bottom: 1rem;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.36;
    margin-top: 1.2rem;
    margin-bottom: 1.75rem;
  }

  .btn-primary {
    width: 100%;
    max-width: 100%;
    padding: 0.82rem 1rem;
    font-size: 0.95rem;
  }

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