/* =========================================================
   VENTOPP — Homepage
   Direction artistique : « Mat & dorure »
   Le site est traité comme l'étiquette : noir mat, une dorure
   par bière, la ligne de crête du Ventoux comme seul motif.
   ========================================================= */

@font-face {
  font-family: "Gotham";
  src: url("../fonts/gotham-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@property --foil   { syntax: "<color>"; inherits: true; initial-value: #b9ad83; }
@property --foil-l { syntax: "<color>"; inherits: true; initial-value: #ece4c4; }
@property --foil-d { syntax: "<color>"; inherits: true; initial-value: #5d5940; }

:root {
  --black: #0b0b0b;
  --black-2: #121212;
  --line: #262626;
  --line-2: #3d3d3d;
  --grey: #999696;
  --grey-2: #6f6c6c;
  --text: #c9c6c6;
  --white: #f4f3f3;

  --g: clamp(16px, 4vw, 64px);
  --max: 1480px;
  --head: 72px;

  --display: "Gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --sans: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--head); }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* grain de papier mat, comme l'étiquette */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--white); outline-offset: 4px; }
:focus:not(:focus-visible) { outline: none; }
::selection { background: var(--white); color: var(--black); }

.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: var(--g); top: -80px; z-index: 120; background: var(--white); color: var(--black); padding: .7rem 1rem; font-family: var(--display); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--g); }
.muted { color: var(--grey); }

/* ---------- Typographie ---------- */
.h2 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.6vw, 5rem);
  line-height: .96;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--white);
  text-wrap: balance;
}
.h3 {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  line-height: 1.15;
  letter-spacing: -.005em;
  text-transform: uppercase;
  color: var(--white);
}
.lead { font-size: clamp(1.15rem, 1.55vw, 1.45rem); line-height: 1.5; color: var(--white); font-weight: 300; }
.label {
  font-family: var(--display);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.1rem;
}

/* ---------- Boutons & liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.1rem;
  padding: 0 1.6rem;
  font-family: var(--display);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  border: 1px solid rgba(244, 243, 243, .32);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { border-color: var(--white); background: var(--white); color: var(--black); }
.btn--solid { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--solid:hover { background: transparent; color: var(--white); }

.link {
  display: inline-flex; align-items: center; gap: .8em;
  font-family: var(--display);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  padding: .6rem 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link::after { content: "→"; font-family: var(--sans); font-size: 1.05rem; letter-spacing: 0; transition: transform .4s var(--ease); }
.link:hover { background-size: 100% 1px; }
.link:hover::after { transform: translateX(4px); }

/* =========================================================
   Contrôle d'âge
   ========================================================= */
.gate { display: none; }
.js .gate {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--g);
  background: var(--black);
  text-align: center;
  transition: transform 1s var(--ease-io), visibility 0s 1s;
}
.js.is-adult .gate { display: none; }
.gate.is-leaving { transform: translateY(-100%); visibility: hidden; }
.gate__inner { display: flex; flex-direction: column; align-items: center; gap: 2.2rem; max-width: 40rem; }
.gate__logo { width: min(320px, 70vw); height: auto; }
.gate__title { font-family: var(--display); font-size: clamp(1.4rem, 3.4vw, 2.6rem); line-height: 1.08; text-transform: uppercase; letter-spacing: -.01em; color: var(--white); }
.gate__q { margin: 0; font-size: 1.15rem; color: var(--white); }
.gate__actions { display: flex; gap: .8rem; }
.gate__actions .btn { min-width: 8.5rem; }
.gate__legal { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom)); left: var(--g); right: var(--g); margin: 0; font-family: var(--display); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.js:not(.is-adult) body { overflow: hidden; }

