/* =============================================================================
 * Bus Pizza — ÉDITION PREMIUM
 * -----------------------------------------------------------------------------
 * Couche chargée après style.css. Aucun sélecteur de base n'est réécrit dans
 * style.css : tout se pilote d'ici, ce qui permet de revenir en arrière en
 * retirant simplement ce fichier.
 *
 * Grammaire visuelle tirée du logo Bus Pizza :
 *   · la tête de vache aux cornes tracées d’un trait   → préchargeur, 404, médaillons
 *   · l’écriture « Bus Pizza » (Allura)                → surtitres, filigranes
 *   · les titres de bistrot (Fraunces)                  → titres
 *   · « LE COIN DES BONS VIVANTS » (Montserrat)          → étiquettes, navigation
 *   · cuivre du logo, bleu nuit de l’auvent, moutarde douce des chaises
 */

/* 1. JETONS ------------------------------------------------------------------ */
:root {
    --f-script: "Kaushan Script", "Brush Script MT", cursive; /* manuscrit, dans l’esprit de « Bus Pizza » */

    /* Double filet (cercle du logo) : vert canard / trait clair / vert canard */
    --it-green: #E8952A;
    --it-white: #DDD5C4;
    --it-red:   #E8952A;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out:   cubic-bezier(0.76, 0, 0.24, 1);

}

/* 2. SÉLECTION · DÉFILEMENT ---------------------------------------------------- */
::selection { background: var(--c-bordeaux); color: var(--c-cream); }
html { scrollbar-color: var(--c-bordeaux) var(--c-cream-deep); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--c-cream-deep); }
::-webkit-scrollbar-thumb { background: var(--c-bordeaux); border-radius: 10px; border: 2px solid var(--c-cream-deep); }

/* 3. FILET TRICOLORE ---------------------------------------------------------
   Reproduit le filet du logo : segment vert épais, blanc très fin, rouge épais. */
.filet {
    display: block;
    height: 3px;
    width: 100%;
    background:
        linear-gradient(var(--it-green), var(--it-green)) top / 100% 1px no-repeat,
        linear-gradient(var(--it-red), var(--it-red)) bottom / 100% 1px no-repeat;
    transform-origin: center;
}

/* 5. EN-TÊTE (ACCUEIL) ------------------------------------------------------
   Sur l'accueil, le sceau du hero EST le logo : celui de l'en-tête n'apparaît
   qu'une fois le hero quitté (passage à .is-scrolled). */
body.home .site-header .brand {
    transition: opacity 0.3s ease;
}
body.home .site-header:not(.is-scrolled) { min-height: 104px; }
body.home .site-header:not(.is-scrolled) .brand {
    opacity: 0;
    visibility: hidden;
}
body.home .site-header:not(.is-scrolled) .brand__logo { height: 84px; }

.site-header.is-scrolled { box-shadow: var(--shadow-soft); }

/* Logo de l'en-tête : ne se déforme plus quand la barre manque de place
   (l'image était étirée en ovale sur mobile). */
.site-header .brand { flex-shrink: 0; }
.brand__logo { width: auto; aspect-ratio: 1; object-fit: contain; align-self: flex-start; }

/* 6. HERO « SCEAU » ---------------------------------------------------------- */
.hero {
    align-items: center;
    justify-content: center;
    text-align: center;
    isolation: isolate;
}

/* Voile : vignette centrée pour que le sceau se lise sur la photo */
.hero__media::after {
    background:
        radial-gradient(ellipse 58% 55% at 50% 44%, rgba(47, 50, 54, 0.72) 0%, rgba(47, 50, 54, 0.45) 55%, rgba(30, 32, 35, 0.86) 100%),
        linear-gradient(to top, rgba(30, 32, 35, 0.9) 0%, transparent 38%);
}

.hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: calc(var(--nav-h) * 0.55);
    padding-bottom: 6.5rem;
}
body.home .hero__inner { padding-top: 104px; }

.hero__seal {
    position: relative;
    width: min(84vw, 52svh, 520px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    container-type: inline-size;
}
.hero__ring {
    position: absolute; inset: 0;
    color: var(--c-cream);
}
.hero__ring svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.35)); }
.hero__ring .ring__main { stroke-width: 2.2; }

.hero__title {
    position: relative;
    z-index: 1;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    color: var(--c-cream);
    text-shadow: 0 3px 24px rgba(0, 0, 0, 0.45);
    font-weight: 400;
}
.hero__script {
    font-family: var(--f-script);
    font-weight: 400;
    font-size: clamp(3.6rem, 12vw, 7.2rem);
    font-size: 21cqi;
    line-height: 1.05;
    padding: 0 0.18em 0.04em;
    letter-spacing: 0;
}
.hero__filet {
    width: 100%;
    margin: 0.35rem 0 0.9rem;
}
.hero__caps {
    font-family: var(--f-serif);
    font-weight: 600;
    font-size: clamp(0.8rem, 1.6vw, 1.15rem);
    font-size: 3.5cqi;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.hero__motto {
    font-family: var(--f-script);
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-size: 5.4cqi;
    color: var(--c-or-light);
    margin-top: 0.3rem;
}
.hero__lead {
    margin: 1.6rem auto 0;
    max-width: 46ch;
    font-family: var(--f-body);
    font-style: italic;
    font-size: var(--fs-lead);
    line-height: 1.55;
    color: rgba(247, 244, 238, 0.9);
}
.hero__actions {
    justify-content: center;
    margin-top: 1.8rem;
}

.hero__olive {
    position: absolute;
    z-index: 1;
    left: -4vw; bottom: -6vw;
    width: clamp(260px, 34vw, 520px);
    color: var(--c-cream);
    opacity: 0.16;
    transform: rotate(-8deg);
    pointer-events: none;
}

.hero__scroll {
    bottom: 0.9rem;
    gap: 0.35rem;
    font-family: var(--f-script);
    font-size: 1.35rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--c-cream);
}
.hero__scroll::after { background: linear-gradient(var(--c-cream), transparent); }
.hero__scroll:focus-visible { outline: 2px solid var(--c-or-light); outline-offset: 6px; border-radius: 4px; }

/* 7. TITRES ------------------------------------------------------------------
   Les sur-titres reprennent l'écriture « Trattoria familiale » du logo. */
.eyebrow {
    font-family: var(--f-script);
    font-weight: 400;
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.1;
    gap: 0.8rem;
    margin-bottom: 0.4rem;
}
.eyebrow::before {
    width: 40px; height: 3px;
    background:
        linear-gradient(var(--it-green), var(--it-green)) top / 100% 1px no-repeat,
        linear-gradient(var(--it-red), var(--it-red)) bottom / 100% 1px no-repeat;
}
.section--dark .eyebrow, .section--bordeaux .eyebrow,
.reservation__intro .eyebrow { color: var(--c-or-light); }


/* 8. FILIGRANES -------------------------------------------------------------- */
.section--orn { overflow: hidden; isolation: isolate; }
.section--orn > .container { position: relative; z-index: 1; }

.orn { display: block; pointer-events: none; }
.orn svg { display: block; width: 100%; height: auto; overflow: visible; }

.section--orn > .orn,
.site-footer > .orn {
    position: absolute;
    z-index: 0;
    color: var(--c-bordeaux);
    opacity: 0.1;
}
.section--orn > .orn--light,
.section--dark > .orn,
.site-footer > .orn { color: var(--c-cream); opacity: 0.08; }

.section--orn > .orn--bl    { left: -60px; bottom: -70px; width: clamp(240px, 28vw, 420px); transform: rotate(8deg); }
.section--orn > .orn--tr    { right: -70px; top: -50px; width: clamp(240px, 30vw, 440px); transform: rotate(186deg); }
.section--orn > .orn--left  { left: clamp(-40px, 2vw, 40px); top: 50%; width: clamp(90px, 9vw, 150px); transform: translateY(-50%) rotate(-8deg); }
.section--orn > .orn--right { right: clamp(-40px, 2vw, 40px); top: 50%; width: clamp(90px, 9vw, 150px); transform: translateY(-50%) scaleX(-1) rotate(-8deg); }
.section--orn > .orn--ring-xl {
    right: -18vw; top: 50%;
    width: min(92vw, 980px);
    transform: translateY(-50%) rotate(-14deg);
    opacity: 0.07;
}

.wm-script {
    position: absolute;
    z-index: 0;
    font-family: var(--f-script);
    font-size: clamp(5.5rem, 15vw, 14rem);
    line-height: 1;
    white-space: nowrap;
    color: var(--c-bordeaux);
    opacity: 0.05;
    pointer-events: none;
    user-select: none;
}
.section--orn > .wm-script { position: absolute; }
.wm--light { color: var(--c-cream); opacity: 0.055; }
.wm--tr     { top: 0.1em; right: -0.12em; }
.wm--tl     { top: 0.05em; left: -0.1em; }
.wm--br     { bottom: -0.05em; right: -0.08em; }
.wm--bl     { bottom: -0.1em; left: -0.08em; }
.wm--center { top: 50%; left: 50%; margin: -0.5em 0 0; translate: -50% 0; font-size: clamp(6rem, 19vw, 17rem); opacity: 0.045; }


/* 9. BANDEAU DE MOTS (fixe) -------------------------------------------------- */
.marquee {
    position: relative;
    background: var(--c-bordeaux);
    color: var(--c-cream);
    padding: 1.1rem 1rem 1.25rem;
    border-block: 1px solid rgba(247, 244, 238, 0.12);
}
.marquee__track {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    row-gap: 0.4rem;
    max-width: var(--container, 1200px);
    margin-inline: auto;
}
.marquee__word {
    font-family: var(--f-script);
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    line-height: 1.2;
    padding-inline: 1.4rem;
    white-space: nowrap;
}
.marquee__track > .marquee__dot:last-child { display: none; }
.marquee__dot {
    flex: none;
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 1.5px solid var(--c-or-light);
    box-shadow: 0 0 0 3px var(--c-bordeaux), 0 0 0 4px rgba(242, 181, 98, 0.45);
}

/* 10. CARTE ------------------------------------------------------------------ */
.dish__leader { transition: border-color 0.4s ease; }
.dish:hover .dish__leader { border-color: var(--c-or); }
.dish__name { transition: color 0.3s ease; }

.stat__num { font-variant-numeric: lining-nums tabular-nums; }

/* 11. IMAGES ---------------------------------------------------------------- */
.gallery-item__cap { font-family: var(--f-script); font-weight: 400; font-size: 1.55rem; line-height: 1.2; }

/* 12. BOUTONS ---------------------------------------------------------------- */
.btn--light { border-color: rgba(247, 244, 238, 0.65); color: #fff; }
.btn--light:hover { border-color: transparent; }


/* 13. CARTES ---------------------------------------------------------------- */
.partner-card { position: relative; overflow: hidden; }
.partner-card__icon { border-color: rgba(242, 181, 98, 0.6); position: relative; }
.partner-card__icon::after { /* second trait, comme l'anneau du logo */
    content: "";
    position: absolute; inset: -5px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-top-color: rgba(242, 181, 98, 0.55);
    border-left-color: rgba(242, 181, 98, 0.3);
    transform: rotate(-20deg);
}

/* 14. RÉSERVATION · BANNIÈRES · PIED DE PAGE --------------------------------- */
.reservation__ring {
    position: absolute;
    z-index: 0;
    width: min(70vw, 520px);
    right: -160px; top: -170px;
    color: var(--c-cream);
    opacity: 0.2;
    pointer-events: none;
}
.reservation__card > :not(.reservation__ring) { position: relative; z-index: 1; }

.page-banner { isolation: isolate; }
.page-banner__ring {
    position: absolute;
    z-index: 0;
    left: 50%; top: calc(50% + var(--nav-h) / 2);
    width: min(88vw, 520px);
    translate: -50% -50%;
    color: var(--c-cream);
    opacity: 0.14;
    pointer-events: none;
}
.page-banner__olive {
    position: absolute; z-index: 0;
    right: -50px; bottom: -60px;
    width: clamp(200px, 24vw, 360px);
    color: var(--c-cream);
    opacity: 0.1;
    transform: rotate(196deg);
    pointer-events: none;
}
.page-banner__filet { width: 120px; margin: 0.9rem auto 1.1rem; }

.site-footer { overflow: hidden; isolation: isolate; }
.site-footer > .container { position: relative; z-index: 1; }
.site-footer::before {
    height: 3px;
    background: linear-gradient(90deg, var(--it-green), var(--it-white) 50%, var(--it-red));
}
.footer-signature {
    position: absolute;
    z-index: 0;
    left: 50%; bottom: -0.28em;
    translate: -50% 0;
    font-family: var(--f-script);
    font-size: clamp(8rem, 30vw, 26rem);
    line-height: 1;
    white-space: nowrap;
    color: var(--c-cream);
    opacity: 0.045;
    pointer-events: none;
    user-select: none;
}
.site-footer > .orn--footer { right: -60px; top: -40px; width: clamp(220px, 26vw, 380px); transform: rotate(200deg); }
.footer-filet { width: 110px; margin: var(--sp-lg) auto 0; }
.footer-filet + .footer-bottom { margin-top: 1.6rem; }

/* Crédit de réalisation : logo DevWebPro en crème au repos, doré (couleurs d'origine) au survol */
.footer-credit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(247, 244, 238, 0.08);
    text-align: center;
}
.footer-credit__label {
    font-family: var(--f-body);
    font-style: italic;
    font-size: 0.95rem;
    color: rgba(247, 244, 238, 0.55);
}
.footer-credit__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(247, 244, 238, 0.14);
    background: transparent;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.footer-credit__link img {
    display: block;
    width: 148px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.72;
    transition: filter 0.45s ease, opacity 0.45s ease;
}
.footer-credit__link:hover,
.footer-credit__link:focus-visible {
    background: var(--c-cream);
    border-color: var(--c-cream);
}
.footer-credit__link:hover img,
.footer-credit__link:focus-visible img { filter: none; opacity: 1; }
.footer-credit__link:focus-visible { outline: 2px solid var(--c-or-light); outline-offset: 4px; }
html.aws-filter .footer-credit__link img { filter: none; opacity: 1; }
html.aws-filter .footer-credit__link { background: var(--c-cream); }
/* Mobile : le crédit passe au-dessus des deux boutons flottants (accessibilité, cookies) */
@media (max-width: 768px) { .footer-credit { padding-bottom: 4.2rem; } }

