/* ============================================================
   Cru « Bistrot » — feuille de style du site public
   Direction : bistrot typographique. Charbon, beurre, tomate, olive ;
   Archivo (variable, largeur et graisse) pour tout, Caveat pour les mots
   écrits à la main. Angles droits, gros titres, marges généreuses, images
   en bandes qui défilent. Mobile d'abord : les règles de base décrivent un
   écran de 390 px, les @media élargissent. Tout est en français.
   ============================================================ */

@font-face {
    font-family: "Archivo";
    src: url("../fonts/archivo-normal.2f7ea45bad3a.woff2") format("woff2");
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Archivo";
    src: url("../fonts/archivo-italic.f1de6d9ea318.woff2") format("woff2");
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Caveat";
    src: url("../fonts/caveat-normal.1fde3bbfa795.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --encre: #1a1613;
    --nuit: #161311;
    --nuit-2: #241f1b;
    --creme: #f4e9d3;
    --sable: #e2dfc4;
    --sable-2: #e9dfc9;
    --olive: #5b6b3a;
    --blanc: #fffaf0;
    --cuivre: #e8412c;
    --cuivre-fonce: #b52d1d;
    --cuivre-clair: #ffb3a6;
    --gris: #6b625a;
    --ligne: rgba(26, 22, 19, 0.16);
    --ligne-claire: rgba(244, 233, 211, 0.18);
    --serif: "Caveat", "Comic Sans MS", cursive;
    --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --marge: clamp(18px, 4.5vw, 64px);
    --largeur: 1440px;
    --rayon: 0px;
    --sortie: cubic-bezier(0.16, 1, 0.3, 1);
    --entete: 64px;
    --ticket: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    color: var(--encre);
    background: var(--creme);
    -webkit-font-smoothing: antialiased;
    padding-bottom: var(--ticket);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--cuivre); color: var(--creme); }

