/* Ô Z'Épices · KM All One. TOUTES les couleurs sont ici, aucune en dur plus bas.
   Palette tirée des assiettes du chef (pas de charte connue) : fond vanille et porcelaine, encre cacao,
   et les couleurs des plats : roucou, mangue, citron vert, bleu de la mer des Caraïbes.
   Contrastes vérifiés : --ink sur --paper 15:1, --muted 5.7:1, --mer 7:1, --roucou 4.8:1 sur --paper-2,
   --paper sur --mer 7:1, --ink sur --mangue 9:1 et sur --citron 9:1, --erreur 5.9:1. */
:root {
  --paper: #F7F0E4;
  --paper-2: #EFE5D3;
  --porcelaine: #FFFDF8;
  --ink: #231A12;
  --muted: #6B5A48;
  --ligne: rgba(35, 26, 18, .14);
  --ligne-2: rgba(35, 26, 18, .3);
  --roucou: #B23B22;
  --mangue: #F2B23A;
  --citron: #B9CB5E;
  --mer: #0F5B66;
  --mer-2: #0B4A53;
  --erreur: #A8321F;
  --erreur-a10: rgba(168, 50, 31, .1);
  --vert: #2F7D45;
  --vert-a15: rgba(47, 125, 69, .15);
  --ombre: rgba(60, 38, 18, .24);
  --ombre-2: rgba(60, 38, 18, .1);
  --paper-a90: rgba(247, 240, 228, .9);
  --paper-a0: rgba(247, 240, 228, 0);
  --paper-a20: rgba(247, 240, 228, .2);
  --paper-a75: rgba(247, 240, 228, .75);
  --ink-a50: rgba(35, 26, 18, .5);
  --blanc-a40: rgba(255, 255, 255, .4);
  /* Teintes des chapitres de la carte (lues par main.js) et couleur du texte posé dessus */
  --t-citron: #C9D87A;   --t-citron-texte: var(--ink);
  --t-mer: #0F5B66;      --t-mer-texte: var(--paper);
  --t-roucou: #B8432A;   --t-roucou-texte: var(--paper);
  --t-mangue: #F2B23A;   --t-mangue-texte: var(--ink);

  --f-display: 'Gloock', 'Times New Roman', serif;
  --f-body: 'Instrument Sans', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 72px);
  --maxw: 1360px;
  --nav-h: 72px;
  --bar-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--f-body); overflow-x: clip; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, ol, ul, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--mer); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 8px; }
.wrap { width: min(100%, var(--maxw)); margin: 0 auto; padding: 0 var(--gutter); }
.small { font-size: .88rem; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 859px) { .desk { display: none !important; } }

/* Typo */
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font: 500 .78rem/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mer); }
.eyebrow span { color: var(--muted); }
.eyebrow span::after { content: ''; display: inline-block; width: 36px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--ligne-2); }
.h2 { font: 400 clamp(2.6rem, 6vw, 5.2rem)/1.06 var(--f-display); letter-spacing: -.02em; }
.h2 em { font-style: normal; color: var(--roucou); }
.lead { margin-top: 22px; max-width: 52ch; font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--muted); }
.section { padding: clamp(88px, 12vw, 160px) 0; }

/* Boutons : la flèche glisse de 4 px, un reflet passe sur le bouton plein */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font: 600 .92rem/1 var(--f-body); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s; }
.btn-encre { background: var(--ink); color: var(--paper); }
.btn-encre::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, var(--blanc-a40) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn-ligne { border-color: var(--ligne-2); color: var(--ink); background: transparent; }
.btn-full { width: 100%; }
.btn .fl { display: inline-block; transition: transform .25s var(--ease); }
.btn:active { transform: scale(.97); transition-duration: .12s; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover .fl { transform: translateX(4px); }
  .btn-encre:hover { background: var(--mer); }
  .btn-encre:hover::after { transform: translateX(120%); }
  .btn-ligne:hover { border-color: var(--ink); background: var(--porcelaine); }
}

