/* ===== Polices (hébergées sur le site, licence SIL OFL) ===== */
@font-face {
  font-family: "Italiana";
  src: url("../fonts/italiana.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 300 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ===== Couleurs Dody's (issues du logo) =====
   Bordeaux = marque (titres, prix, boutons principaux)
   Or = accent rare (appels à l'action sur fond sombre, étoiles, soulignés)
   Crème = fond de lecture ; vert WhatsApp réservé à l'envoi WhatsApp */
:root {
  --primary: #861539;
  --primary-dark: #5e0d27;
  --primary-deep: #3d0716;
  --primary-soft: #f8e9ee;
  --accent: #c9a96e;        /* or champagne */
  --accent-dark: #9a7a44;
  --accent-soft: #f5efe4;
  --wa: #25d366;
  --wa-dark: #1da851;
  --bg: #fbf7f3;
  --card: #ffffff;
  --text: #1f1418;
  --muted: #76696d;
  --line: #eee5e2;
  --danger: #c62828;
  --ok: #16a34a;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(61, 7, 22, .04), 0 4px 14px rgba(61, 7, 22, .04);
  --shadow: 0 10px 30px rgba(61, 7, 22, .08);
  --shadow-lg: 0 24px 60px rgba(61, 7, 22, .16);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-title: "Italiana", Georgia, serif; /* sous-titres façon carte papier */
  --top-h: 60px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ===== Base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    linear-gradient(rgba(251, 247, 243, .55), rgba(251, 247, 243, .55)),
    url("../img/deco/vagues.png") repeat-y center top / 100% auto,
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  padding-bottom: calc(96px + var(--safe-bottom));
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--primary); color: #fff; }

.noscript { background: var(--accent); padding: 16px; text-align: center; font-weight: 600; }

/* ===== Titres ===== */
.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--primary); opacity: .75; margin-bottom: 4px;
}
.eyebrow--gold { color: var(--accent); opacity: 1; }
.title {
  font-family: var(--font-title); font-weight: 400;
  font-size: clamp(2.1rem, 8.5vw, 3.2rem); line-height: 1.1; color: var(--primary); letter-spacing: .02em;
  display: inline-block; position: relative; padding-bottom: 10px;
}
.title::after { /* coup de pinceau doré, comme sur la carte du restaurant */
  content: ""; position: absolute; left: -4px; right: 18%; bottom: 0; height: 4px;
  background: var(--accent); border-radius: 50% 50% 50% 50% / 100% 100% 0 0;
  transform: rotate(-.6deg); transform-origin: left;
  transition: transform 1s var(--ease) .25s;
}
.reveal:not(.is-in) .title::after, .reveal.title:not(.is-in)::after { transform: rotate(-.6deg) scaleX(0); }
.title--light { color: #fff; }
.head { padding: 0 20px; }

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 15px 20px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none; line-height: 1.2;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, opacity .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--primary-deep); color: #fff; }
.btn--primary:not(:disabled):hover { background: var(--primary); }
.btn--gold { background: var(--accent); color: var(--primary-deep); }
.btn--gold:hover { background: #d6b984; }
.btn--gold, .btn--glass, .btn--primary, .btn--light { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 600; }
.btn--glass {
  background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .2); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.btn--wa:not(:disabled):hover { background: var(--wa-dark); }
.btn--ghost { background: none; color: var(--muted); font-weight: 600; font-size: .85rem; padding: 12px; }
.btn--light { background: #fff; color: var(--primary); }
.link-btn { color: var(--primary); font-weight: 600; font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; margin: 14px auto 0; display: block; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--bg); transition: background .2s, transform .2s;
}
.icon-btn:hover { background: var(--primary-soft); }
.icon-btn:active { transform: scale(.9); }
.icon-btn svg { width: 20px; height: 20px; }

.stars { color: var(--accent); letter-spacing: 1px; }

/* ===== Statut ouvert / fermé ===== */
.status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .72rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .3s, color .3s, border-color .3s;
}
.status i { width: 7px; height: 7px; border-radius: 50%; background: #fb7185; position: relative; }
.status.is-open i { background: #4ade80; }

/* ===== Barre du haut ===== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  height: calc(var(--top-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 12px 0 16px;
  display: flex; align-items: center; gap: 10px;
  transition: background .35s, box-shadow .35s, transform .35s var(--ease);
}
.topbar::before { /* léger voile sur le héros pour garder le logo lisible */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(30, 3, 11, .55), rgba(30, 3, 11, 0));
  transition: opacity .35s;
}
.topbar.is-solid {
  background: rgba(255, 255, 255, .86); box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(61, 7, 22, .06);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
}
.topbar.is-solid::before { opacity: 0; }
.topbar.is-solid .status { background: var(--bg); color: var(--text); border-color: var(--line); }
.topbar__brand { display: block; height: 38px; position: relative; width: 72px; flex-shrink: 0; }
.topbar__logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s; }
.topbar__logo--dark, .topbar.is-solid .topbar__logo--light { opacity: 0; }
.topbar.is-solid .topbar__logo--dark { opacity: 1; }
.topbar .status { margin-left: auto; }
.topbar__cart {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; position: relative;
  color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  transition: background .3s, color .3s, transform .2s;
}
.topbar.is-solid .topbar__cart { color: var(--primary); background: var(--primary-soft); border-color: transparent; }
.topbar__cart:active { transform: scale(.9); }
.topbar__cart svg { width: 21px; height: 21px; }
.topbar__count {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--accent); color: var(--primary-deep);
  font-size: .7rem; font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 0 0 2px #fff;
}
.topbar__count.pop { animation: pop .45s var(--spring); }
@keyframes pop { 0% { transform: scale(.4); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* ===== Héros plein écran ===== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; max-height: 980px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; overflow: hidden; background: var(--primary-deep); isolation: isolate;
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease;
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block;
  transform: scale(1.04); transform-origin: 60% 40%;
  filter: contrast(1.06) saturate(1.12);
}
.hero__bg { display: none; } /* fond flouté : ordinateur uniquement */
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active .hero__img { animation: kenburns 9s ease-out forwards; }
.hero__slide:nth-child(even) .hero__img { transform-origin: 30% 70%; }
@keyframes kenburns { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20, 2, 8, .5) 0%, rgba(20, 2, 8, 0) 20%, rgba(20, 2, 8, 0) 46%, rgba(30, 3, 11, .78) 76%, rgba(28, 3, 10, .97) 100%);
}
.hero__shade::after {
  content: ""; position: absolute; inset: 0; opacity: .14; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Mobile : la photo occupe le haut de l'écran (moins recadrée, donc moins agrandie)
   et se fond dans le bordeaux où se trouve le texte */
@media (max-width: 999px) {
  .hero__slides {
    bottom: auto; height: min(100%, 132vw);
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  }
}
.hero__content { padding: 0 22px 96px; max-width: 640px; }
.hero__kicker {
  font-size: .74rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 10px;
}
.hero__kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.hero__title {
  font-family: var(--font-title); font-weight: 400;
  font-size: clamp(3rem, 13.5vw, 6.2rem); line-height: 1; margin: 12px 0 14px; letter-spacing: .01em;
  text-wrap: balance;
}
.hero__text { font-size: 1rem; opacity: .9; max-width: 34ch; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; max-width: 460px; }
.hero__ctas .btn--gold { flex: 1 1 auto; width: auto; }
.hero__ctas .btn--glass { flex: 1 0 auto; width: auto; } /* passe à la ligne si le texte du bouton principal est long */
.hero__ctas .btn { white-space: nowrap; padding-left: 18px; padding-right: 18px; }
.hero__meta {
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px;
  font-size: .8rem; opacity: .9;
}
.hero__meta li { display: flex; align-items: center; gap: 5px; }
.hero__hours::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; margin-right: 6px; }

