/* =====================================================================
   Pizzeria Leopardo — thème « Trattoria di sera » (sombre italien)
   Identité propre à Leopardo : nuit d'été, lanternes, tomate & basilic.
   Volontairement très différent du thème provençal clair du template.
   ===================================================================== */

/* ---- Fontes auto-hébergées (dossier fonts/, sous-ensemble latin) ---- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/fraunces-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-var.woff2') format('woff2');
}

:root {
  /* Fonds sombres (espresso) */
  --fond:    #211b16;
  --fond-2:  #2b241e;
  --fond-3:  #1a1512;
  --fond-4:  #131009;

  /* Papier (formulaire, illustration) */
  --papier:   #f4ecdd;
  --papier-2: #e9ddc6;

  /* Couleurs d'Italie */
  /* #C0442E et non #D0503A : le blanc sur l'ancien rouge ne faisait que
     4,29:1 — sous le seuil AA pour les libellés de boutons. */
  --terracotta:       #C0442E;   /* rouge tomate (boutons, accents) */
  --terracotta-fonce: #a83c28;
  --olivier:          #8FAF6F;   /* vert basilic clair */
  --dore:             #D9A441;   /* or des lanternes */
  --lavande:          #9aa8c7;

  /* Textes */
  --texte:      #efe6d6;   /* texte principal sur fond sombre */
  --gris:       #b3a696;   /* texte secondaire sur fond sombre */
  --anthracite: #2B2724;   /* texte sur papier */
  --creme:      #efe6d6;
  --creme-fonce:#d8ccb4;

  --ombre:       0 2px 6px rgba(0,0,0,0.3), 0 10px 28px rgba(0,0,0,0.35);
  --ombre-haute: 0 4px 10px rgba(0,0,0,0.4), 0 18px 48px rgba(0,0,0,0.5);
  --rayon: 12px;
  --rayon-petit: 8px;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-masse: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-tap: 150ms; --dur-ui: 200ms; --dur-reveal: 600ms;
}

/* ---- Changement de page : l'ancienne s'efface, la nouvelle monte ---- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-sortie .25s cubic-bezier(0.32, 0.72, 0, 1) both; }
  ::view-transition-new(root) { animation: vt-entree .45s cubic-bezier(0.16, 1, 0.3, 1) both; }
}
@keyframes vt-sortie { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-entree { from { opacity: 0; transform: translateY(18px); } }

/* ---- Base ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
/* clip (pas hidden) : les reveals translatés ne créent jamais de défilement
   horizontal, et le header sticky continue de fonctionner. */
html, body { overflow-x: clip; }
body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  color: var(--texte);
  background: var(--fond);
  line-height: 1.7;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
p { max-width: 65ch; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--dore); color: var(--fond); }

:focus-visible {
  outline: 2px solid var(--dore);
  outline-offset: 3px;
  border-radius: 2px;
}

.conteneur { max-width: 1080px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }
section { padding: clamp(64px, 9vw, 104px) 0; }

