/* ==========================================================================
   Maison de Goût — page d'accueil
   Palette et polices de la charte : noir boutique, crème Berkel, chêne,
   or, terre cuite ; Fraunces pour les titres, Inter pour le texte courant.
   Le manuscrit (Mrs Saint Delafield) reprend l'écriture du logo.
   ========================================================================== */

:root {
  --black: #0b0a0c;
  --charcoal: #1b1919;
  --oak-light: #9c8067;
  --oak: #826650;
  --gold: #b8874a;
  --rust: #9c4326;
  --paper: #f2ece1;
  --cream: #efe7d6;
  --ink: #171310;
  --muted: #695f54;
  --line: rgba(23, 19, 16, .16);
  --line-light: rgba(242, 236, 225, .2);

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --script: "Mrs Saint Delafield", "Snell Roundhand", cursive;

  --gutter: clamp(1.25rem, 3.6vw, 4rem);
  --header-h: 84px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
}

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

html {
  scroll-padding-top: var(--header-h);
  /* le bandeau defilant depasse volontairement : sans cette ligne, la page
     entiere se decale lateralement sur grand ecran (1838px pour 1265) */
  overflow-x: clip;
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

/* Grain très léger, comme un papier imprimé */
body::after {
  content: "";
  position: fixed;
  z-index: 900;
  inset: 0;
  pointer-events: none;
  opacity: .05;
  transform: translateZ(0);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* height:auto est indispensable : les images portent width/height en
   attributs (pour que la page ne saute pas au chargement), et sans cette
   ligne le navigateur applique la hauteur de l attribut des que le CSS ne
   fixe que la largeur — l image est alors etiree. */
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
::selection { color: var(--paper); background: var(--rust); }

:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 1200;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  color: var(--paper);
  background: var(--black);
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: none; }

/* --------------------------------------------------------------------------
   Typographie partagée
   -------------------------------------------------------------------------- */

.script {
  font-family: var(--script);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.eyebrow {
  margin: 0 0 1.4rem;
  color: var(--rust);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow--light { color: var(--gold); }

.display {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.9rem, 6.4vw, 7rem);
  font-weight: 250;
  line-height: .96;
  letter-spacing: -.035em;
}
.display em, .hero__title em, .signature__title em, .business__title em, .final__title em {
  font-style: italic;
  font-weight: 250;
}
.display em { color: var(--rust); }
.display--sm { font-size: clamp(2.4rem, 4.4vw, 4.6rem); }

/* Lignes masquées : le texte glisse depuis le bas de sa ligne */
.mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.mask__inner { display: block; will-change: transform; }

/* Texte qui roule au survol */
.roll {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.roll > span { display: block; }
.roll::after {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 0;
  white-space: nowrap;
}
.roll > span, .roll::after { transition: transform .6s var(--ease-out); }
a:hover .roll > span, a:focus-visible .roll > span,
a:hover .roll::after, a:focus-visible .roll::after { transform: translateY(-100%); }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */

.pill {
  --pill-fg: var(--paper);
  --pill-bg: var(--black);
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  min-height: 52px;
  padding: .35rem .4rem .35rem 1.45rem;
  color: var(--pill-fg);
  background: var(--pill-bg);
  border-radius: 999px;
  text-decoration: none;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out);
}
.pill .roll { line-height: 1.3; }
.pill__icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  color: var(--pill-bg);
  background: var(--pill-fg);
  border-radius: 50%;
  transition: transform .5s var(--ease-out);
}
.pill__icon svg, .formula__end-icon svg, .seal__core svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pill:hover .pill__icon { transform: rotate(-45deg); }
.pill--dark:hover { --pill-bg: var(--rust); }
.pill--light { --pill-fg: var(--black); --pill-bg: var(--paper); }
.pill--light:hover { --pill-bg: var(--cream); }
.pill--cream { --pill-fg: var(--black); --pill-bg: var(--cream); }
.pill--cream:hover { --pill-bg: var(--gold); }

.line-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem 0;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 500;
}
.line-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform .6s var(--ease-out);
}
.line-link:hover::after { transform: scaleX(0); }
.line-link--light { color: var(--paper); }

/* --------------------------------------------------------------------------
   Intro (première visite uniquement)
   -------------------------------------------------------------------------- */

.intro { display: none; }

.is-intro .intro {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--black);
}
.intro__inner { display: grid; justify-items: center; gap: 1.2rem; }
.intro__script { font-family: var(--script); font-size: clamp(3.6rem, 9vw, 7.5rem); line-height: 1; }
.intro__rule { display: block; width: min(220px, 50vw); height: 1px; background: var(--line-light); }
.intro__rule span { display: block; width: 100%; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.intro__caption { color: rgba(242, 236, 225, .6); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   Curseur (pointeur fin uniquement)
   -------------------------------------------------------------------------- */

.cursor { display: none; }

@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .has-cursor .cursor {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    display: grid;
    width: 92px;
    height: 92px;
    margin: -46px 0 0 -46px;
    place-items: center;
    pointer-events: none;
    color: var(--black);
    background: var(--cream);
    border-radius: 50%;
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    transform: scale(0);
    transition: transform .45s var(--ease-out);
  }
  .has-cursor .cursor.is-active { transform: scale(1); }
}

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

.site-header {
  position: fixed;
  z-index: 200;
  inset: 0 0 auto 0;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  color: var(--ink);
  transition: transform .7s var(--ease-out), background-color .5s ease, height .5s var(--ease-out);
}
.site-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(242, 236, 225, .97);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity .5s ease;
}
.site-header.is-scrolled { --header-h: 68px; }
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  justify-self: start;
  text-decoration: none;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  transition: transform .8s var(--ease-out);
}
.brand:hover img { transform: rotate(-12deg); }
.brand__name { font-family: var(--display); font-size: 1.12rem; font-weight: 400; letter-spacing: -.01em; }

