/* ==========================================================================
   Maison Minatchy — Homepage
   - Typographie : Poppins (police de la marque)
   - Ardoise : le fond des photographies produit, prolongé dans la page
   - Papier / crème : le papier boucher, les sections éditoriales
   - Brun Minatchy : la couleur des taureaux du logo
   - Rouge Minatchy : l'accent identitaire du site actuel (#A90402)
   Grille : 12 colonnes, gouttière unique, images rectangulaires alignées.
   ========================================================================== */

:root {
  --ardoise: #2A2B28;
  --ardoise-2: #34352F;
  --ardoise-3: #1D1E1B;
  --brun: #4F2826;
  --rouge: #A90402;
  --rouge-2: #870301;
  --creme: #F2EADD;
  --papier: #FAF6EE;
  --rose: #ECD5CA;
  --encre: #1F1D1B;
  --encre-2: #625A54;
  --sur-sombre-2: rgba(242, 234, 221, .74);
  --sur-sombre-3: rgba(242, 234, 221, .5);
  --ligne: rgba(31, 29, 27, .14);
  --ligne-sombre: rgba(242, 234, 221, .18);
  --ouvert: #93C584;
  --ferme: #E0A08F;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(20px, 4vw, 48px);
  --gap: 24px;
  --section: clamp(88px, 10vw, 152px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font: 400 16px/1.75 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--section) 0; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--papier); color: var(--encre); padding: 10px 16px; border-radius: 4px;
}
.skip:focus { top: 16px; }

/* ---------- Typographie ---------- */

.h2 {
  font-size: clamp(30px, 3.3vw, 50px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.h2 em { font-style: normal; color: var(--rouge); }

.label {
  font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
}

/* En-tête de section : titre à gauche, texte à droite, alignés sur la grille */
.sec-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap); align-items: start;
  margin-bottom: clamp(48px, 5.5vw, 88px);
}
.sec-head__title { grid-column: 1 / span 6; }
.sec-head__text { padding-top: .5em; }
.sec-head__text { grid-column: 8 / span 5; color: var(--encre-2); }
.sec-head__text p:last-child { margin-bottom: 0; }
.sec-head__text .link { margin-top: 8px; }

/* ---------- Boutons & liens ---------- */

.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  border-radius: 999px;
  font: 500 14.5px/1 var(--font);
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
/* remplissage qui monte depuis le bas au survol */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill); border-radius: inherit;
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 16px 28px -12px rgba(0, 0, 0, .45); color: var(--fill-text); }
.btn:hover::before { transform: none; }
.btn:active { transform: translateY(-1px) scale(.99); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .4); transition-duration: .12s; }
.btn__arrow {
  width: 15px; height: 15px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .5s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(7px); }
.btn:hover .btn__arrow--down { transform: translateY(5px); }

.btn--light { background: var(--creme); color: var(--encre); --fill: var(--rouge); --fill-text: var(--papier); }
.btn--red { background: var(--rouge); color: var(--papier); --fill: var(--encre); --fill-text: var(--papier); }
.btn--ghost { border-color: var(--ligne-sombre); color: var(--creme); --fill: var(--creme); --fill-text: var(--encre); }
.btn--ghost:hover { border-color: var(--creme); }

.link { margin-top: 8px; }

/* ---------- Boutons & liens ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  border-radius: 999px;
  font: 500 14.5px/1 var(--font);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn__arrow {
  width: 15px; height: 15px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .45s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:hover .btn__arrow--down { transform: translateY(3px); }

.btn--light { background: var(--creme); color: var(--encre); }
.btn--light:hover { background: #fff; }
.btn--red { background: var(--rouge); color: var(--papier); }
.btn--red:hover { background: var(--rouge-2); }
.btn--ghost { border-color: var(--ligne-sombre); color: var(--creme); }
.btn--ghost:hover { border-color: var(--creme); }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14.5px; font-weight: 500;
  color: var(--rouge);
  text-decoration: none;
  padding-bottom: 5px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link::after { content: "→"; transition: transform .45s var(--ease); }
.link:hover::after, a:hover > .link::after { transform: translateX(8px); }
.link:hover { background-size: 100% 2px; }

/* ---------- Statut d'ouverture ---------- */

