/* ═══════════════ Le Baratin — Les Carroz d'Arâches ═══════════════
   Palette : bois chaud, bordeaux, craie, rose enseigne (#e0447c)     */

:root {
  --bois-fonce: #24170d;
  --bois: #3a2a1c;
  --bois-clair: #8a6a48;
  --miel: #d99a4e;
  --craie: #f4e9d8;
  --creme: #efe3cd;
  --rose: #e0447c;
  --bordeaux: #7a1f2e;
  --ardoise: #23211e;
  --ombre: 0 10px 40px rgba(0, 0, 0, .45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Quicksand", system-ui, sans-serif;
  background: #1c130c;
  color: var(--craie);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--miel); }

/* ═══════════════ LANDING ═══════════════ */

.landing {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: pointer;
}

.landing-photo {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center 40%;
  animation: kenburns 26s ease-in-out infinite alternate;
  filter: saturate(1.05);
}

@keyframes kenburns {
  from { transform: scale(1) translateX(0); }
  to   { transform: scale(1.08) translateX(-1.5%); }
}

.landing.zoom .landing-photo {
  animation: none;
  transition: transform 1.6s cubic-bezier(.5, 0, .8, .4), filter 1.6s ease;
  transform: scale(2.4) translateY(6%);
  filter: blur(6px) brightness(.55);
}

.landing.zoom .landing-content { opacity: 0; transition: opacity .7s ease; }

.landing-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(20, 10, 4, .18) 30%, rgba(15, 8, 3, .82) 100%),
    linear-gradient(to top, rgba(15, 8, 3, .75), transparent 45%);
}

.landing-snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.landing-content {
  position: relative;
  text-align: center;
  padding: 1.5rem;
  max-width: 780px;
}

.landing-kicker {
  font-family: "Amatic SC", cursive;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--miel);
  text-shadow: 0 2px 10px rgba(0,0,0,.8);
}

.landing-logo { width: min(560px, 86vw); margin: .4rem auto; filter: drop-shadow(0 6px 18px rgba(0,0,0,.7)); }

.logo-txt {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 128px;
  letter-spacing: .06em;
  fill: var(--craie);
}
.logo-txt.petit { fill: var(--creme); }

.logo-verre { transform-origin: 376px 30px; animation: balance 5s ease-in-out infinite; }
@keyframes balance {
  0%, 100% { transform: rotate(-3deg); }
  50%      { transform: rotate(3deg); }
}

.landing-tagline {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--creme);
  text-shadow: 0 2px 8px rgba(0,0,0,.9);
  margin-bottom: 2rem;
}

.btn-sit {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--craie);
  background: linear-gradient(160deg, #a3532c, #7a1f2e);
  border: 2px solid rgba(244, 233, 216, .55);
  border-radius: 999px;
  padding: 1.1rem 2.2rem;
  cursor: pointer;
  box-shadow: var(--ombre), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: lueur 2.6s ease-in-out infinite;
}
.btn-sit:hover { transform: translateY(-3px) scale(1.03); }
.btn-sit-glass { font-size: 1.6em; animation: tinte 2.6s ease-in-out infinite; }

@keyframes lueur {
  0%, 100% { box-shadow: 0 10px 40px rgba(0,0,0,.45), 0 0 0 0 rgba(224, 68, 124, .5); }
  50%      { box-shadow: 0 10px 40px rgba(0,0,0,.45), 0 0 34px 6px rgba(224, 68, 124, .35); }
}
@keyframes tinte {
  0%, 60%, 100% { transform: rotate(0); }
  70% { transform: rotate(-14deg); }
  80% { transform: rotate(10deg); }
  90% { transform: rotate(-5deg); }
}