.site-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.4rem); }
.site-nav > a {
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
  text-decoration: none;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.site-nav__num { color: var(--rust); font-family: var(--display); font-size: .7rem; font-style: italic; letter-spacing: 0; }
.site-nav__contact { display: none; }

.site-header__actions { display: flex; align-items: center; justify-self: end; gap: .8rem; }
.header-cta { min-height: 46px; padding-left: 1.2rem; }
.header-cta .pill__icon { width: 36px; height: 36px; }

.menu-button {
  display: none;
  align-items: center;
  gap: .7rem;
  min-height: 46px;
  padding: 0 .3rem 0 1rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.menu-button__lines {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  place-content: center;
  gap: 5px;
  color: var(--paper);
  background: var(--black);
  border-radius: 50%;
}
.menu-button__lines span { display: block; width: 14px; height: 1.4px; background: currentColor; transition: transform .45s var(--ease-out); }
.menu-button[aria-expanded="true"] .menu-button__lines span:first-child { transform: translateY(3.2px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-button__lines span:last-child { transform: translateY(-3.2px) rotate(-45deg); }

/* Les heros sont en fin de fichier (trois variantes à comparer). */

/* --------------------------------------------------------------------------
   2. Ouverture plein écran
   -------------------------------------------------------------------------- */

.opening { position: relative; height: 220vh; background: var(--paper); }
.opening__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.opening__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--black);
  transform-origin: 50% 50%;
  will-change: transform;
}
.opening__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; will-change: transform; }
.opening__frame::after { content: ""; position: absolute; inset: 0; background: rgba(11, 10, 12, .5); opacity: var(--veil, 1); }
.opening__caption {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  margin: 0;
  color: var(--paper);
  text-align: center;
  text-shadow: 0 0 60px rgba(11, 10, 12, .55);
}
.opening__caption .script { justify-self: start; margin-left: -.4em; color: var(--gold); font-size: clamp(2.6rem, 5.4vw, 5rem); transform: rotate(-6deg) translateY(.1em); }
.opening__big {
  font-family: var(--display);
  font-size: clamp(3.2rem, 9vw, 9.8rem);
  font-weight: 230;
  font-style: italic;
  line-height: .9;
  letter-spacing: -.045em;
}

/* --------------------------------------------------------------------------
   3. Manifeste
   -------------------------------------------------------------------------- */

.manifesto {
  padding: clamp(6rem, 14vw, 13rem) var(--gutter) clamp(5rem, 10vw, 9rem);
  text-align: center;
}
.manifesto__text {
  max-width: 1180px;
  margin: 0 auto;
  font-family: var(--display);
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  font-weight: 250;
  line-height: 1.12;
  letter-spacing: -.025em;
}
.manifesto__text em { color: var(--rust); font-style: italic; }
.inline-img {
  display: inline-block;
  width: 1.65em;
  height: .9em;
  margin: 0 .08em;
  overflow: hidden;
  vertical-align: -.06em;
  border-radius: 999px;
  transform-origin: 50% 50%;
}
.inline-img img { width: 100%; height: 100%; object-fit: cover; }
.word { display: inline-block; }

.pledges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1180px;
  margin: clamp(4rem, 9vw, 7.5rem) auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
  border-top: 1px solid var(--line);
}
.pledges li { display: grid; gap: .15rem; padding: 1.5rem 1.4rem 0 0; }
.pledges li + li { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.pledges__num { margin-bottom: .9rem; color: var(--rust); font-family: var(--display); font-style: italic; font-size: .95rem; }
.pledges strong { font-family: var(--display); font-size: 1.3rem; font-weight: 350; line-height: 1.15; }
.pledges li > span:last-child { color: var(--muted); font-size: .82rem; }

/* --------------------------------------------------------------------------
   4. Occasions
   -------------------------------------------------------------------------- */

.occasions__head {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 2rem 4rem;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) clamp(3rem, 6vw, 5rem);
}
.occasions__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.occasions__lead { max-width: 26rem; margin: 0 0 .6rem; color: var(--muted); }

.panel {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  color: var(--paper);
  background: var(--black);
}
.panel__media { position: absolute; inset: 0; overflow: hidden; }
.panel__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.panel__media::after { content: ""; position: absolute; inset: 0; background: rgba(11, 10, 12, .42); }
.panel__shade { position: absolute; inset: 0; z-index: 3; background: var(--black); opacity: 0; pointer-events: none; }
.panel__body {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) clamp(2rem, 5vw, 3.5rem);
}
.panel__index { font-family: var(--display); font-size: 1rem; font-style: italic; }
.panel__index span { color: rgba(242, 236, 225, .55); }
.panel__heading { align-self: end; display: grid; justify-items: start; }
.panel__script { margin: 0 0 .1em .1em; color: var(--gold); font-size: clamp(1.6rem, 3.4vw, 3.4rem); transform: rotate(-4deg); transform-origin: left bottom; }
.panel__title {
  text-shadow: 0 0 60px rgba(11, 10, 12, .4);
  display: grid;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 8.6rem);
  font-weight: 230;
  line-height: .92;
  letter-spacing: -.045em;
}
.panel__title em { color: var(--cream); font-style: italic; font-weight: 230; }
.panel__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  margin-top: clamp(1.6rem, 4vw, 2.6rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-light);
}
.panel__meta p { margin: 0; color: rgba(242, 236, 225, .82); }

/* --------------------------------------------------------------------------
   5. Buffet Signature
   -------------------------------------------------------------------------- */