/* Texte du héros : apparition à chaque changement d'image */
.hero__content.swap > :nth-child(-n+3) { animation: rise .9s var(--ease) both; }
.hero__content.swap > :nth-child(2) { animation-delay: .08s; }
.hero__content.swap > :nth-child(3) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

.hero__scroll {
  position: absolute; right: 22px; bottom: 26px; width: 26px; height: 42px; border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, .55); display: none;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Entrée de page */
.hero__content > * { animation: rise 1s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .1s; }
.hero__content > :nth-child(3) { animation-delay: .2s; }
.hero__content > :nth-child(4) { animation-delay: .3s; }
.hero__content > :nth-child(5) { animation-delay: .4s; }


/* ===== Services ===== */
.services {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 22px 16px 6px; max-width: 960px; margin: 0 auto;
}
.service { text-align: center; padding: 6px 6px 4px; }
.service + .service { border-left: 1px solid rgba(201, 169, 110, .35); }
.service__icon {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center;
  border: 1px solid var(--accent); color: var(--accent-dark);
}
.service__icon svg { width: 20px; height: 20px; }
.service h3 { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.service p { font-size: .68rem; color: var(--muted); line-height: 1.35; margin-top: 3px; }

/* ===== Coups de cœur ===== */
.featured { padding: 40px 0 8px; max-width: 1200px; margin: 0 auto; position: relative; }
.featured::before, .section::before {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  background: no-repeat center / contain; animation: leaf 7s ease-in-out infinite;
}
.featured::before { right: -8px; top: 6px; width: 58px; height: 92px; background-image: url("../img/deco/feuille-2.webp"); --r: 8deg; }
.section:nth-of-type(3n+2)::before { right: -14px; top: 6px; width: 50px; height: 80px; background-image: url("../img/deco/feuille-1.webp"); --r: -20deg; }
.section:nth-of-type(3n)::before { right: -6px; top: 20px; width: 62px; height: 37px; background-image: url("../img/deco/feuille-3.webp"); --r: 0deg; animation-delay: -3s; }
@keyframes leaf { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(calc(var(--r) + 6deg)) translateY(-6px); } }
.menu-wrap { overflow-x: hidden; overflow-x: clip; } /* les feuilles ne doivent pas élargir la page */
.featured__track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 18px 20px 24px; scroll-padding-left: 20px;
}
.featured__track::-webkit-scrollbar { display: none; }
.fcard {
  flex: 0 0 72%; max-width: 290px; scroll-snap-align: start; cursor: pointer;
  display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s;
}
/* Photo au format 4:3, proche des photos d'origine : moins recadrée, donc moins agrandie */
.fcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--primary-soft); }
.fcard__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.fcard__media::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(30, 3, 11, .25)); pointer-events: none; }
.fcard__body { flex: 1; display: flex; flex-direction: column; padding: 14px 16px 16px; }
.fcard__cat { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dark); font-weight: 700; }
.fcard__name { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.15; letter-spacing: -.01em; color: var(--primary); margin: 3px 0 12px; }
.fcard__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
@media (hover: hover) {
  .fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .fcard:hover .fcard__img { transform: scale(1.06); }
}