/* 15. RESPONSIVE ------------------------------------------------------------- */
@media (max-width: 1279px) {
    body.home .site-header:not(.is-scrolled) { min-height: 84px; }
    body.home .hero__inner { padding-top: 88px; }
    .section--orn > .orn--left, .section--orn > .orn--right { opacity: 0.06; }
}
@media (max-width: 768px) {
    .hero__seal { width: min(88vw, 50svh, 420px); }
    .hero__inner { padding-bottom: 4.5rem; }
    .hero__lead { font-size: 1.05rem; padding-inline: 0.4rem; }
    .section--orn > .orn--left, .section--orn > .orn--right { display: none; }
    .marquee__word { padding-inline: 1.3rem; }
    .reservation__ring { right: -200px; top: -200px; }
}
@media (max-height: 640px) and (min-width: 769px) {
    .hero__lead { display: none; }
}


/* 16. ACCESSIBILITÉ ---------------------------------------------------------- */
/* Mouvement réduit (préférence système OU « Arrêter les animations » de Sienna,
   que premium.js traduit en html.a11y-motion) : plus aucune transition. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
}
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after {
    animation-delay: 0s !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
}

/* Filtres de couleur Sienna (contrastes, saturation, monochrome) :
   on retire tout ce qui est purement décoratif */
html.aws-filter body::after,
html.aws-filter .orn:not(.hero__ring),
html.aws-filter .wm-script,
html.aws-filter .footer-signature { display: none !important; }

/* Police lisible (Sienna) : filigranes cursifs masqués */
html.asw-readable-font { --f-script: Verdana, Tahoma, "Segoe UI", system-ui, sans-serif; }
html.asw-readable-font .wm-script,
html.asw-readable-font .footer-signature { display: none; }
html.asw-readable-font .hero__script { font-size: 12cqi; }
html.asw-readable-font .eyebrow { font-size: 1rem; }
html.asw-readable-font .marquee__word { font-size: 1.3rem; }

/* 18. PAGE 404 ----------------------------------------------------------------
   Plein écran sombre : « 4 », une pizza cerclée de l'anneau du logo, « 4 ». */
.nf {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    padding: calc(var(--nav-h) + 1rem) 1.2rem 4.5rem;
    text-align: center;
    color: var(--c-cream);
    background:
        radial-gradient(ellipse 70% 60% at 50% 42%, rgba(232, 149, 42, 0.55), transparent 70%),
        radial-gradient(ellipse at 85% 100%, rgba(232, 149, 42, 0.12), transparent 55%),
        var(--c-jet);
}
.nf__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; max-width: 760px; }

.nf__script {
    margin: 0;
    font-family: var(--f-script);
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    line-height: 1.1;
    color: var(--c-or-light);
    padding-inline: 0.2em;
}

.nf__code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.4rem, 2vw, 1.4rem);
    margin: 0.4rem 0 0.2rem;
}
.nf__digit {
    font-variant-numeric: lining-nums;
    font-family: var(--f-serif);
    font-weight: 600;
    font-size: clamp(7rem, 22vw, 15rem);
    line-height: 0.9;
    color: var(--c-cream);
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.nf__zero {
    position: relative;
    flex: none;
    width: clamp(7.5rem, 20vw, 13.5rem);
    aspect-ratio: 1;
    display: block;
}
.nf__pizza {
    position: absolute;
    inset: 9%;
    width: 82%; height: 82%;
    border-radius: 50%;
    object-fit: cover;
    object-position: 42% 48%;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.nf__ring { position: absolute; inset: -6%; color: var(--c-cream); }
.nf__ring svg { width: 100%; height: 100%; overflow: visible; }
.nf__ring .ring__main { stroke-width: 2.6; }

.nf__filet { width: min(70%, 380px); margin: 1.4rem 0 1.6rem; }

.nf__title {
    margin: 0;
    font-family: var(--f-serif);
    font-weight: 600;
    font-size: var(--fs-h2);
    line-height: 1.15;
    color: var(--c-cream);
}
.nf__lead {
    margin: 0.8rem auto 0;
    max-width: 46ch;
    font-family: var(--f-body);
    font-style: italic;
    font-size: var(--fs-lead);
    line-height: 1.55;
    color: rgba(247, 244, 238, 0.82);
}
.nf__actions {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
    margin-top: 2rem;
}
.nf__links { margin-top: 2.4rem; }
.nf__links ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.6rem;
}
.nf__links a {
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(247, 244, 238, 0.85);
    background-image: linear-gradient(var(--c-or-light), var(--c-or-light));
    background-size: 0% 1.5px;
    background-repeat: no-repeat;
    background-position: left bottom;
    padding-bottom: 3px;
    transition: color 0.3s ease, background-size 0.3s ease;
}
.nf__links a:hover { color: var(--c-or-light); background-size: 100% 1.5px; }
.nf__links a:focus-visible { outline: 2px solid var(--c-or-light); outline-offset: 4px; border-radius: 3px; }

.nf > .orn { position: absolute; z-index: 0; color: var(--c-cream); opacity: 0.1; pointer-events: none; }
.nf__olive--l { left: -60px; bottom: -60px; width: clamp(240px, 30vw, 440px); transform: rotate(8deg); }
.nf__wheat    { right: clamp(1rem, 6vw, 6rem); top: 50%; width: clamp(80px, 8vw, 130px); transform: translateY(-40%) rotate(12deg); }
.nf__watermark {
    position: absolute; z-index: 0;
    left: 50%; bottom: -0.2em;
    translate: -50% 0;
    font-family: var(--f-script);
    font-size: clamp(7rem, 24vw, 20rem);
    line-height: 1;
    white-space: nowrap;
    color: var(--c-cream);
    opacity: 0.04;
    pointer-events: none;
    user-select: none;
}
@media (max-width: 768px) {
    .nf__wheat { display: none; }
    .nf { padding-bottom: 3.5rem; }
}
html.aws-filter .nf__watermark { display: none !important; }
html.asw-readable-font .nf__watermark { display: none; }
html.asw-readable-font .nf__script { font-size: 2rem; }
@media print { .nf__watermark, .nf > .orn { display: none !important; } }

/* 19. SÉLECTEUR DE LANGUE --------------------------------------------------------
   Sur tous les écrans : un bouton « verre dépoli » (drapeau + code) qui déroule
   une carte crème. Sans JavaScript, les langues restent affichées en ligne. */
.lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
}
.flag {
    flex: none;
    display: inline-block;
    width: 18px; height: 18px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 1.5px rgba(247, 244, 238, 0.85), 0 2px 6px rgba(0, 0, 0, 0.35);
}
.flag svg { display: block; width: 100%; height: 100%; }

.lang-switcher__toggle { display: none; }
.lang-switcher__list {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    margin: 0; padding: 0.2rem;
    list-style: none;
    border-radius: 999px;
    background: rgba(47, 50, 54, 0.28);
    box-shadow: inset 0 0 0 1px rgba(247, 244, 238, 0.16);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.lang-switcher__list li { margin: 0; }
.lang-switcher__item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.32rem 0.6rem 0.32rem 0.36rem;
    border-radius: 999px;
    font-family: var(--f-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
    color: var(--c-cream);
    opacity: 0.78;
    text-shadow: none !important;
    background: transparent;
    transition: opacity 0.3s ease, background 0.35s ease, transform 0.45s var(--ease-out-expo);
}
.lang-switcher__item:hover { opacity: 1; background: rgba(247, 244, 238, 0.12); }
.lang-switcher__item.is-active {
    opacity: 1;
    color: var(--c-bordeaux-deep);
    background: var(--c-cream);
    box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.5);
}
.lang-switcher__item.is-active .flag { box-shadow: 0 0 0 1.5px rgba(47, 50, 54, 0.25); }
.lang-switcher__item:focus-visible,
.lang-switcher__toggle:focus-visible { outline: 2px solid var(--c-or-light); outline-offset: 3px; }
/* Nom complet : lu par les lecteurs d'écran sur ordinateur, affiché sur mobile */
.lang-switcher__name {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
/* (style.css force le blanc sur l'en-tête défilé : on garde la pastille lisible) */
.site-header .lang-switcher .lang-switcher__item.is-active,
.site-header.is-scrolled .lang-switcher .lang-switcher__item.is-active { color: var(--c-bordeaux-deep); }

/* Groupe de droite : Commander · Facebook · langue, toujours côte à côte */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
}
@media (max-width: 1279px) {
    .header-actions { margin-left: auto; gap: 0.5rem; margin-right: 0.4rem; }
}

/* Lien Facebook : même pastille « verre dépoli » que le bouton de langue,
   lisible sur la photo d'accueil comme sur l'en-tête sombre */
.header-social {
    flex-shrink: 0;
    width: 42px; height: 42px;
    display: grid; place-content: center;
    border-radius: 50%;
    color: var(--c-cream);
    background: rgba(47, 50, 54, 0.35);
    box-shadow: inset 0 0 0 1px rgba(247, 244, 238, 0.28), 0 6px 18px -8px rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: background 0.25s ease, color 0.25s ease;
}
.header-social svg { width: 19px; height: 19px; display: block; }
.header-social:hover { background: var(--c-or); color: var(--c-jet); }
.header-social:focus-visible { outline: 2px solid var(--c-or-light); outline-offset: 3px; }
@media (max-width: 1279px) {
    .header-social { width: 40px; height: 40px; }
}