.status-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: currentColor; opacity: .5; }
.status-dot.is-open { background: var(--ouvert); opacity: 1; box-shadow: 0 0 0 4px rgba(147, 197, 132, .18); }
.status-dot.is-closed { background: var(--ferme); opacity: 1; }

/* ==========================================================================
   En-tête
   ========================================================================== */

.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--creme);
  transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease);
}
.header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 16px var(--pad);
}
.nav { display: flex; align-items: center; align-self: start; gap: clamp(18px, 2vw, 32px); }
.nav--right { justify-content: flex-end; }
.nav__item { position: relative; }

.nav__link {
  position: relative; display: inline-block; padding: 8px 0;
  font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__link:hover::after, .nav__item--drop:focus-within > .nav__link::after { transform: scaleX(1); transform-origin: left; }

.nav__phone {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid rgba(242, 234, 221, .38);
  font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: border-color .3s, background-color .3s, color .3s, transform .45s var(--ease);
}
.nav__phone:hover { background: var(--creme); color: var(--encre); border-color: var(--creme); transform: translateY(-2px); }

.drop {
  position: absolute; top: calc(100% + 8px); left: -16px; min-width: 250px;
  padding: 8px; border-radius: 4px;
  background: var(--papier); color: var(--encre);
  box-shadow: 0 18px 40px -18px rgba(20, 16, 12, .35);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__item--drop:hover .drop, .nav__item--drop:focus-within .drop {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.drop a {
  display: flex; gap: 14px; align-items: baseline;
  padding: 11px 14px; border-radius: 3px;
  font-size: 14px; font-weight: 500; text-decoration: none;
}
.drop a:hover { background: var(--creme); }
.drop span { font-size: 11px; font-weight: 500; letter-spacing: .06em; color: var(--rouge); }

.brand { position: relative; display: block; line-height: 0; }
.brand__img { height: 104px; width: auto; transition: height .45s var(--ease), opacity .45s var(--ease); }
.brand__img--dark { position: absolute; inset: 0; opacity: 0; }

.header.is-solid {
  background: rgba(250, 246, 238, .95);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  color: var(--encre);
  box-shadow: 0 1px 0 var(--ligne);
}
.header.is-solid .brand__img { height: 56px; }
.header.is-solid .brand__img--light { opacity: 0; }
.header.is-solid .brand__img--dark { opacity: 1; }
.header.is-solid .nav__phone { border-color: var(--ligne); }
.header.is-solid .nav__phone:hover { background: var(--encre); color: var(--papier); border-color: var(--encre); }

.burger {
  display: none; justify-self: end; align-self: start; align-items: center; gap: 12px;
  background: none; border: 0; padding: 10px 0; cursor: pointer;
  font-size: 14px; font-weight: 500;
}
.burger__bars { position: relative; width: 24px; height: 10px; }
.burger__bars i {
  position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.burger__bars i:first-child { top: 0; }
.burger__bars i:last-child { top: 8.5px; }
.menu-open .burger__bars i:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-open .burger__bars i:last-child { top: 4.25px; transform: rotate(-45deg); }

/* Menu mobile */
.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 124px var(--pad) calc(32px + env(safe-area-inset-bottom));
  background: var(--ardoise); color: var(--creme);
  overflow-y: auto;
  opacity: 0; transition: opacity .4s var(--ease);
}
.menu.is-open { opacity: 1; }
.menu[hidden] { display: none; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  padding: 10px 0; border-bottom: 1px solid var(--ligne-sombre);
  font-size: clamp(22px, 6vw, 30px); font-weight: 500; letter-spacing: -.02em; line-height: 1.25;
  text-decoration: none;
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .04s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .08s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .12s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .16s; }
.menu.is-open .menu__nav a:nth-child(6) { transition-delay: .2s; }
.menu.is-open .menu__nav a:nth-child(7) { transition-delay: .24s; }
.menu.is-open .menu__nav a:nth-child(8) { transition-delay: .28s; }
.menu__foot { margin-top: 40px; display: grid; gap: 16px; justify-items: start; }
.menu__status { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; color: var(--sur-sombre-2); }
.menu__addr { margin: 0; font-size: 14px; color: var(--sur-sombre-2); }
.menu-open .header { background: transparent; box-shadow: none; color: var(--creme); }
.menu-open .header .brand__img--light { opacity: 1; }
.menu-open .header .brand__img--dark { opacity: 0; }
.menu-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative; isolation: isolate;
  display: grid; place-items: center;
  height: 100vh; height: 100svh; min-height: 600px;
  overflow: hidden;
  background: var(--ardoise);
  color: var(--creme);
}
.hero__media { position: absolute; inset: 0; z-index: -2; transform: scale(var(--hs, 1)); }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  transform: scale(1.06);
  transition: transform 2.4s var(--ease);
}
.hero__veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(56% 48% at 50% 52%, rgba(24, 20, 18, .5) 0%, rgba(24, 20, 18, .2) 62%, rgba(24, 20, 18, 0) 100%),
    linear-gradient(to bottom, rgba(24, 20, 18, .5) 0%, rgba(24, 20, 18, 0) 20%, rgba(24, 20, 18, 0) 82%, rgba(24, 20, 18, .3) 100%);
}
.hero__content { text-align: center; padding: 0 var(--pad); margin-top: 3vh; transform: translateY(var(--hy, 0px)); opacity: var(--ho, 1); }
.hero__title {
  font-size: clamp(40px, 6vw, 90px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-shadow: 0 2px 40px rgba(16, 12, 10, .3);
}
.hero__title .line { display: block; overflow: hidden; padding: .24em .04em .08em; margin: -.24em 0 -.08em; }
.hero__title .line > span { display: inline-block; }
.hero__sub {
  margin: 26px 0 0;
  font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-shadow: 0 1px 18px rgba(16, 12, 10, .4);
}
.hero__cta { margin-top: 32px; }

/* Entrée du hero (activée par JS) */
.js .hero__title .line > span { transform: translateY(108%); transition: transform 1.2s var(--ease); }
.js .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.js .hero__sub, .js .hero__cta { opacity: 0; transform: translateY(10px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .hero__sub { transition-delay: .55s; }
.js .hero__cta { transition-delay: .7s; }
.js .is-loaded .hero__media img { transform: scale(1); }
.js .is-loaded .hero__title .line > span { transform: none; }
.js .is-loaded .hero__sub, .js .is-loaded .hero__cta { opacity: 1; transform: none; }

/* ==========================================================================
   Apparitions au défilement
   ========================================================================== */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal--img { opacity: 1; transform: none; clip-path: inset(8% 0 0 0); transition: clip-path 1.4s var(--ease); }
.js .reveal--img > img { transform: scale(1.06); transition: transform 1.8s var(--ease); }
.js .reveal--img.is-in { clip-path: inset(0 0 0 0); }
.js .reveal--img.is-in > img { transform: none; }

/* ==========================================================================
   La Maison
   ========================================================================== */

.maison { background: var(--papier); }
/* Manifeste : les mots se colorent au fil du défilement, photos incrustées dans la phrase */
.manifesto {
  max-width: 17.5em; margin: 0 auto clamp(48px, 5vw, 80px);
  font-size: clamp(30px, 4.5vw, 70px); font-weight: 500; line-height: 1.2; letter-spacing: -.04em;
  text-align: center; text-wrap: balance;
}
.js .manifesto .w { color: rgba(31, 29, 27, .16); transition: color .35s linear; }
.js .manifesto .w.is-on { color: var(--encre); }
.js .manifesto .w.is-accent.is-on { color: var(--rouge); }
.pill {
  display: inline-block; width: 1.65em; height: .8em; margin: 0 .06em;
  border-radius: 999px; overflow: hidden; vertical-align: -.04em;
  background: var(--creme);
}
.pill img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform 1.2s var(--ease); }
.pill.is-on img { transform: none; }

.maison__text {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: calc(var(--gap) * 2);
  max-width: 900px; margin: 0 auto clamp(56px, 6vw, 96px);
  color: var(--encre-2);
}
.maison__text .link { grid-column: 1 / -1; justify-self: center; margin-top: 12px; }

.triptych {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap);
}
.triptych figure { overflow: hidden; aspect-ratio: 4 / 5; background: var(--creme); }
.triptych img { width: 100%; height: 100%; object-fit: cover; }
.triptych figure:nth-child(1) img { object-position: 50% 40%; }
.triptych figure:nth-child(2) img { object-position: 50% 40%; }
.triptych figure:nth-child(3) img { object-position: 42% 50%; }

.maison__note {
  max-width: 34em; margin: 40px auto 0;
  text-align: center; font-size: 15px; color: var(--encre-2);
}

/* ==========================================================================
   Les quatre univers
   ========================================================================== */

.univers { background: var(--ardoise); color: var(--creme); }
.univers .sec-head__text { color: var(--sur-sombre-2); }

/* Index interactif : grands titres à gauche, photo qui change à droite */
.index {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap); align-items: start;
}
.index { align-items: stretch; }
.index__list { grid-column: 1 / span 6; border-top: 1px solid var(--ligne-sombre); display: flex; flex-direction: column; contain: size; }
.uni {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); align-content: start;
  flex: 1 1 0; min-height: 0; overflow: hidden;
  transition: flex-grow .6s var(--ease);
  padding: 20px 0; border-bottom: 1px solid var(--ligne-sombre);
  text-decoration: none; color: inherit;
}
.uni__img { display: none; }
.uni__num { padding-top: 1.2em; font-size: 12px; font-weight: 500; letter-spacing: .08em; color: var(--sur-sombre-3); transition: color .4s var(--ease); }
.uni__title {
  font-size: clamp(30px, 3.5vw, 52px); font-weight: 500; line-height: 1.1; letter-spacing: -.045em;
  color: var(--sur-sombre-3);
  transition: color .45s var(--ease);
}
.uni:hover .uni__title, .uni.is-active .uni__title, .uni.is-active .uni__num { color: var(--creme); }
.uni__more {
  grid-column: 2; display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows .6s var(--ease), opacity .5s var(--ease);
}
.uni__more > span { display: block; overflow: hidden; }
.uni.is-active { flex-grow: 3.6; }
.uni.is-active .uni__more { grid-template-rows: 1fr; opacity: 1; }
.uni__desc { display: block; max-width: 34em; margin-top: 14px; font-size: 15px; line-height: 1.7; color: var(--sur-sombre-2); }
.uni__cuts { display: block; margin: 10px 0 18px; font-size: 13px; color: var(--sur-sombre-3); }
.uni .tile__link { margin-left: 0; display: inline-flex; margin-bottom: 4px; }

