/* ==========================================================================
   Elle & Lui — Ergoline+  ·  feuille de style statique
   Palette : cream #F2EDE6 · gold #A07E5D · bronze #5C4632
   Typo : Cormorant Garamond (titres) · Jost (texte)
   ========================================================================== */

/* ---------- Fonts auto-hébergées (variables, subset latin) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("/assets/fonts/jost.woff2") format("woff2");
}

/* ---------- Palette ---------- */
:root {
  --radius: 0.5rem;
  --cream: oklch(0.965 0.012 75);
  --cream-dark: oklch(0.92 0.018 70);
  --gold: oklch(0.62 0.055 60);
  --gold-light: oklch(0.78 0.045 65);
  --bronze: oklch(0.36 0.04 50);

  --background: var(--cream);
  --foreground: var(--bronze);
  --card: oklch(0.985 0.006 75);
  --primary: var(--gold);
  --primary-foreground: oklch(0.99 0.005 75);
  --muted-foreground: oklch(0.5 0.03 55);
  --border: oklch(0.88 0.02 70);

  --font-display: "Cormorant Garamond", "Marcellus", serif;
  --font-sans: "Jost", "Inter", system-ui, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { border-color: var(--border); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--bronze);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Les blobs décoratifs débordent horizontalement : on les clippe via .page
   (PAS via body/html — overflow-x:hidden sur body casse le scroll du document). */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.12;
  margin: 0;
  color: var(--bronze);
}

/* ---------- Utilities ---------- */
.heading-display { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; }
.heading-script { font-family: var(--font-display); font-style: italic; font-weight: 400; letter-spacing: 0.02em; }
.container-prose { max-width: 72rem; margin-inline: auto; padding-inline: 1.25rem; }
.eyebrow {
  font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold); font-weight: 400; margin: 0 0 0.9rem;
}
.section { padding-block: 6rem; position: relative; }
.section--tint { background: color-mix(in oklab, var(--cream-dark) 30%, transparent); }
.section__head { max-width: 44rem; margin-bottom: 3rem; }
.lead { font-size: 1.05rem; color: color-mix(in oklab, var(--bronze) 85%, transparent); max-width: 42rem; }

/* Titres « display » = identité Elle & Lui : MAJUSCULES + interlettrage large (= heading-display du build) */
.display { text-transform: uppercase; letter-spacing: 0.16em; overflow-wrap: break-word; }
.display .heading-script { text-transform: none; letter-spacing: 0.02em; }
h1.display { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2.display { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
h3.display { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }

.btn-primary, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.875rem 1.75rem; font-size: 0.78rem; letter-spacing: 0.22em;
  text-transform: uppercase; border-radius: 9999px; border: 1px solid var(--gold);
  transition: background-color .25s, color .25s, border-color .25s; white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--primary-foreground); }
.btn-primary:hover { background: var(--bronze); border-color: var(--bronze); }
.btn-outline { background: transparent; color: var(--bronze); }
.btn-outline:hover { background: var(--gold); color: var(--primary-foreground); }
.btn-outline.on-dark { color: var(--cream); border-color: color-mix(in oklab, var(--cream) 70%, transparent); }
.btn-outline.on-dark:hover { background: var(--cream); color: var(--bronze); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.7rem; }
.btn svg, .btn-primary svg, .btn-outline svg { width: 1em; height: 1em; }

.blob-bg { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; pointer-events: none; z-index: 0; }

.price-row {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0.75rem;
  padding-block: 0.85rem;
  border-bottom: 1px dotted color-mix(in oklab, var(--gold) 45%, transparent);
}
.price-row__label { color: color-mix(in oklab, var(--bronze) 92%, transparent); }
.price-row__price { font-variant-numeric: tabular-nums; color: var(--gold); white-space: nowrap; font-weight: 400; }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 1rem;
  padding: 2rem;
}