.evitement { position: absolute; left: -9999px; top: 8px; background: var(--nuit); color: #fff; padding: 8px 14px; z-index: 1000; }
.evitement:focus { left: 8px; }

/* ---------- typographie ---------- */
.manuscrit, em.manuscrit, .titre-page em, .titre-section em, .titre-bloc em { font-family: var(--serif); font-style: normal; font-weight: 500; letter-spacing: 0; }
.titre-geant, .titre-page, .titre-section {
    font-family: var(--sans);
    font-weight: 800;
    font-stretch: 112%;
    letter-spacing: -0.03em;
    line-height: 0.92;
    text-transform: uppercase;
}
.titre-geant { font-size: clamp(64px, 19vw, 300px); font-weight: 900; font-stretch: 125%; letter-spacing: -0.045em; line-height: 0.82; }
.titre-page { font-size: clamp(44px, 9vw, 120px); }
.titre-section { font-size: clamp(34px, 5.6vw, 76px); }
.titre-page em, .titre-section em { color: var(--cuivre); text-transform: none; font-size: 1.05em; }
.titre-bloc { font-family: var(--sans); font-weight: 700; font-stretch: 105%; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.08; letter-spacing: -0.02em; }
.surtitre {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    font-stretch: 110%;
    color: var(--cuivre-fonce);
    margin-bottom: 14px;
}
.surtitre::before { content: ""; width: 26px; height: 3px; background: var(--cuivre); flex: none; }
.texte-grand { font-size: clamp(17px, 1.9vw, 23px); line-height: 1.5; font-weight: 400; }
.texte-doux { color: var(--gris); }
.lien-souligne { text-decoration: none; border-bottom: 2px solid var(--cuivre); padding-bottom: 1px; font-weight: 600; transition: color 300ms, border-color 300ms; }
.lien-souligne:hover { color: var(--cuivre); }
.fond-nuit .lien-souligne:hover { color: var(--cuivre-clair); }

/* ---------- boutons ---------- */
.bouton {
    --fond: transparent;
    --texte: var(--encre);
    --bord: var(--encre);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: var(--rayon);
    border: 2px solid var(--bord);
    background: var(--fond);
    color: var(--texte);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    font-stretch: 110%;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: color 350ms var(--sortie), border-color 350ms var(--sortie), transform 250ms var(--sortie), box-shadow 350ms var(--sortie);
}
.bouton::before { content: ""; position: absolute; inset: 0; background: var(--encre); transform: translateX(-101%); transition: transform 450ms var(--sortie); z-index: -1; }
.bouton:hover::before, .bouton:focus-visible::before { transform: translateX(0); }
.bouton:hover, .bouton:focus-visible { color: var(--creme); border-color: var(--encre); }
.bouton:active { transform: translate(2px, 2px); }
.bouton-plein { --fond: var(--cuivre); --texte: #fff; --bord: var(--cuivre); box-shadow: 4px 4px 0 var(--encre); }
.bouton-plein::before { background: var(--nuit); }
.bouton-plein:hover { color: #fff; border-color: var(--nuit); box-shadow: 2px 2px 0 var(--encre); }
.bouton-clair { --texte: var(--creme); --bord: var(--creme); }
.bouton-clair::before { background: var(--creme); }
.bouton-clair:hover { color: var(--encre); border-color: var(--creme); }
.bouton-cuivre { --fond: var(--cuivre); --texte: #fff; --bord: var(--cuivre); }
.bouton-petit { padding: 9px 14px; font-size: 11px; }
.bouton-grand { padding: 18px 28px; font-size: 14px; }
.bouton[disabled], .bouton[aria-disabled="true"] { opacity: 0.4; pointer-events: none; box-shadow: none; }
.bouton-fleche::after { content: "→"; font-size: 16px; line-height: 1; transition: transform 400ms var(--sortie); }
.bouton-fleche:hover::after { transform: translateX(4px); }

/* ---------- en-tête ---------- */
.entete {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--entete);
    color: var(--encre);
    background: var(--creme);
    border-bottom: 2px solid var(--encre);
    transition: background 400ms, color 400ms, border-color 400ms, transform 500ms var(--sortie);
}
.entete-interieur { height: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--marge); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marque { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.marque-logo { height: 30px; width: auto; }
.marque .ed-vide { min-height: 0; padding: 4px 8px; font-size: 11px; }
.marque-nom { font-weight: 900; font-stretch: 125%; font-size: 20px; letter-spacing: -0.02em; text-transform: uppercase; white-space: nowrap; }
.navigation { display: none; }
.entete-actions { display: flex; align-items: center; gap: 12px; }
.entete-tel { display: none; }
.bouton-reserver { padding: 9px 12px; font-size: 11px; box-shadow: 3px 3px 0 var(--encre); }
.burger { position: relative; width: 42px; height: 42px; border: 2px solid var(--encre); border-radius: var(--rayon); background: none; cursor: pointer; padding: 0; }
.burger span { position: absolute; left: 10px; top: 50%; width: 18px; height: 2px; background: currentColor; transition: transform 400ms var(--sortie); }
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(3px); }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.entete.sur-nuit { color: var(--creme); background: transparent; border-color: transparent; }
.entete.sur-nuit .burger { border-color: var(--creme); }
.entete.sur-nuit .bouton-reserver { box-shadow: 3px 3px 0 var(--creme); }
.entete.compacte { background: var(--creme); color: var(--encre); border-color: var(--encre); }
.entete.compacte .burger { border-color: var(--encre); }
.entete.compacte .bouton-reserver { --fond: var(--cuivre); --texte: #fff; --bord: var(--cuivre); box-shadow: 3px 3px 0 var(--encre); }
.entete.cachee { transform: translateY(-100%); }
.entete.menu-ouvert { background: var(--nuit); color: var(--creme); border-color: var(--nuit); transform: none; }
.entete.menu-ouvert .burger { border-color: var(--creme); }

.menu-mobile { position: fixed; inset: var(--entete) 0 0 0; background: var(--nuit); color: var(--creme); padding: 32px var(--marge); display: flex; flex-direction: column; justify-content: space-between; z-index: 99; }
.menu-mobile[hidden] { display: none; }
.menu-mobile nav { display: flex; flex-direction: column; gap: 2px; }
.menu-mobile nav a { font-weight: 900; font-stretch: 118%; text-transform: uppercase; letter-spacing: -0.03em; font-size: clamp(40px, 11vw, 72px); line-height: 1; text-decoration: none; opacity: 0; transform: translateY(24px); animation: apparition 800ms var(--sortie) forwards; }
.menu-mobile nav a:nth-child(2) { animation-delay: 60ms; }
.menu-mobile nav a:nth-child(3) { animation-delay: 120ms; }
.menu-mobile nav a:nth-child(4) { animation-delay: 180ms; }
.menu-mobile nav a:nth-child(5) { animation-delay: 240ms; }
.menu-mobile-reserver { color: var(--cuivre); }
.menu-mobile-pied { display: flex; gap: 24px; font-size: 14px; }
.menu-mobile-pied a { color: rgba(244, 233, 211, 0.7); text-decoration: none; }
body.menu-ouvert { overflow: hidden; }

/* ---------- messages ---------- */
.messages { position: fixed; top: calc(var(--entete) + 12px); left: 50%; transform: translateX(-50%); z-index: 90; width: min(560px, calc(100% - 32px)); display: grid; gap: 8px; }
.message { background: var(--nuit); color: var(--creme); padding: 14px 18px; font-size: 14px; box-shadow: 6px 6px 0 var(--cuivre); animation: apparition 600ms var(--sortie); }
.message-error { background: #7a2418; }
.message-success { background: var(--olive); }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 9vw, 128px) var(--marge); }
.section-interieur { max-width: var(--largeur); margin: 0 auto; }
.fond-nuit { background: var(--nuit); color: var(--creme); }
.fond-nuit .surtitre { color: var(--cuivre-clair); }
.fond-nuit .surtitre::before { background: var(--cuivre); }
.fond-nuit .texte-doux { color: rgba(244, 233, 211, 0.66); }
.fond-nuit .titre-section em { color: var(--cuivre-clair); }
.fond-blanc { background: var(--blanc); }
.fond-sable { background: var(--sable); }
.entete-section { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.entete-section .titre-section { max-width: 16ch; }

/* ---------- apparitions au défilement ---------- */
[data-apparition] { opacity: 0; transform: translateY(24px); transition: opacity 900ms var(--sortie), transform 900ms var(--sortie); transition-delay: calc(var(--i, 0) * 80ms); }
[data-apparition].visible { opacity: 1; transform: none; }
[data-apparition="echelle"] { transform: scale(1.04); }
[data-apparition="echelle"].visible { transform: scale(1); }
.mot { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0.1em 0.06em 0.2em; margin: -0.1em -0.06em -0.06em; }
.mot > span { display: inline-block; transform: translateY(110%); transition: transform 1100ms var(--sortie); transition-delay: calc(var(--m) * 60ms); }
.mots-visibles .mot > span { transform: none; }
@keyframes apparition { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    [data-apparition], .mot > span { opacity: 1; transform: none; transition: none; }
    .menu-mobile nav a { animation: none; opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ---------- images ---------- */
.image-cadre { overflow: hidden; border-radius: var(--rayon); background: var(--sable-2); }
.image-cadre img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--sortie); }
.image-cadre:hover img { transform: scale(1.03); }

/* ============================================================
   ACCUEIL
   ============================================================ */
.heros { position: relative; min-height: min(100svh, 1040px); display: flex; flex-direction: column; justify-content: flex-end; color: var(--creme); background: var(--nuit); overflow: hidden; padding: calc(var(--entete) + 24px) 0 0; }
.heros-image { position: absolute; inset: 0; margin: 0; }
.heros-image img { width: 100%; height: 100%; object-fit: cover; opacity: 0.72; animation: zoom-lent 16s ease-out forwards; transform: scale(1.06); }
.heros::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 19, 17, 0.35) 0%, rgba(22, 19, 17, 0.1) 40%, rgba(22, 19, 17, 0.85) 100%); pointer-events: none; z-index: 1; }
@keyframes zoom-lent { to { transform: scale(1); } }
.heros-interieur { position: relative; z-index: 2; padding: 0 var(--marge) 28px; display: grid; gap: 14px; }
.heros-sur { font-size: clamp(22px, 3.4vw, 40px); color: var(--cuivre-clair); }
.heros .titre-geant { margin-left: -0.04em; word-break: break-word; }
.heros-bas { display: grid; gap: 18px; padding-top: 6px; }
.heros-texte { max-width: 46ch; font-size: clamp(16px, 1.6vw, 20px); color: rgba(244, 233, 211, 0.85); }
.heros-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.vivant { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px var(--marge); background: var(--creme); color: var(--encre); border-top: 2px solid var(--encre); font-size: 14px; }
.vivant-point { width: 10px; height: 10px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 0 rgba(91, 107, 58, 0.5); animation: pulse 2s infinite; flex: none; }
.vivant-point-gris { background: var(--gris); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(91, 107, 58, 0.5); } 70% { box-shadow: 0 0 0 10px rgba(91, 107, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 107, 58, 0); } }
.vivant-texte strong { font-weight: 800; }
.vivant-lien { margin-left: auto; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; text-decoration: none; color: var(--cuivre-fonce); }
@media (prefers-reduced-motion: reduce) { .heros-image img { animation: none; transform: none; } .vivant-point { animation: none; } }