/* En-tête : transparent sur le héros, plein après 55 % */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter); border-bottom: 1px solid transparent; transition: background .4s, border-color .4s; }
.nav.solid { background: var(--paper-a90); backdrop-filter: blur(14px); border-color: var(--ligne); }
.brand { padding: 10px 0; font: 400 1.5rem/1 var(--f-display); text-decoration: none; white-space: nowrap; }
.nav-links { display: none; gap: 30px; margin-left: auto; }
.nav-links a { position: relative; padding: 12px 0; font-size: .92rem; color: var(--muted); text-decoration: none; transition: color .25s; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; border-radius: 2px; background: var(--roucou); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
@media (hover: hover) { .nav-links a:hover { color: var(--ink); } .nav-links a:hover::after { transform: scaleX(1); transform-origin: left; } }
.nav > .status { margin-left: auto; }
.nav-cta { display: none; min-height: 44px; padding: 0 22px; }
@media (min-width: 1100px) { .nav-links { display: flex; } .nav > .status { margin-left: 0; } }
@media (min-width: 860px) { .nav-cta { display: inline-flex; } }
.status { display: inline-flex; align-items: center; gap: 8px; font: 500 .75rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status.open { color: var(--vert); }
.status.open::before { background: var(--vert); box-shadow: 0 0 0 4px var(--vert-a15); }

/* ===== Héros : la table vue du dessus ===== */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: calc(var(--nav-h) + 12px) var(--gutter) calc(var(--bar-h) + 28px); overflow: hidden; isolation: isolate; }
.hero-titre { padding: .2em 0 .14em; font: 400 clamp(4.2rem, 21vw, 11.5rem)/1.08 var(--f-display); letter-spacing: -.035em; }
.hero-titre em { font-style: normal; color: var(--roucou); }
.hero-chef { margin-top: 14px; font: 500 .8rem/1.2 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero-chef b { color: var(--mer); font-weight: 500; }
.hero-lead { margin-top: 26px; max-width: 42ch; font-size: 1.08rem; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.table { position: relative; align-self: center; width: min(84vw, 38svh); aspect-ratio: 1; }
.soleil-mangue { position: absolute; inset: -4% -10% 8% 10%; border-radius: 50%; background: var(--mangue); }
.rond { position: absolute; border-radius: 50%; overflow: hidden; background: var(--porcelaine); border: clamp(5px, .8vw, 10px) solid var(--porcelaine); box-shadow: 0 24px 50px var(--ombre); }
.rond img { width: 100%; height: 100%; object-fit: cover; }
.rond-chef { inset: 4%; }
.rond-chef img { object-position: 50% 30%; }
.rond-p1 { width: 30%; aspect-ratio: 1; left: -16%; top: 2%; }
.rond-p2 { width: 34%; aspect-ratio: 1; right: -14%; bottom: -2%; }
.rond-p3 { width: 22%; aspect-ratio: 1; right: -6%; top: -8%; }
.rond-p4 { width: 26%; aspect-ratio: 1; left: -6%; bottom: -6%; }
.rond-p4 img { transform: scale(1.3); }
@media (min-width: 860px) {
  .hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 40px; padding-bottom: 56px; }
  .table { width: min(40vw, 70svh); justify-self: center; }
  /* Le titre se règle sur la largeur de sa colonne (« Épices » = 2,75 em) et sur la hauteur : il ne touche jamais les assiettes */
  .hero-titre { font-size: clamp(4.2rem, min(12vw, 20svh), 11.5rem); }
}

/* Trace : des points de sauce posés à la pipette, sous la souris et le doigt */
.sauce { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.goutte { position: absolute; width: var(--t, 12px); height: var(--t, 12px); margin: calc(var(--t, 12px) / -2) 0 0 calc(var(--t, 12px) / -2); border-radius: 50%; background: var(--c, var(--roucou)); animation: pose 1.8s var(--ease) forwards; }

/* Ouverture (2,5 s, sans bloquer) : cinq points de sauce posés à la pipette, puis la nappe se lève */
.ouverture { display: none; }
html.intro .ouverture { display: block; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: var(--paper); animation: nappe 1s var(--ease) 1.5s both; }
.ouverture i { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; transform: scale(0); animation: pipette .5s var(--ease) forwards; }
.ouverture i:nth-child(1) { left: 38%; background: var(--roucou); animation-delay: .15s; }
.ouverture i:nth-child(2) { left: 44%; top: 46%; background: var(--mangue); animation-delay: .3s; width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.ouverture i:nth-child(3) { left: 50%; background: var(--mer); animation-delay: .45s; }
.ouverture i:nth-child(4) { left: 56%; top: 54%; background: var(--citron); animation-delay: .6s; width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.ouverture i:nth-child(5) { left: 62%; background: var(--roucou); animation-delay: .75s; width: 14px; height: 14px; margin: -7px 0 0 -7px; }
html.intro .hero-titre .ligne > span { animation-delay: 1.75s; }
html.intro .hero-titre .ligne:nth-child(2) > span { animation-delay: 1.86s; }
html.intro .nav { animation: descend .8s var(--ease) 2s both; }
html.intro .mbar { animation: monte-bas .8s var(--ease) 2.3s both; }
html.intro .hero-chef, html.intro .hero-lead, html.intro .hero-cta, html.intro .hero-copy .eyebrow { animation: fondu .9s var(--ease) 2.05s both; }
html.intro .table { animation: pose-table 1.2s var(--ease) 1.6s both; }

/* Ruban en biais (46 s), dans un cadre qui coupe ce qui dépasse */
.ruban-cadre { position: relative; z-index: 2; overflow: hidden; padding: 30px 0; margin: -38px 0 -30px; }
.ruban { position: relative; width: 110%; margin-left: -5%; padding: 16px 0; overflow: hidden; background: var(--roucou); color: var(--paper); transform: rotate(-2.2deg); box-shadow: 0 16px 40px var(--ombre-2); }
.ruban-piste { display: flex; align-items: center; gap: 30px; width: max-content; animation: defile 46s linear infinite; }
.ruban.pause .ruban-piste { animation-play-state: paused; }
.ruban span { font: 400 clamp(1.3rem, 2.4vw, 1.9rem)/1 var(--f-display); white-space: nowrap; }
.ruban i { width: 10px; height: 10px; border-radius: 50%; background: var(--mangue); flex: none; }

/* ===== 01 · Le dressage ===== */
.dressage-intro { padding-bottom: clamp(24px, 4vw, 48px); }
.scene { position: relative; height: calc(100svh * (1 + var(--longueur-mobile, 1.6))); }
.scene__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: var(--nav-h) 0 calc(var(--bar-h) + env(safe-area-inset-bottom)); }
.scene__stage { position: relative; min-height: 0; display: grid; place-items: center; padding: 8px var(--gutter); }
.scene__hud { padding: 10px var(--gutter) 14px; }
.scene__count { font: 500 .75rem/1 var(--f-mono); letter-spacing: .2em; color: var(--roucou); margin-bottom: .6rem; }
.scene__title { font: 400 clamp(1.9rem, 4vw, 3.4rem)/1 var(--f-display); margin-bottom: .5rem; }
.scene__text { color: var(--muted); margin-bottom: .9rem; max-width: 36ch; min-height: 3.3em; }
.scene__bar { height: 3px; border-radius: 3px; background: var(--ligne); overflow: hidden; }
.scene__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--roucou), var(--mangue)); transform: scaleX(0); transform-origin: 0 50%; }
@media (min-width: 900px) {
  .scene { height: calc(100svh * (1 + var(--longueur, 2.5))); }
  .scene__pin { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); grid-template-rows: 1fr; padding-bottom: 0; }
  .scene__hud { align-self: center; padding: 0 var(--gutter) 0 0; }
}
.scene.scene--calme { height: auto; }
.scene--calme .scene__pin { position: relative; height: auto; min-height: 100svh; }
.dressage { display: grid; place-items: center; width: 100%; height: 100%; }
.dr-assiette { position: relative; width: min(84vw, 100%, 46svh); aspect-ratio: 1; border-radius: 50%; border: clamp(6px, 1vw, 12px) solid var(--porcelaine); background: var(--porcelaine); box-shadow: 0 40px 90px var(--ombre); }
.dr-assiette > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.dr-croquis { filter: grayscale(1) contrast(.8) brightness(1.15); opacity: .5; }
.etiq { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; margin: -15px 0 0 -9px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--porcelaine); box-shadow: 0 8px 20px var(--ombre); font: 500 .75rem/1 var(--f-mono); letter-spacing: .04em; white-space: nowrap; }
.etiq i { width: 18px; height: 18px; border-radius: 50%; background: var(--roucou); box-shadow: 0 0 0 4px var(--porcelaine), 0 0 0 5px var(--roucou); }
@media (min-width: 900px) { .dr-assiette { width: min(42vw, 74svh); } }