.index__stage { grid-column: 8 / span 5; }
.index__frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ardoise-2); }
.index__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity .7s var(--ease), transform 1.3s var(--ease);
}
.index__frame img.is-active { opacity: 1; transform: none; }
.index__count {
  position: absolute; left: 20px; bottom: 18px; z-index: 1;
  font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--sur-sombre-2);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}
.index__count b { font-weight: 500; color: var(--creme); }

.tile__link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
}
.tile__link::after { content: "→"; transition: transform .45s var(--ease); }
a:hover .tile__link::after { transform: translateX(4px); }

/* ==========================================================================
   Bandeau défilant
   ========================================================================== */

.marquee { overflow: hidden; background: var(--rouge); color: var(--papier); padding: clamp(18px, 2.2vw, 30px) 0; }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 42s linear infinite; }
.marquee span { margin-right: clamp(24px, 3vw, 48px); font-size: clamp(26px, 3.6vw, 54px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; white-space: nowrap; }
.marquee i { flex: none; width: 10px; height: 10px; margin-right: clamp(24px, 3vw, 48px); border-radius: 50%; background: rgba(250, 246, 238, .55); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Bandeau matière
   ========================================================================== */

.matiere {
  position: relative; overflow: hidden;
  height: clamp(380px, 70vh, 740px);
  background: var(--ardoise);
}
.matiere img {
  position: absolute; left: 0; top: -6%;
  width: 100%; height: 112%;
  object-fit: cover; object-position: 50% 50%;
  transform: translate3d(0, var(--shift, 0px), 0);
  will-change: transform;
}
.matiere::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(22, 20, 18, .62), rgba(22, 20, 18, 0) 45%);
}
.matiere figcaption {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: clamp(28px, 4vw, 52px);
  font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -.02em; line-height: 1.3;
  color: var(--creme);
}
.matiere figcaption span {
  display: block; margin-bottom: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sur-sombre-2);
}

