/* Flambé — feuille de style du gabarit.
   Scène : le feu du wok dans une cuisine sombre. Le noir n'est pas un mode,
   c'est la marque : fond quasi noir teinté vers le rouge, bordeaux et rouge
   pour la chaleur, blanc pour lire. Aucune bascule clair/sombre, aucun
   prefers-color-scheme : le rendu est le même pour tous les visiteurs.
   Polices servies par le site lui-même (aucun tiers, rien à consentir). */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; src: url(fonts/bricolage-grotesque.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(fonts/source-serif-4.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(fonts/source-serif-4-italique.woff2) format("woff2"); }

/* Transition entre documents : le navigateur fond l'ancienne page dans la
   nouvelle. Le rideau (plus bas) passe par-dessus quand le mouvement est permis. */
@view-transition { navigation: auto; }

:root {
  color-scheme: only light; /* choix de marque fixe : pas de mode automatique */
  --bg: oklch(13.5% 0.008 25);
  --bg-2: oklch(17% 0.012 25);
  --bg-3: oklch(21% 0.016 25);
  --line: oklch(29% 0.02 25);
  --line-2: oklch(38% 0.025 25);
  --ink: oklch(97% 0.005 25);
  --ink-2: oklch(82% 0.016 25);
  --ink-3: oklch(70% 0.02 25);
  --rouge: #c8102e;
  --rouge-vif: oklch(68% 0.2 24);   /* rouge lisible sur noir (texte, filets) */
  --bordeaux: #8b2323;
  --braise: oklch(80% 0.15 62);     /* uniquement pour la lueur et les braises */
  --display: "Bricolage Grotesque", "Avenir Next Condensed", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --w: 1240px;
  --gut: clamp(16px, 4vw, 44px);
  --head-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
  --z-sticky: 10; --z-head: 20; --z-menu: 30; --z-curtain: 40;
  /* Pour la couche commune du moteur (pages légales, formulaires). */
  --accent: var(--rouge-vif);
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.62; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1; margin: 0; text-wrap: balance; letter-spacing: -0.025em; font-weight: 800; }
p { text-wrap: pretty; margin: 0 0 1em; }
::selection { background: var(--rouge); color: #fff; }
:focus-visible { outline: 2px solid var(--rouge-vif); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.wrap { width: min(var(--w), 100%); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: var(--z-curtain); background: var(--ink); color: var(--bg); padding: 10px 14px; font-family: var(--display); font-weight: 700; text-decoration: none; border-radius: 8px; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.1; padding: 15px 24px; min-height: 52px; border-radius: 999px; cursor: pointer; border: 0; isolation: isolate; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg.go { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-red { background: var(--rouge); color: #fff; }
/* au survol, une langue de flamme monte du bas du bouton */
.btn-red::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 50% 120%, oklch(72% 0.19 45) 0%, oklch(58% 0.22 28) 45%, transparent 75%); transform: translateY(70%); opacity: 0; transition: transform .45s var(--ease), opacity .3s var(--ease); }
.btn-red:hover::before { transform: none; opacity: 1; }
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -12px oklch(58% 0.22 25 / .9); }
.btn-line { color: var(--ink); box-shadow: inset 0 0 0 1px oklch(100% 0 0 / .42); background: transparent; }
.btn-line:hover { background: oklch(100% 0 0 / .08); box-shadow: inset 0 0 0 1px oklch(100% 0 0 / .8); transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 16px; }

.tlink { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rouge-vif); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-thickness .2s, color .2s; }
a.tlink[href^="tel:"], .bigtel, .contact b { white-space: nowrap; }
.tlink:hover { text-decoration-thickness: 2px; color: #fff; }

/* ---------- En-tête ---------- */
.head { position: sticky; top: 0; z-index: var(--z-head); background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .3s; }
.head.scrolled { border-bottom-color: var(--line); }
.head .wrap { display: flex; align-items: center; gap: 20px; height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; white-space: nowrap; min-width: 0; }
.brand img { width: 46px; height: 46px; object-fit: contain; mix-blend-mode: lighten; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.nav-wrap { position: relative; margin-left: auto; }
.nav { display: flex; gap: 4px; font-family: var(--display); font-weight: 500; font-size: 16px; }
.nav a { position: relative; text-decoration: none; color: var(--ink-2); padding: 10px 12px; border-radius: 8px; transition: color .2s; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--ink-3); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"]::after { content: none; }
/* la braise sous la page courante */
.ember { position: absolute; bottom: 2px; left: 0; height: 3px; width: 0; border-radius: 3px; background: var(--rouge-vif); box-shadow: 0 0 12px 1px oklch(62% 0.22 28 / .8); transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; pointer-events: none; opacity: 0; }
.motion.arrive .ember { animation: ember-in .7s var(--ease) .35s both; }
@keyframes ember-in { from { box-shadow: 0 0 22px 4px oklch(80% 0.15 62 / .9); background: var(--braise); } }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 10px; background: transparent; color: var(--ink); border: 1px solid var(--line-2); border-radius: 999px; min-height: 44px; padding: 8px 16px; font-family: var(--display); font-weight: 700; font-size: 16px; cursor: pointer; }
.menu-btn i { position: relative; display: block; width: 18px; height: 2px; background: currentColor; transition: background .2s; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn i::before { top: -6px; } .menu-btn i::after { top: 6px; }
.menu-btn[aria-expanded="true"] i { background: transparent; }
.menu-btn[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }
.call { flex: none; }

.drawer { position: fixed; inset: var(--head-h) 0 0 0; z-index: var(--z-menu); background: var(--bg); padding: 28px var(--gut) 40px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.drawer[hidden] { display: none; }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 10vw, 56px); letter-spacing: -0.03em; line-height: 1.15; text-decoration: none; color: var(--ink); padding-block: 4px; }
.drawer-nav a[aria-current="page"] { color: var(--rouge-vif); }
.drawer .meta { margin-top: auto; padding-top: 28px; color: var(--ink-2); font-size: 16px; border-top: 1px solid var(--line); }
.motion .drawer.open .drawer-nav a { animation: rise .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }

/* ---------- Rideau de flamme entre les pages ----------
   Départ : le script le fait monter avant de quitter la page.
   Arrivée : la nouvelle page s'ouvre rideau baissé et le lève en CSS pur —
   si le script ne venait pas, rien ne resterait caché. */
.curtain { position: fixed; inset: 0; z-index: var(--z-curtain); pointer-events: none; transform: translateY(101%); visibility: hidden;
  background: linear-gradient(180deg, oklch(78% 0.16 55) 0, var(--rouge) 2.2%, var(--bordeaux) 9%, oklch(16% 0.03 25) 26%, var(--bg) 40%); }
.curtain img { position: absolute; left: 50%; top: 55%; width: 88px; height: 88px; object-fit: contain; translate: -50% -50%; mix-blend-mode: lighten; opacity: .9; }
.curtain.in { visibility: visible; transform: none; transition: transform .32s var(--ease-in); }
.motion.arrive .curtain { visibility: visible; animation: curtain-up .55s var(--ease) .06s both; }
@keyframes curtain-up { from { transform: none; } to { transform: translateY(-101%); visibility: hidden; } }

/* ---------- Apparitions au défilement (le contenu est visible sans elles) ----------
   `rv-on` est posé dans l'en-tête, `js-ok` par le script du gabarit : si ce
   dernier manque, tout réapparaît de soi-même au bout de 2,5 s. */
.rv-on .rv:not(.in) { opacity: 0; transform: translateY(26px); }
.rv-on .rv { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv-on .rv-clip:not(.in) { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); }
.rv-on .rv-clip { transition: clip-path 1.1s var(--ease); clip-path: inset(0 0 0 0); }
.rv-on .rv-clip:not(.in) img { transform: scale(1.12); }
.rv-on .rv-clip img { transition: transform 1.4s var(--ease); }
.rv-on .rv-list:not(.in) > * { opacity: 0; transform: translateY(14px); }
.rv-on .rv-list > * { transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(min(var(--i, 0), 10) * 45ms); }
.rv-on .rv-list:not(.in) { opacity: 1; transform: none; }

.rv-on:not(.js-ok) .rv, .rv-on:not(.js-ok) .rv-clip img, .rv-on:not(.js-ok) .rv-list > * { animation: unhide .01s 2.5s forwards; }
@keyframes unhide { to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Accueil : le moment du wok ---------- */
.hero { position: relative; min-height: clamp(600px, calc(100svh - var(--head-h)), 920px); display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0 0 0 auto; width: 56%; z-index: -1; overflow: hidden; --fx: 70%; --fy: 66%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 45%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, oklch(13.5% 0.008 25 / .55) 22%, transparent 48%), linear-gradient(0deg, var(--bg) 0%, transparent 22%); }
.hero-media .heat { position: absolute; inset: 0; background: radial-gradient(45% 40% at var(--fx) var(--fy), oklch(75% 0.17 50 / .55), transparent 70%); mix-blend-mode: screen; opacity: .35; pointer-events: none; }
.hero-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-copy { padding-block: clamp(48px, 7vw, 96px); }
.hero-copy > div { max-width: 640px; }
.hero-eyebrow { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 22px; font-family: var(--display); font-weight: 700; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.3; color: var(--rouge-vif); max-width: 40ch; }
.hero-eyebrow svg { width: 18px; height: 18px; flex: none; margin-top: .12em; }
.hero h1 { font-size: clamp(48px, 7.4vw, 104px); line-height: .94; letter-spacing: -0.035em; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .ln > span { display: block; }
.hero .lead { margin: 26px 0 32px; font-size: clamp(18px, 1.45vw, 21px); max-width: 46ch; color: var(--ink-2); }
.hero .acts { display: flex; gap: 12px; flex-wrap: wrap; }

/* La séquence d'allumage : la flamme jaillit, la lumière éclaire la page.
   À l'arrivée par le rideau, elle attend qu'il soit levé. */
.motion .hero { --t0: 0s; }
.motion.arrive .hero { --t0: .35s; }
.motion .hero .hero-media img { animation: flare 1.5s var(--ease) var(--t0) both; }
.motion .hero .hero-media { animation: burst 1.25s var(--ease) var(--t0) both; }
.motion .hero .heat { animation: flicker 2.8s ease-out calc(var(--t0) + .5s) both; }
.motion .hero .hero-eyebrow { animation: kindle 1.6s ease-out calc(var(--t0) + .45s) both; }
.motion .hero h1 .ln > span { animation: lineup .9s var(--ease) calc(var(--t0) + .55s) both; }
.motion .hero .lead { animation: rise .8s var(--ease) calc(var(--t0) + .85s) both; }
.motion .hero .acts { animation: rise .8s var(--ease) calc(var(--t0) + .95s) both; }
.motion .hero + .now { animation: fadein .8s ease-out calc(var(--t0) + 1.1s) both; }
/* Le cercle part de 6 % et non de 0 : une image entièrement masquée ne compte
   pour Google (LCP) qu'à la fin de l'animation ; l'effet à l'œil est le même. */
@keyframes burst { from { clip-path: circle(6% at var(--fx) var(--fy)); } to { clip-path: circle(150% at var(--fx) var(--fy)); } }
@keyframes flare { 0% { filter: brightness(.2) saturate(.6); transform: scale(1.08); } 45% { filter: brightness(1.45) saturate(1.2); } 100% { filter: none; transform: none; } }
@keyframes flicker { 0% { opacity: 0; } 12% { opacity: .9; } 22% { opacity: .45; } 34% { opacity: .75; } 50% { opacity: .4; } 66% { opacity: .55; } 100% { opacity: .35; } }
@keyframes lineup { from { transform: translateY(105%); } to { transform: none; } }
@keyframes kindle { 0% { opacity: 0; color: var(--braise); text-shadow: 0 0 28px oklch(75% 0.18 50 / .9); } 25% { opacity: 1; } 100% { opacity: 1; color: var(--rouge-vif); text-shadow: 0 0 0 transparent; } }

/* Bande « maintenant » */
.now { border-block: 1px solid var(--line); background: var(--bg-2); }
.now .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; padding-block: 16px; font-family: var(--display); font-size: 16px; color: var(--ink-2); }
.now b { color: var(--ink); font-weight: 700; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: oklch(78% 0.17 145); margin-right: 9px; vertical-align: 1px; }
.dot.off { background: var(--rouge-vif); }
.motion .dot:not(.off) { animation: pulse 2.4s ease-out 3; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 oklch(78% 0.17 145 / .55); } 100% { box-shadow: 0 0 0 10px oklch(78% 0.17 145 / 0); } }
.now .push { margin-left: auto; }

/* Sections communes */
.sec { padding-block: clamp(64px, 9vw, 128px); }
.sec-tight { padding-block: 0 clamp(48px, 6vw, 88px); }
.sec-h { font-size: clamp(36px, 5.2vw, 66px); letter-spacing: -0.03em; }
.sec-h .lite { font-weight: 500; color: var(--ink-3); }
.intro-p { color: var(--ink-2); font-size: clamp(18px, 1.4vw, 20px); max-width: 52ch; }

/* Nos façons : composition asymétrique (la première tuile en grand quand elles sont trois) */
.ways .grid { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); grid-auto-rows: minmax(320px, auto); gap: 18px; }
.ways .grid:has(> .way:first-child:nth-last-child(3)) { grid-template-columns: 1.35fr 1fr; grid-template-rows: repeat(2, minmax(311px, auto)); }
.ways .grid > .way:first-child:nth-last-child(3) { grid-row: 1 / 3; }
.way { position: relative; display: block; border-radius: 18px; overflow: hidden; background: var(--bg-2); color: var(--ink); isolation: isolate; min-height: 320px; }
.way img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s var(--ease); filter: saturate(.92) brightness(.86); }
.way::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, oklch(10% 0.01 25 / .94) 0%, oklch(10% 0.01 25 / .6) 40%, transparent 72%); }
.way::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(80% 60% at 50% 110%, oklch(60% 0.22 28 / .55), transparent 70%); opacity: 0; transition: opacity .6s var(--ease); }
.way:hover img { transform: scale(1.05); filter: saturate(1.05) brightness(.95); }
.way:hover::after { opacity: 1; }
.way .txt { position: absolute; z-index: 2; inset: auto 0 0 0; padding: clamp(20px, 2.4vw, 32px); }
.way h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 8px; }
.way p { margin: 0; font-size: 17px; color: var(--ink-2); max-width: 44ch; }
.tag { position: absolute; z-index: 2; top: 18px; left: 18px; background: var(--rouge); color: #fff; font-family: var(--display); font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; }

/* Rubriques en grand : la carte se lit comme une affiche */
.rubs { background: var(--bg-2); border-block: 1px solid var(--line); }
.rubs-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: 36px; }
.rubs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4vw, 54px); letter-spacing: -0.03em; line-height: 1.12; }
.rubs li { display: inline-flex; align-items: baseline; }
.rubs li::after { content: "/"; color: var(--line-2); font-weight: 500; margin: 0 .28em; }
.rubs li:last-child::after { content: none; }
.rubs a { text-decoration: none; color: var(--ink); transition: color .25s, text-shadow .4s; }
.rubs a sup { font-family: var(--display); font-size: .32em; font-weight: 700; color: var(--ink-3); margin-left: .15em; letter-spacing: 0; vertical-align: .9em; transition: color .25s; }
.rubs a:hover { color: var(--rouge-vif); text-shadow: 0 0 28px oklch(62% 0.22 28 / .55); }
.rubs a:hover sup { color: var(--ink); }