/* ===== La carte ===== */
.carte { padding: 44px 0 4px; max-width: 1200px; margin: 0 auto; }
.search {
  margin: 18px 16px 0; display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 0 18px;
  box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.search svg { width: 18px; height: 18px; fill: var(--muted); }
.search input { flex: 1; border: 0; outline: 0; background: none; padding: 14px 0; font-size: 1rem; min-width: 0; }
.search input::-webkit-search-cancel-button { filter: grayscale(1); }

/* Catégories en images rondes */
.rounds {
  display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 20px 16px 6px;
  scroll-snap-type: x proximity;
}
.rounds::-webkit-scrollbar { display: none; }
.round { flex: 0 0 auto; width: 72px; text-align: center; scroll-snap-align: start; }
.round__img {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 6px; padding: 3px; display: block;
  background: conic-gradient(from 200deg, var(--accent), var(--primary), var(--accent));
  transition: transform .3s var(--spring);
}
.round__img img, .round__img span {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center;
  border: 2.5px solid var(--bg); background: var(--primary-soft); font-size: 1.6rem;
}
.round b { display: block; font-size: .68rem; font-weight: 600; line-height: 1.2; color: var(--text); }
.round:active .round__img { transform: scale(.9); }
@media (hover: hover) { .round:hover .round__img { transform: translateY(-3px) rotate(-4deg); } }

/* Barre collante des catégories */
.sticky-bar {
  position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top, 0px)); z-index: 30;
  background: rgba(251, 247, 243, .9); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
  margin-top: 10px;
}
.sticky-bar.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 20px rgba(61, 7, 22, .05); }
.cats {
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 10px 16px;
  position: relative; max-width: 1200px; margin: 0 auto;
}
.cats::-webkit-scrollbar { display: none; }
.cat {
  position: relative; z-index: 1; flex-shrink: 0; white-space: nowrap;
  padding: 8px 15px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--muted);
  transition: color .3s;
}
.cat.active { color: #fff; }
.cats__pill {
  position: absolute; z-index: 0; top: 10px; left: 0; height: 35px; width: 0; border-radius: 999px;
  background: var(--primary); box-shadow: 0 4px 12px rgba(134, 21, 57, .3);
  transition: transform .45s var(--ease), width .45s var(--ease); pointer-events: none;
}

/* Sections du menu */
.menu { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section { padding-top: 34px; scroll-margin-top: 120px; position: relative; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.section__head .title { font-size: clamp(2rem, 8vw, 2.6rem); }
.section__note {
  display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600;
  color: var(--accent-dark); background: var(--accent-soft); padding: 5px 11px; border-radius: 999px; margin-top: 10px;
}
.grid { display: grid; gap: 12px; margin-top: 16px; }

/* Carte d'un plat (liste mobile : texte à gauche, photo à droite) */
.item {
  position: relative; display: flex; gap: 14px; align-items: stretch; cursor: pointer;
  background: var(--card); border-radius: var(--radius); padding: 12px; min-height: 124px;
  border: 1.5px solid transparent; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.item:active { transform: scale(.985); }
@media (hover: hover) { .item:hover { box-shadow: var(--shadow); transform: translateY(-2px); } .item:hover .item__media img { transform: scale(1.08); } }
.item.in-cart { border-color: var(--primary); }
.item.in-cart::before {
  content: ""; position: absolute; left: -1.5px; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--primary);
}
.item__body { flex: 1; display: flex; flex-direction: column; min-width: 0; padding: 2px 0; }
.item__name { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.item__desc {
  font-size: .78rem; color: var(--muted); margin-top: 4px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.item__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 8px; min-height: 36px; }
.item__media {
  position: relative; flex: 0 0 108px; height: 108px; align-self: center;
  border-radius: 14px; overflow: visible; background: var(--primary-soft);
  display: grid; place-items: center; font-size: 2.2rem;
}
.item__media img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 14px; transition: transform .6s var(--ease); }
.item__media .clip { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; }
.item__media .add-btn, .item__media .stepper { position: absolute; right: -6px; bottom: -8px; }
.item__media .stepper { right: -6px; }
.tag {
  display: inline-block; vertical-align: 2px; margin-left: 6px;
  font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: var(--accent); color: var(--primary-deep); padding: 3px 7px; border-radius: 6px;
}
.price { font-weight: 600; color: var(--primary); white-space: nowrap; font-size: .95rem; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.price .cur { font-size: .62rem; font-weight: 600; letter-spacing: .12em; color: var(--muted); margin-left: 4px; }
.price small { font-weight: 500; color: var(--muted); font-size: .7rem; margin-right: 3px; }

.add-btn {
  position: relative; width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary); color: #fff; font-size: 1.35rem; font-weight: 500; line-height: 1;
  display: grid; place-items: center; box-shadow: 0 4px 12px rgba(134, 21, 57, .35), 0 0 0 3px #fff;
  transition: transform .25s var(--spring), background .2s;
}
.add-btn:hover { background: var(--primary-dark); }
.add-btn:active { transform: scale(.85); }
.add-btn .badge {
  position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--accent); color: var(--primary-deep); font-size: .66rem; font-weight: 800;
  display: grid; place-items: center; box-shadow: 0 0 0 2px #fff;
}
.stepper {
  display: inline-flex; align-items: center; background: var(--primary); color: #fff; border-radius: 999px;
  padding: 3px; box-shadow: 0 4px 12px rgba(134, 21, 57, .35), 0 0 0 3px #fff;
  animation: grow .35s var(--spring);
}
@keyframes grow { from { transform: scale(.6); opacity: 0; } }
.stepper button { width: 32px; height: 32px; border-radius: 50%; font-size: 1.15rem; display: grid; place-items: center; transition: background .2s, transform .2s; }
.stepper button:hover { background: rgba(255, 255, 255, .15); }
.stepper button:active { transform: scale(.85); }
.stepper span { min-width: 22px; text-align: center; font-weight: 800; font-size: .9rem; }
.stepper--lg { background: var(--bg); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); animation: none; }
.stepper--lg button { width: 44px; height: 44px; font-size: 1.3rem; color: var(--primary); }
.stepper--lg button:hover { background: var(--primary-soft); }
.stepper--lg span { min-width: 30px; font-size: 1.05rem; }

.item.is-out { opacity: .55; cursor: default; }
.item.is-out .item__media img { filter: grayscale(1); }
.soldout { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--line); padding: 5px 10px; border-radius: 999px; }