/* =========================================================
   En-tête
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--head);
  display: flex; align-items: center; gap: 2rem;
  padding-inline: var(--g);
  transition: transform .5s var(--ease), background-color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-solid { background: rgba(11, 11, 11, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-color: var(--line); }
.header__logo { flex: none; display: block; position: relative; z-index: 2; }
.header__logo img { width: auto; height: 30px; }
@media (max-width: 700px) { .header__logo img { height: clamp(20px, 6.6vw, 26px); } }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(1rem, 2vw, 2.2rem); }
.nav__list a, .header__visit {
  font-family: var(--display);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
}
.nav__list a {
  position: relative;
  display: block;
  padding: .9rem 0;
  color: #a9a5a5;
  transition: color .25s;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .45rem;
  height: 1px; background: var(--white);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__list a:hover, .nav__list a.is-current { color: var(--white); }
.nav__list a:hover::after, .nav__list a.is-current::after { transform: scaleX(1); transform-origin: left; }
.header__visit { transition: background-color .25s, color .25s, border-color .25s; }
.header__visit:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.nav__mobile-info { display: none; }
.header__visit { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border: 1px solid rgba(244,243,243,.25); opacity: 1; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grey-2); flex: none; }
.status-dot.is-open { background: #7fd08a; box-shadow: 0 0 0 4px rgba(127, 208, 138, .15); }
.burger { display: none; }

@media (max-width: 1080px) {
  .burger {
    display: grid; place-content: center; gap: 7px;
    width: 44px; height: 44px; margin-right: -10px;
    position: relative; z-index: 2;
  }
  .burger i { display: block; width: 24px; height: 1.5px; background: var(--white); transition: transform .4s var(--ease); }
  .burger[aria-expanded="true"] i:first-of-type { transform: translateY(4.25px) rotate(45deg); }
  .burger[aria-expanded="true"] i:last-of-type { transform: translateY(-4.25px) rotate(-45deg); }
  .header__visit { margin-left: auto; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: calc(var(--head) + 4vh) var(--g) calc(28px + env(safe-area-inset-bottom));
    background: var(--black);
    visibility: hidden; opacity: 0;
    transition: opacity .4s var(--ease), visibility 0s .4s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transition: opacity .4s var(--ease); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list li { border-top: 1px solid var(--line); }
  .nav__list a { display: block; padding: .9rem 0; font-size: clamp(1.5rem, 7vw, 2.6rem); letter-spacing: -.01em; color: var(--white); }
  .nav__list a::after { display: none; }
  .nav__list a.is-current { color: var(--white); padding-left: 1.2rem; }
  .nav__list a.is-current::before { content: ""; position: absolute; left: 0; top: 50%; width: .6rem; height: 2px; background: var(--white); }
  .nav__mobile-info { display: grid; gap: .5rem; font-size: .95rem; color: var(--grey); }
  .nav__mobile-info p { margin: 0; }
  .nav__mobile-info a { color: var(--white); text-decoration: none; }
  .menu-open .header { background: var(--black); -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
}
@media (max-width: 560px) {
  .header__visit .visit-more { display: none; }
  .header__visit { padding: .7rem .85rem; }
}

/* =========================================================
   Hero : la gamme posée sur le comptoir
   L'image du bar est un bloc au ratio fixe calé en bas du hero ;
   le comptoir est donc toujours à la même hauteur dans l'image
   et les bouteilles sont posées dessus, quel que soit l'écran.
   ========================================================= */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  max-height: 1200px;
  display: flex; flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  container-type: size;              /* pas de padding : les unités cq doivent valoir la hauteur totale */
}
.hero > * {
  --boxh: max(100cqh, 55.85cqw);          /* hauteur de l'image du bar (2000 × 1117) */
  /* du bas du hero au plateau du comptoir : assez de place devant pour
     les légendes (4,4 rem) puis le bouton « Découvrir les six bières » */
  --table: max(calc(var(--boxh) * .175), calc(4.4rem + 76px));
}
.hero__bg {
  /* l'image est calée sur le comptoir : son plateau est à 20,5 % du bas de l'image */
  position: absolute; z-index: -2;
  left: 50%; bottom: calc(var(--table) - var(--boxh) * .205);
  width: max(100cqw, 179.05cqh);
  aspect-ratio: 2000 / 1117;
  transform: translateX(-50%);
}
.hero__bg img { width: 100%; height: 100%; filter: brightness(.74) saturate(.9); }
/* halo chaud qui suit la lumière (couvre tout le hero : aucun bord visible) */
.hero__lamp {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle min(44cqw, 620px) at var(--lx, 50%) var(--ly, 62%), rgba(255, 222, 176, .13), rgba(255, 222, 176, .045) 45%, transparent 72%);
  mix-blend-mode: screen;
  pointer-events: none;
}
/* le devant du comptoir s'assombrit : les légendes y restent lisibles */
.hero__floor {
  position: absolute; z-index: -1; left: 0; right: 0; bottom: 0;
  height: calc(var(--table) - var(--boxh) * .012);
  background: linear-gradient(180deg, rgba(11,11,11,.15), rgba(11,11,11,.62) 30%, rgba(11,11,11,.9) 80%, var(--black));
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,11,11,.86) 0%, rgba(11,11,11,.55) 26%, rgba(11,11,11,0) 52%);
  pointer-events: none;
}
/* en haut, centré : le script de marque et la phrase-titre */
.hero__text {
  position: relative; z-index: 4;
  margin-top: calc(var(--head) + clamp(18px, 4.5vh, 56px));
  width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--g);
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.hero__script {
  width: clamp(300px, 50vw, 900px); height: auto;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, .6));
}
.hero__title {
  margin-top: clamp(.7rem, 1.6vh, 1.3rem);
  font-family: var(--display);
  font-size: clamp(.9rem, 1.4vw, 1.45rem);
  line-height: 1.35;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--white);
  text-wrap: balance;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .8);
}
/* sous les bouteilles, après leurs légendes */
.hero__ctas {
  position: absolute; z-index: 4; left: var(--g); right: var(--g);
  top: calc(100cqh - var(--table) + 4.4rem + 14px);
  display: flex; justify-content: center;
}
.hero__ctas .btn { min-height: 2.9rem; }

