/* STACK Burger — feuille de styles unique, mobile d'abord.
   Direction artistique : docs/design-spec.md. Aplats, pas de dégradé. */

@font-face { font-family: 'Anton'; src: url(../fonts/anton-400.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url(../fonts/dm-sans-400.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url(../fonts/dm-sans-700.woff2) format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --y: #F0F47A;   /* jaune : fond */
  --g: #1A3D2A;   /* vert sapin : texte, grands blocs */
  --o: #EE6A2F;   /* orange : boutons, prix, autocollant */
  --c: #FFF6DF;   /* crème : texte sur vert */
  --ink: #0E2318; /* vert presque noir : texte sur orange (K1, contraste AA) */
  --d: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --b: 'DM Sans', system-ui, sans-serif;
  --gutter: 16px;
  --gx: max(var(--gutter), env(safe-area-inset-left), env(safe-area-inset-right));
  --hp: 12px; /* marge verticale de l'en-tête */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
  --focus: var(--g);
}
@media (min-width: 768px) {
  :root { --gutter: 40px; --hp: 20px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--y);
  color: var(--g);
  font-family: var(--b);
  font-size: 17px;
  line-height: 1.55;
  font-synthesis: none; /* Anton n'existe qu'en 400 : jamais de faux gras */
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, address { margin: 0; }
address { font-style: normal; }
ul[role='list'], .nav ul { list-style: none; padding: 0; }
::selection { background: var(--g); color: var(--y); }
.on-green ::selection { background: var(--c); color: var(--g); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.on-green, .action-bar { --focus: var(--c); }
main:focus { outline: none; }
section[id] { scroll-margin-top: 72px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 20px; border-radius: 999px;
  background: var(--g); color: var(--c); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 36px;
  border: 3px solid transparent; border-radius: 999px;
  font-family: var(--d); font-weight: 400; font-size: 22px; line-height: 1;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none; text-align: center;
  transition: transform 150ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn--green { background: var(--g); border-color: var(--g); color: var(--c); }
.btn--orange { background: var(--o); border-color: var(--o); color: var(--ink); }
.btn--cream { background: var(--c); border-color: var(--c); color: var(--g); }
.btn--outline-cream { border-color: var(--c); color: var(--c); }
.btn--sm {
  min-height: 44px; padding: 0 24px;
  font-family: var(--b); font-weight: 700; font-size: 15px; letter-spacing: .1em;
}
/* Survol : inversion nette, sans transition de couleur. */
@media (hover: hover) {
  .btn--green:hover { background: var(--c); color: var(--g); }
  .btn--orange:hover { background: var(--ink); border-color: var(--ink); color: var(--o); }
  .btn--cream:hover { background: var(--g); color: var(--c); }
  .btn--outline-cream:hover { background: var(--c); color: var(--g); }
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: calc(var(--hp) / -2); z-index: 50;
  background: var(--y);
}
.site-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--g); opacity: 0; transition: opacity 300ms var(--ease-out);
}
.header-in {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 32px;
  padding: var(--hp) var(--gx);
  transition: transform 300ms var(--ease-out);
}
.logo {
  font-family: var(--d); font-size: 26px; line-height: 1; letter-spacing: .03em; text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
  transform-origin: left center; transition: transform 300ms var(--ease-out);
}
.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 4px 14px; margin: 0; }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 9px; height: 3px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 250ms var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.header-call { display: none; }
.site-header.is-stuck::after { opacity: 1; }
.site-header.is-stuck .header-in { transform: translateY(calc(var(--hp) / 4)); }
.site-header.is-stuck .logo { transform: scale(.88); }

@media (min-width: 768px) {
  .logo { font-size: 30px; }
  .nav ul { gap: 8px 32px; }
  .nav a { font-size: 15px; letter-spacing: .1em; }
  .header-call { display: inline-flex; }
}

/* ---------- Accueil ---------- */
.hero {
  position: relative;
  padding: 0 max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
  container-type: inline-size;
}
.hero-photo {
  height: clamp(250px, 29vw, 520px);
  overflow: hidden;
  border-radius: clamp(90px, 8.4vw, 150px);
  background: var(--g);
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%;
}
/* Titre mesuré dans Chrome (Anton, lettres en inline-block, interlettrage compris) :
   « STACK BURGER » = 5,265 em, +1,5 % de marge = 5,344 → remplit la largeur sans déborder. */
.hero-title {
  position: relative;
  margin: -0.42em 0 0;
  font-family: var(--d); font-weight: 400;
  font-size: calc((100vw - 48px) / 5.344);
  font-size: calc(100cqi / 5.344);
  line-height: .92; letter-spacing: -.005em;
  text-align: center; text-transform: uppercase;
  /* Contour jaune (K5) : trait réel dessiné sous le remplissage, plus net que des ombres. */
  -webkit-text-stroke: .07em var(--y);
  paint-order: stroke fill;
}
.hero-words { display: block; }
.w { display: inline-block; white-space: nowrap; clip-path: inset(-25% -4% 0 -4%); }
.ltr { display: inline-block; }
/* Écran étroit : deux lignes, chacune à sa propre taille pour remplir la largeur.
   STACK = 2,264 em, BURGER = 2,772 em (mesurés), +1,5 %. */
@container (max-width: 520px) {
  .hero-title { font-size: calc(100cqi / 2.8134); margin-top: -0.5em; }
  .w { display: block; }
  .w1 { font-size: 1.2245em; }
}
/* Pastille posée sur la photo, à cheval sur le haut des lettres, sans masquer le nom.
   Haut des capitales ≈ bas de la photo − 13,1cqi (2 lignes) ou − 5,8cqi (1 ligne). */
.hero-order {
  --rot: -6deg;
  --photo-h: clamp(250px, 29vw, 520px);
  position: absolute; right: 22px; top: calc(var(--photo-h) - 13.1cqi - 52px);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 22px 34px; border-radius: 50%;
  background: var(--o); color: var(--ink);
  font-family: var(--d); font-size: 20px; line-height: 1; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none;
  transform: rotate(var(--rot));
  transition: transform 200ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.hero-order:active { transform: rotate(var(--rot)) scale(.97); }
@media (hover: hover) {
  .hero-order:hover { background: var(--ink); color: var(--o); transform: rotate(calc(var(--rot) - 4deg)) scale(1.04); }
}
@media (min-width: 768px) {
  .hero { padding: 0 max(24px, env(safe-area-inset-left), env(safe-area-inset-right)); }
  .hero-order { --rot: -4deg; right: 6%; padding: 30px 58px; font-size: 26px; }
}
@container (min-width: 521px) {
  .hero-order { top: calc(var(--photo-h) - 5.8cqi - 74px); }
}

/* ---------- Accroche ---------- */
.pitch { padding: 48px var(--gx) 0; text-align: center; }
.wave-wrap { display: inline-block; overflow: hidden; vertical-align: top; }
.wave-in { display: block; }
.wave { display: block; }
.pitch-title {
  max-width: 1040px; margin: 24px auto 0;
  font-family: var(--d); font-weight: 400; font-size: clamp(40px, 6.4vw, 100px); line-height: 1.02;
  text-transform: uppercase; text-wrap: balance;
}
.pitch-text { max-width: 560px; margin: 20px auto 0; font-size: 17px; line-height: 1.5; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.pitch .btn-row { flex-direction: column; }
@media (min-width: 768px) {
  .pitch { padding-top: 64px; }
  .pitch-title { margin-top: 36px; line-height: 1; }
  .pitch-text { margin-top: 28px; font-size: 19px; }
  .btn-row { gap: 16px; margin-top: 32px; }
  .pitch .btn-row { flex-direction: row; }
}

/* ---------- Infos pratiques + burger empilé ---------- */
.infos {
  display: grid; justify-items: center; gap: 48px;
  padding: 64px var(--gx) 72px;
  overflow-x: clip; /* l'autocollant dépasse volontairement (K7) */
}
.infos-block { width: 100%; max-width: 360px; text-align: center; }
.infos-title { margin: 0 0 12px; font-family: var(--d); font-weight: 400; font-size: 30px; line-height: 1.1; text-transform: uppercase; }
.infos-block p + p, .infos-block address + p { margin-top: 10px; }
.stack-wrap { position: relative; order: -1; width: min(400px, 100% - 32px); }
.stack { display: flex; flex-direction: column; }
.slice { position: relative; overflow: hidden; border-radius: 999px; background: var(--g); }
/* Tranches de stack-profil.jpg (affichée à 130 % de la largeur) :
   haut 110–235, milieu 235–345, bas 345–430 (sur 520). */
.s1 { aspect-ratio: 400 / 125; }
.s2 { aspect-ratio: 400 / 110; }
.s3 { aspect-ratio: 400 / 85; }
.slice img {
  position: absolute; left: 50%; top: 0;
  width: 130%; max-width: none; height: auto;
  transform: translate(-50%, var(--ty));
}
.s1 img { --ty: -21.154%; }
.s2 img { --ty: -45.192%; }
.s3 img { --ty: -66.346%; }
.sticker {
  position: absolute; right: -26px; top: -26px;
  width: 112px; height: 112px;
  transform: rotate(-10deg);
}
.sticker-in { position: relative; width: 100%; height: 100%; }
.sticker-shape { position: absolute; inset: 0; transition: transform 400ms var(--ease-out); }
.sticker-shape i {
  position: absolute; inset: 14.3%;
  border-radius: 10px; background: var(--o);
}
.sticker-shape i:nth-child(2) { transform: rotate(30deg); }
.sticker-shape i:nth-child(3) { transform: rotate(60deg); }
.sticker-link {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--ink);
  font-family: var(--d); font-size: 18px; line-height: 1.05; letter-spacing: .03em;
  text-align: center; text-transform: uppercase;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px;
}
@media (hover: hover) {
  .sticker:hover .sticker-shape { transform: rotate(15deg); }
}
.status {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px; padding: 6px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 700; line-height: 1.3;
  box-shadow: inset 0 0 0 2px var(--g);
}
.status[hidden] { display: none; }
.status::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--o); }
.status.is-open { background: var(--g); color: var(--c); }
.status.is-open::before { background: var(--y); }
.find-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.find-link {
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 16px; border: 3px solid var(--g); border-radius: 999px;
  font-family: var(--d); font-size: 20px; line-height: 1.1; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none;
  transition: transform 150ms var(--ease-out);
}
.find-link:active { transform: scale(.97); }
@media (hover: hover) {
  .find-link:hover { background: var(--g); color: var(--c); }
}
@media (min-width: 600px) {
  .infos { grid-template-columns: 1fr 1fr; grid-template-areas: 'stack stack' 'hours find'; align-items: start; column-gap: 32px; }
  .stack-wrap { grid-area: stack; }
  .infos-hours { grid-area: hours; }
  .infos-find { grid-area: find; }
}
@media (min-width: 768px) {
  .infos { padding: 72px var(--gx) 96px; }
  .infos-title { margin-bottom: 16px; font-size: 32px; }
  .infos-block p + p, .infos-block address + p { margin-top: 12px; }
  .stack-wrap { width: 400px; }
  .sticker { right: -44px; top: 40px; width: 150px; height: 150px; }
  .sticker-shape i { border-radius: 14px; }
  .sticker-link { font-size: 23px; text-underline-offset: 4px; }
  .m-only { display: none; }
  .find-actions { align-items: center; margin-top: 12px; gap: 6px; }
  .find-link {
    display: inline-flex; min-height: 44px; padding: 0; border: 0; border-radius: 0;
    font-family: var(--b); font-size: 17px; font-weight: 700; letter-spacing: 0; text-transform: none;
    text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
  }
}
@media (hover: hover) and (min-width: 768px) {
  .find-link:hover { background: none; color: inherit; text-decoration-color: var(--o); text-decoration-thickness: 4px; }
}
@media (min-width: 1100px) {
  .infos {
    grid-template-columns: 260px 400px 260px; grid-template-areas: 'hours stack find';
    justify-content: center; align-items: center; column-gap: 72px;
  }
}

/* ---------- Bandeau défilant ---------- */
.marquee {
  overflow: hidden;
  background: var(--g); color: var(--c);
  padding: 16px 0;
  font-family: var(--d); font-size: 28px; line-height: 1; text-transform: uppercase; letter-spacing: .02em;
}
.marquee-track { display: flex; width: max-content; }
.marquee-group { display: flex; align-items: center; gap: .6em; padding-right: .6em; }
.marquee-group span { white-space: nowrap; }
.star { position: relative; flex: none; width: .5em; height: .5em; }
.star, .star::before, .star::after { background: var(--o); border-radius: .08em; }
.star::before, .star::after { content: ''; position: absolute; inset: 0; }
.star::before { transform: rotate(30deg); }
.star::after { transform: rotate(60deg); }
@media (min-width: 768px) {
  .marquee { padding: 22px 0; font-size: 40px; }
}

/* ---------- Titres géants (remplissage mesuré) ---------- */
.carte, .menus, .site-footer { container-type: inline-size; }
.giant {
  font-family: var(--d); font-weight: 400; line-height: .9; letter-spacing: -.005em;
  text-align: center; text-transform: uppercase; white-space: nowrap;
  font-size: min(var(--max), calc((100vw - 2 * var(--gx)) / var(--fit)));
  font-size: min(var(--max), calc(100cqi / var(--fit)));
}
/* Largeurs mesurées dans Chrome avec Anton (em) + 1,5 % */
.fit-carte { --fit: 3.370; --max: 230px; }
.fit-menus { --fit: 4.111; --max: 180px; }
.fit-table { --fit: 3.343; --max: 200px; }

.sub-title {
  margin: 40px 0 20px;
  font-family: var(--d); font-weight: 400; font-size: 34px; line-height: 1.05; text-transform: uppercase;
}
@media (min-width: 768px) {
  .sub-title { margin: 64px 0 32px; font-size: 44px; }
}

/* ---------- La carte ---------- */
.carte { padding: 48px var(--gx) 72px; }
.cards { display: grid; gap: 28px; margin: 0; }
.card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  grid-template-areas: 'photo name price' 'photo desc desc';
  column-gap: 14px; align-items: center;
}
.card-photo {
  grid-area: photo; align-self: start;
  width: 88px; height: 88px; overflow: hidden; border-radius: 50%;
  background: var(--g);
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-name {
  grid-area: name;
  font-family: var(--d); font-weight: 400; font-size: clamp(21px, 6.6vw, 26px); line-height: 1;
  text-transform: uppercase;
}
.price {
  grid-area: price; justify-self: end;
  padding: 6px 12px; border-radius: 999px;
  background: var(--o); color: var(--ink);
  font-family: var(--d); font-size: 20px; line-height: 1; white-space: nowrap;
}
.card-desc { grid-area: desc; align-self: start; margin-top: 8px; font-size: 15px; line-height: 1.45; }
@media (min-width: 768px) {
  .carte { padding: 80px var(--gx) 112px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 36px; }
  .card {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: 'photo photo' 'name price' 'desc desc';
    grid-template-rows: auto auto 1fr;
    row-gap: 16px;
  }
  .card-photo { width: auto; height: 280px; border-radius: 140px; }
  .card-name { font-size: 36px; }
  .price { padding: 8px 18px; font-size: 24px; }
  .card-desc { margin-top: 0; font-size: 17px; line-height: 1.5; }
}
@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Menus ---------- */
.menus { background: var(--g); color: var(--c); padding: 64px var(--gx) 72px; }
.menus-head { text-align: center; }
.menus .giant { margin-top: 24px; }
.menus-intro { margin-top: 16px; font-size: 17px; line-height: 1.5; }
.menu-grid { display: grid; gap: 16px; margin: 36px 0 0; }
.menu-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'name price' 'desc desc';
  align-items: center; column-gap: 12px;
  padding: 22px 22px 24px; border: 3px solid var(--c); border-radius: 36px;
}
.menu-name { grid-area: name; font-family: var(--d); font-weight: 400; font-size: 27px; line-height: 1; text-transform: uppercase; }
.menu-desc { grid-area: desc; margin-top: 10px; font-size: 16px; line-height: 1.45; }
.menu-price { grid-area: price; font-family: var(--d); font-size: 34px; line-height: 1; color: var(--o); white-space: nowrap; }
@media (min-width: 768px) {
  .menus { padding: 96px var(--gx) 112px; }
  .menus .giant { margin-top: 28px; }
  .menus-intro { margin-top: 20px; font-size: 19px; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 64px; }
  .menu-card {
    display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
    min-height: 300px; padding: 32px; border-radius: 56px;
  }
  .menu-name { font-size: 38px; }
  .menu-desc { margin-top: 0; font-size: 17px; line-height: 1.5; }
  .menu-price { margin-top: auto; padding-top: 14px; font-size: 64px; }
}
@media (min-width: 1100px) {
  .menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Accompagnements + boissons ---------- */
.extras { display: flex; flex-wrap: wrap; gap: 56px 96px; padding: 64px var(--gx) 72px; }
.extras-col { flex: 1 1 420px; min-width: 0; }
.extras .sub-title { margin-top: 0; }
.rows { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.row { display: flex; align-items: flex-end; gap: 10px; }
.row-main { display: flex; flex-direction: column; min-width: 0; }
.row-name { font-size: 18px; font-weight: 700; line-height: 1.2; }
.row-desc { margin-top: 3px; font-size: 14px; line-height: 1.4; }
.row-dots { flex: 1; min-width: 16px; margin-bottom: 6px; border-bottom: 3px dotted currentColor; }
.row-price { flex: none; font-family: var(--d); font-size: 24px; line-height: 1; white-space: nowrap; }
/* Volets dépliables (allergènes, mentions légales) : fonctionnent sans JavaScript. */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.allergens, .legal { --line: currentColor; }
.allergens summary, .legal summary {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px;
  padding: 0 20px 0 24px; border: 3px solid var(--line); border-radius: 999px;
  font-family: var(--d); font-size: 20px; line-height: 1; letter-spacing: .04em; text-transform: uppercase;
  transition: transform 150ms var(--ease-out);
}
.allergens summary:active, .legal summary:active { transform: scale(.97); }
.plus { position: relative; width: 14px; height: 14px; flex: none; }
.plus::before, .plus::after {
  content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 3px; margin-top: -1.5px;
  border-radius: 2px; background: currentColor; transition: transform 250ms var(--ease-out);
}
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0deg); }
@media (hover: hover) {
  .allergens summary:hover { background: var(--g); color: var(--c); border-color: var(--g); }
  .legal summary:hover { background: var(--c); color: var(--g); }
}
.allergens { flex-basis: 100%; font-size: 15px; line-height: 1.5; }
.allergens-body { max-width: 760px; margin-top: 20px; }
.allergens-body p + p, .allergens-body table + p { margin-top: 10px; }
.allergens table { width: 100%; margin-top: 16px; border-collapse: collapse; }
.allergens th, .allergens td { padding: 8px 12px 8px 0; text-align: left; vertical-align: top; border-bottom: 2px solid var(--g); }
.allergens thead th { font-family: var(--d); font-weight: 400; font-size: 18px; letter-spacing: .03em; text-transform: uppercase; }
.allergens tbody th { font-weight: 700; white-space: nowrap; }
@media (min-width: 768px) {
  .extras { gap: 72px 96px; padding: 112px var(--gx); }
  .rows { gap: 22px; }
  .row { gap: 14px; }
  .row-name { font-size: 20px; }
  .row-desc { margin-top: 4px; font-size: 15px; }
  .row-dots { min-width: 24px; }
  .row-price { font-size: 26px; }
}