/* Ascenseur discret, dans la nuit de la trattoria */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--fond-3); }
::-webkit-scrollbar-thumb { background: #4a3f33; border-radius: 8px; border: 3px solid var(--fond-3); }
::-webkit-scrollbar-thumb:hover { background: var(--dore); }

/* ---- Icônes SVG inline ---- */
.ico { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---- Apparitions au scroll (gaté : sans JavaScript, tout est visible) ---- */
html.js .reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
html.js .reveal.visible { opacity: 1; transform: none; }
html.js .reveal-gauche { transform: translateX(-24px); }
html.js .reveal-droite { transform: translateX(24px); }
html.js .reveal-gauche.visible, html.js .reveal-droite.visible { transform: none; }

/* ---- Boutons ---- */
.btn {
  display: inline-block; cursor: pointer; border: none;
  padding: 15px 32px;
  font-size: 1rem; font-family: inherit; font-weight: 600;
  border-radius: var(--rayon-petit);
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.98); transition-duration: 0.05s; }
/* Biseau lumineux : les boutons attrapent la lumière des lanternes */
.btn-primaire {
  background: var(--terracotta); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 2px 8px rgba(208,80,58,0.35), 0 10px 26px rgba(208,80,58,0.25);
}
.btn-primaire:hover { background: var(--terracotta-fonce); }
.btn-dore { background: var(--dore); color: var(--fond-4); box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 2px 8px rgba(217,164,65,0.35), 0 10px 26px rgba(217,164,65,0.22); }
.btn .fleche { display: inline-block; transition: transform var(--dur-ui) var(--ease-out); }
.btn:hover .fleche { transform: translateX(4px); }
.btn-dore:hover { background: #c8952f; }
.btn-contour { background: rgba(255,255,255,0.05); border: 1.5px solid rgba(244,236,221,0.7); color: var(--texte); backdrop-filter: blur(4px); }
.btn-contour:hover { background: rgba(255,255,255,0.14); }

/* ---- Bandeau démo : toujours AVANT tout appel à l'action ---- */
.bandeau-demo {
  background: var(--dore); color: var(--fond-4);
  text-align: center; padding: 9px clamp(16px, 4vw, 32px);
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em;
}

/* ---- Navigation ---- */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(24, 20, 16, 0.9);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid rgba(244,236,221,0.08);
}
/* Liseré tricolore — la signature italienne */
header.site::before {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg,
    #5C7A45 0%, #5C7A45 33%,
    #f4ecdd 33%, #f4ecdd 66%,
    #C0442E 66%, #C0442E 100%);
  opacity: 0.9;
}
header.site nav {
  max-width: 1080px; margin: 0 auto; padding: 14px clamp(20px, 4vw, 32px);
  display: flex; align-items: center; justify-content: space-between;
}
.logo { font-family: 'Fraunces', serif; font-size: 1.4rem; color: #E0705A; font-weight: 700; line-height: 1.1; }
.logo small {
  display: block; font-family: 'Inter', sans-serif; font-size: 0.6rem;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--olivier); font-weight: 600;
  margin-top: 2px;
}
.menu-nav { display: flex; align-items: center; gap: 30px; list-style: none; }
.menu-nav a {
  font-size: 0.95rem; font-weight: 500; color: var(--texte);
  transition: color 0.2s;
  position: relative;
}
.menu-nav a:hover { color: var(--dore); }
/* Souligné doré qui se déploie de gauche à droite */
.menu-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px;
  background: var(--dore); border-radius: 2px;
  transition: right var(--dur-ui) var(--ease-out);
}
.menu-nav a:not(.btn):hover::after { right: 0; }
.menu-nav a.actif { color: #E0705A; font-weight: 700; }
.menu-nav a.actif:not(.btn)::after { right: 0; }
.menu-nav .btn { padding: 10px 22px; font-size: 0.9rem; color: #fff; }
.menu-nav a.btn.actif { text-decoration: none; color: #fff; }
/* Burger : trois barres qui se croisent à l'ouverture */
.burger { display: none; background: none; border: none; cursor: pointer; width: 40px; height: 40px; position: relative; }
.burger span {
  position: absolute; left: 9px; width: 22px; height: 2px; border-radius: 2px;
  background: var(--texte); transition: transform .25s var(--ease-masse), opacity .2s ease;
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 25px; }
.burger.ouvert span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.ouvert span:nth-child(2) { opacity: 0; }
.burger.ouvert span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .burger { display: block; }
  .menu-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: #241e19; border-bottom: 1px solid rgba(244,236,221,0.1);
    box-shadow: var(--ombre);
    max-height: 0; overflow: hidden;
    /* visibility retardée : menu fermé = liens NON focalisables au clavier */
    visibility: hidden;
    transition: max-height 0.3s ease, visibility 0s linear 0.3s;
  }
  .menu-nav.ouvert { max-height: 440px; visibility: visible; transition: max-height 0.3s ease, visibility 0s; }
  /* display:block : des zones tactiles pleines, qui ne se chevauchent pas */
  .menu-nav a { display: block; padding: 15px 24px; border-top: 1px solid rgba(244,236,221,0.07); }
  .menu-nav .btn { margin: 14px 24px; text-align: center; }
}

/* ---- Titres de section ---- */
.titre-section { text-align: center; margin-bottom: clamp(36px, 6vw, 56px); }
.titre-section .sur-titre {
  color: var(--dore); font-size: 0.78rem;
  letter-spacing: 0.32em; text-transform: uppercase; font-weight: 700;
}
.titre-section h2 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); margin-top: 12px; color: var(--texte); }
.titre-section h2::after {
  content: ""; display: block; width: 54px; height: 3px; margin: 18px auto 0;
  background: var(--olivier); border-radius: 2px;
}
.titre-section.clair h2 { color: #fff; }
.titre-section.clair .sur-titre { color: var(--dore); }
.titre-section.clair h2::after { background: var(--dore); }
.duo .titre-section { text-align: left; }
.duo .titre-section h2::after { margin-left: 0; }

/* ---- Hero refondu (09/08/2026) : la pizza burrata plein cadre, vraie
   photo maison, texte posé en bas à gauche. L'image vit dans ::before
   pour garder le lent Ken Burns qui se pose. ---- */
.hero {
  min-height: min(92dvh, 1000px);
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end; text-align: left;
  color: #fff;
  padding: 48px clamp(20px, 5vw, 64px) clamp(40px, 7vh, 76px);
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--fond-2), var(--fond));
}
.hero::before {
  content: ""; position: absolute; inset: -4%; z-index: 0;
  background:
    linear-gradient(180deg, rgba(19,16,9,0.5) 0%, rgba(19,16,9,0.08) 36%, rgba(19,16,9,0.2) 60%, rgba(19,16,9,0.86) 100%),
    url('../images/produits/hero-pizza-burrata-hd.jpg') center 38%/cover no-repeat;
}
html.js .hero::before { transform: scale(1.07); animation: kenburns 16s var(--ease-out) forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero > * { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(1.9rem, 4.6vw, 3.8rem);
  max-width: 24ch;
  margin-bottom: 16px;
  color: var(--papier);
  text-shadow: 0 2px 28px rgba(0,0,0,0.55);
}
.hero p {
  font-size: clamp(1.02rem, 1.8vw, 1.25rem);
  max-width: 44ch; margin: 0 0 30px;
  font-weight: 300; letter-spacing: 0.01em;
  text-shadow: 0 1px 14px rgba(0,0,0,0.5);
}
.hero .boutons { display: flex; gap: 14px; flex-wrap: wrap; }

/* Entrée : le titre, la phrase puis les boutons montent en place */
html.js .hero h1, html.js .hero p, html.js .hero .boutons { opacity: 0; transform: translateY(16px); }
html.js body.hero-visible .hero h1,
html.js body.hero-visible .hero p,
html.js body.hero-visible .hero .boutons {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
html.js body.hero-visible .hero h1 { transition-delay: .1s; }
html.js body.hero-visible .hero p { transition-delay: .28s; }
html.js body.hero-visible .hero .boutons { transition-delay: .46s; }

/* Le liseré tricolore se déploie à l'arrivée sur chaque page */
html.js header.site::before { transform: scaleX(0); transform-origin: left; }
html.js body.hero-visible header.site::before { transform: scaleX(1); transition: transform .9s var(--ease-out) .15s; }

/* ---- Bandeau horaires ---- */
.bandeau-horaires {
  /* #96631B et non var(--dore) : le blanc sur #D9A441 ne faisait que 2,25:1 */
  background: linear-gradient(90deg, #C0442E, #96631B);
  color: #fff; text-align: center; padding: 16px clamp(20px, 4vw, 32px);
  font-size: 1.05rem; box-shadow: var(--ombre);
}
.bandeau-horaires strong { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.2rem; }
.bandeau-horaires .sep { opacity: 0.6; margin: 0 10px; }
.bandeau-horaires .dim {
  display: inline-block; background: rgba(19,16,9,0.28);
  padding: 4px 15px; border-radius: 20px; margin-left: 10px; font-size: 0.95rem;
}
@media (max-width: 640px) {
  .bandeau-horaires .sep { display: none; }
  .bandeau-horaires strong { display: block; margin: 2px 0; }
  .bandeau-horaires .dim { display: block; width: fit-content; margin: 10px auto 0; }
}

/* ---- Photos ---- */
.photo {
  border-radius: var(--rayon);
  box-shadow: var(--ombre-haute), 0 0 0 6px rgba(244,236,221,0.03);
  background-size: cover; background-position: center;
  background-color: var(--fond-2);
  min-height: 340px;
  border: 1px solid rgba(244,236,221,0.06);
  transition: transform .45s var(--ease-out), box-shadow .45s ease;
}
.duo .photo:hover { transform: rotate(-0.6deg) scale(1.01); box-shadow: var(--ombre-haute), 0 0 0 6px rgba(217,164,65,0.07); }
.photo.facade   { background-image: url('../images/facade.jpg'); }
.photo.terrasse { background-image: url('../images/terrasse.jpg'); }
/* terrasse.jpg et non terrasse-accueil.webp : ce fichier n'existe pas sur le
   disque (la tuile restait vide, fond uni). */
.photo.terrasse-resto { background-image: url('../images/terrasse.jpg'); background-position: center 26%; min-height: 380px; }
.photo.salle    { background-image: url('../images/salle.jpg'); }
.photo.ambiance { background-image: url('../images/ambiance.jpg'); }
.photo.bar {
  /* Illustration de carte dessinée (SVG) — carte crème qui claque sur le fond sombre */
  background-image: url('../images/menu-illustration.svg');
  background-size: contain; background-repeat: no-repeat; background-position: center;
  background-color: transparent;
  min-height: 500px;
  box-shadow: none; border: none;
}

/* ---- Bloc duo ---- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
.duo p { color: var(--gris); margin-bottom: 1rem; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } .duo .photo { min-height: 250px; } }

/* Formulaire en une colonne sur petit écran : à deux colonnes sous 560 px,
   chaque champ tombait à ~70 px de large. */
@media (max-width: 560px) {
  .form-resa { grid-template-columns: 1fr; }
}

/* ---- Les 3 atouts ---- */
.atouts { background: var(--fond-3); }
.grille-atouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.carte-atout {
  background: var(--fond-2); border-radius: var(--rayon); padding: 38px 30px; text-align: center;
  box-shadow: var(--ombre);
  border: 1px solid rgba(244,236,221,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.carte-atout:hover { transform: translateY(-4px); box-shadow: var(--ombre-haute); border-color: rgba(217,164,65,0.35); }
.carte-atout .icone { margin-bottom: 16px; display: flex; justify-content: center; color: var(--dore); }
.carte-atout .icone .ico { width: 38px; height: 38px; stroke-width: 1.8; }
.carte-atout h3 { font-size: 1.3rem; color: var(--dore); margin-bottom: 10px; }
.carte-atout p { color: var(--gris); font-size: 0.97rem; margin: 0 auto; }
@media (max-width: 760px) { .grille-atouts { grid-template-columns: 1fr; } }

/* ---- Carte / menu — esprit ardoise de trattoria ---- */
.menu-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 60px; }
.menu-categorie { margin-bottom: 40px; }
.menu-categorie h3 {
  font-size: 1.5rem; color: var(--olivier); margin-bottom: 20px;
  padding-bottom: 10px; border-bottom: 2px solid rgba(244,236,221,0.1);
}
.plat { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 11px 0; }
.plat .info { flex: 1; }
.plat .nom { font-weight: 600; color: var(--texte); transition: color var(--dur-ui) ease; }
.plat:hover .nom { color: var(--dore); }
.plat .desc {
  display: block; font-size: 0.88rem; color: var(--gris);
  font-weight: 400; margin-top: 4px; max-width: 92%; line-height: 1.55;
}
.plat .points { flex: 1; border-bottom: 1px dotted rgba(244,236,221,0.25); transform: translateY(-4px); min-width: 24px; }
.plat .prix {
  color: var(--dore); font-weight: 700; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 760px) { .menu-grille { grid-template-columns: 1fr; gap: 0; } }

/* ---- Galerie ---- */
.galerie { background: var(--fond-3); }
.galerie-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plat-photo {
  background: var(--fond-2); border-radius: var(--rayon); overflow: hidden;
  box-shadow: var(--ombre); display: flex; flex-direction: column;
  border: 1px solid rgba(244,236,221,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.plat-photo:hover { transform: translateY(-4px); box-shadow: var(--ombre-haute); border-color: rgba(217,164,65,0.35); }
.plat-photo a { display: block; overflow: hidden; }
.plat-photo img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.4s ease; }
.plat-photo a:hover img { transform: scale(1.06); }
.plat-photo figcaption { padding: 15px 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.plat-photo .nom { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.05rem; color: var(--texte); }
.plat-photo .prix { color: var(--dore); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.plat-photo .prix.note { color: var(--olivier); font-style: italic; font-weight: 600; font-size: 0.85rem; }
@media (max-width: 900px) { .galerie-photos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .galerie-photos { grid-template-columns: 1fr; } }

/* ---- Bandeau réservation ---- */
.bandeau-resa {
  text-align: center; color: #fff;
  /* salle.jpg et non ambiance.jpg : ambiance est un octet-à-octet identique à
     facade (déjà affichée dans le hero) — même image téléchargée deux fois et
     répétée à l'écran. La salle du soir est distincte et colle au propos. */
  background:
    linear-gradient(rgba(19,16,12,0.55), rgba(19,16,12,0.7)),
    url('../images/salle.jpg') center/cover no-repeat,
    var(--fond-2);
}
.bandeau-resa h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 14px; }
.bandeau-resa p { max-width: 34em; margin: 0 auto 30px; font-weight: 300; font-size: 1.1rem; }

/* ---- Formulaire de réservation : une carte de papier dans la nuit ---- */
.bloc-resa { max-width: 720px; margin: 0 auto; }
.form-resa {
  display: grid; gap: 20px; grid-template-columns: 1fr 1fr;
  background: var(--papier); padding: clamp(24px, 5vw, 44px);
  border-radius: var(--rayon); box-shadow: var(--ombre-haute);
  color: var(--anthracite);
}
.form-resa .pleine { grid-column: 1 / -1; }
/* Une colonne sur petit écran : à deux colonnes sous 560 px, chaque champ
   tombait à ~70 px. (Placée APRÈS la règle de base : à spécificité égale,
   c'est l'ordre dans le fichier qui tranche.) */
@media (max-width: 560px) {
  .form-resa { grid-template-columns: 1fr; }
}

.etape {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 12px;
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.15rem;
  color: var(--anthracite);
  margin-top: 6px;
}
.etape .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  /* #4D6639 et non #5C7A45 : contraste AA sur les papiers du formulaire */
  background: #4D6639; color: #fff;
  font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 700;
  flex-shrink: 0;
}
.etape::after { content: ""; flex: 1; height: 1px; background: var(--creme-fonce); }

.form-resa label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--anthracite); }
.form-resa input, .form-resa select, .form-resa textarea {
  width: 100%; padding: 13px 15px; font-size: 1rem; font-family: inherit;
  border: 1.5px solid var(--creme-fonce); border-radius: var(--rayon-petit);
  background: #fdf9f0; color: var(--anthracite);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.form-resa input:focus, .form-resa select:focus, .form-resa textarea:focus {
  outline: none; border-color: #C0442E; background: #fff;
  box-shadow: 0 0 0 3px rgba(192,68,46,0.15);
}
.form-resa textarea { resize: vertical; min-height: 90px; }

.creneaux { display: flex; flex-wrap: wrap; gap: 10px; }
.creneaux input { position: absolute; opacity: 0; width: 0; height: 0; }
.creneaux label {
  margin: 0; cursor: pointer; padding: 11px 17px; border-radius: var(--rayon-petit);
  border: 1.5px solid var(--creme-fonce); background: #fdf9f0;
  font-weight: 600; font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  transition: all 0.15s ease;
}
.creneaux label:hover { border-color: #C0442E; background: #fff; }
.creneaux input:checked + label {
  background: #C0442E; color: #fff; border-color: #C0442E;
  box-shadow: 0 2px 8px rgba(192,68,46,0.35);
}
.creneaux input:focus-visible + label { outline: 2px solid #C0442E; outline-offset: 2px; }
.service-titre { font-weight: 700; color: #4D6639; margin: 6px 0 6px; font-size: 0.9rem; }

.recap {
  grid-column: 1 / -1;
  background: var(--papier-2); border: 1.5px solid var(--creme-fonce);
  border-radius: var(--rayon-petit);
  padding: 16px 20px;
  font-size: 1rem; color: #6b5f52;
  display: none;
}
.recap.visible { display: block; }
.recap strong { color: var(--anthracite); }
.recap .recap-titre {
  display: block; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 700; color: #4D6639; margin-bottom: 6px;
}

.confirmation {
  grid-column: 1 / -1; text-align: center; padding: 20px;
  background: #33402a; border: 1.5px solid var(--olivier); border-radius: var(--rayon-petit);
  color: var(--texte); display: none;
}
.confirmation.visible { display: block; }

/* ---- Infos pratiques ---- */
.infos-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.carte-info {
  background: var(--fond-2); border-radius: var(--rayon); padding: 32px;
  box-shadow: var(--ombre); border: 1px solid rgba(244,236,221,0.07);
}
.carte-info h3 { color: var(--dore); margin-bottom: 12px; font-size: 1.25rem; }
.carte-info p { color: var(--gris); }
.a-confirmer { color: #E0705A; font-style: italic; font-size: 0.85rem; }
@media (max-width: 760px) { .infos-grille { grid-template-columns: 1fr; } }

.services-liste { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 10px; }
.service-tag {
  background: var(--fond-2); color: var(--texte);
  padding: 9px 18px; border-radius: 22px; font-size: 0.9rem; font-weight: 500;
  box-shadow: var(--ombre); border: 1px solid rgba(244,236,221,0.1);
}
.carte-google { width: 100%; height: 380px; border: 0; border-radius: var(--rayon); box-shadow: var(--ombre-haute); filter: saturate(0.85); }

/* ---- Pied de page ---- */
footer.site { background: var(--fond-4); color: var(--texte); padding: 56px 0 26px; border-top: 1px solid rgba(244,236,221,0.06); }
footer.site .conteneur { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
footer.site h4 { color: var(--dore); margin-bottom: 16px; font-size: 1.1rem; }
footer.site p, footer.site a { color: #b9ac9b; font-size: 0.93rem; line-height: 2; }
footer.site a { text-underline-offset: 4px; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site .bas {
  grid-column: 1/-1; border-top: 1px solid rgba(244,236,221,0.08); margin-top: 26px; padding-top: 22px;
  text-align: center; font-size: 0.82rem; color: #8a7f70;
}
@media (max-width: 760px) { footer.site .conteneur { grid-template-columns: 1fr; } }

/* ---- Pages légales ---- */
.page-texte { max-width: 760px; margin: 0 auto; }
.page-texte h1 { font-size: clamp(1.9rem, 4.5vw, 2.5rem); color: #E0705A; margin-bottom: 8px; }
.page-texte h2 { font-size: 1.4rem; color: var(--olivier); margin: 30px 0 10px; }
.page-texte p, .page-texte li { color: var(--gris); margin-bottom: 12px; }
.page-texte ul { padding-left: 22px; }
.encart-todo {
  background: #3a2f1c; border-left: 4px solid var(--dore);
  padding: 15px 19px; border-radius: 6px; margin: 16px 0; color: var(--texte);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html.js .reveal,
  html.js .hero h1, html.js .hero p, html.js .hero .boutons { opacity: 1; transform: none; }
  html.js .hero::before { transform: none; animation: none; }
  html.js header.site::before { transform: scaleX(1); }
}

/* ---- Confirmation de réservation : la coche se dessine ---- */
.confirmation.visible { animation: apparait .35s var(--ease-out); }
.confirmation .coche { width: 26px; height: 26px; stroke: var(--olivier); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -6px; margin-right: 8px; }
.confirmation.visible .coche path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: dessine .6s var(--ease-out) .15s forwards; }
@keyframes dessine { to { stroke-dashoffset: 0; } }
@keyframes apparait { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---- Consentement emails (formulaire de réservation) ---- */
.consentement {
  background: var(--papier-2); border: 1.5px solid var(--creme-fonce);
  border-radius: var(--rayon-petit); padding: 14px 18px;
}
.consentement label {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  font-weight: 400; font-size: 0.92rem; color: #6b5f52; line-height: 1.6; margin: 0;
}
.consentement input[type="checkbox"] {
  width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0;
  accent-color: var(--terracotta); cursor: pointer;
}
.mention-emails {
  margin-top: 14px; font-size: 0.82rem; color: #6b5f52; text-align: center; line-height: 1.7;
}
.mention-emails a { color: var(--terracotta-fonce); text-decoration: underline; }


/* ---- Encart de l'assistante vocale (démonstration) ---- */
.assistante-note {
  position: fixed;
  left: 16px;
  bottom: 16px;
  max-width: 320px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .96);
  border-left: 4px solid var(--dore, #D9A441);
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
  font: 400 13px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #2B2724;
  z-index: 40;
}
.assistante-note strong { display: block; margin-bottom: 4px; }
@media (max-width: 720px) {
  /* Sur téléphone, l'encart passerait sous le bouton du widget : on le range
     en haut, où il reste lisible sans gêner. */
  .assistante-note { left: 12px; right: 12px; bottom: auto; top: 64px; max-width: none; }
}

/* =====================================================================
   Refonte accueil 09/08/2026 — sections « vraies photos maison » :
   le marché (montage produits), le potager, la robe du léopard,
   la mosaïque À table. Révélations branchées sur le système .reveal.
   ===================================================================== */

/* ---- Le marché : montage vidéo en place d'honneur, produits autour ---- */
.marche { padding: clamp(64px, 10vh, 110px) 0 clamp(48px, 7vh, 80px); }
.marche .reel {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(14px, 2vw, 24px);
  max-width: 1140px; margin: 0 auto;
  padding: 8px clamp(20px, 4vw, 32px);
  align-items: end;
}
.marche .cadre {
  position: relative; border-radius: var(--rayon); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--fond-2);
  box-shadow: var(--ombre);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease;
}
.marche figure { margin: 0; }
.marche figure:hover .cadre { transform: translateY(-6px) rotate(-0.4deg); box-shadow: var(--ombre-haute); }
.marche figure.majeur .cadre { aspect-ratio: 3 / 4; }
.marche .cadre img, .marche .cadre video { width: 100%; height: 100%; object-fit: cover; display: block; }
.marche figcaption { margin-top: 12px; font-size: 0.95rem; color: var(--texte); line-height: 1.5; }
.marche figcaption strong { color: var(--papier); font-weight: 600; display: block; }
.marche figcaption .prix { color: var(--dore); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .marche .reel {
    grid-template-columns: none; grid-auto-flow: column;
    grid-auto-columns: 76vw;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding-bottom: 22px;
    scrollbar-width: thin; scrollbar-color: var(--fond-2) transparent;
    align-items: start;
  }
  .marche .reel > figure { scroll-snap-align: start; }
}

/* ---- Le potager : photo des rangs en fond, preuves en vis-à-vis ---- */
.potager {
  position: relative; isolation: isolate;
  min-height: 82dvh; display: flex; align-items: center;
  overflow: clip;
}
.potager .fond-media, .potager .fond-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.potager::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(19,16,9,0.88) 0%, rgba(19,16,9,0.6) 46%, rgba(19,16,9,0.25) 100%);
}
.potager .contenu {
  width: 100%; max-width: 1140px; margin: 0 auto;
  padding: clamp(64px, 11vh, 110px) clamp(20px, 4vw, 32px);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.potager h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); color: var(--papier); }
.potager p { margin-top: 16px; color: var(--texte); }
.potager .duo-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.potager .duo-photos img {
  border-radius: var(--rayon); box-shadow: var(--ombre-haute);
  aspect-ratio: 3 / 4; object-fit: cover; width: 100%; display: block;
}
.potager .duo-photos img:last-child { margin-top: 34px; }
@media (max-width: 860px) {
  .potager .contenu { grid-template-columns: 1fr; }
  .potager .duo-photos img:last-child { margin-top: 0; }
}

/* ---- La robe du léopard : la croûte tachetée raconte l'enseigne ---- */
.leopard {
  background: var(--fond-3);
  padding: clamp(64px, 11vh, 120px) clamp(20px, 4vw, 32px);
}
.leopard .interieur {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 80px); align-items: center;
}
@media (max-width: 860px) { .leopard .interieur { grid-template-columns: 1fr; } }
.leopard h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); color: var(--papier); }
.leopard p { margin-top: 18px; color: var(--texte); }
.leopard p.signature {
  color: var(--dore); font-family: 'Fraunces', Georgia, serif;
  font-style: italic; font-size: 1.15rem; padding-bottom: 4px;
}
.leopard img {
  border-radius: var(--rayon); box-shadow: var(--ombre-haute);
  width: 100%; height: auto; display: block;
  transform: rotate(0.6deg);
  transition: transform 0.5s var(--ease-out);
}
.leopard img:hover { transform: rotate(0deg) scale(1.015); }

/* ---- À table : mosaïque à hauteurs réservées (aucun saut de page) ---- */
.mosaique {
  display: grid; gap: clamp(12px, 1.6vw, 20px);
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(130px, 15vw, 210px);
  grid-template-areas:
    "a a b c"
    "a a d d"
    "e f d d"
    "e f g h";
}
.mosaique > div { border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); }
.mosaique img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mosaique > div:nth-child(1) { grid-area: a; }
.mosaique > div:nth-child(2) { grid-area: b; }
.mosaique > div:nth-child(3) { grid-area: c; }
.mosaique > div:nth-child(4) { grid-area: d; }
.mosaique > div:nth-child(5) { grid-area: e; }
.mosaique > div:nth-child(6) { grid-area: f; }
.mosaique > div:nth-child(7) { grid-area: g; }
.mosaique > div:nth-child(8) { grid-area: h; }
@media (max-width: 760px) {
  .mosaique {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "a a" "b c" "d d" "e f" "g h";
  }
}

/* ---- Tuiles photo réelles (09/08/2026) : mêmes gabarits .photo que les
   vues du lieu, mais alimentés par les photos maison ---- */
.photo.cueillette { background-image: url('../images/produits/cueillette-basilic.jpg'); background-position: center 60%; }

/* ---- Bande d'appétit en tête de carte ---- */
.bande-photo {
  height: clamp(200px, 34vh, 360px);
  background: url('../images/produits/pizza-burrata-macro.jpg') center 45%/cover no-repeat;
  box-shadow: inset 0 -60px 60px -30px var(--fond);
}
