/* Page d’accueil : compositions éditoriales, galeries manuelles et liens de chapitre. */
#section_1 {
  overflow: hidden;                 /* contient le léger zoom de l’affiche */
  isolation: isolate;
  background: var(--c-dark);
}

/* Affiche de secours : même photo que la vidéo, animée d’un très léger
   travelling avant (1 → 1,08 en 24 s, aller-retour) tant que la vidéo ne
   joue pas. */
.banner__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  transform-origin: 50% 50%;
  animation: hb-hero-zoom 24s ease-in-out infinite alternate;
}

/* La vidéo reste transparente tant que son événement « playing » n’a pas
   posé .is-playing sur la section (main.js) : l’affiche fait l’image. */
.banner video.bannervideo {
  z-index: 0;
  opacity: 0;
  transition: opacity .4s ease;
}

.banner.is-playing video.bannervideo {
  opacity: 1;
}

/* Source introuvable ou lecture refusée : main.js pose .video-fallback
   (alias .no-video / .banner--poster), la vidéo disparaît du flux. */
.banner.video-fallback .bannervideo,
.banner.no-video .bannervideo,
.banner.banner--poster .bannervideo {
  display: none;
}

/* Dès que la vidéo joue, l’affiche est figée puis masquée une fois le
   fondu de la vidéo terminé (économie de calcul, aucun blanc visible). */
.banner.is-playing .banner__poster {
  animation-play-state: paused;
  visibility: hidden;
  transition: visibility 0s linear .4s;
}

@keyframes hb-hero-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .banner__poster { animation: none; }
  .banner video.bannervideo { transition: none; }
}



/* Un voile progressif soutient le blanc sans assombrir tout le film. */
#section_1::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 30%, rgba(24, 23, 16, .13) 52%, rgba(24, 23, 16, .48) 100%);
}

