/* Felo Grill · KM All One. TOUTES les couleurs du site sont ici : aucune couleur en dur plus bas.
   Charte du client : enseigne rouge, flamme jaune du logo, salle ardoise et bois.
   Fond charbon chaud, un seul accent vif (la flamme). Contrastes vérifiés : voir README. */
:root {
  --ink: #15110e;              /* charbon, fond */
  --ink-2: #1f1915;            /* sections alternées */
  --ink-3: #2a221c;            /* cartes, champs */
  --paper: #f8f1e6;            /* texte, 16.7:1 sur --ink */
  --muted: #bcb0a2;            /* texte secondaire, 8.8:1 sur --ink, 7.3:1 sur --ink-3 */
  --line: rgba(248, 241, 230, .1);
  --line-2: rgba(248, 241, 230, .22);
  --accent: #ffb400;           /* flamme du logo, 10.5:1 sur --ink */
  --accent-ink: #1a1005;       /* texte posé sur --accent, 10.5:1 */
  --braise: #ff6a1a;           /* lueur des braises (décor seulement) */
  --rouge: #c8261a;            /* enseigne, badges ; texte --paper dessus 5.0:1 */
  --ouvert: #6fd08c;           /* « Ouvert », 9.9:1 sur --ink */
  --erreur: #ff8a7a;           /* erreurs des formulaires, 7.6:1 sur --ink-2 */
  --ombre: #000;
  --verre: color-mix(in srgb, var(--ink) 86%, transparent);

  --f-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --f-script: 'Yellowtail', 'Brush Script MT', cursive;
  --gutter: clamp(16px, 4vw, 72px);
  --maxw: 1320px;
  --nav-h: 68px;
  --bar-h: 64px;
  --r: 24px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font: 400 1rem/1.6 var(--f-body); overflow-x: hidden;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.eyebrow { display: flex; align-items: center; gap: .75rem; font: 500 .75rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.25rem; }
.num { font: 500 .75rem/1 var(--f-mono); color: var(--accent); letter-spacing: .1em; }
.h2 { font: 400 clamp(2.8rem, 8.4vw, 6.4rem)/1.04 var(--f-display); text-transform: uppercase; letter-spacing: .005em; margin: 0 0 1.75rem; }
.h2 em, .hero__title em { font-style: normal; color: var(--accent); }
h3 { font: 400 clamp(1.8rem, 3.4vw, 2.6rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; margin: 0 0 .9rem; }

/* La marque : flamme + « Felo grill » en écriture, comme l'enseigne */
.marque { font: 400 1.9rem/1 var(--f-script); display: inline-flex; align-items: center; gap: .1em; text-decoration: none; white-space: nowrap; }
.marque em { font-style: normal; color: var(--accent); }
.marque__flamme { width: .62em; height: .9em; margin-right: .18em; overflow: visible; }
.flamme__ext { fill: var(--accent); }
.flamme__int { fill: var(--braise); }

/* Boutons : la flèche glisse de 4 px, tout changement d'état est animé */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 1.5em;
  border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn > span[aria-hidden] { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover > span[aria-hidden="true"]:last-child { transform: translateX(4px); }
.btn:hover > span[aria-hidden="true"]:first-child:not(:last-child) { transform: translateX(-4px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--braise) 70%, transparent); }
.btn--ghost { border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--paper); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }

/* Ouvert / fermé, en direct (heure de Guadeloupe) */
.status { display: inline-flex; align-items: center; gap: .55em; margin: 0; font: 600 .8125rem/1.2 var(--f-body); color: var(--muted); }
.status::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.open { color: var(--ouvert); }
.status.open::before { animation: pouls 2.2s ease-out infinite; }
@keyframes pouls { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ouvert) 55%, transparent); } 100% { box-shadow: 0 0 0 9px transparent; } }

