/* Feuille de style du site public. Les couleurs viennent de la palette choisie dans l'espace gérant
   (attribut data-palette sur <html>). Les polices sont auto-hébergées dans /polices. */
@font-face { font-family: 'Bitter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/polices/bitter.woff2') format('woff2'); }
@font-face { font-family: 'Bitter'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('/polices/bitter-italique.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/polices/figtree.woff2') format('woff2'); }
@font-face { font-family: 'Aref Ruqaa'; font-style: normal; font-weight: 400; font-display: swap; src: url('/polices/aref-ruqaa-arabe.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  /* Palette 1 « Menthe et laiton » (par défaut) */
  --sable: #F4EFE4; --chaux: #FFFCF5; --brun: #22201B; --brun-doux: #545047;
  --primaire: #1F5A4A; --primaire-fond: #1F5A4A; --primaire-survol: #174538; --sur-primaire: #FFFCF5;
  --accent: #B8892A; --secondaire: #8A3A2A; --pied: #163F35;
  --placeholder: #E6E0D2;
  --filet: rgba(34, 32, 27, .14);
  --a-completer: #6A3FA0; --a-completer-fond: rgba(106, 63, 160, .08);
}
:root[data-palette="riad"] {
  /* « Riad moderne » : bleu nuit et vert zellige en aplats, fond chaux */
  --sable: #E8EEEB; --chaux: #F4F5F1; --brun: #12203A; --brun-doux: #4A5670;
  --primaire: #0E6E62; --primaire-fond: #0E6E62; --primaire-survol: #0A564C; --sur-primaire: #FFFFFF;
  --accent: #C9963A; --secondaire: #2B4F9E; --pied: #12203A; --placeholder: #D5E3DE;
  --filet: rgba(18, 32, 58, .14);
  --sombre: #12203A; --sombre-2: #1B2C4C; --creme: #F4F5F1; --sur-sombre: #7FD8C2;
  --degrade: linear-gradient(120deg, #0E6E62 0%, #1F5E8A 60%, #2B4F9E 100%);
  --degrade-clair: linear-gradient(110deg, #5ED0B5 0%, #9CC2F5 100%);
}
:root[data-palette="sauge"] {
  --sable: #F2F0E8; --chaux: #FCFBF6; --brun: #1F241F; --brun-doux: #4D554D;
  --primaire: #3F6147; --primaire-fond: #3F6147; --primaire-survol: #324E39; --sur-primaire: #FCFBF6;
  --accent: #B8892A; --secondaire: #8A3A2A; --pied: #2C4332; --placeholder: #E3E3D8;
}
:root[data-palette="safran"] {
  --sable: #F7F1E3; --chaux: #FFFBF2; --brun: #2B2116; --brun-doux: #5A4B39;
  --primaire: #8A5A12; --primaire-fond: #8A5A12; --primaire-survol: #6F480E; --sur-primaire: #FFFBF2;
  --accent: #C8962E; --secondaire: #1F5A4A; --pied: #3A2A14; --placeholder: #EADFC8;
}
:root[data-palette="rose"] {
  --sable: #F8EFEF; --chaux: #FFF9F8; --brun: #2B1D21; --brun-doux: #5E4A50;
  --primaire: #9A3F57; --primaire-fond: #9A3F57; --primaire-survol: #7E3246; --sur-primaire: #FFF9F8;
  --accent: #B8892A; --secondaire: #3F6147; --pied: #3E2229; --placeholder: #EBDDDD;
}
:root[data-palette="olive"] {
  --sable: #F3F1E6; --chaux: #FDFCF5; --brun: #24251C; --brun-doux: #52543F;
  --primaire: #55602A; --primaire-fond: #55602A; --primaire-survol: #444D21; --sur-primaire: #FDFCF5;
  --accent: #B8892A; --secondaire: #8A3A2A; --pied: #2E331A; --placeholder: #E4E2D2;
}
:root[data-palette="nuit"] {
  --sable: #0F1F1B; --chaux: #16302A; --brun: #F2EAD8; --brun-doux: #C9BFA9;
  --primaire: #E0B85A; --primaire-fond: #D4A84B; --primaire-survol: #EBC873; --sur-primaire: #0F1F1B;
  --accent: #D4A84B; --secondaire: #E59570; --pied: #0A1613; --placeholder: #1D3B33;
  --filet: rgba(242, 234, 216, .16); --a-completer: #B9A3F0; --a-completer-fond: rgba(185, 163, 240, .12);
  color-scheme: dark;
}
:root[data-palette="majorelle"] {
  --sable: #F4EEE4; --chaux: #FFFBF4; --brun: #1C1F2B; --brun-doux: #4D5266;
  --primaire: #233E99; --primaire-fond: #233E99; --primaire-survol: #1A2F78; --sur-primaire: #FFFBF4;
  --accent: #C8962E; --secondaire: #A9472A; --pied: #18275E; --placeholder: #E5E1D8;
  --a-completer: #8A2E7A; --a-completer-fond: rgba(138, 46, 122, .08);
}
:root[data-palette="grenade"] {
  --sable: #F7F0EA; --chaux: #FFFAF6; --brun: #2A1D1F; --brun-doux: #5C4A4C;
  --primaire: #8E2F3C; --primaire-fond: #8E2F3C; --primaire-survol: #73242F; --sur-primaire: #FFFAF6;
  --accent: #B08A3A; --secondaire: #4A5E3A; --pied: #3A2428; --placeholder: #EADFD8;
}
:root[data-palette="terracotta"] {
  --sable: #F3E9DA; --chaux: #FBF6EE; --brun: #2E1E15; --brun-doux: #5E4636;
  --primaire: #A9472A; --primaire-fond: #B4532F; --primaire-survol: #9C4325; --sur-primaire: #FBF6EE;
  --accent: #C8962E; --secondaire: #1F5A4A; --pied: #1F5A4A; --placeholder: #E7D8C2;
}
:root {
  --f-titre: "Bitter", "Rockwell", Georgia, serif;
  --f-texte: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-arabe: "Aref Ruqaa", "Amiri", "Geeza Pro", "Traditional Arabic", serif;

  --t-xs: .8125rem; --t-s: .9375rem; --t-m: 1.0625rem; --t-l: 1.375rem;
  --t-xl: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem);
  --t-xxl: clamp(3.25rem, 2rem + 6vw, 6rem);
  --rayon: 10px;
  --largeur: 72rem;
}

/* ==========================================================================
   Direction « gourmande » : grandes photos, contrastes clair / sombre,
   typographie éditoriale et animations douces (désactivées si l'utilisateur
   a demandé moins de mouvement). Le décor vient des plats, pas des ornements.
   ========================================================================== */
:root {
  --sombre: #14110E; --sombre-2: #1E1915; --creme: #FBF7F0;
  --rayon-image: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--chaux); color: var(--brun);
  font-family: var(--f-texte); font-size: var(--t-m); line-height: 1.6;
  padding-bottom: 72px; /* place pour la barre mobile */
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
h1, h2, h3 { font-family: var(--f-titre); font-weight: 500; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.enveloppe { max-width: var(--largeur); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
@media (min-width: 900px) { .enveloppe { padding-inline: 40px; } }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr, .visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.evitement { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--brun); color: var(--chaux); padding: 10px 14px; border-radius: var(--rayon); }
.evitement:focus { top: 8px; }
.annonce { background: var(--sombre); color: var(--creme); font-size: var(--t-s); text-align: center; padding-block: 8px; position: relative; z-index: 21; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--chaux) 90%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--filet); transition: background .35s ease, color .35s ease, border-color .35s ease; }
.entete .enveloppe { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.logo .embleme { width: 26px; height: 32px; color: var(--primaire); flex: none; }
.logo .latin { font-family: var(--f-titre); font-size: 1.7rem; font-weight: 600; letter-spacing: -.01em; color: var(--brun); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo .arabe { font-family: var(--f-arabe); font-size: 1.3rem; color: var(--accent); }
@media (max-width: 479px) { .logo .latin { font-size: clamp(1.1rem, 4.8vw, 1.4rem); } .entete .logo .arabe { display: none; } .entete .enveloppe { gap: 8px; } }
.nav { display: none; gap: 26px; margin-left: auto; font-size: var(--t-s); font-weight: 500; }
.nav a { position: relative; text-decoration: none; color: inherit; opacity: .78; padding-block: 8px; white-space: nowrap; transition: opacity .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover, .nav a[aria-current] { opacity: 1; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.langues { display: flex; gap: 2px; margin-left: auto; font-size: var(--t-xs); font-weight: 700; letter-spacing: .08em; }
.langues a { text-decoration: none; padding: 6px 7px; border-radius: 999px; opacity: .6; }
.langues a[aria-current] { opacity: 1; }
@media (max-width: 479px) { .langues a { padding: 6px 5px; } }
@media (min-width: 1120px) { .nav { display: flex; } .langues { margin-left: 8px; } }
.btn-menu { margin-left: 4px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; font: 600 var(--t-s) var(--f-texte); cursor: pointer; }
.btn-menu svg { width: 20px; height: 20px; }
.menu-mobile { border-top: 1px solid var(--filet); background: var(--chaux); color: var(--brun); }
.menu-mobile[hidden] { display: none; }
.entete .menu-mobile .enveloppe { display: block; min-height: 0; }
.menu-mobile ul { list-style: none; margin: 0; padding: 8px 0 24px; display: grid; }
.menu-mobile li a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--filet); text-decoration: none; font-family: var(--f-titre); font-weight: 500; font-size: 1.7rem; }
.menu-mobile li a[aria-current] { color: var(--primaire); }
.menu-mobile li a::after { content: "→"; color: var(--accent); font-family: var(--f-texte); font-size: 1.1rem; }
@media (prefers-reduced-motion: no-preference) {
  .menu-mobile:not([hidden]) li { animation: glisse .5s var(--ease) both; }
  .menu-mobile li:nth-child(2) { animation-delay: .04s; } .menu-mobile li:nth-child(3) { animation-delay: .08s; }
  .menu-mobile li:nth-child(4) { animation-delay: .12s; } .menu-mobile li:nth-child(5) { animation-delay: .16s; }
  .menu-mobile li:nth-child(6) { animation-delay: .2s; } .menu-mobile li:nth-child(7) { animation-delay: .24s; }
  @keyframes glisse { from { opacity: 0; transform: translateX(-16px); } }
}
@media (min-width: 1120px) { .btn-menu, .menu-mobile { display: none !important; } }
.entete .btn { display: none; }
@media (min-width: 900px) { .entete .btn { display: inline-flex; min-height: 44px; } }

/* Accueil : l'en-tête est transparent sur la vidéo, puis se remplit au défilement. */
.page-accueil main { margin-top: calc(-1 * var(--haut-entete, 69px)); }
.page-accueil .entete:not(.defile):not(.ouvert) { background: transparent; backdrop-filter: none; border-color: transparent; color: var(--creme); }
.page-accueil .entete:not(.defile):not(.ouvert) .logo .latin, .page-accueil .entete:not(.defile):not(.ouvert) .logo .embleme { color: var(--creme); }
.page-accueil .fil { display: none; }

/* ---------- Boutons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 var(--t-s)/1 var(--f-texte); letter-spacing: .02em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s; }
.btn-grand { min-height: 56px; padding: 0 30px; font-size: 1rem; }
.btn-plein { background: var(--primaire-fond); color: var(--sur-primaire); box-shadow: 0 8px 24px color-mix(in srgb, var(--primaire-fond) 35%, transparent); }
.btn-plein:hover { background: var(--primaire-survol); transform: translateY(-2px); }
.btn-ligne { border-color: currentColor; color: var(--brun); background: transparent; }
.btn-ligne:hover { background: color-mix(in srgb, var(--brun) 6%, transparent); }
.btn-clair { border-color: rgba(255, 255, 255, .75); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-clair:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); }
@media (prefers-reduced-motion: no-preference) { .btn::after { transition: transform .8s ease; } .btn:hover::after { transform: translateX(120%); } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lien-fleche { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: var(--primaire); border-bottom: 1.5px solid var(--accent); padding-bottom: 4px; }
.lien-fleche span { transition: transform .3s var(--ease); }
.lien-fleche:hover span, .espace:hover .lien-fleche span { transform: translateX(6px); }
.lien { font-weight: 600; color: var(--secondaire); text-underline-offset: 4px; }

/* ---------- Typographie commune ---------- */
.surtitre { font-size: var(--t-xs); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--secondaire); display: flex; align-items: center; gap: 12px; }
.surtitre::before { content: ""; width: 32px; height: 1.5px; background: var(--accent); }
.tete-section { display: grid; gap: 12px; margin-bottom: 44px; max-width: 46rem; }
.tete-section h2 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4rem); }
.tete-section p { color: var(--brun-doux); }
section { padding-block: 72px; }
@media (min-width: 900px) { section { padding-block: 120px; } }
.icone { width: 28px; height: 28px; color: var(--accent); }
.prix { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.a-venir, .note { color: var(--brun-doux); font-style: italic; }
.ph { position: relative; background: linear-gradient(135deg, var(--placeholder), color-mix(in srgb, var(--placeholder) 60%, var(--accent))); }

/* ---------- Héros plein écran ---------- */
.heros { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; padding: 0; color: #fff; background: var(--sombre); }
.heros-media, .heros-voile { position: absolute; inset: 0; z-index: -1; }
.heros-media video, .heros-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.heros-degrade { position: absolute; inset: -10%; background:
  radial-gradient(ellipse at 25% 35%, color-mix(in srgb, var(--accent) 60%, transparent), transparent 55%),
  radial-gradient(ellipse at 75% 65%, color-mix(in srgb, var(--secondaire) 70%, transparent), transparent 50%), var(--sombre); }
.heros-voile { background:
  linear-gradient(180deg, rgba(10, 8, 6, .55) 0%, rgba(10, 8, 6, 0) 22%, rgba(10, 8, 6, 0) 45%, rgba(10, 8, 6, .82) 100%),
  linear-gradient(90deg, rgba(10, 8, 6, .55) 0%, rgba(10, 8, 6, 0) 60%); }
.heros-contenu { width: 100%; display: grid; gap: 22px; padding-block: 140px 110px; }
@media (min-width: 900px) { .heros-contenu { padding-block: 180px 130px; } }
.heros .surtitre { color: #F1D9A6; }
.heros-titre { font-size: clamp(3.6rem, 1.6rem + 9vw, 9rem); font-weight: 500; line-height: .92; letter-spacing: -.025em; max-width: 12ch; color: #fff; }
.heros-titre .mot { display: inline-block; }
.heros-titre .arabe { font-family: var(--f-arabe); font-size: .42em; color: #F1D9A6; letter-spacing: 0; vertical-align: middle; }
.heros .accroche { font-family: var(--f-titre); font-weight: 500; font-style: italic; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); line-height: 1.2; max-width: 26ch; color: rgba(255, 255, 255, .92); }
.heros .actions { margin-top: 8px; }
.defiler { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: grid; justify-items: center; gap: 8px; color: rgba(255, 255, 255, .8); text-decoration: none; font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; }
.defiler i { width: 1.5px; height: 44px; background: linear-gradient(rgba(255, 255, 255, .9), transparent); }
@media (max-width: 899px) { .defiler { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .heros-media img { animation: zoom-lent 22s ease-out both; }
  @keyframes zoom-lent { from { transform: scale(1.14); } to { transform: scale(1); } }
  .heros-degrade { animation: derive 16s ease-in-out infinite alternate; }
  @keyframes derive { to { transform: scale(1.1) translate(-3%, 2%); } }
  .heros-titre .mot { animation: monte 1.1s var(--ease) both; animation-delay: calc(.15s + var(--i, 0) * .12s); }
  @keyframes monte { from { opacity: 0; transform: translateY(60%) rotate(2deg); filter: blur(6px); } }
  .heros .entree, .heros .surtitre { animation: apparait 1s var(--ease) both; animation-delay: .7s; }
  .heros .surtitre { animation-delay: .05s; }
  .heros .actions { animation-delay: .9s; }
  @keyframes apparait { from { opacity: 0; transform: translateY(20px); } }
  .defiler i { animation: goutte 2.2s ease-in-out infinite; transform-origin: top; }
  @keyframes goutte { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
}
[data-i="1"] { --i: 1; } [data-i="2"] { --i: 2; } [data-i="3"] { --i: 3; } [data-i="4"] { --i: 4; } [data-i="5"] { --i: 5; } [data-i="6"] { --i: 6; }

/* ---------- Bandeau défilant des plats ---------- */
.bandeau-defilant { background: var(--sombre); color: var(--creme); overflow: hidden; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .08); }
.bandeau-defilant .piste { display: flex; width: max-content; }
.bandeau-defilant p { display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; font-family: var(--f-titre); font-weight: 500; font-style: italic; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); }
.bandeau-defilant b { color: var(--accent); font-size: .5em; font-style: normal; }
@media (prefers-reduced-motion: no-preference) {
  .bandeau-defilant .piste { animation: defile 45s linear infinite; }
  .bandeau-defilant:hover .piste { animation-play-state: paused; }
  @keyframes defile { to { transform: translateX(-50%); } }
}

/* ---------- Présentation ---------- */
.presentation { padding-block: 88px 24px; }
@media (min-width: 900px) { .presentation { padding-block: 140px 40px; } }
.grande-phrase { font-family: var(--f-titre); font-weight: 500; font-size: clamp(1.7rem, 1.1rem + 2.4vw, 3.1rem); line-height: 1.22; max-width: 30ch; margin-inline: auto; text-align: center; color: var(--brun); }

/* ---------- Plats signatures ---------- */
.cartes-plats { display: grid; gap: 28px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
@media (max-width: 639px) {
  .cartes-plats { grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 0 20px 12px; scroll-padding-inline: 20px; scrollbar-width: none; }
  .carte-plat { scroll-snap-align: start; }
}
.carte-plat { display: grid; gap: 8px; align-content: start; min-width: 0; }
.carte-plat-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--rayon-image); overflow: hidden; background: var(--placeholder); margin-bottom: 10px; box-shadow: 0 18px 40px -22px rgba(20, 12, 6, .55); }
.carte-plat-photo img, .carte-plat-photo .ph { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.carte-plat:hover .carte-plat-photo img { transform: scale(1.07); }
.etiquette-prix { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .92); color: var(--sombre); font-weight: 700; font-size: var(--t-s); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); font-variant-numeric: tabular-nums; }
.carte-plat h3 { font-size: 1.65rem; }
.carte-plat p { color: var(--brun-doux); font-size: var(--t-s); }
.suite { margin-top: 44px; }

/* ---------- Trois espaces (grandes cartes photo) ---------- */
.section-espaces { background: var(--sable); }
.espaces { display: grid; gap: 20px; }
@media (min-width: 760px) { .espaces { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.espace { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--rayon-image); min-height: 420px; display: grid; align-items: end; color: #fff; background: var(--sombre-2); }
@media (min-width: 760px) { .espace { min-height: 560px; } }
.espace > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.espace::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 8, 6, 0) 35%, rgba(10, 8, 6, .85) 100%); }
.espace.sans-photo { background: linear-gradient(160deg, var(--primaire-fond), var(--pied)); }
.icone-fond { position: absolute; right: -8%; top: 6%; width: 70%; height: 60%; color: rgba(255, 255, 255, .1); z-index: -1; }
.espace-texte { display: grid; gap: 10px; padding: 28px; }
.espace h3 { font-size: clamp(2rem, 1.6rem + 1.2vw, 2.6rem); }
.espace h3 a { color: inherit; text-decoration: none; }
.espace h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.espace p { color: rgba(255, 255, 255, .85); font-size: var(--t-s); max-width: 34ch; }
.espace .lien-fleche { color: #fff; border-color: var(--accent); justify-self: start; }
.espace:hover > img { transform: scale(1.06); }
.espace:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Histoire ---------- */
.histoire { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .histoire { grid-template-columns: 1fr 1fr; gap: 80px; } }
.histoire-photo { aspect-ratio: 4 / 5; border-radius: var(--rayon-image); overflow: hidden; }
.histoire-photo img { width: 100%; height: 115%; object-fit: cover; display: block; }
.histoire-texte { display: grid; gap: 18px; min-width: 0; font-size: 1.1rem; color: var(--brun-doux); }
.histoire-texte h2 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4rem); color: var(--brun); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .histoire-photo img { animation: parallaxe linear both; animation-timeline: view(); }
    @keyframes parallaxe { from { transform: translateY(-10%); } to { transform: translateY(0); } }
  }
}