/* Même composition que la référence : titre, respiration, chevron à gauche. */
.home .hb-hero__content {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: 200px clamp(24px, 3.5vw, 70px) calc(50px + env(safe-area-inset-bottom)) clamp(24px, 8.37vw, 160px);
}
.home .hb-hero__title {
  margin: 0;
  color: #fff;
  opacity: .4;
  font: 400 clamp(42px, 5.72vw, 114px)/1.1 Baskerville, Georgia, 'Times New Roman', serif;
  letter-spacing: -.025em;
  text-transform: none;
  text-align: left;
}
.home .hb-hero__title em,
.home .hb-hero__title span { display: block; }
.home .hb-hero__title em { font-weight: 400; }
.home .banner .hb-hero__scroll {
  position: static;
  transform: none;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 55px;
  height: 55px;
  margin-top: 60px;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  transition: opacity .2s ease;
}
.home .hb-hero__scroll svg { display: block; width: 44px; height: 44px; }
.home .hb-hero__scroll:hover { opacity: .75; }
.home .hb-hero__scroll:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
@media (max-width: 700px) {
  .home .hb-hero__content {
    padding: 156px 24px calc(32px + env(safe-area-inset-bottom));
  }
  .home .hb-hero__title { font-size: clamp(36px, 9.3vw, 65px); }
  .home .banner .hb-hero__scroll { width: 48px; height: 48px; margin-top: 36px; }
}
@media (max-height: 540px) and (min-width: 701px) {
  .home .hb-hero__content { padding-top: 150px; padding-bottom: 28px; }
  .home .hb-hero__title { font-size: clamp(42px, 5.72vw, 68px); }
  .home .banner .hb-hero__scroll { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .home .hb-hero__scroll { transition: none; }
}

/* Une même famille à empattements, en romain et en italique, pour les titres.
   Le texte courant conserve la police du domaine. */
.home .hb-container { width: min(1180px, calc(100% - 128px)); margin-inline: auto; }
.home .hb-section { padding-block: 90px; scroll-margin-top: 120px; }
.home .hb-introduction { padding: 106px 0 72px; scroll-margin-top: 110px; }
.home .hb-introduction h2 {
  max-width: 980px; margin: 0 auto; text-align: center;
  font: 400 clamp(32px, 3.2vw, 48px)/1.17 Baskerville, Georgia, 'Times New Roman', serif;
  letter-spacing: -.02em; text-transform: none; color: var(--c-dark);
}
.home .hb-heading {
  margin: 0 0 28px; font: 400 clamp(38px, 4.8vw, 64px)/1.04 Baskerville, Georgia, 'Times New Roman', serif;
  letter-spacing: -.025em; text-transform: none; color: var(--c-dark);
}
.home .hb-heading em, .home .hb-introduction em { font-weight: 400; }
.home .hb-kicker { margin: 0 0 24px; font-size: 12px; font-weight: 500; letter-spacing: .12em; line-height: 1.5; }
.home .hb-heading a, .home .hb-kicker a, .home .hb-cuvee-title a { color: inherit; text-decoration: none; }
.home .hb-heading a:hover, .home .hb-kicker a:hover, .home .hb-cuvee-title a:hover { color: var(--c-text); }
.home .hb-copy { font-size: 16px; line-height: 1.8; }
.home .hb-copy p { margin: 0 0 22px; }
.home #section_3 .hb-copy p { text-align: justify; hyphens: auto; }
.home #section_6 .hb-copy p,
.home #section_7 .hb-copy p { text-align: justify; text-align-last: left; hyphens: auto; }
.home .hb-more {
  display: inline-block; color: var(--c-dark); font-size: 13px; line-height: 1.7;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-block: 4px;
}
.home .hb-more:hover { border-color: transparent; }
.home .hb-container a:focus-visible, .home .hb-duos button:focus-visible {
  outline: 2px solid var(--c-dark); outline-offset: 5px;
}
.home .hb-container figure { margin: 0; min-width: 0; }
.home .hb-container figure > a { display: block; }
.home .hb-container figure img { width: 100%; object-fit: cover; }
.home .hb-container figcaption { margin-top: 12px; font-size: 11px; line-height: 1.5; color: var(--c-text); }

/* L’introduction devient une ligne dont le déplacement suit le scroll.
   Le dessin reste dans le décor commun ; seule la ligne est découpée. */
.home .hb-intro-viewport {
  --intro-inset: clamp(24px, 8.37vw, 160px);
  position: relative;
  z-index: 1;
  padding: 12px var(--intro-inset) 20px;
}
.home .hb-introduction.hb-introduction--scroll { padding-block: 100px; }
.home .hb-introduction--scroll .hb-intro-viewport { overflow: clip; }
.home .hb-introduction--scroll h2.hb-intro-line {
  width: max-content;
  max-width: none;
  margin: 0;
  white-space: nowrap;
  text-align: left;
  font: 400 clamp(52px, 6.4vw, 100px)/1.15 Baskerville, Georgia, 'Times New Roman', serif;
  letter-spacing: -.025em;
  will-change: transform;
}
@media (max-width: 700px) {
  .home .hb-intro-viewport { --intro-inset: 24px; }
  .home .hb-introduction.hb-introduction--scroll { padding-block: 72px; }
  .home .hb-introduction--scroll h2.hb-intro-line { font-size: clamp(44px, 10.8vw, 62px); }
}
@media (prefers-reduced-motion: reduce), print {
  .home .hb-introduction--scroll h2.hb-intro-line {
    width: auto;
    max-width: 980px;
    margin-inline: auto;
    white-space: normal;
    text-align: center;
    font-size: clamp(29px, 3.2vw, 48px);
    transform: none !important;
    will-change: auto;
  }
}

/* Une respiration photographique en pleine largeur, sous sa vitre embuée. */
.home .hb-quotation__layout {
  display: block;
}
.home .hb-quotation__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
/* Une vitre embuée, essuyée à la souris ou au doigt. */
.home .hb-fog { position: relative; overflow: hidden; isolation: isolate; }
.home .hb-fog img { height: auto; }
.home .hb-fog--loading img { filter: blur(12px); }
.home .hb-fog__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.home .hb-fog--ready { cursor: crosshair; touch-action: none; user-select: none; -webkit-user-select: none; }
.home .hb-fog--ready img { -webkit-touch-callout: none; }
.home .hb-fog:focus-visible { outline: 1px solid var(--c-dark); outline-offset: 4px; }
.home .hb-fog--clear { cursor: auto; touch-action: auto; }
.home .hb-fog--clear .hb-fog__veil { visibility: hidden; }
@media (hover: none), (pointer: coarse), (max-width: 767px) {
  .home .hb-fog--ready { cursor: auto; }
}
@media (prefers-reduced-motion: reduce), print {
  .home .hb-fog--loading img { filter: none; }
  .home .hb-fog--ready { cursor: auto; touch-action: auto; }
  .home .hb-fog__veil { display: none; }
}
/* Chaque rubrique commence par un portrait et un détail sous son texte. */
.home .hb-first { padding-top: 34px; }
.home .hb-portrait-detail { display: grid; grid-template-columns: 43% 49%; gap: 8%; align-items: start; }
.home .hb-portrait { padding-top: 12px; }
.home .hb-portrait img, .home .hb-portrait .hb-image-slot { aspect-ratio: 3 / 4; }
/* Conserver toute l’équipe sur la photographie des vendanges. */
.home #section_vie .hb-portrait img { aspect-ratio: 4 / 3; height: auto; object-fit: contain; }
.home .hb-detail-story .hb-copy { max-width: 500px; }
.home .hb-container .hb-detail { margin-top: 46px; }
.home .hb-detail img, .home .hb-detail .hb-image-slot { aspect-ratio: 1.75; object-position: 50% 45%; }

/* Le premier duo alterne d'un chapitre à l'autre : le texte reste avec
   son paysage et chaque format conserve sa largeur. */
@media (min-width: 701px) {
  .home .hb-category--reverse .hb-portrait-detail { grid-template-columns: 49% 43%; }
  .home .hb-category--reverse .hb-portrait { grid-column: 2; grid-row: 1; }
  .home .hb-category--reverse .hb-detail-story { grid-column: 1; grid-row: 1; }
}

/* Chapitres : titres et récit sur la même ligne, puis un duo décalé. */
.home .hb-duos { position: relative; }
.home .hb-duo-layout { display: grid; grid-template-columns: 32% 60%; gap: 8%; align-items: start; }
.home .hb-duo-small { padding-top: 130px; }
.home .hb-duo-small img, .home .hb-duo-small .hb-image-slot { aspect-ratio: 4 / 5; }
.home .hb-duo-large img, .home .hb-duo-large .hb-image-slot { aspect-ratio: 1.2; object-position: 50% 48%; }
.home .hb-duos .slick-slide { height: auto; }
.home .hb-duos:not(.slick-initialized) > .hb-duo-slide + .hb-duo-slide { margin-top: 48px; }

/* Chevrons fins, avec une zone de clic de 44 px, en dehors des photos.
   Les directions impossibles sont masquées par home-gallery.js. */
.home .hb-duos .slick-arrow {
  position: absolute; top: 43%; z-index: 2; width: 44px; height: 44px;
  margin: 0; padding: 0; border: 0; border-radius: 0; background: none;
  color: var(--c-dark); cursor: pointer; transform: translateY(-50%);
}
.home .hb-duos .slick-prev { left: -52px; right: auto; }
.home .hb-duos .slick-next { right: -52px; left: auto; }
.home .hb-duos .slick-arrow::before {
  content: ''; position: absolute; top: 15px; width: 13px; height: 13px;
  border-top: 1.25px solid currentColor; border-right: 1.25px solid currentColor;
}
.home .hb-duos .slick-next::before { left: 12px; transform: rotate(45deg); }
.home .hb-duos .slick-prev::before { left: 18px; transform: rotate(-135deg); }
.home .hb-duos .slick-arrow:hover { color: var(--c-text); background: none; }
.home .hb-duos .slick-arrow[hidden] { display: none !important; }

/* Les photographies disponibles illustrent le rosé ; les trois cuvées
   possèdent chacune leur présentation et leur destination. */
.home .hb-wine-links { display: flex; gap: 28px; flex-wrap: wrap; padding-bottom: 4px; }
.home .hb-wine-links a { color: var(--c-dark); font-size: 13px; text-decoration: underline; text-underline-offset: 5px; }
.home .hb-cuvees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7%; margin-top: 64px; }
.home .hb-cuvee-title { font: 400 34px/1.15 Baskerville, Georgia, 'Times New Roman', serif; letter-spacing: -.02em; text-transform: none; margin: 0 0 20px; }
.home .hb-cuvees .hb-copy { font-size: 15px; }