/* ===== 02 · Le chef ===== */
.chef { position: relative; overflow: hidden; background: var(--paper-2); }
.chef-annee { position: absolute; right: -4vw; bottom: -4%; font: 400 clamp(9rem, 30vw, 26rem)/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px var(--ligne-2); pointer-events: none; }
.chef-grid { position: relative; display: grid; gap: 56px; }
.remplit { font: 400 clamp(1.75rem, 3.5vw, 3.1rem)/1.22 var(--f-display); letter-spacing: -.01em; }
.remplit em { font-style: normal; color: var(--roucou); }
.js .remplit .mot { opacity: .16; transition: opacity .35s var(--ease); }
.js .remplit .mot.on { opacity: 1; }
.chef-source { margin-top: 24px; font: 500 .75rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mer); }
.chef-ph { position: relative; align-self: center; width: min(100%, 440px); justify-self: center; }
.chef-bloc { position: absolute; inset: 12% -7% -7% 14%; border-radius: 28px; background: var(--citron); }
.chef-ph img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 60px var(--ombre); }
.chef-ph figcaption { position: relative; margin-top: 18px; font: 500 .75rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
@media (min-width: 900px) { .chef-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: center; gap: 88px; } }

/* ===== 03 · La carte : une couleur par chapitre (main.js pose --fond et .clair) ===== */
.carte { --fond: var(--paper); position: relative; overflow-x: clip; background: var(--fond); color: var(--ink); padding: clamp(88px, 12vw, 150px) 0 clamp(40px, 8vw, 100px); transition: color .5s var(--ease); }
.carte.clair { color: var(--paper); }
.carte.clair .eyebrow, .carte.clair .lead, .carte.clair .plats span, .carte.clair .note { color: var(--paper-a75); }
.carte.clair .h2 em { color: var(--mangue); }
.carte-corps { position: relative; display: grid; margin-top: 40px; }
.roue { position: sticky; top: var(--nav-h); z-index: 2; height: 40svh; overflow: clip; display: grid; place-items: center; background: var(--fond); }
.roue-plat { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(62vw, 34svh); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid var(--porcelaine); background: var(--porcelaine); box-shadow: 0 30px 60px var(--ombre); }
.roue-plat img { width: 100%; height: 100%; object-fit: cover; }
.chapitre { min-height: 72svh; display: flex; flex-direction: column; justify-content: center; padding: 48px 0; text-align: center; }
.chap-num { font: 400 1.2rem/1 var(--f-display); opacity: .6; }
.chapitre h3 { margin-top: 8px; font: 400 clamp(2.4rem, 5vw, 4.2rem)/1 var(--f-display); }
.plats { margin-top: 28px; }
.plats li + li { margin-top: 18px; }
.plats b { display: block; font: 400 clamp(1.4rem, 2.2vw, 1.8rem)/1.2 var(--f-display); }
.plats span { display: block; margin-top: 4px; color: var(--muted); }
.note { margin-top: 40px; font-size: .9rem; color: var(--muted); }
@media (min-width: 900px) {
  .carte-corps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .roue { top: 0; height: 100svh; background: none; }
  .roue-plat { width: min(36vw, 62svh); }
  .chapitre { min-height: 100svh; text-align: left; }
}