/* bandeau défilant */
.defilant { background: var(--cuivre); color: var(--creme); overflow: hidden; padding: 12px 0; white-space: nowrap; font-weight: 800; font-stretch: 118%; text-transform: uppercase; letter-spacing: 0.02em; font-size: clamp(18px, 2.2vw, 28px); border-bottom: 2px solid var(--encre); }
.defilant-piste { display: inline-flex; animation: defile 38s linear infinite; }
.defilant-piste span { padding: 0 22px; }
.defilant-piste span::after { content: "✶"; margin-left: 44px; font-size: 0.7em; vertical-align: middle; }
@keyframes defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .defilant-piste { animation: none; } }

/* ardoise et formules */
.ardoise-grille { display: grid; gap: 32px; }
.ardoise { background: var(--nuit); color: var(--creme); padding: clamp(26px, 4vw, 44px); box-shadow: 8px 8px 0 var(--cuivre); display: grid; gap: 14px; position: relative; background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 6px 6px; }
.ardoise-titre { font-size: clamp(28px, 3.6vw, 44px); color: var(--cuivre-clair); }
.ardoise-texte { font-size: clamp(26px, 3.4vw, 42px); line-height: 1.25; }
.ardoise-texte p { margin: 0; }
.ardoise-texte p::before { content: "— "; color: var(--cuivre-clair); }
.ardoise-note { font-size: 13px; color: rgba(244, 233, 211, 0.6); padding-top: 10px; border-top: 1px solid var(--ligne-claire); }
.formules { display: grid; gap: 16px; align-content: start; }
.formules-liste { display: grid; gap: 0; border-top: 2px solid var(--encre); }
.formule { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--ligne); }
.formule-prix { font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); font-weight: 700; color: var(--cuivre); line-height: 1; grid-row: span 2; }
.formule-nom { font-weight: 800; font-stretch: 110%; text-transform: uppercase; letter-spacing: 0.02em; font-size: 15px; }
.formule-nom small { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--gris); font-size: 13px; margin-left: 6px; }
.formule-detail { font-size: 14px; color: var(--gris); grid-column: 2; }
.formules-ligne { border-top: 0; }