/* En cuisine */
.chef .wrap { display: grid; grid-template-columns: minmax(260px, 440px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.chef figure { margin: 0; border-radius: 18px; overflow: hidden; }
.chef figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.chef blockquote { margin: 28px 0 0; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; color: var(--ink); max-width: 58ch; }
.chef blockquote p { margin-bottom: .9em; }
.chef blockquote p::before { content: "« "; color: var(--rouge-vif); }
.chef blockquote p::after { content: " »"; color: var(--rouge-vif); }
.who { font-family: var(--display); font-weight: 700; font-size: 19px; margin-top: 24px; display: flex; align-items: center; gap: 14px; }
.who::before { content: ""; width: 40px; height: 2px; background: var(--rouge-vif); flex: none; }
.who small { display: block; font-weight: 500; color: var(--ink-3); font-size: 15px; }

/* Bande d'appel, trempée dans le bordeaux */
.callband { background: var(--bordeaux); position: relative; overflow: hidden; isolation: isolate; }
.callband::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; z-index: -1; background: radial-gradient(50% 50% at 50% 100%, oklch(58% 0.22 28 / .9), transparent 70%); }
.callband .wrap { padding-block: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: end; }
.callband h2 { font-size: clamp(34px, 4.6vw, 60px); }
.callband p { margin: 14px 0 0; color: oklch(93% 0.02 25); font-size: 18px; }
.bigtel { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5.5vw, 72px); letter-spacing: -0.03em; text-decoration: none; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; position: relative; display: inline-block; }
.bigtel::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: #fff; transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--ease); }
.bigtel:hover::after { transform: scaleX(1); }