.landing-hint {
  margin-top: 1.4rem;
  font-family: "Amatic SC", cursive;
  font-size: 1.35rem;
  letter-spacing: .25em;
  opacity: .75;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

/* ═══════════════ TOPBAR ═══════════════ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: .65rem 1.4rem;
  background: linear-gradient(rgba(30, 19, 10, .96), rgba(30, 19, 10, .88));
  border-bottom: 3px solid var(--bois-clair);
  box-shadow: 0 4px 24px rgba(0,0,0,.5);
  backdrop-filter: blur(6px);
  flex-wrap: wrap;
}

.topbar-logo {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .05em;
  color: var(--craie);
  text-decoration: none;
}
.glass-a { color: var(--rose); }

.topbar-nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.topbar-nav a {
  color: var(--creme);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  padding: .3rem .15rem;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.topbar-nav a:hover { color: var(--miel); border-color: var(--miel); }

.topbar-tools { margin-left: auto; display: flex; align-items: center; gap: .6rem; }

.tool-btn {
  font-size: 1.15rem;
  background: rgba(244, 233, 216, .1);
  border: 1px solid rgba(244, 233, 216, .3);
  border-radius: 10px;
  padding: .35rem .55rem;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.tool-btn:hover { background: rgba(244, 233, 216, .22); transform: scale(1.08); }

.topbar-tel {
  font-weight: 700;
  text-decoration: none;
  color: var(--craie);
  background: var(--bordeaux);
  padding: .45rem .9rem;
  border-radius: 999px;
  font-size: .92rem;
  border: 1px solid rgba(244, 233, 216, .3);
  white-space: nowrap;
}
.topbar-tel:hover { background: #93293a; }

/* ═══════════════ HERO panorama ═══════════════ */

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.hero-pano {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #2c3d55;
  transition: opacity 1.2s ease;
}
.hero-pano-ete { opacity: 0; background-color: #3c5a34; }
body.saison-ete .hero-pano-ete { opacity: 1; }
body.saison-ete .hero-pano-hiver { opacity: 0; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 12, 6, .92), rgba(20, 12, 6, .25) 45%, rgba(20, 12, 6, .15));
}

#hero-particules { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }

.hero-inner { position: relative; z-index: 3; max-width: 860px; padding: 5rem 1.5rem; }

.hero h1 {
  font-family: "Amatic SC", cursive;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.05;
  text-shadow: 0 4px 18px rgba(0,0,0,.85);
}
.hero h1 em { color: var(--miel); font-style: normal; }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
  margin: 1.3rem auto 2rem;
  max-width: 640px;
  color: var(--creme);
  text-shadow: 0 2px 8px rgba(0,0,0,.9);
}

.hero-cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════════ boutons génériques ═══════════════ */

