/* ==========================================================================
   GREAT — Good food. Great moments.
   Feuille de style principale
   Charte : noir & blanc dominants, la couleur est laissée aux plats.
   Échelle typographique au nombre d'or (x 1,618), comme demandé par la charte.
   ========================================================================== */

/* ---------- Fonts (auto-hébergées) ---------- */
@font-face {
  font-family: "Anton";
  src: url("../fonts/anton.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-italic.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-italic.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Nuancier officiel de la charte */
  --black: #000000;      /* Noir profond — texte, logos */
  --ink: #111111;        /* Noir adouci — fonds, aplats */
  --anthracite: #333333; /* Gris anthracite — texte secondaire */
  --grey: #666666;       /* Gris moyen — fonds légers, séparateurs */
  --line: #e5e5e5;       /* Gris clair — arrière-plans neutres */
  --paper: #f5f5f5;      /* Gris très pâle — liserés, séparateurs */
  --offwhite: #fafafa;   /* Blanc cassé — fonds papier, web sobre */
  --white: #ffffff;      /* Blanc pur — fond principal */
  --tan: #8d5d45;        /* Sticker « C'est qui le traiteur ? » (présentation) */

  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --serif: "Newsreader", "Georgia", "Times New Roman", serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, system-ui, sans-serif;

  /* Nombre d'or : 17 → 27.5 → 44.5 → 72 → 116 → 188 */
  --fs--1: 0.8125rem;
  --fs-0: 1.0625rem;
  --fs-1: clamp(1.25rem, 1.05rem + 0.75vw, 1.72rem);
  --fs-2: clamp(1.75rem, 1.2rem + 2.1vw, 2.78rem);
  --fs-3: clamp(2.4rem, 1.4rem + 4vw, 4.5rem);
  --fs-4: clamp(3rem, 1.4rem + 6.8vw, 7.25rem);
  --fs-5: clamp(3.6rem, 1rem + 11.5vw, 11.75rem);

  --gutter: clamp(20px, 4.2vw, 64px);
  --maxw: 1440px;
  --radius: clamp(18px, 2.2vw, 32px);
  --radius-s: 14px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);

  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: var(--fs-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
::selection { background: var(--white); color: var(--black); }
.theme-light ::selection { background: var(--black); color: var(--white); }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 200;
  padding: 12px 18px; border-radius: 999px;
  background: var(--white); color: var(--black);
  transform: translateY(-160%);
  transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { position: relative; padding-block: clamp(96px, 14vw, 200px); }
.theme-dark { background: var(--black); color: var(--white); }
.theme-ink { background: var(--ink); color: var(--white); }
.theme-light { background: var(--white); color: var(--black); }
.theme-paper { background: var(--paper); color: var(--black); }
.theme-offwhite { background: var(--offwhite); color: var(--black); }

/* ---------- Typography ---------- */
.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.display em,
.hl em {
  font-style: italic;
  font-synthesis: style;
  padding-right: 0.04em;
  margin-left: -0.03em;
}
.h1 { font-size: var(--fs-5); }
.h2 { font-size: var(--fs-4); }
.h2.services__title { font-size: clamp(2.4rem, 1.1rem + 4.6vw, 5.25rem); }
.h3 { font-size: var(--fs-3); }
.h4 { font-size: var(--fs-2); }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}
.bar {
  display: block;
  width: 72px; height: 2px;
  margin-top: clamp(20px, 2.4vw, 32px);
  background: currentColor;
  transform-origin: left center;
}
.serif { font-family: var(--serif); }
.lead {
  font-family: var(--serif);
  font-size: var(--fs-1);
  line-height: 1.35;
  font-weight: 400;
  text-wrap: pretty;
}
.muted { opacity: 0.66; }
.section-head { margin-bottom: clamp(48px, 7vw, 104px); }
.section-head .eyebrow { display: block; margin-bottom: 14px; }

/* SplitText : masques de lignes (révélation par le bas) */
.split-line-mask { padding-block: 0.16em 0.12em; margin-block: -0.16em -0.12em; }
.split-line { will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--white);
  --fg: var(--black);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease-out), color .45s var(--ease-out), background-color .45s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: var(--fg);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease-out);
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(0.97); }
.btn--dark { --bg: var(--black); --fg: var(--white); }
.btn--ghost {
  --bg: transparent; --fg: var(--white);
  box-shadow: inset 0 0 0 1.5px currentColor;
}
.btn--ghost:hover { color: var(--black); }
.btn--ghost-dark { --bg: transparent; --fg: var(--black); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost-dark:hover { color: var(--white); }
.btn--sm { height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn__arrow {
  display: inline-block;
  transition: transform .5s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 4px;
}
.link-arrow span { transition: transform .5s var(--ease-out); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- Doodles (trait noir fin, jamais recoloré) ---------- */
.doodle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.doodle[pathLength] { vector-effect: none; }

/* ==========================================================================
   LOADER
   ========================================================================== */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--white);
}
.loader__logo { width: min(46vw, 340px); overflow: hidden; }
.loader__logo svg { width: 100%; height: auto; fill: currentColor; }
.loader__bar {
  position: absolute;
  left: 50%; bottom: clamp(40px, 8vh, 80px);
  width: min(40vw, 220px); height: 1px;
  background: rgba(255,255,255,.18);
  transform: translateX(-50%);
  overflow: hidden;
}
.loader__bar i {
  position: absolute; inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
}
.loader__tag {
  position: absolute;
  bottom: calc(clamp(40px, 8vh, 80px) + 20px);
  left: 50%; transform: translateX(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  opacity: .6;
  white-space: nowrap;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  color: var(--white);
  transition: transform .6s var(--ease-out), color .4s ease;
}
.nav::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.62);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  opacity: 0;
  transition: opacity .4s ease, background-color .4s ease, border-color .4s ease;
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-light { color: var(--black); }
.nav.is-light::before { background: rgba(255,255,255,.72); border-bottom-color: rgba(0,0,0,.06); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo { display: block; width: 92px; flex-shrink: 0; }
.nav__logo svg { width: 100%; height: auto; fill: currentColor; }
.nav__links {
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
  font-size: .9375rem;
  font-weight: 500;
}
.nav__links a {
  position: relative;
  padding-block: 6px;
  opacity: .82;
  transition: opacity .3s ease;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav__links a:hover,
.nav__links a.is-active { opacity: 1; }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { --bg: currentColor; }
.nav .btn { --bg: var(--white); --fg: var(--black); }
.nav.is-light .btn { --bg: var(--black); --fg: var(--white); }
.nav__right { display: flex; align-items: center; gap: 12px; }

.nav__burger {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  z-index: 2;
}
.nav__burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: currentColor;
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.nav__burger span:nth-child(1) { top: 18px; }
.nav__burger span:nth-child(2) { top: 25px; }
.menu-open .nav__burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .nav__burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* Menu mobile plein écran */
.menu {
  position: fixed; inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 40px;
  background: var(--black);
  color: var(--white);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.menu__links { display: grid; gap: 4px; }
.menu__links a {
  display: block;
  overflow: hidden;
  font-family: var(--display);
  font-size: clamp(2.8rem, 12vw, 5rem);
  line-height: 1.05;
}
.menu__links a span { display: block; }
.menu__foot { display: grid; gap: 6px; font-size: .9375rem; opacity: .7; }
.menu.is-static-open { clip-path: none; visibility: visible; }
.menu-open .nav { color: var(--white) !important; }
.menu-open .nav::before { opacity: 0 !important; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--black);
}
.hero__media {
  position: absolute; inset: 0;
  overflow: hidden;
  will-change: clip-path;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 42% 38%;
  will-change: transform;
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}
.hero__content {
  position: absolute;
  inset: auto 0 0 0;
  padding-bottom: clamp(40px, 7vh, 88px);
}
.hero__eyebrow { display: block; margin-bottom: 18px; }
.hero__title { font-size: clamp(3.2rem, .9rem + 9.8vw, 10rem); line-height: .9; }
.hero__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(24px, 3.5vw, 44px);
}
.hero__sub {
  font-family: var(--serif);
  font-size: var(--fs-1);
  font-style: italic;
  max-width: 28ch;
  line-height: 1.3;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll {
  position: absolute;
  right: var(--gutter); top: 50%;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  writing-mode: vertical-rl;
  opacity: .7;
}
.hero__scroll i {
  position: relative;
  width: 1px; height: 56px;
  background: rgba(255,255,255,.3);
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 100%; height: 40%;
  background: var(--white);
  animation: scrollHint 2.2s var(--ease-io) infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(260%); }
}

/* ==========================================================================
   INTRO — Enchantés, nous c'est Great.
   ========================================================================== */
.intro__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}
.intro__media {
  grid-column: 1 / span 5;
  position: sticky;
  top: calc(var(--nav-h) + 4vh);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5.6;
  max-height: calc(100vh - var(--nav-h) - 8vh);
  width: 100%;
}
.intro__media img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; }
.intro__body {
  grid-column: 7 / span 6;
  padding-top: clamp(0px, 4vw, 64px);
}
.intro__title { font-size: var(--fs-4); margin-bottom: clamp(40px, 6vw, 88px); }
.intro__text {
  font-family: var(--serif);
  font-size: var(--fs-2);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.intro__text p + p { margin-top: 1em; }
.intro__text .w { opacity: 1; }
.js .intro__text .w { opacity: .16; }
.intro__text strong { font-weight: 500; font-style: italic; }
.intro__sign {
  display: flex; align-items: center; gap: 18px;
  margin-top: clamp(40px, 5vw, 72px);
}
.intro__sign svg { width: 64px; fill: currentColor; }
.intro__sign p { font-size: .875rem; opacity: .7; max-width: none; }
@media (min-width: 1360px) { .intro__sign p { white-space: nowrap; } }

/* ==========================================================================
   SERVICES — cartes empilées
   ========================================================================== */
.services .section-head { display: grid; grid-template-columns: 1fr minmax(0, 30rem); align-items: end; gap: 24px 64px; }
.services .section-head > div { grid-column: 1 / -1; }
.services__intro { grid-column: 1 / -1; justify-self: start; text-align: left; max-width: none; }
.stack { display: grid; gap: clamp(20px, 2vw, 28px); }
.svc {
  position: sticky;
  top: calc(var(--nav-h) + 3vh + var(--i, 0) * 22px);
  transform-origin: 50% 0%;
}
.svc__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: min(76vh, 720px);
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 30px 80px -40px rgba(0,0,0,.25);
}
.svc__media { position: relative; overflow: hidden; background: var(--line); }
.svc__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease-out);
}
.svc:hover .svc__media img { transform: scale(1.1); }
.svc__body {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4.2vw, 72px);
}
.svc__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: auto; padding-bottom: 40px; }
.svc__num { font-family: var(--display); font-size: 1.25rem; }
.svc__tag { font-size: var(--fs--1); letter-spacing: .14em; text-transform: uppercase; opacity: .55; font-weight: 600; }
.svc__title { font-size: clamp(2.2rem, 1.2rem + 3.4vw, 4.25rem); line-height: 1; margin-bottom: 20px; overflow-wrap: break-word; }
.svc__lead { font-family: var(--serif); font-size: var(--fs-1); line-height: 1.35; color: var(--anthracite); max-width: 30ch; }
.svc__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  margin-top: clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--line);
}
.svc__list li {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.svc__list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.svc__cta { margin-top: clamp(28px, 3vw, 40px); align-self: flex-start; }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: clamp(14px, 2vw, 24px);
  border-block: 1px solid rgba(255,255,255,.12);
  background: var(--black);
  color: var(--white);
}
.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.5vw, 56px);
  padding-right: clamp(28px, 3.5vw, 56px);
  white-space: nowrap;
}
.marquee__item { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.75rem); line-height: 1; }
.marquee__item--serif { font-family: var(--serif); font-style: italic; font-weight: 300; }
.marquee__dash { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.75rem); line-height: 1; opacity: .6; }
.marquee__sep { width: clamp(22px, 2.2vw, 32px); fill: currentColor; flex-shrink: 0; }