/* ==========================================================================
   Savoir-faire & histoire
   ========================================================================== */

.savoir { background: var(--brun); color: var(--creme); }

.savoir__story {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap); align-items: start;
}
.savoir__aside { grid-column: 1 / span 6; }
.savoir__portrait img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.savoir__portrait figcaption { margin-top: 14px; font-size: 13.5px; color: var(--sur-sombre-2); }
.savoir__text { grid-column: 8 / span 5; }
.savoir__text .h2 { margin-bottom: 32px; }
.savoir__text p { color: var(--sur-sombre-2); font-size: 15.5px; }
.savoir__text p:last-child { margin-bottom: 0; }
.savoir__text .savoir__lead { font-size: 17px; color: var(--creme); }

.figures {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--gap);
  margin: clamp(48px, 5vw, 72px) 0 0;
}
.figure { border-top: 1px solid var(--ligne-sombre); padding-top: 20px; }
.figure dt {
  font-size: clamp(44px, 4.4vw, 68px); font-weight: 300; line-height: 1; letter-spacing: -.045em;
}
.figure dt sup { font-size: .4em; vertical-align: top; position: relative; top: .25em; margin-left: .06em; letter-spacing: 0; }
.figure dd { margin: 12px 0 0; max-width: 16em; font-size: 13.5px; line-height: 1.55; color: var(--sur-sombre-2); }

