/* ==========================================================================
   Bonhom | site vitrine
   Couleurs relevées sur l'étiquette et le flyer (fichiers d'impression).
   Polices libres (SIL OFL) auto-hébergées : Bebas Neue, Libre Franklin.
   ========================================================================== */

@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/bebas-neue-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("../fonts/libre-franklin-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/libre-franklin-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("../fonts/libre-franklin-latin-wght-italic.woff2") format("woff2-variations"),
       url("../fonts/libre-franklin-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --blue: #1f34a3;
  --blue-deep: #1a2b87;
  --blue-night: #121d5e;
  --blue-glow: #2d47c2;
  --gold: #f1be48;
  --gold-light: #f7cd68;
  --red: #c22a1f;
  --paper: #f4f0e4;
  --paper-light: #faf7ef;
  --ink: #1d1b18;
  --ink-2: #4a453d;
  --line: rgba(29, 27, 24, .22);

  --font-display: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-text: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;

  /* échelle 1,25 */
  --step--1: .85rem;
  --step-0: 1.0625rem;
  --step-1: 1.328rem;
  --step-2: 1.66rem;
  --step-3: 2.075rem;
  --step-4: 2.594rem;
  --step-5: 3.242rem;
  --step-6: 4.053rem;

  --container: 75rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 4.5rem;
  --ease-out: cubic-bezier(.2, .7, .2, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .11 0 0 0 0 .1 0 0 0 0 .08 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, h5 { font-weight: 400; margin: 0; }
p { margin: 0 0 1em; }
sup { font-size: .62em; line-height: 0; vertical-align: .55em; }
figure { margin: 0; }
blockquote { margin: 0; }
address { font-style: normal; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .6rem 1rem;
  background: var(--gold);
  color: var(--blue-night);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.section--paper :focus-visible { outline-color: var(--red); }

/* ---------- Typo utilitaires ---------- */
.kicker {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin: 0 0 .9rem;
}
.kicker--gold { color: var(--gold); }
.kicker--red { color: var(--red); }

.h2 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.4vw, var(--step-6));
  line-height: .95;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, var(--step-5));
  line-height: .95;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.5;
}

.rule-double,
.rules-gold {
  --rule-c: var(--gold);
}
.rule-double {
  height: 8px;
  border-top: 3px solid var(--rule-c);
  border-bottom: 1.5px solid var(--rule-c);
}
/* doubles filets dorés dessus / dessous, comme sur l'étiquette */
.rules-gold {
  padding-block: .85rem .7rem;
  background:
    linear-gradient(var(--rule-c), var(--rule-c)) 0 0 / 100% 3px no-repeat,
    linear-gradient(var(--rule-c), var(--rule-c)) 0 6px / 100% 1.5px no-repeat,
    linear-gradient(var(--rule-c), var(--rule-c)) 0 100% / 100% 3px no-repeat,
    linear-gradient(var(--rule-c), var(--rule-c)) 0 calc(100% - 6px) / 100% 1.5px no-repeat;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.1rem;
  padding: .82rem 1.6rem .7rem;
  border: 2px solid transparent;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--small { min-height: 2.5rem; padding: .62rem 1rem .5rem; font-size: 1.125rem; }
.btn--large { min-height: 3.6rem; padding: 1rem 2rem .85rem; font-size: 1.5rem; }
.btn--gold { background: var(--gold); color: var(--blue-night); }
.btn--gold:hover { background: var(--gold-light); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-deep); }
.btn__meta {
  font-family: var(--font-text);
  font-size: .75rem;
  letter-spacing: .04em;
  font-weight: 600;
  opacity: .8;
  padding-top: .1em;
}

/* ---------- En-tête ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--blue-deep);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px -12px rgba(10, 16, 60, .45);
  transition: background-color .35s, box-shadow .35s;
}
.js .site-header:not(.is-solid):not(.menu-open) {
  background: transparent;
  box-shadow: none;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--gold);
  text-decoration: none;
  margin-right: auto;
}
.brand__mascot { width: 2.4rem; height: auto; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.95rem;
  line-height: 1;
  letter-spacing: .16em;
  padding-top: .12em;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.1rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__list a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: .07em;
  text-decoration: none;
  color: rgba(255, 255, 255, .9);
  padding-block: .5rem;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat;
  transition: color .2s, background-size .25s var(--ease-out);
}
.site-nav__list a:hover { color: var(--gold); background-size: 100% 2px; }
.site-nav__toggle { display: none; }
.site-header__cta { margin-left: .5rem; }

/* ---------- Hero ---------- */
.hero {
  --wm: clamp(5.5rem, calc((100vw - 2 * var(--gutter)) / 3.2), 18.5rem);
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 48% 62% at 74% 46%, var(--blue-glow) 0%, rgba(45, 71, 194, 0) 72%),
    var(--blue);
  padding-top: calc(var(--header-h) + clamp(1.25rem, 4vh, 3rem));
}
/* trame d'impression discrète */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .085) .9px, transparent 1.2px);
  background-size: 7px 7px;
  -webkit-mask-image: linear-gradient(115deg, transparent 18%, #000 60%, transparent 92%);
  mask-image: linear-gradient(115deg, transparent 18%, #000 60%, transparent 92%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  grid-template-rows: minmax(calc(var(--wm) * 1.3), auto) auto auto;
  column-gap: clamp(1.5rem, 4vw, 4rem);
  min-height: calc(min(100svh, 60rem) - var(--header-h) - clamp(1.25rem, 4vh, 3rem));
}
.hero__copy {
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  align-self: center;
  max-width: 36rem;
  padding-block: clamp(.25rem, 2vh, 1.5rem) clamp(1.25rem, 3vh, 2.25rem);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: .9;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1.4rem;
  text-wrap: balance;
}
.hero .rule-double { width: min(100%, 26rem); margin-bottom: 1.6rem; }
.hero__lead {
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, .86);
  max-width: 33rem;
  margin-bottom: 1.8rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* scène : le mot BONHOM géant, la bouteille et le bonhom sont calés en em sur la taille du mot */
.hero__stage {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  position: relative;
  z-index: 1;
  font-size: var(--wm);
  line-height: .74;
}
.hero__wordmark {
  margin: 0 -.09em 0 0;
  padding-top: .08em;
  font-family: var(--font-display);
  letter-spacing: .09em;
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
}
/* centre du second O : 2,211em (chasses Bebas Neue mesurées) */
.hero__bottle {
  position: absolute;
  z-index: 2;
  left: 2.211em;
  bottom: .015em;
  height: 1.95em;
  width: auto;
  max-width: none;
  translate: -50% 0;
  filter: drop-shadow(0 .11em .11em rgba(8, 14, 58, .5)) drop-shadow(0 .03em .035em rgba(8, 14, 58, .35));
}
/* le bonhom danse sur le M */
.hero__mascot {
  position: absolute;
  z-index: 3;
  left: 2.79em;
  bottom: .755em;
  width: .6em;
  translate: -50% 0;
  transform-origin: 50% 96%;
  filter: drop-shadow(0 .04em .045em rgba(8, 14, 58, .45));
}
.hero__since {
  grid-column: 1 / -1;
  grid-row: 3;
  z-index: 2;
  justify-self: center;
  margin: 0;
  padding: 1rem 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}

/* entrée du hero (CSS seul) */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes lift { from { transform: translateY(46px) scale(.97); } to { transform: none; } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0); transform: translateY(.12em); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: translateY(30px) rotate(8deg) scale(.8); } 70% { opacity: 1; transform: translateY(-6px) rotate(-3deg) scale(1.03); } 100% { opacity: 1; transform: none; } }
@keyframes sway { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }

.hero__in { animation: rise .8s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
.hero__title.hero__in { animation-name: lift; }
.hero__wordmark { animation: unveil 1.1s var(--ease-out) .15s both; }
.hero__bottle { animation: lift 1.2s var(--ease-out) .05s both; }
.hero__mascot { animation: pop .9s var(--ease-out) .85s both, sway 3.4s ease-in-out 1.8s infinite alternate; }

/* ---------- Bandeau rouge ---------- */
.band {
  overflow: hidden;
  background: var(--red);
  color: #fff;
  padding: .9rem 0 .75rem;
}
.band__track {
  display: flex;
  width: max-content;
  animation: marquee 55s linear infinite;
}
.band:hover .band__track { animation-play-state: paused; }
.band__group {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding-right: 1.6rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.band svg { width: .78em; height: .78em; fill: var(--gold); flex: none; margin-top: -.12em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); position: relative; }
.section--paper {
  background-color: var(--paper);
  background-image: var(--grain);
}
.section--blue {
  background: var(--blue-deep);
  color: #fff;
}

/* ---------- L'huile ---------- */
.huile {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: start;
}
.huile__intro { max-width: 38rem; }
.huile__intro .h2 { color: var(--blue); }
.huile__intro .lead { color: var(--ink); }
.huile__intro > p:not(.kicker):not(.lead) { color: var(--ink-2); }

.facts {
  list-style: none;
  margin: 2.6rem 0 2.8rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 2.25rem;
}
.facts li { border-top: 3px solid var(--ink); padding-top: .8rem; }
.facts__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.6vw, 3.1rem);
  line-height: .9;
  color: var(--blue);
}
.facts__label {
  display: block;
  margin-top: .45rem;
  font-size: .9375rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.saying {
  border-left: 4px solid var(--red);
  padding: .3rem 0 .3rem 1.35rem;
}
.saying .kicker { margin-bottom: .55rem; }
.saying blockquote p {
  margin: 0;
  font-style: italic;
  font-size: var(--step-1);
  line-height: 1.4;
  color: var(--ink);
}

/* contre-étiquette */
.label-card {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 255, 255, .07), transparent 70%),
    var(--blue);
  color: #fff;
  padding: clamp(1.6rem, 3.2vw, 2.6rem) clamp(1.35rem, 3vw, 2.4rem) clamp(2.3rem, 4vw, 3.2rem);
  border-radius: 3px;
  border-bottom: 12px solid var(--red);
  box-shadow: 0 40px 70px -38px rgba(18, 29, 94, .7), 0 2px 0 rgba(18, 29, 94, .2);
}
.label-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1.25rem;
}
.label-card__def {
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.5;
  padding-bottom: 1.1rem;
  margin-bottom: .4rem;
  border-bottom: 2px solid var(--gold);
}
.spec { margin: 0 0 1.6rem; }
.spec > div {
  display: grid;
  grid-template-columns: minmax(8.5rem, 40%) 1fr;
  gap: 1rem;
  padding: .62rem 0;
  border-bottom: 1px solid rgba(241, 190, 72, .32);
}
.spec dt {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: .2rem;
}
.spec dd { margin: 0; font-size: .98rem; }
.nutri {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
  margin-bottom: 1.8rem;
  font-variant-numeric: tabular-nums;
}
.nutri caption {
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: .4rem;
}
.nutri th, .nutri td {
  padding: .38rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  text-align: left;
  font-weight: 500;
}
.nutri td { text-align: right; white-space: nowrap; padding-left: 1rem; }
.nutri__sub th { padding-left: 1rem; font-weight: 400; color: rgba(255, 255, 255, .82); }
.label-card__foot {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  line-height: 1;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-align: center;
}