/* les bouteilles sur le comptoir */
.shelf {
  /* hauteur d'une bouteille : la plus grande possible sous le texte (--top mesuré en JS) */
  --bh: min(calc(var(--boxh) * .46), 52cqh, calc(100cqh - var(--table) - var(--top, 0px) - 34px));
  --pitch: calc(var(--bh) * .45);              /* entraxe */
  --cap: 4.4rem;                               /* légende sous la bouteille */
  position: absolute; z-index: 3;
  left: 0; right: 0;
  bottom: calc(var(--table) - var(--cap));
  display: flex; justify-content: center; align-items: flex-end;
  margin: 0; padding: 0;
}
.shelf__item {
  flex: none;
  position: relative; z-index: var(--z, 1);
  bottom: calc(var(--boxh) * var(--lift, 0));
  width: calc(var(--pitch) * var(--s, 1));
}
.shelf__item a { display: block; text-decoration: none; color: inherit; }
.shelf__bottle { position: relative; display: block; height: calc(var(--bh) * var(--s, 1)); filter: brightness(var(--lit, 1)); }
.shelf__bottle::before {
  /* ombre de contact sur le bois */
  content: ""; position: absolute; left: 50%; bottom: -1%;
  width: 92%; height: 7%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0,0,0,.75), rgba(0,0,0,.3) 60%, transparent);
  z-index: 0;
}
.shelf__img, .shelf__refl {
  position: absolute; left: 50%; bottom: 0;
  height: 100%; width: auto; max-width: none;
  aspect-ratio: 990 / 1500;
  transform: translateX(-50%);
}
.shelf__img { z-index: 1; }
/* pas de reflet sur le comptoir : le nom et le degré sont posés juste sous chaque bouteille */
.shelf__refl { display: none; }
.shelf__cap {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  height: var(--cap); padding-top: .8rem;
  text-align: center;
  text-shadow: 0 1px 10px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.8);
}
.shelf__cap strong {
  font-family: var(--display); font-weight: 500;
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.25;
  color: var(--white);
  max-width: calc(var(--pitch) * var(--s, 1) + 10px);
  text-wrap: balance;
  padding-bottom: .25rem;
  background: linear-gradient(var(--foil), var(--foil)) 50% 100% / 0 2px no-repeat;
  transition: color .35s var(--ease), background-size .45s var(--ease);
}
.shelf__cap > span { font-size: .85rem; color: #dcd8d8; }

/* survol : la lumière (JS) éclaire la bouteille, son nom prend la couleur de sa dorure */
.shelf__item a:hover .shelf__cap strong, .shelf__item a:focus-visible .shelf__cap strong { color: var(--foil); background-size: 100% 2px; }
.shelf__item a:focus-visible { outline: none; }
.shelf__item a:focus-visible .shelf__cap strong { outline: 1px solid var(--white); outline-offset: 4px; }

/* entrée du hero */
.js .hero__script, .js .hero__title, .js .hero__ctas { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .hero__title { transition-delay: .18s; }
.js .hero__ctas { transition-delay: .32s; }
.js .shelf__item { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(.25s + var(--i) * 70ms); }
.is-ready .hero__script, .is-ready .hero__title, .is-ready .hero__ctas { opacity: 1; transform: none; }
.is-ready .shelf__item { opacity: 1; transform: none; }

.shelf__legend { display: none; }

/* ---------- Hero mobile : toute la gamme d'un coup d'œil ----------
   Le bloc centré est au milieu de l'espace libre au-dessus du comptoir ;
   les six bouteilles y sont posées en escalier, sans défilement.
   Sous le comptoir : une seule légende. */
@media (max-width: 700px) {
  .hero { min-height: 600px; }
  .hero > * { --table: calc(var(--boxh) * .235); }   /* comptoir plus haut : légende puis bouton dessous */
  .hero__text { margin-top: calc(var(--head) + clamp(20px, 22svh - 50px, 140px)); }
  .hero__script { width: min(100%, 440px); }
  .hero__title { font-size: .95rem; letter-spacing: .18em; max-width: 22rem; }
  .hero__ctas { top: calc(100cqh - var(--table) + 84px); }
  .hero__ctas .btn { padding: 0 1.4rem; }
  .shelf {
    /* entraxe serré (les bouteilles du fond passent juste derrière celles de devant) :
       largeur de la rangée en escalier = 5,3 × entraxe = 1,908 × hauteur de la bouteille du centre */
    --bh: min(calc((100cqw - 2 * var(--g) - 16px) / 1.908), 40cqh, calc(100cqh - var(--table) - var(--top, 0px) - 26px));
    --pitch: calc(var(--bh) * .36);
  }
  .js .shelf { bottom: var(--table); }
  /* les légendes restent lues par les lecteurs d'écran ; à l'écran, une seule légende commune */
  .js .shelf__cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .js .shelf__legend {
    position: absolute; z-index: 4; left: var(--g); right: var(--g);
    top: calc(100cqh - var(--table) + 18px);
    display: flex; flex-direction: column; align-items: center; gap: .35rem;
    margin: 0; text-align: center;
    text-shadow: 0 1px 10px rgba(0,0,0,.9);
    pointer-events: none;
  }
  .shelf__legend strong {
    font-family: var(--display); font-weight: 500;
    font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2;
    color: var(--white);
    padding-bottom: .4rem;
    background: linear-gradient(var(--foil, var(--grey-2)), var(--foil, var(--grey-2))) 50% 100% / 2.2rem 2px no-repeat;
  }
  .shelf__legend span { font-size: .9rem; color: #cfcbcb; }
  /* pas de survol sur mobile : pas de halo qui suit la lumière */
  .hero__lamp { display: none; }
}

/* =========================================================
   La cime blanche
   ========================================================= */
.cime { position: relative; overflow-x: clip; padding: clamp(56px, 9vh, 110px) 0 clamp(80px, 12vh, 160px); }
.cime__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem clamp(2rem, 6vw, 7rem); align-items: start; }
.cime__text p:not(.lead) { max-width: 36rem; }
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 9vh, 110px);
}
.facts > div { border-top: 1px solid var(--line-2); padding: 1.2rem 1.5rem 0 0; }
.facts dt { font-family: var(--display); font-size: clamp(1rem, 1.4vw, 1.25rem); text-transform: uppercase; letter-spacing: -.005em; color: var(--white); margin-bottom: .4rem; }
.facts dd { margin: 0; font-size: .95rem; color: var(--grey); }

@media (max-width: 900px) {
  .cime__body { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 1.6rem; }
}

/* =========================================================
   La gamme
   ========================================================= */
.gamme { position: relative; padding-top: clamp(80px, 12vh, 150px); overflow-x: clip; }
.gamme__intro {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 2fr);
  gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start;
  margin-bottom: clamp(24px, 4vh, 48px);
}
.gamme__introtext p { max-width: 34rem; }
.gamme__count { display: flex; flex-direction: column; gap: .5rem; margin: 0; }
.gamme__count strong { font-family: var(--display); font-weight: 500; font-size: clamp(3rem, 5vw, 5.4rem); line-height: .85; letter-spacing: -.04em; color: var(--white); }
.gamme__count span { font-size: .9rem; color: var(--grey); line-height: 1.4; }

