@font-face{
  font-family: "Sansplomb";
  src: url("/static/fonts/SansPlomb_TRIAL-98.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "Myriad";
  src: url("/static/fonts/MyriadPro-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "MyriadLight";
  src: url("/static/fonts/MyriadPro-Light.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}

:root {
  --bleu: #2B2A5E;
  --orange: #ff5b1a;
  --turquoise: #1fcfc3;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.page-detail-artiste {
  margin: 0;
  background: var(--bleu);
  color: white;
  font-family: Myriad, Arial, sans-serif;
}

/* Hero bandeau */
.hero-cover{
  position: relative;
  width: 100%;
  min-height: clamp(320px, 52vw, 560px);
  display: grid;
  place-items: center;
  color: #fff;
  background-image: var(--hero-img);   /* si tu utilises la version background */
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Voile uniquement sur l'image (entre image et texte) */
.hero-cover::after{
  content: "";
  position: absolute;
  inset: 0;
  /* voile léger : monte/descends l'opacité entre .18 et .45 selon la photo */
  background: rgba(0,0,0,.28);
  /* variante plus douce :
     background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.38)); */
  pointer-events: none;
  z-index: 1;
}

/* Version <img> plein cadre (si tu l’utilises) */
.hero-img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 0;
}

/* Le texte passe au-dessus du voile */
.hero-cover > :not(.hero-img){
  position: relative;
  z-index: 2;
}

/* contenu centré */
.hero-inner{
  position: relative; /* au-dessus du voile */
  text-align: center;
  padding: clamp(16px, 4vw, 48px);
  max-width: 1800px;
}

/* gros titre blanc comme sur le visuel */
.hero-title{
  margin: 150px 0 14px 0;
  font-family: Sansplomb, sans-serif;
  line-height: 100%;
  letter-spacing: .150px;
  font-size: clamp(32px, 8vw, 120px);
  color: #ffffff;
}

/* sous-titre en petites capitales */
.hero-subtitle{
  margin-top: 50px;
  font-family: Arial, sans-serif;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 100%;
  color: #ffffff;
}

.contenu{
  position: relative; /* pour l'empilement propre */
  justify-items: center;
  padding-top: 84px;
  padding-bottom: 84px;
  padding-left: 250px;
  padding-right: 250px;
  display: grid;      /* empile les enfants en lignes */
  row-gap: 1rem;
  text-align: justify;
  margin-bottom: 24px;
  background-color: #ffffff;
}

.contenu-texte{
  font-size: 160%;
  margin: 0 0 8px 0;
  color: #2B2A5E;
  font-family: MyriadLight;
}

.scroll-down {
  margin-top: 34px;
  color: white;
  text-decoration: none;
  font-size: 34px;
  animation: bounce 1.4s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(12px);
  }
}

@media (max-width: 899px){
  .hero-cover{
    min-height: 58vh;
  }

  .hero-title{
    margin-top: 80px;
    font-size: clamp(38px, 13vw, 68px);
    line-height: .95;
    overflow-wrap: anywhere;
  }

  .hero-subtitle{
    margin-top: 18px;
    font-size: 13px;
  }

  .contenu{
    padding: 42px 18px;
    text-align: left;
  }

  .contenu-texte{
    font-size: 20px;
    line-height: 1.5;
  }
}
