/* ==========================================================================
   MAISON OMBELLE — restaurant fictif, site exemple réalisé par Luden
   Direction : salle vert sapin, lumière de laiton, nappes ivoire.
   ========================================================================== */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/cormorant-garamond.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 600; font-display: swap; src: url("fonts/cormorant-garamond-italique.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("fonts/jost.woff2") format("woff2"); }

:root {
  --nuit: #10130f;        /* presque noir, teinté de vert */
  --sapin: #1b2a21;       /* murs de la salle */
  --sapin-2: #26392c;     /* surfaces sur fond sapin */
  --ivoire: #f3ece0;      /* nappes */
  --lin: #e7ddcc;         /* fond secondaire */
  --laiton: #b98f57;      /* luminaires */
  --laiton-clair: #d9bb8a;
  --sauge: #b4c0a2;        /* vert sauge, cartes des menus */
  --encre: #241f19;       /* texte sur ivoire */
  --taupe: #6e665a;       /* texte secondaire */

  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Jost", Futura, "Century Gothic", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Barre de défilement : seule la barre reste visible, sans rail ni flèches (voir le script) */
@media (pointer: fine) {
  html { scrollbar-width: none; }
  html::-webkit-scrollbar { display: none; }
}
.barre-defilement { position: fixed; z-index: 9990; top: 0; right: 3px; width: 6px; border-radius: 999px; background: #b98f57; box-shadow: 0 0 0 1.5px rgba(16, 19, 15, .3); opacity: .8; cursor: grab; transition: opacity .25s, width .2s, right .2s; }
.barre-defilement:hover, .barre-defilement.tenue { opacity: 1; width: 9px; right: 2px; }
.barre-defilement.tenue { cursor: grabbing; }
.barre-defilement[hidden] { display: none; }
/* Pendant le glissement : pas de sélection de texte ; sur les sites à curseur personnalisé, seul ce curseur reste affiché */
html.defilement-en-cours, html.defilement-en-cours * { user-select: none; -webkit-user-select: none; }
body.has-cursor .barre-defilement, body.avec-sphere .barre-defilement { cursor: none; }
/* Zones qui défilent à l'intérieur de la page : barre fine aux couleurs du site */
* { scrollbar-width: thin; scrollbar-color: #b98f57 transparent; }
body { margin: 0; background: var(--ivoire); color: var(--encre); font: 400 1.0625rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--laiton); outline-offset: 3px; }
::selection { background: var(--laiton); color: var(--nuit); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.label { font: 500 .78rem/1.4 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--laiton); margin: 0 0 22px; }
.ombelle { width: 34px; height: 34px; color: var(--laiton); }
section[id] { scroll-margin-top: 80px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 .8rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  padding: 17px 28px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn-plein { background: var(--laiton); border-color: var(--laiton); color: var(--nuit); }
.btn-plein:hover { background: var(--laiton-clair); border-color: var(--laiton-clair); }
.btn-ligne:hover { background: var(--ivoire); color: var(--nuit); border-color: var(--ivoire); }
.btn-sombre { background: var(--sapin); border-color: var(--sapin); color: var(--ivoire); }
.btn-sombre:hover { background: var(--nuit); border-color: var(--nuit); }

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--ivoire);
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .45s var(--ease), box-shadow .45s;
}
.entete.solide { background: rgba(16, 19, 15, .94); box-shadow: 0 1px 0 rgba(185, 143, 87, .25); }
.entete-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 84px; transition: height .45s var(--ease); }
.entete.solide .entete-inner { height: 68px; }
.menu { display: flex; gap: 30px; }
.menu a { font: 500 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: 8px 0; position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--laiton); transition: right .4s var(--ease); }
.menu a:hover::after { right: 0; }
.marque { text-decoration: none; text-align: center; line-height: 1; }
.marque small { display: block; font: 500 .62rem/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; padding-left: .5em; margin-bottom: 4px; }
.marque span { font: italic 500 2rem/1 var(--serif); }
.entete-droite { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.entete .btn { padding: 13px 22px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 1px; background: currentColor; margin: 6px 0; transition: transform .4s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-mobile {
  position: fixed; inset: 0; z-index: 40; background: var(--sapin); color: var(--ivoire);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; text-align: center;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.menu-mobile.ouvert { opacity: 1; visibility: visible; }
.menu-mobile a { font: italic 500 2.6rem/1.2 var(--serif); text-decoration: none; }
.menu-mobile .btn { margin-top: 18px; font-family: var(--sans); font-style: normal; font-size: .8rem; }

@media (max-width: 860px) {
  .menu, .entete-droite .btn { display: none; }
  .burger { display: block; }
  .entete-inner { grid-template-columns: 44px 1fr 44px; }
}

/* ---------- Accueil vidéo ---------- */
.accueil { position: relative; min-height: min(100svh, 960px); display: grid; place-items: center; color: var(--ivoire); text-align: center; overflow: hidden; background: var(--nuit); }
.accueil video, .accueil .affiche { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.accueil::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 19, 15, .55) 0%, rgba(16, 19, 15, .35) 40%, rgba(16, 19, 15, .8) 100%); }
.accueil-contenu { position: relative; z-index: 2; padding: 140px 20px 110px; display: grid; justify-items: center; }
.accueil .surtitre { font: 500 .8rem/1 var(--sans); letter-spacing: .6em; text-transform: uppercase; padding-left: .6em; margin: 0 0 10px; }
.accueil h1 { font: italic 500 clamp(5rem, 15vw, 11.5rem)/.85 var(--serif); letter-spacing: -.01em; margin-bottom: 26px; }
.accueil .ombelle { width: 42px; height: 42px; margin-bottom: 20px; }
.accueil .sous-titre { font: 400 .86rem/1.6 var(--sans); letter-spacing: .3em; text-transform: uppercase; margin: 0 0 40px; opacity: .9; }
.accueil-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.defiler { position: absolute; z-index: 2; left: 50%; bottom: 28px; width: 1px; height: 56px; background: rgba(243, 236, 224, .3); overflow: hidden; }
.defiler::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--ivoire); }