.no-result { text-align: center; color: var(--muted); padding: 50px 16px; }
.no-result small { display: block; margin-top: 6px; }

/* ===== Le restaurant ===== */
.about {
  margin: 56px 0 0; background: var(--primary-deep); color: #fff; position: relative; overflow: hidden;
}
.about::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 50% at 100% 0%, rgba(134, 21, 57, .7), transparent 70%), radial-gradient(60% 40% at 0% 100%, rgba(245, 183, 49, .08), transparent 70%);
}
.about__media { position: relative; }
.about__media img { width: 100%; height: 300px; object-fit: cover; display: block; }
.about__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, var(--primary-deep)); }
.about__badge {
  position: absolute; right: 16px; bottom: -14px; z-index: 1;
  background: #fff; color: var(--text); border-radius: 18px; padding: 12px 16px; text-align: center;
  box-shadow: var(--shadow-lg); display: grid; gap: 1px;
}
.about__badge b { font-size: 1.7rem; line-height: 1; color: var(--primary); font-weight: 800; }
.about__badge .stars { font-size: .78rem; }
.about__badge small { font-size: .62rem; color: var(--muted); font-weight: 600; }
.about__body { position: relative; padding: 18px 20px 40px; }
.about__rules {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; line-height: 1.4; color: var(--accent);
  margin: 18px 0 22px; padding-left: 16px; border-left: 2px solid rgba(245, 183, 49, .5);
}
.about__list { list-style: none; display: grid; gap: 12px; font-size: .9rem; }
.about__list li { display: flex; gap: 12px; align-items: flex-start; opacity: .92; }
.about__list svg { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.about__list a { color: #fff; text-decoration: none; font-weight: 600; }
.about__hours {
  margin-top: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius); padding: 16px;
}
.about__hours h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; }
.about__hours h3 .status { letter-spacing: 0; text-transform: none; }
.about__hours ul { list-style: none; font-size: .86rem; }
.about__hours li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed rgba(255, 255, 255, .14); opacity: .82; }
.about__hours li:last-child { border-bottom: 0; }
.about__hours li.today { opacity: 1; color: var(--accent); font-weight: 700; }
.about__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }

/* ===== Pied de page ===== */
.footer { text-align: center; background: #2a040f; color: rgba(255, 255, 255, .6); font-size: .78rem; padding: 34px 20px calc(30px + var(--safe-bottom)); margin-bottom: calc(-96px - var(--safe-bottom)); padding-bottom: calc(120px + var(--safe-bottom)); }
.footer__logo { width: 120px; height: auto; opacity: .95; }
.footer__slogan { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: #fff; margin: 6px 0 14px; }
.footer__small { margin-top: 6px; }
.social { display: flex; justify-content: center; gap: 14px; margin: 4px 0 24px; }
.social__link {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(201, 169, 110, .55); color: var(--accent);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.social__link svg { width: 19px; height: 19px; }
.social__link:hover, .social__link:focus-visible { background: var(--accent); color: var(--primary-deep); border-color: var(--accent); transform: translateY(-2px); }
.footer a { color: var(--accent); }

/* ===== Barre panier ===== */
.cart-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--safe-bottom)); z-index: 45;
  display: flex; align-items: center; gap: 12px; max-width: 560px; margin: 0 auto;
  background: var(--primary-deep); color: #fff; padding: 10px 18px 10px 10px; border-radius: 999px;
  box-shadow: 0 14px 34px rgba(40, 4, 15, .35); border: 1px solid rgba(201, 169, 110, .35);
  animation: slideUp .5s var(--spring);
}
@keyframes slideUp { from { transform: translateY(140%); } }
.cart-bar__count {
  min-width: 40px; height: 40px; border-radius: 50%; padding: 0 6px; display: grid; place-items: center;
  background: var(--accent); color: var(--primary-deep); font-weight: 800;
}
.cart-bar__label { flex: 1; text-align: left; font-weight: 700; font-size: .92rem; }
.cart-bar__total { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cart-bar.bump { animation: bump .45s var(--spring); }
@keyframes bump { 30% { transform: scale(1.05); } 60% { transform: scale(.98); } }

/* Image qui « vole » vers le panier */
.fly {
  position: fixed; z-index: 80; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; pointer-events: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3), 0 0 0 3px #fff;
  transition: transform .75s cubic-bezier(.5, -.4, .7, 1), opacity .75s ease-in;
}