.signature {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 11vw, 10rem) 0 clamp(3rem, 6vw, 5rem);
  color: var(--paper);
  background: var(--rust);
}
.signature__top { padding: 0 var(--gutter); }
.signature__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 .25em;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 13.5vw, 15rem);
  font-weight: 220;
  line-height: .86;
  letter-spacing: -.06em;
}
.signature__title em { color: var(--cream); }
.signature__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 0;
}
.signature__media { position: relative; height: clamp(440px, 52vw, 760px); overflow: hidden; }
.signature__media img { width: 100%; height: 118%; object-fit: cover; }
.signature__copy { max-width: 560px; padding-bottom: .5rem; }
.signature__lead { margin: 0; font-family: var(--display); font-size: clamp(1.5rem, 2.3vw, 2.2rem); font-weight: 280; line-height: 1.2; letter-spacing: -.015em; }
.signature__price { display: flex; align-items: center; gap: 1.3rem; margin: clamp(2rem, 4vw, 3rem) 0; }
.signature__amount { font-family: var(--display); font-size: clamp(4rem, 7vw, 7rem); font-style: italic; font-weight: 220; line-height: .9; letter-spacing: -.04em; }
.signature__price small { padding-left: 1.3rem; border-left: 1px solid rgba(242, 236, 225, .4); color: rgba(242, 236, 225, .78); font-size: .7rem; letter-spacing: .14em; line-height: 1.7; text-transform: uppercase; }
.signature__included { margin: 0 0 2.4rem; padding: 0; list-style: none; border-top: 1px solid rgba(242, 236, 225, .3); }
.signature__included li { display: grid; grid-template-columns: 2.4rem 1fr; align-items: baseline; padding: .95rem 0; border-bottom: 1px solid rgba(242, 236, 225, .3); }
.signature__included li span { color: var(--cream); font-family: var(--display); font-style: italic; }

.marquee { margin-top: clamp(4rem, 8vw, 7rem); overflow: hidden; border-top: 1px solid rgba(242, 236, 225, .3); border-bottom: 1px solid rgba(242, 236, 225, .3); }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee__group { display: flex; flex: none; margin: 0; padding: 0; list-style: none; }
.marquee__group li {
  display: flex;
  align-items: center;
  padding: 1.3rem 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-style: italic;
  font-weight: 250;
  white-space: nowrap;
}
.marquee__group li::after { content: "✦"; margin: 0 clamp(1.4rem, 3vw, 2.6rem); color: var(--gold); font-size: .45em; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   6. Formules
   -------------------------------------------------------------------------- */

.formulas { position: relative; background: var(--paper); }
.formulas__pin { padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem); }
.formulas__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 var(--gutter) clamp(2.5rem, 5vw, 3.5rem);
}
.formulas__progress { width: min(240px, 30vw); height: 1px; margin-bottom: 1rem; background: var(--line); }
.formulas__progress span { display: block; height: 100%; background: var(--rust); transform: scaleX(0); transform-origin: left; }

.formulas__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 var(--gutter);
  scroll-padding: 0 var(--gutter);
}
.formulas__viewport::-webkit-scrollbar { display: none; }
.formulas__track {
  display: flex;
  gap: clamp(1rem, 2.2vw, 2rem);
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}
.formula { width: clamp(270px, 27vw, 420px); scroll-snap-align: start; }
.formula__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); }
.formula__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.formula__media:hover img { transform: scale(1.06); }
.formula__line { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: .8rem; padding: 1.2rem 0 .3rem; }
.formula__num { color: var(--rust); font-family: var(--display); font-size: .82rem; font-style: italic; }
.formula h3 { margin: 0; font-family: var(--display); font-size: clamp(1.6rem, 2.2vw, 2.3rem); font-weight: 280; line-height: 1; letter-spacing: -.02em; }
.formula__price { color: var(--rust); font-family: var(--display); font-size: 1.2rem; font-style: italic; white-space: nowrap; }
.formula > p { min-height: 3.2em; margin: .3rem 0 .6rem; color: var(--muted); font-size: .86rem; }
.add-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.add-link span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 400;
  transition: color .4s, background-color .4s, transform .5s var(--ease-out);
}
.add-link:hover span { color: var(--paper); background: var(--rust); border-color: var(--rust); transform: rotate(90deg); }

.formula--end { display: flex; }
.formula__end {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: start;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 2rem;
  color: var(--paper);
  background: var(--black);
  text-decoration: none;
  overflow: hidden;
  transition: background-color .6s var(--ease-out);
}
.formula__end:hover { background: var(--rust); }
.formula__end .script { color: var(--gold); font-size: 2.6rem; transform: rotate(-5deg); }
.formula__end-title { font-family: var(--display); font-size: clamp(3rem, 4.6vw, 4.8rem); font-weight: 230; line-height: .9; letter-spacing: -.04em; }
.formula__end-title em { color: var(--cream); font-style: italic; }
.formula__end-icon {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  transition: transform .6s var(--ease-out);
}
.formula__end:hover .formula__end-icon { transform: rotate(45deg); }

/* Version épinglée (desktop animé) */
.has-motion .formulas.is-pinned .formulas__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + .5rem) 0 1.5rem; }
.has-motion .formulas.is-pinned .formulas__head { padding-bottom: clamp(1.5rem, 3.5vh, 2.5rem); }
.has-motion .formulas.is-pinned .formulas__head .display { font-size: clamp(2.6rem, 5vw, 5.4rem); }
.has-motion .formulas.is-pinned .formulas__viewport { overflow: visible; scroll-snap-type: none; }
.has-motion .formulas.is-pinned .formula { width: clamp(280px, 25vw, 400px); }
.has-motion .formulas.is-pinned .formula__media { aspect-ratio: auto; height: clamp(240px, 38vh, 420px); }
.has-motion .formulas.is-pinned .formula__end { aspect-ratio: auto; height: 100%; }