/* Le dernier chapitre reprend la teinte de la pierre, sous le décor commun. */
.home .hb-agriculture { margin-top: 60px; }

@media (max-width: 1000px) {
  .home .hb-section { padding-block: 65px; }
  .home .hb-introduction { padding-top: 80px; padding-bottom: 44px; }
  .home .hb-heading { font-size: clamp(36px, 4.8vw, 52px); }
  .home .hb-duo-small { padding-top: 90px; }
  .home .hb-copy { font-size: 15px; }
  .home .hb-container .hb-detail { margin-top: 32px; }
  .home .hb-cuvees { gap: 5%; }
}
@media (max-width: 700px) {
  .home .hb-container { width: calc(100% - 48px); }
  .home .hb-section { padding-block: 46px; scroll-margin-top: 85px; }
  .home .hb-introduction { padding: 66px 0 32px; scroll-margin-top: 80px; }
  .home .hb-introduction h2 { font-size: clamp(29px, 6.8vw, 40px); }
  .home .hb-heading { font-size: clamp(38px, 8.5vw, 52px); margin-bottom: 24px; }
  .home .hb-portrait-detail { grid-template-columns: 1fr; gap: 32px; }
  .home .hb-portrait { width: 78%; padding-top: 0; }
  .home .hb-portrait img, .home .hb-portrait .hb-image-slot { aspect-ratio: 3 / 4; }
  .home .hb-detail-story { padding-left: 10%; }
  .home .hb-category--reverse .hb-portrait { justify-self: end; }
  .home .hb-category--reverse .hb-detail-story { padding-left: 0; padding-right: 10%; }
  .home .hb-detail-story .hb-heading { font-size: clamp(35px, 8.2vw, 48px); }
  .home .hb-container .hb-detail { margin-top: 28px; }
  .home .hb-detail img, .home .hb-detail .hb-image-slot { aspect-ratio: 1.35; }
  .home .hb-kicker { margin-bottom: 16px; }
  .home .hb-duo-layout { grid-template-columns: 34% 60%; gap: 6%; }
  .home .hb-duo-small { padding-top: 78px; }
  .home .hb-duo-small img, .home .hb-duo-small .hb-image-slot { aspect-ratio: 3 / 4; }
  .home .hb-duo-large img, .home .hb-duo-large .hb-image-slot { aspect-ratio: 3 / 4; }
  .home .hb-container figcaption { font-size: 10px; margin-top: 8px; }
  .home .hb-duos { padding-bottom: 50px; }
  .home .hb-duos .slick-arrow { top: auto; bottom: 0; transform: none; }
  .home .hb-duos .slick-prev { left: -10px; }
  .home .hb-duos .slick-next { right: -10px; }
  .home .hb-cuvees { grid-template-columns: 1fr; gap: 36px; margin-top: 42px; }
  .home .hb-cuvee-title { margin-bottom: 14px; }
  .home .hb-agriculture { margin-top: 24px; padding-block: 58px; }
}

