/* Brasserie La Gironde — pages intérieures et composants partagés (après style.css) */

.giant__meas { position: absolute; left: -9999px; top: 0; visibility: hidden; white-space: nowrap; font-family: var(--f-display); font-weight: 600; letter-spacing: -.045em; font-optical-sizing: auto; }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.menu nav a[aria-current="page"] { color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn--big { min-height: 64px; padding: 0 38px; font-size: 17px; }
.ext::after { content: ' ↗'; }

/* ---------- Héros des pages intérieures ---------- */
.phero {
  position: relative; display: grid; align-content: end; gap: 26px; min-height: 86vh; min-height: 86svh; overflow: hidden;
  padding: calc(76px + clamp(40px, 7vw, 110px)) var(--gut) clamp(48px, 7vw, 110px); background: var(--bg); color: var(--on);
}
.phero__title { font: 500 clamp(54px, 10.5vw, 184px)/.88 var(--f-display); letter-spacing: -.05em; max-width: 13ch; }
.phero__lead { max-width: 48ch; font-size: clamp(18px, 1.45vw, 22px); }
.phero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.phero--split { grid-template-columns: 1.1fr .9fr; align-items: end; column-gap: clamp(32px, 6vw, 110px); }
.phero--split > .phero__text { display: grid; gap: 26px; align-content: end; }
.phero__facts { display: flex; flex-wrap: wrap; gap: 10px; }
.phero__facts li { padding: 10px 16px; border-radius: 999px; background: color-mix(in srgb, var(--on) 12%, transparent); font-weight: 600; font-size: 15px; }
.phero__photo { overflow: hidden; aspect-ratio: 4 / 5; }
.phero__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Bandeaux d'appel ---------- */
.cta-band { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 28px; padding: clamp(72px, 9vw, 150px) var(--gut); background: var(--deep); color: var(--paper); }
.cta-band h2 { font: 500 clamp(36px, 5.4vw, 92px)/.95 var(--f-display); letter-spacing: -.04em; max-width: 16ch; }
.cta-band p { max-width: 46ch; margin-top: 18px; }
.cta-band .btn--accent { background: var(--accent); color: var(--on-accent); }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.sec { padding: var(--sec) var(--gut); }
.sec--paper { background: var(--paper); color: var(--deep); }
.sec--bg { background: var(--bg); color: var(--on); }
.sec--deep { background: var(--deep); color: var(--paper); }
.sec__title { font: 500 var(--h2)/.94 var(--f-display); letter-spacing: -.04em; max-width: 18ch; }
.sec__lead { max-width: 52ch; margin-top: 24px; font-size: clamp(17px, 1.3vw, 20px); }

/* ---------- Douze bouteilles de 75 cl ---------- */
.b12 { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(8px, 1.4vw, 22px); align-items: end; color: currentColor; }
.b12__btl { width: 100%; height: auto; overflow: visible; }
.b12__glass { fill: currentColor; opacity: .1; }
.b12__liq { fill: var(--beer); }
.b12__rim { fill: none; stroke: currentColor; stroke-width: 3; opacity: .5; }
.b12__cap { fill: var(--accent); }
.ateaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; padding: var(--sec) var(--gut); background: var(--paper); color: var(--deep); }
.ateaser h2 { font: 500 var(--h2)/.94 var(--f-display); letter-spacing: -.04em; max-width: 12ch; }
.ateaser p { max-width: 46ch; margin-top: 22px; }
.ateaser__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ateaser__facts li { padding: 10px 16px; border-radius: 999px; background: color-mix(in srgb, currentColor 9%, transparent); font-size: 15px; }
.ateaser__facts b { font-family: var(--f-display); font-size: 1.15em; }
.ateaser__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Nos bières ---------- */
.lineup { display: flex; justify-content: center; align-items: flex-end; gap: clamp(2px, .6vw, 10px); margin-top: clamp(24px, 4vw, 56px); }
.lineup img { width: min(calc((100vw - 2 * var(--gut)) / 10.5), 120px); height: auto; transform-origin: 50% 100%; transition: translate .5s var(--ease); }
.lineup img:hover { translate: 0 -18px; }
.chapnav {
  position: sticky; top: 0; z-index: 30; display: flex; justify-content: center; gap: 8px; padding: 14px var(--gut);
  background: var(--bg); color: var(--on); overflow-x: auto; scrollbar-width: none;
}
.chapnav a { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color .35s var(--ease); }
.chapnav a::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px color-mix(in srgb, var(--on) 35%, transparent); }
.chapnav a:hover, .chapnav a[aria-current] { background: color-mix(in srgb, var(--on) 13%, transparent); }
.chap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center; min-height: 100vh; padding: clamp(80px, 10vw, 160px) var(--gut); background: var(--bg); color: var(--on); }
.chap--flip .chap__visual { order: 2; }
.chap__visual { position: relative; display: grid; justify-items: center; }
.chap__arch { width: min(100%, 520px); aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px 999px 0 0; }
.chap__arch img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 60%); }
.chap__bottle { position: absolute; bottom: -4%; left: 50%; height: 86%; width: auto; translate: -50% 0; transform-origin: 50% 100%; }
.chap__style { font: 500 clamp(20px, 1.7vw, 28px)/1.1 var(--f-display); }
.chap__name { margin-top: 10px; font: 600 clamp(56px, 8vw, 140px)/.86 var(--f-display); letter-spacing: -.05em; }
.chap__desc { max-width: 48ch; margin-top: 24px; font-size: clamp(17px, 1.3vw, 20px); }
.chap__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 32px; margin-top: 28px; }
.chap__facts dt { font-size: 14px; opacity: .78; }
.chap__facts dd { font-weight: 600; }
.chap__links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; }