/* ---------- Introduction ---------- */
.intro { padding-block: clamp(96px, 13vw, 170px); text-align: center; }
.intro .ombelle { margin: 0 auto 30px; }
.intro p { font: 400 clamp(1.7rem, 3.4vw, 2.7rem)/1.3 var(--serif); max-width: 30ch; margin-inline: auto; }
.intro em { color: var(--laiton); }

/* ---------- La maison ---------- */
.maison { padding-bottom: clamp(96px, 12vw, 160px); }
.maison-grille { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.maison-photos { position: relative; padding-bottom: 14%; }
.maison-photos .salle { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.maison-photos figure { position: absolute; right: -6%; bottom: 0; width: 40%; margin: 0; background: var(--ivoire); padding: 10px 10px 0; }
.maison-photos figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.maison-photos figcaption { font: italic 400 1rem/1.3 var(--serif); padding: 10px 2px 12px; color: var(--taupe); }
.maison h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); margin-bottom: 26px; }
.maison h2 em { color: var(--laiton); }
.maison-texte p { color: #3b342b; max-width: 46ch; }
.citation { margin: 34px 0 0; padding-left: 22px; border-left: 1px solid var(--laiton); font: italic 400 1.5rem/1.35 var(--serif); }
.citation cite { display: block; margin-top: 8px; font: 500 .74rem/1 var(--sans); font-style: normal; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); }
.reperes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(72px, 9vw, 120px); border-top: 1px solid rgba(36, 31, 25, .18); }
.repere { padding: 30px 28px 0 0; }
.repere + .repere { padding-left: 28px; border-left: 1px solid rgba(36, 31, 25, .18); }
.repere strong { display: block; font: italic 500 clamp(2.2rem, 3.6vw, 3rem)/1 var(--serif); color: var(--laiton); margin-bottom: 12px; }
.repere p { margin: 0; color: #3b342b; font-size: 1rem; }
@media (max-width: 900px) {
  .maison-grille { grid-template-columns: 1fr; }
  .maison-photos figure { right: 0; }
  .reperes { grid-template-columns: 1fr; }
  .repere, .repere + .repere { padding: 24px 0; border-left: 0; border-bottom: 1px solid rgba(36, 31, 25, .18); }
}

/* ---------- La carte ---------- */
.carte { background: var(--sapin); color: var(--ivoire); padding-block: clamp(96px, 12vw, 160px); }
.carte-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 56px; }
.carte h2 { font-size: clamp(2.8rem, 6vw, 5rem); }
.carte h2 em { color: var(--laiton-clair); }
.carte-tete p { max-width: 40ch; margin: 0; opacity: .8; }
.assiettes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 72px; }
.assiettes figure { margin: 0; overflow: hidden; }
.assiettes img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.assiettes figure:hover img { transform: scale(1.04); }
.assiettes figure:nth-child(2) { margin-top: 48px; }
.assiettes figcaption { font: italic 400 1.1rem/1.3 var(--serif); padding-top: 12px; opacity: .85; }
@media (max-width: 700px) { .assiettes { grid-template-columns: 1fr 1fr; } .assiettes figure:nth-child(2) { margin-top: 0; } .assiettes figure:nth-child(3) { display: none; } }