.procedes { margin-top: clamp(88px, 9vw, 144px); }

.procedes {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap); align-items: start;
}
.procedes__list { grid-column: 1 / span 5; }
.procedes__title { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.025em; margin-bottom: 28px; }
.procedes__list [role="tablist"] { border-top: 1px solid var(--ligne-sombre); }
.proc {
  display: grid; grid-template-columns: 40px minmax(0, 1fr);
  width: 100%; padding: 20px 0; margin: 0;
  background: none; border: 0; border-bottom: 1px solid var(--ligne-sombre);
  text-align: left; cursor: pointer;
}
.proc__num { padding-top: .5em; font-size: 12px; font-weight: 500; letter-spacing: .08em; color: var(--sur-sombre-3); }
.proc__name {
  font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; letter-spacing: -.015em; line-height: 1.4;
  color: var(--sur-sombre-3);
  transition: color .35s var(--ease);
}
.proc__text {
  grid-column: 2;
  display: grid; grid-template-rows: 0fr;
  font-size: 15px; line-height: 1.7; color: var(--sur-sombre-2);
  opacity: 0;
  transition: grid-template-rows .6s var(--ease), opacity .45s var(--ease), margin-top .45s var(--ease);
}
.proc__text > span { overflow: hidden; }
.proc:hover .proc__name, .proc[aria-selected="true"] .proc__name { color: var(--creme); }
.proc[aria-selected="true"] .proc__text { grid-template-rows: 1fr; opacity: 1; margin-top: 8px; }
.proc:focus-visible { outline-offset: -2px; }
.proc { position: relative; }
.proc::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--creme); transform: scaleX(0); transform-origin: left;
}
.procedes.is-playing .proc[aria-selected="true"]::after { animation: procbar 6s linear forwards; }
@keyframes procbar { to { transform: scaleX(1); } }