.btn {
  display: inline-block;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  padding: .85rem 1.7rem;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-plein {
  color: var(--craie);
  background: linear-gradient(160deg, #a3532c, var(--bordeaux));
  border: 2px solid rgba(244, 233, 216, .5);
  box-shadow: 0 6px 22px rgba(0,0,0,.4);
}
.btn-ligne {
  color: var(--craie);
  background: rgba(20, 12, 6, .45);
  border: 2px solid rgba(244, 233, 216, .55);
}
.btn-ligne:hover { background: rgba(244, 233, 216, .15); }
.btn-large { width: 100%; font-size: 1.1rem; }

/* ═══════════════ sections ═══════════════ */

.section { position: relative; padding: 4.5rem 1.5rem; }
.wrap { max-width: 1080px; margin: 0 auto; position: relative; z-index: 2; }
.centre { text-align: center; }
.clair { color: var(--creme); }

.titre-craie {
  font-family: "Amatic SC", cursive;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  margin-bottom: 1.2rem;
  color: var(--craie);
}
.titre-craie.sombre { color: var(--bois); }
.souligne-craie { color: var(--miel); }

.sous-titre { font-size: 1.05rem; margin-bottom: 2.4rem; opacity: .9; }
.section-papier .sous-titre { color: #5a4530; }

.section-bois {
  background:
    linear-gradient(rgba(36, 23, 13, .88), rgba(30, 19, 10, .92)),
    url("../images/gen/textures/bois-chalet.webp");
  background-size: 512px;
}

.deux-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 3rem;
  align-items: center;
}

.texte-accueil p { line-height: 1.7; margin-bottom: 1rem; color: var(--creme); }

.liste-picto { list-style: none; margin-top: 1.2rem; }
.liste-picto li {
  padding: .5rem .8rem;
  margin-bottom: .45rem;
  background: rgba(244, 233, 216, .07);
  border-left: 3px solid var(--miel);
  border-radius: 0 8px 8px 0;
}

.polaroid {
  background: var(--craie);
  padding: 14px 14px 10px;
  border-radius: 4px;
  box-shadow: var(--ombre);
  max-width: 460px;
  margin: 0 auto;
}
.polaroid img { border-radius: 2px; }
.polaroid figcaption {
  font-family: "Amatic SC", cursive;
  font-size: 1.4rem;
  color: #4a3826;
  text-align: center;
  padding: .5rem 0 .2rem;
}
.tourne-g { transform: rotate(-2.2deg); }
.polaroid-facade { margin-top: 2.2rem; }
.tourne-d { transform: rotate(2deg); }

/* ═══════════════ ardoise (la carte) ═══════════════ */

.section-ardoise {
  background:
    linear-gradient(rgba(28, 26, 23, .82), rgba(24, 22, 20, .9)),
    url("../images/gen/textures/ardoise.webp");
  background-size: 640px;
  border-top: 10px solid var(--bois-clair);
  border-bottom: 10px solid var(--bois-clair);
}

.ardoise-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2.2rem;
  margin-top: 2.2rem;
}

.ardoise-carte {
  position: relative;
  border: 2px dashed rgba(244, 233, 216, .35);
  border-radius: 14px;
  padding: 1.6rem 1.6rem 1.2rem;
  background: rgba(0, 0, 0, .25);
}

.ardoise-carte h3 {
  font-family: "Amatic SC", cursive;
  font-size: 1.9rem;
  margin-bottom: 1rem;
  color: var(--miel);
}

.menu-lignes { list-style: none; }
.menu-lignes li {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding: .5rem 0;
  font-size: 1.02rem;
}
.menu-lignes small { display: block; opacity: .65; font-size: .82rem; }
.menu-lignes i { flex: 1; border-bottom: 2px dotted rgba(244, 233, 216, .3); }
.menu-lignes b { font-size: 1.05rem; color: var(--miel); white-space: nowrap; }

.ardoise-photo {
  margin-top: 1.2rem;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.5);
  transform: rotate(1.4deg);
}
.ardoise-illus {
  position: absolute;
  right: -14px;
  bottom: -20px;
  width: 130px;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.6));
  transform: rotate(6deg);
}

.note-craie {
  margin-top: 2rem;
  text-align: center;
  font-family: "Amatic SC", cursive;
  font-size: 1.4rem;
  opacity: .8;
}

/* ═══════════════ menus (papier) ═══════════════ */

.section-papier {
  background:
    linear-gradient(rgba(239, 227, 205, .9), rgba(233, 219, 194, .94)),
    url("../images/gen/textures/papier-carte.webp");
  background-size: 512px;
  color: #3c2d1d;
}

.menus-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.2rem;
}

.menu-carte {
  background: #fbf4e6;
  border: 1px solid #d8c6a8;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(80, 55, 25, .25);
  padding: 2rem 1.6rem 1.6rem;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.menu-carte:hover { transform: translateY(-6px) rotate(0deg) !important; box-shadow: 0 18px 40px rgba(80, 55, 25, .35); }

.menu-illus { width: 110px; margin: 0 auto .6rem; filter: drop-shadow(0 6px 10px rgba(60, 40, 15, .3)); }

.menu-carte h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  color: var(--bordeaux);
}

