/*
Theme Name: Le Petit Créole
Theme URI: https://lepetitcreole.fr
Author: Le Petit Créole
Description: Thème bloc sur mesure du restaurant caribéen Le Petit Créole (Sainte-Geneviève-des-Bois). Toutes les pages sont composées de blocs natifs, modifiables dans l'éditeur. Après activation : Apparence › Installer le contenu.
Version: 1.7.1
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: le-petit-creole
Tags: block-theme, full-site-editing, food-and-drink, one-column
*/

/* ==========================================================================
   Règles de lecture
   - Les classes de la maquette sont posées sur les blocs (className) : figure.wp-block-image.xxx,
     div.wp-block-group.xxx, div.wp-block-button.xxx. Le CSS d'un bloc WordPress est imprimé APRÈS
     cette feuille : toute surcharge d'un style de bloc est donc plus spécifique (.wp-block-image.xxx img).
   - Aucune icône dans le contenu : masques CSS (assets/img/icones), ornements et décors en pseudo-éléments.
   - Polices déclarées dans theme.json (fichiers du thème).
   ========================================================================== */

:root {
  --nuit: #12100c;
  --cacao: #1d160f;
  --creme: #faf1e3;
  --or: #e2a84c;
  --or-clair: #f3cf7e;
  --bronze: #87571b;
  --caramel: #a56b2a;
  --encre: #1f1a14;
  --encre-douce: #5b4a37;
  --texte-clair: #e8e2d8;

  --f-titre: Cinzel, 'Times New Roman', serif;
  --f-texte: 'EB Garamond', Georgia, serif;
  --f-script: Satisfy, cursive;
  --f-plat: Oswald, 'Arial Narrow', sans-serif;
  --f-bouton: Lato, Arial, sans-serif;

  --largeur: 1180px;
  /* marge réelle entre le bord de l'écran et le contenu : les décors s'y logent sans jamais le couvrir */
  --marge: max(20px, calc((100vw - var(--largeur)) / 2 + 20px));
  --degrade-or: linear-gradient(180deg, #fbe2a0 0%, #f2c766 45%, #d99a3c 100%);

  /* icônes (masques) */
  --i-palmier: url('assets/img/icones/palmier.svg');
  --i-fleche: url('assets/img/icones/fleche.svg');
}
.ico-couverts { --ico: url('assets/img/icones/couverts.svg'); }
.ico-calendrier { --ico: url('assets/img/icones/calendrier.svg'); }
.ico-image { --ico: url('assets/img/icones/image.svg'); }
.ico-coeur { --ico: url('assets/img/icones/coeur.svg'); }
.ico-email { --ico: url('assets/img/icones/email.svg'); }
.ico-toque { --ico: url('assets/img/icones/toque.svg'); }
.ico-cocktail { --ico: url('assets/img/icones/cocktail.svg'); }
.ico-lieu { --ico: url('assets/img/icones/lieu.svg'); }
.ico-telephone { --ico: url('assets/img/icones/telephone.svg'); }
.ico-horloge { --ico: url('assets/img/icones/horloge.svg'); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--nuit);
  color: var(--encre);
  font: 400 18px/1.55 var(--f-texte);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; } /* height:auto : sinon l'attribut height des blocs image l'emporte */
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
.wp-block-list { margin: 0; padding: 0; list-style: none; }

/* Espacement automatique de Gutenberg : coupé dans theme.json (blockGap 0px), filet ici à spécificité nulle. */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image, figure.wp-block-table { margin: 0; }

/* Décors (pseudo-éléments des sections) : feuilles et fleurs qui débordent des bandes */
.entete::before, .entete::after, .wp-block-cover.hero::before, .wp-block-cover.resa::before,
.wp-block-cover.tete-page::before, .evasion::before, .evasion::after, .papier::before, .papier::after,
.boissons::before, .boissons::after, .engagements::after {
  content: ''; position: absolute; pointer-events: none; z-index: 6;
  background: center / contain no-repeat;
}

/* ---------- Boutons (core/button : la classe est sur le conteneur, le style sur le lien) ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-button.btn-or, .wp-block-button.btn-contour { display: inline-block; margin: 0; }
.wp-block-button.btn-or .wp-block-button__link,
.wp-block-button.btn-contour .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 12px;
  font: 700 13px/1 var(--f-bouton); letter-spacing: .07em; text-transform: uppercase;
  padding: 17px 30px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.wp-block-button.btn-or .wp-block-button__link {
  background: linear-gradient(180deg, #f1c066 0%, #e2a84c 55%, #d29540 100%);
  color: #22160a; border: 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.wp-block-button.btn-or .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .35); }
.wp-block-button.btn-contour .wp-block-button__link { background: transparent; border: 1.5px solid var(--bronze); color: var(--encre); padding: 15px 34px; }
.wp-block-button.btn-contour .wp-block-button__link:hover { background: rgba(135, 87, 27, .08); }
.wp-block-button[class*='ico-'] .wp-block-button__link::before,
.wp-block-button.avec-fleche .wp-block-button__link::after {
  content: ''; flex: none; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.wp-block-button.avec-fleche .wp-block-button__link::after { --ico: var(--i-fleche); }
.wp-block-button.btn-contour[class*='ico-'] .wp-block-button__link::before { background: var(--bronze); }

/* ---------- Logo ---------- */
.wp-block-site-logo.logo img { width: 240px; height: auto; }
.wp-block-site-logo.logo-pied img { width: 160px; height: auto; }

/* ---------- En-tête ---------- */
.entete { position: relative; z-index: 40; background: var(--nuit); }
.entete-int {
  position: relative; z-index: 7;
  max-width: var(--largeur); margin: 0 auto; height: 104px; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.entete-int > .wp-block-site-logo { flex: none; }
/* WordPress pose la classe du bloc sur <nav> ET sur la liste qu'il contient : les boîtes visent nav. */
nav.wp-block-navigation.nav { margin-left: 40px; --navigation-layout-justify: flex-start; font-size: 16px; line-height: 1; }
.wp-block-navigation.nav .wp-block-navigation__container { gap: 44px; }
.wp-block-navigation.nav .wp-block-navigation-item__content {
  position: relative; font: 500 16px/1 var(--f-texte); color: #ebe6dc; padding: 10px 0; transition: color .2s;
}
.wp-block-navigation.nav .wp-block-navigation-item__content:hover { color: var(--or-clair); }
.wp-block-navigation.nav .current-menu-item > .wp-block-navigation-item__content { color: var(--or); }
.wp-block-navigation.nav .current-menu-item > .wp-block-navigation-item__content::after {
  content: ''; position: absolute; left: -12px; right: -12px; bottom: -12px; height: 2px; background: var(--or);
}
.wp-block-navigation.nav .wp-block-navigation__responsive-container-open,
.wp-block-navigation.nav .wp-block-navigation__responsive-container-close { color: var(--or); }
.wp-block-navigation.nav .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }
/* Panneau mobile : le CSS du bloc pose un fond clair, imprimé après cette feuille (seul !important du thème) */
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--nuit) !important; color: var(--creme) !important; padding: 28px 24px;
}
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 4px; align-items: flex-start; }
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  font-size: 22px; padding: 12px 0;
}
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content::after { display: none; }
.entete-cta .wp-block-button.btn-entete .wp-block-button__link { padding: 15px 26px; font-size: 12.5px; }

.entete::before { background-image: url('assets/img/deco/palme-sombre.svg'); width: 360px; aspect-ratio: 620 / 640; left: calc(var(--marge) - 370px); top: -150px; transform: rotate(62deg); }
.entete::after { background-image: url('assets/img/deco/palme-sombre-2.svg'); width: 380px; aspect-ratio: 620 / 640; right: calc(var(--marge) - 325px); top: -140px; transform: scaleX(-1) rotate(58deg); }

/* ---------- Couvertures (core/cover) : photo remplaçable, voile dessiné par le thème ---------- */
.wp-block-cover.hero, .wp-block-cover.tete-page, .wp-block-cover.resa { display: block; padding: 0; min-height: 0; }
.wp-block-cover.hero .wp-block-cover__inner-container,
.wp-block-cover.tete-page .wp-block-cover__inner-container,
.wp-block-cover.resa .wp-block-cover__inner-container { position: relative; z-index: 4; width: 100%; color: inherit; }
.wp-block-cover.hero .wp-block-cover__background.has-background-dim,
.wp-block-cover.tete-page .wp-block-cover__background.has-background-dim,
.wp-block-cover.resa .wp-block-cover__background.has-background-dim { opacity: 1; z-index: 1; }