.procedes__media {
  grid-column: 7 / span 6;
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ardoise);
}
.procedes__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity .7s var(--ease), transform 1.4s var(--ease);
}
.procedes__media img.is-active { opacity: 1; transform: none; }
.procedes__media img[data-panel="fumage"] { object-position: 50% 55%; }
.procedes__media img[data-panel="affinage"] { object-position: 50% 32%; }

.valeurs {
  list-style: none; padding: 0;
  margin: clamp(72px, 8vw, 128px) 0 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap);
}
.valeurs li { border-top: 1px solid var(--ligne-sombre); padding-top: 20px; font-size: 14px; line-height: 1.65; color: var(--sur-sombre-2); }
.valeurs strong { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 500; color: var(--creme); }

/* ==========================================================================
   La boutique : mosaïque alignée
   ========================================================================== */

.boutique { background: var(--creme); }

.mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  aspect-ratio: 16 / 10;
}
.mosaic figure { position: relative; overflow: hidden; background: var(--papier); }
.mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mosaic__a { grid-column: 1 / span 6; grid-row: 1 / span 2; }
.mosaic__a img { object-position: 50% 32%; }
.mosaic__b { grid-column: 7 / span 6; grid-row: 1; }
.mosaic__b img { object-position: 50% 40%; }
.mosaic__c { grid-column: 7 / span 3; grid-row: 2; }
.mosaic__d { grid-column: 10 / span 3; grid-row: 2; }
.mosaic__d img { object-position: 60% 40%; }
.mosaic figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 48px 20px 18px;
  font-size: 14.5px; font-weight: 500;
  color: var(--creme);
  background: linear-gradient(to top, rgba(22, 20, 18, .55), rgba(22, 20, 18, 0));
}

/* ==========================================================================
   La charcuterie : photo pleine moitié, texte sur la grille
   ========================================================================== */

.charcuterie {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(640px, 58vw, 860px);
  padding: var(--section) 0;
  background: var(--rose);
}
.charcuterie__media { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; }
.charcuterie__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.charcuterie .wrap { width: 100%; }
.charcuterie__text { width: calc(50% - var(--gap) * 2); max-width: 540px; }
.charcuterie__text .h2 { color: var(--rouge); margin-bottom: 22px; }
.charcuterie__lead { color: var(--encre-2); }
.charcut-list { margin: 28px 0 36px; border-top: 1px solid rgba(169, 4, 2, .22); }
.charcut-list > div {
  display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px;
  padding: 13px 0; border-bottom: 1px solid rgba(169, 4, 2, .22);
}
.charcut-list dt { font-size: 15px; font-weight: 500; color: var(--rouge); }
.charcut-list dd { margin: 0; font-size: 14.5px; line-height: 1.6; }

/* ==========================================================================
   Actualités
   ========================================================================== */

.actus { background: var(--papier); }
.actus__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px;
  margin-bottom: clamp(48px, 5.5vw, 80px);
}
.actus__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap); align-items: start;
}
.actu-main { grid-column: 1 / span 6; }
.actu-main a { display: block; text-decoration: none; }
.actu-main__media { overflow: hidden; }
.actu-main__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 45%; transition: transform 1.2s var(--ease); }
.actu-main a:hover .actu-main__media img { transform: scale(1.03); }
.actus time {
  display: block;
  font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--encre-2);
}
.actu-main time { margin: 24px 0 10px; }
.actu-main h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.025em; line-height: 1.25; margin-bottom: 12px; text-wrap: balance; transition: color .3s; }
.actu-main p { color: var(--encre-2); max-width: 36em; font-size: 15px; }
.actu-main a:hover h3 { color: var(--rouge); }

.actu-list { grid-column: 8 / span 5; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ligne); }
.actu-list a {
  display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 22px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--ligne);
  text-decoration: none;
}
.actu-list img { width: 104px; height: 104px; object-fit: cover; }
.actu-list h3 { margin-top: 6px; font-size: 17px; letter-spacing: -.015em; line-height: 1.4; text-wrap: balance; transition: color .3s; }
.actu-list a:hover h3 { color: var(--rouge); }

