/* Brasserie La Gironde — maquette
   Le thème (couleurs) change avec la bière choisie : les variables sont déclarées avec @property
   pour que le navigateur puisse interpoler les couleurs pendant la transition. */

@property --bg { syntax: '<color>'; inherits: true; initial-value: #8f88c2; }
@property --on { syntax: '<color>'; inherits: true; initial-value: #1d1838; }
@property --accent { syntax: '<color>'; inherits: true; initial-value: #f28ba1; }
@property --on-accent { syntax: '<color>'; inherits: true; initial-value: #1d1838; }
@property --paper { syntax: '<color>'; inherits: true; initial-value: #f1eff9; }
@property --deep { syntax: '<color>'; inherits: true; initial-value: #221c42; }
@property --beer { syntax: '<color>'; inherits: true; initial-value: #f2b45a; }

:root {
  --bg: #8f88c2; --on: #1d1838; --accent: #f28ba1; --on-accent: #1d1838;
  --paper: #f1eff9; --deep: #221c42; --beer: #f2b45a;
  --gold: #cf9940; --night: #15110e; --cream: #f1e6d0;
  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-text: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gut: clamp(16px, 2.4vw, 36px);
  --sec: clamp(96px, 12vw, 200px);
  --h2: clamp(38px, 6.4vw, 108px);
  transition: --bg 1s var(--ease), --on 1s var(--ease), --accent 1s var(--ease), --on-accent 1s var(--ease),
              --paper 1s var(--ease), --deep 1s var(--ease), --beer 1s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--deep);
  font: 400 clamp(16px, 1.15vw, 18px)/1.55 var(--f-text);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--deep); color: var(--paper); padding: 12px 18px; }
.skip:focus { top: 12px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Logo : le PNG sert de masque, sa couleur suit le thème */
.logo {
  display: block; aspect-ratio: 1400 / 860; background: currentColor;
  -webkit-mask: url(../img/brand/logo.png) center / contain no-repeat;
  mask: url(../img/brand/logo.png) center / contain no-repeat;
}

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; overflow: hidden;
  font: 600 15px/1 var(--f-text); text-decoration: none; letter-spacing: .01em;
  transition: background-color .4s var(--ease), color .4s var(--ease);
  translate: calc(var(--mx, 0) * 1px) calc(var(--my, 0) * 1px);
}
/* le texte « roule » au survol : sa copie est une ombre portée placée sous le bouton */
.btn span { display: block; transition: transform .55s var(--ease); text-shadow: 0 2.4em currentColor; }
.btn:hover span, .btn:focus-visible span { transform: translateY(-2.4em); }
.btn:active { scale: .96; }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--gold { background: var(--gold); color: var(--night); }
.btn--ghost { background: color-mix(in srgb, currentColor 12%, transparent); }
.btn--ghost:hover { background: color-mix(in srgb, currentColor 20%, transparent); }

.link {
  font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
  padding-bottom: 3px; transition: background-size .5s var(--ease);
}
.link:hover { background-size: 0 2px; background-position: 100% 100%; }

.round {
  width: 54px; height: 54px; border: 0; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--on) 14%, transparent); color: var(--on);
  transition: background-color .35s var(--ease), color .35s var(--ease);
  translate: calc(var(--mx, 0) * 1px) calc(var(--my, 0) * 1px);
}
.round:hover { background: var(--accent); color: var(--on-accent); }
.round:active { scale: .9; }
.round svg, .panel__nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Chargement : la tireuse remplit le « B » du logo ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden;
  background: var(--night); color: var(--cream);
}
html.pt-in .loader { display: none; }
.loader__stage { --bh: min(25vh, 230px); display: grid; justify-items: center; }
.tap { width: calc(var(--bh) * .62); height: auto; margin-bottom: calc(var(--bh) * .05); overflow: visible; translate: calc(var(--bh) * .04) 0; }
.tap__metal { fill: var(--cream); }
.tap__shade { fill: color-mix(in srgb, var(--cream) 62%, var(--night)); }
.tap__handle { fill: var(--gold); }
.glassb { --fill: 0; --pour: 0; position: relative; height: var(--bh); aspect-ratio: 524 / 619;
  margin: calc(var(--bh) * .29) calc(var(--bh) * .32) calc(var(--bh) * .28) calc(var(--bh) * .4); }
.loader__ring {
  position: absolute; left: calc(var(--bh) * -400 / 619); top: calc(var(--bh) * -338 / 619); width: calc(var(--bh) * 1272 / 619); aspect-ratio: 1272 / 1291;
  background: var(--cream); opacity: .3; transform-origin: 50% 50%;
  -webkit-mask: url(../img/brand/badge-ring.png) center / contain no-repeat; mask: url(../img/brand/badge-ring.png) center / contain no-repeat;
}
.glassb__ghost, .glassb__fill {
  position: absolute; inset: 0;
  -webkit-mask: url(../img/brand/b-mark.png) center / contain no-repeat;
  mask: url(../img/brand/b-mark.png) center / contain no-repeat;
}
.glassb__ghost { background: color-mix(in srgb, var(--cream) 15%, transparent); }
.glassb__liquid { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--fill) * 1%); background: var(--gold); }
.glassb__foam { position: absolute; left: 0; right: 0; bottom: calc(100% - 2px); height: 12px; background: #fbf2df; transform-origin: 50% 100%; }
.glassb__wave { position: absolute; left: 0; bottom: calc(100% + 10px); width: 200%; height: 14px; fill: #fbf2df; animation: wave 1.3s linear infinite; }
.glassb__liquid i { position: absolute; bottom: 4%; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); animation: bubble 1.9s linear infinite; }
.glassb__liquid i:nth-of-type(2) { left: 22%; animation-delay: -.4s; } .glassb__liquid i:nth-of-type(3) { left: 38%; width: 4px; height: 4px; animation-delay: -1.1s; }
.glassb__liquid i:nth-of-type(4) { left: 55%; animation-delay: -.7s; } .glassb__liquid i:nth-of-type(5) { left: 68%; width: 4px; height: 4px; animation-delay: -1.5s; }
.glassb__liquid i:nth-of-type(6) { left: 80%; animation-delay: -.2s; } .glassb__liquid i:nth-of-type(7) { left: 12%; width: 5px; height: 5px; animation-delay: -1.3s; }
@keyframes bubble { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(calc(var(--bh, 300px) * -.9)); opacity: 0; } }
.glassb__stream {
  position: absolute; left: calc(50% - 4px); top: calc(var(--bh) * -.34); width: 8px; border-radius: 4px; background: var(--gold);
  height: calc((var(--bh) * .34 + var(--bh) * (100 - var(--fill)) / 100) * var(--pour));
}
@keyframes wave { to { transform: translateX(-50%); } }
.loader__word { margin-top: 18px; font: 500 clamp(18px, 2.2vw, 28px)/1 var(--f-display); letter-spacing: -.01em; color: var(--gold); }
.loader__count {
  position: absolute; right: var(--gut); bottom: calc(var(--gut) - .1em);
  font: 300 clamp(44px, 7vw, 104px)/.8 var(--f-display); letter-spacing: -.04em; color: var(--gold); font-variant-numeric: tabular-nums;
}
.loader__count small { font-size: .36em; margin-left: .08em; }
.loader__place { position: absolute; left: var(--gut); bottom: var(--gut); font-size: 15px; color: color-mix(in srgb, var(--cream) 70%, transparent); }
.loader__gate { position: absolute; left: 50%; bottom: 8vh; translate: -50% 0; width: min(92vw, 580px); text-align: center; }
.loader__q { font: 500 clamp(28px, 3.4vw, 46px)/1.08 var(--f-display); letter-spacing: -.02em; }
.loader__sub { margin-top: 10px; color: color-mix(in srgb, var(--cream) 78%, transparent); }
.loader__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.loader__no { margin-top: 18px; }
/* La bière qui monte sur tout l'écran (réponse « oui ») et le voile des transitions de page */
.loader__flood, .pt__liquid {
  position: absolute; inset: 0; transform: translateY(106%);
  background: linear-gradient(#fbf2df 0 22px, var(--gold) 22px);
}
.flood__wave { position: absolute; left: 0; bottom: calc(100% - 1px); width: 200%; height: 26px; fill: #fbf2df; animation: wave 1.1s linear infinite; }
.loader__flood i, .pt__liquid i { position: absolute; bottom: 10%; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .55); animation: bubble 2.2s linear infinite; --bh: 90vh; }
.loader__flood i:nth-of-type(2), .pt__liquid i:nth-of-type(2) { left: 18%; width: 7px; height: 7px; animation-delay: -.6s; }
.loader__flood i:nth-of-type(3), .pt__liquid i:nth-of-type(3) { left: 41%; animation-delay: -1.4s; }
.loader__flood i:nth-of-type(4), .pt__liquid i:nth-of-type(4) { left: 63%; width: 6px; height: 6px; animation-delay: -.9s; }
.loader__flood i:nth-of-type(5), .pt__liquid i:nth-of-type(5) { left: 84%; animation-delay: -1.8s; }
.pt { position: fixed; inset: 0; z-index: 96; pointer-events: none; visibility: hidden; overflow: hidden; }
html.pt-in .pt { visibility: visible; }
html.pt-in .pt__liquid { transform: none; }
.pt__badge {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: clamp(80px, 9vw, 130px); aspect-ratio: 524 / 619; background: var(--night);
  -webkit-mask: url(../img/brand/b-mark.png) center / contain no-repeat; mask: url(../img/brand/b-mark.png) center / contain no-repeat;
}

.pour__ghost, .pour__fill {
  position: absolute; inset: 0;
  -webkit-mask: url(../img/brand/logo.png) center / contain no-repeat;
  mask: url(../img/brand/logo.png) center / contain no-repeat;
}
.pour__ghost { background: color-mix(in srgb, var(--gold) 16%, transparent); }
.pour__liquid { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--fill, 100) * 1%); background: var(--gold); }
.pour__wave { position: absolute; left: 0; bottom: calc(100% - 1px); width: 200%; height: 22px; fill: var(--gold); animation: wave 1.6s linear infinite; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px;
  height: 76px; padding: 0 var(--gut); color: var(--on);
  transition: transform .6s var(--ease), background-color .4s var(--ease), color .4s;
}
.nav.is-solid { background: var(--bg); }
.nav.is-hidden { transform: translateY(-100%); }
.nav.menu-open { background: transparent; color: var(--paper); transform: none; }
.nav__brand { width: 86px; flex: none; color: inherit; }
.nav__brand .logo { width: 100%; }
.nav__links { display: flex; gap: clamp(16px, 1.9vw, 28px); margin-left: auto; }
.nav__links a { position: relative; font-weight: 500; text-decoration: none; padding: 6px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { min-height: 46px; }
.nav__burger { display: none; width: 48px; height: 48px; margin-left: auto; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--on) 14%, transparent); position: relative; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; transition: transform .45s var(--ease); }
.nav__burger span:first-child { top: 19px; } .nav__burger span:nth-child(2) { top: 27px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--deep); color: var(--paper);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 100px var(--gut) 40px;
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font: 500 clamp(40px, 11vw, 64px)/1.08 var(--f-display); letter-spacing: -.03em; text-decoration: none; }
.menu p { margin-top: 32px; font-size: 15px; }