.range {
  position: relative;
  display: grid;
  grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr) minmax(20rem, 31rem);
  gap: 0 clamp(1.5rem, 3vw, 4rem);
  max-width: var(--max); margin: 0 auto;
  padding: clamp(32px, 6vh, 80px) var(--g) clamp(40px, 6vh, 80px);
  align-items: start;
  isolation: isolate;
}
.range::before {
  /* la pièce s'éclaire à la couleur de la dorure */
  content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -2;
  background:
    radial-gradient(ellipse 52% 46% at 42% 62%, color-mix(in srgb, var(--foil) 22%, transparent), transparent 72%);
  -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
}
.range__ambient { display: none; }
.range__ridge {
  position: absolute; z-index: -1;
  left: var(--ridge-l, -40vw); width: 120vw;
  top: calc(clamp(32px, 6vh, 80px) + min(76vh, 780px) * .42); height: min(30vw, 46vh);
  opacity: .85;
  /* la crête s'éteint avant la colonne de texte */
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 42%, #000 var(--ridge-m, 72%), transparent var(--ridge-e, 78%));
          mask-image: linear-gradient(90deg, transparent 30%, #000 42%, #000 var(--ridge-m, 72%), transparent var(--ridge-e, 78%));
}
.range__ridge .s-d { stop-color: var(--foil-d); }
.range__ridge .s-b { stop-color: var(--foil); }
.range__ridge .s-l { stop-color: var(--foil-l); }
.range { transition: --foil .35s ease-out, --foil-l .35s ease-out, --foil-d .35s ease-out; }

/* onglets */
.range__tabs { display: flex; flex-direction: column; }
.range__tabs [role="tab"] {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: .2rem;
  width: 100%;
  padding: 1rem 0 1rem 1.6rem;
  border-top: 1px solid var(--line);
  text-align: left;
  color: var(--grey-2);
  transition: color .4s var(--ease);
}
.range__tabs [role="tab"]:last-child { border-bottom: 1px solid var(--line); }
.range__tabs [role="tab"]::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: .9rem; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.tab__style { font-family: var(--display); font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; }
.tab__kind { font-size: .85rem; color: var(--grey-2); }
.range__tabs [role="tab"]:hover { color: var(--white); }
.range__tabs [aria-selected="true"] { color: var(--c); }
.range__tabs [aria-selected="true"]::before { transform: scaleX(1); }
.range__tabs [aria-selected="true"] .tab__kind { color: var(--grey); }

/* scène bouteille */
.range__stage {
  position: relative;
  height: min(76vh, 780px);
  touch-action: pan-y;
}
.range__stage::after {
  content: ""; position: absolute; left: 50%; bottom: -3%;
  width: 70%; height: 12%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--foil) 55%, transparent), transparent);
  filter: blur(6px);
  opacity: .6;
  z-index: -1;
}
.bottle {
  position: absolute; left: 50%; bottom: 0;
  height: 100%; aspect-ratio: 990 / 1500;
  transform: translateX(-50%) translateX(var(--from, 10%)) scale(.94);
  opacity: 0;
  filter: brightness(0);
  transition: opacity .7s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease);
  pointer-events: none;
}
.bottle.is-active { opacity: 1; transform: translateX(-50%); filter: brightness(1); transition-delay: .12s; }
.bottle.is-leaving { opacity: 0; transform: translateX(-50%) translateX(var(--to, -10%)) scale(.94); filter: brightness(0); transition-delay: 0s; }
.bottle__img { width: 100%; height: 100%; object-fit: contain; }
.bottle__reflect {
  position: absolute; left: 0; top: 100%;
  width: 100%; height: 100%; object-fit: contain;
  transform: scaleY(-1);
  opacity: .14;
  /* le masque est retourné avec l'image : opaque en bas = contre le pied de la bouteille */
  -webkit-mask-image: linear-gradient(to bottom, transparent 70%, #000 100%);
          mask-image: linear-gradient(to bottom, transparent 70%, #000 100%);
}
.bottle__sheen {
  position: absolute; inset: 0;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  background: linear-gradient(100deg, transparent 38%, rgba(255,255,255,.0) 42%, rgba(255,255,255,.42) 50%, rgba(255,255,255,0) 58%, transparent 62%) no-repeat;
  background-size: 260% 100%;
  background-position: 130% 0;
  mix-blend-mode: screen;
  pointer-events: none;
}
.bottle.is-glint .bottle__sheen { animation: sheen 1.5s .35s var(--ease-io) both; }
@keyframes sheen { from { background-position: 130% 0; } to { background-position: -30% 0; } }

.range__nav {
  position: absolute; left: 50%; bottom: -4.2rem;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 1.4rem;
  font-family: var(--display); font-size: .72rem; letter-spacing: .14em; color: var(--grey);
}
.arrow {
  width: 44px; height: 44px;
  display: grid; place-content: center;
  border: 1px solid var(--line-2);
  font-family: var(--sans); font-size: 1.1rem; color: var(--white);
  transition: border-color .3s, background-color .3s, color .3s;
}
.arrow:hover { border-color: var(--white); background: var(--white); color: var(--black); }
.range__counter { white-space: nowrap; }
.range__counter span { color: var(--white); }

/* fiches */
.range__panels { position: relative; display: grid; min-height: min(76vh, 780px); }
.panel { grid-area: 1 / 1; }
.panel[hidden] { display: none; }
.panel__title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.2vw, 4.4rem);
  line-height: .92;
  letter-spacing: -.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-top: .06em;
}
.panel__style {
  background-image: linear-gradient(100deg, var(--foil-d) 0%, var(--foil) 26%, var(--foil-l) 46%, var(--foil) 64%, var(--foil-d) 100%);
  background-size: 220% 100%;
  background-position: calc(var(--sx, .5) * 100%) 0;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-position 1.2s var(--ease);
}
.panel__name { font-family: var(--display); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 1.4rem; }
.panel__name span { color: var(--grey-2); margin: 0 .35em; }
.panel__ltd { display: inline-block; font-family: var(--display); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--foil); border: 1px solid currentColor; padding: .4rem .6rem; margin: -.4rem 0 1.4rem; }
.panel__desc { color: var(--white); font-size: 1.08rem; line-height: 1.55; }
.panel__serve { color: var(--grey); font-style: italic; margin-bottom: 1.8rem; }