/* ---------- Histoire ---------- */
.histoire {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: start;
}
.histoire__aside {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}
.histoire__aside .h2 { color: #fff; }
.mascot-figure { margin-top: 2.25rem; }
.mascot-figure img {
  width: min(100%, 21rem);
  filter: drop-shadow(0 22px 22px rgba(4, 8, 40, .45));
}
.mascot-figure figcaption {
  margin-top: 1.5rem;
  max-width: 34rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
  font-size: .95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .8);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: .4rem 0 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 1.1rem;
  bottom: 1.6rem;
  width: 2px;
  background: linear-gradient(var(--gold), var(--gold)) center / 2px 100% no-repeat;
}
.timeline li {
  position: relative;
  padding: 0 0 2.1rem 2.9rem;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px var(--blue-deep);
}
.timeline .timeline__now::before {
  left: -5px;
  top: .35rem;
  width: 26px;
  height: 26px;
  background: radial-gradient(circle, var(--gold) 0 5px, var(--blue-deep) 5.5px 8px, var(--gold) 8.5px);
}
.timeline__year {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: .02em;
  color: var(--gold);
  margin-bottom: .4rem;
}
.timeline p { margin: 0; max-width: 50ch; color: rgba(255, 255, 255, .88); }

/* ---------- La Gazette ---------- */
.masthead {
  text-align: center;
  color: var(--ink);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.masthead__top {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding-top: .6rem;
  border-top: 1.5px solid var(--ink);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.masthead__title {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 13.5vw, 10.5rem);
  line-height: .86;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: .9rem 0 1rem;
}
.masthead__sub {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .4rem 1rem;
  margin: 0;
  padding: .7rem 0 .6rem;
  border-top: 3px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.masthead__sub svg { width: .8em; height: .8em; fill: var(--red); margin-top: -.15em; }

.front {
  --front-gap: clamp(2.5rem, 4.8vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--front-gap);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 3px solid var(--ink);
}
.front__item { position: relative; }
.front__item + .front__item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--front-gap) / -2);
  border-left: 1px solid var(--line);
}
.front__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.8vw, 2.5rem);
  line-height: .95;
  text-transform: uppercase;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1.5px solid var(--ink);
  min-height: calc(2 * .95em + 1rem);
}
.paper-figure { margin: 0 0 1.4rem; }
.paper-figure a { display: block; cursor: zoom-in; }
.paper-figure img {
  width: 100%;
  background: #e9e3d3;
  transition: transform .5s var(--ease-out), filter .5s;
}
.paper-figure a:hover img { filter: contrast(1.04) brightness(1.02); }
.front .paper-figure a { overflow: hidden; }
.front .paper-figure img { aspect-ratio: 5 / 6; object-fit: cover; }
.front .paper-figure a:hover img { transform: scale(1.03); }
.paper-figure figcaption {
  margin-top: .65rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--ink);
  font-size: .85rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink-2);
}
.front__item p { font-size: 1rem; line-height: 1.6; }

