/* =============================================================================
   BEACH MAMA MARRAKECH — feuille de style
   Direction : « la carte de plage ». On reprend l'identité imprimée des cartes Beach Mama :
   bleu lagon, encre cobalt, motif berbère en frise, titres condensés capitales, intertitres manuscrits.
   Les photos portent l'émotion ; la frise lagon est le seul ornement récurrent.
   Thème unique clair assumé (identité de marque), couleurs toutes explicites.
   ============================================================================= */

/* Polices auto-hébergées (SIL Open Font License, voir assets/fonts/LICENSE-*.txt) */
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/albert-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/albert-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/albert-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/albert-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/albert-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Mrs Saint Delafield"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/mrs-saint-delafield-latin-400-normal.woff2") format("woff2"); }

/* Layout : pleines largeurs photo alternées avec des colonnes de texte de 64ch, frises lagon entre les chapitres. */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --shell: #f5f0e8;      /* sable très clair, surfaces secondaires */
  --sand: #e8dcc8;
  --lagoon: #83d3ea;     /* bleu des cartes imprimées */
  --lagoon-soft: #e3f5fa;
  --cobalt: #1d56a6;     /* encre des cartes */
  --cobalt-deep: #133f7d;
  --night: #0c2547;
  --ink: #14233a;
  --muted: #4c5c72;
  --line: #d6dee8;
  --warn-bg: #fff4d6;
  --warn-ink: #5a4300;
  --wa: #25d366;
  --wa-ink: #05361b;
  --focus: #f2a516;
  --preview: #8a1c4a;

  --f-display: "Bebas Neue", "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-script: "Mrs Saint Delafield", "Brush Script MT", "Segoe Script", cursive;
  --f-body: "Albert Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 1.9rem);
  --step-3: clamp(2.3rem, 1.6rem + 3vw, 3.7rem);
  --step-4: clamp(2.9rem, 1.8rem + 5vw, 5.8rem);

  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --wrap: 76rem;
  --measure: 64ch;
  --radius: 4px;
  --header-h: 4.25rem;
  --pattern: url("../brand/pattern-tile.svg");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--cobalt); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--cobalt-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--night); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius); }
.skip:focus { top: 1rem; color: #fff; }

h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--f-display); font-weight: 400; letter-spacing: 0.01em; line-height: 0.95; color: var(--cobalt-deep); }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 650; line-height: 1.3; color: var(--ink); }
p { margin: 0; }
.kicker {
  display: block;
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(2.4rem, 1.9rem + 2vw, 3.4rem);
  line-height: 1;
  color: var(--cobalt);
  margin-bottom: -0.15em;
  letter-spacing: 0;
  text-transform: none;
}
.eyebrow { font-size: var(--step--1); font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cobalt); }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink); max-width: 56ch; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.num { font-variant-numeric: tabular-nums; }