.onglets { display: flex; gap: 6px; border-bottom: 1px solid rgba(243, 236, 224, .2); margin-bottom: 48px; }
.onglets button {
  font: 500 .8rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: inherit; opacity: .6;
  background: none; border: 0; padding: 18px 20px; cursor: pointer; position: relative;
}
.onglets button::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: -1px; height: 2px; background: var(--laiton); transform: scaleX(0); transition: transform .4s var(--ease); }
.onglets button[aria-selected="true"] { opacity: 1; }
.onglets button[aria-selected="true"]::after { transform: scaleX(1); }
.panneau { animation: apparaitre .5s var(--ease); }
@keyframes apparaitre { from { opacity: 0; transform: translateY(10px); } }

.menus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.menu-carte { background: var(--sauge); color: var(--encre); border: 0; border-top: 3px solid var(--laiton); padding: 36px 30px; display: flex; flex-direction: column; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .6); }
.menu-carte.phare { background: var(--ivoire); color: var(--encre); border-color: var(--ivoire); border-top-color: var(--laiton); }
.menu-carte h3 { font: italic 500 2.2rem/1 var(--serif); margin-bottom: 6px; }
.menu-carte .prix { font: 400 2.6rem/1 var(--serif); color: var(--sapin); margin: 18px 0 4px; font-variant-numeric: lining-nums; }
.menu-carte.phare .prix { color: var(--laiton); }
.menu-carte .quand { font-size: .92rem; opacity: .8; margin: 0; }
.menu-carte ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; flex: 1; }
.menu-carte li { font: italic 400 1.15rem/1.35 var(--serif); padding-bottom: 12px; border-bottom: 1px solid rgba(36, 31, 25, .14); }
.menu-carte.phare li { border-color: rgba(36, 31, 25, .12); }
.menu-carte .accord { margin: 24px 0 0; font-size: .9rem; opacity: .8; }
.mention { margin-top: 36px; font-size: .9rem; opacity: .7; }
@media (max-width: 900px) { .menus { grid-template-columns: 1fr; } }