.dropcap::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.9em;
  line-height: .74;
  color: var(--red);
  padding: .07em .09em 0 0;
  margin-bottom: -.05em;
}

.une {
  text-align: center;
  max-width: 54rem;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem);
}
.une__title {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 11vw, 8.5rem);
  line-height: .84;
  text-transform: uppercase;
  margin: .25rem 0 1.5rem;
  text-wrap: balance;
}
.une__standfirst {
  font-style: italic;
  font-size: var(--step-1);
  line-height: 1.45;
  max-width: 36ch;
  margin: 0 auto 2rem;
  color: var(--ink);
}
.une__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 34rem;
  margin: 0 auto;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.une__meta::before, .une__meta::after { content: ""; flex: 1; border-top: 1.5px solid var(--ink); }

.episode {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7.5fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
  border-top: 1.5px solid var(--ink);
}
.episode__head {
  position: sticky;
  top: calc(var(--header-h) + 1.75rem);
  align-self: start;
}
.episode__title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: .93;
  text-transform: uppercase;
  text-wrap: balance;
}
.episode__body { max-width: 40rem; }
.episode__body p { margin-bottom: 1.1em; }
.episode__body > :last-child { margin-bottom: 0; }
.episode__closing { font-weight: 600; }
.list-brevets {
  margin: 0 0 1.1em;
  padding: 0;
  list-style: none;
}
.list-brevets li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: .35rem;
}
.list-brevets li::before {
  content: "";
  position: absolute;
  left: .15rem;
  top: .62em;
  width: .45rem;
  height: .45rem;
  background: var(--red);
  transform: rotate(45deg);
}

.pullquote {
  margin: 2rem 0;
  padding: 1.5rem 0 1.4rem;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  text-align: center;
}
.pullquote p {
  margin: 0;
  font-style: italic;
  font-size: var(--step-2);
  line-height: 1.32;
  color: var(--red);
  text-wrap: balance;
}
.pullquote--gold {
  border: 0;
  padding: 1.8rem 0;
  background:
    linear-gradient(var(--gold), var(--gold)) 50% 0 / 9rem 3px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 50% 6px / 9rem 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 50% 100% / 9rem 3px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 50% calc(100% - 6px) / 9rem 1.5px no-repeat;
}
.pullquote--gold p { color: var(--ink); }

.headline-break {
  margin: 2.2rem 0;
  padding: 1.3rem 0 1.1rem;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: .92;
  text-transform: uppercase;
  text-align: center;
}
.headline-break span { display: block; }

.archives__grid img {
  background: transparent;
  filter: drop-shadow(0 14px 16px rgba(29, 27, 24, .22));
}

.archives {
  border-top: 3px solid var(--ink);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.archives__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: .95;
  text-transform: uppercase;
}
.archives__intro {
  font-style: italic;
  color: var(--ink-2);
  margin: .6rem auto 2.2rem;
  max-width: 44ch;
}
.archives__grid {
  display: grid;
  grid-template-columns: .8fr 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  max-width: 60rem;
  margin: 0 auto;
  align-items: end;
  text-align: left;
}
.archives__grid .paper-figure { margin: 0; }
.signature { margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; }
.signature p { margin: 0; }
.signature__date {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem !important;
}
.signature__name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1;
  text-transform: uppercase;
}
.signature__place {
  margin-top: .4rem !important;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--ink-2);
}
.signature__toast {
  margin-top: 1.4rem !important;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
}