/* --------------------------------------------------------------------------
   7. Processus
   -------------------------------------------------------------------------- */

.process {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(6rem, 12vw, 11rem) var(--gutter);
  background: var(--cream);
}
.process__intro { align-self: start; position: sticky; top: calc(var(--header-h) + 2rem); }
.process__image { width: min(78%, 440px); margin-top: clamp(2.5rem, 5vw, 4rem); height: clamp(320px, 34vw, 520px); overflow: hidden; }
.process__image img { width: 100%; height: 100%; object-fit: cover; }

.steps { position: relative; margin: 0; padding: 0 0 0 clamp(1.6rem, 3vw, 3rem); list-style: none; }
.steps__rail { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: var(--line); }
.steps__rail span { display: block; width: 100%; height: 100%; background: var(--rust); transform: scaleY(0); transform-origin: top; }
.step { padding: clamp(2.5rem, 5vw, 4.5rem) 0; border-bottom: 1px solid var(--line); }
.step:first-child { padding-top: .5rem; }
.has-motion .step { opacity: .28; transition: opacity .8s var(--ease-out); }
.has-motion .step.is-active { opacity: 1; }
.step:nth-last-child(2) { border-bottom: 0; }
.step__num {
  display: block;
  margin-bottom: 1rem;
  color: var(--rust);
  font-family: var(--display);
  font-size: clamp(4rem, 7vw, 7rem);
  font-style: italic;
  font-weight: 200;
  line-height: .8;
  letter-spacing: -.05em;
}
.step h3 { margin: 0; font-family: var(--display); font-size: clamp(2rem, 3.4vw, 3.4rem); font-weight: 260; line-height: 1; letter-spacing: -.03em; }
.step h3 em { color: var(--rust); font-style: italic; }
.step p { max-width: 30rem; margin: 1rem 0 0; color: var(--muted); }

/* --------------------------------------------------------------------------
   8. Entreprises
   -------------------------------------------------------------------------- */

.business {
  padding: clamp(6rem, 12vw, 11rem) var(--gutter);
  color: var(--paper);
  background: var(--black);
}
.business__title {
  margin: 0 0 clamp(3.5rem, 7vw, 6rem);
  font-family: var(--display);
  font-size: clamp(3.2rem, 9vw, 10rem);
  font-weight: 220;
  line-height: .92;
  letter-spacing: -.05em;
}
.business__title em { color: var(--gold); }
.business__indent { padding-left: 12%; }
.business__right { text-align: right; }
.business__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 7vw, 8rem); align-items: start; }
.business__media { position: relative; height: clamp(420px, 46vw, 680px); overflow: hidden; }
.business__media img { width: 100%; height: 118%; object-fit: cover; filter: saturate(.9); }
.business__media figcaption { position: absolute; bottom: 1rem; left: 1rem; padding: .45rem .8rem; color: var(--black); background: var(--paper); font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.business__lead { max-width: 34rem; margin: 0 0 2.6rem; color: rgba(242, 236, 225, .74); font-size: 1.05rem; }

.price-list { margin: 0 0 2.6rem; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.price-list li {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.35rem .2rem;
  border-bottom: 1px solid var(--line-light);
  isolation: isolate;
  transition: padding .55s var(--ease-out);
}
.price-list li::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--charcoal);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .55s var(--ease-out);
}
.price-list li:hover { padding-left: 1rem; padding-right: 1rem; }
.price-list li:hover::before { transform: scaleY(1); }
.price-list span { color: rgba(242, 236, 225, .78); font-family: var(--display); font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 280; }
.price-list strong { color: var(--gold); font-family: var(--display); font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-style: italic; font-weight: 300; white-space: nowrap; }

/* --------------------------------------------------------------------------
   9. Matériel
   -------------------------------------------------------------------------- */

.equipment { padding: clamp(6rem, 11vw, 10rem) 0 clamp(4rem, 7vw, 6rem); background: var(--paper); overflow: hidden; }
.equipment__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: end; padding: 0 var(--gutter); }
.equipment__number {
  margin: 0;
  color: var(--rust);
  font-family: var(--display);
  font-size: clamp(7rem, 21vw, 22rem);
  font-style: italic;
  font-weight: 200;
  line-height: .78;
  letter-spacing: -.075em;
  font-variant-numeric: tabular-nums;
}
.equipment__copy { max-width: 500px; padding-bottom: 1rem; }
.equipment__copy > p:not(.eyebrow) { margin: 1.6rem 0 1.4rem; color: var(--muted); }
.equipment__ribbon { margin-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.equipment__ribbon ul { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; will-change: transform; }
.equipment__ribbon li {
  display: flex;
  align-items: center;
  padding: 1.1rem 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 6rem);
  font-weight: 230;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.equipment__ribbon li em { color: var(--rust); font-style: italic; }
.equipment__ribbon li::after { content: ""; width: .32em; height: .32em; margin: 0 .55em; background: var(--oak-light); border-radius: 50%; }

/* --------------------------------------------------------------------------
   10. Notre maison
   -------------------------------------------------------------------------- */

.house {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-rows: auto auto;
  gap: clamp(2.5rem, 6vw, 6rem) clamp(2.5rem, 7vw, 8rem);
  padding: clamp(6rem, 12vw, 11rem) var(--gutter);
  background: var(--cream);
}
.house__portrait { grid-row: span 2; height: clamp(540px, 64vw, 920px); overflow: hidden; }
.house__portrait img { width: 100%; height: 118%; object-fit: cover; }
.house__copy { align-self: center; max-width: 560px; }
.house__copy > p:not(.eyebrow) { margin: 2rem 0 1.6rem; color: var(--muted); }
.house__detail { position: relative; justify-self: end; width: min(62%, 360px); }
.house__detail img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.house__detail figcaption { position: absolute; bottom: -.32em; left: -.55em; color: var(--rust); font-size: clamp(3rem, 5vw, 4.6rem); transform: rotate(-7deg); }

/* --------------------------------------------------------------------------
   11. Appel final
   -------------------------------------------------------------------------- */

.final {
  padding: clamp(6rem, 12vw, 11rem) var(--gutter) clamp(5rem, 9vw, 8rem);
  color: var(--paper);
  background: var(--rust);
}
.final__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.8rem, 12.5vw, 14rem);
  font-weight: 210;
  line-height: .86;
  letter-spacing: -.06em;
}
.final__title em { color: var(--cream); }
.final__title .mask:last-child { padding-left: 14%; }
.final__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 2rem clamp(2rem, 5vw, 5rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(242, 236, 225, .3);
}
.final__row p { max-width: 30rem; margin: 0; color: rgba(242, 236, 225, .84); font-size: 1.05rem; }