/* ---------- Reveal on scroll (progressive enhancement) ----------
   Le contenu est visible par défaut. L'état masqué ne s'applique QUE si JS est
   actif (html.js, posé par un script inline) ET tant que l'élément n'est pas révélé.
   Un failsafe JS (main.js) révèle tout peu après le chargement : rien ne reste masqué. */
.reveal { transition: opacity .7s ease, transform .7s ease; }
html.js .reveal { opacity: 0; transform: translateY(22px); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
/* Failsafe : force TOUT visible instantanément (une transition sur élément hors écran
   peut rester bloquée à opacity:0 ; on garantit donc l'affichage, capture pleine page incluse). */
html.reveal-all .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Layout root ---------- */
.page { position: relative; min-height: 100vh; }
/* Calque décoratif (blobs) : clippé ici, SANS être un ancêtre du header sticky ni du scroll. */
.bg-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
main { position: relative; z-index: 10; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; transition: background-color .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in oklab, var(--cream) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; }
.site-header__logo img { height: 2.1rem; width: auto; }
.nav-desktop { display: none; align-items: center; gap: 2rem; }
.nav-desktop a {
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: color-mix(in oklab, var(--bronze) 80%, transparent); position: relative; padding-block: 0.25rem;
  transition: color .2s;
}
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0; background: var(--gold); transition: width .25s;
}
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--gold); }
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after { width: 100%; }
.nav-desktop a.nav-home svg { width: 1.15rem; height: 1.15rem; display: block; }
.header-cta { display: none; }
.btn-burger {
  display: inline-flex; background: transparent; border: 0; color: var(--bronze); padding: 0.4rem;
}
.btn-burger svg { width: 1.6rem; height: 1.6rem; }

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .header-cta { display: inline-flex; }
  .btn-burger { display: none; }
}

/* Mobile menu */
.nav-mobile {
  display: none; position: fixed; inset: 4.5rem 0 auto 0; z-index: 45;
  background: color-mix(in oklab, var(--cream) 95%, transparent); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); padding: 1.25rem;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: flex; align-items: center; gap: .6rem; padding: 0.9rem 0.25rem;
  font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: color-mix(in oklab, var(--bronze) 85%, transparent); border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
}
.nav-mobile a svg { width: 1.1rem; height: 1.1rem; }
.nav-mobile .btn-primary { margin-top: 1rem; width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, color-mix(in oklab, var(--bronze) 78%, transparent), color-mix(in oklab, var(--bronze) 22%, transparent) 55%, transparent);
}
.hero__content { position: relative; z-index: 2; color: var(--cream); padding-block: 4rem; }
.hero__content .eyebrow { color: var(--gold-light); }
.hero h1 { color: var(--cream); }
.hero p { color: color-mix(in oklab, var(--cream) 90%, transparent); max-width: 34rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem;
  padding: .45rem 1rem; border: 1px solid color-mix(in oklab, var(--cream) 45%, transparent);
  border-radius: 9999px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream);
}
.hero__badge svg { width: 1rem; height: 1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Hero texte (pages internes) */
.page-hero { padding-block: 5rem 2rem; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); }

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Centre cards */
.centre-card h3 { margin-bottom: .75rem; }
.centre-card .addr { color: var(--muted-foreground); margin: .25rem 0; }
.centre-card .tel-line { margin: .2rem 0; }
.centre-card .tel-line a { color: var(--gold); }
.centre-card .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

/* Univers cards (image) */
.univ-card { position: relative; overflow: hidden; border-radius: 1rem; display: block; border: 1px solid var(--border); }
.univ-card img { aspect-ratio: 1/1; object-fit: cover; width: 100%; transition: transform .5s; }
.univ-card:hover img { transform: scale(1.05); }
.univ-card__body {
  position: absolute; inset: auto 0 0 0; padding: 1.5rem;
  background: linear-gradient(to top, color-mix(in oklab, var(--bronze) 85%, transparent), transparent);
  color: var(--cream);
}
.univ-card__body h3 { color: var(--cream); margin-bottom: .35rem; }
.univ-card__body p { font-size: .9rem; color: color-mix(in oklab, var(--cream) 88%, transparent); margin: 0 0 .5rem; }
.univ-card__cta { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }

/* Atout (pourquoi) */
.atout { text-align: left; }
.atout__icon {
  width: 3rem; height: 3rem; border-radius: 9999px; border: 1px solid var(--gold);
  display: grid; place-items: center; color: var(--gold); margin-bottom: 1rem;
}
.atout__icon svg { width: 1.4rem; height: 1.4rem; }
.atout h3 { font-family: var(--font-sans); font-weight: 500; text-transform: none; letter-spacing: 0.02em; font-size: 1.02rem; margin-bottom: .5rem; }
.atout p { color: var(--muted-foreground); font-size: .95rem; }

/* Avis */
.avis-card { text-align: center; }
.avis-card .big { font-size: 3rem; font-family: var(--font-display); color: var(--gold); }
.avis-card .stars { color: var(--gold); letter-spacing: .15em; }
.avis-card figcaption { color: var(--muted-foreground); font-size: .85rem; text-transform: uppercase; letter-spacing: .2em; margin-top: .5rem; }

/* ---------- OpenStatus pill ---------- */
.openstatus { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted-foreground); margin: .5rem 0; }
.openstatus__dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--muted-foreground); flex: none; }
.openstatus.is-open .openstatus__dot { background: oklch(0.6 0.13 150); }

/* ---------- Tabs ---------- */
.tabs { display: inline-flex; gap: .35rem; padding: .35rem; background: color-mix(in oklab, var(--cream-dark) 50%, transparent); border-radius: 9999px; margin-bottom: 2rem; }
.tabs button {
  border: 0; background: transparent; padding: .6rem 1.4rem; border-radius: 9999px;
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-foreground); transition: all .2s;
}
.tabs button[aria-selected="true"] { background: var(--gold); color: var(--primary-foreground); }
.tabpanel[hidden] { display: none; }

/* ---------- Machines ---------- */
.machine-card { display: flex; flex-direction: column; }
.machine-card__img { background: color-mix(in oklab, var(--cream-dark) 40%, transparent); border-radius: .75rem; aspect-ratio: 4/3; display: grid; place-items: center; overflow: hidden; margin-bottom: 1rem; }
.machine-card__img img { max-height: 100%; object-fit: contain; }
.machine-card__img img.scale-125 { transform: scale(1.25); }
.machine-card h3 { font-size: 1.15rem; }
.machine-card .count { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.machine-card ul { list-style: none; padding: 0; margin: .75rem 0 0; }
.machine-card li { font-size: .9rem; color: var(--muted-foreground); padding: .2rem 0 .2rem 1rem; position: relative; }
.machine-card li::before { content: "·"; position: absolute; left: .2rem; color: var(--gold); }
.badge-new { display: inline-block; font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--primary-foreground); background: var(--gold); border-radius: 9999px; padding: .2rem .7rem; margin-bottom: .5rem; }

/* ---------- Tarifs table ---------- */
.price-table-wrap { overflow-x: auto; }
table.prices { width: 100%; border-collapse: collapse; min-width: 540px; }
table.prices th, table.prices td { text-align: right; padding: .85rem 1rem; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
table.prices th:first-child, table.prices td:first-child { text-align: left; }
table.prices thead th { font-family: var(--font-sans); font-weight: 400; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted-foreground); }
table.prices tbody td:first-child { color: var(--bronze); }
table.prices tbody td:not(:first-child) { color: var(--gold); }
table.prices tr.highlight td { background: color-mix(in oklab, var(--gold-light) 22%, transparent); }
.price-hint { font-size: .8rem; color: var(--muted-foreground); margin: .5rem 0 0; }