.a-la-carte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.a-la-carte h3 { font: 500 .8rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--laiton-clair); margin-bottom: 22px; }
.plat { padding: 16px 0; border-bottom: 1px solid rgba(243, 236, 224, .12); }
.plat-tete { display: flex; align-items: baseline; gap: 10px; }
.plat-nom { font: 500 1.35rem/1.2 var(--serif); }
.plat-tete::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted rgba(243, 236, 224, .35); transform: translateY(-4px); }
.plat-prix { order: 2; font: 400 1.25rem/1 var(--serif); color: var(--laiton-clair); font-variant-numeric: lining-nums; }
.plat p { margin: 6px 0 0; font-size: .92rem; opacity: .72; }
@media (max-width: 900px) { .a-la-carte { grid-template-columns: 1fr; } }

/* ---------- Citation pleine largeur ---------- */
.respiration { position: relative; min-height: clamp(360px, 55vw, 620px); display: grid; place-items: center; text-align: center; color: var(--ivoire); overflow: hidden; }
.respiration img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.respiration::after { content: ""; position: absolute; inset: 0; background: rgba(16, 19, 15, .55); }
.respiration blockquote { position: relative; z-index: 2; margin: 0; padding: 0 16px; font: italic 400 clamp(1.55rem, 5.6vw, 3.8rem)/1.15 var(--serif); white-space: nowrap; }
.respiration cite { display: block; margin-top: 18px; font: 500 .76rem/1 var(--sans); font-style: normal; letter-spacing: .3em; text-transform: uppercase; color: var(--laiton-clair); }

/* ---------- Infos, accès, réservation ---------- */
.infos { padding-block: clamp(96px, 12vw, 160px); }
.infos-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.infos h2 { font-size: clamp(2.6rem, 5vw, 4rem); margin-bottom: 36px; }
.infos h2 em { color: var(--laiton); }
.bloc { margin-bottom: 36px; }
.bloc h3 { font: 500 .78rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--laiton); margin-bottom: 14px; }
.horaires { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.horaires th, .horaires td { text-align: left; padding: 10px 0; border-bottom: 1px solid rgba(36, 31, 25, .14); font-weight: 400; vertical-align: top; }
.horaires th { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; width: 42%; }
.horaires .ferme td { color: var(--taupe); font-style: italic; }
.adresse { font: 500 1.5rem/1.3 var(--serif); margin: 0 0 6px; }
.acces { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.acces li { padding-left: 22px; position: relative; color: #3b342b; }
.acces li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--laiton); }
.telephone { font: 500 1.6rem/1 var(--serif); text-decoration: none; border-bottom: 1px solid var(--laiton); }
.plan { margin-top: 18px; border: 1px solid rgba(36, 31, 25, .14); background: var(--lin); }
.plan svg { width: 100%; height: auto; }

  width: 100%; font: 400 1rem var(--sans); color: var(--encre); background: transparent;
  border: 0; border-bottom: 1px solid rgba(36, 31, 25, .3); padding: 10px 0; border-radius: 0;
}
@media (max-width: 900px) { .infos-grille { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.pied { background: var(--nuit); color: rgba(243, 236, 224, .82); padding-top: clamp(72px, 9vw, 110px); }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.pied .marque { text-align: left; color: var(--ivoire); display: inline-block; }
.pied .marque span { font-size: 2.6rem; }
.pied h3 { font: 500 .72rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--laiton); margin-bottom: 16px; }
.pied p { font-size: .95rem; margin: 0 0 6px; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--laiton-clair); }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(243, 236, 224, .12); font-size: .82rem; opacity: .7; }
@media (max-width: 900px) { .pied-grille { grid-template-columns: 1fr 1fr; } .pied-grille > :first-child { grid-column: 1 / -1; } }