/* ==========================================================================
   MARQUE — « EAT » au cœur de « GREAT »
   ========================================================================== */
.eat { padding: 0; }
.eat__pin {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  padding: calc(var(--nav-h) + 4vh) var(--gutter) 8vh;
  overflow: hidden;
}
.eat__kicker { text-align: center; }
.eat__kicker .eyebrow { display: block; margin-bottom: 10px; }
.eat__kicker h2 { font-size: var(--fs-2); }
.eat__logo { width: min(78vw, 980px); }
.eat__logo svg { width: 100%; height: auto; overflow: visible; }
.eat__logo .part { fill: currentColor; }
.eat__logo .doodle { stroke-width: 4.5; vector-effect: none; }
.js .eat__pin { height: 100vh; height: 100svh; min-height: 0; }
.eat__caps {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(100%, 720px);
  text-align: center;
  font-family: var(--serif);
  font-size: var(--fs-1);
  line-height: 1.35;
}
.js .eat__caps { display: block; min-height: 7.5em; }
.js .eat__cap { position: absolute; inset: 0 0 auto 0; }
.js .eat__cap:not(:first-child) { opacity: 0; }
.eat__cap strong { font-family: var(--display); font-weight: 400; letter-spacing: .02em; }
.eat__cap em { font-style: italic; }
.eat__progress {
  position: absolute;
  left: var(--gutter); top: 50%;
  display: grid; gap: 10px;
  transform: translateY(-50%);
}
.eat__progress i { display: block; width: 2px; height: 28px; background: var(--line); position: relative; overflow: hidden; }
.eat__progress i b { position: absolute; inset: 0; background: var(--black); transform: scaleY(0); transform-origin: top; }

