/* ================================================================
   PEUGEOT — 2 sections : 2008 (.pg + .p08) et Gamme VU (.pg + .pvu)
   ================================================================
   Chaque section : hero vidéo en boucle + titre overlay, puis
   contenus spécifiques. Base commune préfixée .pg.
   ================================================================ */


.pg {
  position: relative;
  background-color: var(--couleur-fond);
  color: var(--couleur-texte);
}


/* ---- Hero commun ---- */

.pg__hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  color: #FFFFFF;
}

.pg__hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.pg__hero-voile {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0)   22%,
      rgba(0, 0, 0, 0)   55%,
      rgba(0, 0, 0, 0.7) 100%
    );
}

.pg__hero-contenu {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: var(--espace-l) var(--padding-cote);

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--espace-m);
}

.pg__titre {
  font-family: var(--typo-titre);
  font-weight: 700;
  font-variation-settings: 'opsz' 144, 'SOFT' 0, 'WONK' 0;
  font-size: clamp(64px, 10vw, 200px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  margin: 0;
}
.pg__titre em {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 80, 'WONK' 1, 'wght' 700;
  color: var(--couleur-accent);
}

.pg__baseline {
  font-family: var(--typo-titre);
  font-style: italic;
  font-variation-settings: 'opsz' 24, 'SOFT' 50, 'WONK' 0, 'wght' 400;
  font-size: var(--taille-l);
  line-height: 1.25;
  max-width: 680px;
  margin: 0 0 var(--espace-l) 0;
  color: rgba(255, 255, 255, 0.92);
}


/* ---- Film sur fond noir (réutilisable) ---- */

.pg__film-wrap {
  background-color: #0F0E0C;
  padding: var(--espace-l) var(--padding-cote);
}

.pg__film {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}
.pg__film video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ---- Responsive ---- */

@media (max-width: 640px) {
  .pg__titre { font-size: clamp(56px, 14vw, 100px); }
  .pg__baseline { font-size: var(--taille-base); }
}