/* Menu déroulant des langues (tous écrans) */
@media all {

    /* Bouton : drapeau + code + chevron */
    .lang-switcher__toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        height: 42px;
        padding: 0 0.8rem 0 0.45rem;
        border: 0;
        border-radius: 999px;
        cursor: pointer;
        font-family: var(--f-display);
        font-size: 0.74rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        color: var(--c-cream);
        background: rgba(47, 50, 54, 0.35);
        box-shadow: inset 0 0 0 1px rgba(247, 244, 238, 0.28), 0 6px 18px -8px rgba(0, 0, 0, 0.5);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        transition: background 0.3s ease, box-shadow 0.3s ease;
    }
    .lang-switcher__toggle .flag { width: 26px; height: 26px; }
    .lang-switcher__chevron { width: 12px; height: 12px; transition: transform 0.2s ease; }
    .lang-switcher.is-open .lang-switcher__toggle { background: var(--c-cream); color: var(--c-bordeaux-deep); }
    .lang-switcher.is-open .lang-switcher__chevron { transform: rotate(180deg); }

    /* Carte déroulée */
    .lang-switcher__list {
        position: absolute;
        top: calc(100% + 12px);
        right: -0.2rem;
        z-index: 1300;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        width: 236px;
        padding: 0.9rem 0.55rem 0.55rem;
        border-radius: 22px;
        background:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%232F3236' stroke-opacity='.07' stroke-linecap='round'%3E%3Cpath stroke-width='2.4' d='M96 13C146 10 189 49 188 101C187 150 147 189 99 188C50 187 11 147 13 98C15 50 55 13 104 12.5'/%3E%3Cpath stroke-width='1' d='M24 62C50 12 128 -6 178 40'/%3E%3C/svg%3E") right -60px bottom -60px / 190px no-repeat,
            var(--c-cream);
        box-shadow: 0 30px 60px -20px rgba(30, 32, 35, 0.6), 0 0 0 1px rgba(37, 40, 43, 0.1);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-4px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
    }
    /* Filet tricolore en tête de carte + petite pointe vers le bouton */
    .lang-switcher__list::before {
        content: "";
        position: absolute;
        top: 0; left: 18px; right: 18px;
        height: 3px;
        border-radius: 0 0 3px 3px;
        background: linear-gradient(90deg, var(--it-green), var(--it-white) 50%, var(--it-red));
    }
    .lang-switcher__list::after {
        content: "";
        position: absolute;
        top: -6px; right: 28px;
        width: 12px; height: 12px;
        background: var(--c-cream);
        transform: rotate(45deg);
        border-radius: 3px 0 0 0;
    }
    .lang-switcher.is-open .lang-switcher__list {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
    }

    /* Lignes : drapeau · nom · code */
    .lang-switcher__item {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 0.8rem;
        padding: 0.7rem 0.8rem;
        border-radius: 14px;
        font-family: var(--f-body);
        letter-spacing: 0;
        color: var(--c-ink);
        opacity: 1;
        box-shadow: none;
    }
    .lang-switcher__item .flag { width: 28px; height: 28px; box-shadow: 0 0 0 1.5px #fff, 0 3px 10px -3px rgba(0, 0, 0, 0.4); }
    .lang-switcher__name {
        position: static;
        width: auto; height: auto;
        overflow: visible;
        clip: auto;
        order: 0;
        font-family: var(--f-serif);
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--c-bordeaux);
    }
    .lang-switcher__item .lang-switcher__code {
        order: 1;
        font-family: var(--f-display);
        font-size: 0.66rem;
        letter-spacing: 0.12em;
        color: var(--c-ink-muted);
    }
    .lang-switcher__item:hover { background: var(--c-cream-deep); }
    .site-header .lang-switcher .lang-switcher__item,
    .site-header.is-scrolled .lang-switcher .lang-switcher__item { color: var(--c-ink); }
    .lang-switcher__item.is-active {
        background: rgba(47, 50, 54, 0.09);
        color: var(--c-bordeaux-deep);
        box-shadow: inset 3px 0 0 var(--c-bordeaux);
    }
    .lang-switcher__item.is-active .lang-switcher__code::after { content: " ✓"; color: var(--c-bordeaux); }
    .lang-switcher__item:focus-visible { outline: 2px solid var(--c-or); outline-offset: 1px; }

}
@media (max-width: 380px) {
    .lang-switcher__toggle .lang-switcher__code { display: none; }
    .lang-switcher__toggle { padding-right: 0.65rem; }
}
/* Sans JavaScript : la liste reste accessible en ligne, même sur mobile */
@media all {
    html:not(.js) .lang-switcher__toggle { display: none; }
    html:not(.js) .lang-switcher__list { position: static; opacity: 1; visibility: visible; transform: none; flex-direction: row; width: auto; padding: 0.2rem; background: rgba(47, 50, 54, 0.35); }
    html:not(.js) .lang-switcher__list::before,
    html:not(.js) .lang-switcher__list::after,
    html:not(.js) .lang-switcher__name { display: none; }
    html:not(.js) .lang-switcher__list li { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .lang-switcher__list, .lang-switcher__list li, .lang-switcher__chevron, .lang-switcher__item .flag { transition: none !important; }
}

/* 20. ACCESSIBILITÉ RGAA — compléments ---------------------------------------- */
/* Filigranes : texte purement décoratif généré en CSS (aucun contenu textuel) */
.wm-script::before,
.footer-signature::before,
.nf__watermark::before { content: attr(data-wm); }

/* Galerie : bouton d'agrandissement couvrant la vignette, légende visible au focus */
.gallery-item { cursor: zoom-in; }
.gallery-item__zoom {
    position: absolute; inset: 0;
    z-index: 2;
    width: 100%; height: 100%;
    padding: 0; margin: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    border-radius: inherit;
}
.gallery-item__zoom:focus-visible { outline: 3px solid var(--c-or); outline-offset: -6px; }
.gallery-item:focus-within .gallery-item__cap { opacity: 1; transform: none; }
.gallery-item:focus-within::after { opacity: 0.7; }


/* Menu mobile fermé : ses liens ne doivent pas recevoir le focus (RGAA 10.8 / 12.8) */
@media (max-width: 1279px) {
    .main-nav { visibility: hidden; transition: transform var(--t-med), visibility 0s linear 0.5s; }
    .main-nav.is-open { visibility: visible; transition: transform var(--t-med), visibility 0s; }
}
/* Noms de plats : retour à la ligne sur petit écran (RGAA 10.11, pas de défilement horizontal) */
@media (max-width: 560px) {
    .dish__name { white-space: normal; }
    .dish__head { flex-wrap: wrap; }
}

/* Pied de page : liens légaux */
.footer-legal { list-style: none; margin: 0; padding: 0; justify-content: center; row-gap: 0.4rem; }
.footer-legal li { margin: 0; }
.footer-legal-nav { flex: 1 1 auto; display: flex; justify-content: center; }

/* Plan du site */
.site-map ul { list-style: none; margin: 0 0 2rem; padding: 0; }
.site-map ul ul { margin: 0.4rem 0 0.4rem 1.4rem; }
.site-map li { margin: 0.35rem 0; }
.site-map a { color: var(--c-bordeaux); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.site-map a:hover { color: var(--c-or-text); }
.site-map h2 { font-size: var(--fs-h3); margin-top: 1rem; }

/* 21. CARTE PDF ------------------------------------------------------------------ */
.btn--pdf { gap: 0.6rem; }
.btn--pdf svg { flex: none; }
.btn__meta { font-weight: 500; letter-spacing: 0.04em; text-transform: none; opacity: 0.85; }
.btn--pdf-dark { --btn-fg: var(--c-bordeaux); color: var(--c-bordeaux); border: 1px solid var(--c-bordeaux); }
.btn--pdf-dark:hover { color: #fff; }
.menu-cta--pdf { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.menu-cta--pdf .btn--ghost { color: var(--c-bordeaux); border-color: var(--c-bordeaux); }
.menu-cta--pdf .btn--ghost:hover { color: #fff; }
.menu-pdf-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.2rem 2rem;
    max-width: 820px;
    margin: 0 auto var(--sp-lg);
    padding: 1.6rem 2rem;
    border-radius: var(--radius-md);
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23F7F4EE' stroke-opacity='.12' stroke-linecap='round'%3E%3Cpath stroke-width='2.4' d='M96 13C146 10 189 49 188 101C187 150 147 189 99 188C50 187 11 147 13 98C15 50 55 13 104 12.5'/%3E%3Cpath stroke-width='1' d='M24 62C50 12 128 -6 178 40'/%3E%3C/svg%3E") right -40px center / 220px no-repeat,
        linear-gradient(120deg, var(--c-bordeaux), var(--c-bordeaux-deep));
    color: var(--c-cream);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.menu-pdf-card::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: linear-gradient(90deg, var(--it-green), var(--it-white) 50%, var(--it-red));
}
.menu-pdf-card__script { display: block; font-family: var(--f-script); font-size: 2.4rem; line-height: 1; color: var(--c-or-light); }
.menu-pdf-card__actions { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.menu-pdf-card__dl { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--c-cream); text-decoration: underline; text-decoration-color: var(--c-or-light); text-underline-offset: 4px; }
.menu-pdf-card__dl:hover { text-decoration-thickness: 2px; }
.menu-pdf-card__dl .btn__meta { opacity: 0.75; font-weight: 500; }
.menu-pdf-card p { margin: 0.3rem 0 0; max-width: 42ch; color: rgba(247, 244, 238, 0.85); font-family: var(--f-body); font-style: italic; font-size: 1.1rem; }
@media (max-width: 560px) {
    .menu-pdf-card { padding: 1.4rem 1.3rem; }
    .menu-pdf-card__actions { width: 100%; }
    .menu-pdf-card .btn, .menu-cta--pdf .btn { width: 100%; justify-content: center; }
    .btn--pdf { white-space: normal; flex-wrap: wrap; text-align: center; row-gap: 0.1rem; padding-inline: 1.2rem; }
}

/* 22. ÉVÉNEMENTS ----------------------------------------------------------------- */
.ev-head { text-align: center; margin-bottom: 3rem; }
.ev-head .lead { margin: 0.8rem auto 0; text-align: center; }

/* Pastille de date : l'anneau du logo, jour en Fraunces, mois en capitales */
.ev-medal {
    position: absolute;
    z-index: 3;
    left: 1.1rem; top: 1.1rem;
    width: 86px; height: 86px;
    display: grid;
    place-content: center;
    text-align: center;
    border-radius: 50%;
    background: var(--c-cream);
    color: var(--c-bordeaux);
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.6);
}
.ev-medal svg { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); overflow: visible; }
.ev-medal__day { font-family: var(--f-serif); font-weight: 700; font-size: 2.1rem; line-height: 0.9; color: var(--c-bordeaux-deep); }
.ev-medal__month { font-family: var(--f-script); font-size: 1.25rem; line-height: 1; color: var(--c-or-text); margin-top: 0.1rem; }
.ev-medal--tba .ev-medal__month { font-size: 1.45rem; }
.ev-medal--lg { width: 116px; height: 116px; left: 1.4rem; top: 1.4rem; }
.ev-medal--lg .ev-medal__day { font-size: 2.9rem; }
.ev-medal--lg .ev-medal__month { font-size: 1.6rem; }
.ev-medal--sm { position: relative; left: auto; top: auto; width: 64px; height: 64px; flex: none; box-shadow: none; border: 1px solid var(--c-line); }
.ev-medal--sm .ev-medal__day { font-size: 1.5rem; }
.ev-medal--sm .ev-medal__month { font-size: 0.95rem; }

.ev-visual { position: relative; overflow: hidden; background: var(--c-jet); }
.ev-visual__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.ev-visual__fallback {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23F7F4EE' stroke-opacity='.25' stroke-linecap='round'%3E%3Cpath stroke-width='2.4' d='M96 13C146 10 189 49 188 101C187 150 147 189 99 188C50 187 11 147 13 98C15 50 55 13 104 12.5'/%3E%3Cpath stroke-width='1' d='M24 62C50 12 128 -6 178 40'/%3E%3C/svg%3E") center / 70% no-repeat,
        linear-gradient(135deg, var(--c-bordeaux), var(--c-bordeaux-deep));
}
.ev-visual__fallback span { font-family: var(--f-script); font-size: 3rem; color: var(--c-cream); opacity: 0.85; }
.ev-ribbon {
    position: absolute; z-index: 3;
    right: -3rem; top: 1.6rem;
    width: 12rem;
    padding: 0.45rem 0;
    transform: rotate(35deg);
    text-align: center;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
    color: #fff;
    background: var(--c-alert);
    box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.6);
}

/* Méta : date, horaire, tarif, complet */
.ev-meta { list-style: none; margin: 0.6rem 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 0.6rem; font-size: 0.95rem; color: var(--c-ink-muted); }
.ev-meta li { margin: 0; }
.ev-meta li + li::before { content: "·"; margin-right: 0.6rem; color: var(--c-or); font-weight: 700; }
.ev-meta li:first-child { color: var(--c-bordeaux-deep); font-weight: 600; }
.ev-meta__price { font-weight: 700; color: var(--c-or-text); }
.ev-meta__full { font-weight: 700; color: var(--c-alert); }
.ev-excerpt { color: var(--c-ink-muted); margin: 0 0 1.4rem; }

.ev-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; }
.ev-btn-outline { color: var(--c-bordeaux); border-color: var(--c-bordeaux); }
.ev-btn-outline:hover { color: #fff; }
.ev-ics {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-weight: 600; font-size: 0.92rem;
    color: var(--c-bordeaux);
    text-decoration: underline; text-decoration-color: var(--c-or); text-underline-offset: 4px;
}
.ev-ics:hover { color: var(--c-or-text); }
.ev-ics--light { color: var(--c-cream); text-decoration-color: var(--c-or-light); }
.ev-ics--light:hover { color: var(--c-cream); text-decoration-thickness: 2px; }

/* À l'affiche : grande carte */
.ev-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    margin-bottom: 2.4rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 40px 80px -40px rgba(47, 50, 54, 0.55), 0 0 0 1px var(--c-line);
    position: relative;
}
.ev-feature::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: linear-gradient(90deg, var(--it-green), var(--it-white) 50%, var(--it-red));
}
.ev-feature__visual { min-height: 420px; }
.ev-feature__visual .ev-visual__img { position: absolute; inset: 0; }
.ev-feature:hover .ev-visual__img { transform: scale(1.02); }
.ev-feature__body { padding: clamp(1.8rem, 4vw, 3.2rem); display: flex; flex-direction: column; justify-content: center; }
.ev-kicker { font-family: var(--f-script); font-size: 2rem; line-height: 1; color: var(--c-or-text); }
.ev-feature__title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.1; margin: 0.4rem 0 0.2rem; }
.ev-feature__title a, .ev-card__title a { color: inherit; background-image: linear-gradient(var(--c-or), var(--c-or)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.6s var(--ease-out-expo); }
.ev-feature__title a:hover, .ev-card__title a:hover { background-size: 100% 2px; }

/* Grille des autres rendez-vous */
.ev-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 360px)); justify-content: center; gap: 1.6rem; }
.ev-grid > li { margin: 0; }
.ev-card { height: 100%; display: flex; flex-direction: column; border-radius: var(--radius-md); overflow: hidden; background: #fff; box-shadow: 0 24px 50px -34px rgba(47, 50, 54, 0.6), 0 0 0 1px var(--c-line); transition: box-shadow 0.3s ease; }
.ev-card:hover { box-shadow: 0 34px 60px -34px rgba(47, 50, 54, 0.7), 0 0 0 1px var(--c-line); }
.ev-card__visual { aspect-ratio: 4 / 3; }
.ev-card:hover .ev-visual__img { transform: scale(1.02); }
.ev-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.ev-card__title { font-size: 1.45rem; line-height: 1.15; margin: 0; }
.ev-card .ev-ics { margin-top: auto; }

/* Souvenirs */
.ev-past { background: var(--c-cream-deep); }
.ev-grid--past { grid-template-columns: repeat(auto-fit, minmax(220px, 280px)); }
.ev-card--past .ev-visual__img { filter: saturate(0.55) sepia(0.15); }
.ev-card--past:hover .ev-visual__img { filter: none; }
.ev-card--past .ev-card__title { font-size: 1.2rem; }
.ev-past__date { margin: 0.3rem 0 0; font-size: 0.88rem; color: var(--c-ink-muted); }
.ev-card--past .ev-medal { width: 68px; height: 68px; }
.ev-card--past .ev-medal__day { font-size: 1.6rem; }
.ev-card--past .ev-medal__month { font-size: 1rem; }

/* Aucun événement */
.ev-empty { position: relative; max-width: 640px; margin: 0 auto; padding: 3.2rem 2rem 2.6rem; text-align: center; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 30px 60px -40px rgba(47, 50, 54, 0.6), 0 0 0 1px var(--c-line); overflow: hidden; }
.ev-empty__ring { position: absolute; width: 360px; left: 50%; top: -150px; margin-left: -180px; color: var(--c-bordeaux); opacity: 0.08; }
.ev-empty__script { display: block; font-family: var(--f-script); font-size: 3.4rem; line-height: 1; color: var(--c-or-text); }
.ev-empty__title { font-family: var(--f-serif); font-size: 1.6rem; font-weight: 600; color: var(--c-bordeaux); margin: 0.6rem 0 0.4rem; }
.ev-empty p { max-width: 46ch; margin-left: auto; margin-right: auto; }
.ev-empty .ev-actions { margin-top: 1.6rem; }

/* Fiche d'un événement */
.ev-single { padding-top: 0; }
.ev-sheet {
    position: relative;
    margin: -4.5rem auto 3rem;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.2rem 2rem;
    align-items: center;
    padding: 2rem 2.2rem;
    border-radius: var(--radius-lg);
    color: var(--c-cream);
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23F7F4EE' stroke-opacity='.08' stroke-linecap='round'%3E%3Cpath stroke-width='2.4' d='M96 13C146 10 189 49 188 101C187 150 147 189 99 188C50 187 11 147 13 98C15 50 55 13 104 12.5'/%3E%3C/svg%3E") right -80px center / 300px no-repeat,
        linear-gradient(125deg, var(--c-bordeaux), var(--c-bordeaux-deep));
    box-shadow: 0 40px 80px -40px rgba(30, 32, 35, 0.8);
    overflow: hidden;
}
.ev-sheet::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--it-green), var(--it-white) 50%, var(--it-red)); }
.ev-sheet .ev-medal { position: relative; left: auto; top: auto; }
.ev-sheet__list { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0.9rem 1.6rem; }
.ev-sheet__list div { margin: 0; }
.ev-sheet__list dt { font-family: var(--f-display); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(247, 244, 238, 0.72); margin-bottom: 0.2rem; }
.ev-sheet__list dd { margin: 0; font-family: var(--f-serif); font-size: 1.2rem; font-weight: 600; line-height: 1.3; color: var(--c-cream); }
.ev-sheet__full { display: inline-block; padding: 0.1rem 0.7rem; border-radius: 999px; background: var(--c-alert); color: #fff !important; font-size: 1rem !important; }
.ev-sheet__actions { grid-column: 1 / -1; padding-top: 1.2rem; border-top: 1px solid rgba(247, 244, 238, 0.14); }
.ev-sheet__past { grid-column: 1 / -1; margin: 0; font-style: italic; color: rgba(247, 244, 238, 0.8); }
.ev-single__content { font-size: 1.08rem; }
.ev-poster { margin: 0 auto 2.4rem; max-width: 560px; border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 30px 60px -34px rgba(47, 50, 54, 0.7), 0 0 0 1px var(--c-line); }
.ev-poster img { display: block; width: 100%; height: auto; }
.ev-more { margin-top: var(--sp-lg); padding-top: 2rem; border-top: 1px solid var(--c-line); }
.ev-more__title { font-size: var(--fs-h3); text-align: center; margin-bottom: 1.4rem; }
.ev-more__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.ev-more__list li { margin: 0; }
.ev-more__list a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 1.1rem; align-items: center; padding: 0.8rem 1rem; border-radius: var(--radius-md); background: #fff; box-shadow: 0 0 0 1px var(--c-line); transition: box-shadow 0.3s ease; }
.ev-more__list a:hover { box-shadow: 0 0 0 1px var(--c-or); }
.ev-more__list .ev-medal { grid-row: 1 / span 2; }
.ev-more__name { font-family: var(--f-serif); font-size: 1.25rem; font-weight: 600; color: var(--c-bordeaux); align-self: end; }
.ev-more__date { font-size: 0.9rem; color: var(--c-ink-muted); align-self: start; }
.ev-back { text-align: center; margin-top: 2.4rem; }

@media (max-width: 560px) {
    .ev-meta { flex-direction: column; gap: 0.15rem; }
    .ev-meta li + li::before { content: none; }
}
@media (max-width: 860px) {
    .ev-feature { grid-template-columns: 1fr; }
    .ev-feature__visual { min-height: 0; aspect-ratio: 4 / 3; }
    .ev-sheet { grid-template-columns: 1fr; justify-items: start; margin-top: -3rem; padding: 1.6rem 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
    .ev-card, .ev-visual__img, .ev-more__list a { transition: none !important; }
}

/* 23. RESPONSIVE MOBILE — finitions --------------------------------------------- */
/* Boutons : jamais plus larges que l'écran (retour à la ligne si besoin) */
@media (max-width: 560px) {
    .btn { white-space: normal; text-align: center; justify-content: center; max-width: 100%; line-height: 1.35; }
    .hero__actions .btn, .ev-actions .btn { width: 100%; }
    .menu-cta { display: flex; flex-direction: column; align-items: stretch; gap: 0.8rem; }
    .menu-cta .btn { width: 100%; }
}

/* Cibles : au moins 24 px partout (WCAG 2.5.8), 44 px sur écrans tactiles */
.breadcrumb a { display: inline-block; padding: 0.3rem 0.15rem; margin: -0.3rem 0; }
.link-gold { display: inline-block; padding-block: 0.25rem; }
.ev-ics { padding-block: 0.3rem; }
@media (max-width: 1279px) {
    .breadcrumb a { display: inline-block; padding: 0.7rem 0.15rem; margin: -0.7rem 0; }
    .ev-ics { padding-block: 0.6rem; }
    .link-gold { display: inline-block; padding-block: 0.55rem; }
}

/* En-tête : le bouton « Réserver une table » garde sa taille */
.header-cta { flex-shrink: 0; }
@media (min-width: 1280px) and (max-width: 1280px) {
    .site-header__inner { gap: 1rem; }
    .header-cta { padding-inline: 1.3rem; }
}
@media (min-width: 1280px) and (max-width: 1120px) {
    .main-nav ul { gap: 0.85rem; }
    .site-header__inner { gap: 0.8rem; width: min(100% - 2rem, 1440px); }
}

/* Liens légaux : zone cliquable élargie sur tous les écrans */
.footer-legal a, .footer-legal .tac-open { display: inline-block; padding: 0.45rem 0.1rem; }

/* Pied de page centré sur mobile et tablette */
@media (max-width: 768px) {
    .site-footer { text-align: center; }
    .footer-grid { justify-items: center; gap: 2.6rem; }
    .footer-col { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 420px; }
    .footer-brand p { margin-left: auto; margin-right: auto; }
    .brand__logo--footer { margin-left: auto; margin-right: auto; }
    .socials { justify-content: center; }
    .footer-contact p { justify-content: center; text-align: center; }
    .footer-contact p span { text-align: center; }
    .footer-col .footer-title::after { margin-left: auto; margin-right: auto; }
    .hours-table { max-width: 360px; margin: 0 auto; }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 1.2rem; }
    .footer-legal-nav { width: 100%; }
    .footer-legal { flex-direction: column; align-items: center; gap: 0; }
    .footer-legal a,
    .footer-legal .tac-open { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 0.8rem; }
}

/* En-tête mobile plus compact une fois la page défilée (plus de place pour le contenu) */
@media (max-width: 1279px) {
    /* Correctif : un backdrop-filter sur l'en-tête crée un bloc conteneur pour les
       éléments position:fixed. Le menu plein écran se retrouvait alors enfermé
       dans la hauteur de l'en-tête après défilement. Fond opaque à la place. */
    .site-header.is-scrolled {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: rgba(47, 50, 54, 0.97);
    }
    .site-header.is-scrolled { min-height: 84px; padding-block: 0.35rem; }
    .site-header.is-scrolled .brand__logo { height: 70px; }
    .site-header:not(.is-scrolled) .brand__logo { height: 96px; }
    body:not(.home) .site-header:not(.is-scrolled) { min-height: 110px; }
}

/* Menu mobile plein écran, aux couleurs du site */
.main-nav__extra { display: none; }
@media (max-width: 1279px) {
    .main-nav {
        flex-direction: column;
        gap: 2.2rem;
        padding: 6rem 1.5rem 3rem;
        overflow-y: auto;
        background:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23F7F4EE' stroke-opacity='.06' stroke-linecap='round'%3E%3Cpath stroke-width='2' d='M96 13C146 10 189 49 188 101C187 150 147 189 99 188C50 187 11 147 13 98C15 50 55 13 104 12.5'/%3E%3Cpath stroke-width='1' d='M24 62C50 12 128 -6 178 40'/%3E%3C/svg%3E") center / min(130vw, 720px) no-repeat,
            radial-gradient(ellipse at 50% 30%, rgba(232, 149, 42, 0.55), transparent 70%),
            var(--c-jet) !important;
    }
    .main-nav ul { gap: 1.2rem; }
    .main-nav a { font-family: var(--f-serif); font-size: 1.7rem; font-weight: 600; letter-spacing: 0.02em; text-transform: none; padding: 0.3rem 0.6rem; }
    .main-nav a[aria-current="page"], .main-nav .current-menu-item > a { color: var(--c-or-light); }
    .main-nav__extra { display: flex; flex-direction: column; align-items: center; gap: 1rem; width: min(100%, 320px); }
    .main-nav__extra .filet { width: 120px; margin-bottom: 0.4rem; }
    .main-nav__extra .btn { width: 100%; font-family: var(--f-body); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 1rem 1.4rem; }
    .main-nav .main-nav__extra .btn::after { inset: 0; left: 0; bottom: auto; width: auto; height: auto; transform: translateY(101%); transform-origin: center; background: linear-gradient(120deg, var(--c-bordeaux), var(--c-bordeaux-velvet)); }
    .main-nav .main-nav__extra .btn:hover::after { transform: translateY(0); }
    .main-nav__phone { font-family: var(--f-display) !important; font-size: 0.95rem !important; letter-spacing: 0.18em !important; color: var(--c-cream) !important; padding: 0.7rem !important; }
}
@media (max-width: 1279px) and (max-height: 640px) {
    .main-nav { justify-content: flex-start; padding-top: 5rem; gap: 1.4rem; }
    .main-nav ul { gap: 0.5rem; }
    .main-nav a { font-size: 1.35rem; }
}
/* Menu ouvert : les boutons flottants (accessibilité, cookies) s'effacent */
body:has(.main-nav.is-open) .asw-container .asw-menu-btn,
body:has(.main-nav.is-open) #tarteaucitronIcon { display: none !important; }

/* Très petits écrans (320 px) */
@media (max-width: 360px) {
    :root { --fs-h2: 1.65rem; }
    .container, .container--narrow { width: min(100% - 1.6rem, var(--container)); }
    .hero__seal { width: 86vw; }
    .marquee__word { font-size: 1.7rem; padding-inline: 1rem; }
    .ev-medal--lg { width: 96px; height: 96px; }
    .ev-medal--lg .ev-medal__day { font-size: 2.3rem; }
    .menu-pdf-card__script { font-size: 2rem; }
}

/* Impression */
@media print {
    .orn, .wm-script, .footer-signature, .marquee { display: none !important; }
}

/* Liens d'évitement : aux couleurs du site (prioritaire sur les styles génériques) */
.skip-links .skip-link:focus {
    background: var(--c-bordeaux);
    color: var(--c-cream);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
    z-index: 4000;
}

/* =============================================================================
 * 20. BUS PIZZA — logo, tête de vache, assiette 404, ajustements typographiques
 * ========================================================================== */
.cp-logo, .cp-cow { display: block; line-height: 0; }
.cp-logo svg, .cp-cow svg { display: block; width: 100%; height: auto; overflow: visible; }
.lg-stroke { fill: var(--c-or); }
.lg-stroke2 { fill: none; stroke: #C9761A; stroke-width: 3; opacity: .55; }
.lg-bus, .lg-name, .lg-sub { fill: var(--c-ink); }
.pz-crust { fill: #E8952A; } .pz-cheese { fill: #F2C14E; } .pz-cut { stroke: #C9761A; stroke-width: 2.2; opacity: .8; } .pz-pep { fill: #D2453A; } .pz-pep2 { fill: #E8705F; } .pz-olive { fill: #2F3236; } .pz-leaf { fill: #5A9A3C; }
/* Sur fond sombre : logo en crème, tête de vache en moutarde douce */
/* Sur fond sombre (en-tête, pied de page, photo d’accueil, préchargeur) : lettres à la craie */
.site-header .lg-bus, .site-header .lg-name, .site-header .lg-sub,
.site-footer .lg-bus, .site-footer .lg-name, .site-footer .lg-sub,
.hero .lg-bus, .hero .lg-name, .hero .lg-sub,
.main-nav .lg-bus, .main-nav .lg-name, .main-nav .lg-sub { fill: var(--c-cream); }
.brand__logo { display: block; aspect-ratio: auto; width: clamp(120px, 11vw, 160px); height: auto; }
.brand__logo .cp-logo { width: 100%; }
.brand__logo--footer { width: 190px; }

/* Nom dans le sceau du hero */
.hero__script { width: 74%; font-size: 0; line-height: 0; padding: 0; letter-spacing: 0; }
.hero__logo { filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45)); }
/* Devise du sceau : contenue dans le cercle intérieur (jamais sous l’anneau) */
.hero__caps { font-family: var(--f-display); font-weight: 600; font-size: 2.35cqi; letter-spacing: 0.16em; margin-top: 1.2cqi; max-width: 62%; margin-inline: auto; line-height: 1.45; text-align: center; }
.hero__filet { width: 46% !important; }
.hero__caps-l { display: block; white-space: nowrap; }
.hero__caps-sep { display: none; }

/* Filet : double trait cuivre / moutarde, comme une ligne d’ardoise */
.filet, .hero__filet {
    background: linear-gradient(var(--c-or), var(--c-or)) top / 100% 1px no-repeat,
                linear-gradient(var(--c-bordeaux-velvet), var(--c-bordeaux-velvet)) bottom / 100% 1px no-repeat !important;
    height: 4px;
}

/* Titres de bistrot et surtitres manuscrits */
.section-title { letter-spacing: -0.005em; line-height: 1.1; font-weight: 600; }
.eyebrow { font-size: clamp(1.6rem, 2.4vw, 2.1rem); letter-spacing: 0; }
.wm-script { font-size: clamp(5rem, 13vw, 12rem); opacity: 0.06; }
.wm--center { font-size: clamp(5.5rem, 15vw, 13.5rem); }
.marquee__word { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.4rem); letter-spacing: 0; }
.dish__name, .wine__name { font-size: 1.18rem; font-weight: 600; }
.wine-group__title { font-family: var(--f-serif); font-style: normal; }
.gallery-item__cap { font-family: var(--f-body); font-weight: 600; font-size: 0.98rem; line-height: 1.35; }
.footer-signature { font-size: clamp(5rem, 18vw, 15rem); opacity: 0.06; }
.menu-pdf-card__script { font-size: 2.4rem; }
.ev-medal__month { font-family: var(--f-display); font-weight: 600; font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; }
.ev-medal--lg .ev-medal__month { font-size: 0.7rem; }
.ev-visual__fallback span { font-size: 2.6rem; }
.ev-kicker { font-size: 1.8rem; }
.ev-empty__script { font-size: 3rem; }
.nf__script { font-size: clamp(2.6rem, 5.4vw, 3.8rem); }
.stat__unit { font-family: var(--f-body); font-weight: 700; font-size: 0.42em; letter-spacing: 0; }
.menu-note { text-align: center; font-weight: 600; color: var(--c-or-text); margin: 1.6rem auto 0; max-width: 60ch; }
.hours-note { margin-top: 0.6rem; font-size: 0.82rem; font-style: italic; color: rgba(247, 244, 238, 0.78); }
.footer-evin { max-width: 62ch; margin: 1.2rem auto 0; text-align: center; font-size: 0.82rem; line-height: 1.5; color: rgba(247, 244, 238, 0.78); }
.wine-legal { font-weight: 600; }
@media (max-width: 480px) {
    .marquee__word { font-size: 1.35rem; }
    .menu-pdf-card__script { font-size: 1.9rem; }
}