/* Emplacements demandés par le client : des surfaces crème de même format
   que les photos, sans image cassée ni légende présentant une photo fictive. */
.home .hb-image-slot { width: 100%; display: block; background: var(--c-surface); }
.home .hb-container img.hb-image-contain { object-fit: contain; }
.home .hb-gallery-footer {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; margin-top: 28px; position: relative; z-index: 1;
}
.home .hb-gallery-position { white-space: nowrap; font-size: 12px; letter-spacing: .12em; color: var(--c-text); font-variant-numeric: tabular-nums; }
.home .hb-duos { scroll-margin-top: 116px; }
.home .hb-detail-story .hb-wine-links { margin-top: 34px; }

/* Trois bouteilles détachées, avec l'écartement souple de la maquette vins. */
.home .hb-wines__layout {
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 39fr);
  gap: 6%;
  align-items: center;
}
.home .hb-wine-stage { position: relative; min-width: 0; container-type: inline-size; }
.home .hb-wine-products { --wine-info-width: clamp(72px, 17cqw, 114px); --wine-space-duration: .4s; display: flex; align-items: flex-end; position: relative; }
.home .hb-wine-product {
  position: relative;
  display: flex;
  align-items: flex-end;
  flex: 0 0 auto;
  margin-right: 2cqw;
  padding-right: 0;
  transition: padding-right var(--wine-space-duration) ease-in-out;
}
.home .hb-wine-products .hb-wine-bottle {
  display: block;
  flex: none;
  width: 24cqw;
  height: 80cqw;
  max-width: none;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}