/* plats signature : bande qui défile */
.defile { position: relative; }
.defile-piste { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--marge) 8px; scrollbar-width: none; }
.defile-piste::-webkit-scrollbar { display: none; }
.plat-carte { flex: 0 0 min(78vw, 360px); scroll-snap-align: start; background: var(--nuit-2); color: var(--creme); border: 1px solid var(--ligne-claire); display: grid; grid-template-rows: auto 1fr; }
.plat-image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--nuit); }
.plat-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--sortie); }
.plat-carte:hover .plat-image img { transform: scale(1.04); }
.plat-carte-texte { padding: 18px 18px 22px; display: grid; gap: 6px; position: relative; }
.plat-carte-prix { position: absolute; top: -26px; right: 14px; background: var(--cuivre); color: #fff; font-size: 28px; font-weight: 700; padding: 4px 12px; transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--encre); }
.plat-carte-nom { font-weight: 800; font-stretch: 108%; text-transform: uppercase; letter-spacing: -0.01em; font-size: 20px; line-height: 1.05; }
.plat-carte-desc { font-size: 14px; color: rgba(244, 233, 211, 0.7); }
.plat-carte-cat { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cuivre-clair); font-weight: 700; }
.defile-nav { display: none; }

/* carte en bref */
.carte-bref { display: grid; gap: 36px; }
.carte-bref-tete { display: grid; gap: 16px; justify-items: start; }
.carte-colonnes { display: grid; gap: 28px; }
.carte-colonne-titre { font-weight: 900; font-stretch: 118%; text-transform: uppercase; font-size: 14px; letter-spacing: 0.12em; padding-bottom: 8px; border-bottom: 2px solid var(--encre); margin-bottom: 8px; }
.carte-lignes { display: grid; gap: 0; }
.carte-ligne { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; font-size: 15px; }
.carte-ligne-nom { font-weight: 500; }
.carte-ligne-points { flex: 1; border-bottom: 2px dotted var(--ligne); min-width: 20px; transform: translateY(-4px); }
.carte-ligne-prix { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--cuivre-fonce); white-space: nowrap; }