/* Page 404 : le « 0 » est une assiette frappée de la tête de vache */
.nf__plate {
    display: grid; place-items: center;
    background: radial-gradient(circle at 50% 50%, #FFFDF9 0 58%, #EFE6D6 59% 61%, #FFFDF9 62% 100%) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), inset 0 0 0 3px rgba(232, 149, 42, 0.25) !important;
    border-radius: 50%;
}
.nf__cow { width: 52%; }
.nf__cow { width: 78%; }


/* =============================================================================
 * 22. AFFICHES DE LA CARTE, LECTEUR PDF ET BANDEAU D'AVIS
 * (modules « La Carte » et avis Google repris du thème La Barrique)
 * ========================================================================== */
.reviews-strip { background: var(--c-cream-deep); border-top: 1px solid var(--c-line-gold); }
/* ==========================================================================
   LA CARTE EN PDF — rendue dans la charte (inc/carte.php + carte-pdf.js)
   Chaque page du PDF devient une « feuille » crème au liseré or, comme une
   carte posée sur la table.
   ========================================================================== */
.carte-pdf {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}
.carte-pdf__pages {
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
}
.carte-pdf__page {
    margin: 0;
    padding: clamp(0.5rem, 1.6vw, 1rem);
    background: #fff;
    border: 1px solid rgba(208, 117, 31, 0.45);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    position: relative;
}
/* Second filet or intérieur : l'esprit « carte de restaurant ». */
.carte-pdf__page::after {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(208, 117, 31, 0.22);
    border-radius: calc(var(--radius-md) - 5px);
    pointer-events: none;
}
.carte-pdf__page canvas {
    display: block;
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius-md) - 8px);
}