/* ==========================================================================
   VALEURS
   ========================================================================== */
.values { padding-top: clamp(32px, 4vw, 60px); }
.quote {
  display: flex;
  justify-content: center;
  padding-block: clamp(8px, 2vw, 32px);
  margin-bottom: clamp(56px, 7vw, 110px);
}
.quote svg { width: min(88%, 840px); height: auto; fill: currentColor; transform: rotate(12deg); }
.values__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.values__aside {
  grid-column: 1 / span 5;
  align-self: start;
  position: sticky;
  top: calc(var(--nav-h) + 6vh);
}
.values__aside .eyebrow { display: block; margin-bottom: 14px; }
.values__aside h2 { font-size: var(--fs-3); margin-bottom: 28px; }
.values__aside .lead { color: var(--anthracite); max-width: 34ch; }
.values__list { grid-column: 7 / span 6; border-top: 1px solid var(--line); }
.value {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px 16px;
  padding: clamp(28px, 3.4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
  transition: opacity .6s var(--ease-out);
}
.js .value { opacity: .22; }
.js .value.is-active { opacity: 1; }
.value__n { font-family: var(--display); font-size: 1.1rem; padding-top: .55em; }
.value__t { font-family: var(--display); font-size: var(--fs-3); line-height: 1; }
.value__d { grid-column: 2; color: var(--anthracite); max-width: 46ch; margin-top: 10px; }

/* ==========================================================================
   LA TEAM
   ========================================================================== */
.team { padding-top: clamp(40px, 6vw, 80px); }
.team__visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  max-height: 90vh;
  width: 100%;
  will-change: clip-path;
}
.team__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.team__visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0) 38%);
}
.team__title {
  position: absolute;
  top: clamp(18px, 4vw, 56px);
  left: 0; right: 0;
  z-index: 2;
  text-align: center;
  font-size: var(--fs-5);
  text-transform: uppercase;
  line-height: .88;
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(64px, 9vw, 140px);
  align-items: center;
}
.team__copy { grid-column: 1 / span 5; }
.team__copy .eyebrow { display: block; margin-bottom: 14px; }
.team__copy h3 { font-size: var(--fs-3); margin-bottom: 24px; }
.team__copy p { color: rgba(255,255,255,.72); max-width: 40ch; }
.team__amour { width: min(80%, 300px); margin-top: 40px; fill: currentColor; opacity: .95; }
.loves {
  grid-column: 7 / span 6;
  display: grid;
  justify-items: center;
  gap: 12px;
  position: relative;
}
.loves__label { font-size: .9375rem; margin-bottom: 6px; opacity: .8; justify-self: start; margin-left: 8%; }
.love {
  width: min(100%, 460px);
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-family: var(--serif);
  font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem);
  text-align: center;
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
}
.sticker {
  position: relative;
  justify-self: end;
  margin-right: 56px;
  margin-top: -18px;
  padding: 12px 26px;
  background: var(--tan);
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem);
  letter-spacing: .01em;
  text-transform: uppercase;
  transform: rotate(-4deg);
  box-shadow: 0 16px 40px -18px rgba(0,0,0,.8);
  white-space: nowrap;
}
.sticker svg {
  position: absolute;
  right: -46px; top: -8px;
  width: 48px;
}
.sticker .doodle { stroke: var(--white); stroke-width: 1.6; }