/* ---------- Atelier : héros avec la cuve qui bout ---------- */
.kettle { width: min(100%, 520px); justify-self: center; overflow: visible; color: var(--on); }
.kt-body { fill: color-mix(in srgb, currentColor 14%, transparent); stroke: currentColor; stroke-width: 6; }
.kt-solid { fill: currentColor; }
.kt-beer { fill: var(--beer); }
.kt-foam { fill: #fbf2df; }
.kt-steam path { fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: round; opacity: 0; animation: steam 3s ease-out infinite; }
.kt-steam path:nth-child(2) { animation-delay: -1s; } .kt-steam path:nth-child(3) { animation-delay: -2s; }
.kt-bub circle { fill: #fff; opacity: .6; animation: kbub 2.2s ease-in infinite; }
.kt-bub circle:nth-child(2) { animation-delay: -.5s; } .kt-bub circle:nth-child(3) { animation-delay: -1.1s; } .kt-bub circle:nth-child(4) { animation-delay: -1.6s; } .kt-bub circle:nth-child(5) { animation-delay: -.8s; }
.kt-hops path { fill: #8fb04a; stroke: color-mix(in srgb, #8fb04a 60%, #233a20); stroke-width: 2; animation: hop 4s ease-in infinite; transform-box: fill-box; transform-origin: center; }
.kt-hops path:nth-child(2) { animation-delay: -1.4s; } .kt-hops path:nth-child(3) { animation-delay: -2.7s; }
.kt-fire path { fill: #e8813a; animation: flame .5s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
.kt-fire path:nth-child(2) { fill: #f2b45a; animation-delay: -.25s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(20px) scaleX(.8); } 30% { opacity: .55; } 100% { opacity: 0; transform: translateY(-50px) scaleX(1.25); } }
@keyframes kbub { 0% { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: .7; } 100% { transform: translateY(-95px) scale(1.2); opacity: 0; } }
@keyframes hop { 0% { transform: translateY(-140px) rotate(-30deg); opacity: 0; } 15% { opacity: 1; } 70% { transform: translateY(40px) rotate(40deg); opacity: 1; } 100% { transform: translateY(70px) rotate(60deg); opacity: 0; } }
@keyframes flame { from { transform: scaleY(.75); } to { transform: scaleY(1.15); } }

.marquee--band { background: var(--deep); color: var(--paper); padding: clamp(22px, 3vw, 40px) 0; }
.marquee--band .marquee__track span { font-size: clamp(40px, 6vw, 96px); }

/* ---------- Atelier : formules ---------- */
.formules__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); margin-top: clamp(48px, 6vw, 90px); perspective: 1200px; }
.formule { position: relative; display: grid; gap: 18px; align-content: start; padding: clamp(28px, 4vw, 56px); background: var(--bg); color: var(--on); overflow: hidden; transform-style: preserve-3d; }
.formule::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .28), transparent 55%); opacity: .8; }
.formule--duo { background: var(--deep); color: var(--paper); }
.formule--duo .btn--accent { background: var(--accent); color: var(--on-accent); }
.formule h3 { font: 500 clamp(30px, 3vw, 48px)/1 var(--f-display); letter-spacing: -.03em; }
.formule__price { font: 400 clamp(64px, 8vw, 132px)/.85 var(--f-display); letter-spacing: -.05em; }
.formule__price small { font-size: .35em; }
.formule ul { display: grid; gap: 8px; }
.formule li::before { content: '✓  '; font-weight: 700; }
.formule .btn { justify-self: start; margin-top: 8px; }