/* ---------- Pied de page ---------- */
.site-footer { background: var(--g); color: var(--c); padding: 64px var(--gx) 40px; text-align: center; }
.site-footer .giant { margin-top: 24px; }
.footer-actions { display: none; }
.footer-cols { display: flex; flex-direction: column; gap: 36px; margin-top: 44px; }
.footer-col h3 { margin: 0 0 10px; font-family: var(--d); font-weight: 400; font-size: 26px; line-height: 1.1; text-transform: uppercase; }
.footer-col p, .footer-col address { font-size: 17px; line-height: 1.6; }
.footer-col p + p { margin-top: 8px; }
.footer-col ul { margin: 0; font-size: 17px; }
.footer-col li a, .footer-col p a { display: inline-block; padding: 6px 0; text-underline-offset: 3px; }
@media (hover: hover) {
  .site-footer a:not(.btn):hover { text-decoration-color: var(--o); text-decoration-thickness: 3px; }
}
.legal { margin-top: 48px; font-size: 15px; }
.legal summary { font-size: 17px; min-height: 44px; }
.legal dl { display: grid; gap: 6px; max-width: 520px; margin: 20px auto 0; text-align: left; }
.legal dl div { display: flex; flex-wrap: wrap; gap: 0 12px; justify-content: space-between; padding-bottom: 6px; border-bottom: 1px solid rgb(255 246 223 / .35); }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; }
.legal p { max-width: 520px; margin: 14px auto 0; }
.ext { display: inline-block; flex: none; vertical-align: -2px; margin-left: 6px; }
.footer-order p + ul, .footer-order ul + p { margin-top: 4px; }
.footer-order ul { display: flex; justify-content: center; gap: 20px; }
.copyright { margin-top: 14px; font-size: 14px; }
@media (min-width: 768px) {
  .site-footer { padding: 96px var(--gx) 48px; }
  .site-footer .giant { margin-top: 28px; }
  .footer-actions { display: flex; margin-top: 44px; }
  .footer-cols { flex-direction: row; flex-wrap: wrap; justify-content: space-around; gap: 48px 32px; margin-top: 88px; }
  .footer-col { width: 240px; }
  .footer-col h3 { margin-bottom: 14px; font-size: 28px; }
  .legal { margin-top: 72px; }
  .footer-col { width: 220px; }
}