/* ==========================================================================
   COULISSES
   ========================================================================== */
.backstage { overflow: hidden; padding-bottom: 0; }
.backstage__head {
  position: relative;
  z-index: 3;
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.pill-title {
  display: inline-block;
  padding: .12em .5em .16em;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-size: var(--fs-3);
}
.backstage__head p { margin: 22px auto 0; max-width: 40ch; color: rgba(255,255,255,.7); font-family: var(--serif); font-size: var(--fs-1); line-height: 1.35; }
.wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.2vw, 18px);
  padding-inline: clamp(10px, 1.2vw, 18px);
  height: clamp(700px, 128vh, 1250px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.wall__col { display: grid; gap: clamp(10px, 1.2vw, 18px); align-content: start; will-change: transform; }
.wall__col:nth-child(even) { margin-top: -18%; }
.wall figure { border-radius: var(--radius-s); overflow: hidden; background: var(--ink); }
.wall img { width: 100%; height: auto; transition: transform 1s var(--ease-out); }
.wall figure:hover img { transform: scale(1.05); }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process .section-head { text-align: center; }
.process .section-head .bar { margin-inline: auto; }
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.steps__line {
  position: absolute;
  top: 44px;
  left: 10%; right: 10%;
  height: 1.5px;
  background: var(--line);
}
.steps__line i {
  position: absolute; inset: 0;
  background: var(--black);
  transform-origin: left;
  transform: scaleX(1);
}
.js .steps__line i { transform: scaleX(0); }
.step { position: relative; text-align: center; display: grid; justify-items: center; align-content: start; }
.step__icon {
  position: relative;
  z-index: 1;
  display: grid; place-items: center;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--black);
  transition: background-color .5s var(--ease-out), color .5s var(--ease-out), transform .6s var(--ease-out);
}
.step__icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.step.is-on .step__icon { background: var(--black); color: var(--white); transform: scale(1.06); }
/* Icône téléphone « On échange » : lien d'appel actif uniquement sur téléphone */
.step__tel { color: inherit; text-decoration: none; pointer-events: none; cursor: default; }
@media (hover: none) and (pointer: coarse) and (max-width: 900px) {
  .step__tel { pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .step__tel:active { background: var(--black); color: var(--white); }
}
.step__n { margin-top: 18px; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; }
.step__t { margin-top: 8px; font-family: var(--serif); font-size: var(--fs-1); line-height: 1.15; }
.step__d { margin-top: 12px; font-size: .9375rem; color: var(--anthracite); max-width: 24ch; }

/* ==========================================================================
   CHIFFRES
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.14);
}
.stat {
  padding: clamp(32px, 4.5vw, 64px) clamp(8px, 2.5vw, 40px);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.stat:not(:nth-child(3n+1)) { border-left: 1px solid rgba(255,255,255,.14); }
.stat__n {
  font-family: var(--display);
  font-size: clamp(3.4rem, 1.5rem + 6.6vw, 8rem);
  line-height: .95;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat__l {
  margin-top: 16px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .72;
  max-width: 24ch;
}

/* ==========================================================================
   CAS CLIENTS
   ========================================================================== */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 40px); }
.case { display: flex; flex-direction: column; }
.case__media {
  position: relative;
  aspect-ratio: 4 / 4.6;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}
.case__media img {
  position: absolute; left: 0; top: -8%;
  width: 100%; height: 116%;
  object-fit: cover;
}
.case__tag { margin-top: 24px; font-family: var(--serif); font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
.case__brief { margin-top: 14px; color: var(--anthracite); }
.case__brief b { color: var(--black); }
.case__sol { margin-top: 12px; color: var(--anthracite); }
.case__stat {
  display: flex; align-items: center; gap: 14px;
  margin-top: auto; padding-top: 28px;
}
.case__stat strong { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 1.8rem + 2vw, 3.6rem); line-height: 1; }
.case__stat span { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.35; }

/* ==========================================================================
   NOTRE PLUS BELLE PHOTO DE PLAT
   ========================================================================== */
.plate { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--black); }
.plate__media { position: absolute; inset: 0; will-change: clip-path; }
.plate__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.plate__media::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.28); }
.plate__title {
  position: absolute;
  left: 0; right: 0; top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  text-align: center;
  padding-inline: var(--gutter);
  font-size: var(--fs-4);
  text-shadow: 0 10px 40px rgba(0,0,0,.35);
  pointer-events: none;
}
.plate__note {
  position: absolute;
  z-index: 2;
  bottom: clamp(24px, 5vh, 56px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--fs-1);
  opacity: .9;
  white-space: nowrap;
}

/* ==========================================================================
   BUDGET
   ========================================================================== */