.seal {
  position: relative;
  display: grid;
  width: 190px;
  height: 190px;
  place-items: center;
  color: var(--paper);
  text-decoration: none;
}
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.seal__ring text { fill: currentColor; font-family: var(--body); font-size: 12.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; }
.seal__core {
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  align-content: center;
  gap: .4rem;
  color: var(--black);
  background: var(--cream);
  border-radius: 50%;
  text-align: center;
  transition: transform .6s var(--ease-out), background-color .4s;
}
.seal__label { font-size: .64rem; font-weight: 600; letter-spacing: .14em; line-height: 1.35; text-transform: uppercase; }
.seal:hover .seal__core { background: var(--paper); transform: scale(1.08); }
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */

.site-footer { padding: clamp(4rem, 7vw, 6rem) var(--gutter) 1.4rem; color: var(--paper); background: var(--black); overflow: hidden; }
/* cinq blocs : marque, adresse, et trois colonnes de liens. Le retour en
   haut de page a rejoint la ligne legale, en bas. */
.site-footer__grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer__brand { display: flex; align-items: center; align-self: start; gap: 1rem; }
.site-footer__brand img { width: 64px; height: 64px; border-radius: 50%; background: #fff; }
.site-footer__brand p { margin: 0; font-family: var(--display); font-size: 1.3rem; font-weight: 300; line-height: 1.2; }
.site-footer__brand span { color: var(--gold); font-size: .95rem; font-style: italic; }
.site-footer__label { display: block; margin-bottom: .8rem; color: var(--gold); font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.site-footer address { color: rgba(242, 236, 225, .72); font-style: normal; line-height: 1.8; }
.site-footer a { text-decoration: none; }
.site-footer address a:hover, .site-footer nav a:hover { color: var(--gold); }
.site-footer nav { display: grid; align-content: start; gap: .35rem; }
.site-footer nav a { color: rgba(242, 236, 225, .72); font-size: .9rem; }
.site-footer__top { align-self: start; color: rgba(242, 236, 225, .72); font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.site-footer__word {
  margin: clamp(2.5rem, 6vw, 5rem) 0 0;
  color: var(--cream);
  font-size: clamp(5rem, 21vw, 22rem);
  line-height: .9;
  text-align: center;
  white-space: nowrap;
}
.site-footer__legal { margin: 1rem 0 0; padding-top: 1.2rem; color: rgba(242, 236, 225, .42); border-top: 1px solid rgba(242, 236, 225, .12); font-size: .72rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 2rem; }
.site-footer__legal p { margin: 0; }
.site-footer__credit a { color: rgba(242, 236, 225, .72); text-decoration: underline; text-decoration-color: rgba(242, 236, 225, .3); text-underline-offset: .25em; transition: color .3s, text-decoration-color .3s; }
.site-footer__credit a:hover { color: var(--gold); text-decoration-color: currentColor; }

.mobile-actions { display: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .menu-button { display: inline-flex; }

  .site-nav {
    position: fixed;
    z-index: -1;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: .2rem;
    padding: calc(var(--header-h) + 1rem) var(--gutter) 3rem;
    background: var(--paper);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path .8s var(--ease-in-out), visibility 0s linear .8s;
  }
  .site-nav[data-open="true"] { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-in-out), visibility 0s; }
  .site-nav > a { gap: 1rem; font-family: var(--display); font-size: clamp(2.6rem, 9vw, 4.6rem); font-weight: 250; letter-spacing: -.03em; text-transform: none; line-height: 1.15; }
  /* sur un telephone etroit, « Commander en ligne » et « Carte evenements »
     se cassaient en deux lignes : on reduit juste ce qu il faut */
  @media (max-width: 430px) {
    .site-nav > a { font-size: 1.95rem; gap: .7rem; }
    .site-nav__num { font-size: .78rem; }
  }
  .site-nav__num { font-size: .9rem; }
  .site-nav__contact { display: grid; gap: .3rem; margin: 2.5rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line); width: 100%; }
  .site-nav__contact a { color: var(--muted); text-decoration: none; }

  .occasions__head { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process__intro { position: static; }
  .business__grid, .signature__grid, .equipment__grid { grid-template-columns: 1fr; }
  .house { grid-template-columns: 1fr; }
  .house__portrait { grid-row: auto; height: clamp(420px, 110vw, 720px); }
  .house__detail { justify-self: start; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  :root { --header-h: 70px; }
  body::after { display: none; }
  .site-header.is-scrolled { --header-h: 62px; }
  .header-cta { display: none; }
  /* le nom ne doit jamais se casser en plusieurs lignes dans la barre */
  .brand__name { font-size: 1rem; white-space: nowrap; }
  .brand img { width: 40px; height: 40px; }


  .opening { height: 170vh; }

  .pledges { grid-template-columns: 1fr 1fr; }
  .pledges li:nth-child(3) { padding-left: 0; border-left: 0; }
  .pledges li:nth-child(n+3) { margin-top: 1.5rem; border-top: 1px solid var(--line); }

  .panel__meta { flex-direction: column; align-items: flex-start; }
  .panel__body { padding-bottom: 6.5rem; }
  .panel__script { font-size: 1.7rem; }

  .formulas__head { flex-direction: column; align-items: flex-start; }
  .formula { width: 78vw; }

  .business__indent { padding-left: 0; }
  .business__right { text-align: left; }

  .final__row { grid-template-columns: 1fr; justify-items: start; }
  .final__title .mask:last-child { padding-left: 0; }

  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 5.5rem; }

  .mobile-actions {
    position: fixed;
    z-index: 150;
    right: .75rem;
    bottom: .75rem;
    left: .75rem;
    display: grid;
    /* trois actions, trois colonnes : avec deux, la troisieme tombait
       en dessous et son libelle se cassait en deux lignes */
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: .4rem;
    padding: .4rem;
    background: rgba(11, 10, 12, .96);
    border-radius: 999px;
    transform: translateY(160%);
    transition: transform .6s var(--ease-out);
  }
  .mobile-actions.is-visible { transform: none; }
  .mobile-actions a {
    display: grid;
    min-height: 46px;
    place-items: center;
    color: var(--paper);
    border-radius: 999px;
    text-decoration: none;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .mobile-actions a:last-child { color: var(--black); background: var(--cream); }
  .no-js .mobile-actions { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .opening { height: auto; }
  .opening__sticky { position: relative; }
  .panel { position: relative; }
}

/* Sur fond terre cuite, l'or manque de contraste : on passe au crème */
.signature .eyebrow--light,
.final .eyebrow--light { color: rgba(239, 231, 214, .82); }

/* ==========================================================================
   1. Hero — éléments communs
   ========================================================================== */

.hero {
  position: relative;
  min-height: max(680px, 100svh);
  overflow: hidden;
  isolation: isolate;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin: 0;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.kicker__dot { width: 5px; height: 5px; background: var(--rust); border-radius: 50%; }

.hero__title {
  position: relative;
  margin: 0;
  font-family: var(--display);
  font-weight: 230;
  line-height: .9;
  letter-spacing: -.045em;
}
.hero__title em { color: var(--rust); }
.hero__script {
  position: absolute;
  z-index: 2;
  color: var(--oak);
  font-size: .4em;
  transform: rotate(-7deg);
  white-space: nowrap;
  pointer-events: none;
}
.hero__intro { max-width: 30rem; margin: 0; color: var(--muted); font-size: clamp(.98rem, 1.15vw, 1.06rem); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; }

.hero__foot {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 1.6rem;
  left: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero__foot > span:last-child { justify-self: end; }
.hero__scroll { display: grid; justify-items: center; gap: .7rem; color: var(--ink); text-decoration: none; }
.hero__scroll-line { position: relative; display: block; width: 1px; height: 54px; overflow: hidden; background: var(--line); }
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--rust);
  animation: scroll-line 2.2s var(--ease-in-out) infinite;
}
@keyframes scroll-line {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* Hero sombre : texte clair, en-tête clair tant qu'on n'a pas défilé */
.hero--dark { color: var(--paper); background: var(--black); }
.hero--dark .kicker, .hero--dark .hero__foot { color: rgba(242, 236, 225, .72); }
.hero--dark .hero__intro { color: rgba(242, 236, 225, .8); }
.hero--dark .hero__title em { color: var(--cream); }
.hero--dark .hero__script { color: var(--gold); }
.hero--dark .line-link { color: var(--paper); }
.hero--dark .hero__scroll { color: var(--paper); }
.hero--dark .hero__scroll-line { background: var(--line-light); }
.hero--dark .hero__scroll-line::after { background: var(--gold); }

body.hero-dark:not(.menu-open) .site-header:not(.is-scrolled) { color: var(--paper); }
body.hero-dark:not(.menu-open) .site-header:not(.is-scrolled) .pill--dark { --pill-fg: var(--black); --pill-bg: var(--cream); }
body.hero-dark:not(.menu-open) .site-header:not(.is-scrolled) .menu-button { border-color: var(--line-light); }
body.hero-dark:not(.menu-open) .site-header:not(.is-scrolled) .menu-button__lines { color: var(--black); background: var(--cream); }

/* Évite un flash avant l'animation d'entrée ; libéré par accueil.js ou le filet de sécurité */
.js:not(.is-ready) .hero > * { opacity: 0; }

/* ==========================================================================
   Variante 1 — photo plein écran
   ========================================================================== */

.hero--photo {
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2rem) var(--gutter) clamp(6.5rem, 12vh, 8.5rem);
}
.hero__bg { position: absolute; z-index: -1; inset: 0; overflow: hidden; background: var(--black); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(11, 10, 12, .5); }
.hero--photo .hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: end;
  gap: 2.5rem clamp(2rem, 6vw, 6rem);
}
.hero--photo .hero__title { font-size: clamp(3.4rem, 9.6vw, 10.4rem); text-shadow: 0 0 80px rgba(11, 10, 12, .35); }
.hero--photo .hero__script { top: -.8em; left: .05em; }
.hero--photo .hero__aside { display: grid; gap: 1.5rem; padding-bottom: .6rem; }

/* ==========================================================================
   Variante 2 — éditorial en deux colonnes
   ========================================================================== */

.hero--edito {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding: calc(var(--header-h) + 2.5rem) var(--gutter) 7rem;
}
.hero--edito .hero__text { display: grid; justify-items: start; gap: clamp(1.6rem, 3.6vh, 2.4rem); }
.hero--edito .kicker { margin-bottom: clamp(1.4rem, 4vh, 2.6rem); }
.hero--edito .hero__title { font-size: clamp(3.4rem, 8.6vw, 9.6rem); }
.hero--edito .hero__script { top: 1.25em; left: 8em; font-size: .36em; }
.hero__visual { position: relative; height: min(76vh, 780px); }
.hero__main { position: absolute; inset: 0 0 0 16%; overflow: hidden; background: var(--cream); }
.hero__main img { width: 100%; height: 116%; object-fit: cover; }
.hero__main figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: .45rem .8rem;
  color: var(--black);
  background: var(--paper);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero__inset {
  position: absolute;
  z-index: 2;
  bottom: -2.5rem;
  left: 0;
  width: 34%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 8px solid var(--paper);
  background: var(--paper);
}
.hero__inset img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute;
  z-index: 3;
  top: -2.2rem;
  right: -1.4rem;
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  color: var(--ink);
  background: var(--paper);
  border-radius: 50%;
}
.hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.hero__badge text { fill: currentColor; font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.hero__badge .script { color: var(--rust); font-size: 1.9rem; transform: rotate(-8deg); }

/* ==========================================================================
   Variante 3 — nom géant et photo
   ========================================================================== */

.hero--nom {
  display: grid;
  grid-template-rows: 1fr auto;
  padding: var(--header-h) var(--gutter) clamp(2rem, 5vh, 3rem);
}
.hero__stage { position: relative; display: grid; place-items: center; min-height: 0; }
.hero__word {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  margin: 0;
  overflow: hidden;
  padding: .06em 0 .12em;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(4.2rem, 12.6vw, 15rem);
  font-weight: 200;
  line-height: .8;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.hero__word-part { display: inline-block; justify-self: end; }
.hero__word-part:last-child { justify-self: start; }
.hero__word-part:last-child { font-style: italic; }
.hero__word-gap { width: clamp(180px, 21vw, 330px); flex: none; }
.hero__frame {
  grid-area: 1 / 1;
  z-index: 2;
  width: clamp(170px, 19vw, 300px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--charcoal);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__de {
  grid-area: 1 / 1;
  z-index: 3;
  align-self: center;
  color: var(--gold);
  font-size: clamp(4rem, 9vw, 9rem);
  transform: translate(-1.25em, -1.5em) rotate(-8deg);
  pointer-events: none;
}
.hero__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: 2rem clamp(2rem, 6vw, 6rem);
  padding-top: clamp(1.6rem, 3vh, 2.4rem);
  border-top: 1px solid var(--line-light);
}
.hero--nom .hero__title { font-size: clamp(2.4rem, 4.6vw, 5rem); line-height: 1; }
.hero--nom .hero__script { top: -.95em; left: 0; font-size: .6em; }
.hero--nom .hero__aside { display: grid; gap: 1.4rem; }

/* ==========================================================================
   Heros — responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .hero--edito { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 2rem); }
  .hero__visual { height: min(70vh, 640px); margin-right: 1rem; }
  .hero--photo .hero__content, .hero__bottom { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero__foot { bottom: 1.2rem; grid-template-columns: 1fr; justify-items: center; }
  .hero__foot > span { display: none; }
  .hero__scroll-line { height: 34px; }

  .hero--photo { padding-bottom: 6.5rem; }
  .hero--photo .hero__title { font-size: clamp(3rem, 14vw, 4.6rem); }
  .hero--photo .hero__script { font-size: .48em; top: -.9em; }

  .hero--edito { padding-bottom: 6.5rem; gap: 3.5rem; }
  .hero--edito .hero__title { font-size: clamp(3.2rem, 16vw, 5rem); }
  .hero--edito .hero__script { top: .9em; left: 6.6em; font-size: .42em; }
  .hero__visual { height: 108vw; margin: 0 .6rem 2rem 0; }
  .hero__inset { width: 38%; border-width: 5px; bottom: -1.6rem; }
  .hero__badge { width: 96px; height: 96px; top: -1.4rem; right: -.6rem; }
  .hero__badge text { font-size: 15px; }
  .hero__badge .script { font-size: 1.4rem; }

  .hero--nom { padding-bottom: 6rem; }
  .hero__stage { display: flex; flex-direction: column; justify-content: center; gap: .6rem; padding: 1rem 0 1.4rem; }
  .hero__word { display: contents; font-size: 22vw; }
  .hero__word-part { color: var(--cream); font-family: var(--display); font-size: 22vw; font-weight: 200; line-height: .85; letter-spacing: -.055em; }
  .hero__word-part:first-child { order: 1; align-self: flex-start; }
  .hero__word-part:last-child { order: 3; align-self: flex-end; }
  .hero__word-gap { display: none; }
  .hero__frame { order: 2; align-self: center; width: 34vw; }
  .hero__de { position: absolute; top: 44%; left: 14%; font-size: 16vw; transform: rotate(-8deg); }
  .hero--nom .hero__title { font-size: clamp(2.2rem, 10vw, 3rem); }

}

/* Ligne « Traiteur événementiel à Jalhay » intégrée au titre principal (SEO) */
.hero__kicker {
  display: flex;
  width: max-content;
  margin-top: clamp(1.2rem, 2.6vh, 1.8rem);
  font-family: var(--body);
  line-height: 1.4;
  text-shadow: none;
}

/* ==========================================================================
   Socle commun — ce que la page d'accueil n'avait pas besoin de connaître :
   le panier, le compte, et les liens secondaires du menu plein écran.
   ========================================================================== */

/* Les deux icônes de l'en-tête, dans le même langage que le bouton Menu */
.icone-entete {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: inherit;
  cursor: pointer;
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.icone-entete:hover { border-color: var(--gold); }
.icone-entete.est-plein { border-color: var(--gold); }

/* sur le hero sombre, tant qu'on n'a pas défilé, l'en-tête est clair */
.hero--dark ~ * .icone-entete,
body:not(.a-defile) .hero--dark + .site-header .icone-entete { border-color: var(--line-light); }

.entete-panier-nb {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  line-height: 19px;
  text-align: center;
}
.entete-compte-point {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* le panier qui tressaute quand on y ajoute quelque chose */
@keyframes panier-bouge { 0% { transform: scale(1); } 35% { transform: scale(1.18) rotate(-6deg); } 70% { transform: scale(.95); } 100% { transform: scale(1); } }
.icone-entete.bouge { animation: panier-bouge .5s var(--ease-out); }

/* la bulle qui s'envole vers le panier */
.vol-panier {
  position: fixed;
  z-index: 300;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  transition: transform .25s cubic-bezier(.2,.8,.3,1);
}

/* Les liens secondaires : dans le menu plein écran seulement */
.site-nav__plus { display: contents; }
.site-nav__plus a { font-size: .95rem; color: var(--muted); }

@media (min-width: 1101px) {
  .site-nav__plus { display: none; }
}
@media (max-width: 1100px) {
  .site-header__actions .header-cta { display: none; }
  .icone-entete { width: 42px; height: 42px; }
}
@media (max-width: 420px) {
  .site-header__actions { gap: .4rem; }
  .icone-entete { width: 38px; height: 38px; }
}

/* ==========================================================================
   Accueil — ce que le commerce ajoute à la page de Dimagin :
   la saison, et les trois boutiques.
   ========================================================================== */

.saison { padding: clamp(3rem, 6vw, 5rem) var(--gutter); background: var(--charcoal); }
.saison__lien {
  display: grid;
  grid-template-columns: clamp(110px, 14vw, 170px) 1fr;
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  color: var(--paper);
  text-decoration: none;
}
.saison__couverture {
  width: 100%;
  height: auto;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
  transition: transform .5s var(--ease-out);
}
.saison__lien:hover .saison__couverture { transform: translateY(-6px); }
.saison__texte .eyebrow { color: var(--gold); }
.saison__texte h2 { margin: .3rem 0 .7rem; }
.saison__texte h2 em { color: var(--gold); font-style: italic; }
.saison__texte p { max-width: 54ch; margin: 0 0 1rem; color: rgba(242, 236, 225, .78); }
.saison__texte .line-link { color: var(--paper); }

@media (max-width: 620px) {
  .saison__lien { grid-template-columns: 92px 1fr; gap: 1.1rem; }
  .saison__texte p { font-size: .95rem; }
}

.boutiques { padding: clamp(5rem, 9vw, 8rem) var(--gutter); background: var(--cream); }
.boutiques__head { max-width: 1180px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.boutiques__lead { max-width: 46ch; margin: 1rem 0 0; color: var(--muted); }
.boutiques__grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
}
.boutique {
  display: block;
  padding: clamp(1.8rem, 3.4vw, 2.8rem);
  background: var(--cream);
  color: inherit;
  text-decoration: none;
  transition: background .4s var(--ease-out);
}
.boutique:hover { background: var(--paper); }
.boutique__num { display: block; margin-bottom: 1.2rem; font-family: var(--display); font-style: italic; font-size: .95rem; color: var(--gold); }
.boutique h3 { margin: 0 0 .6rem; font-family: var(--display); font-weight: 300; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.boutique p { margin: 0 0 1.4rem; font-size: .96rem; line-height: 1.7; color: var(--muted); }

/* sur un téléphone étroit, le logo porte seul la marque : la place manque
   pour le nom, le compte, le panier et le bouton Menu côte à côte */
@media (max-width: 480px) {
  .brand__name { display: none; }
  .brand { gap: 0; }
}

/* Sur un téléphone, les liens du pied faisaient 23 px de haut, empilés les uns
   sur les autres : on tape à côté. On leur donne de quoi être touchés. */
@media (max-width: 780px) {
  .site-footer nav { gap: 0; }
  .site-footer nav a,
  .site-footer address a,
  .site-footer__top {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .site-footer address { line-height: 2; }
  .site-footer__legal { font-size: .76rem; }
}

/* Dans le menu plein écran, les liens secondaires faisaient 24 px de haut :
   trop serrés pour un doigt. Ici, pas dans da-pages.css — l accueil ne
   charge que cette feuille. */
@media (max-width: 1100px) {
  .site-nav__plus a, .site-nav__contact a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
}

/* Le numéro de téléphone en lien souligné : 33 px, un cheveu trop court
   pour un doigt, et c'est le lien le plus pressé du site. */
@media (max-width: 780px) {
  a.line-link { display: inline-flex; align-items: center; min-height: 40px; }
}

/* Entre tablette et petit portable, la grille des boutiques tombe à deux
   colonnes : la troisième carte — le Menu de Fêtes — restait seule en
   demi-largeur avec un vide à côté. Elle prend la ligne entière. */
@media (min-width: 600px) and (max-width: 900px) {
  .boutiques__grille .boutique:last-child { grid-column: 1 / -1; }
}