/* La sélection suit la bouteille et inclut l’espace ouvert pour son nom. */
.home .hb-wine-select {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--c-dark);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.home .hb-wine-select:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
/* Au clavier, réserver tout de suite la place pour que Tab atteigne le lien. */
.home .is-wine-keyboard .hb-wine-product { --wine-space-duration: 0s; }
.home .is-wine-keyboard .hb-wine-product,
.home .is-wine-keyboard .hb-wine-info,
.home .is-wine-keyboard .hb-wine-product.is-active .hb-wine-info__content { transition: none; }
/* Le prix et le lien restent dans la zone de la bouteille sélectionnée. */
.home .hb-wine-info {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  left: 1cqw;
  bottom: 10cqw;
  width: var(--wine-info-width);
  max-width: 0;
  overflow: hidden;
  color: var(--c-dark);
  pointer-events: none;
  transition: max-width var(--wine-space-duration) ease-in-out;
}
/* La composition garde sa largeur finale ; seul son espace extérieur s’ouvre. */
.home .hb-wine-info__content {
  width: var(--wine-info-width);
  opacity: 0;
  visibility: hidden;
  transition: none;
}
.home .hb-wine-label, .home .hb-wine-price {
  display: block;
  white-space: nowrap;
  font: 500 clamp(12px, 2.5cqw, 17px)/1.5 var(--font-main);
}
.home .hb-wine-price { margin-top: 3px; }
.home .hb-wine-specs {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  color: #716e68;
  font: 400 clamp(10px, 1.65cqw, 11px)/1.45 var(--font-main);
  letter-spacing: 0;
}
.home .hb-wine-specs dt,
.home .hb-wine-specs dd { margin: 0; font-weight: 400; }