.profile { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; margin: 0 0 2rem; }
.profile > div { display: flex; flex-direction: column; gap: .5rem; padding: .85rem 0; border-top: 1px solid var(--line-2); }
.profile dt { font-family: var(--display); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.profile dt small { font-size: 1em; letter-spacing: .06em; color: var(--grey-2); }
.profile dd { margin: 0; }
.bars { display: flex; gap: 4px; }
.bars i { width: 22px; height: 4px; background: var(--line-2); }
.bars i.on { background: var(--foil); }
.profile__abv { font-family: var(--display); font-size: 1.3rem; line-height: 1; color: var(--white); }

.medals { border-top: 1px solid var(--line-2); }
.medals li { display: grid; grid-template-columns: 3.4rem 1fr; gap: .1rem 1rem; padding: .62rem 0; border-bottom: 1px solid var(--line); }
.m__y { grid-row: span 2; font-family: var(--display); font-size: .8rem; color: var(--white); padding-top: .2rem; }
.m__t { color: var(--white); font-weight: 400; font-size: .98rem; line-height: 1.3; }
.m__t::first-letter { text-transform: uppercase; }
.m__t em { font-style: normal; color: var(--grey); margin-left: .4em; }
.m__c { font-size: .85rem; color: var(--grey); line-height: 1.35; }

.panel.is-active > * { animation: panelIn .9s var(--ease) both; }
.panel.is-active > :nth-child(2) { animation-delay: .06s; }
.panel.is-active > :nth-child(3) { animation-delay: .12s; }
.panel.is-active > :nth-child(4) { animation-delay: .16s; }
.panel.is-active > :nth-child(5) { animation-delay: .2s; }
.panel.is-active > :nth-child(n+6) { animation-delay: .26s; }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.panel.is-active .panel__title { animation: none; overflow: hidden; }
.panel.is-active .panel__title .panel__style { display: inline; animation: titleIn 1s var(--ease) both; }
@keyframes titleIn { from { opacity: 0; letter-spacing: .04em; filter: blur(6px); } to { opacity: 1; letter-spacing: -.03em; filter: none; } }

.gamme__more { padding-bottom: clamp(60px, 10vh, 120px); margin-top: clamp(20px, 4vh, 40px); }

@media (max-width: 1180px) {
  .range { grid-template-columns: minmax(0, 1fr) minmax(18rem, 27rem); }
  .range__tabs { position: relative; grid-column: 1 / -1; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--g) * -1) 2rem; padding: 0 var(--g); gap: 0; }
  .range__tabs::-webkit-scrollbar { display: none; }
  .range__tabs [role="tab"] { flex: none; width: auto; scroll-snap-align: start; padding: .9rem 1.4rem .9rem 0; margin-right: 1.4rem; border-top: 0; border-bottom: 1px solid var(--line) !important; }
  .range__tabs [role="tab"]::before { top: auto; bottom: -1px; width: 100%; height: 2px; }
}
@media (max-width: 900px) {
  .gamme__intro { grid-template-columns: 1fr; }
  .gamme__count { flex-direction: row; align-items: flex-end; gap: 1rem; }
  .range { grid-template-columns: 1fr; min-height: 0; }
  .range__stage { height: min(58svh, 520px); margin-bottom: 5.6rem; }
  .range__panels { min-height: 0; padding-top: 0; }
  .bottle__reflect { display: none; }
  .range__tabs { scroll-padding-inline: var(--g); }
  .range__ridge { left: -60vw; width: 200vw; top: 30vw; height: 46vw; -webkit-mask-image: none; mask-image: none; opacity: .7; }
  .range::before { background: radial-gradient(ellipse 80% 40% at 50% 34%, color-mix(in srgb, var(--foil) 24%, transparent), transparent 70%); }
}
@media (max-width: 560px) {
  .tab__kind { display: none; }
  .profile { gap: 0 1.2rem; }
}
/* mobile : la bouteille et son nom tiennent dans le même écran,
   flèches de part et d'autre de la bouteille */
@media (max-width: 700px) {
  .range { padding-top: 0; }
  .range__tabs { margin-bottom: .6rem; }
  .range__stage { height: min(50svh, 440px); margin-bottom: 1.8rem; }
  .range__nav { left: 0; right: 0; top: 50%; bottom: auto; transform: translateY(-50%); justify-content: space-between; pointer-events: none; }
  .range__nav .arrow { pointer-events: auto; background: rgba(11, 11, 11, .45); border-color: rgba(244, 243, 243, .22); }
  .range__counter { display: none; }
  .panel__title { font-size: clamp(2.3rem, 11vw, 3rem); margin-bottom: .7rem; }
}

/* =========================================================
   La fabrique
   ========================================================= */