/* ---------- Déroulé avec le tube qui se remplit ---------- */
.tline { position: relative; margin-top: clamp(48px, 6vw, 90px); padding-left: clamp(56px, 7vw, 96px); }
.tube { position: absolute; left: clamp(16px, 2vw, 28px); top: 8px; bottom: 8px; width: 18px; border-radius: 9px; background: color-mix(in srgb, currentColor 10%, transparent); overflow: hidden; }
.tube__beer { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(#fbf2df 0 10px, var(--beer) 10px); transform-origin: 50% 0; }
.timeline { display: grid; gap: clamp(40px, 5vw, 72px); list-style: none; padding: 0; }
.timeline li { position: relative; max-width: 56ch; }
.timeline li::before {
  content: ''; position: absolute; left: calc(-1 * clamp(56px, 7vw, 96px) + clamp(16px, 2vw, 28px) - 7px); top: 10px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--paper); box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 25%, transparent); transition: background-color .5s var(--ease), transform .5s var(--ease);
}
.timeline li.is-on::before { background: var(--beer); transform: scale(1.15); }
.timeline time { display: block; font: 400 clamp(44px, 5vw, 84px)/.9 var(--f-display); letter-spacing: -.04em; }
.timeline h3 { margin-top: 8px; font: 500 clamp(24px, 2.4vw, 36px)/1.05 var(--f-display); }
.timeline__dur { margin: 6px 0 10px; font-weight: 600; opacity: .8; }
.timeline__pause { padding: 22px 26px; background: color-mix(in srgb, currentColor 7%, transparent); }