/* ===== 04 · La maison : le jeu de photos ===== */
.maison { position: relative; background: var(--paper); padding-top: clamp(88px, 12vw, 150px); }
.jeu-pin { position: relative; height: 100svh; padding: var(--nav-h) var(--gutter) calc(var(--bar-h) + 16px); }
.jeu.anime { height: 230svh; }
.jeu.anime .jeu-pin { position: sticky; top: 0; overflow: hidden; }
.jeu-table { position: relative; width: min(100%, var(--maxw)); height: 100%; margin: 0 auto; }
.photo { position: absolute; left: var(--xm); top: var(--ym); width: var(--wm); rotate: var(--r); padding: 8px 8px 0; background: var(--porcelaine); box-shadow: 0 20px 44px var(--ombre); }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo p { display: grid; padding: 8px 2px 10px; font: 500 .75rem/1.3 var(--f-mono); letter-spacing: .04em; }
.photo small { font-size: .75rem; color: var(--muted); }
@media (min-width: 860px) { .photo { left: var(--x); top: var(--y); width: min(var(--w), 38svh); padding: 12px 12px 0; } .photo p { padding: 12px 2px 14px; } .jeu-pin { padding-bottom: 32px; } }

/* ===== 05 · Avis : deux rangées qui glissent en sens contraire ===== */
.avis { overflow: hidden; background: var(--mangue); }
.avis .eyebrow, .avis .eyebrow span { color: var(--ink); }
.avis .eyebrow span::after { background: var(--ink-a50); }
.avis .h2 em { color: var(--ink); text-decoration: underline 3px var(--roucou); text-underline-offset: .12em; }
.rangee { display: flex; gap: 28px; width: max-content; padding: 0 var(--gutter); }
.rangee-avis { margin-top: 56px; }
.rangee-avis li { display: grid; gap: 12px; max-width: 80vw; padding: 26px 30px; border-radius: 26px; background: var(--porcelaine); box-shadow: 0 20px 40px var(--ombre-2); }
.rangee-avis blockquote { font: 400 clamp(1.5rem, 3vw, 2.5rem)/1.15 var(--f-display); }
.rangee-avis small { font: 500 .75rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rangee-prix { margin-top: 22px; }
.rangee-prix li { display: grid; gap: 2px; padding: 16px 26px; border: 1.5px solid var(--ink); border-radius: 999px; white-space: nowrap; }
.rangee-prix b { font: 400 1.35rem/1.2 var(--f-display); }
.rangee-prix span { font-size: .88rem; }

/* ===== 06 · Réserver ===== */
.reserver { background: var(--paper); }
.res-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .res-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 80px; align-items: start; } }
.phone-big { display: inline-grid; margin-top: 26px; font: 400 clamp(2rem, 4vw, 3rem)/1 var(--f-display); text-decoration: none; color: var(--mer); padding: 6px 0; }
.phone-big small { font: 500 .75rem/1.8 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hours { margin-top: 36px; max-width: 460px; }
.hours h3 { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font: 400 1.5rem/1 var(--f-display); }
.hours dl { margin-top: 14px; }
.hours dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; text-align: right; }
.lien-annuler { margin-top: 28px; min-height: 44px; padding: 0; background: none; border: 0; color: var(--mer); font: 600 .95rem/1.2 var(--f-body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.billet { min-width: 0; padding: clamp(20px, 4vw, 40px); border-radius: 28px; background: var(--porcelaine); box-shadow: 0 30px 70px var(--ombre-2); border: 1px solid var(--ligne); }
.etape + .etape { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--ligne); }
.etape h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font: 400 1.5rem/1.1 var(--f-display); }
.etape h3 b { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--mangue); color: var(--ink); font: 600 .85rem/1 var(--f-body); }
.couverts { display: flex; align-items: center; gap: 18px; }
.couverts output { min-width: 9ch; text-align: center; font-size: 1.05rem; }
.couverts output b { display: inline-block; font: 400 2.4rem/1 var(--f-display); margin-right: 4px; animation: bump .4s var(--ease); }
.pm, .jnav { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ligne-2); background: transparent; color: var(--ink); cursor: pointer; transition: transform .25s var(--ease), border-color .25s, color .25s; }
.pm:disabled { opacity: .35; cursor: not-allowed; }
.pm svg, .jnav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.indice, .legende { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.indice a { color: var(--mer); }
.jours-cadre { display: flex; align-items: center; gap: 8px; }
.jnav { display: none; }
.jours { flex: 1; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; }
.jours::-webkit-scrollbar { display: none; }
.jour { flex: none; scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; width: 64px; padding: 10px 0 8px; border-radius: 16px; border: 1px solid var(--ligne-2); background: var(--paper); color: var(--ink); font: 500 .78rem/1.1 var(--f-body); cursor: pointer; transition: transform .25s var(--ease), border-color .25s, background .25s, color .25s; }
.jour small { font-size: .75rem; color: var(--muted); }
.jour b { font: 400 1.7rem/1 var(--f-display); }
.jour .mo { min-height: 1em; font-size: .75rem; color: var(--muted); }
.jour em { display: flex; gap: 4px; margin-top: 4px; }
.jour em i { width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--muted); }
.jour em i.on { background: var(--roucou); border-color: var(--roucou); }
.jour[aria-selected="true"] { background: var(--mer); border-color: var(--mer); color: var(--paper); animation: pop .4s var(--ease); }
.jour[aria-selected="true"] small, .jour[aria-selected="true"] .mo { color: var(--paper); }
.jour[aria-selected="true"] em i { border-color: var(--paper); }
.jour[aria-selected="true"] em i.on { background: var(--mangue); border-color: var(--mangue); }
.jour:disabled { opacity: .4; cursor: not-allowed; }
.vide { padding: 12px 0; color: var(--muted); }
.service + .service { margin-top: 18px; }
.service h4 { margin: 0 0 10px; font: 600 .9rem/1.2 var(--f-body); color: var(--muted); }
.creneaux { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.creneau { min-height: 46px; border-radius: 14px; border: 1px solid var(--ligne-2); background: var(--paper); color: var(--ink); font: 500 .95rem/1 var(--f-body); cursor: pointer; transition: transform .25s var(--ease), border-color .25s, background .25s; }
.creneau[aria-pressed="true"] { background: var(--mer); border-color: var(--mer); color: var(--paper); animation: pop .4s var(--ease); }
.creneau:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.pm:active:not(:disabled), .jnav:active, .jour:active:not(:disabled), .creneau:active:not(:disabled) { transform: scale(.96); transition-duration: .12s; }
@media (hover: hover) {
  .pm:hover:not(:disabled), .jnav:hover { border-color: var(--mer); color: var(--mer); }
  .jour:hover:not(:disabled):not([aria-selected="true"]), .creneau:hover:not(:disabled):not([aria-pressed="true"]) { border-color: var(--mer); transform: translateY(-2px); }
  .lien-annuler:hover { color: var(--roucou); }
  .phone-big:hover { color: var(--roucou); }
}
#etape-heure, #etape-infos, .ticket { animation: fondu .6s var(--ease) both; }
.champs { display: grid; gap: 4px 16px; }
.f { display: grid; gap: 8px; }
.f label { font: 600 .9rem/1.2 var(--f-body); }
.opt { color: var(--muted); font-weight: 400; }
.f input, .f textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--ligne-2); background: var(--paper); color: var(--ink); font: 400 1rem/1.3 var(--f-body); }
.f textarea { resize: vertical; }
.f input::placeholder, .f textarea::placeholder { color: var(--muted); }
.f [aria-invalid="true"] { border-color: var(--erreur); animation: secoue .4s var(--ease); }
.err { min-height: 1.3em; margin: 0 0 4px; font-size: .85rem; color: var(--erreur); }
.pot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.accord { display: flex; gap: 12px; align-items: flex-start; margin-top: 6px; font-size: .9rem; color: var(--muted); cursor: pointer; }
.accord input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--mer); }
.erreur { margin-top: 8px; padding: 12px 14px; border-radius: 12px; background: var(--erreur-a10); color: var(--erreur); }
.envoi { margin-top: 16px; }
.recap { margin-bottom: 12px; font: 400 1.3rem/1.3 var(--f-display); color: var(--mer); }
.envoi .btn-full { min-height: 54px; font-size: 1rem; }
.ticket { text-align: center; }
.ticket:focus { outline: none; }
.ticket-pastille { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--vert-a15); animation: pop .6s var(--ease) both .1s; }
.ticket-pastille svg { width: 30px; height: 30px; fill: none; stroke: var(--vert); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ticket-pastille path { stroke-dasharray: 22; animation: dessine .6s var(--ease) both .45s; }
.ticket h3 { font: 400 clamp(2rem, 4vw, 2.6rem)/1.05 var(--f-display); }
.ticket-sous { margin-top: 10px; font-size: 1.05rem; color: var(--muted); }
.ticket-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 24px 0 16px; }
.ticket-grille div:first-child { grid-column: 1 / -1; }
.ticket-grille div { padding: 12px 6px; border-radius: 14px; background: var(--paper); }
.ticket-grille dt { font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ticket-grille dd { margin: 4px 0 0; font-weight: 600; }
.ticket-grille .code { font: 500 1.4rem/1.2 var(--f-mono); letter-spacing: .14em; color: var(--roucou); }
.ticket .small { margin-top: 10px; }
.ticket-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.annul { width: min(440px, calc(100vw - 32px)); padding: 28px; border-radius: 24px; border: 0; background: var(--porcelaine); color: var(--ink); box-shadow: 0 30px 80px var(--ombre); }
.annul::backdrop { background: var(--ink-a50); backdrop-filter: blur(4px); }
.annul h3 { margin-bottom: 18px; font: 400 1.7rem/1.1 var(--f-display); }
.annul .f + .f { margin-top: 12px; }
.annul-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
@media (min-width: 560px) { .champs { grid-template-columns: 1fr 1fr; } .f-large { grid-column: 1 / -1; } .jnav { display: grid; } }

/* ===== 07 · Venir ===== */
.venir { padding-bottom: 0; background: var(--paper-2); }
.map-wrap { position: relative; margin-top: 44px; }
.map { isolation: isolate; height: 62vh; min-height: 380px; max-height: 640px; background: var(--paper-2); }
.map .leaflet-tile-pane { filter: sepia(.3) saturate(.85) contrast(.95); }
.pin { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--roucou); box-shadow: 0 0 0 8px var(--paper-a75); color: var(--paper); font: 400 1.5rem/1 var(--f-display); }
.map-card { position: relative; z-index: 2; margin: -60px 16px 0; padding: 26px; border-radius: 24px; background: var(--porcelaine); box-shadow: 0 30px 70px var(--ombre); }
.addr { font: 400 1.6rem/1.15 var(--f-display); }
.map-card .small { margin-top: 10px; }
.go { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.go .btn { padding: 0 18px; }
@media (min-width: 860px) { .map-card { position: absolute; left: var(--gutter); bottom: 40px; margin: 0; max-width: 420px; } }

/* Pied de page bleu de la mer */
.foot { overflow: hidden; padding: 40px 0 calc(var(--bar-h) + 40px); background: var(--mer); color: var(--paper); }
.foot-marque { font: 400 clamp(4rem, 17vw, 15rem)/.9 var(--f-display); letter-spacing: -.04em; white-space: nowrap; color: var(--paper-a20); padding: 0 var(--gutter); margin-bottom: 40px; }
.foot-grid { display: grid; gap: 28px; }
.foot-titre { font: 400 1.6rem/1.1 var(--f-display); }
.foot .small, .foot .mock { color: var(--paper-a75); }
.foot p + p { margin-top: 8px; }
.foot a { text-decoration: none; }
.foot a[href^="tel"] { display: inline-block; padding: 12px 0; color: var(--paper); }
.social { display: flex; flex-direction: column; gap: 4px; }
.social a { padding: 12px 0; color: var(--paper); }
.mock { margin-top: 40px; font-size: .8rem; }
.mock a { color: var(--paper); text-decoration: underline; }
@media (hover: hover) { .foot a:hover { color: var(--mangue); } }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr auto; } .foot { padding-bottom: 48px; } }