.fabrique { padding: clamp(80px, 13vh, 170px) 0 clamp(60px, 10vh, 120px); border-top: 1px solid var(--line); }
.fabrique__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 6vw, 7rem); align-items: end; margin-bottom: clamp(48px, 8vh, 100px); }
.fabrique__head .lead { margin: 0; }
.fabrique__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem clamp(2rem, 6vw, 7rem); align-items: start; margin-bottom: 2.5rem; }
.fabrique__figure {
  position: sticky; top: calc(var(--head) + 4vh);
  margin: 0;
  aspect-ratio: 4 / 5;
  max-height: calc(100vh - var(--head) - 8vh);
  overflow: hidden;
  background: var(--black-2);
}
.fab-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(100% 0 0 0);
  transform: scale(1.08);
  transition: clip-path 1.1s var(--ease-io), transform 1.6s var(--ease);
  z-index: 1;
}
.fab-img.is-active { clip-path: inset(0 0 0 0); transform: none; z-index: 2; }
.fab-img.is-prev { clip-path: inset(0 0 0 0); transform: none; z-index: 1; transition: none; }
.fab-img.is-reset { transition: none; }
.fabrique__figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; gap: 1rem; align-items: baseline;
  padding: 3rem 1.4rem 1.2rem;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  font-family: var(--display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white);
}
#fab-cap-num { color: var(--grey); }

.steps { border-bottom: 1px solid var(--line-2); }
.step { border-top: 1px solid var(--line-2); }
.step button {
  width: 100%;
  display: grid; grid-template-columns: 3.2rem 1fr; align-items: baseline;
  padding: 1.15rem 0;
  text-align: left;
  color: var(--grey-2);
  transition: color .4s var(--ease);
}
.step__n { font-family: var(--display); font-size: .72rem; letter-spacing: .1em; }
.step__t { font-family: var(--display); font-size: clamp(1.2rem, 2.1vw, 2rem); line-height: 1.05; text-transform: uppercase; letter-spacing: -.015em; }
.step button:hover, .step.is-active button { color: var(--white); }
/* focus clavier : le titre se souligne, plutôt qu'un cadre qui déborde des filets */
.step button:focus-visible { outline: none; }
.step button:focus-visible .step__t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.step__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.step__body p { overflow: hidden; margin: 0; padding-left: 3.2rem; max-width: 38rem; color: var(--text); }
.step.is-active .step__body { grid-template-rows: 1fr; }
.step.is-active .step__body p { padding-bottom: 1.4rem; }

.step__img, .fab-progress { display: none; }

@media (max-width: 900px) {
  .fabrique__head, .fabrique__grid { grid-template-columns: 1fr; }
  .fabrique__figure { position: relative; top: 0; aspect-ratio: 4 / 4.2; max-height: none; }
  .step__body p { padding-left: 3.2rem; }
}

/* mobile : les huit étapes deviennent des cartes qu'on fait glisser,
   chacune avec sa photo et son texte (plus de photo loin de l'étape lue) */
@media (max-width: 700px) {
  .fabrique__figure { display: none; }
  .fabrique__grid { display: block; margin-bottom: 1.6rem; }
  .steps {
    display: flex; gap: 12px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--g) * -1); padding-inline: var(--g);
    scroll-padding-inline: var(--g);
    border-bottom: 0;
  }
  .steps::-webkit-scrollbar { display: none; }
  .step {
    flex: 0 0 min(84%, 360px);
    scroll-snap-align: start;
    display: flex; flex-direction: column;
    border-top: 0;
    background: var(--black-2);
  }
  .step__img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
  .step button { grid-template-columns: 2.4rem 1fr; padding: 1.1rem 1.1rem .7rem; color: var(--white); cursor: default; }
  .step__t { font-size: 1.25rem; }
  .step__body, .step.is-active .step__body { grid-template-rows: 1fr; }
  .step__body p, .step.is-active .step__body p { padding: 0 1.1rem 1.3rem; font-size: .98rem; line-height: 1.5; }
  .fab-progress { display: block; position: relative; height: 2px; margin-top: 1.2rem; background: var(--line-2); overflow: hidden; }
  .fab-progress span { position: absolute; inset: 0; background: var(--white); transform-origin: left; transform: scaleX(var(--p, .125)); transition: transform .3s var(--ease); }
}

/* =========================================================
   L'aigle royal
   ========================================================= */
.aigle {
  position: relative;
  min-height: 104vh;
  display: flex; align-items: flex-end;
  padding: clamp(140px, 30vh, 320px) 0 clamp(70px, 12vh, 140px);
  overflow: hidden;
  isolation: isolate;
}
.aigle__media {
  position: absolute; inset: 0; z-index: -1;
  clip-path: inset(var(--ci, 0%) var(--cx, 0%));
  will-change: clip-path;
}
.aigle__media img {
  width: 100%; height: 108%; object-fit: cover; object-position: 42% 0%;
  transform: translate3d(var(--px, 0), var(--py, -4%), 0);
  filter: brightness(.5) contrast(1.08);
}
.aigle__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,11,.7) 0%, rgba(11,11,11,0) 30%, rgba(11,11,11,.15) 55%, rgba(11,11,11,.92) 100%); }
.aigle__content { position: relative; }
.aigle__tagline { display: block; width: min(980px, 92%); height: auto; margin: 0 auto clamp(80px, 22vh, 260px); }
.aigle__cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem clamp(2rem, 6vw, 7rem); align-items: end; }
.aigle__cols .h3 { margin-bottom: 1rem; }
.aigle__cols p { color: #dedada; }
.aigle__lead { font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.35; color: var(--white) !important; }
.aigle__words { font-family: var(--display); font-size: clamp(1.4rem, 2.8vw, 2.6rem); line-height: 1; text-transform: uppercase; letter-spacing: -.02em; color: var(--white) !important; margin: 1.6rem 0 0; }
.aigle__words span { display: inline-block; }
@media (max-width: 900px) {
  .aigle { min-height: 0; }
  .aigle__cols { grid-template-columns: 1fr; }
  .aigle__tagline { width: 100%; margin-bottom: 72px; }
  .aigle__media img { object-position: 45% 0%; }
}

/* =========================================================
   L'équipe
   ========================================================= */
.equipe { padding: clamp(90px, 14vh, 180px) 0 clamp(60px, 10vh, 120px); }
.equipe__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 6vw, 7rem); align-items: end; margin-bottom: clamp(48px, 8vh, 100px); }
.equipe__head .lead { margin: 0; }
.equipe__duo { margin: 0 auto; max-width: var(--max); padding-inline: var(--g); }
.equipe__duo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 6%; }
.js .equipe__duo[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 var(--g) 0 var(--g)); }
.js .equipe__duo[data-reveal] img { clip-path: inset(6% 6% 12% 6%); transform: scale(1.06); transition: clip-path 1.4s var(--ease-io), transform 1.8s var(--ease); }
.js .equipe__duo.is-in img { clip-path: inset(0 0 0 0); transform: none; }
.quote { margin-block: clamp(70px, 12vh, 150px); }
.quote p { font-weight: 300; font-size: clamp(1.8rem, 4.6vw, 5rem); line-height: 1.06; letter-spacing: -.02em; color: var(--white); max-width: 22ch; margin-bottom: 1.6rem; text-wrap: balance; }
.quote footer { font-family: var(--display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem clamp(2rem, 4vw, 5rem); }
.person__img { overflow: hidden; margin-bottom: 1.6rem; }
.person__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: brightness(.88); transition: transform 1.4s var(--ease), filter .8s var(--ease); }
.person:hover .person__img img { transform: scale(1.03); filter: brightness(1); }
.person .h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; margin-bottom: .9rem; }
.person .h3 span { font-family: var(--sans); font-weight: 300; font-style: italic; text-transform: none; font-size: 1.05rem; letter-spacing: 0; color: var(--grey); }
.person p { max-width: 36rem; }
.equipe__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: clamp(48px, 8vh, 90px); padding-top: 1.4rem; border-top: 1px solid var(--line-2); }
.press { margin: 0; font-size: .95rem; color: var(--grey); }
.press > span { font-family: var(--display); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-right: 1rem; }
@media (max-width: 900px) {
  .equipe__head, .duo { grid-template-columns: 1fr; }
  .equipe__duo img { aspect-ratio: 4 / 3; }
}