.menu-prix {
  font-family: "Amatic SC", cursive;
  font-size: 2.2rem;
  color: #a3532c;
  margin: .2rem 0 .8rem;
}

.menu-carte ul { list-style: none; margin-bottom: 1rem; }
.menu-carte li { padding: .35rem 0; border-bottom: 1px dotted #cbb896; }
.menu-carte li:last-child { border-bottom: none; }

.menu-note { font-style: italic; font-family: "Cormorant Garamond", serif; color: #7a5f42; font-size: 1.02rem; }

.bandeau-fondue {
  margin-top: 3rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(80, 55, 25, .3);
  position: relative;
}
.bandeau-fondue img { width: 100%; max-height: 380px; object-fit: cover; }
.bandeau-fondue figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem;
  background: linear-gradient(transparent, rgba(20, 10, 4, .88));
  color: var(--craie);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.15rem;
  text-align: center;
}

/* ═══════════════ la cave ═══════════════ */

.section-cave { overflow: hidden; }
.section-cave-fond {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #180d08;
  filter: brightness(.38) saturate(.9);
}
.section-cave::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(15, 8, 3, .35), rgba(15, 8, 3, .7));
  z-index: 1;
}
.section-cave .wrap::before { content: none; }

.cave-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin: 2.4rem 0;
}

.bouteille {
  background: rgba(20, 10, 6, .72);
  border: 2px solid rgba(217, 154, 78, .35);
  border-radius: 14px;
  padding: 1.2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s, box-shadow .22s;
}
.bouteille:hover { transform: translateY(-5px); border-color: var(--miel); }
.bouteille.choisie {
  border-color: var(--rose);
  box-shadow: 0 0 26px rgba(224, 68, 124, .45);
  transform: translateY(-5px);
}

.bouteille-svg { width: 46px; height: 110px; margin: 0 auto .6rem; display: block; }

.bouteille h4 { font-family: "Cormorant Garamond", serif; font-size: 1.2rem; color: var(--craie); }
.bouteille .region { font-size: .8rem; opacity: .7; margin: .15rem 0 .4rem; }
.bouteille .prix { font-family: "Amatic SC", cursive; font-size: 1.7rem; color: var(--miel); }
.bouteille .note-degust { font-size: .78rem; font-style: italic; opacity: .65; margin-top: .3rem; line-height: 1.35; }

/* ═══════════════ formulaires ═══════════════ */

.formulaire {
  background: rgba(20, 12, 6, .78);
  border: 2px solid rgba(217, 154, 78, .4);
  border-radius: 18px;
  padding: 1.8rem;
  backdrop-filter: blur(4px);
  max-width: 640px;
  margin: 0 auto;
}
.formulaire h3 { font-family: "Amatic SC", cursive; font-size: 1.9rem; color: var(--miel); margin-bottom: 1rem; }

.vin-choisi {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.1rem;
  padding: .7rem 1rem;
  margin-bottom: 1rem;
  background: rgba(224, 68, 124, .12);
  border-left: 3px solid var(--rose);
  border-radius: 0 8px 8px 0;
}

.form-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.formulaire label { display: block; font-weight: 600; font-size: .9rem; color: var(--creme); }
.form-large { margin-bottom: 1.2rem; }