/* ---------- En-tête : transparent sur le héros, plein ensuite ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 var(--gutter);
  transition: background-color .45s, box-shadow .45s, opacity .8s, transform .8s var(--ease);
}
.nav--plein { background: color-mix(in srgb, var(--ink) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
html.intro .nav { opacity: 0; transform: translateY(-12px); animation: montre .8s var(--ease) 2.5s forwards; }
@keyframes montre { to { opacity: 1; transform: none; } }
.nav__brand { min-height: 44px; }
.nav__links { display: none; gap: .25rem; }
.nav__links a { text-decoration: none; font-weight: 500; color: var(--muted); min-height: 44px; padding: 0 .9rem; border-radius: 999px; display: inline-flex; align-items: center; transition: color .25s, background-color .25s; }
.nav__links a:hover { color: var(--paper); background: var(--line); }
.nav__cta { display: none; min-height: 44px; }
@media (min-width: 900px) { .nav__links, .nav__cta { display: inline-flex; } }
@media (max-width: 599px), (min-width: 900px) and (max-width: 1099px) { .nav__status { display: none; } }

/* ---------- 01 · Héros ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 55% at 72% 62%, color-mix(in srgb, var(--braise) 22%, transparent), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%),
    var(--ink);
}
.hero__inner {
  position: relative; z-index: 2; width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto;
  display: grid; grid-template-rows: auto 1fr; gap: clamp(20px, 4svh, 40px);
  padding: calc(var(--nav-h) + clamp(16px, 4svh, 40px)) 0 clamp(28px, 5svh, 56px);
}
.hero__title { font: 400 clamp(3.4rem, 17.5vw, 8.6rem)/.98 var(--f-display); text-transform: uppercase; margin: 0; letter-spacing: .005em; }
.hero__lead { font-size: 1.2rem; color: var(--muted); max-width: 36ch; margin: 1.75rem 0 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.desktop-only { display: none; }
@media (min-width: 900px) {
  .desktop-only { display: block; }
  .hero__cta.desktop-only, .eyebrow.desktop-only { display: flex; }
}

.hero__plat { position: relative; display: grid; place-items: center; min-height: 0; }
.hero__pizza {
  width: min(100%, 50svh, 520px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-2), 0 0 0 14px color-mix(in srgb, var(--paper) 4%, transparent), 0 40px 120px -30px color-mix(in srgb, var(--braise) 65%, transparent);
}
.hero__pizza img { width: 100%; height: 100%; object-fit: cover; }

/* Cartes flottantes (ordinateur) : un clic ouvre le bon onglet de la carte */
.flotte {
  position: absolute; z-index: 2; display: none; align-items: center; gap: .8rem; padding: .55rem 1.1rem .55rem .55rem;
  border-radius: 20px; text-decoration: none; background: var(--verre); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px var(--ombre);
  transition: transform .4s var(--ease), border-color .25s;
}
.flotte img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.flotte span { display: grid; font-size: .8125rem; color: var(--muted); line-height: 1.35; }
.flotte b { color: var(--paper); font-size: .95rem; }
.flotte:hover { border-color: var(--accent); transform: translateY(-4px); }
.flotte--1 { left: -2%; bottom: 14%; }
.flotte--2 { right: 0; top: 10%; }

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: none; align-items: center; gap: clamp(24px, 4vw, 64px); }
  .hero__title { font-size: clamp(5rem, 9vw, 9.4rem); }
  .hero__pizza { width: min(100%, 64svh, 600px); }
  .flotte { display: flex; }
}