/* ---------- Accordéon soins ---------- */
.quicknav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.quicknav a { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--border); border-radius: 9999px; padding: .45rem 1rem; transition: all .2s; }
.quicknav a:hover { background: var(--gold); color: var(--primary-foreground); border-color: var(--gold); }
.accordion__item { border: 1px solid var(--border); border-radius: 1rem; background: var(--card); margin-bottom: 1rem; overflow: hidden; scroll-margin-top: 6rem; }
.accordion__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.75rem; background: transparent; border: 0; text-align: left; }
.accordion__head { display: block; text-align: left; }
.accordion__head .eyebrow { margin: 0 0 .3rem; }
.accordion__btn h2 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
.accordion__btn .chevron { width: 1.4rem; height: 1.4rem; transition: transform .3s; color: var(--gold); flex: none; }
.accordion__item.open .chevron { transform: rotate(180deg); }
.accordion__panel { padding: 0 1.75rem; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.accordion__item.open .accordion__panel { padding-bottom: 1.5rem; max-height: 4000px; }
.accordion__note { color: var(--muted-foreground); font-size: .9rem; margin: 0 0 .5rem; }

/* ---------- Bandeau / info ---------- */
.info-banner { display: flex; align-items: flex-start; gap: .75rem; background: color-mix(in oklab, var(--cream-dark) 40%, transparent); border: 1px solid var(--border); border-radius: 1rem; padding: 1.25rem 1.5rem; color: var(--muted-foreground); }
.info-banner svg { width: 1.25rem; height: 1.25rem; color: var(--gold); flex: none; margin-top: .15rem; }

/* ---------- Maps ---------- */
.map-embed { border: 0; width: 100%; height: 280px; border-radius: 1rem; }

/* ---------- CTA final / dark card ---------- */
.cta-dark { background: linear-gradient(135deg, var(--bronze), color-mix(in oklab, var(--bronze) 70%, black)); color: var(--cream); border-radius: 1.5rem; padding: 3.5rem 2rem; text-align: center; }
.cta-dark h2, .cta-dark .eyebrow { color: var(--cream); }
.cta-dark .eyebrow { color: var(--gold-light); }
.cta-tels { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .cta-tels { grid-template-columns: repeat(3, 1fr); } }
.cta-tel { border: 1px solid color-mix(in oklab, var(--cream) 30%, transparent); border-radius: 1rem; padding: 1.5rem; }
.cta-tel span { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: .5rem; }
.cta-tel a { font-size: 1.4rem; font-family: var(--font-display); color: var(--cream); }

/* ---------- Formulaire ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.field { display: block; margin-bottom: 1.25rem; }
.field label { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--input, var(--border)); border-radius: .6rem;
  background: var(--cream); color: var(--bronze); font-family: inherit; font-size: 1rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--muted-foreground); margin-top: .75rem; }
.form-status { margin-top: 1rem; padding: 1rem 1.25rem; border-radius: .75rem; font-size: .95rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: color-mix(in oklab, oklch(0.6 0.13 150) 18%, transparent); color: oklch(0.4 0.1 150); }
.form-status.err { background: color-mix(in oklab, var(--destructive, oklch(0.55 0.2 25)) 15%, transparent); color: oklch(0.45 0.18 25); }

.coord-block { margin-bottom: 1.75rem; }
.coord-block h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.coord-block .addr { color: var(--muted-foreground); }
.coord-block a { color: var(--gold); }
.social-links { display: flex; gap: 1rem; margin-top: .75rem; }
.social-links a { width: 2.5rem; height: 2.5rem; border: 1px solid var(--border); border-radius: 9999px; display: grid; place-items: center; color: var(--bronze); transition: all .2s; }
.social-links a:hover { background: var(--gold); color: var(--primary-foreground); border-color: var(--gold); }
.social-links svg { width: 1.2rem; height: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 6rem; border-top: 1px solid var(--border); background: color-mix(in oklab, var(--cream-dark) 40%, transparent); }
.site-footer__grid { display: grid; gap: 2.5rem; padding-block: 4rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 { font-family: var(--font-sans); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 1rem; }
.site-footer img.flogo { height: 6rem; width: auto; margin-bottom: 1rem; }
.site-footer p, .site-footer a { color: var(--muted-foreground); font-size: .9rem; }
.site-footer .fcol a:hover { color: var(--gold); }
.site-footer .fline { margin: .35rem 0; }
.site-footer__bottom { border-top: 1px solid var(--border); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; font-size: .82rem; color: var(--muted-foreground); }
.site-footer__bottom a:hover { color: var(--gold); }

/* ---------- Mentions / prose ---------- */
.prose h2 { font-size: 1.4rem; margin: 2rem 0 .75rem; }
.prose p { color: color-mix(in oklab, var(--bronze) 88%, transparent); margin: .5rem 0; }

/* ---------- ScrollTop ---------- */
.scrolltop { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; width: 2.8rem; height: 2.8rem; border-radius: 9999px; background: var(--gold); color: var(--primary-foreground); border: 0; display: none; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.scrolltop.show { display: grid; }
.scrolltop svg { width: 1.2rem; height: 1.2rem; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 1.25rem; }
.notfound h1 { font-size: 5rem; color: var(--gold); }

/* ---------- Utilities sup ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }

/* ---------- Reserve modal ---------- */
.reserve-backdrop { position: fixed; inset: 0; z-index: 60; background: color-mix(in oklab, var(--bronze) 55%, transparent); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 1.25rem; }
.reserve-backdrop[hidden] { display: none; }
.reserve-dialog { position: relative; background: var(--cream); border: 1px solid var(--border); border-radius: 1.25rem; max-width: 30rem; width: 100%; padding: 2.5rem 2rem; }
.reserve-close { position: absolute; top: 1rem; right: 1rem; background: transparent; border: 0; color: var(--bronze); }
.reserve-close svg { width: 1.4rem; height: 1.4rem; }
.reserve-options { display: grid; gap: .85rem; margin-top: 1.5rem; }
.reserve-opt { display: block; border: 1px solid var(--border); border-radius: .85rem; padding: 1rem 1.25rem; transition: border-color .2s, background-color .2s; }
.reserve-opt:hover { border-color: var(--gold); background: color-mix(in oklab, var(--gold-light) 14%, transparent); }
.reserve-opt strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.reserve-opt span { font-size: .85rem; color: var(--muted-foreground); }
.reserve-opt span a { color: var(--gold); }

/* ---------- Listes / horaires / paiements ---------- */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: .55rem 0 .55rem 1.75rem; color: color-mix(in oklab, var(--bronze) 90%, transparent); border-bottom: 1px dotted color-mix(in oklab, var(--gold) 35%, transparent); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .95rem; width: .85rem; height: .5rem; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

.hours-table { margin: .5rem 0; }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dotted color-mix(in oklab, var(--gold) 35%, transparent); font-size: .92rem; }
.hours-row span:first-child { color: var(--muted-foreground); }
.hours-row span:last-child { color: var(--bronze); font-variant-numeric: tabular-nums; }

.pay-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.pay-row span { border: 1px solid var(--border); border-radius: 9999px; padding: .6rem 1.4rem; font-size: .85rem; letter-spacing: .08em; color: var(--bronze); background: var(--card); }


/* ==========================================================================
   Widget accessibilité (bouton + panneau) — ajouté le 2026-07-14.
   Couleurs calées sur la charte centre-elleetlui (or = primaire, bronze = hover).
   La flèche « remonter en haut » existante (.scrolltop) est conservée : on la
   remonte simplement au-dessus du bouton accessibilité (pas de 2e flèche).
   ========================================================================== */
:root {
  --a11y-btn-bg: var(--gold);
  --a11y-btn-bg-hover: var(--bronze);
  --a11y-scrolltop-bg: var(--gold);
  --ink: var(--bronze);
}

/* Flèche existante empilée au-dessus du bouton accessibilité */
.scrolltop { bottom: 5rem; }

.a11y-btn {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 60;
  width: 3rem; height: 3rem; border-radius: 9999px; border: 0;
  background: var(--a11y-btn-bg, var(--navy, #21386E)); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -10px rgba(0,0,0,.5);
  cursor: pointer; transition: background-color .2s, filter .2s;
}
.a11y-btn:hover { background: var(--a11y-btn-bg-hover, var(--ink, #1B2A4E)); }
.a11y-btn:focus-visible { outline: 3px solid var(--a11y-scrolltop-bg, #b45309); outline-offset: 2px; }

.a11y-panel {
  position: fixed; bottom: 5rem; right: 1.25rem; z-index: 61;
  width: 16rem; max-width: calc(100vw - 2.5rem);
  background: var(--a11y-panel-bg, #fff); color: var(--ink, #1B2A4E);
  border: 1px solid var(--line, var(--border, #E3E1D9));
  border-radius: 0.9rem; padding: 1rem 1.1rem;
  box-shadow: 0 16px 40px -16px rgba(0,0,0,.45);
  font-family: var(--font-sans, system-ui, sans-serif);
  display: none;
}
.a11y-panel.open { display: block; }
.a11y-panel h2 { font-family: var(--font-display, inherit); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.7rem; }
.a11y-panel label {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0;
  color: var(--ink, #1B2A4E); cursor: pointer; font-size: .95rem;
}
.a11y-panel input[type="checkbox"] { width: 1.05rem; height: 1.05rem; accent-color: var(--a11y-btn-bg, var(--navy, #21386E)); flex: 0 0 auto; }
.a11y-reset {
  width: 100%; margin-top: .8rem; padding: .55rem; border-radius: 9999px;
  border: 1px solid var(--line, var(--border, #E3E1D9)); background: transparent;
  color: var(--ink, #1B2A4E); font: inherit; font-size: .9rem; font-weight: 600;
  cursor: pointer; transition: background-color .2s;
}
.a11y-reset:hover { background: rgba(0,0,0,.05); }

/* ---- Agrandir le texte ---- */
html.a11y-larger body { font-size: 20px; }
html.a11y-larger h1 { font-size: 1.1em; }

/* ---- Espacer le texte (confort de lecture dys/TDAH) ---- */
html.a11y-spacing body { line-height: 1.9; letter-spacing: .02em; word-spacing: .08em; }
html.a11y-spacing p, html.a11y-spacing li { margin-bottom: .55rem; }

/* ---- Souligner les liens ---- */
html.a11y-links a:not(.btn) { text-decoration: underline; text-underline-offset: .18em; }

/* ---- Réduire les animations ---- */
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after {
  animation-duration: .001ms !important; animation-iteration-count: 1 !important;
  transition-duration: .001ms !important; scroll-behavior: auto !important;
}

/* ---- Police dyslexie (OpenDyslexic) — chargée uniquement si l'option est activée ---- */
@font-face { font-family: "OpenDyslexic"; src: url("/fonts/opendyslexic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "OpenDyslexic"; src: url("/fonts/opendyslexic-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
html.a11y-dys body, html.a11y-dys input, html.a11y-dys textarea, html.a11y-dys button, html.a11y-dys select {
  font-family: "OpenDyslexic", var(--font-sans, system-ui, sans-serif) !important;
}
html.a11y-dys h1, html.a11y-dys h2, html.a11y-dys h3, html.a11y-dys h4 {
  font-family: "OpenDyslexic", var(--font-display, var(--font-sans, system-ui, sans-serif)) !important;
  letter-spacing: 0;
}