/* livret et flyer */
.docs {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--paper-light);
  border: 1.5px solid var(--ink);
  box-shadow: 8px 8px 0 var(--blue);
}
.docs__head { max-width: 44rem; margin-bottom: 2.2rem; }
.docs__head p:last-child { color: var(--ink-2); margin: 0; }
.docs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: end;
}
.doc-card { display: grid; gap: 1.4rem; align-content: start; }
.doc-card__cover { display: block; }
.doc-card__cover img {
  box-shadow: 0 2px 3px rgba(0, 0, 0, .12), 0 24px 30px -16px rgba(18, 29, 94, .45);
  transition: transform .45s var(--ease-out);
}
.doc-card__cover--gazette img { width: min(100%, 15rem); transform: rotate(-2.5deg); }
.doc-card__cover--flyer img { transform: rotate(1.5deg); }
.doc-card__cover:hover img { transform: rotate(0) translateY(-4px); }
.doc-card h4 {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.doc-card p { color: var(--ink-2); font-size: .98rem; }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(ellipse 60% 80% at 85% 50%, rgba(45, 71, 194, .55), transparent 70%),
    var(--blue-deep);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.contact .h2 { color: #fff; max-width: 15ch; }
.contact .lead { color: rgba(255, 255, 255, .86); max-width: 40rem; margin-bottom: 2rem; }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 0; }
.contact__mail { font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .9); user-select: all; }
.contact-card {
  background: var(--blue);
  padding: clamp(1.75rem, 3.4vw, 2.75rem);
  text-align: center;
  box-shadow:
    inset 0 0 0 2px var(--gold),
    inset 0 0 0 7px var(--blue),
    inset 0 0 0 8.5px var(--gold),
    0 30px 60px -30px rgba(4, 8, 40, .8);
}
.contact-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  line-height: 1;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.contact-card address { line-height: 1.65; color: #fff; }
.contact-card__since {
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(241, 190, 72, .45);
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}

/* ---------- Pied de page ---------- */
.site-footer { background: var(--blue-night); color: rgba(255, 255, 255, .78); font-size: .93rem; }
.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem 3rem;
  align-items: center;
  padding-block: 2.6rem 2.2rem;
}
.site-footer__brand p { margin: 0; line-height: 1.5; }
.site-footer__wordmark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1 !important;
  letter-spacing: .16em;
  color: var(--gold);
  margin-bottom: .35rem !important;
}
.site-footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem 1.6rem;
}
.site-footer__nav a { text-decoration: none; }
.site-footer__nav a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: .2em; }
.site-footer__copy { margin: 0; }
.site-footer__band { background: var(--red); text-align: center; padding: .9rem 1rem .75rem; }
.site-footer__band p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Mentions légales ---------- */
.legal { padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5rem)); min-height: 70vh; }
.legal__inner { max-width: 46rem; }
.legal__title { color: var(--blue); margin-bottom: 2.5rem; }
.legal section { padding-block: 1.6rem; border-top: 1.5px solid var(--ink); }
.legal__h {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.legal p:not(.kicker), .legal li { color: var(--ink-2); }
.legal__list { margin: 0; padding-left: 1.1rem; }
.legal__list li { margin-bottom: .35rem; }
.legal a { color: var(--blue); text-underline-offset: .18em; }
.legal__back { margin-top: 2rem; }
.legal__back .btn { color: #fff; }
mark.todo { background: #ffe58a; color: var(--ink); padding: 0 .25em; }

/* ---------- Visionneuse ---------- */
.lightbox {
  width: min(94vw, 64rem);
  max-height: 94vh;
  padding: 1rem 1rem 1.1rem;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.lightbox::backdrop { background: rgba(12, 18, 60, .82); }
.lightbox form { display: flex; justify-content: flex-end; margin-bottom: .6rem; }
.lightbox__close {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .45rem .9rem .35rem;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.lightbox__close:hover { background: var(--ink); color: var(--paper); }
.lightbox__img { width: auto; max-width: 100%; max-height: calc(94vh - 9rem); margin: 0 auto; }
.lightbox__caption { margin: .8rem auto 0; max-width: 60ch; font-size: .9rem; font-style: italic; text-align: center; color: var(--ink-2); }

/* ---------- Apparition au défilement (si JS) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 68em) {
  .site-nav__list { gap: 1.1rem; }
}

@media (max-width: 60em) {
  :root { --header-h: 4rem; }

  .js .site-nav__toggle {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 2.5rem;
    padding: .55rem .85rem .45rem;
    border: 1.5px solid rgba(255, 255, 255, .55);
    border-radius: 2px;
    background: transparent;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.125rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .site-nav__burger,
  .site-nav__burger::before,
  .site-nav__burger::after {
    display: block;
    width: 16px;
    height: 2px;
    background: currentColor;
    transition: transform .25s, opacity .25s;
  }
  .site-nav__burger { position: relative; margin-top: -.12em; }
  .site-nav__burger::before, .site-nav__burger::after { content: ""; position: absolute; left: 0; }
  .site-nav__burger::before { top: -5px; }
  .site-nav__burger::after { top: 5px; }
  .site-nav__toggle[aria-expanded="true"] .site-nav__burger { background: transparent; }
  .site-nav__toggle[aria-expanded="true"] .site-nav__burger::before { transform: translateY(5px) rotate(45deg); }
  .site-nav__toggle[aria-expanded="true"] .site-nav__burger::after { transform: translateY(-5px) rotate(-45deg); }

  .site-nav__list {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem var(--gutter) 1.4rem;
    background: var(--blue-deep);
    box-shadow: 0 24px 30px -18px rgba(4, 8, 40, .7);
  }
  .site-nav__list.is-open { display: flex; }
  .site-nav__list li + li { border-top: 1px solid rgba(255, 255, 255, .12); }
  .site-nav__list a { display: block; padding: .9rem 0 .75rem; font-size: 1.5rem; }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    min-height: 0;
  }
  .hero__copy { grid-column: 1; grid-row: 1; max-width: 40rem; padding-bottom: 1rem; }
  /* mobile : la bouteille et le bonhom se tiennent debout sur les lettres */
  .hero { --wm: calc((100vw - 2 * var(--gutter)) / 3.1); }
  .hero__stage { grid-column: 1; padding-top: 2.6em; margin-top: .5rem; }
  .hero__bottle { left: 50%; bottom: .755em; height: 2.6em; }
  .hero__mascot { left: .62em; width: .95em; }
  .hero__since { grid-row: 3; }

  .huile, .histoire, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .huile__intro { max-width: none; }
  .label-card { max-width: 40rem; }
  .histoire__aside { position: static; }
  .mascot-figure { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 1.5rem; align-items: center; }
  .mascot-figure figcaption { margin-top: 0; }

  .front { grid-template-columns: minmax(0, 1fr); }
  .front__item + .front__item::before { content: none; }
  .front__item + .front__item { border-top: 1px solid var(--line); padding-top: 2.25rem; margin-top: 1rem; }
  .front__title { min-height: 0; }
  .front .paper-figure img { aspect-ratio: 4 / 3; }

  .episode { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .episode__head { position: static; }

  .docs__list { grid-template-columns: minmax(0, 1fr); }
  .doc-card { grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); align-items: center; }
  .doc-card__cover--flyer { grid-column: 1 / -1; }
  .doc-card__cover--flyer + .doc-card__text { grid-column: 1 / -1; }
  .contact .h2 { max-width: none; }
  .contact-card { max-width: 30rem; }

  .site-footer__inner { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .site-footer__nav ul { justify-content: center; }
}

@media (max-width: 40em) {
  body { font-size: 1rem; }
  .hide-sm { display: none; }
  .brand__name { font-size: 1.7rem; letter-spacing: .13em; }
  .brand__mascot { width: 2.1rem; }
  .site-header__cta { margin-left: .25rem; }
  .hero__title { font-size: clamp(2.6rem, 12.5vw, 3.6rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .band__group { font-size: 1.3rem; gap: 1.2rem; padding-right: 1.2rem; }
  .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 1.25rem; }
  .spec > div { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
  .mascot-figure { grid-template-columns: minmax(0, 1fr); }
  .mascot-figure img { width: min(70%, 15rem); }
  .archives__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .archives__grid .paper-figure:first-child { grid-column: 1 / -1; width: min(62%, 14rem); justify-self: center; }
  .archives__grid figcaption { font-size: .78rem; }
  .doc-card { grid-template-columns: minmax(0, 1fr); }
  .doc-card__cover--gazette img { width: min(70%, 13rem); }
  .masthead__top { font-size: .7rem; }
  .docs { box-shadow: 5px 5px 0 var(--blue); }
}

@media (max-width: 23em) {
  .brand__name { font-size: 1.45rem; letter-spacing: .1em; }
  .js .site-nav__toggle { padding-inline: .6rem; }
  .facts { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
  }
  .band__track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Impression ---------- */
@media print {
  .site-header, .band, .hero__actions, .lightbox, .site-nav { display: none !important; }
  .hero { padding-top: 1rem; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .section { padding-block: 2rem; }
  .episode__head, .histoire__aside { position: static; }
}