/* ---------- En-tête de page intérieure ---------- */
.phead { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.phead .wrap { padding-block: clamp(56px, 8vw, 112px) clamp(40px, 5vw, 64px); }
.phead h1 { font-size: clamp(46px, 7.4vw, 96px); letter-spacing: -0.035em; line-height: .95; }
.phead h1 .lite { font-weight: 500; color: var(--ink-3); }
.phead h1 .lc { text-transform: lowercase; }
.phead .lead { margin: 22px 0 0; color: var(--ink-2); font-size: clamp(18px, 1.5vw, 21px); max-width: 52ch; }
.phead .lead b { font-family: var(--display); color: var(--ink); }
.phead .bg { position: absolute; inset: 0; z-index: -1; }
.phead .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: saturate(.85); }
.phead .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 18%, oklch(13.5% 0.008 25 / .6) 60%, oklch(13.5% 0.008 25 / .35)), linear-gradient(0deg, var(--bg), transparent 45%); }
.motion .phead { --t0: 0s; }
.motion.arrive .phead { --t0: .3s; }
.motion .phead h1 { animation: rise .8s var(--ease) calc(var(--t0) + .12s) both; }
.motion .phead .lead, .motion .phead .acts { animation: rise .8s var(--ease) calc(var(--t0) + .24s) both; }
.motion .phead .bg img { animation: settle 1.6s var(--ease) var(--t0) both; }
@keyframes settle { from { transform: scale(1.08); opacity: 0; } to { transform: none; opacity: .32; } }
.phead .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- La carte ---------- */
.carte-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-block: clamp(40px, 5vw, 72px) clamp(64px, 8vw, 112px); align-items: start; }
.rubnav { position: sticky; top: calc(var(--head-h) + 24px); max-height: calc(100svh - var(--head-h) - 48px); overflow-y: auto; scrollbar-width: thin; }
.rubnav ol { list-style: none; margin: 0; padding: 0; }
.rubnav a { position: relative; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; text-decoration: none; color: var(--ink-3); font-family: var(--display); font-weight: 500; font-size: 15px; padding: 6px 12px 6px 16px; border-radius: 8px; transition: color .2s, background-color .2s; }
.rubnav a .n { font-variant-numeric: tabular-nums; font-size: 13px; }
.rubnav a:hover { color: var(--ink); background: var(--bg-2); }
.rubnav a::before { content: ""; position: absolute; left: 4px; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: var(--rouge-vif); box-shadow: 0 0 10px 2px oklch(62% 0.22 28 / .7); transform: scale(0); transition: transform .35s var(--ease); }
.rubnav a.on { color: var(--ink); font-weight: 700; }
.rubnav a.on::before { transform: scale(1); }
.chips { display: none; }
.rub { scroll-margin-top: calc(var(--head-h) + 24px); padding-bottom: clamp(36px, 4vw, 56px); }
.rub + .rub { border-top: 1px solid var(--line); padding-top: clamp(28px, 3vw, 40px); }
.rub-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 14px; }
.rub-h h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.03em; }
/* Le titre de rubrique et son compte, soulignés d'un trait rouge qui se trace à l'arrivée. */
.rub-t { position: relative; display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding-bottom: 12px; }
.rub-t::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--rouge); transform-origin: left; animation: rub-trait .7s var(--ease) both; }
@keyframes rub-trait { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@supports (animation-timeline: view()) {
  .rub-t::after { animation-timeline: view(); animation-range: entry 10% cover 30%; }
}
@media (prefers-reduced-motion: reduce) { .rub-t::after { animation: none; } }
.rub-h .n { font-family: var(--display); font-weight: 500; font-size: 15px; color: var(--ink-3); }
.rub-h .d { flex-basis: 100%; margin: 0; color: var(--ink-2); font-style: italic; font-size: 17px; }
.dishes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); column-gap: 40px; }
.dish { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; align-items: baseline; align-content: start; padding: 14px 10px 14px 0; border-bottom: 1px solid var(--line); }
.dish::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, var(--rouge-vif), oklch(75% 0.17 50)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.dish:hover::after { transform: scaleX(1); }
.dish .nm { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; }
.dish .pr { font-family: var(--display); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; text-align: right; max-width: 11em; color: var(--ink); transition: color .3s, text-shadow .4s; }
.dish:hover .pr { color: var(--rouge-vif); text-shadow: 0 0 18px oklch(62% 0.22 28 / .6); }
.dish .ds, .dish .al { grid-column: 1 / -1; margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.dish .al { font-size: 14px; color: var(--ink-3); font-style: italic; }
.dish .tg { grid-column: 1 / -1; display: flex; gap: 8px; margin-top: 4px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }
.badge svg { width: 14px; height: 14px; display: none; }
/* « Épicé » prend la flamme ; les autres mentions restent sobres. */
.dish[data-tags*="Épicé"] .badge { border-color: oklch(52% 0.17 26); color: oklch(80% 0.1 30); padding-left: 8px; }
.dish[data-tags*="Épicé"] .badge svg { display: block; color: var(--rouge-vif); }
.dish[data-tags*="Végétarien"] .badge, .dish[data-tags*="Vegan"] .badge { border-color: oklch(48% 0.09 140); color: oklch(84% 0.08 140); }
.carte-note { margin-top: 12px; color: var(--ink-2); font-size: 16px; }

/* ---------- Traiteur ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split figure { margin: 0; border-radius: 18px; overflow: hidden; }
.split figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 40%; }
.pull { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.2; letter-spacing: -0.02em; max-width: 32ch; margin: 0; }
.pull p { margin: 0 0 .5em; } .pull p:last-child { margin-bottom: 0; }

/* Le texte enrichi du commerçant : deux couleurs, celles du gabarit, lisibles sur le noir. */
.kw-accent { color: var(--rouge-vif); }
.kw-accent-2 { color: oklch(72% 0.13 25); }
:where(.lead, .pull, .ds, .hero-eyebrow, .kw-legal) a { color: inherit; text-decoration: underline; text-decoration-color: var(--rouge-vif); text-underline-offset: 3px; }
:where(.lead, .pull, .ds, .kw-legal) :is(ul, ol) { margin: .4em 0 .8em; padding-left: 1.3em; }
.ask { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 5vw, 72px); }
.ask h2 { font-size: clamp(30px, 3.6vw, 46px); }
.ask .intro-p { margin-top: 16px; }
.ask ol { list-style: none; margin: 0; padding: 0; counter-reset: k; }
.ask ol li { counter-increment: k; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.ask ol li:last-child { border-bottom: 0; }
.ask ol li::before { content: counter(k); font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--rouge-vif); line-height: 1; }
.ask .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-content: start; }
.ask + .carte-note { margin-top: 20px; }