/* ---------- Héros ---------- */
.hero { position: relative; background: var(--bg); }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  color: var(--on); background: var(--bg); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab;
}
.stage.is-drag { cursor: grabbing; }
.hero__intro, .hero__beer { opacity: var(--ui, 1); }
.stage.is-open .hero__intro, .stage.is-open .hero__beer { pointer-events: none; }
html.is-loading { overflow: hidden; }
.scene { position: absolute; left: 0; top: 0; width: 0; height: 0; overflow: hidden; border-radius: 999px 999px 0 0; z-index: 1; }
.js .scene { will-change: left, top, width, height; }
.scene__pan { position: absolute; inset: -3%; }
.scene__pan img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: var(--pos, 50% 60%); visibility: hidden;
}
.scene__pan img.is-on { visibility: visible; }
.bubbles { position: absolute; left: 0; top: 0; pointer-events: none; }

.giant {
  position: absolute; left: 0; right: 0; height: 0; z-index: 2; pointer-events: none;
  font-family: var(--f-display); font-weight: 600; line-height: .82; letter-spacing: -.045em; font-optical-sizing: auto;
}
.giant__line { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; white-space: nowrap; overflow: hidden; padding: .06em 0 .1em; }
.giant__line span { display: inline-block; will-change: transform; transform-origin: 50% 100%; }