.formulaire input, .formulaire select {
  width: 100%;
  margin-top: .35rem;
  padding: .7rem .8rem;
  font-family: inherit;
  font-size: .95rem;
  color: var(--craie);
  background: rgba(244, 233, 216, .08);
  border: 1px solid rgba(244, 233, 216, .3);
  border-radius: 10px;
  outline: none;
  transition: border-color .2s, background .2s;
}
.formulaire input:focus, .formulaire select:focus { border-color: var(--miel); background: rgba(244, 233, 216, .14); }
.formulaire select option { background: #2a1b0e; }
.formulaire input::placeholder { color: rgba(244, 233, 216, .4); }

.form-note { margin-top: 1rem; font-size: .85rem; opacity: .85; text-align: center; }

/* ═══════════════ réserver / appeler ═══════════════ */

.carte-appel {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 1.6rem 0;
  padding: 1.1rem 1.5rem;
  background: linear-gradient(160deg, #a3532c, var(--bordeaux));
  border: 2px solid rgba(244, 233, 216, .5);
  border-radius: 18px;
  text-decoration: none;
  color: var(--craie);
  box-shadow: var(--ombre);
  transition: transform .2s;
  max-width: 380px;
}
.carte-appel:hover { transform: scale(1.03); }
.carte-appel-picto { font-size: 2.2rem; animation: sonne 3.5s ease-in-out infinite; }
@keyframes sonne {
  0%, 86%, 100% { transform: rotate(0); }
  88% { transform: rotate(-16deg); } 92% { transform: rotate(14deg); } 96% { transform: rotate(-8deg); }
}
.carte-appel b { display: block; font-size: 1.5rem; letter-spacing: .04em; }
.carte-appel small { opacity: .8; }

.horaires {
  background: rgba(244, 233, 216, .06);
  border: 1px dashed rgba(244, 233, 216, .3);
  border-radius: 14px;
  padding: 1.3rem 1.5rem;
}
.horaires h3 { font-family: "Amatic SC", cursive; font-size: 1.7rem; color: var(--miel); margin-bottom: .6rem; }
.horaires p { line-height: 1.6; margin-bottom: .8rem; }
.horaires-adresse { margin-bottom: 0 !important; }

/* ═══════════════ pied ═══════════════ */

.pied {
  text-align: center;
  padding: 3rem 1.5rem 2.2rem;
  background: #150d07;
  border-top: 3px solid var(--bois-clair);
}
.pied-logo { width: 220px; margin: 0 auto 1rem; opacity: .9; }
.pied p { margin-bottom: .5rem; font-size: .92rem; color: var(--creme); }
.pied-note { opacity: .55; font-size: .8rem !important; margin-top: 1.2rem; }

/* ═══════════════ toast ═══════════════ */

.toast {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  background: rgba(15, 8, 3, .82);
  backdrop-filter: blur(5px);
}
.toast[hidden] { display: none; }
.toast span { font-size: 4rem; animation: tchin .8s ease; }
@keyframes tchin {
  0% { transform: scale(.3) rotate(-20deg); opacity: 0; }
  60% { transform: scale(1.15) rotate(6deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.toast p {
  max-width: 460px;
  font-size: 1.15rem;
  line-height: 1.6;
  background: rgba(36, 23, 13, .95);
  border: 2px solid var(--miel);
  border-radius: 16px;
  padding: 1.4rem 1.8rem;
  white-space: pre-line;
}

/* ═══════════════ scène du comptoir (tabourets cliquables) ═══════════════ */

.scene-comptoir {
  position: relative;
  max-width: 920px;
  margin: 2rem auto 1.5rem;
  aspect-ratio: 3 / 2;
  border-radius: 18px;
  overflow: hidden;
  border: 4px solid var(--bois-clair);
  box-shadow: var(--ombre);
}

.scene-fond {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #2a1b0e;
}

.scene-barman {
  position: absolute;
  left: 63%;
  bottom: 41%;
  width: 21%;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .55));
  animation: barman-vivant 4.5s ease-in-out infinite;
}
@keyframes barman-vivant {
  0%, 100% { transform: translateX(-50%) rotate(-1.4deg); }
  50%      { transform: translateX(-50%) rotate(1.4deg) translateY(-5px); }
}

.scene-tabourets {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 2%;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
}

.tabouret-btn {
  width: 15%;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .6));
  transition: transform .25s ease;
}
.tabouret-btn:hover { transform: translateY(-9px) scale(1.06); }
.tabouret-btn img { width: 100%; display: block; }
.tabouret-btn.assis { animation: on-s-assoit .55s ease; }
@keyframes on-s-assoit {
  35% { transform: translateY(7px) scale(.94); }
  70% { transform: translateY(-2px); }
}
.tabouret-btn.tabouret-secours img { display: none; }
.tabouret-btn.tabouret-secours::after { content: "🪑"; font-size: clamp(2rem, 6vw, 3.4rem); }

/* le menu qu'on vous apporte */
.menu-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(15, 8, 3, .75);
  backdrop-filter: blur(4px);
}
.menu-modal[hidden] { display: none; }