/* ---------- Hero ---------- */
.wp-block-cover.hero { position: relative; z-index: 1; height: 470px; overflow: hidden; background: #2a2015; }
.wp-block-cover.hero .wp-block-cover__image-background { object-position: right center; }
/* voile sombre à gauche pour la lisibilité du texte */
.wp-block-cover.hero .wp-block-cover__background.has-background-dim {
  background:
    linear-gradient(90deg, rgba(13, 10, 6, .82) 0%, rgba(13, 10, 6, .62) 28%, rgba(13, 10, 6, .2) 48%, rgba(13, 10, 6, 0) 60%),
    linear-gradient(0deg, rgba(25, 14, 4, .45) 0%, rgba(25, 14, 4, 0) 30%);
}
.wp-block-cover.hero::before { background-image: url('assets/img/deco/palme-sombre.svg'); width: 340px; aspect-ratio: 620 / 640; left: calc(var(--marge) - 350px); bottom: -150px; transform: rotate(-6deg); z-index: 3; }
.hero-contenu {
  position: relative; z-index: 4; max-width: var(--largeur); margin: 0 auto; padding: 56px 20px 0;
  display: flex; flex-direction: column; align-items: stretch;
}
.hero-bienvenue { order: 1; font: 400 50px/1 var(--f-script); color: #f4efe6; margin: 0 0 4px -4px; }
.wp-block-heading.hero-titre {
  order: 2; font: 600 64px/1.02 var(--f-titre); letter-spacing: .005em; text-transform: uppercase;
  background: var(--degrade-or); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .45));
  hyphens: none; text-wrap: balance;
}
.hero-sous { order: 3; margin-top: 14px; font: 500 19px/1 var(--f-titre); letter-spacing: .32em; text-transform: uppercase; color: #f1ece2; }
/* ornement : trait — palmier — trait */
.hero-contenu::after, .tete-page-int::after {
  content: ''; display: block; width: 340px; height: 44px; margin: 20px 0 18px;
  background:
    url('assets/img/icones/palmier-or.svg') center / 52px 44px no-repeat,
    linear-gradient(90deg, transparent, var(--or) 30%) left center / calc(50% - 40px) 1.5px no-repeat,
    linear-gradient(90deg, var(--or) 70%, transparent) right center / calc(50% - 40px) 1.5px no-repeat;
}
.hero-contenu::after { order: 4; }
.hero-accroche { order: 5; font: 400 28px/1.45 var(--f-script); color: #f1ebe0; margin-bottom: 26px; }
.hero-boutons { order: 6; }
.wp-block-button.btn-grand .wp-block-button__link { padding: 18px 34px; font-size: 13.5px; }

/* ---------- Papier crème (sections claires) : bords déchirés en arrière-plans ---------- */
.wp-block-group.papier {
  position: relative; z-index: 2;
  margin-block: -15px;
  border-block: 15px solid transparent;
  background:
    url('assets/img/deco/bord-dechire.svg') left top / 720px 16px repeat-x border-box,
    url('assets/img/deco/bord-dechire-bas.svg') left bottom / 720px 16px repeat-x border-box,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .52 0 0 0 0 .40 0 0 0 0 .24 0 0 0 .075 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") left top / 260px 260px repeat padding-box,
    radial-gradient(ellipse 45% 60% at 12% 40%, rgba(222, 196, 152, .22), transparent 70%) padding-box,
    radial-gradient(ellipse 40% 60% at 88% 60%, rgba(222, 196, 152, .2), transparent 70%) padding-box,
    linear-gradient(var(--creme), var(--creme)) padding-box;
}

.titre-section { text-align: center; position: relative; z-index: 2; }
.titre-section::before {
  content: ''; display: block; width: 40px; height: 34px; margin: 0 auto 2px;
  background: var(--bronze); -webkit-mask: var(--i-palmier) center / contain no-repeat; mask: var(--i-palmier) center / contain no-repeat;
}
.titre-section .wp-block-heading {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  font: 600 38px/1.1 var(--f-titre); letter-spacing: .02em; text-transform: uppercase; color: var(--bronze);
}
.titre-section .wp-block-heading::before, .titre-section .wp-block-heading::after {
  content: ''; width: 92px; height: 1.5px; background: var(--bronze); opacity: .7;
}
.titre-script { font: 400 26px/1.3 var(--f-script); color: #5e3e17; margin-top: 8px; }

/* ---------- Notre carte (accueil) ---------- */
.wp-block-group.carte { padding: 28px 0 44px; }
.carte.papier::before { background-image: url('assets/img/deco/palme-claire.svg'); width: 300px; aspect-ratio: 620 / 640; left: -140px; top: 20px; transform: rotate(60deg); opacity: .9; z-index: 0; }
.carte.papier::after { background-image: url('assets/img/deco/palme-claire.svg'); width: 280px; aspect-ratio: 620 / 640; right: -150px; top: -30px; transform: scaleX(-1) rotate(10deg); opacity: .9; z-index: 0; }
.carrousel { position: relative; z-index: 2; max-width: 1360px; margin: 34px auto 0; padding: 0 56px; }
.plats {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% / 10);
  overflow: hidden; scrollbar-width: none;
  clip-path: inset(0 2px 0 0); /* rogne la bordure du dernier plat visible, collée à la flèche */
  padding-top: 14px; margin-top: -14px; /* place pour le zoom de la photo au survol, que overflow:hidden rognait en haut */
}
.plats::-webkit-scrollbar { display: none; }
.plat {
  scroll-snap-align: start; text-align: center; padding: 0 9px 6px;
  display: flex; flex-direction: column; align-items: center;
  border-right: 1px solid rgba(135, 87, 27, .22);
}
.plat:last-child { border-right: 0; }
.wp-block-image.plat-photo { margin-bottom: 20px; align-self: stretch; text-align: center; }
.wp-block-image.plat-photo img {
  margin-inline: auto; /* centrée dans sa carte : une image « block » ignore text-align */
  width: min(112px, 100%); height: auto; aspect-ratio: 1; /* reste rond quand la colonne rétrécit */
  border-radius: 50%; object-fit: cover;
  border: 3px solid #e7b25e; box-shadow: 0 0 0 1.5px #fff6e2, 0 8px 16px rgba(80, 45, 10, .28);
  transition: transform .3s ease;
}
.plat:hover .wp-block-image.plat-photo img { transform: scale(1.05) rotate(-3deg); }
.plat-nom { font: 500 14.5px/1.2 var(--f-plat); text-transform: uppercase; letter-spacing: .01em; color: var(--encre); }
.plat-detail { font: 400 11.5px/1.25 var(--f-texte); color: var(--encre-douce); margin-top: 3px; text-transform: none; }
.plat-prix { font: 600 19px/1 var(--f-texte); color: var(--caramel); padding-top: 2px; }
.plat-prix::before {
  content: ''; display: block; width: 17px; height: 15px; margin: 10px auto 4px;
  background: #c88f45; -webkit-mask: var(--i-palmier) center / contain no-repeat; mask: var(--i-palmier) center / contain no-repeat;
}
.carrousel-fleche {
  position: absolute; top: 58px; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; margin: 0; cursor: pointer; color: var(--encre);
  font-size: 0; line-height: 0; overflow: hidden; border-radius: 50%;
}
.carrousel-fleche::before {
  content: ''; position: absolute; inset: 6px; background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.carrousel-fleche.prec { left: 6px; --ico: url('assets/img/icones/chevron-g.svg'); }
.carrousel-fleche.suiv { right: 6px; --ico: url('assets/img/icones/chevron-d.svg'); }
.carrousel-fleche:hover { color: var(--bronze); }
.carrousel-fleche:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
.plats.glisse .plat { animation: glisse .45s ease; }
.plats.glisse-inverse .plat { animation: glisse-inverse .45s ease; }
@keyframes glisse { from { transform: translateX(100%); } }
@keyframes glisse-inverse { from { transform: translateX(-100%); } }

/* ---------- Une évasion ---------- */
/* pas de z-index ici : les feuilles doivent pouvoir passer devant le papier voisin */
.wp-block-group.evasion { position: relative; background: var(--cacao); min-height: 382px; display: flex; align-items: center; }
.wp-block-image.evasion-photo {
  position: absolute; top: 0; bottom: 0; right: 0; width: 58%; margin: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
}
.wp-block-image.evasion-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.evasion-texte { position: relative; z-index: 3; width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 40px 20px 44px; }
.evasion-texte > * { max-width: 480px; }
.evasion-texte::before, .engagements-int::before {
  content: ''; display: block; width: 210px; height: 40px; margin-bottom: 10px;
  background:
    url('assets/img/icones/palmier-or.svg') left center / 48px 40px no-repeat,
    linear-gradient(90deg, var(--or), transparent) 60px center / 150px 1.5px no-repeat;
}
.evasion .wp-block-heading {
  font: 600 31px/1.18 var(--f-titre); text-transform: uppercase; letter-spacing: .015em;
  background: var(--degrade-or); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 18px;
}
.evasion-texte p { font-size: 18px; line-height: 1.5; color: var(--texte-clair); margin-bottom: 24px; }
.evasion::before { background-image: url('assets/img/deco/palme-sombre-2.svg'); width: 300px; aspect-ratio: 620 / 640; left: calc(var(--marge) - 310px); top: -130px; transform: rotate(64deg); }
.evasion::after { background-image: url('assets/img/deco/hibiscus.svg'); width: 170px; aspect-ratio: 1; left: calc(var(--marge) - 200px); bottom: -22px; transform: rotate(-12deg); z-index: 7; }

/* ---------- Galerie (accueil) ---------- */
.wp-block-group.galerie { padding: 30px 0 30px; text-align: center; }
.galerie.papier::before { background-image: url('assets/img/deco/palme-claire.svg'); width: 280px; aspect-ratio: 620 / 640; left: -150px; top: 110px; transform: rotate(70deg); opacity: .9; z-index: 0; }
/* sous le contenu (z-index 1 < 2) : elle peut déborder, jamais masquer */
.galerie.papier::after, .galerie-complete.papier::after { background-image: url('assets/img/deco/monstera.svg'); width: 150px; aspect-ratio: 420 / 470; right: calc(var(--marge) - 190px); top: 40px; transform: rotate(-38deg); z-index: 1; }
.galerie-grille {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.24fr 1.15fr 1fr 1.15fr 1.24fr; gap: 7px;
  max-width: 1300px; margin: 34px auto 20px; padding: 0 20px;
}
.galerie-grille .wp-block-image img {
  width: 100%; height: 176px; object-fit: cover; border-radius: 4px;
  box-shadow: 0 6px 14px rgba(60, 35, 10, .18);
}
.galerie-boutons { justify-content: center; position: relative; z-index: 2; }

/* ---------- Réservation (composition synchronisée) ---------- */
.wp-block-cover.resa { position: relative; overflow: visible; color: var(--texte-clair); }
.wp-block-cover.resa .wp-block-cover__image-background { object-position: center 62%; }
.wp-block-cover.resa .wp-block-cover__background.has-background-dim {
  background: linear-gradient(90deg, rgba(14, 10, 6, .82) 0%, rgba(14, 10, 6, .55) 45%, rgba(14, 10, 6, .55) 100%);
}
.resa-int {
  position: relative; z-index: 3;
  max-width: var(--largeur); margin: 0 auto; padding: 46px 20px 42px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 40px;
}
.resa-intro { flex: 0 0 auto; }
.resa-intro .wp-block-heading { font: 400 42px/1.1 var(--f-script); color: var(--or); margin-bottom: 14px; white-space: nowrap; }
.resa-intro p { font-size: 16px; line-height: 1.5; max-width: 310px; color: #e9e2d6; }
.resa-droite { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 6px; }
.resa-infos { display: flex; gap: 30px; }
.resa-infos li { position: relative; padding-left: 46px; min-height: 34px; font-size: 14px; line-height: 1.45; color: #ddd4c6; white-space: nowrap; }
.resa-infos li::before {
  content: ''; position: absolute; left: 0; top: 0; width: 34px; height: 34px; background: var(--or);
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.resa-infos li:nth-child(1) { --ico: url('assets/img/icones/calendrier.svg'); }
.resa-infos li:nth-child(2) { --ico: url('assets/img/icones/telephone.svg'); }
.resa-infos li:nth-child(3) { --ico: url('assets/img/icones/lieu.svg'); }
.resa-infos li:nth-child(4) { --ico: url('assets/img/icones/horloge.svg'); }
.resa-infos strong { display: block; font-weight: 600; color: #f6efe3; font-size: 14.5px; margin-bottom: 2px; }
.resa-boutons { margin-left: 48px; }
/* z-index 2 : derrière le texte de la réservation (z-index 3), toujours devant le bord de la galerie */
.wp-block-cover.resa::before { background-image: url('assets/img/deco/palme-sombre.svg'); width: 320px; aspect-ratio: 620 / 640; right: calc(var(--marge) - 335px); top: -150px; transform: scaleX(-1) rotate(40deg); z-index: 2; }

/* ---------- Pied de page ---------- */
/* z-index 1 : le bord déchiré d'une section crème juste au-dessus doit rester visible */
.pied { background: var(--nuit); color: #cfc8bc; position: relative; z-index: 1; }
.pied-int {
  max-width: 1300px; margin: 0 auto; padding: 34px 40px 30px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px;
}
.pied-int > .wp-block-site-logo { justify-self: start; }
.pied-centre { text-align: center; }
nav.wp-block-navigation.pied-nav {
  --navigation-layout-justify: center; justify-content: center; font-size: 14px; line-height: 1;
  padding-bottom: 16px; border-bottom: 1px solid rgba(226, 168, 76, .28);
}
.wp-block-navigation.pied-nav .wp-block-navigation__container { gap: 14px 30px; justify-content: center; }
.wp-block-navigation.pied-nav .wp-block-navigation-item__content { font: 400 14px/1 var(--f-texte); color: #ddd6ca; }
.wp-block-navigation.pied-nav .current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation.pied-nav .wp-block-navigation-item__content:hover { color: var(--or); }
.pied-legal { margin-top: 14px; font: 400 11.5px/1.4 var(--f-texte); color: #8d877d; }
.pied-legal a:hover { color: var(--or); }
/* séparateur « | » de la maquette, posé devant chaque lien (masqué en mobile, où les liens passent à la ligne) */
.pied-legal a::before { content: '|'; display: inline-block; margin: 0 11px 0 8px; color: #8d877d; }
.pied-droite { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.wp-block-social-links.reseaux { display: flex; gap: 10px; margin: 0; padding: 0; }
.wp-block-social-links.reseaux .wp-social-link { background: var(--or); color: var(--nuit); border-radius: 50%; margin: 0; transition: background-color .2s; }
.wp-block-social-links.reseaux .wp-social-link:hover { background: var(--or-clair); transform: none; }
.wp-block-social-links.reseaux .wp-block-social-link-anchor { width: 30px; height: 30px; padding: 0; display: grid; place-items: center; }
.wp-block-social-links.reseaux .wp-social-link svg { width: 17px; height: 17px; fill: currentColor; }
.pied-script { font: 400 23px/1 var(--f-script); color: var(--or); display: flex; align-items: flex-end; gap: 6px; transform: rotate(-4deg); }
.pied-script { text-wrap: balance; } /* retours à la ligne équilibrés : jamais un « ! » tout seul */
.pied-script::after {
  content: ''; flex: none; width: 30px; height: 26px; background: currentColor;
  -webkit-mask: var(--i-palmier) center / contain no-repeat; mask: var(--i-palmier) center / contain no-repeat;
}

/* ==========================================================================
   Pages intérieures
   ========================================================================== */

/* ---------- Bandeau de titre de page ---------- */
.wp-block-cover.tete-page { position: relative; z-index: 1; overflow: hidden; text-align: center; background: #2a2015; padding: 76px 20px 92px; }
.wp-block-cover.tete-page .wp-block-cover__background.has-background-dim {
  background: linear-gradient(180deg, rgba(13, 10, 6, .6) 0%, rgba(13, 10, 6, .7) 60%, rgba(13, 10, 6, .82) 100%);
}
.tete-page-int { position: relative; z-index: 4; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.fil { order: 1; font: 700 11.5px/1 var(--f-bouton); letter-spacing: .14em; text-transform: uppercase; color: rgba(241, 236, 226, .82); margin-bottom: 18px; }
.fil a { color: var(--or); }
.tete-page-int .wp-block-heading {
  order: 2; font: 600 58px/1.05 var(--f-titre); text-transform: uppercase; letter-spacing: .01em;
  background: var(--degrade-or); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .45)); text-wrap: balance;
}
.tete-page-int::after { order: 3; margin: 16px auto 14px; }
.tete-script { order: 4; font: 400 28px/1.35 var(--f-script); color: #f1ebe0; }
/* Titres en dégradé doré (background-clip: text) : les accents des capitales (É, À) dépassent la boîte du titre */
.tete-page-int .wp-block-heading, .evasion .wp-block-heading, .engagements .wp-block-heading, .sombre .titre-section .wp-block-heading { padding-top: .16em; margin-top: -.16em; }
.wp-block-cover.tete-page::before { background-image: url('assets/img/deco/palme-sombre.svg'); width: 300px; aspect-ratio: 620 / 640; left: calc(var(--marge) - 310px); bottom: -120px; transform: rotate(-6deg); z-index: 3; }
.tete-carte .wp-block-cover__image-background { object-position: center 55%; }
.tete-restaurant .wp-block-cover__image-background { object-position: center 45%; }
.tete-reservation .wp-block-cover__image-background { object-position: center 40%; }
.tete-contact .wp-block-cover__image-background { object-position: center 60%; }

/* Palmes claires des pages intérieures : derrière le contenu (z-index 0) */
.menu.papier::before, .formulaire-zone.papier::before, .histoire.papier::before, .coordonnees.papier::before, .vins.papier::before {
  background-image: url('assets/img/deco/palme-claire.svg'); width: 300px; aspect-ratio: 620 / 640; left: -150px; top: 60px; transform: rotate(60deg); opacity: .9; z-index: 0;
}
.menu.papier::after, .formulaire-zone.papier::after {
  background-image: url('assets/img/deco/palme-claire.svg'); width: 280px; aspect-ratio: 620 / 640; right: -150px; top: 45%; transform: scaleX(-1) rotate(10deg); opacity: .9; z-index: 0;
}

/* ---------- Carte complète ---------- */
.wp-block-group.menu { padding: 50px 0 64px; }
/* .wp-block-group : la mise en page « flow » de WordPress annule la marge basse du dernier enfant */
.wp-block-group.menu-categorie { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto 56px; padding: 0 20px; scroll-margin-top: 64px; }
.menu-liste { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 60px; margin-top: 30px; text-align: left; }
.menu-plat { display: flex; align-items: center; gap: 18px; }
.wp-block-image.menu-photo { flex: none; }
.wp-block-image.menu-photo img {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  border: 3px solid #e7b25e; box-shadow: 0 0 0 1.5px #fff6e2, 0 6px 12px rgba(80, 45, 10, .25);
}
.menu-texte { flex: 1; min-width: 0; }
/* ligne « nom ....... prix » : les pointillés sont un pseudo-élément placé entre les deux */
.menu-ligne, .carte-ligne { display: flex; align-items: baseline; gap: 10px; }
.menu-ligne::after, .carte-ligne:has(.carte-prix)::after {
  content: ''; order: 1; flex: 1 1 24px; min-width: 24px;
  border-bottom: 2px dotted rgba(135, 87, 27, .45); transform: translateY(-4px);
}
.menu-nom, .carte-nom { order: 0; flex: 0 1 auto; }
.menu-prix, .carte-prix { order: 2; }
.menu-nom { font: 500 17px/1.25 var(--f-plat); text-transform: uppercase; color: var(--encre); }
.menu-prix { font: 600 21px/1 var(--f-texte); color: var(--caramel); white-space: nowrap; }
.menu-desc { margin-top: 4px; font: italic 400 16.5px/1.4 var(--f-texte); color: var(--encre-douce); }
.menu-note { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; padding: 0 20px; text-align: center; font: italic 400 16px/1.6 var(--f-texte); color: var(--encre-douce); }

/* Navigation des rubriques : reste en haut de l'écran pendant la lecture */
.wp-block-group.menu-nav {
  position: sticky; top: 0; z-index: 30;
  background: var(--creme); border-bottom: 1px solid rgba(135, 87, 27, .2);
  box-shadow: 0 6px 14px rgba(60, 35, 10, .08);
}
.admin-bar .wp-block-group.menu-nav { top: 32px; }
.menu-nav::before {
  content: ''; position: absolute; left: 0; right: 0; top: -15px; height: 16px;
  background: url('assets/img/deco/bord-dechire.svg') repeat-x; background-size: 720px 16px;
}
.menu-nav-liste {
  display: flex; justify-content: safe center; gap: 4px 26px;
  max-width: 1240px; margin: 0 auto; padding: 0 20px;
  overflow-x: auto; scrollbar-width: none;
}
.menu-nav-liste::-webkit-scrollbar { display: none; }
.menu-nav-liste a {
  display: block; white-space: nowrap; padding: 17px 0 14px;
  font: 700 11.5px/1 var(--f-bouton); letter-spacing: .1em; text-transform: uppercase;
  color: var(--bronze); border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.menu-nav-liste a:hover, .menu-nav-liste a.actif { color: var(--encre); border-bottom-color: var(--or); }
.boissons, .vins, .bloc { scroll-margin-top: 64px; }

/* Listes simples (sans photo) — colonnes « journal » : un article long ne creuse pas de trou */
.carte-liste { columns: 2; column-gap: 60px; margin-top: 28px; text-align: left; }
.carte-item { min-width: 0; break-inside: avoid; padding-bottom: 16px; }
.carte-ligne { font: 500 16.5px/1.3 var(--f-plat); text-transform: uppercase; color: var(--encre); }
.carte-nom em { font: 400 13px/1 var(--f-plat); letter-spacing: .02em; text-transform: none; color: var(--encre-douce); }
.carte-prix { font: 600 20px/1 var(--f-texte); color: var(--caramel); white-space: nowrap; }
.carte-detail { margin-top: 3px; font: italic 400 15.5px/1.35 var(--f-texte); color: var(--encre-douce); }
.carte-ligne.carte-supplement { margin-top: 6px; font: italic 400 16px/1.3 var(--f-texte); text-transform: none; color: var(--caramel); }
.carte-supplement .carte-prix { font-size: 17px; }

/* Blocs côte à côte, sous-titres, notes */
.blocs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 64px; margin-top: 30px; text-align: left; }
.blocs-2 .carte-liste { columns: 1; margin-top: 18px; }
.blocs-2 .carte-item { padding-bottom: 14px; }
.sous-titre-ligne { display: flex; align-items: center; gap: 14px; }
.sous-titre-ligne .sous-titre { flex: 1; }
.sous-titre { display: flex; align-items: center; gap: 14px; font: 600 21px/1.2 var(--f-titre); text-transform: uppercase; letter-spacing: .02em; color: var(--bronze); }
.sous-titre::after { content: ''; flex: 1; height: 1.5px; background: linear-gradient(90deg, rgba(135, 87, 27, .55), transparent); }
.sous-note { margin-top: 8px; font: 400 18px/1.4 var(--f-script); color: #5e3e17; }
.titre-bloc .wp-block-heading { font-size: 30px; }
.titre-bloc .wp-block-heading::before, .titre-bloc .wp-block-heading::after { width: 60px; }

/* Pastille de prix (formules à prix unique) */
.badge-prix {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(180deg, #f1c066 0%, #e2a84c 55%, #d29540 100%); color: #22160a;
  font: 700 16px/1 var(--f-texte); letter-spacing: 0; text-transform: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.badge-prix br { display: none; }
.badge-prix em { margin-top: 3px; font: 700 9px/1 var(--f-bouton); letter-spacing: .08em; text-transform: uppercase; }

/* Cartons de formule (planches, menu enfants, vins) */
.formules { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 34px; }
.formule {
  text-align: left; padding: 24px 28px; border-radius: 6px;
  background: rgba(255, 251, 243, .88); border: 1px solid rgba(135, 87, 27, .28);
  box-shadow: 0 12px 28px rgba(80, 50, 15, .1);
}
.formule-titre { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.formule-nom { font: 600 18px/1.25 var(--f-titre); text-transform: uppercase; letter-spacing: .02em; color: var(--bronze); }
.formule-nom br { display: none; }
.formule-nom em { display: block; margin-top: 3px; font: italic 400 15px/1.2 var(--f-texte); letter-spacing: 0; text-transform: none; color: var(--encre-douce); }
.formule-liste { display: grid; gap: 8px; margin-top: 14px; }
.formule-liste li { display: flex; align-items: baseline; gap: 10px; font-size: 17px; line-height: 1.35; }
.formule-liste li::before {
  content: ''; flex: none; width: 15px; height: 13px; background: #c88f45;
  -webkit-mask: var(--i-palmier) center / contain no-repeat; mask: var(--i-palmier) center / contain no-repeat;
}
.formule .carte-liste { columns: 1; margin-top: 16px; }
.formule .carte-item { padding-bottom: 12px; }
.formule .carte-item:last-child { padding-bottom: 0; }
.formule-enfants { margin-top: 18px; }
.formule-enfants .sous-note { margin-top: 14px; }

/* Accompagnements au choix */
.accomp { margin-top: 34px; text-align: center; }
.accomp-titre { margin-bottom: 14px; font: 700 12px/1 var(--f-bouton); letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); }
.accomp-liste { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.accomp-liste li { padding: 10px 18px; border: 1px solid rgba(135, 87, 27, .4); border-radius: 999px; background: rgba(255, 251, 243, .7); font: 500 14px/1 var(--f-plat); text-transform: uppercase; color: var(--encre); }

/* Bande sombre des boissons : mêmes composants, couleurs inversées */
.wp-block-group.boissons { position: relative; background: var(--cacao); padding: 70px 0 40px; }
.sombre .titre-section::before { background: var(--or); }
.sombre .titre-section .wp-block-heading { background: var(--degrade-or); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sombre .titre-section .wp-block-heading::before, .sombre .titre-section .wp-block-heading::after { background: var(--or); }
.sombre .titre-script { color: #eadfca; }
.sombre .sous-titre { color: var(--or); }
.sombre .sous-titre::after { background: linear-gradient(90deg, rgba(226, 168, 76, .55), transparent); }
.sombre .carte-ligne { color: #f3ece0; }
.sombre .carte-nom em { color: rgba(232, 226, 216, .65); }
.sombre .carte-prix { color: var(--or-clair); }
.sombre .carte-detail { color: rgba(232, 226, 216, .72); }
.sombre .carte-ligne::after { border-bottom-color: rgba(226, 168, 76, .4); }
.boissons::before { background-image: url('assets/img/deco/palme-sombre-2.svg'); width: 300px; aspect-ratio: 620 / 640; left: calc(var(--marge) - 310px); top: -130px; transform: rotate(64deg); }
.boissons::after { background-image: url('assets/img/deco/hibiscus.svg'); width: 170px; aspect-ratio: 1; right: calc(var(--marge) - 200px); bottom: -22px; transform: scaleX(-1) rotate(-12deg); z-index: 7; }

/* Bières, apéritifs et vins */
.wp-block-group.vins { padding: 60px 0 64px; }
.vins-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 44px; }
.vins .menu-note { margin-top: 10px; }

/* ---------- Le restaurant ---------- */
.wp-block-group.histoire { padding: 40px 0 70px; }
.histoire-int {
  position: relative; z-index: 2; max-width: var(--largeur); margin: 40px auto 0; padding: 0 20px;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center;
}
.histoire-intro { font: 400 29px/1.35 var(--f-script); color: #5e3e17; margin-bottom: 26px; }
.frise { display: grid; gap: 20px; margin-bottom: 30px; }
.frise-item { display: grid; grid-template-columns: 84px 1fr; gap: 20px; align-items: start; }
.frise-annee { font: 600 27px/1 var(--f-titre); color: var(--caramel); padding: 4px 18px 4px 0; border-right: 2px solid rgba(135, 87, 27, .35); white-space: nowrap; } /* « 2026 » déborde de 1 px de la colonne : sans nowrap l'éditeur le coupe en « 202 / 6 » */
.frise-texte { font-size: 18.5px; line-height: 1.6; }
.frise-texte strong { font-weight: 600; color: var(--bronze); }
.histoire-boutons { margin-top: 40px; } /* fusionne avec les 30 px de la frise : 40 px comme le bouton en ligne de la maquette */
.histoire-photos { position: relative; padding-bottom: 60px; }
.wp-block-image.histoire-salle img { width: 100%; height: 400px; object-fit: cover; border-radius: 4px; box-shadow: 0 14px 30px rgba(60, 35, 10, .22); }
.wp-block-image.histoire-plat { position: absolute; left: -60px; bottom: 0; margin: 0; }
.wp-block-image.histoire-plat img {
  width: 210px; height: 210px; max-width: none; aspect-ratio: 1; border-radius: 50%; object-fit: cover; /* cadre absolu : sans max-width:none, l'image rétrécit en largeur seulement et devient ovale */
  border: 4px solid #e7b25e; box-shadow: 0 0 0 2px #fff6e2, 0 22px 40px rgba(40, 20, 5, .4);
}

.wp-block-group.engagements { position: relative; background: var(--cacao); padding: 70px 20px 84px; text-align: center; }
.engagements-int { position: relative; z-index: 3; max-width: 1040px; margin: 0 auto; }
.engagements-int::before {
  margin: 0 auto 10px; width: 228px;
  background:
    url('assets/img/icones/palmier-or.svg') center / 48px 40px no-repeat,
    linear-gradient(90deg, transparent, var(--or)) left center / 90px 1.5px no-repeat,
    linear-gradient(90deg, var(--or), transparent) right center / 90px 1.5px no-repeat;
}
.engagements-script { margin: 4px 0 46px; font: 400 32px/1.2 var(--f-script); color: #eadfca; }
.engagements-int > .wp-block-heading {
  margin: 8px 0 0; font: 600 31px/1.18 var(--f-titre); text-transform: uppercase; letter-spacing: .015em;
  background: var(--degrade-or); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.engagements-liste { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.engagement::before {
  content: ''; display: block; width: 46px; height: 46px; margin: 0 auto 14px; background: var(--or);
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.engagement .wp-block-heading { font: 600 18px/1.3 var(--f-titre); text-transform: uppercase; letter-spacing: .04em; color: var(--or-clair); margin-bottom: 10px; }
.engagement p { font-size: 17.5px; line-height: 1.5; color: var(--texte-clair); }
.engagements::after { background-image: url('assets/img/deco/hibiscus.svg'); width: 170px; aspect-ratio: 1; right: calc(var(--marge) - 200px); bottom: -22px; transform: scaleX(-1) rotate(-12deg); z-index: 7; }

.wp-block-group.galerie-complete { padding: 40px 0 70px; text-align: center; scroll-margin-top: 20px; }
.galerie-mosaique {
  position: relative; z-index: 2; max-width: 1300px; margin: 34px auto 0; padding: 0 20px;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: row dense; gap: 8px;
}
.galerie-mosaique .wp-block-image { height: 100%; }
.galerie-mosaique .wp-block-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; box-shadow: 0 6px 14px rgba(60, 35, 10, .18); }
.galerie-mosaique .wp-block-image.g-large { grid-column: span 2; grid-row: span 2; }

/* Réseaux sociaux et avis clients */
.lien-clients {
  position: relative; z-index: 2; max-width: 1000px; margin: 56px auto 0; padding: 0 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; text-align: left;
}
.lien-clients .carton-titre { text-align: center; font-size: 21px; }
.wp-block-social-links.reseaux-liste { display: block; margin: 18px 0 0; padding: 0; }
.wp-block-social-links.reseaux-liste .wp-social-link { display: block; width: 100%; background: none; color: #f3ece0; border-radius: 0; margin: 0; }
.wp-block-social-links.reseaux-liste .wp-social-link + .wp-social-link { border-top: 1px solid rgba(226, 168, 76, .22); }
.wp-block-social-links.reseaux-liste .wp-social-link:hover { transform: none; color: var(--or-clair); }
.wp-block-social-links.reseaux-liste .wp-block-social-link-anchor {
  display: flex; align-items: center; gap: 16px; padding: 12px 4px; line-height: 1;
  font: 500 19px/1 var(--f-texte); color: inherit;
}
.wp-block-social-links.reseaux-liste .wp-block-social-link-anchor svg {
  flex: none; box-sizing: border-box; width: 42px; height: 42px; padding: 9px;
  border: 1.5px solid var(--or); border-radius: 50%; color: var(--or); fill: var(--or);
}
.wp-block-social-links.reseaux-liste:not(.has-icon-color):not(.has-icon-background-color) .wp-social-link .wp-block-social-link-label { font-size: 19px; margin: 0; color: inherit; transition: color .2s; }
.wp-block-social-links.reseaux-liste .wp-block-social-link-anchor::after {
  content: ''; margin-left: auto; width: 18px; height: 18px; background: var(--or); transition: transform .2s;
  -webkit-mask: var(--i-fleche) center / contain no-repeat; mask: var(--i-fleche) center / contain no-repeat;
}
.wp-block-social-links.reseaux-liste .wp-block-social-link-anchor:hover::after { transform: translateX(4px); }
.carton-avis { display: flex; flex-direction: column; align-items: center; text-align: center; }
.carton-avis .carton-titre::after {
  content: ''; display: block; width: 132px; height: 88px; margin: 22px auto 18px; background: var(--or);
  -webkit-mask: url('assets/img/icones/avis.svg') center / contain no-repeat; mask: url('assets/img/icones/avis.svg') center / contain no-repeat;
}
.avis-texte { font-size: 18px; line-height: 1.5; max-width: 300px; margin-bottom: 26px; }
.avis-boutons { margin-top: auto; justify-content: center; }

/* ---------- Cartons et formulaires (réservation, contact) ---------- */
.wp-block-group.formulaire-zone, .wp-block-group.coordonnees { padding: 54px 0 72px; }
.formulaire-int {
  position: relative; z-index: 2; max-width: var(--largeur); margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start;
}
.formulaire-int.formulaire-contact { grid-template-columns: 1fr; max-width: 860px; }
.carton {
  background: rgba(255, 251, 243, .88); border: 1px solid rgba(135, 87, 27, .25); border-radius: 6px;
  padding: 36px 38px; box-shadow: 0 14px 34px rgba(80, 50, 15, .12);
}
.carton-titre { font: 600 24px/1.2 var(--f-titre); text-transform: uppercase; letter-spacing: .02em; color: var(--bronze); margin-bottom: 10px; }
.carton-intro { font-size: 17.5px; line-height: 1.5; color: var(--encre-douce); margin-bottom: 26px; }
.carton-sombre { background: var(--cacao); color: var(--texte-clair); border-color: rgba(226, 168, 76, .3); }
.carton-sombre .carton-titre { color: var(--or); }

/* Contact Form 7 : gabarits aux classes de la maquette (deploiement/installer.php) */
.wpcf7 { margin: 0; }
/* Contact Form 7 absent : message de remplacement (functions.php) */
.formulaire-indisponible { padding: 16px 18px; border: 1.5px solid var(--or); border-radius: 4px; font-size: 18px; line-height: 1.55; }
.formulaire-indisponible a { color: var(--bronze); font-weight: 600; white-space: nowrap; }
.wpcf7 form.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin: 0; }
.formulaire .champ { display: flex; flex-direction: column; gap: 7px; margin: 0; }
.formulaire .champ-large, .formulaire .wpcf7-response-output { grid-column: 1 / -1; }
.formulaire .champ-piege { display: none; }
.formulaire label { font: 700 11.5px/1.2 var(--f-bouton); letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); }
.formulaire label span { font-weight: 400; text-transform: none; letter-spacing: 0; }
.formulaire .wpcf7-form-control-wrap { display: block; }
.formulaire input:not([type='submit']), .formulaire select, .formulaire textarea {
  width: 100%; font: 400 17px/1.4 var(--f-texte); color: var(--encre);
  background: #fffdf8; border: 1px solid rgba(135, 87, 27, .35); border-radius: 4px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.formulaire textarea { resize: vertical; min-height: 110px; display: block; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: none; border-color: var(--or); box-shadow: 0 0 0 3px rgba(226, 168, 76, .25); }
.formulaire .envoi { margin: 6px 0 0; display: flex; align-items: center; gap: 14px; }
.formulaire .wpcf7-submit {
  cursor: pointer; border: 0; border-radius: 999px; padding: 0 30px 0 60px; height: 52px;
  font: 700 13px/1 var(--f-bouton); letter-spacing: .07em; text-transform: uppercase; color: #22160a;
  background: url('assets/img/icones/calendrier-encre.svg') 30px center / 18px 18px no-repeat, linear-gradient(180deg, #f1c066 0%, #e2a84c 55%, #d29540 100%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.formulaire .wpcf7-submit.ico-email { background: url('assets/img/icones/email-encre.svg') 30px center / 18px 18px no-repeat, linear-gradient(180deg, #f1c066 0%, #e2a84c 55%, #d29540 100%); }
.formulaire .wpcf7-submit:hover { transform: translateY(-2px); }
.formulaire .wpcf7-spinner { margin: 0; background-color: var(--bronze); }
.formulaire .wpcf7-not-valid-tip { margin-top: 5px; font: italic 400 15px/1.3 var(--f-texte); color: #a3261d; }
.formulaire .wpcf7-not-valid { border-color: #a3261d; }
.wpcf7 form.formulaire .wpcf7-response-output { margin: 4px 0 0; padding: 12px 16px; border-radius: 4px; border: 1.5px solid var(--or); font-size: 16px; }
.wpcf7 form.formulaire.sent .wpcf7-response-output { border-color: #5d8a3a; background: rgba(93, 138, 58, .08); }
.wpcf7 form.formulaire.invalid .wpcf7-response-output, .wpcf7 form.formulaire.failed .wpcf7-response-output { border-color: #a3261d; background: rgba(163, 38, 29, .06); }
.form-rgpd { margin-top: 18px; font: italic 400 14.5px/1.5 var(--f-texte); color: var(--encre-douce); }
.form-rgpd a { color: var(--bronze); text-decoration: underline; }

.infos-tel { display: flex; align-items: center; gap: 12px; margin: 8px 0 26px; font: 600 27px/1 var(--f-texte); color: var(--or-clair); }
.infos-tel::before, .infos-adresse::before {
  content: ''; flex: none; width: 28px; height: 28px; background: var(--or);
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.infos-tel { --ico: url('assets/img/icones/telephone.svg'); }
.infos-adresse { --ico: url('assets/img/icones/lieu.svg'); display: flex; gap: 12px; font-size: 17px; line-height: 1.5; }
.infos-adresse::before { width: 24px; height: 24px; margin-top: 2px; }
.wp-block-table.horaires { display: flex; flex-direction: column-reverse; margin-bottom: 22px; overflow: visible; }
.wp-block-table.horaires table { width: 100%; border-collapse: collapse; font-size: 17px; }
.wp-block-table.horaires figcaption { margin: 0 0 8px; text-align: left; font: 700 11.5px/1.2 var(--f-bouton); letter-spacing: .1em; text-transform: uppercase; color: var(--or); }
.wp-block-table.horaires td { padding: 8px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); text-align: left; }
.wp-block-table.horaires td + td { text-align: right; color: #f1ebe0; }
.wp-block-table.horaires tr.ferme td + td { color: rgba(232, 226, 216, .5); font-style: italic; }
.wp-block-table.horaires tr.aujourdhui td { color: var(--or); font-weight: 600; }

/* ---------- Contact ---------- */
.coordonnees-liste {
  position: relative; z-index: 2; max-width: var(--largeur); margin: 0 auto 48px; padding: 0 20px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.coordonnee {
  text-align: center; padding: 32px 24px; border-radius: 6px;
  background: rgba(255, 251, 243, .88); border: 1px solid rgba(135, 87, 27, .25); box-shadow: 0 14px 34px rgba(80, 50, 15, .12);
}
.coordonnee::before {
  content: ''; display: block; width: 42px; height: 42px; margin: 0 auto 12px; background: var(--or);
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.coordonnee .wp-block-heading { font: 600 20px/1.2 var(--f-titre); text-transform: uppercase; color: var(--bronze); margin-bottom: 10px; }
.coordonnee p { font-size: 18px; line-height: 1.5; }
.coordonnee-tel a { font-weight: 600; font-size: 23px; }
.coordonnee-note { margin-top: 6px; font-size: 16px; font-style: italic; color: var(--encre-douce); }
.lien-or { margin-top: 14px; display: flex; justify-content: center; }
.lien-or a {
  display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px;
  font: 700 12px/1 var(--f-bouton); letter-spacing: .08em; text-transform: uppercase; color: var(--bronze);
  border-bottom: 1.5px solid rgba(135, 87, 27, .4);
}
.lien-or a::after {
  content: ''; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--i-fleche) center / contain no-repeat; mask: var(--i-fleche) center / contain no-repeat;
}
.lien-or a:hover { color: var(--encre); border-color: var(--or); }

/* ---------- Pages légales ---------- */
.wp-block-cover.tete-page.tete-legal { padding: 60px 20px 74px; }
.tete-legal .wp-block-cover__image-background { object-position: center 62%; }
.tete-legal .tete-page-int .wp-block-heading { font-size: 46px; }
.tete-legal .tete-page-int::after { margin-bottom: 0; }
.wp-block-group.legal { padding: 54px 0 80px; }
.legal-int { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; padding: 0 20px; }
.legal-maj { text-align: center; font: italic 400 16px/1.4 var(--f-texte); color: var(--encre-douce); margin-bottom: 26px; }
.legal-intro { font-size: 19px; line-height: 1.65; margin-bottom: 30px; }
.legal-bloc { padding: 28px 0; border-top: 1px solid rgba(135, 87, 27, .22); }
.legal-bloc .wp-block-heading { margin-bottom: 14px; font: 600 21px/1.25 var(--f-titre); text-transform: uppercase; letter-spacing: .02em; color: var(--bronze); }
.legal-bloc p, .legal-bloc li, .legal-bloc td { font-size: 18px; line-height: 1.65; }
.legal-bloc p + p, .legal-bloc .wp-block-list + p, .legal-bloc p + .wp-block-list { margin-top: 12px; }
.legal-bloc .wp-block-list { display: grid; gap: 8px; }
.legal-bloc li { position: relative; padding-left: 22px; }
.legal-bloc li::before { content: ''; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--or); }
.legal-bloc strong { font-weight: 600; }
.legal-bloc a { color: var(--bronze); text-decoration: underline; }
.wp-block-table.legal-table { overflow: visible; }
.wp-block-table.legal-table table { border-collapse: collapse; width: 100%; margin: -3px 0; }
.wp-block-table.legal-table td { padding: 3px 0; border: 0; vertical-align: top; }
.wp-block-table.legal-table td:first-child { width: 272px; padding-right: 22px; font-weight: 600; color: var(--encre); }
/* Informations que seul le client peut fournir : impossibles à rater avant la mise en ligne */
.legal-bloc em { background: #ffe58a; color: #5a3b00; padding: 1px 7px; border-radius: 3px; font-style: italic; box-shadow: inset 0 0 0 1px #e0b52c; }
.page-404 { text-align: center; padding: 80px 0 100px; }
.page-404 .titre-section .wp-block-heading { font-size: 42px; }
.page-404-boutons { justify-content: center; margin-top: 30px; position: relative; z-index: 2; }

:where(a, [tabindex]):focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 3px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  nav.wp-block-navigation.nav { margin-left: 0; }
  .wp-block-navigation.nav .wp-block-navigation__container { gap: 28px; }
  .plats { grid-auto-columns: calc(100% / 7); overflow-x: auto; scroll-snap-type: x mandatory; }
  .resa-int { flex-direction: column; }
  .resa-boutons { margin-left: 0; }
}

@media (max-width: 960px) {
  /* menu replié derrière le bouton « burger » dès 960 px (le bloc ne le fait qu'à 600 px) */
  .wp-block-navigation.nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .wp-block-navigation.nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
  nav.wp-block-navigation.nav { margin-left: auto; }
  .entete .wp-block-buttons.entete-cta { display: none; }
  .entete-int { height: 88px; gap: 16px; }
  .wp-block-site-logo.logo img { width: 180px; }

  /* la photo glisse sous le texte : voile sombre en haut, assiette dégagée en bas */
  .wp-block-cover.hero { height: auto; padding-bottom: 300px; }
  .wp-block-cover.hero .wp-block-cover__image-background { object-position: 74% bottom; }
  .wp-block-cover.hero .wp-block-cover__background.has-background-dim { background: linear-gradient(180deg, rgba(13, 10, 6, .86) 0%, rgba(13, 10, 6, .7) 45%, rgba(13, 10, 6, .1) 72%, rgba(13, 10, 6, 0) 100%); }
  .hero-contenu { padding-top: 40px; }
  .plats { grid-auto-columns: calc(100% / 5); }
  .wp-block-group.evasion { flex-direction: column; align-items: stretch; }
  .wp-block-image.evasion-photo { position: relative; width: 100%; height: 300px; order: -1;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 30%); mask-image: linear-gradient(0deg, transparent 0%, #000 30%); }
  .evasion-texte { padding-top: 10px; }
  .galerie-grille { grid-template-columns: 1fr 1fr 1fr; }
  .resa-infos { flex-wrap: wrap; gap: 22px 30px; }
  .resa-infos li { width: calc(50% - 15px); }
  .pied-int { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pied-int > .wp-block-site-logo, .pied-droite { justify-self: center; align-items: center; }
  .wp-block-navigation.pied-nav .wp-block-navigation__container { flex-wrap: wrap; gap: 14px 22px; }

  .menu-liste { grid-template-columns: 1fr; gap: 24px; }
  .menu-nav-liste { justify-content: flex-start; }
  .blocs-2, .formules { grid-template-columns: 1fr; }
  .carte-liste { columns: 1; }
  .carte-item { padding-bottom: 14px; }
  .histoire-int { grid-template-columns: 1fr; gap: 40px; }
  .wp-block-image.histoire-plat { left: 16px; }
  .wp-block-image.histoire-plat img { width: 160px; height: 160px; }
  .engagements-liste { grid-template-columns: 1fr; gap: 36px; max-width: 480px; margin: 0 auto; }
  .galerie-mosaique { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .galerie-mosaique .wp-block-image.g-large { grid-row: span 1; }
  .formulaire-int { grid-template-columns: 1fr; }
  .coordonnees-liste { grid-template-columns: 1fr; max-width: 520px; }
  .lien-clients { grid-template-columns: 1fr; max-width: 520px; }
}

@media (max-width: 782px) {
  .admin-bar .wp-block-group.menu-nav { top: 46px; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  .entete-int { height: 80px; padding: 0 16px; }
  .wp-block-site-logo.logo img { width: 160px; }
  .entete::before { width: 200px; left: -110px; top: -50px; }
  .entete::after { width: 200px; right: -110px; }
  .hero-contenu { padding: 34px 16px 0; }
  .hero-bienvenue { font-size: 36px; }
  .wp-block-heading.hero-titre { font-size: 38px; }
  .hero-sous { font-size: 13px; letter-spacing: .26em; }
  .hero-contenu::after { width: 240px; margin: 14px 0; }
  .hero-accroche { font-size: 21px; }
  .hero-accroche br { display: none; }
  .wp-block-button.btn-grand .wp-block-button__link { padding: 16px 24px; font-size: 12.5px; }
  .wp-block-cover.hero { padding-bottom: 230px; }
  .titre-section .wp-block-heading { font-size: 29px; gap: 14px; }
  .titre-section .wp-block-heading::before, .titre-section .wp-block-heading::after { width: 40px; }
  .titre-script { font-size: 21px; padding: 0 16px; }
  .carrousel { padding: 0 34px; }
  .carrousel-fleche { width: 30px; height: 30px; }
  .carrousel-fleche::before { inset: 3px; }
  .plats { grid-auto-columns: calc(100% / 2); }
  .wp-block-image.evasion-photo { height: 230px; }
  .evasion-texte { padding: 6px 16px 46px; }
  .evasion .wp-block-heading { font-size: 25px; }
  .evasion-texte p { font-size: 17px; }
  .evasion::after { width: 100px; left: auto; right: -20px; bottom: -14px; }
  .evasion::before { width: 230px; left: -120px; top: -40px; }
  .wp-block-cover.hero::before { width: 240px; left: -150px; bottom: -110px; }
  .galerie-grille { grid-template-columns: 1fr 1fr; padding: 0 16px; }
  .galerie-grille .wp-block-image img { height: 140px; }
  .galerie-grille .wp-block-image:first-child { grid-column: span 2; }
  .galerie-grille .wp-block-image:first-child img { height: 190px; }
  .galerie.papier::after, .galerie-complete.papier::after { display: none; }
  .wp-block-cover.resa::before { width: 210px; right: -120px; top: -30px; }
  .resa-int { padding: 40px 16px; }
  .resa-intro .wp-block-heading { font-size: 38px; white-space: normal; }
  .resa-infos li { width: 100%; white-space: normal; }
  .resa-boutons .wp-block-button__link { white-space: normal; }
  .pied-int { padding: 34px 16px 28px; }
  .pied-legal a { display: block; margin-top: 4px; }
  .pied-legal a::before { display: none; }

  .wp-block-cover.tete-page { padding: 50px 16px 64px; }
  .tete-page-int .wp-block-heading { font-size: 36px; }
  .tete-script { font-size: 22px; }
  .tete-page-int::after { width: 240px; }
  .fil { font-size: 10.5px; }
  .wp-block-cover.tete-page::before { width: 200px; left: -120px; bottom: -80px; }
  .wp-block-group.menu-categorie { padding: 0 16px; margin-bottom: 44px; }
  .admin-bar .wp-block-group.menu-nav { top: 0; } /* en dessous de 600 px la barre d'admin défile avec la page : plus de décalage */
  .menu-nav-liste { padding: 0 16px; gap: 4px 20px; }
  .menu-nav-liste a { padding: 15px 0 12px; font-size: 11px; }
  .carte-ligne { font-size: 15.5px; }
  .carte-prix { font-size: 18.5px; }
  .formule { padding: 20px 18px; }
  .formule-nom { font-size: 16px; }
  .vins-grille { grid-template-columns: 1fr; }
  .wp-block-group.boissons { padding: 54px 0 30px; }
  .boissons::before { width: 220px; left: -130px; top: -60px; }
  .boissons::after { width: 100px; right: -24px; bottom: -14px; }
  .wp-block-image.menu-photo img { width: 64px; height: 64px; }
  .menu-nom { font-size: 15.5px; }
  .menu-prix { font-size: 19px; }
  .menu-desc { font-size: 15.5px; }
  .histoire-int { padding: 0 16px; }
  .wp-block-image.histoire-salle img { height: 260px; }
  .wp-block-image.histoire-plat img { width: 120px; height: 120px; }
  .wp-block-group.engagements { padding: 54px 16px 64px; }
  .engagements-int > .wp-block-heading { font-size: 24px; }
  .engagements-script { font-size: 26px; margin-bottom: 36px; }
  .histoire-intro { font-size: 24px; }
  .frise-item { grid-template-columns: 66px 1fr; gap: 14px; }
  .frise-annee { font-size: 22px; padding-right: 12px; }
  .lien-clients { padding: 0 16px; margin-top: 44px; }
  .tete-legal .tete-page-int .wp-block-heading { font-size: 30px; }
  .legal-int { padding: 0 16px; }
  .wp-block-table.legal-table tr, .wp-block-table.legal-table td { display: block; width: 100%; }
  .wp-block-table.legal-table table { margin: 0; }
  .wp-block-table.legal-table td:first-child { width: 100%; padding: 0; }
  .wp-block-table.legal-table td + td { padding: 0 0 10px; }
  .legal-bloc p, .legal-bloc li, .legal-bloc td { font-size: 17px; }
  .galerie-mosaique { padding: 0 16px; grid-auto-rows: 130px; }
  .formulaire-int, .coordonnees-liste { padding: 0 16px; }
  .carton { padding: 26px 20px; }
  .carton-titre { font-size: 20px; }
  .wpcf7 form.formulaire { grid-template-columns: 1fr; }
  .infos-tel { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ==========================================================================
   Commande en ligne (WooCommerce) — les feuilles de WooCommerce ne sont pas chargées
   ========================================================================== */
.lpc-panier { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-left: 8px; color: var(--or); text-decoration: none; transition: color .2s, transform .2s; }
.lpc-panier:hover { color: var(--or-clair); transform: translateY(-1px); }
.lpc-panier-nb { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--or); color: #22160a; font: 700 11px/19px var(--f-bouton); text-align: center; }
.lpc-panier:not(.lpc-panier-plein) .lpc-panier-nb { display: none; }

/* « + » sur la carte */
.btn-ajout {
  flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; margin-left: 12px; border-radius: 50%;
  background: linear-gradient(180deg, #f1c066 0%, #e2a84c 55%, #d29540 100%); color: #22160a; text-decoration: none;
  font: 700 20px/1 var(--f-bouton); box-shadow: 0 3px 8px rgba(80, 45, 10, .28), inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: transform .2s ease, background .2s ease;
}
/* La ligne de la carte range ses éléments avec « order » (nom, pointillés, prix) : le bouton passe en dernier, après le prix */
.menu-ligne .btn-ajout, .carte-ligne .btn-ajout, .formule-titre .btn-ajout { order: 3; }
.btn-ajout:hover { transform: scale(1.12); }
.btn-ajout.btn-indispo { background: #d9cfbd; color: #8a7b66; box-shadow: none; cursor: not-allowed; }
.btn-ajout.btn-indispo:hover { transform: none; }
.btn-ajout:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.btn-ajout.charge { opacity: .55; pointer-events: none; }
.btn-ajout.ajoute { background: #5d8a3a; color: #fff; }
.btn-ajout.ajoute span { display: none; }
.btn-ajout.ajoute::before { content: '✓'; font-size: 16px; }
.carte-item { position: relative; }
.carte-item > .btn-ajout { position: absolute; right: 0; top: 0; margin: 0; }
.carte-item:has(> .btn-ajout) { padding-right: 44px; }
.lpc-toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 99999; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  display: flex; gap: 16px; align-items: center; padding: 13px 22px; border-radius: 999px; background: var(--cacao); color: var(--creme);
  font: 500 16px/1.2 var(--f-texte); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); border: 1px solid rgba(226, 168, 76, .5);
  transition: opacity .25s ease, transform .25s ease;
}
.lpc-toast.visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.lpc-toast a { color: var(--or); font-weight: 700; text-decoration: underline; white-space: nowrap; }

/* Pages commande : plus larges que les pages légales */
.commande .legal-int { max-width: 1080px; }
.commande .woocommerce { color: var(--encre); font-size: 18px; line-height: 1.55; }
.commande h2, .commande h3, .commande .cart_totals h2 { font: 600 21px/1.25 var(--f-titre); text-transform: uppercase; letter-spacing: .02em; color: var(--bronze); margin: 0 0 16px; }
.commande a { color: var(--bronze); }

/* Notifications */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none; margin: 0 0 22px; padding: 14px 18px; border-radius: 4px; border: 1.5px solid var(--or); background: rgba(226, 168, 76, .12);
  font-size: 17px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between;
}
.woocommerce-error { border-color: #a3261d; background: rgba(163, 38, 29, .07); display: block; }
.woocommerce-error li + li { margin-top: 4px; }
.woocommerce-message .button { order: 2; }
.woocommerce-NoticeGroup { margin-bottom: 8px; }

/* Boutons */
.commande .button, .commande button.button, .commande #place_order, .commande .single_add_to_cart_button, .commande .checkout-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; border: 0; border-radius: 999px;
  padding: 0 30px; min-height: 50px; font: 700 13px/1 var(--f-bouton); letter-spacing: .07em; text-transform: uppercase; color: #22160a; text-decoration: none;
  background: linear-gradient(180deg, #f1c066 0%, #e2a84c 55%, #d29540 100%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .2s ease, box-shadow .2s ease;
}
.commande .button:hover, .commande #place_order:hover, .commande .single_add_to_cart_button:hover { transform: translateY(-2px); color: #22160a; }
.commande .button:disabled, .commande .button.disabled { opacity: .5; cursor: not-allowed; transform: none; }
.commande #place_order, .commande .checkout-button { width: 100%; min-height: 54px; }

/* Champs */
.commande label { display: block; font: 700 11.5px/1.3 var(--f-bouton); letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); margin-bottom: 7px; }
.commande .required { color: #a3261d; text-decoration: none; border: 0; }
.commande input[type='text'], .commande input[type='email'], .commande input[type='tel'], .commande input[type='number'], .commande select, .commande textarea {
  width: 100%; font: 400 17px/1.4 var(--f-texte); color: var(--encre); background: #fffdf8; border: 1px solid rgba(135, 87, 27, .35); border-radius: 4px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.commande textarea { min-height: 96px; resize: vertical; display: block; }
.commande input:focus, .commande select:focus, .commande textarea:focus { outline: none; border-color: var(--or); box-shadow: 0 0 0 3px rgba(226, 168, 76, .25); }
.commande .form-row { margin: 0 0 16px; }
.commande .woocommerce-invalid input, .commande .woocommerce-invalid select { border-color: #a3261d; }
.woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.woocommerce-billing-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; }
.woocommerce-billing-fields__field-wrapper .form-row { display: flex; flex-direction: column; justify-content: flex-end; } /* champs alignés par le bas même si un libellé passe sur deux lignes */
.lpc-majeur label, .woocommerce-terms-and-conditions-wrapper label, .woocommerce-form__label-for-checkbox { display: flex; gap: 10px; align-items: flex-start; font: 400 16px/1.45 var(--f-texte); letter-spacing: 0; text-transform: none; color: var(--encre); }
.lpc-majeur input, .woocommerce-terms-and-conditions-wrapper input { width: auto; margin-top: 4px; accent-color: var(--bronze); }
.lpc-choix { margin: 0 0 18px; }
fieldset.lpc-cases { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
fieldset.lpc-cases legend { padding: 0; margin-bottom: 8px; font: 700 11.5px/1.3 var(--f-bouton); letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); }
.lpc-case { display: flex; gap: 10px; align-items: center; margin: 0 0 8px; padding: 10px 14px; border: 1px solid rgba(135, 87, 27, .35); border-radius: 4px; background: #fffdf8; cursor: pointer;
  font: 400 17px/1.3 var(--f-texte); letter-spacing: 0; text-transform: none; color: var(--encre); }
.lpc-case:has(input:checked) { border-color: var(--or); background: rgba(226, 168, 76, .14); box-shadow: 0 0 0 2px rgba(226, 168, 76, .25); }
.lpc-case input { width: 18px; height: 18px; margin: 0; accent-color: var(--bronze); flex: none; }
.lpc-plus { margin-left: auto; font-weight: 700; color: var(--bronze); }
.lpc-facultatif { font-weight: 400; text-transform: none; letter-spacing: 0; }
.lpc-retrait select { font-weight: 700; }
.commande .optional { display: none; } /* « (facultatif) » : déjà dit dans les libellés, et faux pour les champs contrôlés à part */

/* Fiche d'un plat */
.fiche-plat .legal-int { padding-top: 10px; }
.fiche-plat div.product { display: flex; gap: 44px; align-items: flex-start; }
.fiche-plat .woocommerce-product-gallery { flex: 0 0 340px; max-width: 340px; margin: 0; }
.fiche-plat .woocommerce-product-gallery img { width: 100%; height: auto; border-radius: 50%; border: 4px solid #e7b25e; box-shadow: 0 0 0 2px #fff6e2, 0 16px 32px rgba(40, 20, 5, .3); aspect-ratio: 1; object-fit: cover; }
.fiche-plat .woocommerce-product-gallery:has(.woocommerce-product-gallery__image--placeholder) { display: none; }
.fiche-plat .summary { flex: 1; min-width: 0; }
.fiche-plat .product_title { font: 600 34px/1.15 var(--f-titre); text-transform: uppercase; color: var(--bronze); margin: 0 0 8px; }
.fiche-plat .price { font: 600 30px/1.2 var(--f-titre); color: var(--caramel); margin: 0 0 14px; }
.fiche-plat .woocommerce-product-details__short-description { font: italic 400 20px/1.5 var(--f-texte); color: var(--encre-douce); margin-bottom: 22px; }
.fiche-plat form.cart { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.fiche-plat form.cart .lpc-choix { flex: 1 0 100%; }
.retour-carte { margin: 0 0 22px; font: 700 12px/1 var(--f-bouton); letter-spacing: .1em; text-transform: uppercase; }
.retour-carte a { text-decoration: none; }
.commande .quantity input.qty { width: 74px; text-align: center; padding: 12px 6px; }

/* Panier */
.woocommerce-cart-form table.shop_table, .woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; }
.woocommerce-cart-form th, .woocommerce-checkout-review-order-table th { font: 700 11.5px/1.2 var(--f-bouton); letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); text-align: left; padding: 0 12px 12px; border-bottom: 1px solid rgba(135, 87, 27, .35); }
.woocommerce-cart-form td { padding: 16px 12px; border-bottom: 1px solid rgba(135, 87, 27, .22); vertical-align: middle; }
.woocommerce-cart-form .product-name a { font: 500 19px/1.2 var(--f-plat); text-transform: uppercase; color: var(--encre); text-decoration: none; }
.woocommerce-cart-form .product-thumbnail img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #e7b25e; }
.woocommerce-cart-form .product-remove a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(135, 87, 27, .5); color: var(--bronze); text-decoration: none; font-size: 18px; line-height: 1; }
.woocommerce-cart-form .product-remove a:hover { background: #a3261d; border-color: #a3261d; color: #fff; }
.woocommerce-cart-form dl.variation { margin: 6px 0 0; font: italic 400 16px/1.4 var(--f-texte); color: var(--encre-douce); }
.woocommerce-cart-form dl.variation dt, .woocommerce-cart-form dl.variation dd, .woocommerce-cart-form dl.variation p { display: inline; margin: 0; }
.woocommerce-cart-form .actions { text-align: right; padding-top: 18px; border: 0; }
.cart-collaterals { display: flex; justify-content: flex-end; margin-top: 30px; }
.cart_totals { width: min(100%, 420px); }
.cart_totals table { width: 100%; border-collapse: collapse; }
.cart_totals th { padding: 10px 24px 10px 0; text-align: left; border: 0; }
.cart_totals td { padding: 10px 0; text-align: right; border: 0; }
.cart_totals .order-total td, .cart_totals .order-total th { font: 600 24px/1.2 var(--f-titre); color: var(--bronze); border-top: 1px solid rgba(135, 87, 27, .35); }
.cart_totals .wc-proceed-to-checkout { margin-top: 18px; }
.wc-empty-cart-message { margin-bottom: 22px; }
.return-to-shop { margin-top: 10px; }

/* Validation de la commande */
form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 8px 44px; align-items: start; }
/* Lignes 1 et 2 : paiement express de Stripe (Link, Apple Pay, Google Pay…) et son séparateur « OU », sur toute la largeur.
   Sans place réservée, la grille les rejetait tout en bas. */
form.checkout > #wc-stripe-express-checkout-element,
form.checkout > .wc-stripe-express-checkout__order-attrib { grid-column: 1 / -1; grid-row: 1; }
form.checkout > #wc-stripe-express-checkout-button-separator { grid-column: 1 / -1; grid-row: 2; text-align: center; margin: 4px 0 18px; font: 700 12px/1 var(--f-bouton); letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); }
form.checkout #customer_details { grid-column: 1; grid-row: 3 / span 2; } /* sur deux lignes : le récapitulatif remonte à côté du formulaire */
form.checkout #order_review_heading { grid-column: 2; grid-row: 3; margin: 0 0 14px; }
form.checkout #order_review { grid-column: 2; grid-row: 4; }
form.checkout #customer_details .col-1, form.checkout #customer_details .col-2 { float: none; width: 100%; }
.woocommerce-additional-fields { margin-top: 10px; }
#order_review { background: var(--cacao); color: var(--creme); padding: 26px 24px; border-radius: 6px; box-shadow: 0 14px 34px rgba(40, 20, 5, .28); }
#order_review a { color: var(--or); }
#order_review th { color: var(--or); border-bottom-color: rgba(226, 168, 76, .4); padding-left: 0; }
#order_review td { padding: 11px 0; border-bottom: 1px solid rgba(226, 168, 76, .18); font-size: 17px; }
#order_review .product-total, #order_review td:last-child, #order_review th:last-child { text-align: right; padding-right: 0; }
#order_review dl.variation { margin: 4px 0 0; font: italic 400 15px/1.35 var(--f-texte); color: #d7cdb9; }
#order_review dl.variation dt, #order_review dl.variation dd, #order_review dl.variation p { display: inline; margin: 0; }
#order_review .order-total th, #order_review .order-total td { font: 600 22px/1.2 var(--f-titre); color: var(--or-clair); border: 0; padding-top: 16px; }
#payment ul.payment_methods { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid rgba(226, 168, 76, .25); }
#payment li.wc_payment_method { padding: 14px 0; border-bottom: 1px solid rgba(226, 168, 76, .18); }
#payment li label { display: inline; font: 500 17px/1.4 var(--f-texte); letter-spacing: 0; text-transform: none; color: var(--creme); }
#payment .payment_box { margin-top: 10px; padding: 14px; border-radius: 4px; background: rgba(255, 255, 255, .06); font-size: 15px; }
#payment .payment_box input, #payment .payment_box select { background: #fffdf8; }
#payment .form-row { margin: 18px 0 0; }
#payment .woocommerce-terms-and-conditions-wrapper label, #payment .woocommerce-privacy-policy-text { color: #e7dfd0; font-size: 15px; }
.woocommerce-checkout-payment .woocommerce-privacy-policy-text p { margin: 0 0 12px; font-size: 14.5px; }

/* Commande reçue */
.woocommerce-order .woocommerce-notice--success { border-color: #5d8a3a; background: rgba(93, 138, 58, .1); font-size: 20px; display: block; }
ul.order_details { list-style: none; margin: 22px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 40px; }
ul.order_details li { font: 700 11.5px/1.3 var(--f-bouton); letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); }
ul.order_details li strong { display: block; margin-top: 5px; font: 600 19px/1.3 var(--f-texte); letter-spacing: 0; text-transform: none; color: var(--encre); }
.woocommerce-order-details table, .woocommerce-table--order-details { width: 100%; border-collapse: collapse; margin-bottom: 22px; }
.woocommerce-order-details th, .woocommerce-order-details td { padding: 12px 8px; text-align: left; border-bottom: 1px solid rgba(135, 87, 27, .22); }
.lpc-retrait-info { padding: 14px 18px; border-radius: 4px; border: 1.5px solid var(--or); background: rgba(226, 168, 76, .12); margin: 0 0 22px; }

/* Notifications WooCommerce (bandeaux « block ») */
.woocommerce-notices-wrapper { margin: 0 0 6px; }
.wc-block-components-notice-banner {
  display: flex; gap: 12px; align-items: flex-start; margin: 0 0 20px; padding: 14px 18px; border-radius: 4px;
  border: 1.5px solid var(--or); background: rgba(226, 168, 76, .12); font-size: 17px; line-height: 1.45;
}
.wc-block-components-notice-banner > svg { flex: none; width: 24px; height: 24px; margin-top: 1px; fill: var(--bronze); }
.wc-block-components-notice-banner.is-success { border-color: #5d8a3a; background: rgba(93, 138, 58, .1); }
.wc-block-components-notice-banner.is-success > svg { fill: #5d8a3a; }
.wc-block-components-notice-banner.is-error { border-color: #a3261d; background: rgba(163, 38, 29, .07); }
.wc-block-components-notice-banner.is-error > svg { fill: #a3261d; }
.wc-block-components-notice-banner__content { flex: 1; }
.wc-block-components-notice-banner__content a { font-weight: 700; margin-left: 8px; }
.wc-block-components-notice-banner ul { margin: 4px 0 0; padding-left: 18px; }
/* Galerie de la fiche : WooCommerce la masque tant que son script ne l'a pas initialisée */
.fiche-plat .woocommerce-product-gallery { opacity: 1 !important; }
.fiche-plat .woocommerce-product-gallery__trigger { display: none; }
.fiche-plat .woocommerce-product-gallery__wrapper { margin: 0; }

@media (max-width: 960px) {
  .fiche-plat div.product { flex-direction: column; gap: 22px; }
  .fiche-plat .woocommerce-product-gallery { flex-basis: auto; max-width: 240px; }
  form.checkout { grid-template-columns: 1fr; }
  form.checkout #order_review_heading, form.checkout #order_review, form.checkout #customer_details,
  form.checkout > #wc-stripe-express-checkout-element, form.checkout > .wc-stripe-express-checkout__order-attrib, form.checkout > #wc-stripe-express-checkout-button-separator { grid-column: 1; grid-row: auto; }
}
@media (max-width: 600px) {
  .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
  .fiche-plat .product_title { font-size: 27px; }
  .woocommerce-cart-form .product-thumbnail { display: none; }
  .woocommerce-cart-form td { padding: 12px 6px; }
  .lpc-panier { width: 42px; height: 42px; margin-left: 4px; }
  .lpc-toast { width: calc(100% - 32px); justify-content: space-between; border-radius: 14px; }
  .btn-ajout { width: 34px; height: 34px; margin-left: 8px; }
}

/* ==========================================================================
   Évènements à venir (accueil) : flyers au format portrait, disparaissent seuls après la date
   ========================================================================== */
.wp-block-group.evenements { padding: 28px 0 50px; text-align: center; }
.evenements.papier::before { background-image: url('assets/img/deco/palme-claire.svg'); width: 280px; aspect-ratio: 620 / 640; right: -150px; top: 60px; transform: scaleX(-1) rotate(62deg); opacity: .9; z-index: 0; }
.evenements-liste {
  position: relative; z-index: 2; list-style: none; max-width: 1180px; margin: 34px auto 0; padding: 4px 20px 8px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 34px 30px;
}
.evenements-liste.evenements-defilant { flex-wrap: nowrap; justify-content: safe center; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 18px; }
.evenement { flex: 0 1 320px; min-width: 0; scroll-snap-align: center; }
.evenements-defilant .evenement { flex: 0 0 320px; }
.evenement-carte {
  display: block; border-radius: 4px; overflow: hidden; cursor: zoom-in; line-height: 0;
  box-shadow: 0 12px 28px rgba(60, 35, 10, .3); transition: transform .25s ease, box-shadow .25s ease;
}
.evenement-carte:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(60, 35, 10, .36); }
.evenement-carte:focus-visible { outline: 3px solid var(--or); outline-offset: 4px; }
.evenement-flyer { display: block; width: 100%; height: auto; }
.evenement-date { margin: 18px 0 0; font: 700 12.5px/1.2 var(--f-bouton); letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); }
.evenement-titre { margin: 6px 0 0; font: 500 21px/1.2 var(--f-plat); text-transform: uppercase; color: var(--encre); }
.evenement-lien {
  display: inline-block; margin-top: 12px; padding: 11px 22px; border-radius: 999px; text-decoration: none;
  font: 700 11.5px/1 var(--f-bouton); letter-spacing: .08em; text-transform: uppercase; color: #22160a;
  background: linear-gradient(180deg, #f1c066 0%, #e2a84c 55%, #d29540 100%); box-shadow: 0 6px 16px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .2s ease;
}
.evenement-lien:hover { transform: translateY(-2px); }

/* Flyer agrandi */
.lpc-lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lpc-lightbox::backdrop { background: rgba(18, 16, 12, .9); }
.lpc-lightbox img { display: block; max-width: 94vw; max-height: 92vh; width: auto; height: auto; border-radius: 4px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); cursor: zoom-out; }
.lpc-lightbox-fermer {
  position: fixed; top: 16px; right: 18px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--or);
  background: rgba(18, 16, 12, .75); color: var(--or); font: 400 30px/1 var(--f-bouton); cursor: pointer;
}
.lpc-lightbox-fermer:hover { background: var(--or); color: #22160a; }

@media (max-width: 960px) {
  .evenements.papier::before { display: none; }
}
@media (max-width: 600px) {
  .wp-block-group.evenements { padding: 22px 0 40px; }
  /* Sur téléphone : un flyer à la fois, le suivant dépasse pour inviter à faire défiler */
  .evenements-liste { flex-wrap: nowrap; justify-content: safe center; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; padding: 4px 16px 14px; scroll-padding-inline: 16px; }
  .evenement, .evenements-defilant .evenement { flex: 0 0 78vw; scroll-snap-align: center; }
  .evenement-titre { font-size: 19px; }
}

/* Deux feuilles de papier qui se suivent (« Notre carte » puis « Évènements à venir ») : le papier se prolonge,
   sans bord déchiré ni recouvrement entre elles. */
.wp-block-group.carte.papier:has(+ .wp-block-group.evenements.papier) {
  margin-bottom: 0; border-bottom-width: 0;
  background:
    url('assets/img/deco/bord-dechire.svg') left top / 720px 16px repeat-x border-box,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .52 0 0 0 0 .40 0 0 0 0 .24 0 0 0 .075 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") left top / 260px 260px repeat padding-box,
    radial-gradient(ellipse 45% 60% at 12% 40%, rgba(222, 196, 152, .22), transparent 70%) padding-box,
    radial-gradient(ellipse 40% 60% at 88% 60%, rgba(222, 196, 152, .2), transparent 70%) padding-box,
    linear-gradient(var(--creme), var(--creme)) padding-box;
}
.wp-block-group.carte.papier + .wp-block-group.evenements.papier {
  margin-top: 0; border-top-width: 0;
  background:
    url('assets/img/deco/bord-dechire-bas.svg') left bottom / 720px 16px repeat-x border-box,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .52 0 0 0 0 .40 0 0 0 0 .24 0 0 0 .075 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") left top / 260px 260px repeat padding-box,
    radial-gradient(ellipse 45% 60% at 12% 40%, rgba(222, 196, 152, .22), transparent 70%) padding-box,
    radial-gradient(ellipse 40% 60% at 88% 60%, rgba(222, 196, 152, .2), transparent 70%) padding-box,
    linear-gradient(var(--creme), var(--creme)) padding-box;
}