/* ---------- Menu « Commander » (<dialog>) ---------- */
html:has(dialog[open]) { overflow: hidden; }
.order {
  width: 100%; max-width: 100%; max-height: calc(100dvh - 24px);
  margin: auto 0 0; padding: 0; border: 0; border-radius: 36px 36px 0 0;
  background: var(--c); color: var(--g);
  overflow: auto; overscroll-behavior: contain;
}
.order::backdrop { background: rgb(26 61 42 / .78); }
.order-in {
  position: relative;
  padding: 32px max(24px, env(safe-area-inset-left)) calc(28px + env(safe-area-inset-bottom));
  border-top: 3px solid var(--g);
  border-radius: inherit;
}
.order-close {
  position: absolute; right: 16px; top: 16px;
  display: grid; place-items: center; width: 48px; height: 48px;
  border: 3px solid var(--g); border-radius: 50%; background: none; color: var(--g); cursor: pointer;
  transition: transform 150ms var(--ease-out);
}
.order-close:active { transform: scale(.94); }
@media (hover: hover) { .order-close:hover { background: var(--g); color: var(--c); } }
.order-title { margin-right: 56px; font-family: var(--d); font-weight: 400; font-size: 44px; line-height: 1; text-transform: uppercase; }
.order-label { margin-top: 24px; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.order-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 0; }
.order-list .btn { width: 100%; padding: 0 10px; font-size: 20px; }
.order-call { width: 100%; }
.order-list .btn, .order-call { white-space: nowrap; }
@media (max-width: 379px) {
  .order-list { grid-template-columns: 1fr; }
  .order-call { padding: 0 12px; font-size: 19px; }
}
.order-text { margin-top: 6px; font-size: 16px; line-height: 1.45; }
.order-call { margin-top: 12px; }
@media (min-width: 768px) {
  .order { width: min(480px, 100% - 48px); margin: auto; border: 3px solid var(--g); border-radius: 48px; }
  .order-in { padding: 40px; border-top: 0; }
  .order-close { right: 24px; top: 24px; }
  .order-title { font-size: 56px; }
}

