/* Extrait automatiquement de main.css lignes 204-339 — HERO SPLIT — gauche photo / droite texte */
/* =============================================
   HERO SPLIT — gauche photo / droite texte
   ============================================= */
.hero-split { background: var(--creme); }
.hero-split__inner {
  display: grid;
  grid-template-columns: 58% 42%;
  min-height: calc(100vh - 72px);
  max-height: 860px;
}

/* Photo slideshow (gauche) */
.hero-split__media {
  position: relative;
  overflow: hidden;
  background: var(--creme-2);
}
.hero-split__img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-split__img--active { opacity: 1; }
.hero-split__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Barre contrôles (dots + flèches) */
.hero-split__bar {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}
.hero-split__dots {
  display: flex;
  gap: .5rem;
}
.hero-split__dot {
  width: 28px; height: 2px;
  background: rgba(255,255,255,.4);
  border: none; cursor: pointer;
  transition: background .3s;
  padding: 0;
}
.hero-split__dot--active { background: var(--blanc); }

/* Flèches prev/next */
.hero-split__arrows { display: flex; gap: .5rem; }
.hero-split__arrow {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.2);
  border: 1px solid var(--noir);
  color: var(--noir);
  cursor: pointer;
  font-size: 1rem;
  transition: background .2s, border-color .2s, color .2s;
  line-height: 1;
}
.hero-split__arrow:hover {
  background: var(--noir);
  color: var(--blanc);
  border-color: var(--noir);
}

/* Contenu texte (droite) — panel empilés, seul l'actif visible */
.hero-split__contents {
  position: relative;
  border-left: 1px solid var(--border);
}
.hero-split__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem 4rem 3rem;
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
}
.hero-split__content--active {
  opacity: 1;
  pointer-events: auto;
}
.hero-split__title {
  margin: 1rem 0 1.5rem;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-family: var(--font-titre);
  font-weight: 400;
  line-height: 1.1;
}
.hero-split__title em { font-style: italic; }
.hero-split__sub {
  font-size: .98rem;
  color: var(--gris);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 380px;
}
.hero-split__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Filet (règle fine) devant le label de diapositive */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--noir);
}
.hero-rule {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .hero-split__inner { grid-template-columns: 1fr; max-height: none; min-height: auto; }
  .hero-split__media { width: 100%; aspect-ratio: 4/3; position: relative; min-height: 320px; }
  .hero-split__img { position: absolute; }
  /* min-height de secours (avant l'exécution du JS, ou si JS désactivé) —
     la vraie hauteur est recalculée en JS pour coller au slide affiché,
     voir "HERO SPLIT SLIDESHOW" dans main.js. */
  .hero-split__contents { position: relative; min-height: 420px; border-left: none; border-top: 1px solid var(--border); }
  .hero-split__content { padding: 3rem 1.5rem; justify-content: flex-start; }
}

@media (max-width: 480px) {
  .hero-split__bar { left: 1rem; right: 1rem; bottom: 1rem; }
  .hero-split__arrow { width: 32px; height: 32px; }
  .hero-split__contents { min-height: 460px; }
}