/* Les braises que laissent la souris et le doigt (main.js « heros ») */
.hero__braises { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.braise {
  position: absolute; width: var(--t, 6px); height: var(--t, 6px); margin: calc(var(--t, 6px) / -2) 0 0 calc(var(--t, 6px) / -2); border-radius: 50%;
  background: radial-gradient(circle, var(--paper), var(--accent) 35%, var(--braise) 70%);
  box-shadow: 0 0 10px 2px color-mix(in srgb, var(--braise) 70%, transparent);
  animation: braise var(--d, 1.6s) cubic-bezier(.2, .6, .4, 1) forwards; will-change: transform, opacity;
}
@keyframes braise {
  0% { transform: translate3d(0, 0, 0) scale(.4); opacity: 0; }
  12% { opacity: 1; transform: translate3d(0, -6px, 0) scale(1); }
  100% { transform: translate3d(var(--dx, 0px), var(--dy, -140px), 0) scale(.15); opacity: 0; }
}
.hero__indice {
  position: absolute; z-index: 2; left: 50%; bottom: 40px; transform: translateX(-50%); margin: 0;
  font: 400 1.5rem/1 var(--f-script); color: var(--accent); opacity: 0; transition: opacity 1.2s ease;
}
.hero.is-pret .hero__indice { opacity: .9; }
.hero.a-joue .hero__indice { opacity: 0; }

/* L'ouverture (2,5 s) : la flamme du logo s'allume, puis s'ouvre sur la pizza */
.hero__ouverture { display: none; }
html.intro .hero__ouverture {
  position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; gap: 1rem;
  background: linear-gradient(var(--ink) 88%, transparent); pointer-events: none; will-change: transform;
  animation: ouvre 1.05s cubic-bezier(.65, 0, .35, 1) 1.45s forwards;
}
@keyframes ouvre { to { transform: translate3d(0, -100%, 0); visibility: hidden; } } /* le rideau monte comme la fumée du gril */
.hero__ouverture-flamme { width: 64px; height: 90px; transform-origin: 50% 100%; animation: allume .9s var(--ease) .1s both, vacille .16s ease-in-out 1s 6 alternate; }
@keyframes allume { from { transform: scale(.1); opacity: 0; } }
@keyframes vacille { to { transform: scale(.94, 1.06) skewX(-2deg); } }
.hero__ouverture-nom { font-size: 3rem; animation: leve .8s var(--ease) .45s both; }
@keyframes leve { from { opacity: 0; transform: translateY(18px); } }
html.intro .hero__pizza { animation: pose 1.4s var(--ease) 1.55s both; }
@keyframes pose { from { opacity: 0; transform: scale(.82) rotate(-25deg); } }
html.intro .hero__texte > :not(h1) { animation: leve 1s var(--ease) 2.05s both; }
html.intro .flotte--1 { animation: leve 1s var(--ease) 2.2s both; }
html.intro .flotte--2 { animation: leve 1s var(--ease) 2.32s both; }

/* Le titre en lignes masquées qui montent (1.1 s, +.11 s par ligne) */
.ligne { display: block; overflow: hidden; padding: .14em 0 .08em; margin: -.14em 0 -.08em; } /* le haut laisse passer les accents des capitales */
.ligne > span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js .ligne > span { animation: monte 1.1s var(--ease) calc(.15s + var(--i, 0) * .11s) both; }
  .js .h2 .ligne > span { animation: none; transform: translateY(130%); transition: transform 1.1s var(--ease) calc(var(--i, 0) * .11s); }
  .js .h2.vu .ligne > span { transform: none; }
  html.intro .hero__title .ligne > span { animation-delay: calc(1.75s + var(--i, 0) * .11s); }
  .hero__pizza img { animation: tourne 140s linear infinite; }
  .hero.hors-vue .hero__pizza img, .hero__pizza:hover img { animation-play-state: paused; }
}
@keyframes monte { from { transform: translateY(130%); } } /* 130 % : les accents des capitales partent aussi sous le masque */
@keyframes tourne { to { transform: rotate(360deg); } }