/* ---------- Galerie (mosaïque) ---------- */
.section-galerie { background: var(--sombre); color: var(--creme); }
.section-galerie .surtitre { color: #F1D9A6; }
.galerie { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .galerie { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 250px); } .galerie a { aspect-ratio: auto; } .galerie a:first-child { grid-column: span 2; grid-row: span 2; } }
.galerie a { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 1; }
.galerie img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease), filter .6s; }
.galerie a:hover img { transform: scale(1.06); filter: saturate(1.15); }

/* ---------- Appel à réserver ---------- */
.appel { position: relative; isolation: isolate; overflow: hidden; background: var(--primaire-fond); color: #fff; text-align: center; }
.appel.avec-photo { background: var(--sombre); }
.appel-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.appel.avec-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 8, 6, .62); }
.appel .enveloppe { display: grid; justify-items: center; gap: 18px; }
.appel h2 { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5.5rem); color: #fff; }
.appel p { font-size: 1.15rem; color: rgba(255, 255, 255, .88); }
.appel .actions { justify-content: center; margin-top: 8px; }

/* ---------- Infos pratiques ---------- */
.infos { display: grid; gap: 20px; }
@media (min-width: 760px) { .infos { grid-template-columns: 1fr 1fr; } }
.bloc-info { display: grid; gap: 12px; align-content: start; min-width: 0; }
.infos .bloc-info { background: var(--sable); border-radius: var(--rayon-image); padding: 28px; }
.bloc-info h2, .bloc-info h3 { font-size: 1.8rem; color: var(--brun); }
.bloc-info h3 + h3, .bloc-info dl + h3, .bloc-info p + h3 { margin-top: 10px; font-size: 1.35rem; }
.horaires { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin: 0; font-variant-numeric: tabular-nums; }
.horaires dt { color: var(--brun-doux); }
.horaires dd { margin: 0; }
.chiffre { font-family: var(--f-titre); font-weight: 500; font-size: 1.8rem; color: var(--secondaire); }
.liste-coches { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.liste-coches li::before { content: "—"; color: var(--accent); margin-right: 12px; }

/* ---------- Bandeau des pages intérieures ---------- */
.fil { font-size: var(--t-xs); color: var(--brun-doux); }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 12px 0; }
.fil li + li::before { content: "›"; margin-right: 8px; color: var(--accent); }
.fil a { color: inherit; }
.bandeau { position: relative; isolation: isolate; overflow: hidden; background: var(--sombre); color: #fff; min-height: 42vh; display: grid; align-items: end; }
.bandeau.avec-photo { min-height: min(62vh, 560px); }
.bandeau-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bandeau::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 8, 6, .25), rgba(10, 8, 6, .8)); }
.bandeau:not(.avec-photo)::before { background: radial-gradient(ellipse at 80% 0%, color-mix(in srgb, var(--primaire-fond) 70%, transparent), transparent 60%); }
.bandeau .enveloppe { width: 100%; display: grid; gap: 16px; padding-block: 72px 48px; }
@media (min-width: 900px) { .bandeau .enveloppe { padding-block: 120px 72px; } }
.bandeau .surtitre { color: #F1D9A6; }
.bandeau h1 { font-size: clamp(3rem, 1.6rem + 6vw, 6.5rem); line-height: .95; letter-spacing: -.02em; }
@media (prefers-reduced-motion: no-preference) {
  .bandeau-photo { animation: zoom-lent 18s ease-out both; }
  .titre-anime { animation: monte 1s var(--ease) both .1s; }
  .bandeau .surtitre, .bandeau .infos-carte { animation: apparait .9s var(--ease) both .35s; }
}
.intro-page { padding-block: 56px 0; }
@media (min-width: 900px) { .intro-page { padding-block: 96px 8px; } }
.intro-page .enveloppe { display: grid; gap: 18px; max-width: 54rem; font-family: var(--f-titre); font-weight: 500; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); line-height: 1.35; color: var(--brun); }
.section-serree { padding-block: 56px 80px; }
.deux-colonnes { display: grid; gap: 20px; }
@media (min-width: 900px) { .deux-colonnes { grid-template-columns: 1fr 1fr; } }
.deux-colonnes > .bloc-info { background: var(--sable); border-radius: var(--rayon-image); padding: 28px; }
.fond-chaux { background: var(--chaux); }