.menu-modal-carte {
  position: relative;
  width: min(440px, 94vw);
  max-height: 88vh;
  overflow-y: auto;
  background:
    linear-gradient(rgba(251, 244, 230, .94), rgba(247, 238, 220, .96)),
    url("../images/gen/textures/papier-carte.webp");
  background-size: 512px;
  color: #3c2d1d;
  border: 1px solid #d8c6a8;
  border-radius: 8px;
  padding: 2rem 2.2rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .65);
  animation: menu-pose .45s ease;
}
@keyframes menu-pose {
  from { transform: translateY(46px) rotate(-3deg); opacity: 0; }
}

.menu-modal-carte h3 {
  font-family: "Amatic SC", cursive;
  font-size: 2.5rem;
  text-align: center;
  color: var(--bordeaux);
}
.menu-modal-sous {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: #7a5f42;
  margin-bottom: 1.1rem;
}
.menu-modal-carte h4 {
  font-family: "Amatic SC", cursive;
  font-size: 1.6rem;
  color: #a3532c;
  margin: 1rem 0 .2rem;
}
.menu-lignes.sombre li { font-size: .96rem; padding: .35rem 0; }
.menu-lignes.sombre i { border-color: rgba(60, 45, 29, .35); }
.menu-lignes.sombre b { color: #a3532c; }
.menu-lignes.sombre small { opacity: .6; }

.menu-modal-fermer {
  position: absolute;
  top: .7rem;
  right: .9rem;
  background: none;
  border: none;
  font-size: 1.15rem;
  color: #7a5f42;
  cursor: pointer;
}
.menu-modal-fermer:hover { color: var(--bordeaux); }

.menu-modal-actions {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

/* ═══════════════ la cave : histoires de vignerons ═══════════════ */

.cave-histoire { margin: 2.6rem 0 3.6rem; }
.texte-cave p { line-height: 1.7; margin-bottom: 1rem; color: var(--creme); }

.bouteille .histoire {
  font-size: .8rem;
  line-height: 1.45;
  color: var(--creme);
  opacity: .85;
  margin-top: .55rem;
  padding-top: .55rem;
  border-top: 1px dashed rgba(217, 154, 78, .35);
}

/* icônes décoratives générées */
.separateur-icones {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.2rem;
  margin-top: 2.4rem;
}
.separateur-icones img {
  width: 54px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.6));
  opacity: .9;
  transition: transform .3s ease;
}
.separateur-icones img:hover { transform: translateY(-5px) rotate(-6deg); }

.form-icone {
  width: 64px;
  float: right;
  margin: -.4rem 0 .4rem 1rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.5));
}

