/* ==========================================================================
   Hero V4 — Affiche SVG inline, version hero de page
   ========================================================================== */

.hero-wrapper {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: #f8f7f7;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-v4 {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 2fr 3fr;
  background: #f8f7f7;
  position: relative;
}

/* Barre turquoise en haut */
.hero-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #009892;
  z-index: 10;
}

/* Colonne gauche — affiche SVG centrée */
.hero-v4__left {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 2vh 0;
}

.hero-v4__stage {
  height: 86vh;
  width: calc(86vh * 0.667);
  position: relative;
  opacity: 0;
}

.hero-v4__stage svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Colonne droite — édito */
.hero-v4__right {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 10px 2vw 4vh 2vw;
  background: #033a47;
}

.hero-v4__logos {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-end;
  margin-right: -2vw;
}

.hero-v4__edito {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6em;
  padding-top: 1vh;
}

.hero-v4__logo-ad {
  height: clamp(28px, 3vw, 44px);
  width: auto;
}

.hero-v4__logo-region {
  height: clamp(30px, 3.2vw, 48px);
  width: auto;
}


.hero-v4__title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 0.8em;
}

.hero-v4__title {
  font-family: var(--font-titre);
  font-size: clamp(2.8rem, 5.5vw, 82px);
  color: #fff;
  line-height: 1;
  font-weight: 400;
  margin: 0;
  white-space: nowrap;
}

.hero-v4__subtitle {
  font-family: 'Autumn Chant', cursive;
  font-size: clamp(2rem, 4vw, 60px);
  color: #E6105D;
  font-weight: 400;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
  -webkit-text-stroke: 2px #E6105D;
  paint-order: stroke fill;
}

.hero-v4__accroche {
  font-family: var(--font-corps);
  font-size: clamp(1.1rem, 1.5vw, 24px);
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  margin: 0 0 0.4em;
}

.hero-v4__body {
  font-family: var(--font-corps);
  font-size: clamp(0.9rem, 1.1vw, 18px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 0.4em;
}

.hero-v4__punchline {
  font-family: var(--font-corps);
  font-size: clamp(0.95rem, 1vw, 17px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.8em;
}

.hero-v4__cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border: 1px solid #E6105D;
  background: transparent;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--font-corps);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  transition: background-color 0.3s, color 0.3s;
}

.hero-v4__cta:hover {
  background-color: #E6105D;
  color: #fff;
}

.hero-v4__citations-wrap {
  margin-top: 1.8em;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 1.4em 1.6em 1em;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.hero-v4__citations-title {
  font-family: var(--font-titre);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  color: #033a47;
  -webkit-text-stroke: 0;
  margin: 0 0 0.4em;
}

.hero-v4__citations-wrap .frise-z__slider {
  background: transparent;
  width: 100%;
}

.hero-v4__citations-wrap .frise-z__citation {
  background: transparent;
  border-left: none;
  border-radius: 0;
  padding: 0;
}

.hero-v4__citations-wrap .frise-z__citation p {
  color: #222221;
  font-weight: 600;
}

.hero-v4__citations-wrap .frise-z__citation p::before {
  color: #e6105d;
  opacity: 1;
  font-size: 4em;
  vertical-align: -0.45em;
  margin-right: 0.2em;
}

.hero-v4__citations-wrap .frise-z__nav {
  margin-top: 0.8em;
  color: rgba(3,58,71,0.45);
  justify-content: flex-end;
  padding-left: 0;
}

.hero-v4__citations-wrap .frise-z__prev,
.hero-v4__citations-wrap .frise-z__next {
  color: #033a47;
  border-color: rgba(3,58,71,0.3);
}

.hero-v4__citations-wrap .frise-z__prev:hover,
.hero-v4__citations-wrap .frise-z__next:hover {
  border-color: #e6105d;
  background: rgba(230,16,93,0.08);
}

.hero-v4__citations-wrap .frise-z__count {
  color: rgba(3,58,71,0.5);
}

.hero-v4__video-label {
  font-family: var(--font-corps);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  display: block;
  margin-top: 0.5em;
}

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

  .hero-wrapper {
    height: auto;
    min-height: unset;
    position: relative;
    overflow: hidden;
    background: #033a47;
  }

  .hero-v4 {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
  }

  /* Col gauche : largeur pleine, hauteur auto */
  .hero-v4__left {
    display: flex;
    height: auto;
    background: #f0efef;
  }

  .hero-v4__stage {
    width: 100vw;
    height: calc(100vw * 1.5);
  }

  /* Col droite : fond sombre pleine largeur */
  .hero-v4__right {
    padding: 20px 5vw 6vw;
    grid-template-rows: auto auto;
  }

  .hero-v4__logos {
    justify-content: flex-start;
    margin-right: 0;
    margin-bottom: 1.2em;
  }

  .hero-v4__title {
    font-size: clamp(2.2rem, 9vw, 52px);
    white-space: normal;
  }

  .hero-v4__subtitle {
    font-size: clamp(1.6rem, 7vw, 40px);
    white-space: normal;
  }

  .hero-v4__title-wrap {
    margin-bottom: 1em;
  }

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

  .hero-v4__body {
    font-size: 0.9rem;
  }

  .hero-v4__citations-wrap {
    margin-top: 1.5em;
  }

  .hero-v4__citations-title {
    font-size: 1.4rem;
  }
}