/* ---- structure ---- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.section--shell { background: var(--shell); }
.section--lagoon { background: var(--lagoon-soft); }
.section--night { background: var(--night); color: #e9f2fb; }
.section--night h2, .section--night h3 { color: #fff; }
.section--night .kicker { color: var(--lagoon); }
.section--night a:not(.btn) { color: var(--lagoon); }
.section-head { display: grid; gap: 0.9rem; max-width: var(--measure); margin-bottom: clamp(1.8rem, 1.4rem + 1.5vw, 2.8rem); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.prose { max-width: var(--measure); display: grid; gap: 1rem; }
.prose h3 { margin-top: 0.8rem; }
.prose ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; }
.stack { display: grid; gap: 1rem; }
.band { height: 22px; background-image: var(--pattern); background-repeat: repeat-x; background-size: auto 22px; background-position: center; }
.band--thin { height: 14px; background-size: auto 14px; }
.band--on-night { opacity: 0.9; }

/* ---- boutons ---- */
.btn {
  --b-bg: var(--cobalt); --b-fg: #fff; --b-bd: var(--cobalt);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3rem; padding: 0.7rem 1.35rem;
  font: 650 1rem/1.2 var(--f-body); letter-spacing: 0.01em;
  color: var(--b-fg); background: var(--b-bg); border: 2px solid var(--b-bd); border-radius: 999px;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { --b-bg: var(--cobalt-deep); --b-bd: var(--cobalt-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--cobalt); --b-bd: currentColor; }
.btn--ghost:hover { --b-bg: var(--cobalt); --b-fg: #fff; --b-bd: var(--cobalt); }
.btn--light { --b-bg: #fff; --b-fg: var(--cobalt-deep); --b-bd: #fff; }
.btn--light:hover { --b-bg: var(--lagoon); --b-fg: var(--night); --b-bd: var(--lagoon); color: var(--night); }
.btn--outline-light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255,255,255,.85); }
.btn--outline-light:hover { --b-bg: #fff; --b-fg: var(--cobalt-deep); --b-bd: #fff; color: var(--cobalt-deep); }
.btn--wa { --b-bg: var(--wa); --b-fg: var(--wa-ink); --b-bd: var(--wa); }
.btn--wa:hover { --b-bg: #1fbe5b; --b-bd: #1fbe5b; color: var(--wa-ink); }
.btn--sm { min-height: 2.5rem; padding: 0.45rem 1rem; font-size: 0.95rem; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.link-arrow { font-weight: 650; text-decoration: none; display: inline-flex; gap: 0.4rem; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---- bandeau prévisualisation ---- */
.preview-bar { background: var(--preview); color: #fff; font-size: 0.82rem; line-height: 1.35; padding: 0.4rem var(--gutter); text-align: center; }
.preview-bar strong { letter-spacing: 0.06em; text-transform: uppercase; }
.preview-flag { display: inline-block; margin: 0 0 0.6rem; padding: 0.15rem 0.55rem; background: var(--preview); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 2px; }

/* ---- en-tête ---- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--cobalt); text-decoration: none; flex: none; }
.brand .emblem { width: 2.4rem; height: 2.4rem; }
.brand .wordmark { width: 8.6rem; height: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 0.25rem; }
.nav > ul { display: flex; gap: 0.15rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a, .nav .nav-btn {
  white-space: nowrap; display: inline-flex; align-items: center; gap: 0.3rem; min-height: 2.75rem; padding: 0.4rem 0.75rem;
  color: var(--ink); font: 600 0.98rem/1.2 var(--f-body); text-decoration: none; background: none; border: 0; border-radius: var(--radius); cursor: pointer;
}
/* libellés de navigation en capitales : liens principaux, menus déroulants et menu mobile.
   Transformation visuelle uniquement (texte source, accents, URL et noms accessibles inchangés). */
.nav ul a, .nav .nav-btn { text-transform: uppercase; }
.nav > ul > li > a, .nav > ul > li > .nav-btn { letter-spacing: 0.02em; }
@media (min-width: 75.0625rem) { .nav > ul > li > a, .nav > ul > li > .nav-btn { font-size: 0.92rem; padding-inline: 0.55rem; } }
.nav a:hover, .nav .nav-btn:hover, .nav a[aria-current="page"] { color: var(--cobalt); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--lagoon); }
.has-sub { position: relative; }
.nav-btn::after { content: ""; width: 0.45em; height: 0.45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 0.15rem; }
.sub {
  position: absolute; top: calc(100% + 0.35rem); left: -0.5rem; min-width: 17rem; list-style: none; margin: 0; padding: 0.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 14px 40px rgba(12,37,71,.14);
}
.sub a { display: flex; width: 100%; padding: 0.55rem 0.75rem; }
.sub a:hover { background: var(--lagoon-soft); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-left: 0.4rem; }
.lang a, .lang span { min-height: 2.25rem; padding: 0.3rem 0.65rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-decoration: none; display: inline-flex; align-items: center; }
.lang span[aria-current] { background: var(--cobalt); color: #fff; }
.lang a { color: var(--ink); }
.header-cta { margin-left: 0.5rem; }
.menu-toggle { display: none; margin-left: auto; min-height: 2.75rem; min-width: 2.75rem; padding: 0.5rem; background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 1.5rem; height: 1.5rem; }

@media (max-width: 75rem) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  /* sans flou d'arrière-plan : sinon le menu (position fixe) reste enfermé dans la hauteur de l'en-tête */
  .site-header { backdrop-filter: none; background: #fff; }
  .header-cta { margin-left: 0.25rem; }
  .brand .wordmark { width: 7.4rem; }
  .brand .emblem { width: 2.1rem; height: 2.1rem; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; margin: 0; z-index: 39;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 1rem var(--gutter) calc(6rem + env(safe-area-inset-bottom, 0px)); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a, .nav .nav-btn { width: 100%; min-height: 3.25rem; font-size: 1.1rem; justify-content: space-between; }
  .sub { position: static; box-shadow: none; border: 0; padding: 0 0 0.6rem 0.6rem; min-width: 0; }
  .sub a { font-size: 1rem; min-height: 2.75rem; }
  .lang { align-self: flex-start; margin: 1.2rem 0 0; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 26rem) {
  .brand .emblem { display: none; }
  .header-cta { padding-inline: 0.9rem; }
}

/* ---- hero ---- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--night); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media .placeholder, .hero-media picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-media img { object-position: var(--pos-lg, 50% 50%); }
@media (max-width: 64rem) { .hero-media img { object-position: var(--pos-md, var(--pos-lg, 50% 50%)); } }
@media (max-width: 40rem) { .hero-media img { object-position: var(--pos-sm, 50% 50%); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,26,52,.15) 0%, rgba(8,26,52,.05) 35%, rgba(8,26,52,.72) 100%); }
@media (min-width: 52rem) { .hero::after { background: linear-gradient(90deg, rgba(8,26,52,.62) 0%, rgba(8,26,52,.25) 48%, rgba(8,26,52,0) 70%), linear-gradient(180deg, rgba(8,26,52,.12) 0%, rgba(8,26,52,0) 40%, rgba(8,26,52,.55) 100%); } }
@media (max-width: 52rem) { .hero::after { background: linear-gradient(180deg, rgba(8,26,52,.35) 0%, rgba(8,26,52,.25) 40%, rgba(8,26,52,.8) 100%); } }
/* Accueil : conteneur proportionné au recadrage (≈ 2,2:1 sur grand écran) et voile discret limité à la zone du texte,
   pour garder la luminosité de la piscine et des parasols. */
.hero.hero--home .wrap { min-height: clamp(34rem, 45vw, 52rem); padding-block: 4.5rem 2.6rem; }
.hero.hero--home .btn--outline-light { background: rgba(6,22,44,.22); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.hero.hero--home::after { background: linear-gradient(90deg, rgba(6,22,44,.64) 0%, rgba(6,22,44,.46) 24%, rgba(6,22,44,.2) 42%, rgba(6,22,44,.04) 54%, rgba(6,22,44,0) 60%), linear-gradient(180deg, rgba(6,22,44,0) 55%, rgba(6,22,44,.3) 100%); }
/* Ordinateur : le bloc de texte se cale à 40 px du bord gauche de l'écran (le conteneur n'est plus centré ni limité en largeur).
   Petits retraits optiques pour que l'encre de la signature, du titre et du descriptif tombe sur le bord des boutons. */
@media (min-width: 64.0625rem) {
  .hero.hero--home .wrap { max-width: none; margin-inline: 0; padding-inline: 40px; }
  .hero.hero--home .kicker-logo svg { transform: translateX(-0.34%); }
  .hero.hero--home h1 { margin-left: -0.033em; }
  .hero.hero--home .lead { margin-left: -0.05em; }
}
@media (max-width: 64rem) {
  .hero.hero--home .wrap { min-height: clamp(34rem, 72vw, 46rem); }
  .hero.hero--home::after { background: linear-gradient(90deg, rgba(6,22,44,.5) 0%, rgba(6,22,44,.18) 55%, rgba(6,22,44,0) 75%), linear-gradient(180deg, rgba(6,22,44,0) 35%, rgba(6,22,44,.62) 100%); }
}
/* Mobile : la photo occupe le haut de l'écran sans texte par-dessus (parasols et beds bien visibles) ;
   le titre commence sur l'eau de la piscine et se poursuit sur un fondu vers le bleu nuit. */
@media (max-width: 40rem) {
  .hero.hero--home { background: var(--night); }
  .hero.hero--home .hero-media { inset: 0 0 auto 0; height: 132vw; }
  .hero.hero--home::after { inset: 0 0 auto 0; height: 132vw; background: linear-gradient(180deg, rgba(6,22,44,.1) 0%, rgba(6,22,44,0) 16%, rgba(6,22,44,0) 50%, rgba(12,37,71,.55) 74%, rgba(12,37,71,.92) 92%, var(--night) 100%); }
  .hero.hero--home .wrap { min-height: 0; justify-content: flex-start; padding-block: 76vw 2.4rem; gap: 1.1rem; }
  .hero.hero--home .kicker-logo { display: none; }
  .hero.hero--home h1 { font-size: clamp(2.6rem, 11.5vw, 3.4rem); }
}
.hero.hero--home h1, .hero.hero--home .lead, .hero.hero--home .hero-facts { text-shadow: 0 1px 2px rgba(6,22,44,.35), 0 2px 18px rgba(6,22,44,.35); }
.hero .wrap { min-height: clamp(32rem, 76vh, 50rem); display: flex; flex-direction: column; justify-content: flex-end; gap: 1.3rem; padding-block: 7rem 2.6rem; }
.hero .kicker { color: #fff; font-size: clamp(3rem, 2.2rem + 3.4vw, 5rem); }
.hero .kicker-logo { display: block; width: clamp(10rem, 7rem + 10vw, 16.5rem); color: #fff; margin-bottom: 0.2rem; filter: drop-shadow(0 2px 14px rgba(0,0,0,.25)); }
.hero .kicker-logo svg { width: 100%; height: auto; }
.hero h1 { color: #fff; max-width: 15ch; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero .lead { color: #f2f7fc; max-width: 46ch; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.hero--page .wrap { min-height: clamp(22rem, 52vh, 34rem); padding-block: 6rem 2.2rem; }
.hero--page h1 { font-size: clamp(2.6rem, 1.8rem + 4vw, 4.9rem); max-width: 18ch; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.95rem; font-weight: 600; color: #fff; margin-top: 0.4rem; padding: 0; list-style: none; }
.hero-facts li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-facts svg { width: 1.1rem; height: 1.1rem; }
.hero-plain { background: var(--lagoon-soft); }
.hero-plain .wrap { padding-block: 4rem 3rem; display: grid; gap: 1rem; }

/* ---- statut du service ---- */
.status { display: inline-flex; align-items: flex-start; gap: 0.55rem; font-size: 0.95rem; line-height: 1.4; }
.status .dot { flex: none; width: 0.65rem; height: 0.65rem; border-radius: 50%; margin-top: 0.38em; background: #9aa7b8; box-shadow: 0 0 0 3px rgba(154,167,184,.25); }
.status[data-open="true"] .dot { background: var(--wa); box-shadow: 0 0 0 3px rgba(37,211,102,.25); }
.status[data-open="false"] .dot { background: var(--focus); box-shadow: 0 0 0 3px rgba(242,165,22,.25); }
.status-detail { display: block; color: var(--muted); font-size: 0.9rem; }
.hero .status { color: #fff; background: rgba(8,26,52,.55); padding: 0.55rem 0.9rem; border-radius: 6px; backdrop-filter: blur(6px); max-width: 40rem; }
.hero .status-detail { color: #dfe9f5; }

/* ---- repères pratiques ---- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 0; border-block: 1px solid var(--line); }
.fact { display: grid; gap: 0.15rem; padding: 1.25rem 1.25rem 1.25rem 0; }
.fact + .fact { border-left: 1px solid var(--line); padding-left: 1.25rem; }
.fact-label { font-size: var(--step--1); color: var(--muted); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.fact-value { font-family: var(--f-display); font-size: 2.1rem; line-height: 1; color: var(--cobalt-deep); letter-spacing: 0.02em; }
.fact-note { font-size: 0.92rem; color: var(--muted); }
@media (max-width: 47rem) {
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
}

/* ---- atouts (3 colonnes image + texte) ---- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 1rem + 1.5vw, 2.5rem); }
.feature { display: grid; gap: 0.85rem; align-content: start; }
.feature figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--shell); }
.feature figure img, .feature figure .placeholder { width: 100%; height: 100%; object-fit: cover; }
.feature h3 { font-family: var(--f-display); font-weight: 400; font-size: 2rem; letter-spacing: 0.02em; color: var(--cobalt-deep); line-height: 1; }
@media (max-width: 52rem) { .features { grid-template-columns: minmax(0, 1fr); } .feature figure { aspect-ratio: 16 / 10; } }

/* ---- zones de beds (grille tarifaire façon carte) ---- */
.zones { display: grid; gap: 0; border-top: 2px solid var(--cobalt-deep); }
.zone-row {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto auto; gap: 0.5rem 1.5rem; align-items: center;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.zone-name { font-family: var(--f-display); font-size: 2.5rem; line-height: 1; color: var(--cobalt-deep); letter-spacing: 0.02em; display: flex; align-items: center; gap: 0.75rem; }
.zone-swatch { width: 0.9rem; height: 0.9rem; border-radius: 2px; flex: none; }
.zone-beds { color: var(--muted); font-size: 0.95rem; }
.zone-price { text-align: right; white-space: nowrap; }
.zone-price strong { font-family: var(--f-display); font-weight: 400; font-size: 2.3rem; line-height: 1; color: var(--ink); letter-spacing: 0.02em; }
.zone-price span { display: block; font-size: 0.85rem; color: var(--muted); }
.zones-note { margin-top: 1.1rem; display: grid; gap: 0.35rem; font-size: 0.95rem; color: var(--muted); max-width: var(--measure); }
.zones-note strong { color: var(--ink); }
@media (max-width: 47rem) {
  .zone-row { grid-template-columns: minmax(0, 1fr) auto; }
  .zone-beds { grid-column: 1 / -1; grid-row: 2; }
  .zone-row .btn { grid-column: 1 / -1; justify-self: start; }
}
.sw-marbella { background: #8f6a37; }
.sw-bali { background: #17809f; }
.sw-ibiza { background: #1d56a6; }
.sw-vip { background: #0c2547; }

/* ---- portes d'entrée ---- */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem); }
.door { position: relative; display: grid; align-content: end; min-height: 26rem; color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; background: var(--night); }
.door img, .door .placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.door::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,26,52,0) 30%, rgba(8,26,52,.8) 100%); }
.door-body { padding: 1.5rem; display: grid; gap: 0.4rem; }
.door-title { font-family: var(--f-display); font-size: 2.6rem; line-height: 0.95; letter-spacing: 0.02em; }
.door-text { font-size: 0.98rem; color: #e7f0fa; }
.door .link-arrow { color: #fff; margin-top: 0.4rem; }
.door:hover { color: #fff; }
@media (prefers-reduced-motion: no-preference) { .door:hover img { transform: scale(1.04); } }
/* pages liées (maillage interne) */
.related-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.related-card { display: grid; gap: 0.35rem; height: 100%; padding: 1.1rem 1.2rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.related-card:hover { border-color: var(--cobalt); box-shadow: 0 6px 20px rgba(12,37,71,.08); color: var(--ink); }
.related-title { font-family: var(--f-display); font-size: 1.7rem; line-height: 1; letter-spacing: 0.02em; color: var(--cobalt-deep); }
.related-title::after { content: " →"; font-family: var(--f-body); font-size: 1rem; color: var(--cobalt); }
.related-text { font-size: 0.95rem; color: var(--muted); }
.menu-intro { margin-bottom: 1.5rem; }
.doors--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.door--menu { min-height: 22rem; }
.door--menu::after { background: linear-gradient(180deg, rgba(8,26,52,0) 18%, rgba(8,26,52,.55) 55%, rgba(8,26,52,.85) 100%); }
.door-meta { font-weight: 500; font-size: 0.85rem; color: #cfe0f2; }
@media (max-width: 52rem) { .doors { grid-template-columns: minmax(0, 1fr); } .door { min-height: 18rem; } }

/* ---- texte + image ---- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.75rem, 1rem + 3vw, 4.5rem); align-items: center; }
.split--rev .split-media { order: 2; }
.split-media { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--shell); }
.split-media--wide { aspect-ratio: 4 / 3; }
.split-media img, .split-media .placeholder { width: 100%; height: 100%; object-fit: cover; }
.split-body { display: grid; gap: 1.1rem; align-content: center; }
@media (max-width: 52rem) { .split { grid-template-columns: minmax(0, 1fr); } .split--rev .split-media { order: 0; } .split-media { aspect-ratio: 16 / 11; } }

/* ---- listes de prestations (puces) ---- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 0.45rem 0.9rem; border: 1px solid var(--cobalt); color: var(--cobalt-deep); border-radius: 999px; font-weight: 600; font-size: 0.95rem; background: #fff; }
.section--night .chips li { border-color: var(--lagoon); color: #fff; background: transparent; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.ticks li { position: relative; padding-left: 1.7rem; }
.ticks li::before { content: ""; position: absolute; left: 0.1rem; top: 0.45em; width: 0.85rem; height: 0.45rem; border-left: 2px solid var(--cobalt); border-bottom: 2px solid var(--cobalt); transform: rotate(-45deg); }
.crosses li::before { border: 0; width: 0.8rem; height: 2px; top: 0.75em; background: var(--muted); transform: none; }

.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
@media (max-width: 52rem) { .cols-2, .cols-3 { grid-template-columns: minmax(0, 1fr); } }
.col { display: grid; gap: 0.75rem; align-content: start; min-width: 0; }
.col h3 { padding-bottom: 0.6rem; border-bottom: 2px solid var(--lagoon); }

/* ---- étapes de réservation (séquence réelle) ---- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 0.4rem; align-content: start; padding-top: 1rem; border-top: 2px solid var(--cobalt-deep); }
.steps li::before { content: counter(s); font-family: var(--f-display); font-size: 2.6rem; line-height: 1; color: var(--lagoon); -webkit-text-stroke: 1px var(--cobalt); }
.steps strong { font-size: 1.05rem; }
.steps p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 52rem) { .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 30rem) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---- encadrés ---- */
.callout { display: grid; gap: 0.4rem; padding: 1.1rem 1.25rem; border-left: 4px solid var(--cobalt); background: var(--lagoon-soft); max-width: var(--measure); }
.callout--age { border-left-color: var(--focus); background: var(--warn-bg); color: var(--warn-ink); }
.callout--age strong { color: #3d2d00; }
.callout p { font-size: 0.98rem; }

/* ---- propositions internes (prévisualisation seulement) ---- */
.proposal { border: 2px dashed var(--preview); padding: 1.4rem; display: grid; gap: 0.8rem; background: #fff7fa; max-width: 52rem; }
.proposal h3 { font-family: var(--f-display); font-weight: 400; font-size: 2rem; color: var(--preview); }
.proposal dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.35rem 1rem; margin: 0; font-size: 0.95rem; }
.proposal dt { font-weight: 700; }
.proposal dd { margin: 0; }
.proposals { display: grid; gap: 1.25rem; }

/* ---- plan interactif ---- */
/* Couleurs de zones dans la palette du site : sable (Marbella), lagon (Bali), cobalt (Ibiza), nuit (VIP). */
.z-marbella { --zc: #8f6a37; --zf: #f5efe4; --zs: #d9c6a3; }
.z-bali { --zc: #17809f; --zf: #e3f5fa; --zs: #8fd3e8; }
.z-ibiza { --zc: #1d56a6; --zf: #e9f0fa; --zs: #a9c3e6; }
.z-vip { --zc: #0c2547; --zf: #e3e8f1; --zs: #8ea0bd; }
.plan { display: grid; gap: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.plan-figure { margin: 0; background: #fff; border: 1px solid var(--line); padding: clamp(0.5rem, 0.3rem + 1vw, 1.25rem); min-width: 0; }
.plan-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.plan-svg { width: 100%; min-width: 46rem; height: auto; }
.plan-svg .plan-frame { stroke: var(--lagoon); }
.plan-svg .zone-area { fill: var(--zf); stroke: var(--zs); stroke-width: 1.5; cursor: pointer; transition: fill .15s, stroke .15s; }
.plan-svg .zone-area:hover { stroke: var(--zc); }
.plan-svg .zone-area.is-active { stroke: var(--zc); stroke-width: 3; }
.plan-svg .zone-label { font: 400 24px/1 var(--f-display); fill: var(--zc); letter-spacing: 1.5px; pointer-events: none; }
.plan-svg .bed { cursor: pointer; }
.plan-svg .bed rect { fill: #fff; stroke: var(--zc); stroke-width: 1.6; transition: fill .15s; }
.plan-svg .bed text { font: 700 12.5px/1 var(--f-body); fill: var(--zc); text-anchor: middle; dominant-baseline: central; pointer-events: none; font-variant-numeric: tabular-nums; }
.plan-svg .bed:hover rect { fill: var(--zf); }
.plan-svg .bed.is-selected rect { fill: var(--zc); }
.plan-svg .bed.is-selected text { fill: #fff; }
.plan-svg g[data-zone].is-dim { opacity: 0.32; }
.plan-caption { font-size: 0.85rem; color: var(--muted); margin-top: 0.6rem; }
/* Légende du plan : bed sélectionné (contour pointillé) / bed ajouté à la demande (plein) */
.plan-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.6rem; margin: 0.6rem 0 0; font-size: 0.85rem; color: var(--ink); }
.plan-legend .lg { display: inline-block; width: 1.5rem; height: 1rem; border-radius: 4px; vertical-align: middle; }
.plan-legend .lg + * { margin-right: 0.6rem; }
.plan-legend .lg-current { background: #fff; border: 2.5px dashed var(--cobalt); }
.plan-legend .lg-added { background: var(--cobalt); border: 2px solid var(--cobalt); margin-left: 0.4rem; }
.plan-hint { display: none; font-size: 0.85rem; color: var(--muted); margin: 0 0 0.4rem; }
@media (max-width: 48rem) { .plan-hint { display: block; } }
.plan-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 1.5rem; align-items: start; }
.plan-left { display: grid; gap: 0.8rem; align-content: start; min-width: 0; }
@media (max-width: 52rem) { .plan-panel { grid-template-columns: minmax(0, 1fr); } }
.zone-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
@media (max-width: 36rem) { .zone-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.zone-pick {
  display: grid; gap: 0.15rem; text-align: left; padding: 0.75rem 0.85rem; min-height: 3.5rem; cursor: pointer;
  background: #fff; color: var(--ink); border: 2px solid var(--zs); border-top-width: 5px; border-top-color: var(--zc); border-radius: 6px; font: inherit;
}
.zone-pick b { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; line-height: 1; color: var(--zc); letter-spacing: 0.02em; }
.zone-pick span { font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.zone-pick:hover { background: var(--zf); }
.zone-pick[aria-pressed="true"] { border-color: var(--zc); background: var(--zf); }
.zone-detail { display: grid; gap: 0.7rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); background: var(--shell); }
.zone-detail h3 { font-family: var(--f-display); font-weight: 400; font-size: 2.1rem; line-height: 1; color: var(--cobalt-deep); }
.zone-detail .price { font-size: 1.05rem; }
.zone-detail .price strong { font-size: 1.3rem; }
.field-inline { display: grid; gap: 0.3rem; }
/* demande de plusieurs beds (plan interactif) */
.bed-pick { display: grid; gap: 0.4rem; }
.bed-pick-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: stretch; }
.bed-pick-row .field { flex: 1 1 12rem; }
.bed-pick-row .btn { flex: 0 0 auto; }
@media (max-width: 36rem) { .bed-pick-row .btn { flex: 1 1 100%; } }
.bed-cart { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.bed-cart li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.7rem; padding: 0.5rem 0.6rem 0.5rem 0.75rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.bed-cart li.bed-cart-empty { background: transparent; border-style: dashed; color: var(--muted); font-size: 0.92rem; }
.bed-cart .cart-what { flex: 1 1 8rem; min-width: 0; }
.bed-cart .cart-what span { color: var(--muted); margin-left: 0.25rem; }
.bed-cart .cart-price { font-weight: 650; white-space: nowrap; }
.bed-cart .cart-remove { min-height: 2.5rem; padding: 0.3rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 0.88rem; cursor: pointer; }
.bed-cart .cart-remove:hover { border-color: #b3261e; color: #b3261e; }
/* Parcours explicite : bed sélectionné → « Ajouter … à ma demande » → bed ajouté */
.bed-pick .field select { width: 100%; }
.btn--add { width: 100%; white-space: normal; text-align: center; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.92rem; line-height: 1.25; }
.bed-selection, .pending-bed { padding: 0.55rem 0.75rem; background: var(--warn-bg); color: var(--warn-ink); border-left: 4px solid #c99700; border-radius: 4px; }
.bed-selection { margin: 0; }
.pending-bed { display: grid; gap: 0.5rem; }
.pending-bed p { margin: 0; font-weight: 600; }
.add-msg { margin: 0; }
.add-msg:empty { display: none; }
.add-msg.is-ok { color: #0b5d34; font-weight: 600; }
.add-msg a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.bed-cart .cart-line.needs-guests { border-color: var(--cobalt); box-shadow: inset 3px 0 0 var(--cobalt); }
.bed-cart .cart-guests { order: 9; flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.6rem; font-size: 0.9rem; }
.bed-cart .cart-guests select { min-height: 2.5rem; padding: 0.3rem 0.6rem; border: 1px solid var(--line); border-radius: 6px; background: #fff; font: inherit; color: var(--ink); max-width: 100%; }
.bed-cart .cart-guests-fixed { font-size: 0.9rem; color: var(--muted); }
.alloc-msg { margin: 0; padding: 0.55rem 0.75rem; border-radius: 4px; border-left: 4px solid var(--line); background: #fff; }
.alloc-msg.is-info { background: var(--lagoon-soft); border-color: var(--cobalt); color: var(--night); font-weight: 600; }
.alloc-msg.is-error { background: #fdecea; border-color: #b3261e; color: #8c1d18; font-weight: 600; }
.recap { padding: 0.75rem 0.9rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; display: grid; gap: 0.4rem; }
.recap .eyebrow { margin: 0; }
.recap-lines { margin: 0; display: grid; gap: 0.3rem; }
.recap-lines > div { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; font-size: 0.95rem; }
.recap-lines dt { min-width: 0; }
.recap-lines dd { margin: 0; text-align: right; }
.recap-lines .num-row dd { white-space: nowrap; font-variant-numeric: tabular-nums; }
.recap-lines .extra-row { color: var(--ink); }
.recap-lines .todo { color: var(--muted); font-size: 0.9rem; font-weight: 400; }
.recap-lines .recap-total { border-top: 1px solid var(--line); padding-top: 0.45rem; margin-top: 0.15rem; font-weight: 700; font-size: 1.1rem; }
.recap-lines .recap-total dd strong { white-space: nowrap; }
.estimate-lines { margin: 0; display: grid; gap: 0.3rem; }
.estimate-lines > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 0.95rem; }
.estimate-lines dt { min-width: 0; }
.estimate-lines dd { margin: 0; white-space: nowrap; }
.estimate-lines dd:not(.num) { white-space: normal; text-align: right; font-size: 0.92rem; font-weight: 600; }
.estimate-lines .estimate-total { border-top: 1px solid var(--line); padding-top: 0.45rem; margin-top: 0.15rem; font-weight: 700; font-size: 1.1rem; }
.estimate-note { font-size: 0.92rem; }
.capacity-msg:empty { display: none; }
/* Conseil « deuxième bed » : recommandation (bleu lagon) ou nécessité (rouge, envoi bloqué) */
.bed-advice { display: grid; gap: 0.5rem; }
.bed-advice.is-reco, .bed-advice.is-error { padding: 0.7rem 0.85rem; border-radius: 4px; border-left: 4px solid; }
.bed-advice.is-reco { background: var(--lagoon-soft); border-color: var(--cobalt); }
.bed-advice.is-reco .capacity-msg { color: var(--night); font-weight: 600; font-size: 0.95rem; }
.bed-advice.is-error { background: #fdecea; border-color: #b3261e; }
.bed-advice.is-error .capacity-msg { color: #8c1d18; font-weight: 600; }
.bed-advice p { margin: 0; }
.advice-note { color: var(--ink); }
.advice-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.advice-actions .btn { white-space: normal; text-align: center; }
.bed-advice.is-reco .btn--ghost:not(:hover), .bed-advice.is-error .btn--ghost:not(:hover) { --b-bg: #fff; }
@media (max-width: 36rem) { .advice-actions .btn { flex: 1 1 100%; } }
#br-title:focus { outline: none; }
#br-title:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.capacity-msg.is-error { color: #8c1d18; font-weight: 600; padding: 0.6rem 0.75rem; background: #fdecea; border-left: 4px solid #b3261e; border-radius: 4px; }
.bed-request .form-errors { padding: 0.6rem 0.75rem; background: #fdecea; border-left: 4px solid #b3261e; border-radius: 4px; }
.bed-request .form-errors ul { margin: 0.3rem 0 0; padding-left: 1.2rem; }
.bed-request .btn.is-incomplete { opacity: 0.85; }
.plan-svg .bed.is-current rect { stroke-width: 3; stroke-dasharray: 5 3; fill: #fff; }
.selection-note { font-size: 0.9rem; color: var(--muted); }
.selection-note strong { color: var(--ink); }

.bed-list { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.bed-list th, .bed-list td { text-align: left; padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.bed-list th { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.bed-list td.num, .bed-list th.num { text-align: right; white-space: nowrap; }
.table-scroll { overflow-x: auto; }
details.disclose { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
details.disclose > summary { cursor: pointer; padding: 1rem 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.disclose > summary::-webkit-details-marker { display: none; }
details.disclose > summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--cobalt); }
details.disclose[open] > summary::after { content: "–"; }
details.disclose > .disclose-body { padding-bottom: 1.2rem; }

/* ---- FAQ ---- */
.faq { display: grid; max-width: 52rem; border-top: 2px solid var(--cobalt-deep); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 650; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.85rem; font-size: 1.6rem; color: var(--cobalt); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 1.2rem; color: var(--ink); max-width: var(--measure); display: grid; gap: 0.6rem; }
.section--night .faq { border-top-color: var(--lagoon); }
.section--night .faq details { border-bottom-color: rgba(255,255,255,.15); }
.section--night .faq .answer { color: #e9f2fb; }

/* ---- carte (menu) ---- */
.menu-nav { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 2rem; }
.menu-nav a { padding: 0.45rem 0.85rem; border-radius: 999px; background: var(--lagoon-soft); color: var(--cobalt-deep); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.menu-nav a:hover { background: var(--lagoon); }
.menu-part + .menu-part { margin-top: 3.5rem; }
.menu-part > h2 { margin-bottom: 1.5rem; }
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 1rem + 3vw, 4.5rem); }
@media (max-width: 52rem) { .menu-grid { grid-template-columns: minmax(0, 1fr); } }
.menu-section { min-width: 0; }
.menu-section h3 { font-family: var(--f-script); font-weight: 400; font-size: 2.8rem; line-height: 1.1; color: var(--cobalt); margin-bottom: 0.4rem; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.1rem 1rem; padding: 0.7rem 0; border-bottom: 1px dotted #b9c6d6; }
.menu-item .mi-name { font-weight: 650; color: var(--cobalt-deep); }
.menu-item .mi-desc { grid-column: 1; font-size: 0.9rem; color: var(--muted); }
.menu-item .mi-price { grid-column: 2; grid-row: 1; text-align: right; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-item .mi-unit { display: block; font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.menu-item .mi-tag { display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.45rem; border-radius: 999px; background: var(--cobalt); color: #fff; font-size: 0.72rem; font-weight: 700; vertical-align: 0.1em; }
.menu-cols { display: grid; grid-template-columns: minmax(0, 1fr) repeat(var(--n, 2), 5.6rem); gap: 0.2rem 0.6rem; align-items: baseline; }
.menu-cols .mc-head { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: right; padding-bottom: 0.3rem; border-bottom: 1px solid var(--line); }
.menu-cols .mc-head:first-child { text-align: left; }
.menu-cols > span { padding: 0.5rem 0; border-bottom: 1px dotted #b9c6d6; }
.menu-cols .mc-name { font-weight: 650; color: var(--cobalt-deep); min-width: 0; }
.menu-cols .mc-price { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 30rem) { .menu-cols { grid-template-columns: minmax(0, 1fr) repeat(var(--n, 2), 4.6rem); font-size: 0.92rem; } }
.menu-note { margin-top: 0.8rem; font-style: italic; color: var(--muted); font-size: 0.92rem; }
.pdf-links { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---- galerie ---- */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(9rem, 6rem + 9vw, 15rem); gap: 0.6rem; }
.gallery figure { margin: 0; overflow: hidden; background: var(--shell); position: relative; grid-column: span 2; }
.gallery figure.g-wide { grid-column: span 4; }
.gallery figure.g-tall { grid-row: span 2; }
.gallery img, .gallery .placeholder { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem 0.75rem 0.6rem; font-size: 0.82rem; color: #fff; background: linear-gradient(180deg, transparent, rgba(8,26,52,.7)); }
@media (max-width: 52rem) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery figure, .gallery figure.g-wide { grid-column: span 1; }
  .gallery figure.g-wide { grid-column: span 2; }
}

/* ---- image de travail (prévisualisation) ---- */
.placeholder {
  display: grid; place-items: center; text-align: center; padding: 1rem; width: 100%; height: 100%; min-height: 8rem;
  color: var(--preview); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  background: repeating-linear-gradient(135deg, #fbe9f0 0 14px, #fff 14px 28px);
  border: 2px dashed var(--preview);
}

/* ---- formulaires ---- */
.form { display: grid; gap: 1.1rem; max-width: 46rem; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1rem; min-width: 0; }
.form legend { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.4rem; padding: 0; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 36rem) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label, .field .label { font-weight: 650; font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: 0.65rem 0.8rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #9fb0c4; border-radius: var(--radius);
}
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cobalt); outline: 3px solid rgba(29,86,166,.18); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field .error { color: #b3261e; font-size: 0.88rem; font-weight: 600; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: 0.4rem 1rem; }
.check { display: flex; align-items: center; gap: 0.55rem; min-height: 2.6rem; font-size: 0.98rem; cursor: pointer; }
.check input { width: 1.2rem; height: 1.2rem; accent-color: var(--cobalt); flex: none; }
.form-summary { display: grid; gap: 0.9rem; padding: 1.25rem; background: var(--lagoon-soft); border: 1px solid #b7e2ef; }
.form-summary pre, .wa-preview { margin: 0; white-space: pre-wrap; word-break: break-word; font: 0.95rem/1.5 var(--f-body); background: #fff; border: 1px solid var(--line); padding: 0.9rem; border-radius: var(--radius); color: var(--ink); }
.form-errors { color: #b3261e; font-weight: 600; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- contact ---- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); }
@media (max-width: 52rem) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; gap: 0.15rem; }
.contact-list .label { font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.contact-list .value { font-size: 1.15rem; font-weight: 600; }
.hours-table { border-collapse: collapse; width: 100%; max-width: 30rem; }
.hours-table td, .hours-table th { padding: 0.55rem 0; border-bottom: 1px solid var(--line); text-align: left; font-variant-numeric: tabular-nums; }
.hours-table td:last-child { text-align: right; }
.copy-btn { margin-left: 0.4rem; padding: 0.15rem 0.55rem; font: 600 0.8rem/1.4 var(--f-body); border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--cobalt); cursor: pointer; }

/* ---- agenda ---- */
.empty-state { display: grid; gap: 1rem; padding: 2rem; border: 1px solid var(--line); background: var(--shell); max-width: 46rem; }

/* ---- pied de page ---- */
.site-footer { background: var(--night); color: #cfdcec; font-size: 0.95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--lagoon); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
.footer-grid h2 { font-size: 1.6rem; color: var(--lagoon); margin-bottom: 0.8rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-brand { display: grid; gap: 1rem; align-content: start; color: #fff; }
.footer-brand svg { width: 10rem; height: auto; }
/* Lien d'itinéraire léger sous l'adresse (la carte complète reste sur la page Accès) */
.footer-brand .footer-maps { margin-top: -0.55rem; }
.site-footer .footer-maps a { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; color: var(--lagoon); font-weight: 650; font-size: 0.88rem; letter-spacing: 0.06em; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-maps a:hover { color: #fff; }
.site-footer .footer-maps svg { width: 1.1rem; height: 1.1rem; flex: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.25rem calc(5.5rem + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; font-size: 0.85rem; color: #9fb3cc; }
@media (max-width: 60rem) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 36rem) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- pastille WhatsApp + panneau ---- */
.wa-fab {
  position: fixed; right: max(1rem, env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 45;
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 3.5rem; padding: 0.5rem 1.15rem 0.5rem 0.75rem;
  background: var(--wa); color: var(--wa-ink); border: 0; border-radius: 999px; cursor: pointer;
  font: 700 1rem/1.1 var(--f-body); text-decoration: none; box-shadow: 0 8px 28px rgba(5,54,27,.28);
}
.wa-fab:hover { color: var(--wa-ink); }
.wa-fab svg { width: 2rem; height: 2rem; flex: none; }
.wa-fab:hover { background: #1fbe5b; }
body.form-focus .wa-fab, body.nav-open .wa-fab, body.consent-open .wa-fab, body.bed-request-visible .wa-fab { display: none; }
@media (max-width: 40rem) { body.hero-cta-visible .wa-fab { display: none; } }
@media (max-width: 26rem) { .wa-fab .wa-fab-label { font-size: 0.92rem; } }

dialog.sheet {
  width: min(36rem, 100%); max-width: 100%; max-height: min(92vh, 52rem); margin: auto auto 0; padding: 0; border: 0;
  border-radius: 14px 14px 0 0; background: #fff; color: var(--ink); box-shadow: 0 -10px 50px rgba(12,37,71,.3);
}
@media (min-width: 40rem) { dialog.sheet { margin: auto; border-radius: 12px; } }
dialog.sheet::backdrop { background: rgba(8,26,52,.55); }
.sheet-inner { display: grid; gap: 1rem; padding: 1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px)); }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.sheet-head h2 { font-size: 2.2rem; }
.sheet-close { min-width: 2.75rem; min-height: 2.75rem; border: 1px solid var(--line); background: #fff; border-radius: 50%; cursor: pointer; font-size: 1.4rem; line-height: 1; color: var(--ink); }
.sheet .status { background: var(--shell); padding: 0.7rem 0.85rem; border-radius: 6px; width: 100%; }
.sheet .callout--age { padding: 0.75rem 0.9rem; }
.sheet-direct { font-size: 0.92rem; color: var(--muted); }

/* ---- bannière de consentement ---- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 3px solid var(--lagoon); box-shadow: 0 -8px 30px rgba(12,37,71,.18); }
.consent .wrap { display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; align-items: center; justify-content: space-between; padding-block: 1rem calc(1rem + env(safe-area-inset-bottom, 0px)); }
.consent p { max-width: 60ch; font-size: 0.95rem; }

/* ---- utilitaires ---- */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.page-legal .prose h2 { font-size: 2rem; margin-top: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .wa-fab, .consent, .preview-bar, .site-footer .band { display: none !important; }
}