.budget__wrap { max-width: 1180px; margin-inline: auto; }
.price-table { border-top: 1px solid var(--line); }
.price {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 1.6fr auto;
  gap: 16px 40px;
  align-items: center;
  padding: clamp(24px, 2.6vw, 36px) 0;
}
.price::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: #d9d9d9;
  transform-origin: left;
}
.js .price::after { transform: scaleX(var(--line-s, 0)); }
.price__name { font-weight: 700; font-size: 1.1875rem; line-height: 1.25; }
.price__desc { color: var(--anthracite); font-size: 1rem; }
.price__val {
  font-family: var(--display);
  font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem);
  line-height: 1;
  text-align: right;
  min-width: 4.6ch;
  white-space: nowrap;
}
.price__val small { display: block; font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; }
.price__val em { font-style: italic; font-synthesis: style; font-size: .72em; }
.price:hover { background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,.025), rgba(0,0,0,0)); }
.budget__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}
.budget__note { font-size: .875rem; color: var(--grey); }

/* ==========================================================================
   RÉFÉRENCES
   ========================================================================== */
#references .section-head { margin-bottom: clamp(24px, 3vw, 44px); }
.refs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.ref {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2 / 1;
  border: 1.5px solid rgba(255,255,255,.9);
  border-radius: var(--radius-s);
  transition: background-color .5s var(--ease-out), transform .6s var(--ease-out);
}
.ref:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.ref img { width: auto; height: auto; max-width: 68%; max-height: 58%; object-fit: contain; }
.ref--text {
  border-color: transparent;
  font-family: var(--serif);
  font-size: clamp(1rem, .9rem + .5vw, 1.35rem);
  line-height: 1.25;
  text-align: center;
  padding: 8%;
}
.ref--text:hover { background: none; transform: none; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { position: relative; overflow: hidden; background: var(--black); }
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: 60% 50%; }
.contact__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.7) 45%, rgba(0,0,0,.55) 100%);
}
.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.contact__intro { grid-column: 1 / span 5; position: sticky; top: calc(var(--nav-h) + 6vh); }
.contact__title { font-size: clamp(3.4rem, 1rem + 7.2vw, 8.25rem); text-transform: uppercase; line-height: .9; white-space: nowrap; }
.contact__sub { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: var(--fs-1); }
.contact__list { margin-top: clamp(36px, 5vw, 64px); display: grid; gap: 18px; }
.contact__list li { display: grid; gap: 2px; }
.contact__list .eyebrow { font-size: .7rem; }
.contact__list a { font-size: 1.25rem; font-weight: 600; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease-out); }
.contact__list a:hover { background-size: 100% 1.5px; }
.contact__tels { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.contact__arrow { width: 150px; margin-top: 36px; color: var(--white); }
.contact__arrow .doodle { stroke-width: 2; }

.form-card {
  grid-column: 7 / span 6;
  position: relative;
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius);
  padding: clamp(24px, 3.6vw, 56px);
  box-shadow: 0 40px 120px -40px rgba(0,0,0,.8);
}
.form__head { margin-bottom: 28px; }
.form__head h3 { font-size: var(--fs-2); }
.form__head p { margin-top: 8px; color: var(--grey); }
.form { display: grid; gap: 16px; }
.form[hidden] { display: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__legend { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--anthracite); margin-bottom: 12px; }

.field { position: relative; }
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 60px;
  padding: 24px 18px 8px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--offwhite);
  font-size: 1rem;
  line-height: 1.3;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .3s ease, background-color .3s ease, box-shadow .3s ease;
}
.field textarea { height: auto; min-height: 132px; resize: vertical; padding-top: 30px; }
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.field label {
  position: absolute;
  left: 19px; top: 19px;
  color: var(--grey);
  font-size: 1rem;
  pointer-events: none;
  transform-origin: left top;
  transition: transform .35s var(--ease-out), color .3s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--black); background: var(--white); box-shadow: 0 0 0 4px rgba(0,0,0,.06); }
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field--fixed label { transform: translateY(-11px) scale(.76); color: var(--anthracite); }
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.field input[type="date"]::-webkit-calendar-picker-indicator { opacity: .6; cursor: pointer; }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: var(--black); background: #fff; box-shadow: 0 0 0 4px rgba(0,0,0,.08); }
.field__err, .chips__err {
  display: none;
  margin-top: 6px;
  font-size: .8125rem;
  font-weight: 600;
}
.is-invalid > .field__err, .chips.is-invalid + .chips__err { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--offwhite);
  font-size: .9375rem;
  font-weight: 500;
  transition: all .35s var(--ease-out);
  user-select: none;
}
.chip span::before {
  content: "";
  width: 0; height: 10px;
  border: solid currentColor;
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0;
  transition: width .3s var(--ease-out), opacity .3s ease;
}
.chip input:checked + span { background: var(--black); border-color: var(--black); color: var(--white); }
.chip input:checked + span::before { width: 5px; opacity: 1; margin-right: 2px; }
.chip input:focus-visible + span { outline: 2px solid var(--black); outline-offset: 3px; }
.chip span:hover { border-color: var(--black); }