/* — États : chargement, erreur — */
.carte-pdf__loading,
.carte-pdf__error { display: none; text-align: center; color: var(--c-ink-muted); }
.carte-pdf.is-loading { min-height: 60vh; } /* place réservée : pas de saut de page */
.carte-pdf.is-loading .carte-pdf__loading {
    display: block;
    position: absolute;
    inset: 0;
    padding-top: 25vh;
    font-family: var(--f-display);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--c-or-text);
    animation: carte-pulse 1.6s ease-in-out infinite;
}
.carte-pdf.is-error .carte-pdf__error {
    display: block;
    padding: var(--sp-md);
    background: #fff;
    border: 1px dashed rgba(208, 117, 31, 0.55);
    border-radius: var(--radius-md);
}
.carte-pdf.is-error .carte-pdf__error a { color: var(--c-or-text); }
@keyframes carte-pulse { 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) {
    .carte-pdf.is-loading .carte-pdf__loading { animation: none; }
}

/* — Boutons de téléchargement — */
.carte-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    align-items: center;
    margin: var(--sp-md) 0 0;
}
.btn__meta {
    margin-left: 0.55em;
    padding-left: 0.55em;
    border-left: 1px solid currentColor;
    opacity: 0.7;
    font-size: 0.85em;
    letter-spacing: 0.06em;
}
.mdj__download {
    margin: 1.2rem 0 0;
    text-align: center;
}
.btn--small { padding: 0.65rem 1.3rem; font-size: 0.78rem; }

@media print {
    .carte-downloads, .mdj__download { display: none; }
    .carte-pdf__page { box-shadow: none; break-inside: avoid; }
}

/* ==========================================================================
   LES TROIS AFFICHES — Menu du midi, Carte du soir, Côté bar (inc/carte.php)
   Titre en grand, puis l'affiche dans une feuille au double liseré or ;
   un clic l'ouvre en grand. Empilées sur la page La Carte, côte à côte
   sur l'accueil.
   ========================================================================== */
.menus { margin: 0 auto var(--sp-lg); }
.menus--page {
    display: flex;
    flex-direction: column;
    gap: clamp(3rem, 6vw, 5rem);
    max-width: 860px;
}
.menus--accueil {
    margin-top: clamp(1.4rem, 2.6vw, 2.2rem);   /* de l'air sous le titre de la section */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: clamp(1.4rem, 3vw, 2.4rem);
    align-items: start;
}
.menus--accueil.menus--1 { max-width: 34rem; }
.menus--accueil.menus--2 { max-width: 60rem; }

.menu-affiche { text-align: center; }
.menu-affiche__titre {
    position: relative;
    margin: 0 0 2rem;
    font-family: var(--f-serif);
    font-weight: 600;
    font-size: clamp(2.6rem, 5.8vw, 4.4rem);   /* « en gros » : le titre annonce l'affiche */
    line-height: 1.1;
    color: var(--c-bordeaux);
}
.menus--accueil .menu-affiche__titre { font-size: clamp(1.7rem, 2.6vw, 2.25rem); margin-bottom: 1.5rem; }
/* Filet d'or sous le titre, comme dans les bandeaux */
.menu-affiche__titre::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.75rem;
    width: 3.6rem;
    height: 1px;
    margin-left: -1.8rem;
    background: linear-gradient(90deg, transparent, #D98A45 30%, var(--c-or) 50%, #D98A45 70%, transparent);
}