/* ===== Panneaux (bottom sheets) ===== */
.overlay {
  position: fixed; inset: 0; z-index: 50; background: rgba(30, 3, 11, .5);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: fade .3s ease;
}
@keyframes fade { from { opacity: 0; } }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 52;
  max-height: 92vh; max-height: 92dvh; display: flex; flex-direction: column;
  background: var(--card); border-radius: 26px 26px 0 0; box-shadow: 0 -10px 40px rgba(30, 3, 11, .25);
  transform: translateY(105%); visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s .35s;
  padding-bottom: var(--safe-bottom);
}
.sheet.open { transform: none; visibility: visible; transition: transform .5s var(--spring); }
.sheet.dragging { transition: none; }
.sheet--small { z-index: 55; box-shadow: 0 0 0 100vmax rgba(30, 3, 11, .45), 0 -8px 30px rgba(30, 3, 11, .3); }
.sheet__handle { width: 44px; height: 5px; border-radius: 9px; background: #ddd2d5; margin: 10px auto 2px; flex-shrink: 0; touch-action: none; }
.sheet__head { display: flex; align-items: center; gap: 8px; padding: 8px 12px 10px 18px; border-bottom: 1px solid var(--line); touch-action: none; }
.sheet__titles { flex: 1; min-width: 0; }
.sheet__head h2 { font-size: 1.1rem; line-height: 1.25; font-weight: 800; }
.steps { list-style: none; display: flex; gap: 6px; margin-top: 6px; }
.steps li { font-size: .66rem; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.steps li + li::before { content: ""; width: 14px; height: 1.5px; background: var(--line); }
.steps li.on { color: var(--primary); }
.sheet__body { flex: 1; overflow-y: auto; padding: 14px 18px 18px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.sheet__foot { padding: 12px 18px 14px; border-top: 1px solid var(--line); background: var(--card); }
.sheet__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2px; font-weight: 600; }
.sheet__total strong { font-size: 1.35rem; color: var(--primary); font-weight: 800; font-variant-numeric: tabular-nums; }
.sheet__hint { font-size: .74rem; color: var(--muted); margin-bottom: 10px; min-height: 1em; }

/* Fiche produit */
.sheet--product .sheet__handle { position: absolute; left: 50%; margin-left: -22px; top: 0; z-index: 2; background: rgba(255, 255, 255, .7); }
.sheet--product .sheet__body { padding: 0 0 18px; border-radius: 26px 26px 0 0; }
.icon-btn--float { position: absolute; top: 12px; right: 12px; z-index: 3; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); }
.picker__hero { position: relative; aspect-ratio: 16 / 10; max-height: 42vh; width: 100%; background: var(--primary-soft); overflow: hidden; border-radius: 26px 26px 0 0; display: grid; place-items: center; font-size: 4rem; }
.picker__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sheet.open .picker__hero img { animation: zoomIn 1.2s var(--ease); }
@keyframes zoomIn { from { transform: scale(1.15); } }
.picker__info { padding: 18px 18px 4px; }
.picker__cat { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--accent-dark); }
.picker__info h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; line-height: 1.12; letter-spacing: -.015em; color: var(--primary); margin-top: 2px; }
.picker__price { font-weight: 800; font-size: 1.05rem; margin-top: 6px; }
.picker__price small { font-weight: 500; color: var(--muted); font-size: .78rem; }
.picker__desc { color: var(--muted); font-size: .9rem; padding: 6px 18px 0; }
.picker__ok { margin: 16px 18px 0; font-size: .82rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.picker__ok svg { width: 18px; height: 18px; color: var(--ok); }
.group { border: 0; margin: 20px 18px 0; }
.group legend { width: 100%; display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: .95rem; margin-bottom: 10px; }
.group legend em { font-style: normal; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--bg); padding: 4px 9px; border-radius: 999px; transition: background .2s, color .2s; }
.group.done legend em { background: #dcfce7; color: var(--ok); }
.group.missing legend em { background: #fde2e4; color: var(--danger); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  padding: 10px 15px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card);
  font-size: .86rem; font-weight: 600; transition: all .2s var(--ease);
}
.choice span small { color: var(--muted); font-weight: 600; }
.choice input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; transform: scale(1.03); }
.choice input:checked + span small { color: rgba(255, 255, 255, .8); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.picker__foot { display: flex; gap: 10px; align-items: center; }
.picker__foot .btn { flex: 1; }

/* Panier */
.cart-list { list-style: none; display: grid; gap: 10px; }
.cart-line {
  display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--radius-sm); background: var(--bg);
  animation: rise .4s var(--ease) both;
}
.cart-line__media { width: 56px; height: 56px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: var(--primary-soft); display: grid; place-items: center; font-size: 1.5rem; }
.cart-line__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-line__info { flex: 1; min-width: 0; }
.cart-line__name { font-weight: 700; font-size: .88rem; line-height: 1.25; }
.cart-line__opts { font-size: .72rem; color: var(--muted); margin-top: 1px; }
.cart-line__price { font-size: .75rem; color: var(--muted); margin-top: 3px; }
.cart-line__price b { color: var(--primary); }
.cart-line .stepper { box-shadow: none; animation: none; }
.cart-line .stepper button { width: 30px; height: 30px; }
.empty { text-align: center; color: var(--muted); padding: 36px 16px; }
.empty__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent-dark); }
.empty__icon svg { width: 26px; height: 26px; }
.empty p { font-weight: 700; color: var(--text); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Formulaire */
.mode { border: 0; margin-bottom: 18px; }
.mode legend { font-weight: 800; font-size: .92rem; margin-bottom: 10px; }
.mode__options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mode__opt input { position: absolute; opacity: 0; pointer-events: none; }
.mode__opt span {
  display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer;
  padding: 14px 6px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  text-align: center; transition: all .2s var(--ease);
}
.mode__opt b { font-size: .72rem; font-weight: 600; letter-spacing: .04em; }
.mode__opt svg { width: 22px; height: 22px; color: var(--accent-dark); }
.mode__opt input:checked + span svg { color: var(--primary); }
.mode__opt input:checked + span { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(134, 21, 57, .12); }
.mode__opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--bg); font-size: 1rem; outline: 0; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px var(--primary-soft); }
.field textarea { resize: vertical; }
.field.invalid input { border-color: var(--danger); }
.error { color: var(--danger); font-size: .74rem; font-weight: 600; display: block; margin-top: 4px; }
.error:empty { display: none; }
.warn { background: var(--accent-soft); color: #6b4a00; font-size: .8rem; padding: 10px 12px; border-radius: var(--radius-sm); margin-top: 10px; line-height: 1.4; }
.sheet__foot .warn { margin: 0 0 10px; }
.warn--block { background: #fde2e4; color: #8a1c2b; }
.recap { background: var(--bg); border-radius: var(--radius-sm); padding: 14px; margin-top: 6px; font-size: .84rem; }
.recap h3 { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 8px; }
.recap__row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.recap__row small { display: block; color: var(--muted); font-size: .72rem; }
.recap__row.total { border-top: 1px dashed #d8ccd0; margin-top: 6px; padding-top: 10px; font-weight: 800; color: var(--primary); }

/* Position GPS */
.geo { margin: -2px 0 14px; }
.btn--geo { background: var(--primary-soft); color: var(--primary); border: 1.5px dashed var(--primary); padding: 12px; font-size: .88rem; border-radius: var(--radius-sm); }
.geo__status { font-size: .8rem; margin-top: 6px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.geo__status:empty { display: none; }
.geo__status a { color: var(--primary); font-weight: 600; }
.geo__status .link-btn { margin: 0; }
.geo__ok { color: var(--ok); font-weight: 700; }
.geo__hint { font-size: .7rem; color: var(--muted); margin-top: 6px; }

/* Confirmation */
.done { text-align: center; padding-top: 10px; }
.done__icon { width: 76px; height: 76px; margin: 6px auto 12px; }
.done__icon svg { width: 100%; height: 100%; fill: none; stroke: var(--wa); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done__icon circle { stroke-dasharray: 151; stroke-dashoffset: 151; }
.done__icon path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.sheet.open .done__icon circle { animation: draw .6s var(--ease) .15s forwards; }
.sheet.open .done__icon path { animation: draw .4s var(--ease) .65s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h2 { font-size: 1.15rem; font-weight: 800; }
.done p { color: var(--muted); font-size: .88rem; margin: 8px 0; }
.done__ref { background: var(--bg); display: inline-block; padding: 6px 14px; border-radius: 999px; }
.done .btn--primary { margin-top: 12px; }

/* ===== Toast ===== */
.toast {
  position: fixed; left: 50%; top: calc(14px + env(safe-area-inset-top, 0px)); z-index: 90;
  transform: translate(-50%, -160%); max-width: calc(100% - 32px);
  background: var(--text); color: #fff; padding: 12px 18px; border-radius: 999px;
  font-size: .85rem; font-weight: 600; box-shadow: var(--shadow-lg);
  transition: transform .45s var(--spring); pointer-events: none; text-align: center;
}
.toast.show { transform: translate(-50%, 0); }

/* ===== Boutons flottants ===== */
.fab {
  position: fixed; bottom: calc(18px + var(--safe-bottom)); z-index: 44;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  transition: transform .35s var(--spring), opacity .3s, bottom .4s var(--ease);
}
.fab svg { width: 26px; height: 26px; }
.fab--wa { left: 16px; background: var(--primary-deep); color: var(--accent); border: 1px solid rgba(201, 169, 110, .5); }
.fab--top { right: 16px; background: var(--primary); opacity: 0; transform: translateY(16px) scale(.7); pointer-events: none; }
.fab--top.show { opacity: 1; transform: none; pointer-events: auto; }
.fab:active { transform: scale(.9); }
body.has-cart .fab { bottom: calc(86px + var(--safe-bottom)); }
body.has-cart .hero__content { padding-bottom: 150px; } /* le texte reste au-dessus du panier et du bouton WhatsApp */
body.scroll-down .fab { transform: translateY(140%) !important; opacity: 0; pointer-events: none; }

/* ===== Apparition au défilement ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===== Page crédits ===== */
.credits { padding-bottom: 40px; }
.credits .menu { padding-top: 24px; padding-bottom: 40px; max-width: 860px; }
.credits .menu > p { margin: 12px 0; font-size: .88rem; }
.credits .menu > p a { color: var(--primary); font-weight: 600; }
.credits__list { font-size: .78rem; color: var(--muted); padding-left: 18px; display: grid; gap: 6px; word-break: break-word; }

/* ===== Tablette ===== */
@media (min-width: 640px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .services { gap: 14px; padding-top: 28px; }
  .service { padding: 22px 16px; }
  .service h3 { font-size: .95rem; }
  .service p { font-size: .78rem; }
  .fcard { flex-basis: 42%; }
  .hero__content { padding-left: 40px; padding-right: 40px; }
  .head, .search, .rounds { padding-left: 32px; padding-right: 32px; }
  .search { margin-left: 32px; margin-right: 32px; padding: 0 20px; }
  .menu { padding: 0 32px; }
  .cats { padding-left: 32px; padding-right: 32px; }
  .featured__track { padding-left: 32px; padding-right: 32px; scroll-padding-left: 32px; }
  .round { width: 84px; }
  .round__img { width: 78px; height: 78px; }
  .sheet { left: 50%; right: auto; width: 560px; margin-left: -280px; bottom: 20px; border-radius: 26px; max-height: 88vh; }
  .sheet:not(.open) { transform: translateY(calc(100% + 40px)); }
  .about__media img { height: 380px; }
}

/* ===== Ordinateur ===== */
@media (min-width: 1000px) {
  :root { --top-h: 72px; }
  .topbar { padding-left: 40px; padding-right: 32px; }
  .topbar__brand { width: 92px; height: 48px; }
  .hero__content { padding: 0 72px 120px; max-width: 760px; }
  /* Ordinateur : mise en page éditoriale. Texte à gauche, image verticale nette en colonne à droite,
     et la même image très floutée en fond pour l'ambiance (aucune image étirée ni pixelisée) */
  .hero { justify-content: center; }
  .hero__content { padding-top: var(--top-h); padding-bottom: 40px; }
  .hero__bg {
    display: block; position: absolute; inset: -60px; width: calc(100% + 120px); height: calc(100% + 120px);
    object-fit: cover; filter: blur(42px) brightness(.38) saturate(1.2);
  }
  .hero__img {
    left: auto; right: 0; width: min(50%, 820px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  }
  .hero__shade {
    background:
      linear-gradient(90deg, rgba(28, 3, 10, .9) 0%, rgba(28, 3, 10, .6) 40%, rgba(28, 3, 10, 0) 62%),
      linear-gradient(180deg, rgba(20, 2, 8, .55) 0%, rgba(20, 2, 8, 0) 18%, rgba(20, 2, 8, 0) 80%, rgba(28, 3, 10, .7) 100%);
  }
  .hero__scroll { display: block; right: 72px; bottom: 44px; }
  .hero__text { font-size: 1.15rem; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .item { flex-direction: column-reverse; padding: 0; overflow: hidden; }
  .item__media { flex: none; width: 100%; height: 190px; border-radius: 0; }
  .item__media .clip, .item__media img { border-radius: 0; }
  .item__media .add-btn, .item__media .stepper { right: 14px; bottom: -18px; z-index: 1; }
  .item__body { padding: 22px 16px 16px; }
  .item.in-cart::before { display: none; }
  .fcard { flex-basis: 280px; }
  .featured__track { padding-left: max(32px, calc((100vw - 1200px) / 2 + 32px)); }
  .rounds { justify-content: center; flex-wrap: wrap; }
  .about { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; }
  .about__media img { height: 100%; min-height: 640px; }
  .about__media::after { background: linear-gradient(90deg, transparent 60%, var(--primary-deep)); }
  .about__badge { right: auto; left: 40px; bottom: 40px; }
  .about__body { padding: 60px 64px; max-width: 620px; }
  .fab { width: 56px; height: 56px; }
}

/* ===== Mouvement réduit ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Repli : plat sans photo */
.item__media .clip { display: grid; place-items: center; }
[tabindex="-1"]:focus { outline: none; }