.archive {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 22px;
  margin-top: clamp(48px, 5vw, 72px); padding: 18px 24px;
  border-radius: 4px; background: var(--creme);
  font-size: 14px; color: var(--encre-2);
}
.archive p { margin: 0; }
.archive strong { font-weight: 500; color: var(--encre); }
.archive__tag { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }

/* ==========================================================================
   Visite & contact
   ========================================================================== */

.visite { background: var(--ardoise); color: var(--creme); padding-bottom: clamp(80px, 8vw, 120px); }
.visite__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap); align-items: center;
}
.visite__text { grid-column: 1 / span 5; }
.visite__title {
  font-size: clamp(38px, 4.6vw, 68px); font-weight: 600; line-height: 1.06; letter-spacing: -.035em;
  margin-bottom: 32px; text-wrap: balance;
}
.visite__addr { font-style: normal; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; margin-bottom: 16px; }
.visite__now { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--sur-sombre-2); margin-bottom: 32px; }
.visite__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.visite__mail { font-size: 14px; color: var(--sur-sombre-2); margin: 0; }
.visite__mail a { color: var(--creme); text-underline-offset: 4px; }
.visite__photo { grid-column: 7 / span 6; overflow: hidden; }
.visite__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.horaires { margin-top: clamp(64px, 7vw, 104px); }
.horaires__title { margin-bottom: 20px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--sur-sombre-2); }
.horaires__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--gap);
}
.horaires__list li {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 18px; border-top: 1px solid var(--ligne-sombre);
  font-size: 13.5px; line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
.horaires__list li > span:first-child { font-size: 16px; font-weight: 500; }
.horaires__list li > span:last-child { color: var(--sur-sombre-2); }
.horaires__list small { font-size: 12px; color: var(--sur-sombre-3); }
.horaires__list li.is-today { border-top: 2px solid var(--creme); padding-top: 17px; }
.horaires__list li.is-today > span:first-child::after {
  content: "Aujourd’hui"; display: block; margin-top: 4px;
  font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ouvert);
}

/* ==========================================================================
   Pied de page
   ========================================================================== */

.footer { padding: 88px 0 32px; background: var(--ardoise-3); color: var(--sur-sombre-2); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--gap); }
.footer__brand img { width: 112px; height: auto; }
.footer__brand p { margin-top: 20px; font-size: 17px; font-weight: 500; line-height: 1.4; letter-spacing: -.01em; color: var(--creme); }
.footer__col h3 { margin-bottom: 18px; font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--creme); }
.footer__col a { display: block; padding: 4px 0; text-decoration: none; transition: color .3s; }
.footer__col p a { display: inline; padding: 0; }
.footer__col a:hover { color: var(--creme); }
.footer__legal {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--ligne-sombre);
  font-size: 13px;
}
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: var(--creme); }

.actionbar { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: inline-flex; grid-column: 3; }
  .brand { grid-column: 2; }
  .brand__img { height: 88px; }
  .header.is-solid .brand__img { height: 50px; }
}