.home .hb-wine-discover {
  display: inline-block;
  margin-top: 8px;
  padding-block: 5px;
  border-bottom: 1px solid currentColor;
  color: inherit;
  text-decoration: none;
  font: 400 clamp(10px, 1.85cqw, 12px)/1.45 var(--font-main);
}
.home .hb-wine-discover:hover { border-bottom-color: transparent; }
.home .hb-wine-product.is-active { padding-right: 5cqw; }
@media (min-width: 1001px) {
  .home .hb-wine-product.is-active:not(:last-child) { padding-right: 8cqw; }
}
.home .hb-wine-product.is-active .hb-wine-info {
  max-width: var(--wine-info-width);
  pointer-events: auto;
}
.home .hb-wine-product.is-active .hb-wine-info__content {
  opacity: 1;
  visibility: visible;
  transition: opacity .22s ease-out var(--wine-space-duration), visibility 0s linear var(--wine-space-duration);
}
.home .is-ready .hb-wine-fallback { display: none; }
.home .hb-wines__copy { min-width: 0; }
.home .hb-wines__copy .hb-heading { margin-bottom: 36px; }
.home .hb-wine-panels { display: block; }
.home .hb-wine-panel + .hb-wine-panel { margin-top: 32px; }
.home .is-ready .hb-wine-panels { display: grid; }
.home .is-ready .hb-wine-panel {
  margin-top: 0;
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  translate: 0 5px;
  pointer-events: none;
  transition: opacity .22s ease-out, translate .22s ease-out;
}
.home .is-ready .hb-wine-panel.is-active { visibility: visible; opacity: 1; translate: 0 0; pointer-events: auto; }
.home .hb-wine-panel .hb-kicker { margin-bottom: 20px; }
.home .hb-wine-panel .hb-more { margin-top: 6px; }
@media (min-width: 701px) and (max-width: 1000px) {
  .home .hb-wines__layout { grid-template-columns: minmax(0, 51fr) minmax(0, 43fr); }
}
@media (max-width: 700px) {
  .home .hb-wines__layout { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .home .hb-wine-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 0; }
  .home .hb-wine-product, .home .hb-wine-product.is-active {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
    min-width: 0;
  }
  .home .hb-wine-products .hb-wine-bottle {
    width: 144%;
    height: auto;
    margin-right: 0;
    transition: transform .3s ease;
  }
  .home .hb-wine-product.is-active .hb-wine-bottle { transform: translateY(-7px); }
  .home .hb-wine-select, .home .hb-wine-product:last-child .hb-wine-select { inset: 0; width: 100%; }
  .home .hb-wine-info, .home .hb-wine-product.is-active .hb-wine-info {
    left: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    min-height: 122px;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    margin-top: 8px;
    text-align: center;
    transition: none;
  }
  .home .hb-wine-info__content, .home .hb-wine-product.is-active .hb-wine-info__content {
    width: 100%;
    opacity: 1;
    visibility: visible;
    transition: none;
  }
  .home .hb-wine-label { display: inline-block; font-size: 13px; padding-bottom: 5px; border-bottom: 1px solid transparent; }
  .home .hb-wine-product.is-active .hb-wine-label { border-color: currentColor; }
  .home .hb-wine-price { margin-top: 6px; font-size: 13px; }
  .home .hb-wine-discover { max-width: 94%; font-size: 11px; min-height: 44px; padding-block: 10px; }
  .home .hb-wine-specs { font-size: 10px; gap: 6px; }
  .home .hb-wine-price, .home .hb-wine-specs, .home .hb-wine-discover { opacity: 0; visibility: hidden; transition: none; }
  .home .hb-wine-product.is-active .hb-wine-price,
  .home .hb-wine-product.is-active .hb-wine-specs,
  .home .hb-wine-product.is-active .hb-wine-discover { opacity: 1; visibility: visible; transition: opacity .22s ease-out; }
  .home .hb-wines__copy .hb-heading { margin-bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .home .hb-wine-products { --wine-space-duration: 0s; }
  .home .hb-wine-product, .home .hb-wine-info, .home .hb-wine-panel,
  .home .hb-wine-product.is-active .hb-wine-info__content,
  .home .hb-wine-product.is-active .hb-wine-price,
  .home .hb-wine-product.is-active .hb-wine-specs,
  .home .hb-wine-product.is-active .hb-wine-discover,
  .home .hb-wine-products .hb-wine-bottle { transition: none; }
  .home .hb-wine-product.is-active .hb-wine-bottle, .home .hb-wine-panel { transform: none; translate: none; }
}
.home .hb-duos:focus-visible { outline: 2px solid var(--c-dark); outline-offset: 5px; }
@media (max-width: 700px) {
  .home .hb-gallery-footer { margin-top: 14px; gap: 16px; }
  .home .hb-gallery-footer .hb-more { font-size: 12px; }
  .home .hb-gallery-position { font-size: 10px; }
  .home .hb-duos { scroll-margin-top: 88px; }
}

/* Un seul cadre pour le papier : les dessins traversent librement les
   jonctions de rubriques, tout en restant derrière l'ensemble du contenu.
   Seuls les bords extérieurs de la page recadrent les illustrations. */
.home .hb-story-flow {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.home .hb-story-flow > .brion-section {
  overflow: visible;
  isolation: auto;
  z-index: auto;
}
.home .hb-story-flow .hb-container { position: relative; z-index: 1; }
.home .hb-story-flow .brion-motif { z-index: 0; }
.home .hb-story-flow #section_2::after { content: none; }
.home .hb-agriculture::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, var(--c-paper), var(--c-stone) 160px);
  pointer-events: none;
}