/* ---------- Ruban de plats : vraies photos qui défilent (70 s), en pause hors écran ---------- */
.ruban {
  overflow: hidden; padding: 18px 0 clamp(40px, 6vw, 72px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ruban__piste { display: flex; gap: 14px; width: max-content; }
.ruban img { height: clamp(150px, 20vw, 260px); width: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 20px; }
.ruban img:nth-child(3n + 2) { border-radius: 999px 999px 20px 20px; }
.ruban img:nth-child(3n) { aspect-ratio: 1; border-radius: 50%; align-self: center; height: clamp(120px, 16vw, 210px); }
@media (prefers-reduced-motion: no-preference) {
  .ruban__piste { animation: defile 70s linear infinite; animation-play-state: paused; }
  .ruban.en-vue .ruban__piste { animation-play-state: running; }
  .ruban.en-vue:hover .ruban__piste { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .ruban { overflow-x: auto; } }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 11vw, 150px) 0; }
.section--alt { background: var(--ink-2); }
.tete { margin-bottom: clamp(32px, 5vw, 64px); }
.tete__lead { color: var(--muted); font-size: 1.125rem; max-width: 52ch; margin: 0; }
@media (min-width: 900px) { .tete { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); column-gap: 4rem; align-items: end; } .tete .eyebrow { grid-column: 1 / -1; } .tete .h2 { margin: 0; } }
.tags { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { padding: .35rem .85rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: .875rem; color: var(--muted); }
.tags--grand li { font-size: 1rem; padding: .5rem 1rem; color: var(--paper); }
@media (max-width: 899px) { .tags--grand { display: none; } }

/* ---------- 02 · La carte ---------- */
.carte { display: grid; gap: 1.5rem; }
.carte__onglets { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 8px var(--gutter); scroll-snap-type: x proximity; }
.carte__onglets::-webkit-scrollbar { display: none; }
.carte__onglets [role="tab"] {
  flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: 0 1.2rem;
  border-radius: 999px; border: 1px solid var(--line-2); background: none; font-weight: 600; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.carte__onglets [role="tab"]:hover { border-color: var(--paper); }
.carte__onglets [role="tab"][aria-selected="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.carte__onglets [role="tab"][aria-selected="true"] .num { color: var(--accent-ink); }
.carte__onglets [role="tab"]:active { transform: scale(.97); }
.carte__photos { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--ink-3); }
.carte__photos img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%);
  opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease), transform 6s var(--ease);
}
.carte__photos img.on { opacity: 1; transform: scale(1); }
.carte__panneaux [role="tabpanel"] { max-width: 46ch; }
.carte__panneaux [role="tabpanel"] p { color: var(--muted); font-size: 1.0625rem; margin: 0; }
.carte__panneaux .carte__slogan { font: 400 clamp(1.9rem, 3vw, 2.5rem)/1 var(--f-script); color: var(--accent); margin: 0 0 .6rem; transform: rotate(-3deg); transform-origin: 0 50%; }
.carte__actions { margin-top: 2rem; display: grid; justify-items: start; gap: .9rem; }
.carte__note { margin: 0; color: var(--muted); font-size: .9375rem; }
.carte__note b { color: var(--paper); }
@media (prefers-reduced-motion: no-preference) {
  .carte__panneaux .entre > * { animation: leve .7s var(--ease) both; }
  .carte__panneaux .entre > :nth-child(2) { animation-delay: .06s; }
  .carte__panneaux .entre > :nth-child(3) { animation-delay: .12s; }
  .carte__panneaux .entre > :nth-child(4) { animation-delay: .18s; }
}
@media (min-width: 900px) {
  .carte { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 80px); row-gap: 2rem; align-items: center; }
  .carte__onglets { grid-column: 1 / -1; margin: 0 -8px; padding: 8px; }
  .carte__photos { aspect-ratio: 5 / 4; }
}

/* ---------- 03 · Le restaurant ---------- */
.resto { display: grid; gap: clamp(40px, 6vw, 80px); }
.atouts { list-style: none; padding: 0; margin: 0 0 2.25rem; display: grid; gap: 1.1rem; }
.atouts li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: center; }
.atouts span { display: grid; color: var(--muted); }
.atouts b { color: var(--paper); font-size: 1.0625rem; }
.picto { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--ink-3); border: 1px solid var(--line); fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
/* Chaque picto fait son geste quand il arrive, et au survol */
@media (prefers-reduced-motion: no-preference) {
  .picto path { transform-box: view-box; }
  .picto--froid path { transform-origin: 12px 12px; transition: transform 1.2s var(--ease) .3s; }
  .vu .picto--froid path, li:hover .picto--froid path { transform: rotate(60deg); }
  .picto--sac path { transform-origin: 12px 4px; }
  .vu .picto--sac path, li:hover .picto--sac path { animation: balance 1.1s var(--ease) .35s; }
  .picto--horloge .aiguille { transform-origin: 12px 12px; transform-box: view-box; transition: transform 1.6s var(--ease) .4s; }
  .vu .picto--horloge .aiguille, li:hover .picto--horloge .aiguille { transform: rotate(360deg); }
}
@keyframes balance { 25% { transform: rotate(10deg); } 55% { transform: rotate(-7deg); } 80% { transform: rotate(3deg); } }

