: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;
  --red-bg: rgba(195, 73, 73, 0.264);
}

/* ==========================
   HERO DEFAULT
========================== */

.hero-default {
  position: relative;
  height: 65vh;
  min-height: 480px;
  max-height: 720px;
  overflow: hidden;
  color: #fff;
  display: flex;
  justify-content: center;
}

/* ==========================
   PARALLAX
========================== */

.hero-default__parallax-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-default__parallax {
  height: 100%;
  clip-path: inset(0 0 0 0);
}

.hero-default__parallax::before {
  content: "";
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  width: 100%;
  max-width: var(--max-width, 1600px);
  height: 100vh;

  background-image: var(--bg-url);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  z-index: -1;
}

/* ==========================
   OVERLAY
========================== */

.hero-default--has-image::after {
  content: "";
  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-default__inner {
  position: absolute;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  top: 0px;
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 4rem 2rem;
}

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

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

/* ==========================
   VERSION SANS IMAGE
========================== */

.hero-default--no-image {
  background-color: var(--black-light);
  height: auto;
  padding: 6rem 0 4rem;
}

/* ==========================
   MOBILE SAFE
========================== */

@media (max-width: 1024px), (hover: none), (pointer: coarse) {
  .hero-default__parallax::before {
    position: absolute;
    height: 100%;
  }

  .hero-default {
    height: 55vh;
    min-height: 380px;
  }
}

/* ==========================
   PGAES DE BLOG/ACTUS
========================== */

.hero-default__meta {
  margin-top: 20px;
  font-size: 0.85rem;
  opacity: 0.7;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-default__actus {
  padding-left: 5px;
  text-transform: uppercase;
  color: var(--text-grey);
}