@media (max-width: 1024px) {
  .valeurs { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .horaires__list { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
}

@media (max-width: 900px) {
  .sec-head, .savoir__story, .procedes, .actus__grid, .visite__grid { display: block; }
  .sec-head__text { margin-top: 24px; }

  .savoir__aside { margin-bottom: 56px; }
  .procedes { display: flex; flex-direction: column-reverse; }
  .procedes__media { width: 100%; margin-bottom: 36px; }
  .procedes__list { width: 100%; }

  .mosaic { aspect-ratio: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .mosaic__a { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 5; }
  .mosaic__b { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 2; }
  .mosaic__c, .mosaic__d { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 4; }

  .charcuterie { display: block; min-height: 0; padding: 0 0 var(--section); }
  .charcuterie__media { position: relative; width: 100%; aspect-ratio: 1 / 1; margin-bottom: 56px; }
  .charcuterie__text { width: auto; max-width: 600px; }

  .actu-main { margin-bottom: 48px; }
  .visite__photo { margin-top: 56px; }

  .index { display: block; }
  .index__list { contain: none; display: block; }
  .uni { overflow: visible; }
  .index__stage { display: none; }
  .uni { padding: 28px 0; }
  .uni__img { display: block; grid-column: 1 / -1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 20px; }
  .uni__title { color: var(--creme); font-size: clamp(30px, 8vw, 44px); }
  .uni__num { color: var(--sur-sombre-2); padding-top: 1.1em; }
  .uni__more { grid-template-rows: 1fr; opacity: 1; }
}

@media (max-width: 760px) {
  body { font-size: 15.5px; }
  :root { --gap: 16px; }

  .header__inner { padding: 12px var(--pad); }
  .brand__img { height: 80px; }
  .header.is-solid .brand__img { height: 44px; }

  .hero { min-height: 560px; }
  .hero__title { font-size: clamp(32px, 9.2vw, 50px); }
  .hero__sub { font-size: 11px; letter-spacing: .14em; line-height: 1.7; max-width: 22em; margin: 22px auto 0; }
  .hero__cta { margin-top: 28px; }
  .hero__veil {
    background:
      radial-gradient(80% 42% at 50% 50%, rgba(24, 20, 18, .55) 0%, rgba(24, 20, 18, .22) 65%, rgba(24, 20, 18, 0) 100%),
      linear-gradient(to bottom, rgba(24, 20, 18, .5) 0%, rgba(24, 20, 18, 0) 18%, rgba(24, 20, 18, 0) 80%, rgba(24, 20, 18, .35) 100%);
  }

  .maison__text { grid-template-columns: 1fr; }
  .maison__text .link { justify-self: start; }
  .marquee span { font-size: 26px; }
  .triptych { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .triptych figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .triptych figure:first-child img { object-position: 50% 62%; }
  .maison__note { text-align: left; margin-top: 28px; }


  .matiere { height: 56vh; }

  .figures { grid-template-columns: 1fr; row-gap: 20px; margin-top: 40px; }
  .figure { display: grid; grid-template-columns: 116px 1fr; align-items: end; column-gap: 16px; }
  .figure dt { font-size: 48px; }
  .figure dd { margin: 0 0 6px; }

  .valeurs { grid-template-columns: 1fr; row-gap: 20px; }

  .charcut-list > div { grid-template-columns: 1fr; gap: 2px; }

  .actu-list a { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; }
  .actu-list img { width: 84px; height: 84px; }
  .actu-list h3 { font-size: 16px; }

  .visite__cta .btn { flex: 1 1 auto; justify-content: center; }
  .horaires__list { display: block; }
  .horaires__list li {
    display: grid; grid-template-columns: 1fr auto; align-items: start;
    padding: 14px 0; border-top: 1px solid var(--ligne-sombre);
  }
  .horaires__list li > span:last-child { text-align: right; }
  .horaires__list li.is-today { padding-top: 13px; }

  .footer { padding-top: 64px; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .footer__grid { grid-template-columns: 1fr; }

  .actionbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    display: grid; grid-template-columns: 1fr 1fr;
    border-radius: 999px; overflow: hidden;
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5);
    transform: translateY(140%); transition: transform .5s var(--ease);
  }
  .actionbar.is-visible { transform: none; }
  .menu-open .actionbar, .actionbar.is-visible.is-muted { transform: translateY(140%); }
  .actionbar a {
    display: flex; justify-content: center; align-items: center; height: 52px;
    background: var(--creme); color: var(--encre);
    font-size: 14.5px; font-weight: 500; text-decoration: none;
  }
  .actionbar a:last-child { background: var(--rouge); color: var(--papier); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .btn:hover { transform: none; }
  .js .reveal, .js .reveal--img { opacity: 1; transform: none; clip-path: none; }
  .js .reveal--img > img, .hero__media img { transform: none; }
  .js .hero__title .line > span { transform: none; }
  .js .hero__sub, .js .hero__cta { opacity: 1; transform: none; }
  .matiere img { transform: none; }
  .marquee__track { animation: none; }
  .procedes.is-playing .proc::after { animation: none; }
}