/* ---------- Distributeur ---------- */
.fridge + .fridge { padding-top: 0; }
.fridge:nth-of-type(even) .split > figure { order: -1; }
.fridge .split { align-items: start; }
.fridge .split figure img { aspect-ratio: 4 / 3; object-position: 35% 50%; }
.fridge .intro-p { margin-top: 24px; }
.dial-wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 36px; }
.dial { width: clamp(150px, 18vw, 220px); aspect-ratio: 1; }
.dial .tick { stroke: var(--rouge-vif); stroke-width: 3; stroke-linecap: round; }
.dial .t-big { font-family: var(--display); font-weight: 800; fill: var(--ink); }
.dial .t-sm { font-family: var(--display); font-weight: 500; fill: var(--ink-2); }
.rv-on .dial.in .tick { animation: tickon .5s var(--ease) both; animation-delay: calc(var(--i) * 32ms); }
.rv-on .dial:not(.in) .tick { opacity: .12; }
@keyframes tickon { 0% { opacity: .12; stroke: var(--braise); } 60% { opacity: 1; stroke: var(--braise); } 100% { opacity: 1; stroke: var(--rouge-vif); } }
.facts { display: grid; gap: 10px; font-family: var(--display); }
.facts b { display: block; font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.facts span { color: var(--ink-2); font-size: 17px; }
.ask.spot { margin-top: 28px; grid-template-columns: 1fr; gap: 20px; }
.ask.spot .acts { margin-top: 0; }
.addr { font-style: normal; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.015em; }
.ask.spot .intro-p { margin: 10px 0 0; }

/* ---------- Nous trouver ---------- */
.places { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 4vw, 56px) clamp(20px, 3vw, 36px); }
.place figure { margin: 0 0 22px; border-radius: 18px; overflow: hidden; }
.place figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s var(--ease); }
.place:hover figure img { transform: scale(1.04); }
.place h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 10px; }
.place .addr { display: block; margin: 0 0 8px; }
.place p { color: var(--ink-2); }
.place .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hours { width: 100%; border-collapse: collapse; font-size: 17px; margin-top: 8px; }
.hours th { text-align: left; font-family: var(--display); font-weight: 500; color: var(--ink-2); padding: 10px 16px 10px 0; width: 38%; }
.hours td { padding: 10px 0; font-variant-numeric: tabular-nums; }
.hours tr { border-bottom: 1px solid var(--line); }
.hours tr.today th, .hours tr.today td { color: var(--ink); font-weight: 700; }
.hours tr.today th::after { content: " · aujourd’hui"; font-weight: 500; color: var(--rouge-vif); font-size: 14px; }
.hours td.closed { color: var(--ink-3); }
.hours-solo { max-width: 640px; margin-top: 28px; }
.map-frame { margin-top: 28px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }
.contact { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 40px; border-block: 1px solid var(--line); }
.contact a { display: block; text-decoration: none; padding: 26px 0; transition: color .25s; max-width: 100%; }
.contact a small { display: block; font-family: var(--display); font-weight: 500; font-size: 15px; color: var(--ink-3); margin-bottom: 6px; }
.contact a b { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.01em; overflow-wrap: anywhere; display: inline-flex; align-items: center; gap: 10px; }
.contact a b svg { width: 18px; height: 18px; transition: transform .35s var(--ease); color: var(--rouge-vif); }
.contact a:hover { color: var(--rouge-vif); }
.contact a:hover svg { transform: translate(3px, -3px); }