.bottles { position: absolute; inset: 0; z-index: 3; }
.bottle {
  position: absolute; left: 0; top: 0; padding: 0; border: 0; background: none; cursor: inherit;
  transform-origin: 50% 100%; will-change: transform, opacity;
}
.bottle img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }

.hero__intro { position: absolute; z-index: 4; left: var(--gut); bottom: clamp(24px, 5vh, 52px); width: min(30vw, 440px); }
.hero__intro h1 { font: 500 clamp(26px, 2.5vw, 42px)/1.04 var(--f-display); letter-spacing: -.025em; }
.hero__intro p { margin-top: 14px; max-width: 30ch; }

.hero__beer { position: absolute; z-index: 4; right: var(--gut); bottom: clamp(24px, 5vh, 52px); width: min(26vw, 380px); }
.dots { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.dots button {
  width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: var(--c);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--on) 30%, transparent);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.dots button:hover { transform: scale(1.18); }
.dots button[aria-selected="true"] { box-shadow: 0 0 0 3px var(--on); transform: scale(1.18); }
.hero__style { font: 500 clamp(22px, 1.8vw, 30px)/1.1 var(--f-display); letter-spacing: -.02em; }
.hero__line { margin-top: 8px; min-height: 3.1em; }
.hero__ctrl { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.hero__ctrl .link { margin-left: 12px; }
.hero__hint { position: absolute; z-index: 4; left: 50%; top: 92px; transform: translateX(-50%); font-size: 14px; opacity: calc(var(--ui, 1) * .75); white-space: nowrap; }

/* Fiche (monte par-dessus la scène élargie) */
.fiche { position: relative; z-index: 5; height: 150vh; height: 150svh; pointer-events: none; }
.panel {
  pointer-events: auto; position: sticky; top: max(96px, calc(50svh - 290px));
  width: min(560px, 44vw); margin: 22svh var(--gut) 0 auto; padding: clamp(28px, 3.4vw, 56px);
  background: var(--bg); color: var(--on);
}
.panel__name { font: 600 clamp(48px, 6vw, 96px)/.9 var(--f-display); letter-spacing: -.045em; }
.panel__style { margin-top: 12px; font: 500 clamp(20px, 1.6vw, 26px)/1.2 var(--f-display); }
.panel__desc { margin-top: 22px; }
.panel__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-top: 28px; padding: 22px; background: color-mix(in srgb, var(--on) 9%, transparent); }
.panel__facts dt { font-size: 14px; opacity: .78; }
.panel__facts dd { font-weight: 600; }
.panel__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.panel__nav button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 0; border-radius: 999px;
  background: color-mix(in srgb, var(--on) 12%, transparent); font-weight: 600;
  transition: background-color .35s var(--ease), color .35s;
}
.panel__nav button:hover { background: var(--accent); color: var(--on-accent); }