/* apparition au scroll */
.apparait { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.apparait.visible { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .form-ligne { grid-template-columns: 1fr; }
  .topbar { gap: .7rem; }
  .topbar-nav { order: 3; width: 100%; justify-content: center; }
  .scene-comptoir { aspect-ratio: 4 / 3; }
  .section { padding: 3rem 1rem; }
  .ardoise-illus { width: 90px; right: -8px; bottom: -12px; }
}

/* ═══════════════ finitions ═══════════════ */

/* les ancres ne se cachent plus sous la barre sticky */
section[id] { scroll-margin-top: 84px; }

/* focus clavier visible partout */
:focus-visible { outline: 3px solid var(--miel); outline-offset: 3px; border-radius: 4px; }

/* sélection de texte aux couleurs de la maison */
::selection { background: var(--bordeaux); color: var(--craie); }

/* barre de défilement assortie */
html { scrollbar-color: var(--bois-clair) #150d07; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #150d07; }
::-webkit-scrollbar-thumb { background: var(--bois-clair); border-radius: 6px; border: 2px solid #150d07; }
::-webkit-scrollbar-thumb:hover { background: var(--miel); }

.menu-modal-carte { scrollbar-width: thin; }

/* ═══════════════ bandeau cookies ═══════════════ */

.bandeau-cookies {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 300;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  background: rgba(30, 19, 10, .97);
  border: 2px solid var(--miel);
  border-radius: 16px;
  padding: 1.1rem 1.4rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6);
  animation: bandeau-monte .5s ease;
}
.bandeau-cookies p { flex: 1 1 400px; margin: 0; font-size: .9rem; line-height: 1.55; color: var(--creme); }
.bandeau-cookies a { color: var(--miel); }
.bandeau-cookies .btn { white-space: nowrap; margin: 0 auto; }
.bandeau-cookies.range { opacity: 0; transform: translateY(24px); transition: opacity .45s ease, transform .45s ease; }
@keyframes bandeau-monte { from { opacity: 0; transform: translateY(30px); } }

/* ═══════════════ pied : liens légaux + crédit ═══════════════ */

.pied-legal { font-size: .85rem !important; opacity: .85; }
.pied-credit { margin-top: 1rem; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: .95rem !important; opacity: .8; }
.pied-credit a { color: var(--miel); }

/* ═══════════════ pages légales ═══════════════ */

body.page-legale {
  background:
    linear-gradient(rgba(239, 227, 205, .93), rgba(233, 219, 194, .95)),
    url("../images/gen/textures/papier-carte.webp");
  background-size: 512px;
  color: #3c2d1d;
}

.contenu-legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
.contenu-legal h1 {
  font-family: "Amatic SC", cursive;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  color: var(--bordeaux);
  margin-bottom: .3rem;
}
.contenu-legal h2 {
  font-family: "Amatic SC", cursive;
  font-size: 1.9rem;
  color: #a3532c;
  margin: 2.2rem 0 .7rem;
}
.contenu-legal p, .contenu-legal li { line-height: 1.7; margin-bottom: .8rem; }
.contenu-legal ul { padding-left: 1.3rem; }
.contenu-legal a { color: var(--bordeaux); }
.contenu-legal code {
  background: rgba(122, 31, 46, .08);
  border: 1px solid rgba(122, 31, 46, .2);
  border-radius: 5px;
  padding: .05rem .35rem;
  font-size: .88em;
}

.legal-date { font-style: italic; color: #7a5f42; margin-bottom: 1.6rem; }
.legal-note { font-size: .9rem; font-style: italic; color: #7a5f42; }

.legal-resume {
  background: #fbf4e6;
  border: 1px solid #d8c6a8;
  border-left: 5px solid var(--bordeaux);
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 8px 24px rgba(80, 55, 25, .15);
  margin-bottom: 1rem;
}
.legal-resume p { margin: 0; }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  background: #fbf4e6;
  border: 1px solid #d8c6a8;
  border-radius: 8px;
  overflow: hidden;
  font-size: .92rem;
}
.legal-table th, .legal-table td { padding: .6rem .9rem; text-align: left; border-bottom: 1px solid #e4d5b8; }
.legal-table th { font-family: "Amatic SC", cursive; font-size: 1.25rem; color: var(--bordeaux); background: #f4ecdb; }
.legal-table tr:last-child td { border-bottom: none; }

.legal-retour { margin-top: 2.6rem; }

body.page-legale .pied { background: transparent; border-top: 1px solid #d8c6a8; }
body.page-legale .pied p, body.page-legale .pied a { color: #5a4530; }

/* respect du choix « réduire les animations » */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