/* galerie */
.galerie-piste { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--marge); scrollbar-width: none; }
.galerie-piste::-webkit-scrollbar { display: none; }
.galerie-image { flex: 0 0 min(82vw, 520px); aspect-ratio: 4 / 3; margin: 0; overflow: hidden; scroll-snap-align: center; background: var(--sable-2); border: 2px solid var(--encre); }
.galerie-image:nth-child(even) { flex-basis: min(60vw, 360px); aspect-ratio: 3 / 4; margin-top: 40px; }
.galerie-image img { width: 100%; height: 100%; object-fit: cover; }

/* chef */
.chef-grille { display: grid; gap: 28px; }
.chef-portrait { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border: 2px solid var(--encre); box-shadow: 10px 10px 0 var(--cuivre); max-width: 420px; }
.chef-portrait img { width: 100%; height: 100%; object-fit: cover; }
.chef-texte { display: grid; gap: 16px; align-content: center; }
.chef-citation { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.2; }
.chef-nom { font-style: normal; font-weight: 800; font-stretch: 110%; text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; }

/* infos pratiques */
.infos { display: grid; gap: 14px; }
.infos-bloc { display: grid; gap: 10px; align-content: start; background: var(--blanc); padding: clamp(22px, 3vw, 32px); border: 2px solid var(--encre); }
.infos-bloc-accent { background: var(--nuit); color: var(--creme); box-shadow: 8px 8px 0 var(--cuivre); }
.infos-bloc-accent .surtitre { color: var(--cuivre-clair); }
.horaires { display: grid; gap: 0; font-size: 15px; }
.horaires li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--ligne); font-variant-numeric: tabular-nums; }
.horaires li span:last-child { text-align: right; }
.horaires li b { font-weight: 600; }
.horaires li i { color: var(--gris); font-style: normal; }
.horaires li.aujourd-hui { font-weight: 700; }
.horaires li.aujourd-hui span:first-child::after { content: " · aujourd'hui"; font-weight: 700; color: var(--cuivre); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.fond-nuit .horaires li { border-color: var(--ligne-claire); }
.actions-ligne { display: flex; flex-wrap: wrap; gap: 10px; }

/* privatiser : teaser et blocs */
.privatiser-teaser { display: grid; gap: 18px; justify-items: start; }
.privatiser-teaser .titre-section { max-width: 16ch; }
.trois-blocs { display: grid; gap: 14px; }
.bloc-chiffre { border: 2px solid var(--encre); padding: 24px; display: grid; gap: 8px; background: var(--blanc); }
.bloc-chiffre strong { font-size: clamp(40px, 5vw, 64px); font-weight: 900; font-stretch: 118%; letter-spacing: -0.03em; line-height: 1; color: var(--cuivre); }
.bloc-chiffre span { font-size: 15px; color: var(--gris); }

/* appel final */
.appel { text-align: center; display: grid; gap: 22px; justify-items: center; }
.appel .titre-section { max-width: 16ch; }

/* ============================================================
   PAGES INTÉRIEURES
   ============================================================ */
.tete-page { padding: calc(var(--entete) + clamp(40px, 7vw, 96px)) var(--marge) clamp(32px, 5vw, 64px); }
.tete-page .titre-page { max-width: 12ch; }
.tete-page-interieur { max-width: var(--largeur); margin: 0 auto; display: grid; gap: 22px; }
.tete-page .texte-grand { max-width: 50ch; }

/* la carte complète */
.carte-complete { display: grid; gap: 0; }
.categorie { padding: clamp(28px, 5vw, 56px) 0; display: grid; gap: 22px; border-top: 2px solid var(--encre); }
.categorie-tete { display: grid; gap: 6px; }
.categorie-tete .surtitre { color: var(--cuivre); margin: 0; }
.categorie-tete .titre-section { font-size: clamp(22px, 2.4vw, 34px); font-stretch: 100%; letter-spacing: -0.02em; }
.categorie-sous { font-size: 22px; }
.plats { display: grid; gap: 0; }
.plat { padding: 14px 0; border-bottom: 1px solid var(--ligne); display: grid; gap: 4px; position: relative; transition: padding 400ms var(--sortie); }
.plat:hover { padding-left: 12px; }
.plat::before { content: ""; position: absolute; left: 0; top: 0; bottom: -1px; width: 4px; background: var(--cuivre); transform: scaleY(0); transform-origin: top; transition: transform 400ms var(--sortie); }
.plat:hover::before { transform: scaleY(1); }
.plat-ligne { display: flex; align-items: baseline; gap: 10px; }
.plat-nom { font-weight: 700; font-stretch: 106%; font-size: clamp(17px, 2vw, 22px); line-height: 1.15; }
.plat-points { flex: 1; border-bottom: 2px dotted var(--ligne); min-width: 24px; transform: translateY(-5px); }
.plat-prix { font-size: clamp(24px, 2.8vw, 34px); font-weight: 600; color: var(--cuivre-fonce); white-space: nowrap; line-height: 1; }
.plat-prix small { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--gris); }
.plat-desc { font-size: 14px; color: var(--gris); max-width: 62ch; }
.etiquette { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; border: 1.5px solid var(--olive); color: var(--olive); vertical-align: 3px; margin-left: 4px; }
.carte-legende { font-size: 13px; padding-top: 20px; border-top: 2px solid var(--encre); }
.apercu-flottant { position: fixed; width: 240px; aspect-ratio: 4 / 3; overflow: hidden; pointer-events: none; z-index: 50; opacity: 0; transform: scale(0.92) rotate(-2deg); transition: opacity 400ms var(--sortie), transform 600ms var(--sortie); display: none; border: 2px solid var(--encre); box-shadow: 8px 8px 0 var(--cuivre); background: var(--sable-2); }
.apercu-flottant.visible { opacity: 1; transform: scale(1) rotate(0); }
.apercu-flottant img { width: 100%; height: 100%; object-fit: cover; }