/* Barre mobile : Appeler / Réserver / Itinéraire */
.mbar { position: fixed; z-index: 60; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 6px; padding: 6px; border-radius: 22px; background: var(--paper-a90); backdrop-filter: blur(14px); box-shadow: 0 12px 36px var(--ombre); }
.mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 52px; border-radius: 16px; text-decoration: none; font: 600 .78rem/1 var(--f-body); transition: transform .25s var(--ease); }
.mbar a:active { transform: scale(.96); }
.mbar svg { width: 20px; height: 20px; fill: currentColor; }
.mbar .mbar-main { background: var(--ink); color: var(--paper); }
@media (min-width: 860px) { .mbar { display: none; } }

/* ===== Apparitions (main.js pose les classes) ===== */
.ligne { display: block; overflow: hidden; padding: .14em 0 .05em; margin-top: -.14em; }
.ligne > span { display: inline-block; }
/* Titre du héros : sans masque (les accents de « Ô » et « É » ne sont jamais coupés), les lignes montent en fondu */
.hero-titre .ligne { overflow: visible; padding: 0; margin: 0; }
.js .hero-titre .ligne > span { animation: monte-titre 1.1s var(--ease) .2s both; }
.js .hero-titre .ligne:nth-child(2) > span { animation-delay: .31s; }
.js .titre-lignes .ligne > span { transform: translateY(110%); transition: transform 1.1s var(--ease) calc(var(--l, 0) * .11s); }
.js .titre-lignes.in .ligne > span { transform: none; }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .devoile { clip-path: inset(0 0 100% 0 round 28px); transition: clip-path 1.5s var(--ease); }
.js .devoile.in { clip-path: inset(0 0 0 0 round 28px); }
.js .glisse > * { opacity: 0; transform: translateX(-22px); transition: opacity .8s var(--ease) calc(var(--i, 0) * .09s), transform .9s var(--ease) calc(var(--i, 0) * .09s); }
.js .glisse.in > * { opacity: 1; transform: none; }