/* ---------- Atelier : cinq étapes illustrées ---------- */
.brew__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); margin-top: clamp(48px, 6vw, 90px); }
.brew__stage { position: sticky; top: 12vh; align-self: start; }
.brew__svg { width: 100%; max-width: 520px; overflow: visible; color: var(--deep); }
.brew__steps { list-style: none; padding: 0; display: grid; gap: 30vh; padding-bottom: 20vh; padding-top: 6vh; }
.brew__steps li { opacity: .35; transition: opacity .5s var(--ease); }
.brew__steps li.is-on { opacity: 1; }
.brew__steps li span { display: block; font: 400 clamp(54px, 6vw, 104px)/.85 var(--f-display); letter-spacing: -.05em; color: var(--accent); -webkit-text-stroke: 0; }
.brew__steps h3 { margin-top: 10px; font: 500 clamp(30px, 3vw, 50px)/1 var(--f-display); letter-spacing: -.03em; }
.brew__steps p { max-width: 40ch; margin-top: 12px; }
.bs { opacity: 0; transform: translateY(16px) scale(.94); transform-box: view-box; transform-origin: 50% 60%; transition: opacity .55s var(--ease), transform .7s var(--ease); }
.bs.is-on { opacity: 1; transform: none; }
.bs:not(.is-on) * { animation-play-state: paused !important; }
.bs-bg { fill: color-mix(in srgb, var(--accent) 24%, transparent); }
.bs-solid { fill: currentColor; }
.bs-glass { fill: color-mix(in srgb, currentColor 9%, transparent); stroke: currentColor; stroke-width: 5; stroke-linejoin: round; }
.bs-beer { fill: var(--beer); }
.bs-wort { fill: color-mix(in srgb, var(--beer) 55%, #fff); }
.bs-foam { fill: #fbf2df; }
.bs-hot { fill: #e05a47; }
.bs-grain { fill: #d9a75a; }
.bs-hop { fill: #8fb04a; stroke: #4d6b2a; stroke-width: 2; }
.bs-txt { font: 700 16px var(--f-text); fill: var(--paper); text-anchor: middle; }
.bs-big { font: 600 26px var(--f-display); fill: currentColor; text-anchor: middle; }
.bs-line { fill: none; stroke: currentColor; stroke-width: 10; stroke-linecap: round; }
.bs-stream { fill: none; stroke: var(--beer); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 14 10; animation: flow .5s linear infinite; }
.grains ellipse { animation: fall 1.5s ease-in infinite; }
.grains ellipse:nth-child(2) { animation-delay: -.3s; } .grains ellipse:nth-child(3) { animation-delay: -.6s; } .grains ellipse:nth-child(4) { animation-delay: -.9s; }
.grains ellipse:nth-child(5) { animation-delay: -1.2s; } .grains ellipse:nth-child(6) { animation-delay: -.45s; } .grains ellipse:nth-child(7) { animation-delay: -1.05s; }
.paddle { transform-box: view-box; transform-origin: 236px 112px; animation: stir 2.4s ease-in-out infinite alternate; }
.merc { transform-box: fill-box; transform-origin: 50% 100%; animation: merc 3.2s var(--ease) infinite alternate; }
.bucket-liq { transform-box: fill-box; transform-origin: 50% 100%; animation: merc 3s ease-in-out infinite alternate; }
.boil circle { animation: kbub 1.4s ease-in infinite; }
.boil circle:nth-child(2) { animation-delay: -.35s; } .boil circle:nth-child(3) { animation-delay: -.8s; } .boil circle:nth-child(4) { animation-delay: -1.1s; } .boil circle:nth-child(5) { animation-delay: -.6s; }
.bsteam path { fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: round; opacity: 0; animation: steam 2.4s ease-out infinite; }
.bsteam path:nth-child(2) { animation-delay: -.8s; } .bsteam path:nth-child(3) { animation-delay: -1.6s; }
.bhops path { animation: hop 3s ease-in infinite; transform-box: fill-box; transform-origin: center; }
.bhops path:nth-child(2) { animation-delay: -1.5s; }
.yeast circle { animation: kbub 3.6s linear infinite; }
.yeast circle:nth-child(2) { animation-delay: -.9s; } .yeast circle:nth-child(3) { animation-delay: -1.8s; } .yeast circle:nth-child(4) { animation-delay: -2.7s; }
.blop { transform-box: fill-box; transform-origin: center; animation: blop 1.8s ease-in-out infinite; }
.flames path { animation: flame .45s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes fall { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(150px); opacity: 0; } }
@keyframes stir { from { transform: rotate(-12deg); } to { transform: rotate(12deg); } }
@keyframes merc { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
@keyframes flow { to { stroke-dashoffset: -24; } }
@keyframes blop { 0%, 60%, 100% { transform: scale(1); } 75% { transform: scale(1.5); } }

/* ---------- Réserver + à savoir + questions ---------- */
.reserve { display: grid; justify-items: start; gap: 24px; }
.reserve__note { font-size: 15px; opacity: .85; max-width: 52ch; }
.savoir { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px var(--gut); margin-top: clamp(32px, 4vw, 56px); padding: clamp(24px, 3vw, 44px); background: color-mix(in srgb, currentColor 7%, transparent); width: 100%; }
.savoir li { padding-left: 30px; position: relative; }
.savoir li::before { content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--beer); }
.faq__list { display: grid; gap: 10px; margin-top: clamp(40px, 5vw, 72px); max-width: 920px; }
.qa { background: color-mix(in srgb, currentColor 7%, transparent); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; cursor: pointer; list-style: none; font: 500 clamp(20px, 1.8vw, 26px)/1.2 var(--f-display); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 400 26px/1 var(--f-text); transition: rotate .45s var(--ease); }
.qa[open] summary::after { rotate: 45deg; }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 26px 24px; max-width: 64ch; }

/* ---------- Événements ---------- */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gut); margin-top: clamp(48px, 6vw, 90px); counter-reset: step; }
.steps4 li { position: relative; padding-top: 26px; }
.steps4 li::before { counter-increment: step; content: counter(step); display: block; font: 400 clamp(56px, 6vw, 104px)/.8 var(--f-display); letter-spacing: -.05em; color: var(--accent); }
.steps4 h3 { margin-top: 14px; font: 500 clamp(24px, 2.2vw, 34px)/1.05 var(--f-display); }
.steps4 p { margin-top: 10px; }
.steps4 .cheers { width: 140px; margin-top: 10px; }
.phero .cheers { width: min(100%, 420px); justify-self: center; align-self: center; }
.aprive { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.aprive figure { overflow: hidden; aspect-ratio: 4 / 3; }
.aprive figure img { width: 100%; height: 100%; object-fit: cover; }
.aprive__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- La brasserie ---------- */
.story2 { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.story2__text p + p { margin-top: 16px; }
.story2__text p { max-width: 56ch; font-size: clamp(17px, 1.3vw, 20px); }
.hist { position: relative; margin-top: clamp(48px, 6vw, 90px); padding-top: 46px; }
.hist__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gut); list-style: none; padding: 0; }
.hist__line { position: absolute; left: 0; right: 0; top: 10px; height: 14px; border-radius: 7px; background: color-mix(in srgb, currentColor 10%, transparent); overflow: hidden; }
.hist__line span { position: absolute; inset: 0; background: var(--beer); transform-origin: 0 50%; }
.hist__list li { position: relative; }
.hist__list li::before { content: ''; position: absolute; left: 0; top: -46px; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 25%, transparent); transition: background-color .5s var(--ease); }
.hist__list li.is-on::before { background: var(--beer); }
.hist b { display: block; font: 400 clamp(36px, 4vw, 64px)/.9 var(--f-display); letter-spacing: -.04em; }
.hist h3 { margin-top: 10px; font: 500 clamp(22px, 2vw, 30px)/1.1 var(--f-display); }
.hist p { margin-top: 8px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gut); margin-top: clamp(48px, 6vw, 90px); }
.value { padding: clamp(26px, 3vw, 44px); background: color-mix(in srgb, currentColor 8%, transparent); }
.value svg { width: 76px; height: 76px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.value h3 { margin-top: 18px; font: 500 clamp(26px, 2.4vw, 38px)/1 var(--f-display); letter-spacing: -.03em; }
.value p { margin-top: 12px; }

/* ---------- Contact : formulaire ---------- */
.cform { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { margin-bottom: 14px; font: 500 clamp(22px, 2vw, 30px)/1.1 var(--f-display); }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; cursor: pointer; font-weight: 600;
  background: color-mix(in srgb, currentColor 9%, transparent); transition: background-color .3s var(--ease), color .3s var(--ease);
}
.chips label span:hover { background: color-mix(in srgb, currentColor 16%, transparent); }
.chips input:checked + span { background: var(--accent); color: var(--on-accent); }
.chips input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.field { display: grid; gap: 8px; }
.field > span { font-weight: 600; font-size: 15px; }
.field > span small { font-weight: 400; opacity: .75; }
.field input, .field textarea {
  width: 100%; padding: 15px 16px; border: 0; border-radius: 0; font: inherit; color: inherit;
  background: color-mix(in srgb, currentColor 7%, transparent); box-shadow: inset 0 -3px 0 color-mix(in srgb, currentColor 30%, transparent);
  transition: box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; background: color-mix(in srgb, currentColor 11%, transparent); box-shadow: inset 0 -3px 0 var(--beer); }
.field [aria-invalid="true"] { box-shadow: inset 0 -3px 0 #c4493b; }
.form__event { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 18px; }
.form__event[hidden] { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.check [aria-invalid="true"] { outline: 2px solid #c4493b; outline-offset: 2px; }
.btn--send { justify-self: start; position: relative; }
.btn--send::before { content: ''; position: absolute; inset: 0; background: var(--beer); transform: translateY(101%); transition: transform 1.2s var(--ease); }
.btn--send.is-sending::before { transform: none; }
.btn--send span { position: relative; }
.form__status { min-height: 1.5em; font-weight: 600; }
.form__status.is-error { color: #b23a2e; }
.form__legal { font-size: 14px; opacity: .8; max-width: 60ch; }
.form-done { display: grid; gap: 18px; justify-items: start; padding: clamp(28px, 4vw, 56px); background: var(--bg); color: var(--on); }
.form-done[hidden] { display: none; }
.form-done h2 { font: 500 clamp(44px, 6vw, 96px)/.9 var(--f-display); letter-spacing: -.04em; }
.form-done .cheers { width: 180px; }
.cinfo { display: grid; gap: var(--gut); }
.cinfo__block { padding: clamp(24px, 3vw, 40px); background: var(--bg); color: var(--on); }
.cinfo__block--paper { background: color-mix(in srgb, currentColor 7%, transparent); color: inherit; }
.cinfo h2, .cinfo h3 { font: 500 clamp(26px, 2.4vw, 38px)/1 var(--f-display); letter-spacing: -.03em; margin-bottom: 14px; }
.cinfo address { font-style: normal; font: 400 clamp(22px, 2vw, 30px)/1.15 var(--f-display); margin: 14px 0; }
.cinfo p + p { margin-top: 10px; }
.cinfo .contact__btns { margin-top: 20px; }

/* ---------- Pages légales ---------- */
.legal { display: grid; grid-template-columns: minmax(220px, 3fr) 8fr; gap: 24px clamp(32px, 6vw, 110px); padding: calc(76px + clamp(48px, 7vw, 110px)) var(--gut) var(--sec); background: var(--paper); color: var(--deep); }
.legal__head { grid-column: 1 / -1; display: grid; gap: 14px; margin-bottom: clamp(24px, 4vw, 56px); }
.legal__title { font: 500 clamp(48px, 8vw, 132px)/.9 var(--f-display); letter-spacing: -.045em; }
.legal__meta { font-size: 15px; opacity: .8; }
.legal__lead { max-width: 60ch; font-size: clamp(17px, 1.3vw, 20px); }
.legal__toc { position: sticky; top: 96px; align-self: start; }
.legal__toc ol { display: grid; gap: 6px; padding-left: 1.2em; }
.legal__toc a { text-decoration: none; }
.legal__toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal__body { display: grid; gap: clamp(32px, 4vw, 56px); max-width: 74ch; }
.legal__part h2 { font: 500 clamp(28px, 2.8vw, 44px)/1.05 var(--f-display); letter-spacing: -.02em; margin-bottom: 16px; }
.legal__part h3 { font: 600 19px/1.3 var(--f-text); margin: 22px 0 8px; }
.legal__part p + p, .legal__part p + ul, .legal__part ul + p { margin-top: 12px; }
.legal__part ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; }
.legal__part a { text-underline-offset: 3px; }
.legal__dl { display: grid; gap: 0; margin-top: 12px; }
.legal__dl > div { display: grid; grid-template-columns: minmax(160px, 1fr) 2fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.legal__dl dt { font-weight: 600; }
.legal__other { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: clamp(32px, 4vw, 56px); font-weight: 600; }
mark.todo { background: #ffe08a; color: #3b2a00; padding: 0 .25em; }

/* ---------- 404 ---------- */
.nf { display: grid; place-items: center; text-align: center; min-height: 100vh; min-height: 100svh; gap: 22px; padding: 120px var(--gut) 80px; background: var(--bg); color: var(--on); }
.nf .pint { width: min(220px, 50vw); }
.nf h1 { font: 500 clamp(48px, 8vw, 120px)/.9 var(--f-display); letter-spacing: -.045em; }

/* ---------- Pied de page enrichi ---------- */
.foot__cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px var(--gut); }
.foot__cols p, .foot__cols a { display: block; }
.foot__cols a { text-decoration: none; padding: 3px 0; }
.foot__cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__t { font: 500 22px/1.1 var(--f-display); margin-bottom: 10px; color: var(--gold); }

/* ---------- Téléphone / tablette ---------- */
@media (max-width: 1000px) {
  .phero--split { grid-template-columns: 1fr; }
  .steps4 { grid-template-columns: 1fr 1fr; }
  .hist__list { grid-template-columns: 1fr 1fr; row-gap: 72px; }
  .hist__line { display: none; }
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
}
@media (max-width: 760px) {
  .ateaser, .chap, .formules__grid, .brew__wrap, .aprive, .story2, .cform, .cta-band, .values, .form__row, .form__event, .foot__cols, .savoir { grid-template-columns: 1fr; }
  .chap { min-height: 0; }
  .chap--flip .chap__visual { order: 0; }
  .chap__facts { grid-template-columns: 1fr 1fr; }
  .chapnav { justify-content: flex-start; }
  .chapnav a { font-size: 13px; padding: 6px 10px; }
  .b12 { grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .brew__stage { top: 70px; z-index: 2; background: var(--paper); padding-bottom: 10px; }
  .brew__svg { max-width: 260px; margin: 0 auto; display: block; }
  .brew__steps { gap: 40vh; padding-top: 2vh; }
  .steps4 { grid-template-columns: 1fr; }
  .legal__dl > div { grid-template-columns: 1fr; gap: 4px; }
  .lineup img { width: calc((100vw - 2 * var(--gut)) / 10.8); }
}

/* ---------- Portraits nommés ---------- */
.pcard { position: relative; }
.pcard__name {
  position: absolute; left: 14px; bottom: 14px; padding: 8px 16px 11px; overflow: hidden;
  background: var(--bg); color: var(--on); font: 500 clamp(22px, 2.1vw, 34px)/1 var(--f-display); letter-spacing: -.02em;
}
.pcard__name .pl { display: inline-block; }
.pcard__name::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--beer); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease); }
.pcard:hover .pcard__name::after, .pcard.is-named .pcard__name::after { transform: scaleX(1); }
.pcard:hover img { transform: scale(1.06); }

/* ---------- La Girondine : une scène par cuvée (couleurs et veinage d'après les étiquettes) ---------- */
.gcave { position: relative; height: calc(100vh + 170vh); height: calc(100svh + 170svh); background: var(--night); }
.gcave__stage { --gs: 11vh; --gb: min(78vh, 860px); position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: var(--gt); transition: color .8s var(--ease); }
[data-c="sauternes"] { --gh: #a67c22; --gf: #c4952f; --ga: #dcb656; --gl: #94701f; --gt: #241606; --gg: #241606; }
[data-c="pessac"] { --gh: #561629; --gf: #6e1f38; --ga: #8a3450; --gl: #c89a3e; --gt: #f8ecdf; --gg: #e0b45a; }
[data-c="cognac"] { --gh: #1f1617; --gf: #2e2224; --ga: #4d3d3e; --gl: #b98a2e; --gt: #f1e6d0; --gg: #cf9940; }
.gcave__fields { position: absolute; inset: 0; z-index: 0; } /* contexte propre : les couches de couleur restent sous l'arche et le nom */
.gfield { position: absolute; inset: 0; background: var(--gf); clip-path: inset(100% 0 0 0); }
.gfield.is-on { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease); }
.gfield__grain {
  position: absolute; inset: -4%; background: var(--gl); opacity: .75;
  -webkit-mask: url(../img/girondine/grain-gold.svg) center / cover no-repeat; mask: url(../img/girondine/grain-gold.svg) center / cover no-repeat;
  animation: grain 26s ease-in-out infinite alternate;
}
@keyframes grain { from { transform: scale(1) translateX(-1.5%); } to { transform: scale(1.06) translateX(1.5%); } }
.gcave__head { position: absolute; z-index: 5; left: var(--gut); bottom: clamp(24px, 5vh, 52px); width: min(27vw, 400px); }
.gcave__head h2 { font: 500 clamp(30px, 3.2vw, 54px)/1 var(--f-display); letter-spacing: -.03em; }
.gcave__head p { margin-top: 12px; }
.gpanel { position: absolute; inset: 0; visibility: hidden; transition: visibility 0s .5s; }
.gpanel.is-on { visibility: visible; transition-delay: 0s; }
.gpanel__arch {
  position: absolute; z-index: 1; left: 50%; bottom: 0; translate: -50% 0; width: min(30vw, 62vh); height: 74vh; height: 74svh;
  border-radius: 999px 999px 0 0; background: var(--ga); transform: translateY(101%); transition: transform .9s var(--ease);
}
/* La tablette du rendu d'origine : elle cache le culot, comme dans le visuel d'impression */
.gpanel__shelf {
  position: absolute; z-index: 4; left: -5vw; right: -5vw; bottom: -6vh; height: calc(var(--gs) + 6vh); rotate: -1.4deg;
  background: var(--gh); border-top: 3px solid var(--ga); transform: translateY(101%); transition: transform .9s var(--ease);
}
.gpanel__giant {
  position: absolute; z-index: 2; left: 0; right: 0; top: clamp(70px, 11vh, 110px); text-align: center; white-space: nowrap; color: var(--gg); overflow: hidden;
  font: 600 min(21vw, 30vh)/.95 var(--f-display); letter-spacing: -.045em; padding-bottom: .08em;
}
.gpanel__giant--pessac { font-size: min(12.6vw, 30vh); }
.gpanel__giant--sauternes { font-size: min(19vw, 30vh); }
.gpanel__giant span { display: inline-block; transform: translateY(115%) rotate(6deg); transition: transform .9s var(--ease); }
.gpanel__giant .gl1 { transition-delay: .03s; } .gpanel__giant .gl2 { transition-delay: .06s; } .gpanel__giant .gl3 { transition-delay: .09s; }
.gpanel__giant .gl4 { transition-delay: .12s; } .gpanel__giant .gl5 { transition-delay: .15s; } .gpanel__giant .gl6 { transition-delay: .18s; }
.gpanel__bottle {
  position: absolute; z-index: 3; left: 50%; bottom: calc(var(--gs) - var(--gb) * .053); translate: -50% 0; height: var(--gb); width: auto; max-width: none;
  opacity: 0; transform: translateY(26%) rotate(9deg); transform-origin: 50% 100%; transition: transform 1.1s var(--ease), opacity .3s;
}
.gpanel__txt { position: absolute; z-index: 5; right: var(--gut); bottom: calc(clamp(24px, 5vh, 52px) + 70px); width: min(27vw, 400px); }
.gpanel__txt > * { opacity: 0; transform: translateY(22px); transition: transform .8s var(--ease), opacity .4s; }
.gpanel__txt h3 { font: 500 clamp(32px, 3.6vw, 60px)/1 var(--f-display); letter-spacing: -.03em; }
.gpanel__txt p { margin-top: 8px; font-size: clamp(17px, 1.3vw, 21px); }
.gpanel__txt .gpanel__year { font: 400 clamp(44px, 5vw, 84px)/1 var(--f-display); letter-spacing: -.04em; margin-top: 10px; }
.gpanel__txt .gpanel__meta { font-size: 15px; }
.gpanel.is-on .gpanel__arch, .gpanel.is-on .gpanel__shelf, .gpanel.is-on .gpanel__giant span { transform: none; }
.gpanel.is-on .gpanel__bottle { opacity: 1; transform: none; transition-delay: .12s; }
.gpanel.is-on .gpanel__txt > * { opacity: 1; transform: none; transition-delay: .25s; }
.gcave__nav { position: absolute; z-index: 6; right: var(--gut); bottom: clamp(24px, 5vh, 52px); display: flex; flex-wrap: wrap; gap: 6px; width: min(27vw, 400px); }
.gcave__nav button {
  min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap;
  background: color-mix(in srgb, currentColor 14%, transparent); transition: background-color .35s var(--ease), color .35s var(--ease);
}
.gcave__nav button[aria-pressed="true"] { background: var(--gt); color: var(--gf); }
.gcave__nav button:hover { background: color-mix(in srgb, currentColor 26%, transparent); }
.gcave__nav button[aria-pressed="true"]:hover { background: var(--gt); }
/* Sans JavaScript : les trois cuvées l'une sous l'autre */
html:not(.js) .gcave { height: auto; }
html:not(.js) .gcave__stage { position: static; height: auto; }
html:not(.js) .gpanel { position: relative; visibility: visible; min-height: 100vh; }
html:not(.js) .gfield:first-child { clip-path: none; }
html:not(.js) .gpanel__bottle, html:not(.js) .gpanel__txt > * { opacity: 1; transform: none; }
html:not(.js) .gpanel__arch, html:not(.js) .gpanel__shelf, html:not(.js) .gpanel__giant span { transform: none; }
html:not(.js) .gcave__nav { display: none; }
@media (max-width: 760px) {
  .gcave__stage { --gs: 25vh; --gs: 25svh; --gb: 52vh; --gb: 52svh; }
  .gcave__head { top: 74px; bottom: auto; left: var(--gut); right: var(--gut); width: auto; }
  .gcave__head h2 { font-size: 24px; }
  .gcave__head p { display: none; }
  .gpanel__giant { top: 110px; }
  .gpanel__giant { font-size: min(25vw, 13vh); }
  .gpanel__giant--pessac { font-size: min(12.6vw, 13vh); }
  .gpanel__giant--sauternes { font-size: min(21vw, 13vh); }
  .gpanel__arch { width: 66vw; height: 58vh; height: 58svh; bottom: 24vh; bottom: 24svh; border-radius: 999px 999px 0 0; }
  .gpanel__txt { left: var(--gut); right: var(--gut); width: auto; bottom: 74px; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: end; }
  .gpanel__txt h3 { font-size: 26px; grid-column: 1; }
  .gpanel__txt p { margin-top: 2px; font-size: 15px; grid-column: 1; }
  .gpanel__txt .gpanel__year { grid-column: 2; grid-row: 1 / 3; font-size: 40px; margin: 0; }
  .gpanel__txt .gpanel__meta { grid-column: 1 / -1; font-size: 13px; }
  .gcave__nav { left: var(--gut); right: var(--gut); width: auto; bottom: 14px; justify-content: center; flex-wrap: nowrap; }
  .gcave__nav button { padding: 0 11px; font-size: 13px; }
}