/* La feuille : même habillage que la carte PDF */
.menu-affiche__feuille {
    position: relative;
    display: block;
    padding: clamp(0.5rem, 1.6vw, 1rem);
    background: #fff;
    border: 1px solid rgba(208, 117, 31, 0.45);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    cursor: zoom-in;
    transition: box-shadow var(--t-med, 0.35s), border-color var(--t-med, 0.35s);
}
.menu-affiche__feuille::after {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(208, 117, 31, 0.22);
    border-radius: calc(var(--radius-md) - 5px);
    pointer-events: none;
}
.menu-affiche__feuille:hover,
.menu-affiche__feuille:focus-visible {
    border-color: var(--c-or);
    box-shadow: 0 18px 50px -18px rgba(46, 29, 22, 0.35);
}
.menu-affiche__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius-md) - 8px);
}
.menu-affiche__zoom {
    margin: 0.8rem 0 0;
    font-size: 0.86rem;
    color: var(--c-ink-muted);
}
.menu-affiche__zoom a {
    color: var(--c-or-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.menu-affiche__zoom a:hover { color: var(--c-bordeaux); }

@media print {
    .menu-affiche__zoom { display: none; }
    .menu-affiche { break-inside: avoid; }
}

/* Formule « Le menu à 29 € » */
.formule-card { max-width: 640px; margin: 0 auto var(--sp-lg); padding: 2.2rem 2rem 1.9rem; text-align: center;
    background: #FFFDF9; border: 1px solid var(--c-line-gold); border-radius: 22px; box-shadow: 0 18px 40px rgba(47, 50, 54, 0.08); }
.formule-card--home { margin: 2.2rem auto 0; }
.formule-card__title { font-family: var(--f-serif); font-weight: 600; font-size: clamp(2rem, 4.2vw, 2.8rem); color: var(--c-or-text); line-height: 1.1; margin: 0.3rem 0 0.4rem; }
.formule-card__compo { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.82rem; color: var(--c-ink); }
.formule-card .filet { display: block; width: 110px; margin: 1rem auto; }
.formule-card__service { font-style: italic; color: var(--c-ink-muted); }
.formule-choix { font-family: var(--f-body); font-size: 0.5em; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-ink-muted); margin-left: 0.6em; vertical-align: middle; }
.formule-mention { text-align: center; font-weight: 600; color: var(--c-ink-muted); font-size: 0.9rem; margin-top: -0.5rem; }

/* Plats d’un menu à prix unique : pas de pointillés vers un prix absent */
.dish:not(:has(.dish__price)) .dish__leader { display: none; }

/* Charte ardoise : textes secondaires du pied de page plus contrastés (fond #2F3236) */
.footer-bottom, .footer-bottom span, .footer-legal a { color: rgba(247, 244, 238, 0.8) !important; }

/* =============================================================================
 * 23. LA CARTE « PAPIER » — le menu affiché en grand, lisible sans rien ouvrir
 * (même mise en page que la carte imprimée : tête de vache, sections manuscrites,
 * plats séparés par « ou »). Texte réel : lisible sur mobile, accessible, indexé.
 * ========================================================================== */
.menu-papier {
    position: relative; overflow: hidden;
    max-width: 760px; margin: 0 auto;
    padding: clamp(2rem, 5vw, 3.6rem) clamp(1.3rem, 5vw, 3.8rem) clamp(1.8rem, 4vw, 2.8rem);
    text-align: center; color: var(--c-ink);
    background: #FFFDF9;
    border: 1px solid var(--c-line-gold); border-radius: 6px;
    box-shadow: 0 30px 60px -20px rgba(47, 50, 54, 0.28), 0 2px 0 rgba(232, 149, 42, 0.25);
}
.menu-papier::before { /* double filet intérieur, comme un cadre de carte */
    content: ""; position: absolute; inset: 12px; border: 1px solid rgba(232, 149, 42, 0.45); border-radius: 3px; pointer-events: none;
}
.menu-papier--accueil { margin-top: 2.2rem; max-width: 700px; }
.menu-papier__orn { position: absolute; color: var(--c-or); opacity: 0.16; pointer-events: none; }
.menu-papier__orn--tr { width: 190px; right: -40px; top: -20px; transform: scaleX(-1); }
.menu-papier__orn--bl { width: 130px; left: -24px; bottom: 10px; transform: rotate(-12deg); }
.menu-papier__head { position: relative; }
.menu-papier__cow { width: 58px; margin: 0 auto 0.6rem; }
.menu-papier__cow { width: 64px; }
.menu-papier__title { font-family: var(--f-serif); font-weight: 600; font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1.05; color: var(--c-ink); margin: 0; }
.menu-papier__compo { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; color: var(--c-or-text); margin-top: 0.7rem; }
.menu-papier__service { font-style: italic; color: var(--c-ink-muted); margin-top: 0.4rem; font-size: 0.98rem; }
.menu-papier__sec { position: relative; margin-top: clamp(1.6rem, 4vw, 2.3rem); }
.menu-papier__cat { font-family: var(--f-script); font-weight: 400; font-size: clamp(2.3rem, 6vw, 2.9rem); line-height: 1; color: var(--c-or-text); margin: 0; }
.menu-papier__filet { display: block; width: 70px; height: 4px; margin: 0.55rem auto 1rem;
    background: linear-gradient(var(--c-or), var(--c-or)) top / 100% 1px no-repeat, linear-gradient(var(--c-ink), var(--c-ink)) bottom / 100% 1px no-repeat; opacity: 0.7; }
.menu-papier__list { list-style: none; margin: 0; padding: 0; }
.menu-papier__dish { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; }
.menu-papier__name { font-family: var(--f-serif); font-weight: 600; font-size: clamp(1.12rem, 2.6vw, 1.3rem); line-height: 1.3; }
.menu-papier__desc { color: var(--c-ink-muted); font-size: 0.98rem; line-height: 1.45; max-width: 46ch; }
.menu-papier__price { font-family: var(--f-serif); font-weight: 600; color: var(--c-or-text); }
.menu-papier__ou { font-family: var(--f-script); font-size: 1.6rem; line-height: 1.1; color: var(--c-or-text); margin: 0.35rem 0; }
.menu-papier__foot { position: relative; margin-top: clamp(1.6rem, 4vw, 2.4rem); padding-top: 1rem; border-top: 1px solid var(--c-line); font-size: 0.88rem; color: var(--c-ink-muted); }
.menu-papier__foot strong { color: var(--c-ink); }
.menu-papier__actions { display: flex; justify-content: center; margin-top: 1.6rem; }
@media print { .menu-papier { box-shadow: none; } }

/* Adresse e-mail du pied de page : coupure propre sur petit écran */
.footer-email a { overflow-wrap: anywhere; }

/* Menu à 29 € et carte du restaurant : côte à côte sur grand écran */
.menu-papiers { display: grid; grid-template-columns: 1fr; gap: clamp(1.6rem, 4vw, 2.4rem); align-items: start; }
.menu-papiers .menu-papier { max-width: 640px; width: 100%; margin: 0 auto; }
.menu-papiers .menu-papier--accueil { margin-top: 0; }
section .menu-papiers { margin-top: 2.2rem; }
@media (min-width: 1100px) {
    .menu-papiers { grid-template-columns: 1fr 1fr; max-width: 1220px; margin-inline: auto; }
}
.menu-papier__list--carte .menu-papier__dish { margin-bottom: 1rem; }
.menu-papier__list--carte .menu-papier__dish:last-child { margin-bottom: 0; }
.menu-papier__list--carte .menu-papier__price { font-size: 1.08rem; margin-top: 0.1rem; }

/* Bandeau d’avis : un peu d’air sous le titre, bouton sable bien visible sur le fond crème */
.reviews-strip .section-title { margin-bottom: 2.2rem; }
.reviews-strip .btn { margin-top: 0.4rem; }

/* Événements : cartes plus grandes, affiches entières et lisibles (format portrait) */
.ev-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 440px)); gap: 2rem; }
.ev-grid--past { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 440px)); }
.ev-card__visual { aspect-ratio: 4 / 5; }
.ev-card__visual .ev-visual__img { object-position: top center; }
.ev-card--past .ev-visual__img { filter: saturate(0.85); }
.ev-card--past .ev-card__title { font-size: 1.45rem; }
.ev-card__body { padding: 1.4rem 1.5rem 1.6rem; }
.ev-past__date { font-size: 0.95rem; }

/* =============================================================================
 * 24. PAGE INSTAGRAM — publications intégrées (après accord) en grille
 * ========================================================================== */
.ig-grid { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1.6rem; align-items: start; }
.ig-item { display: flex; flex-direction: column; gap: 0.6rem; }
.ig-item .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; max-width: 100% !important; }
.ig-item .buspizza_instagram .tac_activate { min-height: 220px; display: grid; place-items: center; border-radius: var(--radius-md); }
.ig-item__link { align-self: center; font-size: 0.9rem; font-weight: 600; color: var(--c-or-text); }
.ig-feed { margin-top: 2.4rem; }
.ig-follow { text-align: center; margin-top: 2.6rem; }
.ig-follow .btn svg { width: 1.1em; height: 1.1em; margin-right: 0.4rem; vertical-align: -0.15em; }

/* Page Instagram : tant que l’accord n’est pas donné, vignettes aux couleurs d’Instagram + un seul bouton */
.ig-grid .tac_activate { display: none !important; }
.ig-tile { position: relative; display: grid; place-items: center; align-content: center; gap: 0.6rem; aspect-ratio: 4 / 5; border-radius: var(--radius-md); color: #fff; text-decoration: none;
    background: linear-gradient(160deg, #3A3E43 0%, #2F3236 55%, #5E4A36 100%); box-shadow: 0 20px 40px -26px rgba(47, 50, 54, 0.6); }
.ig-tile__icon { color: var(--c-or); }
.ig-tile__icon svg { width: 54px; height: 54px; }
.ig-tile__label { color: var(--c-or-light); }
.ig-tile__label { font-family: var(--f-display); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.8rem; }
.ig-consent { max-width: 640px; margin: 2rem auto 0; text-align: center; padding: 1.6rem 1.8rem; background: #FFFDF9; border: 1px solid var(--c-line-gold); border-radius: var(--radius-md); }
.ig-consent p { margin: 0 0 1rem; color: var(--c-ink-muted); }
.ig-section:has(.instagram-media) .ig-consent { display: none; }

/* =============================================================================
 * 25. FAQ (page Réserver) — accordéon accessible (details/summary)
 * ========================================================================== */
.faq { max-width: 820px; margin: 2.4rem auto 0; display: grid; gap: 0.8rem; }
.faq__item { background: #FFFDF9; border: 1px solid var(--c-line-gold); border-radius: var(--radius-md); }
.faq__q { cursor: pointer; list-style: none; position: relative; padding: 1.1rem 3.2rem 1.1rem 1.4rem; font-family: var(--f-serif); font-weight: 600; font-size: 1.12rem; color: var(--c-ink); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: ""; position: absolute; right: 1.3rem; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--c-or-text); border-bottom: 2px solid var(--c-or-text); transform: translateY(-70%) rotate(45deg); transition: transform 0.3s ease; }
.faq__item[open] .faq__q::after { transform: translateY(-30%) rotate(-135deg); }
.faq__q:focus-visible { outline: 2px solid var(--c-or-text); outline-offset: 3px; border-radius: var(--radius-md); }
.faq__a { padding: 0 1.4rem 1.2rem; color: var(--c-ink-muted); line-height: 1.6; }
.faq__a p { margin: 0; }

.faq-section .section-title { margin-bottom: 0.4rem; }

/* =============================================================================
 * 26. BANNIÈRE DES PAGES INTÉRIEURES — compacte, unie (ardoise), sans photo
 * Le contenu de la page apparaît dès l'ouverture, sans avoir à défiler.
 * ========================================================================== */
.page-banner--compact {
    padding: calc(var(--nav-h) + 1.4rem) 0 1.9rem;
    background: linear-gradient(135deg, var(--c-bordeaux), var(--c-bordeaux-deep)) !important;
}
.page-banner--compact .page-banner__ring { width: min(60vw, 300px); top: calc(50% + var(--nav-h) / 2); opacity: 0.09; }
.page-banner--compact .page-banner__olive { width: clamp(130px, 14vw, 210px); right: -30px; bottom: -50px; opacity: 0.08; }
.page-banner--compact .breadcrumb { margin-bottom: 0.5rem; }
.page-banner--compact h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.1; margin-bottom: 0; }
.page-banner--compact .page-banner__filet { width: 84px; margin: 0.7rem auto 0.7rem; }
.page-banner--compact .lead { font-size: clamp(0.95rem, 1.3vw, 1.05rem); max-width: 62ch; margin-bottom: 0; line-height: 1.5; }
@media (max-width: 600px) {
    .page-banner--compact { padding: calc(var(--nav-h) + 1rem) 0 1.4rem; }
    .page-banner--compact .lead { font-size: 0.92rem; }
}
/* Pages intérieures : en-tête plus bas dès l'ouverture (même gabarit que l'en-tête réduit),
   pour que la bannière compacte et le contenu remontent à l'écran. */
body:not(.home) { --nav-h: 104px; }
body:not(.home) .site-header,
body:not(.home) .site-header.is-scrolled { min-height: 104px; padding-block: 0.35rem; }
body:not(.home) .site-header .brand__logo,
body:not(.home) .site-header.is-scrolled .brand__logo { height: 78px; }
@media (max-width: 1100px) {
    body:not(.home) { --nav-h: 84px; }
    body:not(.home) .site-header,
    body:not(.home) .site-header.is-scrolled { min-height: 84px; }
    body:not(.home) .site-header .brand__logo,
    body:not(.home) .site-header.is-scrolled .brand__logo { height: 64px; }
}
/* Fiche événement : la carte d'infos ne remonte plus sur la bannière (désormais compacte) */
.ev-sheet { margin-top: 1.6rem !important; }


/* =============================================================================
 * 28. BANNIÈRE D'ACCUEIL — sceau statique, sans ombre portée coûteuse
 * ========================================================================== */
.hero__ring svg { filter: none !important; }
.hero__logo { filter: none !important; }
.hero__title { text-shadow: none; }
.hero__caps { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55); }
.hero__seal::before {
    content: ""; position: absolute; inset: 6%; border-radius: 50%; z-index: 0; pointer-events: none;
    background: radial-gradient(circle, rgba(20, 24, 30, 0.42) 0%, rgba(20, 24, 30, 0.28) 45%, rgba(20, 24, 30, 0) 72%);
}

/* =============================================================================
 * 29. INSTAGRAM — apparition propre des publications
 * Pendant qu'Instagram prépare ses lecteurs (qui changent plusieurs fois de
 * hauteur), ils restent invisibles, hors du flux : les vignettes gardent la place
 * avec un reflet de chargement. Quand tout est prêt (ou au bout de 9 s), les
 * publications remplacent les vignettes d'un seul coup, puis apparaissent en
 * cascade (fondu + montée). Plus de sauts ni de clignotements.
 * ========================================================================== */
.ig-item { position: relative; }
.ig-item .buspizza_instagram { position: absolute; inset: 0 0 auto 0; visibility: hidden; opacity: 0; pointer-events: none; }
.ig-grid.is-shown .ig-item:not(.ig-item--fallback) .buspizza_instagram {
    position: static; visibility: visible; opacity: 1; pointer-events: auto;
}
.ig-grid.is-shown .ig-item:not(.ig-item--fallback) .ig-tile { display: none; }
.ig-grid.is-loading .ig-tile__label::after { content: " · chargement…"; }

/* =============================================================================
 * 30. BUS PIZZA — page Traiteur, ambiance tableau noir
 * ========================================================================== */
.traiteur-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.2rem; margin-top: 2.6rem; }
.traiteur-gallery .gallery-item { margin: 0; aspect-ratio: 4 / 3; }
.traiteur-gallery .gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
#carte-traiteur .menu-papier { max-width: 640px; }
/* Grain « tableau noir » discret sur les sections sombres */
.section--dark, .section--bordeaux, .site-footer, .page-banner--compact {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(135deg, var(--c-bordeaux), var(--c-bordeaux-deep)) !important;
}
.concept__media img { max-width: 100%; display: block; }