/* ---------- Titres de section ---------- */
.manifesto h2, .shelf h2, .services__title, .contact h2 {
  font: 500 var(--h2)/.94 var(--f-display); letter-spacing: -.04em;
}
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- La brasserie ---------- */
.manifesto { padding: var(--sec) var(--gut); background: var(--paper); color: var(--deep); }
.manifesto__top { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--gut); }
.badge {
  width: clamp(120px, 20vw, 320px); aspect-ratio: 394 / 400; background: var(--deep);
  -webkit-mask: url(../img/brand/badge.png) center / contain no-repeat; mask: url(../img/brand/badge.png) center / contain no-repeat;
}
.statement { max-width: 16ch; font: 400 clamp(30px, 4.6vw, 76px)/1.04 var(--f-display); letter-spacing: -.035em; }
.story { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 110px); align-items: end; margin-top: var(--sec); }
.story__photo { overflow: hidden; aspect-ratio: 4 / 5; }
.story__photo img, [data-clip] img { width: 100%; height: 100%; object-fit: cover; }
[data-parallax] { scale: 1.14; }
.story__text h2 { margin-bottom: 36px; }
.story__text p { max-width: 56ch; }
.story__text p + p { margin-top: 16px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); justify-content: start; gap: 24px clamp(24px, 3vw, 56px); margin-top: 48px; }
.facts b { display: block; font: 400 clamp(44px, 5vw, 84px)/.9 var(--f-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.facts span { display: block; margin-top: 8px; max-width: 13ch; font-size: 15px; }
.portraits { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gut); margin-top: var(--sec); }
.portraits figure { overflow: hidden; aspect-ratio: 3 / 4; }
.portraits figure:nth-child(even) { margin-top: 12vh; }
.portraits img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.portraits figure:hover img { transform: scale(1.06); }
.portraits__cap { margin-top: 28px; font: 400 clamp(22px, 2vw, 30px)/1.2 var(--f-display); }

/* ---------- La gamme (vitrine) ---------- */
.shelf { padding: var(--sec) 0 0; background: var(--bg); color: var(--on); }
.shelf__head { padding: 0 var(--gut); display: grid; grid-template-columns: 1fr; gap: 28px; }
.shelf__head p { max-width: 52ch; }
.vitrine { position: relative; height: clamp(520px, 86vh, 860px); margin-top: clamp(48px, 6vw, 96px); overflow: hidden; background: var(--deep); }
.vitrine__bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 60%);
  opacity: 0; transform: scale(1.08); transition: opacity .8s var(--ease), transform 1.6s var(--ease);
}
.vitrine__bg img.is-on { opacity: 1; transform: scale(1); }
.vitrine__label {
  position: absolute; left: var(--gut); top: var(--gut); z-index: 2; display: grid; gap: 4px;
  padding: 18px 24px; background: var(--paper); color: var(--deep);
}
.vitrine__label b { font: 600 clamp(28px, 3vw, 48px)/1 var(--f-display); letter-spacing: -.035em; }
.vitrine__row {
  position: absolute; left: 0; right: 0; bottom: 34px; z-index: 2;
  display: flex; justify-content: center; align-items: flex-end; gap: clamp(4px, .9vw, 14px); padding: 0 var(--gut);
}
.vitrine__row li { flex: 0 1 auto; }
.vitrine__btl {
  display: block; padding: 0; border: 0; background: none; cursor: inherit;
  width: min(calc((100vw - 2 * var(--gut) - 9 * 14px) / 10), 150px);
  transform-origin: 50% 100%; transition: transform .6s var(--ease);
}
.vitrine__btl img { width: 100%; aspect-ratio: 552 / 1500; object-fit: contain; }
.vitrine__btl:hover, .vitrine__btl:focus-visible { transform: translateY(-22px) rotate(-3deg); }
.vitrine__btl[aria-pressed="true"] { transform: translateY(-12px); }
.vitrine__plank { position: absolute; left: 0; right: 0; bottom: 0; height: 34px; z-index: 1; background: var(--deep); }