.range {
  padding: 16px 18px 18px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--offwhite);
}
.range__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.range__top label { font-size: .8125rem; color: var(--anthracite); }
.range__top output { font-family: var(--display); font-size: 1.6rem; line-height: 1; }
.range input[type="range"] {
  --p: 20%;
  width: 100%;
  height: 22px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.range input[type="range"]::-webkit-slider-runnable-track {
  height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--black) var(--p), var(--line) var(--p));
}
.range input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: var(--line); }
.range input[type="range"]::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--black); }
.range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px; margin-top: -9.5px;
  border-radius: 50%;
  background: var(--black);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 1.5px var(--black), 0 4px 10px rgba(0,0,0,.2);
  transition: transform .3s var(--ease-out);
}
.range input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.range input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--black);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 1.5px var(--black);
}
.range__scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--grey); margin-top: 6px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; color: var(--anthracite); cursor: pointer; }
.check input {
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin: 1px 0 0;
  border: 1.5px solid var(--grey);
  border-radius: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--white);
  display: grid; place-items: center;
  cursor: pointer;
  transition: all .3s var(--ease-out);
}
.check input::after {
  content: "";
  width: 5px; height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  margin-top: -2px;
  transition: transform .3s var(--ease-out);
}
.check input:checked { background: var(--black); border-color: var(--black); }
.check input:checked::after { transform: rotate(45deg) scale(1); }
.check.is-invalid input { border-color: var(--black); box-shadow: 0 0 0 4px rgba(0,0,0,.1); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.form__submit { margin-top: 8px; height: 62px; font-size: 1.0625rem; }
.form__submit.is-loading { pointer-events: none; }
.form__submit .spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.form__submit.is-loading .spinner { display: block; }
.form__submit.is-loading .btn__label, .form__submit.is-loading .btn__arrow { opacity: .5; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__legal { font-size: .78rem; color: var(--grey); text-align: center; }
.form__status { font-size: .875rem; font-weight: 600; text-align: center; min-height: 1.2em; }

.form-success {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 18px;
  padding: clamp(24px, 6vw, 72px) 0;
}
.form-success[hidden] { display: none; }
.form-success svg { width: 96px; height: 96px; }
.form-success h3 { font-size: var(--fs-3); }
.form-success p { max-width: 36ch; color: var(--anthracite); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; background: var(--black); color: var(--white); padding-top: clamp(48px, 5vw, 72px); overflow: hidden; }
.footer__top {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
  padding-bottom: clamp(32px, 4vw, 56px);
}
.footer__logo { grid-column: 1 / -1; justify-self: center; display: block; width: fit-content; margin-bottom: clamp(8px, 1.5vw, 20px); }
.footer__col:last-child { grid-column: span 4; }
.footer__logo img { width: clamp(120px, 12vw, 170px); height: auto; display: block; }
.footer__col { grid-column: span 4; display: grid; align-content: start; justify-items: center; text-align: center; gap: 12px; }
.footer__col h4 { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; opacity: .5; font-weight: 600; margin-bottom: 6px; }
.footer__col a { width: fit-content; opacity: .85; transition: opacity .3s ease; }
.footer__col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding-block: 20px;
  font-size: .8125rem;
  opacity: .6;
  border-top: 1px solid rgba(255,255,255,.14);
}
.footer__bottom a:hover { text-decoration: underline; }

/* ==========================================================================
   RESPONSIVE
   Points de rupture : 1100 (tablette paysage / petit laptop) · 900 (tablette
   portrait) · 600 (mobile) · 380 (petit mobile) + écrans bas en paysage.
   ========================================================================== */
html { -webkit-tap-highlight-color: transparent; }
.container {
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.split-line-mask { padding-inline: 0.12em; margin-inline: -0.12em; }
.pw-mask { padding: 0.14em 0.16em 0.12em 0.04em; margin: -0.14em -0.16em -0.12em -0.04em; }
.svc__top { gap: 16px; }
.svc__tag { text-align: right; }
.footer__col a { overflow-wrap: anywhere; }

/* ---- ≤ 1100px ---- */
/* ==========================================================================
   CARNET DE RECETTES
   ========================================================================== */
.recipes__intro { margin-top: clamp(20px, 2.4vw, 32px); max-width: 44ch; }
.recipes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.2vw, 52px) clamp(20px, 2.4vw, 40px);
}
.recipe__card {
  position: relative;
  height: 100%;
  display: flex; flex-direction: column;
  padding: clamp(26px, 2.6vw, 38px) clamp(22px, 2.4vw, 34px) clamp(24px, 2.4vw, 32px);
  background-color: var(--white);
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, #efefef 31px 32px);
  background-position: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 22px 50px -34px rgba(0,0,0,.35);
  transform: rotate(-1.1deg);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.recipe:nth-child(2n) .recipe__card { transform: rotate(.9deg); }
.recipe:nth-child(3n) .recipe__card { transform: rotate(-.5deg); }
.recipe__card::before {
  content: "";
  position: absolute; top: -11px; left: 50%;
  width: 92px; height: 24px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(0,0,0,.08);
  border-left: 1px dashed rgba(0,0,0,.12);
  border-right: 1px dashed rgba(0,0,0,.12);
}
.recipe:hover .recipe__card { transform: rotate(0) translateY(-6px); box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 30px 60px -34px rgba(0,0,0,.45); }
.recipe__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.recipe__num { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--anthracite); }
.recipe__tag {
  font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 10px; border: 1.5px solid currentColor; border-radius: 999px; white-space: nowrap;
}
.recipe__title { font-size: clamp(1.7rem, 1.1rem + 1.3vw, 2.35rem); line-height: 1.02; margin-bottom: 14px; }
.recipe__story { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.45; color: var(--anthracite); margin-bottom: 26px; }
.recipe__label {
  margin-top: auto; padding-top: 18px;
  border-top: 1.5px dashed rgba(0,0,0,.22);
  font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .6;
  margin-bottom: 14px;
}
.recipe__ings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.recipe__ings li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: .875rem; font-weight: 500; }
.recipe__ic { width: 44px; height: 44px; stroke-width: 1.6; }
.recipes__filters { display: flex; flex-wrap: wrap; gap: 10px; margin: calc(-1 * clamp(20px, 3vw, 48px)) 0 clamp(36px, 4vw, 56px); }
.recipes__filter {
  font: inherit; font-size: .875rem; font-weight: 600;
  padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid var(--black); background: transparent; color: var(--black);
  cursor: pointer; transition: background .3s ease, color .3s ease;
}
.recipes__filter:hover { background: rgba(0,0,0,.06); }
.recipes__filter.is-active { background: var(--black); color: var(--white); }
.recipe[hidden] { display: none; }
.recipes__cta { margin-top: clamp(40px, 5vw, 72px); text-align: center; }
@media (max-width: 1100px) { .recipes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .recipes__filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .recipes__filter { flex-shrink: 0; }
  .recipes__grid { grid-template-columns: 1fr; gap: 34px; }
  .recipe__card, .recipe:nth-child(2n) .recipe__card, .recipe:nth-child(3n) .recipe__card { transform: rotate(0); }
}
@media (hover: none) { .recipe:hover .recipe__card { transform: none; } }