/* =========================================================
   Nos valeurs
   ========================================================= */
.valeurs { padding: clamp(90px, 14vh, 170px) 0; background: var(--black-2); border-block: 1px solid var(--line); }
.valeurs__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem clamp(2rem, 6vw, 7rem); align-items: start; }
.valeurs__head .h2 { margin-bottom: 2rem; font-size: clamp(2rem, 3.8vw, 4rem); }
.valeurs__head p { max-width: 34rem; }
.commit { border-bottom: 1px solid var(--line-2); }
.commit li { display: grid; grid-template-columns: 3.2rem 1fr; padding: 1.25rem 0; border-top: 1px solid var(--line-2); }
.commit__n { font-family: var(--display); font-size: .72rem; letter-spacing: .1em; color: var(--grey-2); padding-top: .3rem; }
.commit p { margin: 0; color: var(--grey); }
.commit strong { font-weight: 400; color: var(--white); }
@media (max-width: 900px) {
  .valeurs__grid { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   Visite / boutique
   ========================================================= */
.visite { padding-bottom: clamp(80px, 12vh, 150px); }
.visite__hero { position: relative; margin: 0; height: min(78vh, 820px); overflow: hidden; }
.visite__hero img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 30%; transform: translate3d(0, var(--vy, -6%), 0); }
.visite__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,11,.55) 0%, rgba(11,11,11,0) 26%, rgba(11,11,11,0) 55%, var(--black) 100%); }
.visite__head { position: relative; z-index: 2; margin-top: calc(clamp(60px, 12vh, 140px) * -1); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(48px, 8vh, 96px); }
#horaires { scroll-margin-top: calc(var(--head) + 8px); }
/* « Découvrir les bières » : les onglets et le nom de la bière arrivent juste sous l'en-tête */
#range { scroll-margin-top: calc(28px - clamp(32px, 6vh, 80px)); }
@media (max-width: 700px) { #range { scroll-margin-top: 18px; } }
.open-status { margin: 0; display: inline-flex; align-items: center; gap: .8rem; font-size: 1.05rem; color: var(--white); justify-self: start; }
.open-status:empty { display: none; }
.visite__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem clamp(2rem, 4vw, 5rem); }
.visite__col { border-top: 1px solid var(--line-2); padding-top: 1.3rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; vertical-align: top; padding: .55rem 0; border-bottom: 1px solid var(--line); font-weight: 300; }
.hours th { color: var(--grey); padding-right: 1rem; }
.hours td { color: var(--white); white-space: nowrap; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--white); }
.hours tr.is-today th { font-weight: 400; }
.hours tr.is-today th::after { content: " · aujourd'hui"; font-weight: 300; font-style: italic; color: var(--grey); }
address { font-style: normal; color: var(--white); }
address a { text-decoration: none; border-bottom: 1px solid var(--line-2); transition: border-color .3s; }
address a:hover { border-color: var(--white); }
.services li { padding: .55rem 0; border-bottom: 1px solid var(--line); color: var(--grey); }
.services strong { font-weight: 400; color: var(--white); }
.visite__photos { display: grid; grid-template-columns: 4fr 6fr 4fr; gap: clamp(12px, 1.6vw, 24px); align-items: start; margin-top: clamp(60px, 10vh, 120px); }
.visite__photos figure { margin: 0; overflow: hidden; }
.visite__photos img { width: 100%; object-fit: cover; }
.visite__photos figure:nth-child(1) img { aspect-ratio: 3 / 4; }
.visite__photos figure:nth-child(2) { margin-top: 18%; }
.visite__photos figure:nth-child(2) img { aspect-ratio: 4 / 3; }
.visite__photos figure:nth-child(3) img { aspect-ratio: 3 / 4; }
.visite__photos figure:nth-child(3) { margin-top: 36%; }
.visite__ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: clamp(48px, 8vh, 90px); }
@media (max-width: 900px) {
  .visite__head { grid-template-columns: 1fr; }
  .visite__grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .visite__hero { height: 56svh; }
  .visite__photos { grid-template-columns: 1fr 1fr; }
  .visite__photos figure:nth-child(2) { grid-column: 1 / -1; grid-row: 1; margin-top: 0; }
  .visite__photos figure:nth-child(3) { margin-top: 18%; }
}