/* ---------- Badge "site exemple" ---------- */
.badge-luden {
  position: fixed; z-index: 60;
  left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px;
  background: #210243; color: #fff; text-decoration: none; border-radius: 999px;
  font: 500 .78rem/1 var(--sans); letter-spacing: .02em; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
}
.badge-luden b { background: #cea8f0; color: #210243; border-radius: 999px; padding: 4px 8px; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  .accueil-contenu > * { animation: monter 1.1s var(--ease) both; }
  .accueil-contenu > :nth-child(2) { animation-delay: .12s; }
  .accueil-contenu > :nth-child(3) { animation-delay: .24s; }
  .accueil-contenu > :nth-child(4) { animation-delay: .36s; }
  .accueil-contenu > :nth-child(5) { animation-delay: .48s; }
  @keyframes monter { from { opacity: 0; transform: translateY(18px); } }
  .defiler::after { animation: defiler 2.2s var(--ease) infinite; }
  @keyframes defiler { to { top: 110%; } }
  .apparition { transition: opacity 1s var(--ease), transform 1s var(--ease); }
  .apparition.en-attente { opacity: 0; transform: translateY(26px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .accueil video { display: none; }
}

/* ---------- Module de réservation en ligne (démonstration) ---------- */
.resa { background: #fff; color: var(--encre); box-shadow: 0 34px 70px -40px rgba(16, 19, 15, .55); position: sticky; top: 90px; font-family: var(--sans); }
.resa-entete { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; background: var(--sapin); color: var(--ivoire); }
.resa-entete h3 { font: italic 500 1.9rem/1 var(--serif); margin-bottom: 4px; }
.resa-entete p { margin: 0; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.resa-entete .ombelle { width: 30px; height: 30px; color: var(--laiton-clair); }
.resa-etapes { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; counter-reset: e; border-bottom: 1px solid #ece4d6; }
.resa-etapes li { counter-increment: e; padding: 12px 6px; text-align: center; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #a39a8c; border-bottom: 2px solid transparent; }
.resa-etapes li::before { content: counter(e); display: block; font: 500 .95rem/1.2 var(--sans); }
.resa-etapes li.fait { color: var(--sapin); }
.resa-etapes li.actif { color: var(--encre); border-bottom-color: var(--laiton); }
.resa-resume { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 26px 0; }
.resa-resume:empty { display: none; }
.puce { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #f4efe6; border: 0; font: 500 .85rem/1 var(--sans); color: var(--encre); cursor: pointer; }
.puce:hover { background: #ebe2d2; }
.puce svg { width: 12px; height: 12px; opacity: .6; }
.resa-corps { padding: 22px 26px 26px; min-height: 330px; }
.resa-corps h4 { font: 500 1.05rem/1.3 var(--sans); margin: 0 0 16px; }
.resa-secours a { font-weight: 500; }
.resa-pied { margin: 0; padding: 12px 26px; border-top: 1px solid #ece4d6; font-size: .76rem; color: var(--taupe); text-align: center; }
.resa-retour { background: none; border: 0; padding: 0; margin-bottom: 14px; font: 500 .85rem var(--sans); color: var(--taupe); cursor: pointer; }
.resa-retour:hover { color: var(--encre); }
.resa-note { font-size: .85rem; color: var(--taupe); margin: 16px 0 0; }

.grille-choix { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.choix {
  padding: 14px 6px; border: 1px solid #ddd3c2; background: #fff; color: var(--encre); cursor: pointer;
  font: 500 1rem/1 var(--sans); transition: background .2s, border-color .2s, color .2s; font-variant-numeric: tabular-nums;
}
.choix:hover:not(:disabled) { border-color: var(--sapin); }
.choix[aria-pressed="true"] { background: var(--sapin); border-color: var(--sapin); color: var(--ivoire); }
.choix:disabled { color: #c3b9a8; background: #faf7f1; cursor: not-allowed; text-decoration: line-through; }
.choix small { display: block; margin-top: 4px; font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }

.calendrier-tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.calendrier-tete strong { font: 500 1.05rem var(--sans); text-transform: capitalize; }
.calendrier-tete button { width: 36px; height: 36px; border: 1px solid #ddd3c2; background: #fff; cursor: pointer; font-size: 1.1rem; color: var(--encre); }
.calendrier-tete button:disabled { opacity: .3; cursor: not-allowed; }
.calendrier { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.calendrier .jsem { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); padding: 6px 0; }
.calendrier .choix { padding: 10px 0; font-size: .92rem; }
.legende { display: flex; gap: 16px; margin-top: 12px; font-size: .78rem; color: var(--taupe); }

.service-titre { font: 500 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--laiton); margin: 6px 0 10px; }
.service-titre + .grille-choix { margin-bottom: 18px; }

.resa-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.resa-form .large { grid-column: 1 / -1; }
.resa-form label { display: block; font-size: .78rem; color: var(--taupe); margin-bottom: 6px; }
.resa-form input, .resa-form textarea { width: 100%; font: 400 1rem var(--sans); color: var(--encre); background: #faf7f1; border: 1px solid #ddd3c2; padding: 12px; border-radius: 0; }
.resa-form textarea { min-height: 70px; resize: vertical; }
.resa-form input:focus, .resa-form textarea:focus { outline: none; border-color: var(--sapin); background: #fff; }
.resa-form input[aria-invalid="true"] { border-color: #a33a2f; }
.resa-form .err { color: #a33a2f; font-size: .8rem; margin: 6px 0 0; }
.resa-form .case { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--taupe); }
.resa-form .case input { width: 18px; height: 18px; padding: 0; margin-top: 2px; accent-color: var(--sapin); }
.resa .btn { width: 100%; margin-top: 18px; }

.resa-ok { text-align: center; padding: 24px 6px 6px; }
.resa-ok .coche { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--sapin); color: var(--ivoire); display: grid; place-items: center; }
.resa-ok .coche svg { width: 30px; height: 30px; }
.resa-ok h4 { font: italic 500 2rem/1.1 var(--serif); margin-bottom: 10px; }
.resa-ok dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; text-align: left; max-width: 300px; margin: 18px auto; font-size: .95rem; }
.resa-ok dt { color: var(--taupe); }
.resa-ok dd { margin: 0; font-weight: 500; }
.resa-ok .demo { font-size: .8rem; color: var(--taupe); }

@media (max-width: 900px) { .resa { position: static; } }
@media (max-width: 460px) {
  .resa-corps, .resa-entete { padding-left: 18px; padding-right: 18px; }
  .resa-resume { padding-left: 18px; padding-right: 18px; }
  .grille-choix { grid-template-columns: repeat(3, 1fr); }
  .resa-form { grid-template-columns: 1fr; }
  .resa-etapes li { font-size: .62rem; letter-spacing: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .resa-corps > * { animation: apparaitre .35s var(--ease); }
}

/* ---------- Curseur sphère : un disque blanc qui inverse les couleurs du fond ---------- */
.sphere {
  position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none;
  width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference;
  transform: translate3d(-100px, -100px, 0);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .2s;
}
.sphere.survol { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
.sphere.dehors { opacity: 0; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body.avec-sphere, body.avec-sphere a, body.avec-sphere button, body.avec-sphere label, body.avec-sphere [role="tab"] { cursor: none; }
  body.avec-sphere input, body.avec-sphere textarea { cursor: text; }
}
.resa-pied small { display: block; margin-top: 4px; opacity: .8; }

/* Fondu de sortie vers le site Luden */
.voile-sortie { position: fixed; inset: 0; z-index: 10000; background: #210243; opacity: 0; pointer-events: none; transition: opacity .38s ease; }
.voile-sortie.visible { opacity: 1; }

/* Arrivée depuis un autre site de la démo : la page apparaît en fondu depuis la couleur de départ */
html.entree body::after { content: ""; position: fixed; inset: 0; z-index: 10001; background: var(--entree); pointer-events: none; animation: entree .45s ease-out .04s forwards; }
@keyframes entree { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { html.entree body::after { display: none; } }