/* Formulaire */
.kw-form { display: grid; gap: 14px; }
.kw-form label { display: grid; gap: 6px; font-family: var(--display); font-weight: 500; font-size: 15px; color: var(--ink-2); }
.kw-form .opt { color: var(--ink-3); font-weight: 400; }
.kw-form input, .kw-form textarea { font: inherit; font-family: var(--body); font-size: 17px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.kw-form input:focus, .kw-form textarea:focus { outline: none; border-color: var(--rouge-vif); box-shadow: 0 0 0 3px oklch(68% 0.2 24 / .25); }
.kw-form .btn { justify-self: start; }
.kw-form .kw-form-notice { color: var(--ink-3); }
.kw-msg { font-family: var(--display); }
.kw-ok { color: oklch(84% 0.12 145); }
.kw-err { color: var(--rouge-vif); }

/* ---------- Pages légales (posées par le moteur dans cette enveloppe) ---------- */
main .kw-legal { color: var(--ink-2); font-size: 17px; padding: clamp(48px, 7vw, 96px) var(--gut) clamp(64px, 8vw, 112px); max-width: calc(72ch + 2 * var(--gut)); }
main .kw-legal h1 { font-size: clamp(40px, 6vw, 72px); color: var(--ink); letter-spacing: -0.035em; line-height: .98; }
main .kw-legal h2, main .kw-legal h3 { color: var(--ink); }
main .kw-legal a { color: var(--ink); text-decoration-color: var(--rouge-vif); text-underline-offset: 3px; }
main .kw-row, main .kw-table th, main .kw-table td { border-top-color: var(--line); }
main .kw-row dt { color: var(--ink); font-family: var(--display); }
.motion .kw-legal h1 { animation: rise .8s var(--ease) .12s both; }
.motion.arrive .kw-legal h1 { animation-delay: .42s; }
main .kw-gate { background: var(--bg-2); border-color: var(--line-2); color: var(--ink-2); }

/* ---------- Pied de page ---------- */
.foot { border-top: 1px solid var(--line); background: oklch(11% 0.006 25); color: var(--ink-2); font-size: 16px; }
.foot .top { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 32px; padding-block: 56px 40px; }
.foot .brand { color: var(--ink); margin-bottom: 14px; white-space: normal; }
.foot-tag { margin: 0; max-width: 34ch; }
.foot h2 { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: 0; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-pages { display: grid; gap: 6px; justify-items: start; }
.foot-spots li { display: grid; gap: 2px; margin-bottom: 8px; }
.foot-spots b { color: var(--ink); font-weight: 600; }
.foot a { text-decoration: none; transition: color .2s; overflow-wrap: anywhere; }
.foot a:hover, .foot a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rouge-vif); }
.foot .legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 28px; padding-block: 20px 28px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-3); }
.legal-ids { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.foot .kw-legal-links { margin: 0; font-size: 15px; gap: 6px 22px; }
.foot .kw-legal-links a, .foot .kw-legal-links button { color: var(--ink-2); opacity: 1; }
.foot .kw-legal-links a:hover, .foot .kw-legal-links button:hover { color: var(--ink); }

/* Bandeau brouillon du moteur : lisible, mais sous l'en-tête collant. */
body > .kw-draft { position: relative; z-index: 1; font-family: var(--display); }

/* ---------- Adaptations ---------- */
@media (max-width: 1080px) {
  .nav-wrap { display: none; }
  .menu-btn { display: inline-flex; }
  .call .long { display: none; }
}
@media (max-width: 900px) {
  :root { --head-h: 64px; }
  .hero { min-height: min(calc(100svh - var(--head-h)), 900px); align-items: end; }
  .hero-media { width: 100%; --fx: 72%; --fy: 50%; }
  .hero-media::after { background: linear-gradient(0deg, var(--bg) 10%, oklch(13.5% 0.008 25 / .9) 48%, oklch(13.5% 0.008 25 / .5) 68%, oklch(13.5% 0.008 25 / .12) 90%); }
  .hero-eyebrow { text-shadow: 0 1px 14px var(--bg), 0 0 4px var(--bg); }
  .hero-copy { padding-block: clamp(220px, 34svh, 360px) 40px; }
  .ways .grid, .ways .grid:has(> .way:first-child:nth-last-child(3)) { grid-template-columns: 1fr; grid-template-rows: none; }
  .ways .grid > .way:first-child:nth-last-child(3) { grid-row: auto; }
  .way { min-height: 340px; }
  .chef .wrap, .split, .ask, .callband .wrap { grid-template-columns: 1fr; }
  .chef figure { max-width: 420px; }
  .chef figure img { aspect-ratio: 1 / 1; }
  .fridge:nth-of-type(even) .split > figure { order: 0; }
  .carte-layout { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
  .rubnav { display: none; }
  .chips { display: flex; position: sticky; top: var(--head-h); z-index: var(--z-sticky); gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px var(--gut); margin-inline: calc(var(--gut) * -1); background: var(--bg); border-bottom: 1px solid var(--line); }
  .chips::-webkit-scrollbar { display: none; }
  .chips a { flex: none; text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 15px; color: var(--ink-2); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); transition: background-color .25s, color .25s, border-color .25s; }
  .chips a.on { background: var(--rouge); border-color: var(--rouge); color: #fff; font-weight: 700; }
  .rub { scroll-margin-top: calc(var(--head-h) + 76px); }
  .rub:first-of-type { padding-top: 28px; }
  .foot .top { grid-template-columns: 1fr 1fr; }
  .foot .top > :first-child { grid-column: 1 / -1; }
  .now .push { margin-left: 0; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .head .brand span { display: none; }
  .head .brand img { width: 42px; height: 42px; }
  .head .wrap { gap: 10px; }
  .menu-btn { padding: 8px 14px; }
  .call { padding-inline: 14px; }
  .hero .acts .btn { flex: 1 1 100%; }
  .dial-wrap { grid-template-columns: 1fr; }
  .bigtel { white-space: normal; }
  .foot .top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation-duration: .18s !important; }
}