/* =========================================================
   Pied de page
   ========================================================= */
.footer { position: relative; padding: 0 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--black); }
.footer__crest { display: block; width: min(760px, 100%); height: auto; margin: clamp(48px, 8vh, 96px) auto 0; padding-inline: var(--g); overflow: visible; }
.footer__crest path { fill: none; stroke: #a8a8a8; stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .footer__crest path { stroke-dashoffset: 1; transition: stroke-dashoffset 3.2s var(--ease-io); }
.js .footer__crest.is-in path { stroke-dashoffset: 0; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr 1fr; gap: 2.4rem 3rem; padding-block: clamp(48px, 7vh, 80px) 3rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
.footer__logo { width: 170px; height: auto; }
.footer p { margin-bottom: .7rem; color: var(--grey); }
.footer a { text-decoration: none; color: var(--white); transition: opacity .3s; }
.footer a:hover { opacity: .65; }
.footer nav li { margin-bottom: .45rem; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.6rem; font-size: .82rem; }
.footer__legal p { margin: 0; }
.footer__legal a { color: var(--grey); }
.footer__health { font-family: var(--display); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white) !important; }
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__logo { grid-column: 1 / -1; }
}

/* =========================================================
   Mobile : un rythme plus serré entre les sections
   ========================================================= */
@media (max-width: 700px) {
  body { font-size: 1rem; }
  .cime { padding: 56px 0 64px; }
  .facts { margin-top: 44px; }
  .facts > div { padding-right: 1rem; }
  .gamme { padding-top: 64px; }
  .gamme__intro { margin-bottom: 20px; }
  .gamme__more { padding-bottom: 56px; margin-top: 8px; }
  .fabrique { padding: 64px 0 56px; }
  .fabrique__head { margin-bottom: 32px; }
  .aigle { padding: 96px 0 64px; }
  .equipe { padding: 72px 0 56px; }
  .equipe__head { margin-bottom: 32px; }
  .quote { margin-block: 48px; }
  .duo { gap: 2.6rem; }
  .person__img { margin-bottom: 1.1rem; }
  .equipe__foot { margin-top: 44px; }
  .valeurs { padding: 64px 0; }
  .valeurs__grid { gap: 2rem; }
  .valeurs__head .h2 { font-size: min(2rem, 8.6vw); }
  .commit li { padding: 1rem 0; grid-template-columns: 2.6rem 1fr; }
  .visite { padding-bottom: 64px; }
  .visite__head { margin-bottom: 36px; }
  .visite__photos { margin-top: 48px; gap: 10px; }
  .visite__ctas { margin-top: 40px; }
  .visite__ctas .btn { flex: 1 1 100%; }
  .footer__grid { padding-block: 40px 2rem; }
}

/* =========================================================
   Écrans tactiles : pas de survol, donc tout ce qui se touche
   doit se voir au premier regard
   ========================================================= */
@media (hover: none), (max-width: 700px) {
  html { -webkit-tap-highlight-color: transparent; }   /* remplacé par les états :active ci-dessous */
  /* les liens « → » deviennent des boutons à contour, comme « Venir à la brasserie » */
  .link {
    display: flex; justify-content: space-between; gap: 1rem;
    width: 100%; max-width: 30rem; min-height: 3.1rem;
    padding: .85rem 1.1rem;
    line-height: 1.35;
    border: 1px solid rgba(244, 243, 243, .32);
    background: none;
    transition: background-color .2s, color .2s, border-color .2s;
  }
  .link:hover { background: none; }
  .link:active { background: var(--white); color: var(--black); border-color: var(--white); }
  .equipe__foot .link, .valeurs__head .link { margin-top: .4rem; }
  .visite__col .link { margin-top: 1.4rem; }
  /* téléphone, e-mail, réseaux, mentions : soulignés comme de vrais liens */
  address a, .nav__mobile-info a, .footer p a, .footer__legal a {
    border-bottom: 0;
    text-decoration: underline; text-underline-offset: .28em; text-decoration-thickness: 1px;
    text-decoration-color: rgba(244, 243, 243, .45);
  }
  address a { display: inline-block; padding: .3rem 0; }
  /* retour visuel au toucher */
  .btn:active { background: var(--white); color: var(--black); border-color: var(--white); }
  .btn--solid:active { background: #cfcccc; border-color: #cfcccc; }
  .arrow:active, .header__visit:active { background: var(--white); color: var(--black); border-color: var(--white); }
  .shelf__item a:active .shelf__bottle { transform: scale(.96); }
  .shelf__bottle { transition: transform .15s; }
  .range__tabs [role="tab"]:active, .nav__list a:active, .footer a:active { opacity: .6; }
}

/* =========================================================
   Apparitions
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-top: .1em; margin-top: -.1em; padding-bottom: .04em; margin-bottom: -.04em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js [data-split].is-in .w > span { transform: none; }

/* =========================================================
   Mouvement réduit : tout est lisible, rien ne bouge
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-split] .w > span, .js .hero__script, .js .hero__title, .js .hero__ctas, .js .shelf__item { opacity: 1 !important; transform: none !important; }
  .js .equipe__duo[data-reveal] img { clip-path: none; transform: none; }
  .aigle__media { clip-path: none !important; }
  .js .footer__crest path { stroke-dashoffset: 0; }
}