@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .intro__media { grid-column: 1 / span 5; }
  .intro__body { grid-column: 6 / span 7; }
  .svc__inner { grid-template-columns: 1fr 1fr; }
  .svc__list { grid-template-columns: 1fr; }
  /* Process : frise verticale */
  .process .section-head { text-align: left; }
  .process .section-head .bar { margin-inline: 0; }
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 620px; }
  .steps__line { top: 44px; bottom: 44px; left: 43px; right: auto; width: 1.5px; height: auto; }
  .steps__line i { transform-origin: top; }
  .js .steps__line i { transform: scaleY(0); }
  .step { grid-template-columns: 88px 1fr; column-gap: 24px; text-align: left; justify-items: start; padding-bottom: 36px; }
  .step:last-child { padding-bottom: 0; }
  .step__icon { grid-row: span 3; }
  .step__n { margin-top: 10px; }
  .step__d { max-width: 44ch; }
  /* Contact : formulaire sous l'intro */
  .contact__grid { grid-template-columns: 1fr; }
  .contact__intro, .form-card { grid-column: 1 / -1; }
  .contact__intro { position: static; }
  .contact__arrow { display: none; }
  .form-card { max-width: 760px; }
  .footer__logo { grid-column: 1 / -1; }
  .footer__col, .footer__col:last-child { grid-column: span 4; }
}

