/* Essai éditorial C2 : photos originales en fond, signature native au premier plan. */
.c2-filter-defs { position: absolute; pointer-events: none; }
.logo-blanc { filter: url(#c2-monochrome); }
.hero.hero-editorial {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 540px;
  height: min(780px, calc(100svh - 108px));
  max-height: none;
  padding: 72px 32px 80px;
  background: var(--aubergine);
  color: var(--ivoire);
}
.hero-editorial .hero-scenes, .hero-editorial .hero-scene {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}
.hero-editorial .hero-scenes { z-index: -2; }
.hero-editorial .hero-scene {
  opacity: 0;
  transition: opacity 800ms ease-in-out;
  transform: scale(1.015);
  /* La profondeur de champ appartient à la photo, pas à un flou du flacon. */
  filter: brightness(.85) saturate(.9);
}
.hero-editorial .hero-scene picture { display: block; width: 100%; height: 100%; }
.hero-editorial .hero-scene.is-active { opacity: 1; }
.hero-editorial .hero-scene img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.hero-editorial::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(54,37,47,.38), rgba(54,37,47,.59) 45%, rgba(54,37,47,.5));
}
.hero-editorial .hero-texte {
  z-index: 1;
  width: 100%;
  max-width: 940px;
  text-align: center;
}
/* Sur l'accueil seulement, la photo passe aussi derrière le verre du bandeau.
   Les hauteurs et le padding compensent le chevauchement : les univers ne bougent pas. */
body:has(#vue-accueil:not([hidden])) .hero.hero-editorial {
  margin-top: calc(-1 * var(--premium-header-height));
  height: min(calc(780px + var(--premium-header-height)), calc(100svh - 30px));
  min-height: calc(540px + var(--premium-header-height));
  padding-top: calc(72px + var(--premium-header-height));
}
.hero-editorial .hero-localite {
  font-size: 10px;
  letter-spacing: .27em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-editorial h1.hero-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, .45vw, 8px);
  max-width: none;
  margin: 0 0 22px;
  font: 400 clamp(44px, 6.5vw, 94px)/1 var(--titre);
  letter-spacing: .15em;
  text-shadow: none;
}
.hero-signature img {
  width: clamp(125px, 17vw, 240px);
  height: clamp(83px, 11.3vw, 160px);
  object-fit: cover;
  flex-shrink: 0;
  /* Compenser le blanc interne du JPEG sans rogner le vrai monogramme. */
  margin-inline-end: clamp(-40px, -2.8vw, -22px);
}
.hero-editorial .hero-maison {
  font-family: var(--titre);
  font-size: clamp(23px, 2.25vw, 32px);
  line-height: 1.2;
  margin-bottom: 14px;
}
.hero-editorial .hero-preparation {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-wrap: balance;
  line-height: 1.6;
}
.hero-editorial .hero-liens {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 34px;
}
.hero-editorial .hero-liens .btn {
  min-height: 46px;
  padding: 12px 22px;
  border-color: rgba(245,241,234,.7);
  color: var(--ivoire);
  font-size: 10px;
  letter-spacing: .13em;
  background: rgba(54,37,47,.12);
}
.hero-editorial .hero-liens .btn:hover {
  color: var(--aubergine);
  background: var(--ivoire);
  border-color: var(--ivoire);
}
/* Aucun panneau de commandes visuel. La pause ne se révèle qu'au focus clavier. */
.hero-accessible-pause:not([hidden]) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.hero-accessible-pause:focus-visible {
  width: auto;
  height: auto;
  min-height: 44px;
  padding: 10px 18px;
  margin: 0;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  clip-path: none;
  overflow: visible;
  color: var(--ivoire);
  background: var(--aubergine);
  border: 1px solid currentColor;
  font-size: 11px;
}
.hero-editorial :is(button, a):focus-visible { outline: 2px solid var(--ivoire); outline-offset: 5px; }
#univers { scroll-margin-top: 94px; }
/* Pas de disque, de recadrage rond ou de fond sur le monogramme du pied. */
#contact .marque-c2 .logo-symbole { border-radius: 0; overflow: visible; background: transparent; }
#contact .marque-c2 .logo-symbole img { object-fit: contain; }
@media (max-width: 640px) {
  .hero.hero-editorial {
    height: min(700px, calc(100svh - 98px));
    min-height: 470px;
    padding: 48px 18px 58px;
  }
  body:has(#vue-accueil:not([hidden])) .hero.hero-editorial {
    height: min(calc(700px + var(--premium-header-height)), calc(100svh - 30px));
    min-height: calc(470px + var(--premium-header-height));
    padding-top: calc(48px + var(--premium-header-height));
  }
  .hero-editorial .hero-localite { font-size: 9px; margin-bottom: 18px; }
  .hero-editorial h1.hero-signature { font-size: clamp(29px, 7.9vw, 50px); gap: 6px; letter-spacing: .11em; margin-bottom: 20px; }
  .hero-signature img { width: clamp(83px, 23vw, 125px); height: clamp(56px, 15.5vw, 84px); margin-inline-end: -12px; }
  .hero-editorial .hero-maison { font-size: 25px; }
  .hero-editorial .hero-preparation { font-size: 9px; letter-spacing: .16em; }
  .hero-editorial .hero-liens { flex-direction: column; gap: 8px; margin-top: 25px; }
  .hero-editorial .hero-liens .btn { width: min(250px, 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-editorial .hero-scene, .hero-editorial .btn { transition: none; }
}
@media (forced-colors: active) {
  .hero-editorial::after { background: Canvas; }
  .hero-accessible-pause:focus-visible, .hero-editorial .btn { border: 1px solid ButtonText; }
  .hero-editorial { color: CanvasText; }
  .hero-editorial a, .hero-accessible-pause:focus-visible { color: LinkText; }
}