/* Carte des pizzas : grande feuille, base tomate et base crème côte à côte */
.menu-papiers .menu-papier--wide { grid-column: 1 / -1; max-width: 1100px; }
.menu-papier--wide .menu-papier__sections { display: grid; grid-template-columns: 1fr; gap: 0 3rem; }
@media (min-width: 900px) { .menu-papier--wide .menu-papier__sections { grid-template-columns: 1fr 1fr; } }
.menu-papier__list--carte .menu-papier__dish { margin-bottom: 1.05rem; }
.menu-papier__note { margin: 0 0 0.35rem; font-weight: 600; color: var(--c-ink); }
@media (min-width: 1100px) {
    .menu-papiers { grid-template-columns: 1fr; max-width: 1100px; }
    .menu-papiers .menu-papier:not(.menu-papier--wide) { max-width: 640px; }
}

/* =============================================================================
 * 31. PAGES LOCALES « PIZZA À … » (village.php)
 * ========================================================================== */
.vl-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.section:not(.section--dark) .vl-cta .btn--ghost { color: var(--c-ink); border-color: rgba(47, 50, 54, 0.45); }
.section:not(.section--dark) .vl-cta .btn--ghost:hover { color: #fff; }

/* Bloc d'ouverture : texte + carte « Le trajet » */
.vl-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.vl-hero__text p { max-width: 58ch; }
.vl-hero__text p + p { margin-top: 0.7rem; }
.vl-local {
    margin-top: 1.4rem !important;
    padding: 1rem 1.2rem;
    border-left: 3px solid var(--c-or);
    background: rgba(232, 149, 42, 0.08);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
}
.vl-route {
    position: relative;
    padding: 1.8rem 1.6rem 1.6rem;
    border-radius: var(--radius-md);
    background: var(--c-jet);
    color: var(--c-cream);
    box-shadow: var(--shadow-card);
}
.vl-route::before {
    content: ""; position: absolute; left: 1.6rem; right: 1.6rem; top: 0; height: 4px;
    background: linear-gradient(var(--c-or), var(--c-or)) top / 100% 1px no-repeat,
                linear-gradient(var(--c-bordeaux-velvet), var(--c-bordeaux-velvet)) bottom / 100% 1px no-repeat;
}
.vl-route__title { font-family: var(--f-serif); font-size: 1.9rem; font-weight: 400; color: var(--c-or-light); margin: 0 0 1rem; }
.vl-route__list { margin: 0; display: grid; gap: 0.1rem; }
.vl-route__list > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.8rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(247, 244, 238, 0.12); }
.vl-route__list dt { font-family: var(--f-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247, 244, 238, 0.7); padding-top: 0.15rem; }
.vl-route__list dd { margin: 0; font-weight: 600; }
.vl-route__btn { width: 100%; justify-content: center; margin-top: 1.4rem; }
.vl-route__tel { display: block; margin-top: 0.8rem; text-align: center; color: var(--c-or-light); font-weight: 600; padding: 0.4rem; }
.vl-route__tel:hover { text-decoration: underline; }

/* Pizzas mises en avant */
.vl-dishes { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1.2rem; }
.vl-dish {
    position: relative; display: flex; flex-direction: column;
    padding: 1.4rem 1.3rem 1.3rem;
    border-radius: var(--radius-md);
    background: rgba(247, 244, 238, 0.05);
    border: 1px solid rgba(232, 149, 42, 0.25);
    transition: border-color 0.3s ease, background 0.3s ease;
}
.vl-dish:hover { border-color: var(--c-or); background: rgba(247, 244, 238, 0.08); }
.vl-dish__base { font-family: var(--f-display); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-or-light); }
.vl-dish__name { margin: 0.4rem 0 0.5rem; font-size: 1.55rem; line-height: 1.1; }
.vl-dish__desc { margin: 0; font-size: 0.92rem; line-height: 1.5; color: rgba(247, 244, 238, 0.82); flex: 1; }
.vl-dish__price { margin-top: 1rem; align-self: flex-start; padding: 0.2rem 0.75rem; border-radius: 999px; background: var(--c-or); color: var(--c-jet); font-weight: 800; font-size: 0.95rem; }

/* Comment ça marche + horaires */
.vl-how { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.vl-steps { list-style: none; counter-reset: vl; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1rem; }
.vl-steps li { counter-increment: vl; display: grid; grid-template-columns: 3.2rem 1fr; grid-template-rows: auto auto; column-gap: 1rem; align-items: center; }
.vl-steps li::before {
    content: counter(vl); grid-row: 1 / 3; width: 3.2rem; height: 3.2rem; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--c-jet); color: var(--c-or-light);
    font-family: var(--f-serif); font-size: 1.6rem;
}
.vl-steps b { font-family: var(--f-serif); font-weight: 400; font-size: 1.45rem; line-height: 1.1; color: var(--c-ink); }
.vl-steps span { color: var(--c-ink-muted); }
.vl-hours { padding: 1.6rem; border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-soft), 0 0 0 1px var(--c-line); }
.vl-hours__title { margin: 0 0 0.8rem; font-size: 1.7rem; font-weight: 400; color: var(--c-or-text); }
.vl-hours ul { list-style: none; margin: 0; padding: 0; }
.vl-hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.65rem 0; border-bottom: 1px dashed var(--c-line); font-weight: 600; }
.vl-hours li span:last-child { text-align: right; }
.vl-hours li.is-closed { color: var(--c-ink-muted); font-weight: 400; }
.vl-hours__note { margin: 0.9rem 0 0; font-size: 0.88rem; color: var(--c-ink-muted); }

/* Traiteur + villages voisins */
.vl-more { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.vl-near { padding: 1.6rem; border-radius: var(--radius-md); border: 1px solid rgba(232, 149, 42, 0.3); background: rgba(247, 244, 238, 0.04); }
.vl-near__title { margin: 0 0 1rem; font-size: 1.5rem; font-weight: 400; color: var(--c-or-light); }
.vl-near ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.2rem 1.2rem; }
.vl-near li a { display: inline-block; padding: 0.4rem 0; color: var(--c-cream); font-weight: 600; font-size: 0.95rem; }
.vl-near li a:hover, .vl-near__all:hover { color: var(--c-or-light); text-decoration: underline; }
.vl-near__all { display: inline-block; margin-top: 1rem; font-weight: 700; color: var(--c-or-light); }

/* Page d'ensemble */
.vl-intro { max-width: 760px; }
.vl-grid { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1rem; }
.vl-card {
    display: flex; flex-direction: column; gap: 0.3rem; height: 100%;
    padding: 1.3rem 1.3rem 1.2rem;
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-soft), 0 0 0 1px var(--c-line);
    transition: box-shadow 0.3s ease;
}
.vl-card:hover { box-shadow: var(--shadow-card), 0 0 0 1px var(--c-or); }
.vl-card__name { font-family: var(--f-serif); font-size: 1.5rem; line-height: 1.15; color: var(--c-ink); }
.vl-card__meta { font-size: 0.9rem; color: var(--c-ink-muted); }
.vl-card__go { margin-top: 0.6rem; font-weight: 700; font-size: 0.85rem; color: var(--c-or-text); }
.vl-card:focus-visible { outline: 3px solid var(--c-or); outline-offset: 3px; }

@media (max-width: 900px) {
    .vl-hero, .vl-how, .vl-more { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .vl-near ul { grid-template-columns: 1fr; }
    .vl-route__list > div { grid-template-columns: 6.2rem 1fr; }
}

/* Pied de page : liens « Pizza près de chez vous » */
.footer-villages { margin-top: var(--sp-lg); text-align: center; }
.footer-villages__title { display: inline-block; font-family: var(--f-serif); font-size: 1.45rem; color: var(--c-or-light); padding: 0.2rem; }
.footer-villages__title:hover { text-decoration: underline; }
.footer-villages ul { list-style: none; margin: 0.6rem auto 0; padding: 0; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.1rem 1.2rem; }
.footer-villages li a { display: inline-block; padding: 0.35rem 0.1rem; font-size: 0.88rem; color: rgba(247, 244, 238, 0.78); }
.footer-villages li a:hover, .footer-villages a[aria-current="page"] { color: var(--c-or-light); text-decoration: underline; }
.footer-villages + .footer-filet { margin-top: 1.6rem; }

/* Page Traiteur : lien Facebook de Bruno (bouton clair sur fond crème) */
.ig-follow .btn--traiteur-fb { color: var(--c-ink); border-color: rgba(47, 50, 54, 0.45); margin: 0.4rem; }
.ig-follow .btn--traiteur-fb:hover { color: #fff; }

/* =============================================================================
 * 32. MÉGA MENU « PRÈS DE CHEZ VOUS »
 * ========================================================================== */
/* Sans JavaScript : simple lien ; avec JavaScript : bouton + panneau */
html.js .menu-item--mega .mega__link { display: none; }
html:not(.js) .menu-item--mega .mega__toggle,
html:not(.js) .menu-item--mega .mega { display: none; }

.mega__toggle {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.4rem 0; margin: 0;
    border: 0; background: none; cursor: pointer;
    font-family: var(--f-body); font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
    color: var(--c-cream);
    transition: color 0.25s ease;
}
.mega__toggle:hover,
.menu-item--mega.is-open > .mega__toggle,
.menu-item--mega.current-menu-ancestor > .mega__toggle { color: var(--c-or-light); }
.mega__toggle:focus-visible { outline: 2px solid var(--c-or-light); outline-offset: 4px; border-radius: 4px; }
.mega__chevron { width: 11px; height: 11px; transition: transform 0.2s ease; }
.menu-item--mega.is-open .mega__chevron { transform: rotate(180deg); }
.site-header:not(.is-scrolled) .mega__toggle { text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }

/* Liens du panneau : on neutralise le style des liens de navigation */
.site-header .main-nav .mega a:not(.btn) {
    text-transform: none; letter-spacing: 0; white-space: normal;
    text-shadow: none; padding: 0; color: var(--c-ink); font-family: var(--f-body);
}
.site-header .main-nav .mega a:not(.btn)::after { display: none; }

/* — Ordinateur : panneau large sous l'en-tête — */
@media (min-width: 1280px) {
    .menu-item--mega { position: static; }
    .mega {
        position: absolute; left: 0; right: 0; top: 100%;
        padding: 0 1.5rem;
        opacity: 0; visibility: hidden; transform: translateY(-6px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
    }
    .menu-item--mega.is-open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s; }
    .mega__inner {
        position: relative;
        max-width: 1240px; margin: 0.5rem auto 0;
        display: grid; grid-template-columns: minmax(200px, 250px) minmax(0, 1fr) minmax(220px, 270px); gap: 2.2rem;
        padding: 2rem 2.2rem;
        border-radius: 22px;
        background: var(--c-cream);
        color: var(--c-ink);
        box-shadow: 0 30px 60px -20px rgba(30, 32, 35, 0.6), 0 0 0 1px rgba(37, 40, 43, 0.1);
    }
    .mega__inner::before {
        content: ""; position: absolute; top: 0; left: 26px; right: 26px; height: 4px;
        background: linear-gradient(var(--c-or), var(--c-or)) top / 100% 1px no-repeat,
                    linear-gradient(var(--c-bordeaux-velvet), var(--c-bordeaux-velvet)) bottom / 100% 1px no-repeat;
    }
}
.mega__kicker { display: block; font-family: var(--f-script); font-size: 1.5rem; line-height: 1.1; color: var(--c-or-text); }
.mega__title { margin: 0.2rem 0 0.6rem; font-family: var(--f-serif); font-size: 1.9rem; line-height: 1.1; color: var(--c-ink); }
.mega__text { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--c-ink-muted); }
.site-header .main-nav .mega a.mega__all { display: inline-block; margin-top: 1rem; padding: 0.3rem 0; font-weight: 700; font-size: 0.92rem; color: var(--c-or-text); }
.site-header .main-nav .mega a.mega__all:hover { text-decoration: underline; }

.site-header .main-nav ul.mega__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem 1.2rem; align-content: start; flex-direction: initial; text-align: left; }
.site-header .main-nav .mega__list a {
    display: flex; justify-content: space-between; align-items: baseline; gap: 0.8rem;
    padding: 0.6rem 0.75rem; border-radius: 10px;
    transition: background 0.2s ease;
}
.site-header .main-nav .mega__list a:hover,
.site-header .main-nav .mega__list a:focus-visible { background: var(--c-cream-deep); }
.site-header .main-nav .mega__list a:focus-visible { outline: 2px solid var(--c-or); outline-offset: 0; }
.site-header .main-nav .mega__list a[aria-current="page"] { background: rgba(232, 149, 42, 0.14); box-shadow: inset 3px 0 0 var(--c-or); }
.mega__name { font-weight: 700; font-size: 0.98rem; color: var(--c-ink); }
.mega__meta { flex: none; font-size: 0.8rem; color: var(--c-ink-muted); white-space: nowrap; }