/* ---- ≤ 900px ---- */
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__logo { width: 80px; }
  .nav__cta { display: none; }
  .hero__scroll { display: none; }
  .hero__media img { object-position: 56% 32%; }
  .intro__grid,
  .values__grid,
  .team__grid { grid-template-columns: 1fr; }
  .intro__media,
  .intro__body,
  .values__aside,
  .values__list,
  .team__copy,
  .loves { grid-column: 1 / -1; }
  .intro__media { position: relative; top: 0; aspect-ratio: 4 / 3.4; max-height: 78svh; }
  .intro__body { padding-top: 16px; }
  .intro__title { margin-bottom: 36px; }
  .values__aside { position: static; }
  .services .section-head { grid-template-columns: 1fr; }
  .services__intro { grid-column: 1; }
  .svc { position: relative; top: 0; }
  .svc__inner { grid-template-columns: 1fr; min-height: 0; }
  .svc__media { aspect-ratio: 4 / 3; max-height: 62svh; }
  .svc__top { padding-bottom: 20px; }
  .svc__list { grid-template-columns: 1fr 1fr; }
  .eat__logo { width: min(88vw, 110svh); }
  .eat__progress { display: none; }
  .team__visual { aspect-ratio: 4 / 5; max-height: 82svh; }
  .team__visual img { object-position: 52% 50%; }
  .team__grid { margin-top: 56px; gap: 56px; }
  .loves__label { margin-left: 0; }
  .sticker { justify-self: center; margin-right: 0; margin-left: -20px; }
  .wall { grid-template-columns: repeat(2, 1fr); height: clamp(500px, 75vh, 600px); }
  .wall__col:nth-child(n+3) { display: none; }
  .wall__col:first-child figure:nth-child(n+3) { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:not(:nth-child(3n+1)) { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid rgba(255,255,255,.14); }
  .cases { grid-template-columns: 1fr; gap: 64px; max-width: 620px; }
  .case__media { aspect-ratio: 4 / 3.6; }
  .price { grid-template-columns: 1fr auto; gap: 8px 20px; }
  .price__name { grid-column: 1; }
  .price__desc { grid-column: 1 / -1; grid-row: 2; font-size: .9375rem; }
  .price__val { grid-column: 2; grid-row: 1; }
  .budget__foot { flex-direction: column; align-items: stretch; }
  .budget__foot .btn { width: 100%; }
  .refs { display: flex; flex-wrap: wrap; justify-content: center; --g: 16px; gap: var(--g); }
  .ref { width: calc((100% - 2 * var(--g)) / 3); }
  .ref--text { width: 100%; aspect-ratio: auto; padding: 20px; }
  .form__row { grid-template-columns: 1fr; }
  .contact__bg::after { background: rgba(0,0,0,.78); }
  .form-card { max-width: none; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer__col { grid-column: span 1; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .menu__links a { font-size: clamp(2.4rem, min(12vw, 8.5svh), 5rem); }
  .menu { overflow-y: auto; }
}

/* ---- ≤ 600px ---- */
@media (max-width: 600px) {
  .section { padding-block: clamp(80px, 22vw, 110px); }
  .section-head { margin-bottom: 44px; }
  .hero__title { font-size: clamp(3rem, 16vw, 4.5rem); }
  .hero__bottom { margin-top: 20px; gap: 22px; }
  .hero__actions { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
  .hero__actions .btn { width: 100%; padding: 0 20px; }
  .hero__content { padding-bottom: max(28px, env(safe-area-inset-bottom) + 20px); }
  .intro__media { aspect-ratio: 4 / 4.2; }
  .intro__text { font-size: clamp(1.6rem, 7.4vw, 2.1rem); }
  .svc__list { grid-template-columns: 1fr; }
  .svc__body { padding: 24px 22px 28px; }
  .eat__kicker h2 { font-size: clamp(1.6rem, 7.5vw, 2.2rem); }
  .quote { margin-bottom: 48px; }
  .quote svg { width: 100%; }
  .value { grid-template-columns: 40px 1fr; }
  .team__title { font-size: clamp(3.4rem, 20vw, 5.4rem); }
  .love { padding: 12px 18px; }
  .sticker { font-size: 1.05rem; padding: 10px 18px; }
  .sticker svg { right: -60px; top: 16px; width: 48px; z-index: 2; }
  .sticker .doodle { stroke-width: 2; }
  .backstage__head { margin-bottom: 36px; }
  .pill-title { font-size: clamp(2.2rem, 11vw, 3rem); }
  .step { grid-template-columns: 64px 1fr; column-gap: 18px; }
  .step__icon { width: 64px; height: 64px; }
  .step__icon svg { width: 28px; height: 28px; }
  .steps__line { top: 32px; bottom: 32px; left: 31px; }
  .stat__n { font-size: clamp(2.5rem, 12.5vw, 3.6rem); }
  .stat { padding: 28px 12px; }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat__l { letter-spacing: .12em; font-size: .75rem; }
  .plate__title { font-size: clamp(2.8rem, 13vw, 4rem); }
  .plate__note { white-space: normal; width: 88%; text-align: center; font-size: 1.1rem; }
  .refs { --g: 10px; }
  .ref { width: calc((100% - var(--g)) / 2); }
  .ref--text { width: 100%; }
  .ref img { max-width: 72%; max-height: 54%; }
  .form-card { padding: 22px 18px 26px; border-radius: 22px; }
  .contact__title { font-size: clamp(3rem, 17vw, 4.6rem); }
  .contact__list a, .contact__list span[style] { font-size: 1.1rem !important; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
}

/* ---- ≤ 380px (petits téléphones) ---- */
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .hero__actions { grid-template-columns: 1fr; }
  .btn { height: 52px; }
  .chip span { height: 40px; padding: 0 13px; font-size: .875rem; }
  .svc__tag { display: none; }
  .love { font-size: 1rem; }
  .stat__n { font-size: 2.35rem; }
  .price__val { font-size: 1.9rem; }
}

/* ---- Écrans bas en paysage (téléphones tournés) ---- */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 0; }
  .hero__title { font-size: min(clamp(3.2rem, .9rem + 9.8vw, 10rem), 18svh); }
  .hero__eyebrow { margin-bottom: 8px; }
  .hero__bottom { margin-top: 14px; }
  .hero__content { padding-bottom: 20px; }
  .hero__actions { display: flex; width: auto; }
  .hero__actions .btn { height: 46px; width: auto; }
  .eat__pin { padding: calc(var(--nav-h) + 8px) var(--gutter) 16px; }
  .eat__logo { width: min(60vw, 66svh); }
  .eat__kicker .eyebrow { display: none; }
  .eat__caps { font-size: 1.05rem; min-height: 4.5em; }
  .team__visual { aspect-ratio: 16 / 9; max-height: 86svh; }
  .intro__media { aspect-ratio: 16 / 10; }
  .plate__title { font-size: min(var(--fs-4), 18svh); }
  .menu { padding-top: calc(var(--nav-h) + 12px); }
  .menu__links { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .menu__links a { font-size: min(9svh, 3rem); }
}

/* ---- Écrans tactiles : pas d'effets de survol « collants » ---- */
@media (hover: none) {
  .btn:hover { color: var(--fg); }
  .btn:hover::before { transform: translateY(101%); }
  .btn--ghost:hover { color: var(--white); }
  .btn--ghost-dark:hover { color: var(--black); }
  .btn:hover .btn__arrow, .link-arrow:hover span { transform: none; }
  .svc:hover .svc__media img { transform: scale(1.04); }
  .wall figure:hover img { transform: none; }
  .ref:hover { background: none; transform: none; }
  .price:hover { background: none; }
}

/* Réduction des animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .intro__text .w, .js .value { opacity: 1; }
  .js .steps__line i { transform: none; }

  .js .price::after { transform: none; }
}

/* ==========================================================================
   PAGE MENTIONS LÉGALES
   ========================================================================== */
.legal-page { background: var(--offwhite); color: var(--black); }
.legal-top {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
  border-bottom: 1px solid var(--line);
}
.legal-top .nav__logo { color: var(--black); }
.legal { max-width: 820px; padding-block: clamp(56px, 8vw, 120px); }
.legal h1 { font-size: var(--fs-3); margin-bottom: 16px; }
.legal .lead { color: var(--anthracite); margin-bottom: 48px; }
.legal h2 { font-family: var(--display); font-weight: 400; font-size: var(--fs-2); margin: 56px 0 16px; line-height: 1; }
.legal p, .legal li { color: var(--anthracite); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; margin-top: 10px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .todo { background: #fff3c4; color: var(--black); padding: 0 .3em; border-radius: 4px; }