/* Animations */
@keyframes monte { from { transform: translateY(110%); } }
@keyframes monte-titre { from { transform: translateY(.4em); opacity: 0; } }
@keyframes fondu { from { opacity: 0; transform: translateY(18px); } }
@keyframes descend { from { transform: translateY(-100%); opacity: 0; } }
@keyframes monte-bas { from { transform: translateY(140%); } }
@keyframes nappe { to { clip-path: inset(0 0 100% 0); } }
@keyframes pipette { 0% { transform: scale(0); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes pose-table { from { opacity: 0; transform: scale(.9) rotate(-12deg); } }
@keyframes pose { 0% { transform: scale(0); } 18% { transform: scale(1.15); } 30% { transform: scale(1); opacity: 1; } 100% { transform: scale(.4); opacity: 0; } }
@keyframes defile { to { transform: translateX(-50%); } }
@keyframes bump { 40% { transform: scale(1.18); } }
@keyframes pop { 0% { transform: scale(.92); } 60% { transform: scale(1.04); } }
@keyframes dessine { from { stroke-dashoffset: 22; } }
@keyframes secoue { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .ruban-piste { animation: none; }
}
@media (max-width: 480px) { .nav { gap: 12px; } .nav > .status { letter-spacing: 0; font-size: .75rem; } }