/* ---------- Barre d'actions mobile ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: 8px;
  padding: 10px max(12px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-right));
  background: var(--g); border-top: 3px solid var(--c);
}
.action-bar .btn { flex: 1 1 0; min-width: 0; min-height: 48px; padding: 0 4px; font-size: 17px; letter-spacing: .02em; }
.action-bar .btn--outline-cream { border-width: 2px; }
body { padding-bottom: calc(71px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Animations (aucune si l'utilisateur réduit les animations) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* 1. Entrée de l'accueil */
  .hero-photo { animation: photo-in 900ms var(--ease-out) both; }
  .ltr { animation: rise 700ms cubic-bezier(.2, .9, .25, 1) backwards; animation-delay: calc(120ms + var(--i) * 40ms); }
  .hero-order { animation: pop-in 600ms var(--ease-pop) 700ms backwards; }

  /* 6. Apparition au défilement (seulement si JavaScript est actif) */
  .js .reveal { opacity: 0; }
  .js .reveal.is-in { opacity: 1; animation: reveal 600ms var(--ease-out) backwards; animation-delay: calc(var(--stagger, 0) * 60ms); }

  /* 3. Séparateurs ondulés : balayage de gauche à droite (transform seulement) */
  .js .wave-wrap, .js .wave-in { transition: transform 900ms var(--ease-out); }
  .js .wave-wrap:not(.is-in) { transform: translateX(-100%); }
  .js .wave-wrap:not(.is-in) .wave-in { transform: translateX(100%); }

  /* 2. Burger empilé : tranches écartées qui se rejoignent, autocollant « tampon » */
  .js .slice { transition: transform 800ms cubic-bezier(.34, 1.3, .64, 1); }
  .js .stack-wrap:not(.is-in) .s1 { transform: translateY(-34px) rotate(-3deg); }
  .js .stack-wrap:not(.is-in) .s2 { transform: translateX(-12px); }
  .js .stack-wrap:not(.is-in) .s3 { transform: translateY(34px) rotate(2deg); }
  .js .sticker-in { transition: transform 550ms var(--ease-pop) 500ms, opacity 150ms linear 500ms; }
  .js .stack-wrap:not(.is-in) .sticker-in { opacity: 0; transform: scale(1.9) rotate(-28deg); }

  /* 4. Cartes burger */
  @media (hover: hover) {
    .card { transition: transform 350ms var(--ease-out); }
    .card:hover { transform: rotate(-1deg) scale(1.03); }
    .card:nth-child(even):hover { transform: rotate(1deg) scale(1.03); }
    .card:hover .price { animation: hop 450ms var(--ease-pop); }
  }

  /* 8. Bandeau (défilement continu : courbe linéaire volontaire) */
  .marquee-track { animation: marquee 38s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }

  /* Ouverture du menu « Commander » */
  .order[open] { animation: sheet-in 420ms var(--ease-out); }
  .order[open]::backdrop { animation: fade-in 300ms var(--ease-out); }
  @media (min-width: 768px) {
    .order[open] { animation: pop-card 420ms var(--ease-pop); }
  }

  /* 7. Parallaxe : la photo est agrandie de 10 % pour garder une marge */
  .js .hero-photo img { transform: translate3d(0, var(--py, 0px), 0) scale(1.1); }
}

@keyframes photo-in { from { transform: scale(.96); } }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes pop-in { from { transform: rotate(var(--rot)) scale(0); } }
@keyframes reveal { from { opacity: 0; transform: translateY(24px); } }
@keyframes hop { 40% { transform: translateY(-8px) rotate(-3deg); } }
@keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } }
@keyframes pop-card { from { transform: scale(.92) rotate(-2deg); opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