/* le lieu */
.mosaique { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mosaique figure { aspect-ratio: 3 / 4; border: 2px solid var(--encre); }
.mosaique figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.histoire { max-width: 820px; }
.prose-large { font-size: clamp(19px, 2.2vw, 28px); line-height: 1.4; display: grid; gap: 18px; font-weight: 400; }
.video-lieu { border: 2px solid var(--encre); overflow: hidden; background: var(--nuit); }
.video-lieu iframe, .video-lieu video { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }

/* gestion d'une réservation */
.carte-bloc { background: var(--blanc); padding: clamp(24px, 4vw, 40px); display: grid; gap: 22px; border: 2px solid var(--encre); }
.recap { display: grid; gap: 10px; }
.recap-date { font-weight: 900; font-stretch: 115%; text-transform: uppercase; letter-spacing: -0.03em; font-size: clamp(28px, 4.6vw, 48px); line-height: 1; }
.recap-date em { color: var(--cuivre); text-transform: none; font-size: 1.1em; }
.pastille { display: inline-block; padding: 5px 10px; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; background: var(--sable); color: var(--encre); }
.pastille-ok { background: #dfe8cc; color: #38471f; }
.pastille-arrivee { background: var(--olive); color: #fff; }
.pastille-attente { background: #f8e2b0; color: #6b4a08; }
.pastille-non { background: #f3cfc9; color: #7a2418; }
.pastille-douce { background: var(--sable); color: var(--gris); font-weight: 700; }
.formulaire { display: grid; gap: 16px; }
.champ { display: grid; gap: 6px; }
.champ label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; color: var(--gris); }
.champ input, .champ select, .champ textarea { font: inherit; font-size: 16px; padding: 13px 14px; border: 2px solid var(--encre); border-radius: var(--rayon); background: var(--blanc); color: var(--encre); width: 100%; transition: box-shadow 200ms; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--cuivre); }
.champ textarea { min-height: 100px; resize: vertical; }
.champ-case { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--gris); }
.champ-case input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--cuivre); }
.champ-piege { position: absolute; left: -9999px; }
.choix-creneaux { display: grid; gap: 22px; }
.jour-creneaux { display: grid; gap: 8px; }
.jour-creneaux h3 { font-weight: 800; font-stretch: 110%; text-transform: uppercase; font-size: 16px; letter-spacing: 0.02em; }
.heures { display: flex; flex-wrap: wrap; gap: 6px; }
.heure { font: inherit; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; padding: 9px 13px; border: 2px solid var(--encre); background: var(--blanc); cursor: pointer; transition: background 200ms, color 200ms, box-shadow 200ms; }
.heure:hover { box-shadow: 3px 3px 0 var(--cuivre); }
.heure[aria-pressed="true"], .heure.choisie { background: var(--cuivre); color: #fff; border-color: var(--cuivre); box-shadow: 3px 3px 0 var(--encre); }

/* pages légales */
.prose { max-width: 72ch; display: grid; gap: 16px; font-size: 16px; }
.prose h2 { font-weight: 800; font-stretch: 110%; text-transform: uppercase; font-size: 22px; letter-spacing: 0.02em; margin-top: 20px; }
.prose ul { list-style: disc; padding-left: 20px; }
.prose .a-completer { background: #fff3c4; padding: 0 5px; }

/* ============================================================
   PIED ET TICKET
   ============================================================ */
.pied { background: var(--nuit); color: var(--creme); padding: clamp(56px, 8vw, 96px) var(--marge) calc(28px + var(--ticket)); border-top: 4px solid var(--cuivre); }
.pied-interieur { max-width: var(--largeur); margin: 0 auto; display: grid; gap: 36px; }
.pied-colonne { display: grid; gap: 8px; font-size: 15px; align-content: start; }
.pied-colonne .surtitre { color: var(--cuivre-clair); margin-bottom: 4px; }
.pied-colonne a { color: rgba(244, 233, 211, 0.85); }
.pied-nom { font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.04em; font-size: clamp(48px, 9vw, 120px); line-height: 0.85; }
.pied-baseline { color: var(--cuivre-clair); font-size: 26px; max-width: 32ch; margin-bottom: 8px; }
.pied-acces { color: rgba(244, 233, 211, 0.66); font-size: 14px; }
.pied-horaires li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(244, 233, 211, 0.8); font-variant-numeric: tabular-nums; padding: 3px 0; }
.pied-horaires b { font-weight: 600; }
.pied-horaires i { font-style: normal; opacity: 0.5; }
.pied-bas { max-width: var(--largeur); margin: 48px auto 0; padding-top: 22px; border-top: 1px solid var(--ligne-claire); display: grid; gap: 12px; font-size: 12px; color: rgba(244, 233, 211, 0.5); }
.pied-bas nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pied-bas a { color: inherit; text-decoration: none; }
.pied-bas a:hover { color: var(--creme); }
.pied-credit a { border-bottom: 1px solid currentColor; }

.ticket { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 10px var(--marge) calc(10px + env(safe-area-inset-bottom)); background: var(--creme); border-top: 2px solid var(--encre); display: flex; }
.ticket-bouton { width: 100%; }
body { --ticket: 70px; }
body.page-reserver .ticket, body.reservation-ouverte .ticket { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 700px) {
    .ardoise-grille { grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
    .carte-colonnes { grid-template-columns: 1fr 1fr; gap: 24px 40px; }
    .infos { grid-template-columns: 1fr 1fr; }
    .chef-grille { grid-template-columns: minmax(260px, 1fr) 1.4fr; gap: 56px; align-items: center; }
    .mosaique { grid-template-columns: 2fr 1fr 1fr; }
    .mosaique figure:first-child { grid-column: auto; grid-row: span 2; aspect-ratio: auto; }
    .trois-blocs { grid-template-columns: repeat(3, 1fr); }
    .formules-ligne { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .formules-ligne .formule { border: 2px solid var(--encre); padding: 18px; background: var(--blanc); }
    .categorie { grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
    .categorie-tete { position: sticky; top: calc(var(--entete) + 24px); }
    .heros-interieur { padding-bottom: 36px; }
    .plat-carte { flex-basis: 380px; }
}

@media (min-width: 1000px) {
    :root { --entete: 72px; }
    body { --ticket: 0px; }
    .ticket { display: none; }
    .navigation { display: flex; gap: 2px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; }
    .navigation a { text-decoration: none; position: relative; padding: 8px 12px; }
    .navigation a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; background: var(--cuivre); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--sortie); }
    .navigation a:hover::after, .navigation a[aria-current="page"]::after { transform: scaleX(1); }
    .entete-tel { display: inline; font-size: 14px; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
    .burger { display: none; }
    .bouton-reserver { padding: 11px 16px; font-size: 12px; }
    .marque-nom { font-size: 24px; }
    .heros-interieur { grid-template-columns: 1fr; }
    .heros-bas { grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
    .carte-bref { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
    .carte-bref-tete { position: sticky; top: calc(var(--entete) + 24px); }
    .infos { grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; }
    .apercu-flottant { display: block; }
    .defile-nav { display: flex; gap: 8px; position: absolute; right: var(--marge); top: -72px; }
    .defile-bouton { width: 46px; height: 46px; border: 2px solid var(--creme); background: transparent; color: var(--creme); cursor: pointer; font-size: 18px; transition: background 200ms, color 200ms; }
    .defile-bouton:hover { background: var(--creme); color: var(--nuit); }
    .section-signatures .section-interieur { position: relative; }
    .galerie-image { flex-basis: 640px; }
    .galerie-image:nth-child(even) { flex-basis: 420px; }
    .tete-page-interieur { grid-template-columns: 1.3fr 1fr; align-items: end; }
}

/* pied de page : colonnes */
@media (min-width: 700px) {
    .pied-interieur { grid-template-columns: 1fr 1fr; }
    .pied-marque { grid-column: 1 / -1; }
    .pied-bas { grid-template-columns: auto 1fr auto; align-items: center; }
    .pied-bas nav { justify-content: center; }
}
@media (min-width: 1000px) {
    .pied-interieur { grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 48px; }
    .pied-marque { grid-column: auto; }
}

/* ---------- éditeur : sélecteur de langue, fonds, formulaire ---------- */
.langues { display: inline-flex; gap: 2px; margin-left: 6px; }
.langues a { text-decoration: none; font-size: 12px; letter-spacing: 0.08em; padding: 4px 8px; opacity: 0.6; }
.langues a[aria-current] { opacity: 1; background: rgba(26, 22, 19, 0.1); }
.entete.sur-nuit .langues a[aria-current], .menu-mobile .langues a[aria-current] { background: rgba(244, 233, 211, 0.15); }
.menu-mobile .langues { margin: 8px 0 0; }
[data-fond-texte="clair"] { color: var(--creme); }
[data-fond-texte="clair"] .surtitre { color: var(--cuivre-clair); }
[data-fond-texte="clair"] .texte-doux { color: rgba(244, 233, 211, 0.66); }
[data-fond-texte="clair"] .bouton { --texte: var(--creme); --bord: var(--creme); }
[data-fond-texte="clair"] .infos-bloc, [data-fond-texte="clair"] .bloc-chiffre { background: rgba(255, 255, 255, 0.06); border-color: var(--ligne-claire); }
[data-fond-texte="clair"] .chef-portrait { border-color: var(--creme); }
[data-fond-texte="sombre"] { color: var(--encre); }
[data-fond-texte="sombre"] .surtitre { color: var(--cuivre-fonce); }

.contact { max-width: 760px; }
.formulaire-titre { font-weight: 800; font-stretch: 110%; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(28px, 4vw, 48px); line-height: 1; margin-bottom: 12px; }
.formulaire-intro { color: var(--gris); margin-bottom: 24px; max-width: 56ch; font-size: 17px; }
.formulaire-champ { display: grid; gap: 6px; }
.formulaire-champ label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; color: var(--gris); }
.formulaire-champ input:not([type="checkbox"]), .formulaire-champ textarea, .formulaire-champ select { width: 100%; font: inherit; color: inherit; background: var(--blanc); border: 2px solid var(--encre); border-radius: var(--rayon); padding: 12px 14px; }
.formulaire-champ textarea { min-height: 140px; resize: vertical; }
.formulaire-champ input:focus, .formulaire-champ textarea:focus, .formulaire-champ select:focus { outline: none; box-shadow: 4px 4px 0 var(--cuivre); }
.formulaire-case { display: flex; gap: 10px; align-items: center; text-transform: none !important; letter-spacing: 0 !important; font-size: 15px !important; font-weight: 400 !important; color: inherit !important; }
.formulaire-aide { color: var(--gris); font-size: 13px; }
.formulaire-erreur { color: #7a2418; font-size: 13px; }
.formulaire-champ.en-erreur input, .formulaire-champ.en-erreur textarea { border-color: #b3423d; }
.formulaire-piege { position: absolute; left: -9999px; }
.formulaire-merci { background: var(--nuit); color: var(--creme); padding: 20px 24px; font-size: 18px; box-shadow: 6px 6px 0 var(--cuivre); }
[data-fond-texte="clair"] .formulaire-champ input, [data-fond-texte="clair"] .formulaire-champ textarea, [data-fond-texte="clair"] .formulaire-champ select { background: rgba(255, 255, 255, 0.08); color: inherit; border-color: var(--ligne-claire); }