/* ---------- Girondine ---------- */
.marquee { overflow: hidden; padding: clamp(28px, 4vw, 56px) 0; white-space: nowrap; }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__track span { font: 400 clamp(56px, 9vw, 150px)/1 var(--f-display); letter-spacing: -.04em; padding-right: .3em; }
.marquee--gold { color: color-mix(in srgb, var(--gold) 55%, var(--night)); background: var(--night); }

/* ---------- Services ---------- */
.services { padding: var(--sec) var(--gut) 0; background: var(--paper); color: var(--deep); overflow: hidden; }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center; margin-top: clamp(56px, 7vw, 120px); }
.svc h3 { font: 500 clamp(30px, 3.2vw, 54px)/1 var(--f-display); letter-spacing: -.03em; margin-bottom: 18px; }
.svc p { max-width: 46ch; }
.svc .btn { margin-top: 28px; }
.svc--fut { background: var(--bg); color: var(--on); padding: clamp(32px, 5vw, 80px); }
.svc--brew figure { aspect-ratio: 4 / 5; overflow: hidden; }
.svc__for { margin-top: 22px; display: grid; gap: 4px; }
.svc__for li { font: 400 clamp(22px, 2vw, 30px)/1.25 var(--f-display); }
.pint { width: min(100%, 360px); justify-self: center; color: var(--on); overflow: visible; }
.pint__tap rect { fill: currentColor; }
.pint__handle { transform-box: fill-box; transform-origin: 50% 100%; }
.pint__body { fill: currentColor; opacity: .12; }
.pint__beer, .pint__stream { fill: var(--beer); }
.pint__foam { fill: #fbf2df; }
.pint__bub { fill: #fff; opacity: .55; animation: bub 2.4s linear infinite; }
.pint__bub:nth-of-type(2) { animation-delay: -.8s; } .pint__bub:nth-of-type(3) { animation-delay: -1.5s; }
.pint__bub:nth-of-type(4) { animation-delay: -.4s; } .pint__bub:nth-of-type(5) { animation-delay: -2s; }
@keyframes bub { from { transform: translateY(0); opacity: .6; } to { transform: translateY(-340px); opacity: 0; } }
.pint__shine { fill: #fff; opacity: .2; }
.pint__rim { fill: none; stroke: currentColor; stroke-width: 5; opacity: .45; }

/* Trinquons */
.contact__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--gut); }
.cheers { flex: none; width: clamp(130px, 15vw, 250px); padding: 0; border: 0; background: none; color: var(--on); }
.cheers svg { display: block; width: 100%; overflow: visible; }
.cheers__body { fill: currentColor; opacity: .12; }
.cheers__rim { fill: none; stroke: currentColor; stroke-width: 4; opacity: .5; }
.cheers__liquid rect { fill: var(--beer); }
.cheers__foam, .cheers__drops circle { fill: #fbf2df; }
.cheers__drops circle { opacity: 0; }

/* Vigne qui devient houblon */
.vine { display: block; width: 100%; height: auto; margin-top: clamp(40px, 6vw, 96px); fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Bulles qui s'échappent de la bouteille choisie */
.vb { position: absolute; z-index: 3; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; opacity: .85; pointer-events: none; }
.services .marquee { margin: clamp(56px, 8vw, 140px) calc(-1 * var(--gut)) 0; background: var(--deep); color: var(--paper); }

/* ---------- Nous trouver ---------- */
.contact { padding: var(--sec) var(--gut); background: var(--bg); color: var(--on); }
.contact__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 110px); margin-top: clamp(48px, 6vw, 96px); align-items: start; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: color-mix(in srgb, var(--on) 12%, transparent); font-weight: 600; }
.status i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.status.is-open i { background: #2f9e57; animation: pulse 1.8s var(--ease) infinite; }
.status.is-closed i { background: #c4493b; }
@keyframes pulse { 50% { transform: scale(1.6); opacity: .5; } }
.contact address { margin-top: 32px; font: 400 clamp(32px, 3.6vw, 60px)/1.02 var(--f-display); letter-spacing: -.03em; font-style: normal; }
.contact__brew > p:not(.status) { margin-top: 24px; max-width: 44ch; }
.contact__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contact__epi { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); align-items: end; background: var(--paper); color: var(--deep); padding: var(--gut); }
.contact__epi figure { aspect-ratio: 3 / 4; overflow: hidden; }
.contact__epi h3 { font: 500 clamp(28px, 2.6vw, 44px)/1 var(--f-display); letter-spacing: -.03em; margin-bottom: 14px; }
.contact__epi p { margin-bottom: 20px; }

/* ---------- Pied de page ---------- */
.foot { background: var(--deep); color: var(--paper); overflow: hidden; }
.foot__in { padding: clamp(48px, 6vw, 96px) var(--gut) var(--gut); }
.foot__top { display: flex; flex-wrap: wrap; gap: 12px 36px; font-weight: 600; }
.foot__top a { text-decoration: none; }
.foot__top a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__logo { position: relative; width: min(100%, 62vw); aspect-ratio: 1400 / 860; margin: clamp(48px, 8vw, 120px) 0; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-size: 14px; }
.foot__legal nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot__legal p:first-child { font-weight: 600; flex-basis: 100%; }

/* ---------- Tablette / téléphone ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__burger { display: block; margin-left: 0; }
  .hero__intro { width: 40vw; }
  .hero__beer { width: 38vw; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { height: 64px; gap: 10px; }
  .nav__brand { width: 70px; }
  .nav__cta { display: none; }
  .nav__burger { margin-left: auto; }

  .hero__intro { top: 76px; bottom: auto; width: auto; right: var(--gut); }
  .hero__intro h1 { font-size: 22px; max-width: 16em; }
  .hero__intro p { display: none; }
  .hero__beer { left: var(--gut); right: var(--gut); width: auto; bottom: 18px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 12px; }
  .dots { grid-column: 1 / -1; justify-content: center; margin-bottom: 14px; gap: 7px; }
  .dots button { width: 20px; height: 20px; }
  .hero__style { font-size: 20px; grid-column: 1; grid-row: 2; }
  .hero__line { font-size: 15px; min-height: 0; margin-top: 2px; grid-column: 1; grid-row: 3; }
  .hero__ctrl { margin-top: 0; grid-column: 2; grid-row: 2 / 4; }
  .hero__ctrl .round { width: 46px; height: 46px; }
  .hero__ctrl .link { display: none; }
  .hero__hint { display: none; }

  .fiche { height: 150svh; }
  .panel { width: auto; margin: 52svh 12px 0; top: 48svh; padding: 22px; }
  .panel__name { font-size: 42px; }
  .panel__desc { margin-top: 12px; font-size: 15px; }
  .panel__facts { display: none; }
  .panel__nav { margin-top: 16px; }
  .panel__nav button { font-size: 14px; padding: 0 12px; }

  .story, .contact__grid, .svc, .contact__epi { grid-template-columns: 1fr; }
  .manifesto__top { grid-template-columns: 1fr; }
  .badge { width: 120px; order: -1; margin-bottom: 24px; }
  .svc--brew figure { order: -1; }
  .portraits { grid-template-columns: 1fr 1fr; }
  .vitrine { height: 560px; }
  .vitrine__row { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0; scrollbar-width: none; }
  .vitrine__row li { scroll-snap-align: center; }
  .vitrine__btl { width: 104px; }
  .foot__logo { width: 100%; }
  .vine { stroke-width: 5; }
  .contact__head { align-items: center; }
  .cheers { width: 104px; }
}

@media (max-width: 899px) {
}

@media (prefers-reduced-motion: reduce) {
  :root { transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-parallax] { scale: 1; }
}