.horaires { padding: 1.5rem; border-radius: var(--r); background: var(--ink-3); border: 1px solid var(--line); margin-bottom: 1.75rem; }
.horaires__tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .75rem; }
.horaires__tete h3 { font-size: 1.6rem; margin: 0; }
.horaires__liste { margin: 0; display: grid; }
.horaires__liste div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .75rem; border-radius: 10px; color: var(--muted); }
.horaires__liste dt, .horaires__liste dd { margin: 0; }
.horaires__liste dd { white-space: nowrap; }
.horaires__liste .auj { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--paper); font-weight: 600; }
.horaires__liste .auj dt::after { content: 'aujourd’hui'; display: block; font: 500 .75rem var(--f-mono); color: var(--accent); }
.resto__cta { display: flex; flex-wrap: wrap; gap: .75rem; }

.mosaique { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.mosaique figure { margin: 0; border-radius: 20px; overflow: hidden; background: var(--ink-3); }
.mosaique img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaique figure:hover img { transform: scale(1.04); }
.mosaique__a { grid-row: span 2; aspect-ratio: 3 / 5; }
.mosaique__a img { object-position: 45% 50%; }
.mosaique__b { aspect-ratio: 3 / 4; }
.mosaique__b img { object-position: 50% 70%; }
.mosaique__c { display: none; }
.mosaique__d { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
@media (min-width: 900px) {
  .resto { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
  .mosaique { position: sticky; top: calc(var(--nav-h) + 24px); gap: 16px; }
  .mosaique__a { aspect-ratio: auto; }
  .mosaique__b, .mosaique__c { aspect-ratio: 4 / 5; }
  .mosaique__c { display: block; }
}
@media (min-width: 900px) { .mosaique__d { aspect-ratio: 16 / 7; } }

/* ---------- 04 · Traiteur ---------- */
.traiteur { display: grid; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 900px) { .traiteur { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
.parcours { padding: clamp(20px, 3vw, 36px); border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -50px color-mix(in srgb, var(--braise) 50%, transparent); display: grid; gap: 1.25rem; }
.parcours__suivi { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: e; }
.parcours__suivi li { counter-increment: e; font: 500 .75rem/1.2 var(--f-mono); color: var(--muted); padding-top: 12px; border-top: 3px solid var(--line-2); transition: color .3s, border-color .3s; }
.parcours__suivi li::before { content: '0' counter(e) ' '; }
.parcours__suivi li.on { color: var(--paper); border-color: var(--accent); }
.parcours__suivi li.fait { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.etape { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 1rem; }
.etape__titre { font: 400 clamp(1.7rem, 3vw, 2.2rem)/1.05 var(--f-display); text-transform: uppercase; padding: 0; margin-bottom: 1rem; }
@media (prefers-reduced-motion: no-preference) { .etape.entre { animation: glisse .5s var(--ease) both; } }
@keyframes glisse { from { opacity: 0; transform: translateX(22px); } }

.choix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
@media (min-width: 560px) { .choix { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.puce { position: relative; }
.puce input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.puce span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: .5rem .75rem;
  border-radius: 14px; border: 1px solid var(--line-2); background: var(--ink-3); font-weight: 600; line-height: 1.2;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.puce:hover span { border-color: var(--paper); }
.puce input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.puce input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.puce input:active + span { transform: scale(.97); }

.compteur { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem; border-radius: 18px; background: var(--ink-3); border: 1px solid var(--line-2); }
.compteur__btn { width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--line-2); background: none; font-size: 1.6rem; cursor: pointer; transition: border-color .25s, transform .25s var(--ease); }
.compteur__btn:hover { border-color: var(--accent); }
.compteur__btn:active { transform: scale(.94); }
.compteur__val { font: 400 1.1rem var(--f-body); color: var(--muted); text-align: center; }
.compteur__val span { display: block; font: 400 2.8rem/1 var(--f-display); color: var(--paper); }

.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: .75rem 1rem; border-radius: 14px;
  background: var(--ink-3); color: var(--paper); border: 1px solid var(--line-2);
  font: inherit; font-size: 1rem; transition: border-color .2s; color-scheme: dark;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .8; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--erreur); }
.field__err { margin: 0; min-height: 1.3em; font-size: .875rem; color: var(--erreur); }
.field__err:empty { min-height: 0; }
.parcours__nav { display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.parcours__nav [data-suiv] { margin-left: auto; }
.form__note { margin: 0; font-size: .8125rem; color: var(--muted); }

/* ---------- 05 · Nos adresses ---------- */
.adresses { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.adresse { position: relative; padding: 1.75rem; border-radius: var(--r); background: var(--ink-3); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.adresse:hover { border-color: var(--line-2); transform: translateY(-3px); }
.adresse p { color: var(--muted); margin: 0 0 1.25rem; }
.adresse h3 { margin-bottom: .5rem; }
.adresse--ici { border-color: var(--accent); }
.adresse__liens { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.adresse__route { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; gap: .4em; text-decoration: none; color: var(--muted); transition: color .25s; }
.adresse__route:hover { color: var(--accent); }
.adresse__route span { transition: transform .25s var(--ease); }
.adresse__route:hover span { transform: translateX(4px); }
.adresse__tel { font: 400 1.6rem/1 var(--f-display); letter-spacing: .02em; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; transition: color .25s; }
.adresse__tel:hover { color: var(--accent); }
.adresses .revele:nth-child(2) { transition-delay: .09s; }
.adresses .revele:nth-child(3) { transition-delay: .18s; }

/* ---------- Pied de page ---------- */
.footer { padding: clamp(56px, 8vw, 96px) 0 2rem; border-top: 1px solid var(--line); }
.footer__grille { display: grid; gap: 2rem; }
@media (min-width: 900px) { .footer__grille { grid-template-columns: 1fr 1fr 1.2fr; align-items: start; } }
.footer__marque { font-size: 3rem; margin: 0; }
.footer__slogan { color: var(--muted); margin: .5rem 0 0; }
.footer__liens { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.footer__liens a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; overflow-wrap: anywhere; transition: color .25s; }
.footer__liens a:hover, .footer__recrute a:hover { color: var(--accent); }
.footer__recrute { margin: 0; color: var(--muted); }
.footer__recrute a { color: var(--paper); overflow-wrap: anywhere; display: inline-block; padding: 12px 0; margin: -12px 0; } /* zone tactile 44 px */
.footer__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.footer__bas p { margin: 0; }

/* ---------- Barre d'actions mobile ---------- */
.actionbar {
  position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr);
  height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--verre); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  transition: transform .8s var(--ease);
}
.js .actionbar:not(.is-visible) { transform: translateY(100%); }
.actionbar a { display: grid; place-items: center; align-content: center; gap: 4px; font-size: .75rem; font-weight: 600; text-decoration: none; }
.actionbar a.is-main { background: var(--accent); color: var(--accent-ink); }
.actionbar svg { width: 22px; height: 22px; fill: currentColor; }
.actionbar a.is-main svg { width: 18px; height: 25px; }
.actionbar a.is-main .flamme__ext, .actionbar a.is-main .flamme__int { fill: currentColor; }
.actionbar a.is-main .flamme__int { opacity: .35; }
@media (min-width: 900px) { .actionbar { display: none; } }

/* ---------- Apparitions (sans librairie) : sans JS ou en mode réduit, tout est visible ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .revele { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
  .js .revele.vu { opacity: 1; transform: none; }
  .js .revele--cote { transform: translateX(-22px); }
  .js .atouts .revele:nth-child(2) { transition-delay: .09s; }
  .js .atouts .revele:nth-child(3) { transition-delay: .18s; }
  .js .revele--image { opacity: 1; transform: none; clip-path: inset(14% 10% round var(--r)); transition: clip-path 1.5s var(--ease); }
  .js .revele--image.vu { clip-path: inset(0 round var(--r)); }
  .js .mosaique .revele--image:nth-child(2) { transition-delay: .12s; }
  .js .mosaique .revele--image:nth-child(3) { transition-delay: .24s; }
  .js .mosaique .revele--image:nth-child(4) { transition-delay: .36s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