/* ---------- Apparition au défilement ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .revele { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
  .js .revele.visible { opacity: 1; transform: none; }
}

/* ---------- Pied de page ---------- */
.pied { background: var(--sombre); color: rgba(251, 247, 240, .82); padding-block: 72px 36px; font-size: var(--t-s); }
.pied .enveloppe { display: grid; gap: 28px; }
.pied .logo .latin { color: var(--creme); font-size: 2.2rem; }
.pied .logo .arabe { color: #F1D9A6; }
.pied .logo .embleme { color: #F1D9A6; }
.pied a { color: var(--creme); text-underline-offset: 4px; }
.pied-colonnes { display: grid; gap: 28px; }
@media (min-width: 760px) { .pied-colonnes { grid-template-columns: 1.4fr 1fr 1fr; } }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied-titre { font-weight: 700; margin-bottom: 8px; color: var(--creme); }
.pied-legal { opacity: .7; font-size: var(--t-xs); border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; }

/* ---------- Barre fixe mobile : appeler, WhatsApp, réserver ---------- */
.barre-mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: color-mix(in srgb, var(--chaux) 92%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--filet); }
.barre-mobile .btn { min-height: 50px; padding: 0 10px; }
@media (min-width: 900px) { .barre-mobile { display: none; } }

/* ---------- Fenêtre de réservation ---------- */
dialog { border: 0; border-radius: 20px; padding: 0; width: min(100% - 32px, 32rem); background: var(--chaux); color: var(--brun); box-shadow: 0 40px 100px rgba(0, 0, 0, .35); }
dialog::backdrop { background: rgba(14, 10, 8, .6); backdrop-filter: blur(4px); }
@media (prefers-reduced-motion: no-preference) { dialog[open] { animation: apparait .4s var(--ease); } }
.dialogue { display: grid; gap: 16px; padding: 28px; }
.dialogue h2 { font-size: 2.2rem; }
.choix { display: grid; gap: 10px; }
.choix button { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; text-align: left; padding: 16px; border: 1px solid var(--filet); border-radius: 14px; background: var(--sable); color: var(--brun); font: inherit; cursor: pointer; transition: border-color .2s, transform .2s var(--ease); }
.choix button:hover { border-color: var(--accent); transform: translateY(-2px); }
.choix button .icone { width: 32px; height: 32px; }
.choix strong { display: block; font-family: var(--f-titre); font-size: 1.45rem; font-weight: 500; }
.choix small { display: block; color: var(--brun-doux); }
.fermer { justify-self: end; background: none; border: 0; color: var(--brun-doux); font: 600 var(--t-s) var(--f-texte); cursor: pointer; padding: 8px; }
.note-choix { font-size: var(--t-s); color: var(--secondaire); min-height: 1.6em; }
.note-choix a { color: inherit; font-weight: 600; }
.toast { position: fixed; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 40; background: var(--brun); color: var(--chaux); padding: 12px 18px; border-radius: 999px; font-size: var(--t-s); max-width: calc(100% - 32px); }
@media (min-width: 900px) { .toast { bottom: 24px; } }

/* Carte : présentation inspirée des cartes imprimées des belles maisons —
   deux colonnes sur grand écran, prix alignés sans symbole, rubriques ornées,
   signatures en photo, barre de rubriques collante et filtres par préférence ou allergène. */
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.entete-carte { text-align: center; }
.entete-carte .surtitre { justify-content: center; }
.entete-carte .intro { margin-inline: auto; font-family: var(--f-titre); font-weight: 500; font-style: italic; font-size: var(--t-l); color: var(--brun-doux); }
.infos-carte { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 14px; font-size: var(--t-s); color: var(--brun-doux); }
.mention-halal { font-weight: 700; color: var(--secondaire); }

/* Signatures */
.signatures { padding-block: 8px 48px; }
.tete-signatures { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; margin-bottom: 20px; }
.tete-signatures h2 { font-size: var(--t-xl); color: var(--primaire); }
.tete-signatures p { color: var(--brun-doux); font-size: var(--t-s); }
.cartes-signatures { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
@media (max-width: 639px) {
  .cartes-signatures { grid-auto-flow: column; grid-auto-columns: 72%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .signature { scroll-snap-align: start; }
}
.signature { display: grid; gap: 6px; align-content: start; min-width: 0; }
.photo-signature { display: block; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--rayon) var(--rayon); overflow: hidden; background: var(--placeholder); margin-bottom: 8px; }
.photo-signature img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.photo-signature:hover img { transform: scale(1.04); }
.photo-signature.sans-photo { display: grid; place-items: center; color: var(--accent); }
.photo-signature.sans-photo svg { width: 40%; height: 40%; }
.signature h3 { font-size: 1.45rem; line-height: 1.15; }
.signature p { color: var(--brun-doux); font-size: var(--t-s); }
.signature .prix { color: var(--primaire); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Barre collante : rubriques et outils */
.barre-carte { position: sticky; top: var(--haut-entete, 64px); z-index: 15; background: color-mix(in srgb, var(--sable) 94%, transparent); backdrop-filter: blur(8px); border-block: 1px solid var(--filet); }
.barre-carte > .enveloppe { display: flex; align-items: center; gap: 12px; min-height: 56px; }
.sommaire-carte { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.sommaire-carte::-webkit-scrollbar { display: none; }
.sommaire-carte ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; white-space: nowrap; }
.sommaire-carte a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--brun-doux); font: 600 var(--t-s) var(--f-texte); text-decoration: none; border-bottom: 2px solid transparent; }
.sommaire-carte a:hover { color: var(--brun); }
.sommaire-carte a[aria-current="true"] { color: var(--primaire); border-bottom-color: var(--accent); }
.actions-carte { display: flex; gap: 8px; flex: none; }
.bouton-carte { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid var(--filet); border-radius: 999px; background: var(--chaux); color: var(--brun); font: 600 var(--t-xs) var(--f-texte); letter-spacing: .02em; cursor: pointer; }
.bouton-carte[hidden] { display: none; }
.bouton-carte svg { width: 18px; height: 18px; }
.bouton-carte[aria-expanded="true"], .bouton-carte[aria-pressed="true"] { background: var(--primaire-fond); color: var(--sur-primaire); border-color: transparent; }
.bouton-icone { padding: 0; width: 40px; justify-content: center; }
.compteur-filtres { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .72rem; }
.compteur-filtres[hidden] { display: none; }
@media (max-width: 759px) {
  .barre-carte > .enveloppe { flex-wrap: wrap; gap: 0 8px; padding-block: 4px 8px; }
  .sommaire-carte { flex-basis: 100%; }
  .actions-carte { width: 100%; }
  [data-afficher-allergenes] { margin-right: auto; }
}
.panneau-filtres { border-top: 1px solid var(--filet); padding-block: 14px 16px; }
.panneau-filtres[hidden] { display: none; }
.panneau-filtres .enveloppe { display: grid; gap: 12px; }
@media (min-width: 900px) { .panneau-filtres .enveloppe { grid-template-columns: auto 1fr; align-items: start; column-gap: 40px; } .resultat-filtres { grid-column: 1 / -1; } }
.panneau-filtres fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.panneau-filtres legend { font: 700 var(--t-xs) var(--f-texte); letter-spacing: .12em; text-transform: uppercase; color: var(--brun-doux); margin-bottom: 8px; padding: 0; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puces button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--filet); border-radius: 999px; background: var(--chaux); color: var(--brun); font: 600 var(--t-s) var(--f-texte); cursor: pointer; }
.puces button svg { width: 18px; height: 18px; color: var(--primaire); }
.puces button[aria-pressed="true"] { background: var(--primaire-fond); color: var(--sur-primaire); border-color: transparent; }
.puces button[aria-pressed="true"] svg { color: inherit; }
.resultat-filtres { font-size: var(--t-s); color: var(--brun-doux); }
.lien-effacer { background: none; border: 0; padding: 0 0 0 8px; color: var(--secondaire); font: 600 var(--t-s) var(--f-texte); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lien-effacer[hidden] { display: none; }

/* Rubriques et plats */
.carte { padding-top: 24px; }
.aucun-resultat { text-align: center; padding: 40px 0; font-family: var(--f-titre); font-weight: 500; font-size: var(--t-l); color: var(--brun-doux); }
.categorie { padding-block: 36px 12px; scroll-margin-top: calc(var(--haut-entete, 64px) + 120px); }
.categorie[hidden] { display: none; }
.tete-categorie { text-align: center; margin-bottom: 20px; }
.ornement { width: 28px; height: 28px; color: var(--accent); display: block; margin: 0 auto 6px; }
.tete-categorie h2 { font-size: var(--t-xl); color: var(--primaire); }
.tete-categorie h2::after { content: ""; display: block; width: 56px; height: 1px; background: var(--accent); margin: 12px auto 0; }
.intro-categorie { color: var(--brun-doux); max-width: 46ch; margin: 12px auto 0; font-size: var(--t-s); }
.plats-carte { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 0 56px; max-width: 64rem; }
@media (min-width: 1000px) { .plats-carte { grid-template-columns: 1fr 1fr; } }
.plat-carte { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px dotted color-mix(in srgb, var(--brun) 22%, transparent); align-items: start; }
.plat-carte[hidden] { display: none; }
.plat-carte.avec-photo { grid-template-columns: 76px 1fr; }
.photo-carte { display: block; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px var(--chaux), 0 0 0 4px color-mix(in srgb, var(--accent) 55%, transparent); }
.photo-carte .vignette { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.texte-plat { display: grid; gap: 4px; min-width: 0; }
.nom-plat { display: flex; align-items: baseline; gap: 16px; font-size: 1.4rem; line-height: 1.2; }
.nom-plat > span:first-child { flex: 1; }
.nom-plat .prix { font-family: var(--f-texte); font-size: 1rem; font-weight: 600; color: var(--primaire); font-variant-numeric: tabular-nums; white-space: nowrap; }
.description-plat { color: var(--brun-doux); font-size: var(--t-s); line-height: 1.5; max-width: 52ch; }
.pictos { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 2px; }
.picto { display: inline-flex; align-items: center; gap: 4px; font: 600 var(--t-xs) var(--f-texte); color: var(--secondaire); }
.picto svg { width: 16px; height: 16px; }
.picto-vegetarien, .picto-vegan { color: var(--primaire); }
.epuise { font: 700 var(--t-xs) var(--f-texte); letter-spacing: .06em; text-transform: uppercase; color: var(--brun-doux); border: 1px solid var(--filet); border-radius: 999px; padding: 2px 8px; }
.indisponible .nom-plat, .indisponible .description-plat, .indisponible .photo-carte { opacity: .5; }
.indisponible .nom-plat .prix { text-decoration: line-through; }
.allergenes-plat { font-size: var(--t-xs); color: var(--brun-doux); }
.allergenes-plat .libelle { font-weight: 700; }
.allergenes-plat sup { font-size: .7em; margin-left: 1px; }
.allergenes-masques .allergenes-plat { display: none; }

.pied-carte { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 900px) { .pied-carte { grid-template-columns: 1.6fr 1fr; } }
.legende, .envie { padding: 24px; background: var(--chaux); border-radius: var(--rayon); border: 1px solid var(--filet); }
.legende h2, .envie h2 { font-size: 1.4rem; margin-bottom: 12px; }
.legende ol { columns: 2 12rem; margin: 0 0 12px; padding-left: 1.6em; font-size: var(--t-s); }
.envie { background: var(--primaire-fond); color: var(--sur-primaire); border-color: transparent; display: grid; align-content: center; gap: 8px; }
.envie h2 { color: inherit; margin: 0; }
.envie .boutons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.envie .btn-plein { background: var(--sur-primaire); color: var(--primaire); }
.envie .btn-ligne { color: var(--sur-primaire); border-color: currentColor; }

.bandeau .infos-carte { justify-content: flex-start; color: rgba(255, 255, 255, .85); margin-top: 0; }
.bandeau .mention-halal { color: #F1D9A6; }
.bandeau-carte { text-align: left; }

/* Galerie */
.titre-groupe { font-size: 1.6rem; margin: 32px 0 16px; color: var(--primaire); }
.grille-galerie { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
.grille-galerie a { display: block; border-radius: var(--rayon); overflow: hidden; }
.grille-galerie img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; transition: transform .4s ease; }
@media (prefers-reduced-motion: no-preference) { .grille-galerie a:hover img { transform: scale(1.04); } }
.visionneuse { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; }
.visionneuse::backdrop { background: rgba(10, 8, 6, .92); }
.visionneuse img { display: block; max-width: 92vw; max-height: 80vh; margin: 0 auto; border-radius: 4px; }
.visionneuse .commandes { display: flex; justify-content: center; gap: 12px; margin-top: 12px; }
.visionneuse button { min-width: 48px; min-height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.4); color: #fff; font-size: 1.4rem; cursor: pointer; }

/* Pages légales et pied de page */
.texte-legal { display: grid; gap: 14px; max-width: 70ch; }
.texte-legal h2 { font-size: 1.5rem; margin-top: 16px; color: var(--primaire); }
.identite { display: grid; grid-template-columns: minmax(10rem, auto) 1fr; gap: 6px 20px; margin: 8px 0; }
.identite dd { margin: 0; }
.pied-colonnes { display: grid; gap: 28px; }
@media (min-width: 760px) { .pied-colonnes { grid-template-columns: 1.4fr 1fr 1fr; } }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied-titre { font-weight: 700; margin-bottom: 8px; }
.pied-legal { opacity: .8; font-size: var(--t-xs); border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; }
.choix button .icone { width: 32px; height: 32px; }
.choix small { display: block; }
.note-choix a { color: inherit; font-weight: 600; }

/* Impression de la carte : A4 sobre, deux colonnes, allergènes visibles, sans photos ni outils */
@media print {
  @page { margin: 14mm; }
  .entete, .fil, .pied, .barre-mobile, .barre-carte, .signatures, .envie, .annonce, dialog, .evitement, .ornement { display: none !important; }
  body { background: #fff; color: #000; padding: 0; font-size: 10pt; }
  .entete-page { padding: 0 0 10pt; }
  .entete-page h1 { font-size: 26pt; }
  .section-serree, .carte { padding: 0; }
  .categorie { padding-block: 8pt 0; }
  .tete-categorie { margin-bottom: 4pt; break-after: avoid; }
  .tete-categorie h2 { font-size: 16pt; }
  .plats-carte { grid-template-columns: 1fr 1fr; gap: 0 18pt; max-width: none; }
  .plat-carte, .plat-carte.avec-photo { grid-template-columns: 1fr; break-inside: avoid; padding: 4pt 0; }
  .photo-carte { display: none; }
  .nom-plat { font-size: 12pt; }
  .allergenes-masques .allergenes-plat { display: block; }
  .plat-carte[hidden], .categorie[hidden] { display: revert !important; }
  .pied-carte { display: block; margin-top: 12pt; }
  .legende { border: 0; padding: 0; background: none; }
}
@media (max-width: 559px) { .identite { grid-template-columns: 1fr; gap: 2px; } .identite dd { margin-bottom: 10px; } }
/* Mosaïque de l'accueil selon le nombre de photos */
@media (min-width: 760px) {
  .galerie-3 { grid-template-columns: 2fr 1fr; }
  .galerie-3 a:first-child { grid-column: auto; }
  .galerie-4 a:last-child { grid-column: span 2; }
  .galerie-2 a:first-child, .galerie-1 a:first-child { grid-row: auto; }
  .galerie-1 { grid-template-columns: 1fr; }
}
/* Page introuvable */
.page-erreur-contenu { padding-block: clamp(64px, 12vw, 160px); }
.page-erreur-contenu h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem); margin-bottom: 28px; }
/* Petits écrans : bouton menu en icône seule pour laisser la place au nom (le libellé reste lu par les lecteurs d'écran) */
@media (max-width: 419px) {
  .btn-menu { padding: 0; width: 44px; justify-content: center; }
  .btn-menu span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ==========================================================================
   Réservation en ligne
   ========================================================================== */
.entete-resa { padding: clamp(40px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); background: var(--sable); }
.entete-resa h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem); margin-top: 10px; }
.entete-resa .chapeau { margin: 14px 0 0; max-width: 40rem; font-size: var(--t-l); color: var(--brun-doux); }
.page-resa { display: grid; gap: 32px; padding-block: clamp(28px, 5vw, 56px); }
.page-resa > .form-resa:only-child, .page-resa > .carte-resa:only-child { max-width: 46rem; }
@media (min-width: 1000px) { .page-resa:has(> .aide-resa) { grid-template-columns: minmax(0, 1fr) 18rem; align-items: start; } .aide-resa { position: sticky; top: calc(var(--haut-entete, 72px) + 20px); } }
.form-resa { display: grid; gap: 22px; min-width: 0; }
.etape-resa { margin: 0; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--filet); border-radius: 18px; background: #fff; min-width: 0; }
.etape-resa legend { display: flex; align-items: center; gap: 12px; padding: 0 8px; margin-left: -8px; font-family: var(--f-titre); font-weight: 500; font-size: var(--t-l); }
.num-etape { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primaire-fond); color: var(--sur-primaire); font: 700 1rem var(--f-texte); }
.libelle-groupe { margin: 18px 0 10px; font-weight: 600; }
.etape-resa .libelle-groupe:first-of-type { margin-top: 8px; }
.choix-personnes { display: flex; flex-wrap: wrap; gap: 8px; }
.pastille, .heure { position: relative; }
.pastille input, .heure input, .jour input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pastille span, .heure span { display: inline-grid; place-items: center; min-width: 50px; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--filet); border-radius: 999px; font-weight: 600; background: var(--chaux); transition: background .15s, border-color .15s, color .15s; }
.pastille.large span { padding: 0 18px; }
.pastille input:hover + span, .heure input:hover + span { border-color: var(--primaire); }
.pastille input:checked + span, .heure input:checked + span { background: var(--primaire-fond); border-color: var(--primaire-fond); color: var(--sur-primaire); }
.pastille input:focus-visible + span, .heure input:focus-visible + span, .jour input:focus-visible + .num { outline: 3px solid var(--accent); outline-offset: 2px; }
.champ-groupe { margin-top: 14px; max-width: 22rem; }
.js .champ-groupe[hidden] { display: none; }
.champ-groupe input { width: 8rem; }
.calendrier { position: relative; display: grid; gap: 22px; }
@media (min-width: 700px) { .calendrier { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); } }
.mois-titre { margin: 0 0 8px; font-family: var(--f-titre); font-size: 1.25rem; text-transform: capitalize; }
.js .calendrier.pagine { grid-template-columns: 1fr; max-width: 26rem; }
.js .calendrier.pagine .mois[data-cache] { display: none; }
.grille-jours { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.nom-jour { text-align: center; font-size: var(--t-xs); color: var(--brun-doux); text-transform: uppercase; letter-spacing: .04em; padding-bottom: 4px; }
.jour { position: relative; aspect-ratio: 1; }
.jour .num { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 12px; font-weight: 600; font-variant-numeric: tabular-nums; transition: background .15s, color .15s; }
.jour[data-etat="libre"] .num { background: color-mix(in srgb, var(--primaire) 9%, #fff); color: var(--primaire); }
.jour[data-etat="libre"] input:hover + .num { background: color-mix(in srgb, var(--primaire) 20%, #fff); }
.jour input:checked + .num { background: var(--primaire-fond); color: var(--sur-primaire); }
.jour[data-etat="ferme"] .num, .jour[data-etat="complet"] .num { color: color-mix(in srgb, var(--brun) 35%, transparent); }
.jour[data-etat="complet"] .num { text-decoration: line-through; }
.jour input:disabled { cursor: not-allowed; }
.nav-mois { position: absolute; top: -6px; right: 0; display: flex; gap: 6px; }
.js .calendrier.pagine { padding-top: 0; }
.btn-mois { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--filet); background: #fff; font-size: 1.1rem; cursor: pointer; color: inherit; }
.btn-mois:disabled { opacity: .35; cursor: default; }
.js .sans-js { display: none; }
.liste-horaires { display: grid; gap: 18px; }
.service-titre { margin: 0 0 8px; font-weight: 600; color: var(--brun-doux); text-transform: uppercase; letter-spacing: .08em; font-size: var(--t-xs); }
.heures { display: flex; flex-wrap: wrap; gap: 8px; }
.heure span { min-width: 76px; font-variant-numeric: tabular-nums; }
.info-horaires { margin: 4px 0 0; color: var(--brun-doux); }
.info-horaires.alerte { padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 14%, #fff); color: var(--brun); }
.liste-horaires[aria-busy="true"] { opacity: .5; }
.js [data-coordonnees][hidden] { display: none; }
.grille-champs { display: grid; gap: 16px; margin-top: 6px; }
@media (min-width: 640px) { .grille-champs { grid-template-columns: 1fr 1fr; } .champ-resa.large { grid-column: 1 / -1; } }
.champ-resa { display: grid; gap: 6px; align-content: start; }
.champ-resa label { font-weight: 600; }
.champ-resa .aide { margin: -2px 0 0; font-size: var(--t-s); color: var(--brun-doux); }
.champ-resa input, .champ-resa textarea, .champ-groupe input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--filet); border-radius: 12px; background: var(--chaux); font: inherit; color: inherit; }
.champ-resa textarea { min-height: 96px; resize: vertical; }
.champ-resa input:focus, .champ-resa textarea:focus, .champ-groupe input:focus { outline: none; border-color: var(--primaire); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primaire) 22%, transparent); }
[aria-invalid="true"] { border-color: #B3261E !important; }
.case-resa { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; margin-top: 18px; }
.case-resa input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--primaire); }
.case-resa .erreur-champ { grid-column: 2; }
.erreur-champ { margin: 4px 0 0; color: #B3261E; font-weight: 600; font-size: var(--t-s); }
.erreurs-resa { padding: 16px 20px; border-radius: 14px; border: 2px solid #B3261E; background: #FCEEEC; }
.erreurs-resa p { margin: 0 0 6px; }
.erreurs-resa ul { margin: 0; padding-left: 20px; }
.erreurs-resa a { color: #8C1D18; }
.note-resa { margin: 18px 0 0; color: var(--brun-doux); font-size: var(--t-s); }
.envoi-resa { margin-top: 20px; }
.btn-grand { min-height: 56px; padding: 0 32px; font-size: 1.05rem; }
@media (max-width: 639px) { .envoi-resa .btn { width: 100%; } }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.aide-resa { padding: 22px; border-radius: 18px; background: var(--sable); display: grid; gap: 12px; }
.aide-resa p { margin: 0; font-family: var(--f-titre); font-weight: 500; font-size: 1.2rem; }
/* « Ma réservation » */
.carte-resa { padding: clamp(22px, 4vw, 36px); border-radius: 20px; background: #fff; border: 1px solid var(--filet); }
.carte-resa.celebration { border-color: color-mix(in srgb, var(--primaire) 40%, transparent); box-shadow: 0 18px 50px color-mix(in srgb, var(--primaire) 14%, transparent); }
.statut-resa { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: var(--t-s); background: color-mix(in srgb, var(--primaire) 12%, #fff); color: var(--primaire); }
.carte-resa[data-statut="en_attente"] .statut-resa { background: color-mix(in srgb, var(--accent) 18%, #fff); color: #6B4E12; }
.carte-resa[data-statut="annulee"] .statut-resa { background: #F2ECE6; color: var(--brun-doux); }
.onglets-demande { display: flex; flex-wrap: wrap; gap: 8px; }
.onglets-demande a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--filet); border-radius: 999px; background: var(--chaux); color: inherit; font-weight: 600; text-decoration: none; }
.onglets-demande a:hover { border-color: var(--primaire); }
.onglets-demande a[aria-current="page"] { background: var(--primaire-fond); border-color: var(--primaire-fond); color: var(--sur-primaire); }
.champ-message { margin-top: 18px; }
.facultatif { font-weight: 400; color: var(--brun-doux); font-size: var(--t-s); }
.dates-prises { margin-top: 14px; font-size: var(--t-s); color: var(--brun-doux); }
.dates-prises summary { cursor: pointer; text-decoration: underline; }
.dates-prises ul { margin: 8px 0 0; padding-left: 1.2em; columns: 2 12rem; }
.reference-demande { font-size: var(--t-l); }
.reference-demande strong { font-family: var(--f-titre); letter-spacing: .08em; }
.recap-resa { display: grid; gap: 0; margin: 0 0 24px; }
.recap-resa div { display: grid; grid-template-columns: minmax(7rem, 38%) 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--filet); }
.recap-resa dt { color: var(--brun-doux); }
.recap-resa dd { margin: 0; font-weight: 600; }
.actions-resa { display: flex; flex-wrap: wrap; gap: 10px; }
.annuler-resa { margin-top: 22px; }
.annuler-resa summary { cursor: pointer; color: var(--brun-doux); text-decoration: underline; }
.annuler-resa form { display: grid; gap: 14px; margin-top: 12px; justify-items: start; }
.btn-danger { background: #B3261E; color: #fff; }
.btn-danger:hover { background: #8C1D18; }
@media (prefers-reduced-motion: no-preference) {
  .celebration { animation: apparait-resa .7s var(--ease) both; }
  @keyframes apparait-resa { from { opacity: 0; transform: translateY(16px) scale(.98); } }
}
/* Fenêtre « Réserver » : choix du restaurant sous forme de lien */
.choix .choix-lien { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; text-align: left; padding: 16px; border: 1px solid var(--filet); border-radius: 14px; background: var(--chaux); color: inherit; text-decoration: none; transition: transform .2s, border-color .2s; }
.choix .choix-lien:hover { border-color: var(--accent); transform: translateY(-2px); }
.choix .choix-lien .icone { width: 32px; height: 32px; }
.choix .choix-lien strong, .choix .choix-lien small { display: block; }
.etape-resa legend { float: left; width: 100%; padding: 0; margin: 0 0 8px; }
.etape-resa legend + * { clear: both; }
.page-reserver .barre-mobile { display: none; }
.page-reserver { padding-bottom: 0; }

/* ==========================================================================
   Direction « Riad moderne » : aplats, lignes nettes, un seul motif marocain
   (l'arche des fenêtres de riad, et l'étoile à huit branches en trait fin).
   Ce bloc ne fait que la mise en scène : les couleurs viennent de la palette
   choisie par le gérant, et tout mouvement s'arrête si l'appareil le demande.
   ========================================================================== */
:root {
  --degrade: linear-gradient(120deg, var(--primaire-fond), var(--secondaire));
  --degrade-clair: linear-gradient(110deg, #F1D9A6, #FFFFFF);
  --sur-sombre: #F1D9A6;
  --arche: 999px 999px var(--rayon-image) var(--rayon-image);
  --etoile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M22 22h56v56H22zM50 10.4 89.6 50 50 89.6 10.4 50z'/%3E%3C/svg%3E");
  --etoile-trait: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23000' stroke-width='1.2'%3E%3Cpath d='M22 22h56v56H22zM50 10.4 89.6 50 50 89.6 10.4 50z'/%3E%3Ccircle cx='50' cy='50' r='13'/%3E%3C/svg%3E");
  --ressort: cubic-bezier(.3, 1.6, .5, 1);
  font-synthesis: none;
}

/* Titres : capitale fine à fort contraste ; le mot clé passe en italique et en dégradé */
h1, h2, h3, .logo .latin, .grande-phrase, .chiffre, .intro-page .enveloppe, .aide-resa p, .etape-resa legend, .choix strong { font-weight: 400; }
h1, h2 { letter-spacing: -.015em; }
.tete-section h2, .histoire-texte h2 { font-size: clamp(2.5rem, 1.5rem + 3.8vw, 4.6rem); line-height: 1; }
.heros-titre { line-height: .9; }
.heros-titre .mot:nth-last-child(1 of .mot) { font-style: italic; padding-right: .06em; background: var(--degrade-clair); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tete-section h2 em, .histoire-texte h2 em { background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.logo .latin { font-size: 1.9rem; }
.pied .logo .latin { font-size: 2.4rem; }

/* Surtitres et puces : une petite étoile à huit branches au lieu du trait */
.surtitre::before, .liste-coches li::before { content: ""; width: 12px; height: 12px; flex: none; background: var(--accent); -webkit-mask: var(--etoile) center / contain no-repeat; mask: var(--etoile) center / contain no-repeat; }
.liste-coches li { display: flex; align-items: baseline; gap: 12px; }
.liste-coches li::before { margin: 0; transform: translateY(1px); }
.heros .surtitre, .bandeau .surtitre, .section-galerie .surtitre { color: var(--sur-sombre); }
.heros .surtitre::before, .bandeau .surtitre::before, .section-galerie .surtitre::before { background: var(--sur-sombre); }
.heros-titre .arabe, .bandeau .mention-halal, .pied .logo .arabe, .pied .logo .embleme { color: var(--sur-sombre); }
.entete-carte .surtitre::before { display: block; }

/* Boutons : aplat, reflet, flèche qui avance, léger rebond au clic */
.btn-plein { box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--primaire-fond) 70%, transparent); }
.btn:active { transform: scale(.97); transition-duration: .08s; }
.compteur-filtres { background: var(--secondaire); }
.nav a::after { height: 2px; border-radius: 2px; background: var(--degrade); }

/* Arches : cadre des grandes photos, avec un fin filet intérieur */
.histoire-photo, .carte-plat-photo, .espace { border-radius: var(--arche); }
.histoire-photo { position: relative; box-shadow: 0 40px 70px -40px rgba(10, 16, 30, .55); }
.histoire-photo::after, .carte-plat-photo::before, .espace::after { content: ""; position: absolute; inset: 10px; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .38); pointer-events: none; z-index: 1; }
.histoire-photo::after { inset: 14px; }
.espace::after { z-index: 0; }
.photo-signature { border-radius: var(--arche); }

/* Frise d'arcades entre une section sombre et la suivante */
.pied, .section-galerie, .bandeau, .appel { position: relative; }
.pied::before, .section-galerie::before, .bandeau::after, .appel::after {
  content: ""; position: absolute; left: 0; right: 0; height: 14px; pointer-events: none;
  -webkit-mask: radial-gradient(circle at 50% 100%, #000 13px, transparent 13.5px) 0 0 / 30px 14px repeat-x;
  mask: radial-gradient(circle at 50% 100%, #000 13px, transparent 13.5px) 0 0 / 30px 14px repeat-x;
}
.pied::before, .section-galerie::before { top: -13px; background: var(--sombre); }
.bandeau::after, .appel::after { bottom: -1px; background: var(--chaux); z-index: 1; }

/* Étoile en trait fin qui tourne très lentement derrière la grande phrase d'accueil */
.presentation { position: relative; overflow: hidden; }
.presentation::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(520px, 90vw); aspect-ratio: 1; margin: calc(min(520px, 90vw) / -2) 0 0 calc(min(520px, 90vw) / -2); background: var(--accent); opacity: .16; -webkit-mask: var(--etoile-trait) center / contain no-repeat; mask: var(--etoile-trait) center / contain no-repeat; pointer-events: none; }
.presentation .enveloppe { position: relative; }

/* Cartes de plats : inclinaison 3D (script), reflet qui traverse la photo, prix qui grossit */
.carte-plat { --rx: 0deg; --ry: 0deg; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease); }
.carte-plat.incline { transition: transform .12s linear; }
.carte-plat-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .42) 50%, transparent 65%); transform: translateX(-130%); pointer-events: none; }
.etiquette-prix { z-index: 2; transition: transform .4s var(--ressort), background .3s, color .3s; transform-origin: left bottom; }
.carte-plat:hover .etiquette-prix { transform: scale(1.14); background: var(--primaire-fond); color: var(--sur-primaire); }
.carte-plat h3 { transition: color .3s; }
.carte-plat:hover h3 { color: var(--primaire); }
@media (prefers-reduced-motion: no-preference) {
  .carte-plat-photo::after { transition: transform 1s var(--ease); }
  .carte-plat:hover .carte-plat-photo::after { transform: translateX(130%); }
}

/* Vapeur au-dessus des plats (ajoutée par le script, décorative) */
.vapeur { position: absolute; left: 50%; top: 10%; width: 34%; translate: -50% 0; z-index: 1; overflow: visible; pointer-events: none; }
.vapeur path { fill: none; stroke: rgba(255, 255, 255, .92); stroke-width: 4; stroke-linecap: round; opacity: 0; }

/* Épices qui flottent dans le héros (ajoutées par le script, décoratives) */
.epices { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.epices i { position: absolute; left: var(--x); bottom: -10px; width: var(--t); height: var(--t); border-radius: 50%; background: var(--c); opacity: 0; }

/* Barre de lecture sous l'en-tête */
.barre-lecture { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--degrade); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.page-accueil .entete:not(.defile) .barre-lecture { opacity: 0; }

/* La carte : rubrique courante soulignée en douceur, plats qui glissent en place après un filtre */
.sommaire-carte a { position: relative; border-bottom: 0; }
.sommaire-carte a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--degrade); transform: scaleX(0); transition: transform .35s var(--ease); }
.sommaire-carte a[aria-current="true"]::after { transform: scaleX(1); }
.tete-categorie h2::after { width: 14px; height: 14px; background: var(--accent); -webkit-mask: var(--etoile) center / contain no-repeat; mask: var(--etoile) center / contain no-repeat; }
.photo-carte { box-shadow: 0 0 0 3px var(--chaux), 0 0 0 4px color-mix(in srgb, var(--primaire) 45%, transparent); }

/* Réservation : mêmes champs, aux couleurs de la palette */
.etape-resa { background: color-mix(in srgb, var(--chaux) 40%, #fff); }
.num-etape { background: var(--degrade); }

/* Animations (désactivées si l'appareil demande moins de mouvement) */
@media (prefers-reduced-motion: no-preference) {
  /* Les portes du riad s'ouvrent sur le héros de l'accueil */
  .heros::before, .heros::after { content: ""; position: absolute; top: 0; bottom: 0; width: 50.5%; z-index: 3; background: var(--sombre); pointer-events: none; animation: porte-gauche 1.7s cubic-bezier(.65, 0, .25, 1) .25s both; }
  .heros::before { left: 0; box-shadow: inset -1px 0 0 color-mix(in srgb, var(--sur-sombre) 45%, transparent); }
  .heros::after { right: 0; animation-name: porte-droite; box-shadow: inset 1px 0 0 color-mix(in srgb, var(--sur-sombre) 45%, transparent); }
  @keyframes porte-gauche { to { transform: translateX(-101%); } }
  @keyframes porte-droite { to { transform: translateX(101%); } }
  .heros-titre .mot { animation-delay: calc(.75s + var(--i, 0) * .12s); }
  .heros .surtitre { animation-delay: .6s; }
  .heros .entree { animation-delay: 1.2s; }
  .heros .actions { animation-delay: 1.35s; }

  .presentation::before { animation: respire 90s linear infinite; }
  @keyframes respire { 50% { transform: rotate(180deg) scale(1.06); } to { transform: rotate(360deg); } }

  .carte-plat:hover .vapeur path, .carte-plat:focus-within .vapeur path { animation: vapeur 3.6s ease-in-out infinite; }
  .vapeur path:nth-child(2) { animation-delay: 1.2s !important; }
  .vapeur path:nth-child(3) { animation-delay: 2.4s !important; }
  @keyframes vapeur { 0% { opacity: 0; transform: translateY(24px) scaleY(.8); } 30% { opacity: .85; } 100% { opacity: 0; transform: translateY(-30px) scaleY(1.15); } }

  .epices i { animation: flotte var(--d) linear infinite; animation-delay: var(--r); }
  @keyframes flotte { 8% { opacity: .85; } 85% { opacity: .6; } 100% { opacity: 0; transform: translate(var(--dx), -70vh); } }

  .carte.apres-filtre .plat-carte:not([hidden]) { animation: glisse-plat .5s var(--ease) both; }
  .carte.apres-filtre .categorie:not([hidden]) .tete-categorie { animation: glisse-plat .5s var(--ease) both; }
  @keyframes glisse-plat { from { opacity: 0; transform: translateY(14px); } }

  .espace::after { transition: transform .8s var(--ease); }
  .espace:hover::after { transform: scale(.97); }
}
@media (prefers-reduced-motion: reduce) { .vapeur, .epices { display: none; } }
@media print { .vapeur, .epices, .barre-lecture { display: none !important; } }

/* ==========================================================================
   Pages enrichies : héros d'accueil sans vidéo, page restaurant, pied de page
   ========================================================================== */

/* Le pied de page reste en bas de l'écran, même sur une page courte */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
body > main { flex: 1 0 auto; }

/* Pastilles d'information sur fond sombre (ouvert maintenant, capacité, halal) */
.puces-info { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px; border-radius: 999px; font-size: var(--t-s); font-weight: 600; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); }
.etat-ouverture .point { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.etat-ouverture.ouvert .point { background: #6FD3A8; box-shadow: 0 0 0 0 rgba(111, 211, 168, .6); }
.etat-ouverture.ferme .point { background: #E99A8B; }
@media (prefers-reduced-motion: no-preference) {
  .etat-ouverture.ouvert .point { animation: pouls 2s infinite; }
  @keyframes pouls { 70% { box-shadow: 0 0 0 8px rgba(111, 211, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 211, 168, 0); } }
}

/* Accueil sans vidéo : trois arches avec les plats signatures */
.heros-trio { min-height: 0; align-items: center; }
.heros-trio .heros-media, .heros-trio .heros-voile, .heros-trio .defiler { display: none; }
.heros-trio { display: grid; grid-template-columns: minmax(0, 1fr); padding-block: clamp(110px, 14vw, 150px) clamp(56px, 8vw, 96px); }
.heros-trio .heros-contenu { padding-block: 0; }
.heros-trio .heros-titre { font-size: clamp(3.4rem, 1.6rem + 7vw, 7.5rem); }
.trio { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 18px); align-items: end; width: min(100% - 40px, 560px); margin: 40px auto 0; }
.trio-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100% - 40px, 400px); }
.trio-1 { grid-template-columns: minmax(0, 1fr); width: min(100% - 40px, 280px); }
.trio-arche { position: relative; aspect-ratio: 9 / 15; border-radius: var(--arche); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.trio-arche:nth-of-type(odd) { aspect-ratio: 9 / 13; }
.trio-arche img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trio-arche::after { content: ""; position: absolute; inset: 8px; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .38); pointer-events: none; }
.trio-nom { position: absolute; left: 50%; bottom: 12px; translate: -50% 0; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: rgba(255, 255, 255, .94); color: var(--sombre); font-size: var(--t-xs); font-weight: 700; padding: 5px 10px; border-radius: 999px; z-index: 1; }
.trio-fond { position: absolute; inset: -10% -6% 6% -6%; border-radius: 999px 999px 30px 30px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); pointer-events: none; }
@media (min-width: 900px) {
  .heros-trio { grid-template-columns: 1.05fr .95fr; align-items: center; column-gap: 24px; padding-inline: max(40px, calc((100vw - var(--largeur)) / 2)); }
  .heros-trio .heros-contenu { padding-inline: 0; max-width: none; }
  .trio { margin: 0; justify-self: end; }
}
@media (prefers-reduced-motion: no-preference) {
  .trio-arche { animation: ouvre-arche 1.3s var(--ease) both; transform-origin: 50% 100%; animation-delay: calc(.9s + var(--i, 0) * .15s); }
  .trio-arche img { animation: zoom-doux 18s ease-in-out infinite alternate; }
  @keyframes ouvre-arche { from { opacity: 0; transform: scaleY(.1) scaleX(.7); } 50% { opacity: 1; } }
  @keyframes zoom-doux { to { transform: scale(1.08); } }
}

/* Page restaurant : bandeau en deux colonnes, texte et grande arche */
.bandeau-split { min-height: 0; }
.bandeau-split .enveloppe { display: grid; gap: 40px; align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(64px, 9vw, 120px); }
@media (min-width: 900px) { .bandeau-split .enveloppe { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.bandeau-split::before { background: radial-gradient(ellipse at 85% 10%, color-mix(in srgb, var(--primaire-fond) 45%, transparent), transparent 60%); }
.bandeau-texte { display: grid; gap: 20px; min-width: 0; }
.bandeau-split h1 { font-size: clamp(3.2rem, 1.6rem + 6vw, 6.4rem); }
.titre-mots .mot { display: inline-block; }
.titre-mots .mot:nth-last-child(1 of .mot) { font-style: italic; padding-right: .06em; background: var(--degrade-clair); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bandeau-split .accroche { font: italic 400 clamp(1.3rem, 1rem + 1.2vw, 1.9rem)/1.25 var(--f-titre); color: rgba(255, 255, 255, .9); max-width: 30ch; }
.arche-bandeau { position: relative; width: min(100%, 420px); aspect-ratio: 4 / 5; justify-self: center; }
.arche-bandeau .cadre { position: absolute; inset: 0; border-radius: var(--arche); overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6); }
.arche-bandeau img { width: 100%; height: 100%; object-fit: cover; display: block; }
.arche-bandeau .cadre::after { content: ""; position: absolute; inset: 12px; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .4); }
.arche-bandeau .halo { position: absolute; inset: -8% -10%; border-radius: 999px 999px 36px 36px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); pointer-events: none; }
@media (max-width: 899px) { .arche-bandeau { width: min(100%, 300px); } }
@media (prefers-reduced-motion: no-preference) {
  .titre-mots .mot { animation: monte 1s var(--ease) both; animation-delay: calc(.1s + var(--i, 0) * .12s); }
  .arche-bandeau .cadre { animation: ouvre-arche 1.4s var(--ease) both .15s; transform-origin: 50% 100%; }
  .arche-bandeau img { animation: zoom-doux 20s ease-in-out infinite alternate; }
  .arche-bandeau .halo { animation: respire-halo 9s ease-in-out infinite; }
  @keyframes respire-halo { 50% { transform: scale(1.03); opacity: .55; } }
  .bandeau-split .puces-info, .bandeau-split .actions, .bandeau-split .accroche { animation: apparait .9s var(--ease) both .45s; }
}

/* Réservation rapide, posée à cheval sur le bandeau */
.express { position: relative; z-index: 3; margin-top: -44px; }
.boite-express { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: flex-end; padding: 20px clamp(18px, 3vw, 28px); border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -30px rgba(18, 20, 40, .45); }
.boite-express .btn { margin-left: auto; white-space: nowrap; }
@media (max-width: 639px) { .boite-express .btn { width: 100%; } }
.boite-express fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
.boite-express legend { font: 700 var(--t-xs) var(--f-texte); letter-spacing: .12em; text-transform: uppercase; color: var(--brun-doux); padding: 0; margin-bottom: 8px; }
.choix-express { display: flex; flex-wrap: wrap; gap: 6px; }
.boite-express .pastille span { min-width: 46px; min-height: 46px; }
.boite-express .fleche { transition: transform .3s var(--ease); }
.boite-express .btn:hover .fleche { transform: translateX(4px); }

/* Notre maison : texte, puis chiffres clés */
.histoire.sans-photo { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-top: 8px; }
.chiffre-cle { display: grid; gap: 2px; margin: 0; padding: 18px 20px; border-radius: 18px; background: var(--sable); }
.chiffre-cle b { font: 400 3rem/1 var(--f-titre); color: var(--primaire); font-variant-numeric: tabular-nums; }
.chiffre-cle span { font-size: var(--t-s); color: var(--brun-doux); }
.fond-sable { background: var(--sable); }

/* Horaires : le jour courant mis en valeur */
.horaires dt, .horaires dd { padding: 6px 10px; border-radius: 10px; }
.horaires .aujourdhui { background: color-mix(in srgb, var(--primaire) 12%, transparent); color: var(--brun); font-weight: 700; }
.horaires dt.aujourdhui { border-radius: 10px 0 0 10px; } .horaires dd.aujourdhui { border-radius: 0 10px 10px 0; }
.horaires { gap: 2px 0; }

/* ---------- Pied de page complet ---------- */
.pied { padding-block: 0 28px; }
.pied-appel { display: grid; gap: 18px; padding-block: 56px 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.pied-accroche { font: 400 clamp(2rem, 1.2rem + 3vw, 3.4rem)/1.05 var(--f-titre); color: var(--creme); max-width: 22ch; }
.pied-espaces { display: grid; gap: 12px; }
@media (min-width: 760px) { .pied-espaces { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.pied-espaces a { position: relative; display: grid; gap: 4px; padding: 30px 22px 20px; border-radius: 999px 999px 18px 18px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); text-decoration: none; transition: transform .35s var(--ease), border-color .35s, background .35s; }
.pied-espaces a:hover { transform: translateY(-4px); border-color: var(--sur-sombre); background: rgba(255, 255, 255, .07); }
.pied-espaces b { font: 400 1.7rem/1.1 var(--f-titre); color: var(--creme); }
.pied-espaces span { font-size: var(--t-s); color: rgba(255, 255, 255, .75); }
.pied-espaces i { position: absolute; right: 22px; bottom: 20px; font-style: normal; color: var(--sur-sombre); transition: transform .3s var(--ease); }
.pied-espaces a:hover i { transform: translateX(4px); }
.pied .pied-colonnes { padding-block: 36px; gap: 28px; }
@media (min-width: 760px) { .pied .pied-colonnes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pied .pied-colonnes { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.pied-marque { display: grid; gap: 12px; align-content: start; }
.pied-titre { font: 700 var(--t-xs)/1 var(--f-texte); letter-spacing: .16em; text-transform: uppercase; color: var(--sur-sombre); margin-bottom: 14px; }
.pied .pied-colonnes ul { gap: 8px; }
.pied .pied-colonnes a { text-decoration: none; }
.pied .pied-colonnes a:hover { text-decoration: underline; }
.reseaux { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.reseaux a { display: inline-flex; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font-size: var(--t-xs); font-weight: 600; }
.pied-etat { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--creme); font-weight: 600; font-size: var(--t-s); }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: var(--t-xs); color: rgba(255, 255, 255, .65); }
.pied-bas ul { display: flex !important; flex-wrap: wrap; gap: 6px 18px !important; }
.pied-bas a { color: rgba(255, 255, 255, .85); }

/* ---------- Pages salle et traiteur ---------- */
.cadre-decor { background: var(--degrade); }
.decor-lanternes { width: 100%; height: 100%; display: block; }
.decor-lanternes line { stroke: color-mix(in srgb, var(--accent) 60%, #fff); stroke-width: 1; opacity: .6; }
.decor-lanternes path { fill: color-mix(in srgb, var(--accent) 25%, transparent); stroke: color-mix(in srgb, var(--accent) 70%, #fff); stroke-width: 1.4; }
.decor-lanternes circle { fill: color-mix(in srgb, var(--accent) 70%, #fff); }
@media (prefers-reduced-motion: no-preference) {
  .decor-lanternes g:nth-child(odd) circle { animation: lueur 2.8s ease-in-out infinite; }
  .decor-lanternes g:nth-child(even) circle { animation: lueur 3.6s ease-in-out infinite .8s; }
  @keyframes lueur { 50% { opacity: .35; } }
}

/* Événements en onglets (sans JavaScript : tous les événements à la suite) */
.section-evenements { background: var(--sombre); color: var(--creme); position: relative; }
.section-evenements .surtitre { color: var(--sur-sombre); }
.section-evenements .surtitre::before { background: var(--sur-sombre); }
.evenements { display: grid; gap: 28px; }
.choix-evt { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.choix-evt button { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: rgba(255, 255, 255, .8); font: 600 var(--t-s) var(--f-texte); cursor: pointer; transition: background .25s, color .25s; }
.choix-evt button[aria-selected="true"] { background: var(--creme); color: var(--sombre); border-color: var(--creme); }
.panneau-evt { display: grid; gap: 28px; align-items: center; }
@media (min-width: 760px) { .panneau-evt { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; } }
.visuel-evt { position: relative; aspect-ratio: 4 / 5; width: min(100%, 360px); border-radius: var(--arche); overflow: hidden; }
.visuel-evt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.visuel-evt::after { content: ""; position: absolute; inset: 10px; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .35); }
.texte-evt { display: grid; gap: 16px; justify-items: start; min-width: 0; }
.texte-evt h3 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.4rem); }
.texte-evt p { color: rgba(255, 255, 255, .82); font-size: 1.1rem; max-width: 40ch; }
@media (prefers-reduced-motion: no-preference) { .avec-onglets .panneau-evt:not([hidden]) { animation: apparait .55s var(--ease) both; } }

/* Capacité : configurations et plan animé */
.configs { display: grid; gap: 20px; align-items: center; }
@media (min-width: 760px) { .configs { grid-template-columns: 1fr 1.2fr; } }
.liste-configs { display: grid; gap: 10px; }
.liste-configs button { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; text-align: left; padding: 18px 20px; border-radius: 18px; border: 1.5px solid var(--filet); background: #fff; color: var(--brun); font: inherit; cursor: pointer; transition: border-color .25s, background .25s; }
.liste-configs button[aria-pressed="true"] { border-color: var(--primaire); background: color-mix(in srgb, var(--primaire) 8%, #fff); }
.liste-configs b { font: 400 1.6rem/1.1 var(--f-titre); }
.liste-configs .nb { font: 400 2.4rem/1 var(--f-titre); color: var(--primaire); font-variant-numeric: tabular-nums; }
.liste-configs small { grid-column: 1 / -1; color: var(--brun-doux); font-size: var(--t-s); }
.plan-salle { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; background: #fff; border: 1px solid var(--filet); overflow: hidden; }
.scene-salle { position: absolute; left: 30%; right: 30%; top: 0; height: 18px; border-radius: 0 0 999px 999px; background: color-mix(in srgb, var(--primaire) 18%, #fff); }
.plan-salle i { position: absolute; left: var(--x, 50%); top: var(--y, 50%); width: var(--t, 8px); height: var(--t, 8px); translate: -50% -50%; border-radius: 50%; background: var(--secondaire); transition: left .7s var(--ease), top .7s var(--ease), width .4s, height .4s, opacity .4s; }
.plan-salle i.table { background: color-mix(in srgb, var(--primaire) 22%, #fff); }
.plan-salle i.buffet { background: var(--accent); border-radius: 3px; }
.plan-salle i.cache { opacity: 0; }

/* Équipements */
.section-equipements { background: var(--sable); }
.equipements { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: 10px; }
.equipement { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--filet); font-weight: 600; transition: transform .3s var(--ease), border-color .3s; }
.equipement::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--accent); -webkit-mask: var(--etoile) center / contain no-repeat; mask: var(--etoile) center / contain no-repeat; }
.equipement:hover { transform: translateY(-3px); border-color: var(--primaire); }

/* Étapes numérotées */
.section-etapes { background: var(--sombre); color: var(--creme); position: relative; }
.section-etapes .surtitre { color: var(--sur-sombre); }
.section-etapes .surtitre::before { background: var(--sur-sombre); }
.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .etapes-4 { grid-template-columns: repeat(4, 1fr); } .etapes-3 { grid-template-columns: repeat(3, 1fr); } }
.etape { display: grid; gap: 8px; align-content: start; padding: 24px 22px; border-radius: 18px; background: var(--sombre-2); border: 1px solid rgba(255, 255, 255, .1); }
.etape b { font: italic 400 2.8rem/1 var(--f-titre); background: var(--degrade-clair); -webkit-background-clip: text; background-clip: text; color: transparent; justify-self: start; padding-right: .1em; }
.etape h3 { font-size: 1.6rem; }
.etape p { color: rgba(255, 255, 255, .75); font-size: var(--t-s); }

/* Traiteur : formules et zone de livraison */
.formules { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.formule { display: grid; align-content: start; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--filet); transition: transform .4s var(--ease), box-shadow .4s; }
.formule:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(18, 20, 40, .45); }
.formule-photo { aspect-ratio: 16 / 11; overflow: hidden; }
.formule-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.formule:hover .formule-photo img { transform: scale(1.06); }
.formule-texte { display: grid; gap: 8px; padding: 18px 20px 22px; }
.formule h3 { font-size: 1.7rem; }
.formule p { color: var(--brun-doux); font-size: var(--t-s); }
.zone { display: grid; gap: 32px; align-items: center; }
@media (min-width: 760px) { .zone { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.zone-texte { display: grid; gap: 14px; min-width: 0; color: var(--brun-doux); font-size: 1.05rem; }
.zone-texte h2 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4rem); color: var(--brun); }
.cercles { position: relative; aspect-ratio: 1; width: min(100%, 360px); justify-self: center; }
.cercles i { position: absolute; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--primaire) 50%, transparent); }
.cercles i:nth-child(1) { inset: 0; background: color-mix(in srgb, var(--primaire) 5%, transparent); }
.cercles i:nth-child(2) { inset: 18%; background: color-mix(in srgb, var(--primaire) 9%, transparent); }
.cercles i:nth-child(3) { inset: 36%; background: color-mix(in srgb, var(--primaire) 16%, transparent); }
.cercles b { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; translate: -50% -50%; border-radius: 50%; background: var(--primaire); box-shadow: 0 0 0 6px color-mix(in srgb, var(--primaire) 22%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .cercles i { animation: onde 6s ease-in-out infinite; }
  .cercles i:nth-child(2) { animation-delay: -2s; } .cercles i:nth-child(3) { animation-delay: -4s; }
  @keyframes onde { 50% { transform: scale(1.04); } }
}
.panneau-evt[hidden] { display: none; }
/* Sur le bandeau d'appel (fond couleur primaire), le bouton principal passe en clair. */
.appel .btn-plein { background: var(--clair, #fff); color: var(--primaire-fond); box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .45); }
.appel .btn-plein:hover { background: #fff; }

/* ---------- Titres en Bitter (serif à empattements carrés, plus affirmé) ---------- */
h1, h2, h3 { font-weight: 700; letter-spacing: -.015em; line-height: 1.1; }
h1 { font-weight: 800; }
.logo .latin { font-weight: 700; }
.logo .latin { font-size: 1.3rem; letter-spacing: -.02em; }
.pied .logo .latin { font-size: 1.6rem; }
.logo { flex-shrink: 0; }
.heros-titre { font-weight: 800; letter-spacing: -.02em; }

/* ---------- Accueil sans photo : les trois espaces en arches illustrées ---------- */
.arche-espace { display: grid; place-items: center; background: var(--degrade); color: #fff; text-decoration: none; transition: translate .4s var(--ease), box-shadow .4s var(--ease); }
.arche-espace .icone { width: 46%; height: auto; aspect-ratio: 1; color: color-mix(in srgb, var(--accent) 75%, #fff); opacity: .95; translate: 0 -10%; }
.arche-espace:hover, .arche-espace:focus-visible { translate: 0 -8px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8); }
.arche-espace:nth-of-type(2) { background: linear-gradient(160deg, color-mix(in srgb, var(--secondaire, var(--primaire)) 90%, #000), var(--primaire-fond)); }
.trio-espaces .trio-nom { font-size: .8rem; }
@media (prefers-reduced-motion: no-preference) {
  .arche-espace .icone { animation: flotte 5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .6s); }
}
@keyframes flotte { 50% { translate: 0 -14%; } }
.trio-espaces .trio-nom { white-space: normal; text-align: center; line-height: 1.15; width: max-content; max-width: calc(100% - 14px); padding: 5px 8px; }

/* Mots longs (néerlandais surtout) : coupure plutôt que débordement sur téléphone. */
h1, h2, .texte-legal { overflow-wrap: break-word; }
.texte-legal, .entete-page h1 { hyphens: auto; }