.mega__card { align-self: start; padding: 1.4rem; border-radius: 16px; background: var(--c-jet); color: var(--c-cream); }
.mega__card-title { margin: 0; font-family: var(--f-serif); font-size: 1.6rem; line-height: 1.1; color: var(--c-or-light); }
.mega__card-text { margin: 0.5rem 0 1rem; font-size: 0.92rem; line-height: 1.5; color: rgba(247, 244, 238, 0.85); }
.site-header .main-nav .mega .mega__btn { width: 100%; justify-content: center; font-family: var(--f-body); font-size: 0.85rem; letter-spacing: 0.1em; padding: 0.85rem 1rem; color: var(--c-jet); text-shadow: none; }
.site-header .main-nav .mega .mega__btn:hover { color: #fff; }
.mega__card-note { margin: 0.8rem 0 0; font-size: 0.82rem; color: rgba(247, 244, 238, 0.7); text-align: center; }

/* — Mobile et tablette : liste dépliante dans le menu plein écran — */
@media (max-width: 1279px) {
    .main-nav.has-mega-open { justify-content: flex-start; }
    .mega__toggle { font-family: var(--f-serif); font-size: 1.7rem; font-weight: 600; letter-spacing: 0.02em; text-transform: none; padding: 0.3rem 0.6rem; }
    .mega__chevron { width: 14px; height: 14px; }
    .mega { display: none; }
    .menu-item--mega.is-open .mega { display: block; }
    .mega__inner { width: min(100%, 360px); margin: 0.8rem auto 0; padding: 0.6rem; border-radius: 16px; background: rgba(247, 244, 238, 0.06); box-shadow: inset 0 0 0 1px rgba(232, 149, 42, 0.3); text-align: left; }
    .mega__intro .mega__kicker, .mega__title, .mega__text, .mega__card { display: none; }
    .mega__intro { order: 2; text-align: center; }
    .site-header .main-nav ul.mega__list { grid-template-columns: 1fr; gap: 0.1rem; }
    .site-header .main-nav .mega a:not(.btn) { color: var(--c-cream); }
    .site-header .main-nav .mega__list a:hover, .site-header .main-nav .mega__list a:focus-visible { background: rgba(247, 244, 238, 0.08); }
    .mega__name { color: var(--c-cream); font-size: 1.02rem; }
    .mega__meta { color: var(--c-or-light); }
    .site-header .main-nav .mega a.mega__all { color: var(--c-or-light); margin: 0.4rem 0 0.4rem; }
    .mega__inner { display: flex; flex-direction: column; }
}

/* Texte des pages villages saisi dans l'éditeur */
.vl-content > * { max-width: 58ch; }
.vl-content > * + * { margin-top: 0.7rem; }
.vl-content > .vl-local { margin-top: 1.4rem; }
/* Écrans d'ordinateur étroits : la liste prend la place de la carte d'appel
   (le bouton « Commander » reste dans l'en-tête). */
@media (min-width: 1280px) and (max-width: 1359px) {
    .mega__inner { grid-template-columns: minmax(190px, 220px) minmax(0, 1fr); gap: 1.8rem; padding: 1.8rem; }
    .mega__card { display: none; }
}

/* ==========================================================================
   33. EN-TÊTE PLUS LISIBLE (2.7.2) — liens et logo agrandis
   Le logo grandit sans rehausser l'en-tête, et « de Caro & Nono » est agrandi
   à l'intérieur du logo pour se lire d'un coup d'œil. Le menu burger prend
   le relais sous 1280 px (la barre complète n'y tient plus en grand).
   ========================================================================== */
.site-header .brand__logo { width: clamp(150px, 13vw, 190px); }
@media (max-width: 600px) { .site-header .brand__logo { width: 120px; } }
body:not(.home) .site-header .brand__logo,
body:not(.home) .site-header.is-scrolled .brand__logo { height: 90px; }
.site-header .lg-g-sub { transform-box: fill-box; transform-origin: 0 45%; transform: scale(1.32); }
@media (min-width: 1280px) {
    .site-header .brand { margin-right: 1.2rem; }
    .main-nav > ul { gap: 1.5rem; }
    .main-nav > ul > li > a,
    .main-nav .mega__toggle { font-size: 0.95rem; letter-spacing: 0.06em; }
    .mega__chevron { width: 13px; height: 13px; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
    .site-header .brand__logo { width: 165px; }
    .main-nav > ul { gap: 1rem; }
    .main-nav > ul > li > a,
    .main-nav .mega__toggle { font-size: 0.9rem; letter-spacing: 0.04em; }
}
@media (max-width: 1100px) {
    body:not(.home) .site-header .brand__logo,
    body:not(.home) .site-header.is-scrolled .brand__logo { height: 72px; }
}

/* Devise du sceau d'accueil agrandie : 8 → 13 px sur mobile, 11 → 18 px sur ordinateur.
   Elle reste dans le cercle intérieur (largeur de corde vérifiée de 320 à 1920 px). */
.hero__caps { font-size: 3.8cqi; letter-spacing: 0.12em; max-width: none; margin-top: 1.8cqi; line-height: 1.4; }

/* ==========================================================================
   34. FORMULAIRE DE CONTACT — Contact Form 7 (2.8.0)
   Même design que l'ancien formulaire : les champs reprennent .form-field.
   ========================================================================== */
.buspizza-cf7 .wpcf7-form-control-wrap { display: block; }
/* Carte du formulaire sur toute la largeur, sous l'adresse et le plan */
.form-card--wide { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.buspizza-cf7 .form-row { display: grid; gap: 0 1.1rem; }
@media (min-width: 600px) { .buspizza-cf7 .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .buspizza-cf7 .form-row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.buspizza-cf7 .form-hint { margin: -0.4rem 0 1rem; }
.buspizza-cf7 select { appearance: auto; cursor: pointer; }

/* Bloc « Votre événement » (affiché pour une demande de devis traiteur) */
.buspizza-cf7 .form-event {
    margin: 0 0 1.1rem; padding: 0.9rem 1.1rem 0;
    border: 1px solid var(--c-line); border-left: 3px solid var(--c-or);
    border-radius: var(--radius-sm); background: rgba(232, 149, 42, 0.05);
}
.buspizza-cf7 .form-event[hidden] { display: none; }
.buspizza-cf7 .form-event > legend { font-size: 1.15rem; padding: 0 0.4rem; margin-left: -0.4rem; }

/* Cases « Ce qui vous ferait plaisir » : pastilles cliquables */
.buspizza-cf7 .form-choices { border: 0; padding: 0; margin: 0 0 1.1rem; }
.buspizza-cf7 .form-choices > legend {
    font-family: var(--f-body); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--c-ink-muted); font-weight: 600; margin-bottom: 0.5rem;
}
.buspizza-cf7 .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.buspizza-cf7 .wpcf7-list-item { margin: 0; }
.buspizza-cf7 .form-field .wpcf7-list-item label {
    display: inline-flex; align-items: center; gap: 0.5rem; margin: 0;
    padding: 0.55rem 0.95rem; min-height: 44px;
    border: 1px solid #7A7F6D; border-radius: 999px; background: var(--c-cream);
    font-size: 0.95rem; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--c-ink);
    cursor: pointer; transition: background var(--t-fast), border-color var(--t-fast);
}
.buspizza-cf7 .form-field .wpcf7-list-item input { width: auto; padding: 0; margin: 0; accent-color: var(--c-or-text); }
.buspizza-cf7 .form-field .wpcf7-list-item label:has(input:checked) { background: rgba(232, 149, 42, 0.16); border-color: var(--c-or-text); }
.buspizza-cf7 .form-field .wpcf7-list-item label:has(input:focus-visible) { outline: 2px solid var(--c-or-text); outline-offset: 2px; }

/* Mention, captcha, bouton */
.buspizza-cf7 .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.buspizza-cf7 .form-actions .form-captcha { margin: 0; }
.buspizza-cf7 .form-legal { font-size: 0.82rem; color: var(--c-ink-muted); margin: 0.9rem 0 0; }
.buspizza-cf7 .form-legal a { color: var(--c-or-text); text-decoration: underline; }
.buspizza-cf7 .form-captcha:empty { display: none; }
.buspizza-cf7 .form-captcha .wpcf7-turnstile, .buspizza-cf7 .form-captcha .cf-turnstile { max-width: 100%; }
.buspizza-cf7 .wpcf7-submit { cursor: pointer; }
.buspizza-cf7 .wpcf7-submit:disabled { opacity: 0.6; cursor: wait; }
.buspizza-cf7 .wpcf7-spinner { vertical-align: middle; margin: 0 0 0 0.8rem; }

/* Erreurs et réponses */
.buspizza-cf7 .wpcf7-not-valid { border-color: #A12B2B !important; box-shadow: 0 0 0 3px rgba(161, 43, 43, 0.14); }
.buspizza-cf7 .wpcf7-not-valid-tip { display: block; margin-top: 0.35rem; font-size: 0.85rem; font-weight: 600; color: #A12B2B; }
.buspizza-cf7 .wpcf7-response-output {
    margin: 1.2rem 0 0 !important; padding: 0.9rem 1.1rem !important;
    border: 1px solid var(--c-line) !important; border-radius: var(--radius-sm); font-size: 0.95rem; line-height: 1.5;
}
.buspizza-cf7.sent .wpcf7-response-output { border-color: #3D7A3D !important; background: rgba(61, 122, 61, 0.08); color: #2C5A2C; }
.buspizza-cf7.invalid .wpcf7-response-output,
.buspizza-cf7.unaccepted .wpcf7-response-output { border-color: var(--c-or-text) !important; background: rgba(232, 149, 42, 0.1); color: var(--c-ink); }
.buspizza-cf7.failed .wpcf7-response-output,
.buspizza-cf7.aborted .wpcf7-response-output,
.buspizza-cf7.spam .wpcf7-response-output { border-color: #A12B2B !important; background: rgba(161, 43, 43, 0.07); color: #8A2424; }
.buspizza-cf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Lien « Demander un devis en ligne » (page Traiteur, fond clair) */
.section:not(.section--dark) .btn--ink { --btn-fg: var(--c-ink); color: var(--c-ink); border-color: rgba(47, 50, 54, 0.45); }
/* Zone de réponse : masquée tant qu'il n'y a rien à dire (même règle que Contact Form 7) */
.buspizza-cf7.init .wpcf7-response-output,
.buspizza-cf7.resetting .wpcf7-response-output,
.buspizza-cf7.submitting .wpcf7-response-output { display: none; }
/* Mobile : date et invités côte à côte dans le bloc événement */
@media (max-width: 599px) {
    .buspizza-cf7 .form-event .form-row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .buspizza-cf7 .form-event .form-row--4 > .form-field:first-child,
    .buspizza-cf7 .form-event .form-row--4 > .form-field:last-child { grid-column: 1 / -1; }
}
.buspizza-cf7 .form-hint a { color: var(--c-or-text); font-weight: 700; white-space: nowrap; }

/* En-tête : tous les liens alignés au pixel près (le bouton « Près de chez vous »
   n'avait pas la même hauteur de ligne que les liens et descendait de 2 px). */
@media (min-width: 1280px) {
    .main-nav > ul { align-items: center; }
    .main-nav > ul > li { display: flex; align-items: center; }
    .main-nav > ul > li > a,
    .main-nav .mega__toggle { display: inline-flex; align-items: center; line-height: 1.2; padding-block: 0.4rem; }
}
