:root {
  --main-font: "citrus-gothic-rough", sans-serif;
  --black-light: #211d1d;
  --filet: rgba(255, 255, 255, 0.2);
  --bg-site: #1b1818;
  --header-height: 80px;
  --text-grey: #a69595;
  --btn: #473c3c;
}

/* ==========================
   HERO STANDARD
========================== */

.hero-standard {
  position: relative;
  height: 60vh;
  min-height: 420px;
  max-height: 680px;
  color: #fff;
  background-color: #000;

  /* PARALLAX CSS (desktop only)
     Fonctionne sur Safari desktop
     Désactivé mobile pour perf */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  /* Perf / stabilité */
  will-change: background-position;
  overflow: hidden;
}

/* Overlay */
.hero-standard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.25));
  z-index: 1;
}

/* Contenu */
.hero-standard__inner {
  position: relative;
  z-index: 2;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.hero-standard__title {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.hero-standard__subtitle {
  margin-top: 1rem;
  max-width: 700px;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ==========================
   MOBILE / TOUCH
   Désactivation parallax
========================== */

@media (max-width: 768px), (hover: none), (pointer: coarse) {
  .hero-standard {
    background-attachment: scroll;
    height: 55vh;
    min-height: 360px;
  }

  .hero-standard__inner {
    padding: 3rem 1.5rem;
  }

  .hero-standard__subtitle {
    font-size: 1rem;
  }
}

/* =========================
   HERO STANDARD — SANS IMAGE
========================= */

.hero-standard--no-image {
  height: auto;
  min-height: unset;
  max-height: none;
  background-color: var(--black-light);
  padding-top: 7rem;
  padding-bottom: 4rem;
}

.hero-standard--no-image .hero-standard__inner {
  height: auto;
  max-width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-standard--no-image .hero-standard__title {
  margin-bottom: 1rem;
}