/* Une famille de cinq gravures, avec des contours et des vrilles entiers.
   Les ancrages suivent les galeries, même lorsque leur hauteur change. */
.home .hb-story-flow #section_2 .brion-motif {
  top: 8px; left: -220px; width: min(51vw, 680px); opacity: .15;
}
.home .hb-story-flow .hb-motif--terroir {
  top: auto; bottom: -170px; right: -270px;
  width: min(74vw, 980px); opacity: .14;
  transform: rotate(-12deg);
}
.home .hb-story-flow .hb-motif--histoire {
  top: 80px; left: -245px; width: min(48vw, 650px); opacity: .13;
  transform: scaleX(-1) rotate(-10deg);
}
.home .hb-story-flow .hb-motif--vins {
  top: -200px; right: -250px; width: min(83vw, 1150px); opacity: .15;
}
.home .hb-story-flow #section_6 .brion-motif {
  top: 10px; right: -190px; width: min(47vw, 650px); opacity: .13;
  transform: rotate(12deg);
}
.home .hb-story-flow .hb-motif--vie {
  top: 70px; left: -300px; width: min(82vw, 1080px); opacity: .13;
  transform: scaleX(-1) rotate(12deg);
}
.home .hb-story-flow .hb-motif--agriculture {
  top: auto; bottom: 28px; left: -150px;
  width: auto; height: min(900px, calc(100% - 60px)); opacity: .14;
  transform: scaleX(-1);
}
@media (max-width: 768px) {
  .home .hb-story-flow #section_2 .brion-motif {
    top: 10px; left: -270px; width: 450px; opacity: .11;
  }
  .home .hb-story-flow .hb-motif--terroir {
    bottom: -130px; right: -330px; width: 620px; opacity: .10;
  }
  .home .hb-story-flow .hb-motif--histoire {
    top: 90px; left: -285px; width: 460px; opacity: .10;
  }
  .home .hb-story-flow .hb-motif--vins {
    top: -130px; right: -230px; width: 660px; opacity: .11;
  }
  .home .hb-story-flow #section_6 .brion-motif {
    top: 80px; right: -270px; width: 460px; opacity: .10;
  }
  .home .hb-story-flow .hb-motif--vie {
    top: 150px; left: -380px; width: 660px; opacity: .10;
  }
  .home .hb-story-flow .hb-motif--agriculture {
    left: -185px; bottom: 24px;
    height: min(650px, calc(100% - 48px)); opacity: .10;
  }
}

/* Le titre des vins suit le scroll ; il revient vers la gauche en remontant. */
.home #accueil-vins.is-scroll-driven > a {
  display: inline-block;
  opacity: var(--wine-title-progress, 1);
  transform: translate3d(var(--wine-title-x, 0px), 0, 0);
  transition: none;
}
.home #accueil-vins.is-scroll-driven:focus-within > a {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce), print {
  .home #accueil-vins.is-scroll-driven > a {
    opacity: 1;
    transform: none;
  }
}
