/* ============================================================================
   NIRVANA — DESIGN SYSTEM
   Palette : lagon turquoise, océan profond, sable chaud, corail.
   Typo    : Cormorant Garamond (titres) + Manrope (texte).
   ========================================================================== */

:root {
  /* Couleurs */
  --ocean-900: #0a2540;
  --ocean-800: #0e3252;
  --ocean-700: #124b6e;
  --lagoon-600: #0e8f9e;
  --lagoon-500: #17b0bd;
  --lagoon-400: #46c7d1;
  --lagoon-100: #d9f3f5;
  --sand-50:   #fbf7f0;
  --sand-100:  #f4ecdd;
  --sand-200:  #e9ddc7;
  --coral:     #ff6b57;
  --coral-dark:#e8543f;
  --ink:       #16323f;
  --muted:     #5f7683;
  --white:     #ffffff;

  /* Sémantique */
  --bg: var(--sand-50);
  --text: var(--ink);
  --primary: var(--lagoon-600);
  --primary-strong: var(--ocean-800);

  /* Typo */
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Great Vibes", "Cormorant Garamond", cursive;

  /* Rayons / ombres */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 2px 10px rgba(10,37,64,.06);
  --shadow-md: 0 12px 30px rgba(10,37,64,.10);
  --shadow-lg: 0 24px 60px rgba(10,37,64,.18);

  /* Espacements */
  --container: 1200px;
  --section-y: clamp(3.5rem, 8vw, 7rem);
}

/* --------------------------------------------------------------------- RESET */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 600; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

/* ------------------------------------------------------------------- BOUTONS */
.btn {
  --pad-y: .8rem; --pad-x: 1.4rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 100px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(255,107,87,.35); }
.btn--primary:hover { background: var(--coral-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,107,87,.42); }
.btn--outline { border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.btn--outline:hover { background: rgba(255,255,255,.14); }
.btn--ghost { color: var(--ink); border: 1.5px solid var(--sand-200); background: #fff; }
.btn--ghost:hover { border-color: var(--lagoon-400); color: var(--lagoon-600); }
.btn--text { color: var(--muted); padding: .5rem .8rem; }
.btn--text:hover { color: var(--ink); }
.btn--lg { --pad-y: 1rem; --pad-x: 2rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* ==================================================================== NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: .5rem 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__brand { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.35rem; color: #fff; transition: color .3s; }
.nav__logo { height: 40px; width: auto; display: block; transition: filter .3s; filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.nav__name { font-family: var(--font-serif); letter-spacing: .02em; }
.nav__links { display: flex; gap: 1.05rem; }
.nav__link { color: rgba(255,255,255,.9); font-weight: 600; font-size: .9rem; position: relative; transition: color .2s; white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--coral); transition: width .25s ease; }
.nav__link:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: .55rem; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: .4rem; }
.nav__burger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }

/* Nav en mode "scrollé" (fond clair) */
.nav.is-scrolled { background: rgba(251,247,240,.92); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); }
.nav.is-scrolled .nav__logo { filter: none; }
.nav.is-scrolled .nav__brand,
.nav.is-scrolled .nav__link { color: var(--ink); }
.nav.is-scrolled .nav__link { color: var(--ocean-800); }
.nav.is-scrolled .btn--ghost { background: #fff; }
.nav.is-scrolled .nav__burger span { background: var(--ink); }

/* Sélecteur de langue */
.lang { display: flex; gap: 2px; background: rgba(255,255,255,.18); border-radius: 100px; padding: 3px; }
.lang__btn { padding: .35rem .62rem; border-radius: 100px; font-weight: 800; font-size: .78rem; letter-spacing: .03em; color: #fff; opacity: .7; transition: background .2s, color .2s, opacity .2s; }
.lang__btn:hover { opacity: 1; }
.lang__btn.is-active { background: #fff; color: var(--ocean-900); opacity: 1; }
.nav.is-scrolled .lang { background: var(--sand-100); }
.nav.is-scrolled .lang__btn { color: var(--ocean-800); }
.cur-switch { background: rgba(255,255,255,.18); color: #fff; border: none; border-radius: 100px; padding: .34rem .45rem; font-weight: 700; font-size: .74rem; cursor: pointer; -webkit-appearance: none; appearance: none; }
.cur-switch option { color: var(--ink); }
.nav.is-scrolled .cur-switch { background: var(--sand-100); color: var(--ocean-800); }
.cur-conv { color: var(--lagoon-600); font-weight: 700; font-size: .8em; white-space: nowrap; }
.formule__price .cur-conv { display: inline-block; }
.field.field--veille { display: block; background: var(--lagoon-100); border: 2px solid var(--lagoon-400); border-radius: var(--r-md); padding: 1rem 1.1rem; cursor: pointer; transition: border-color .15s, background .15s; }
/* L'option n'existe que pour la croisière : quand le JS pose [hidden] (journée/sunset), il doit masquer — sinon la règle display:block ci-dessus l'emporte sur [hidden]. */
.field.field--veille[hidden] { display: none; }
.field--veille:hover { border-color: var(--lagoon-600); }
.veille-check { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--ocean-900); cursor: pointer; }
.field--veille input[type="checkbox"] { width: 22px; min-width: 22px; height: 22px; flex: none; display: inline-block; accent-color: var(--lagoon-600); cursor: pointer; margin: 0; }
.veille-check__title { font-size: 1.02rem; }
.veille-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: .6rem 0 0 calc(22px + .6rem); }
.veille-badge { background: #fff; border: 1px solid var(--lagoon-400); color: var(--lagoon-600); font-weight: 700; font-size: .82rem; padding: .3rem .7rem; border-radius: 100px; }
.field--veille .field__note { display: block; margin: .55rem 0 0 calc(22px + .6rem); color: var(--ocean-800); font-size: .88rem; line-height: 1.5; }
.nav.is-scrolled .lang__btn.is-active { background: var(--ocean-800); color: #fff; }

/* =================================================================== HERO */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; }
.hero__media {
  position: absolute; inset: 0; z-index: 0;
  background: var(--ocean-900) center/cover no-repeat;
  transform: scale(1.05);
}
.hero__video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .8s ease;   /* masquée tant qu'elle ne joue pas (repli = image de fond, pas de bouton play iOS) */
}
.hero__video.is-playing { opacity: 1; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(8,30,52,.62) 0%, rgba(8,30,52,.38) 42%, rgba(8,30,52,.82) 100%),
    radial-gradient(120% 75% at 50% 44%, rgba(0,0,0,0) 28%, rgba(6,22,40,.5) 100%);
}
.hero__content { position: relative; z-index: 3; max-width: 880px; margin: 0 auto; padding-top: 80px; text-align: center; }
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .82rem; font-weight: 700;
  color: #fff; margin: 0 0 1.1rem; text-shadow: 0 1px 10px rgba(0,0,0,.55);
}
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3.4rem, 8.4vw, 6.4rem); line-height: 1.08; letter-spacing: .01em;
  margin-bottom: 1.2rem;
  text-shadow: 0 3px 26px rgba(6,22,40,.7), 0 2px 5px rgba(0,0,0,.5);
}
.hero__subtitle {
  font-size: clamp(1.08rem, 2.2vw, 1.32rem); color: rgba(255,255,255,.97); line-height: 1.6;
  max-width: 640px; margin: 0 auto 2.3rem; text-shadow: 0 1px 12px rgba(6,22,40,.65);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero__price {
  margin: 1.4rem auto 0; max-width: 640px;
  font-size: clamp(.95rem, 1.8vw, 1.08rem); font-weight: 600;
  color: #fff; text-shadow: 0 1px 10px rgba(6,22,40,.7);
  background: rgba(6,22,40,.28); border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px; padding: .55rem 1.15rem; display: inline-block;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.hero__price:empty { display: none; }
.modal__pricehint {
  display: inline-block; margin: .1rem 0 .6rem; padding: .35rem .8rem;
  font-size: .9rem; font-weight: 700; cursor: pointer;
  color: var(--lagoon-700, #0e6b8a); background: var(--lagoon-50, #eef8fc);
  border: 1px solid var(--lagoon-200, #cfeaf5); border-radius: 999px;
  transition: background .15s ease;
}
.modal__pricehint:hover { background: var(--lagoon-100, #dff2fa); }
.modal__pricehint:empty { display: none; }
.hero__price .cur-conv { color: #eaf7ff; }
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 3; color: #fff; font-size: 1.4rem; opacity: .8;
  width: 44px; height: 44px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 50%;
  display: grid; place-items: center; animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ================================================================= VISITE */
.visit { background: linear-gradient(135deg, var(--ocean-800), var(--lagoon-600)); color: #fff; padding: 1.6rem 0; position: relative; z-index: 6; }
.visit__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap; }
.visit__text { display: flex; flex-direction: column; gap: .3rem; max-width: 640px; }
.visit__title { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; line-height: 1.15; }
.visit__lead { font-size: .98rem; opacity: .92; line-height: 1.45; }
.visit__actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.visit .btn--outline { color: #fff; border-color: rgba(255,255,255,.65); background: transparent; }
.visit .btn--outline:hover { background: rgba(255,255,255,.14); }
.visit + .highlights { margin-top: 1.8rem; }
@media (max-width: 640px) {
  .visit__inner { flex-direction: column; align-items: stretch; }
  .visit__actions { width: 100%; }
  .visit__actions .btn { flex: 1; justify-content: center; }
}

/* ============================================================= HIGHLIGHTS */
.highlights { margin-top: -70px; position: relative; z-index: 5; }
.highlights__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  background: #fff; padding: 1.8rem; border-radius: var(--r-lg); box-shadow: var(--shadow-md);
}
.highlight { text-align: center; padding: .6rem; }
.highlight__icon { display: flex; justify-content: center; font-size: 2rem; }
.highlight__icon svg { width: 68px; height: 68px; }
.highlight__title { font-weight: 800; margin: .5rem 0 .25rem; font-size: 1.02rem; }
.highlight__text { color: var(--muted); font-size: .92rem; margin: 0; }

/* =============================================================== SECTIONS */
.section { padding: var(--section-y) 0; }
.section--alt { background: linear-gradient(180deg, var(--sand-100), var(--sand-50)); }
.section__head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section__eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 800; color: var(--lagoon-600); margin: 0 0 .8rem; }
.section__title { font-family: var(--font-serif); font-size: clamp(2.1rem, 4.5vw, 3.2rem); font-weight: 500; color: var(--ocean-900); }
.section__lead { color: var(--muted); font-size: 1.08rem; margin-top: 1rem; }

/* =============================================================== FORMULES */
.formules__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.formule {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease; position: relative;
}
.formule:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.formule--highlight { outline: 2px solid var(--coral); }
.formule__badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: var(--coral); color: #fff; font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; padding: .35rem .7rem; border-radius: 100px;
}
.formule__img { aspect-ratio: 16/10; overflow: hidden; }
.formule__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.formule:hover .formule__img img { transform: scale(1.06); }
.formule__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.formule__tagline { color: var(--lagoon-600); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.formule__name { font-family: var(--font-serif); font-size: 1.9rem; margin: .2rem 0 .4rem; color: var(--ocean-900); }
.formule__meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; color: var(--muted); font-size: .85rem; margin-bottom: .8rem; }
.formule__meta span { display: inline-flex; align-items: center; gap: .3rem; }
.formule__desc { color: var(--ink); font-size: .95rem; margin: 0 0 1rem; }
.formule__includes { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .4rem; }
.formule__includes li { font-size: .88rem; color: var(--muted); padding-left: 1.5rem; position: relative; }
.formule__includes li::before { content: "✓"; position: absolute; left: 0; color: var(--lagoon-500); font-weight: 800; }
.formule__foot { margin-top: auto; display: flex; flex-direction: column; align-items: stretch; gap: .7rem; padding-top: 1rem; border-top: 1px solid var(--sand-200); }
.formule__price strong { font-size: 1.5rem; color: var(--ocean-900); font-weight: 800; }
.formule__price span { display: block; font-size: .78rem; color: var(--muted); }
/* Pastille skipper : sous le prix, style « supplément » */
.formule__skip { font-size: .8rem; font-weight: 700; color: var(--lagoon-600); background: var(--lagoon-100); border-radius: 10px; padding: .45rem .7rem; }

/* Rappel de la prestation choisie (haut du formulaire de réservation, mode carte) */
.book-formule-reminder { display: inline-block; background: var(--lagoon-100); color: var(--lagoon-600); font-weight: 700; font-size: .9rem; padding: .45rem .9rem; border-radius: 100px; margin: 0 0 .6rem; }

/* Bloc de retour en bas des CGV */
.cgv-return { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--sand-200); }
.cgv-return .field__note { text-align: center; margin: 0 0 .7rem; }
.cgv-return .btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Champ mot de passe avec icône « œil » */
.pwd-wrap { position: relative; display: flex; }
.pwd-wrap input { flex: 1; padding-right: 2.6rem; }
.pwd-toggle { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); background: none; border: 0; cursor: pointer; font-size: 1.05rem; opacity: .5; padding: .2rem; line-height: 1; }
.pwd-toggle:hover, .pwd-toggle.is-on { opacity: 1; }

/* Barre de bascule du compte debug */
.debug-bar { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; background: #2a2f45; color: #fff; padding: .5rem .8rem; border-radius: var(--r-md); margin-bottom: .9rem; font-size: .85rem; }
.debug-bar strong { margin-right: .3rem; font-weight: 700; }
.debug-bar__btn { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 100px; padding: .3rem .9rem; font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; transition: background .15s; }
.debug-bar__btn:hover { background: rgba(255,255,255,.22); }
.debug-bar__btn.is-on { background: var(--coral); border-color: var(--coral); }

/* Liste des personnes embarquées */
.pax-title { text-align: center; margin: 0 1.5rem .6rem; }
.pax-sub { text-align: center; color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.pax-legal { background: var(--lagoon-100); color: var(--ocean-900); border-left: 4px solid var(--coral); border-radius: var(--r-sm); padding: .7rem .95rem; font-size: .9rem; line-height: 1.45; margin: 0 0 1.1rem; }
/* Bouton « Ajouter une personne » — bien visible comme action d'ajout */
.pax-add { margin-top: .5rem; border: 2px dashed var(--lagoon-500); color: var(--lagoon-600); background: var(--lagoon-100); font-weight: 800; font-size: 1rem; padding: .9rem 1rem; border-radius: var(--r-md); }
.pax-add:hover:not([disabled]) { background: var(--lagoon-500); color: #fff; border-style: solid; }
.pax-add[disabled] { opacity: .45; }
.pax-count-note { text-align: center; margin: .4rem 0 0; }
.pax-actions { display: flex; gap: .6rem; justify-content: flex-end; align-items: center; margin-top: 1.2rem; }
.res-card__pax { margin-top: .5rem; }
.pax-row { border: 1px solid var(--sand-200); border-radius: var(--r-md); padding: .8rem 1rem 1rem; margin-bottom: .8rem; background: #fff; }
.pax-row__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.pax-row__head strong { color: var(--ocean-900); font-size: .95rem; }

/* Éditeur admin des lieux « Où va-t-on ? » */
.lieu-edit__foot { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; margin-top: .4rem; }
.lieu-edit__thumb { width: 60px; height: 42px; object-fit: cover; border-radius: 6px; border: 1px solid var(--sand-200); }

/* Pastille compte : ne jamais laisser le libellé (prénom) déborder le bandeau */
#accountLabel { max-width: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Lieux / ambiances (cartes SANS prix — proposées selon météo/skipper/envies) */
.lieux__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.lieu { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.lieu:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.lieu__img { aspect-ratio: 16/10; overflow: hidden; }
.lieu__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lieu:hover .lieu__img img { transform: scale(1.06); }
.lieu__body { padding: 1.2rem 1.4rem 1.5rem; }
.lieu__tagline { color: var(--lagoon-600); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.lieu__name { font-family: var(--font-serif); font-size: 1.35rem; margin: .25rem 0 .5rem; color: var(--ocean-900); }
.lieu__desc { color: var(--ink); font-size: .92rem; line-height: 1.55; margin: 0; }

/* Bannière tarif sous le titre des formules */
.pricing-note { margin: 1.4rem auto 0; max-width: 720px; background: #fff; border: 1px solid var(--sand-200); border-left: 4px solid var(--coral); border-radius: var(--r-md); padding: .9rem 1.2rem; font-size: .95rem; font-weight: 600; color: var(--ocean-900); box-shadow: var(--shadow-sm); }
.depart-note { margin: .7rem auto 0; max-width: 720px; font-size: .88rem; color: var(--ocean-700); font-style: italic; white-space: pre-line; }
.skipper-included { font-size: .88rem; color: #1a7d47; font-weight: 700; margin: .2rem 0 0; }
.skipper-included::before { content: "⚓ "; }
.form__summary .is-free { color: #1a7d47; font-weight: 800; }

/* ================================================================= BATEAU */
.bateau { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.bateau__gallery { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: .8rem; }
.bateau__gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); aspect-ratio: 1; box-shadow: var(--shadow-sm); }
.bateau__gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 2/1.1; }
.bateau__type { color: var(--lagoon-600); font-weight: 700; margin: .3rem 0 1rem; }
.bateau__intro { color: var(--muted); }
.bateau__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.6rem 0; }
.spec { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--r-md); padding: .9rem 1rem; }
.spec__value { font-family: var(--font-serif); font-size: 1.6rem; color: var(--ocean-900); font-weight: 600; }
.spec__label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.bateau__subtitle { font-family: var(--font-serif); font-size: 1.5rem; margin: 1.4rem 0 .8rem; color: var(--ocean-900); }
.bateau__amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .8rem; }
.bateau__amenities li { font-size: .92rem; padding-left: 1.5rem; position: relative; color: var(--ink); }
.bateau__amenities li::before { content: "⚓"; position: absolute; left: 0; font-size: .85rem; }

/* ================================================================= ÉQUIPE */
.equipe__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.skipper { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.skipper:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.skipper__photo { aspect-ratio: 4/3.4; overflow: hidden; }
.skipper__photo img { width: 100%; height: 100%; object-fit: cover; }
.skipper__photo-ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(150deg, var(--ocean-700), var(--lagoon-600)); color: #fff; font-family: var(--font-serif); font-size: 3.4rem; font-weight: 700; }
.skipper__body { padding: 1.4rem; }
.skipper__name { font-family: var(--font-serif); font-size: 1.5rem; color: var(--ocean-900); }
.skipper__role { color: var(--lagoon-600); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .8rem; }
.skipper__bio { color: var(--muted); font-size: .92rem; }
.skipper__quals { list-style: none; padding: 0; margin: .9rem 0; display: grid; gap: .35rem; }
.skipper__quals li { font-size: .85rem; padding-left: 1.4rem; position: relative; }
.skipper__quals li::before { content: "🎖️"; position: absolute; left: 0; font-size: .75rem; }
.skipper__ref { font-style: italic; font-size: .85rem; color: var(--ocean-700); border-left: 3px solid var(--lagoon-400); padding-left: .8rem; margin-top: 1rem; }

/* ============================================================ TÉMOIGNAGES */
.temoignages__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.temoignage { background: #fff; border-radius: var(--r-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.temoignage__stars { color: #f5a623; letter-spacing: .1em; margin-bottom: .8rem; }
.temoignage__text { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.4; color: var(--ocean-900); }
.temoignage__author { margin-top: 1rem; font-weight: 700; }
.temoignage__origin { color: var(--muted); font-size: .85rem; }

/* ================================================== CALENDRIER / BOOKING */
.booking { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem; align-items: start; }
.calendar { background: #fff; border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.calendar__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.calendar__month { font-family: var(--font-serif); font-size: 1.6rem; color: var(--ocean-900); text-transform: capitalize; }
.calendar__nav { width: 42px; height: 42px; border-radius: 50%; background: var(--sand-100); color: var(--ocean-800); font-size: 1.4rem; transition: background .2s; }
.calendar__nav:hover:not(:disabled) { background: var(--lagoon-100); }
.calendar__nav:disabled { opacity: .35; cursor: not-allowed; }
.calendar__weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem; margin-bottom: .5rem; }
.calendar__weekdays span { text-align: center; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem; }
.day {
  aspect-ratio: 1; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: .95rem; position: relative; transition: background .15s, color .15s, transform .1s;
}
.day--empty { visibility: hidden; }
.day--free { background: var(--lagoon-100); color: var(--ocean-800); cursor: pointer; }
.day--free:hover { background: var(--lagoon-400); color: #fff; transform: translateY(-1px); }
.day--pending { background: repeating-linear-gradient(45deg, #ffe6cf, #ffe6cf 6px, #ffd6b0 6px, #ffd6b0 12px); color: #b56b28; cursor: not-allowed; }
.day--booked { background: var(--sand-200); color: #a89a80; cursor: not-allowed; text-decoration: line-through; }
.day--past { color: #c3cdd3; cursor: not-allowed; }
.day--selected { background: var(--coral) !important; color: #fff !important; box-shadow: 0 4px 12px rgba(255,107,87,.4); }
.day--in-range { background: rgba(255,107,87,.18); color: var(--coral-dark); }
.calendar__legend { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--sand-200); font-size: .82rem; color: var(--muted); }
.calendar__legend span { display: inline-flex; align-items: center; gap: .45rem; }
.dot { width: 13px; height: 13px; border-radius: 4px; display: inline-block; }
.dot--free { background: var(--lagoon-100); border: 1px solid var(--lagoon-400); }
.dot--pending { background: #ffd6b0; }
.dot--booked { background: var(--sand-200); }
.dot--selected { background: var(--coral); }

.booking__aside { position: sticky; top: 90px; }
.booking__card { background: linear-gradient(160deg, var(--ocean-800), var(--ocean-900)); color: #fff; border-radius: var(--r-lg); padding: 1.8rem; box-shadow: var(--shadow-md); }
.booking__card h3 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: .8rem; }
.booking__hint { color: rgba(255,255,255,.7); font-size: .92rem; }
.booking__dates { display: flex; align-items: center; gap: 1rem; margin: .5rem 0 1rem; }
.booking__dates > div { flex: 1; }
.booking__dates span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--lagoon-100); }
.booking__dates strong { font-size: 1.15rem; }
.booking__arrow { flex: 0 !important; color: var(--lagoon-400); font-size: 1.2rem; }
.booking__nights { color: var(--lagoon-100); font-size: .9rem; margin-bottom: 1.2rem; }
.booking__card .btn--text { color: rgba(255,255,255,.65); }
.booking__card .btn--text:hover { color: #fff; }

/* ================================================================ CONTACT */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.contact__lead { color: var(--muted); }
.contact__list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
.contact__list li { display: flex; align-items: center; gap: .8rem; font-size: 1.05rem; }
.contact__list a:hover { color: var(--lagoon-600); }
.contact__list li.contact__person { align-items: flex-start; }
.contact__who { display: flex; flex-direction: column; gap: .15rem; }
.contact__who strong { font-size: .9rem; color: var(--ocean-900); }
.contact__lines { display: flex; align-items: center; gap: .5rem 1rem; flex-wrap: wrap; font-size: 1rem; }
.contact__lines .wa-link { color: #25d366; font-weight: 700; font-size: .9rem; }
.contact__lines .wa-link:hover { color: #128c4b; }
.contact__social { margin-top: 1.8rem; }
.contact__social-label { display: block; font-weight: 800; color: var(--ocean-900); margin-bottom: .7rem; font-size: 1rem; }
.soc-badges { display: flex; gap: .8rem; }
.soc-badge { display: inline-block; width: 46px; height: 46px; border-radius: 12px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.soc-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.soc-badge svg { width: 100%; height: 100%; display: block; }
.contact__cta-card { background: linear-gradient(160deg, var(--lagoon-500), var(--lagoon-600)); color: #fff; border-radius: var(--r-lg); padding: 2.5rem; text-align: center; box-shadow: var(--shadow-md); }
.contact__cta-card h3 { font-family: var(--font-serif); font-size: 1.9rem; margin-bottom: .5rem; }
.contact__cta-card p { margin-bottom: 1.5rem; opacity: .92; }
.contact__cta-card .btn--primary { background: #fff; color: var(--ocean-900); box-shadow: none; }
.contact__cta-card .btn--primary:hover { background: var(--sand-100); }

/* ================================================================= FOOTER */
.footer { background: var(--ocean-900); color: rgba(255,255,255,.75); padding: 3rem 0 2rem; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: start; }
.footer__brand { display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; }
.footer__logo { width: 170px; max-width: 60vw; height: auto; display: block; }
.footer__brand p { margin: 0; font-size: .9rem; max-width: 320px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: flex-end; }
.footer__links a:hover { color: var(--lagoon-400); }
.footer__legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; margin: 1rem 0 0; font-size: .78rem; opacity: .72; }
.footer__legal + .footer__copy { border-top: none; padding-top: 0; margin-top: .4rem; }
/* Petit plan des pages annexes (discret, en bas du footer) */
.footer__pages { grid-column: 1 / -1; margin: 1.4rem 0 .2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .68rem; line-height: 1.9; color: rgba(255,255,255,.4); }
.footer__pages-t { color: rgba(255,255,255,.5); font-weight: 700; margin-right: .3rem; }
.footer__pages a { color: rgba(255,255,255,.42); margin-right: .7rem; white-space: nowrap; transition: color .15s; }
.footer__pages a:hover { color: rgba(255,255,255,.82); text-decoration: underline; }
.footer__credit { grid-column: 1 / -1; margin: .3rem 0 0; font-size: .72rem; opacity: .45; letter-spacing: .02em; }
.footer__credit a { color: inherit; text-decoration: none; font-weight: 600; }
.footer__credit a:hover { opacity: 1; text-decoration: underline; }
.footer__copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; margin: 1rem 0 0; font-size: .82rem; }

/* ================================================================== MODAL */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1.2rem; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10,37,64,.6); backdrop-filter: blur(4px); animation: fade .2s ease; }
.modal__dialog { position: relative; background: var(--sand-50); border-radius: var(--r-xl); width: min(100%, 500px); max-height: 92vh; overflow-y: auto; overscroll-behavior: contain; box-shadow: var(--shadow-lg); animation: pop .28s cubic-bezier(.2,.9,.3,1.2); }
.modal { overscroll-behavior: contain; }
.modal__dialog--wide { width: min(100%, 720px); }
/* Mode tableau de bord (admin / client / skipper) : fenêtre large + haute, sans padding
   propre (la console gère sa mise en page en 2 colonnes). */
.modal__dialog--console { width: min(100%, 1060px); height: 92vh; overflow: hidden; }
.modal__dialog--console .modal__body { padding: 0; height: 100%; }
.modal__close { position: absolute; top: 1rem; right: 1rem; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); font-size: 1.6rem; color: var(--muted); line-height: 1; display: grid; place-items: center; }
.modal__close:hover { color: var(--coral); }
.modal__body { padding: 2.2rem; }
.modal__body--center { text-align: center; }
.modal__title { font-family: var(--font-serif); font-size: 2rem; color: var(--ocean-900); }
.modal__subtitle { color: var(--muted); margin-top: .4rem; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }

/* ================================================================== FORMS */
.form { margin-top: 1.5rem; display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field__label { font-size: .82rem; font-weight: 700; color: var(--ocean-800); }
.field__note { font-size: .8rem; color: var(--muted); margin: .2rem 0 0; }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--sand-200); border-radius: var(--r-sm);
  font: inherit; font-size: .95rem; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lagoon-500); box-shadow: 0 0 0 3px var(--lagoon-100); }
.field textarea { resize: vertical; }
.phone { display: grid; grid-template-columns: 130px 1fr; gap: .5rem; }
.phone__dial { padding-inline: .5rem; }
.segmented { display: inline-flex; background: var(--sand-100); border-radius: 100px; padding: .25rem; gap: .25rem; }
.segmented__btn { padding: .5rem 1rem; border-radius: 100px; font-weight: 600; font-size: .88rem; color: var(--muted); transition: .2s; }
.segmented__btn.is-active { background: #fff; color: var(--ocean-900); box-shadow: var(--shadow-sm); }
.segmented__btn:disabled { opacity: .4; cursor: not-allowed; }
.form__summary { background: #fff; border: 1px dashed var(--lagoon-400); border-radius: var(--r-md); padding: 1rem 1.2rem; display: none; }
.form__summary.is-visible { display: block; }
.form__summary-row { display: flex; justify-content: space-between; font-size: .92rem; padding: .2rem 0; }
.form__summary-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.15rem; color: var(--ocean-900); border-top: 1px solid var(--sand-200); margin-top: .5rem; padding-top: .6rem; }
.form__actions { display: flex; justify-content: flex-end; gap: .8rem; align-items: center; margin-top: .5rem; }
.form__actions--center { justify-content: center; }
.form__legal { font-size: .78rem; color: var(--muted); margin: 0; }

/* =============================================================== SUCCESS */
.success__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--lagoon-500); color: #fff; font-size: 2.2rem; display: grid; place-items: center; margin: 0 auto 1.2rem; box-shadow: 0 10px 30px rgba(23,176,189,.4); }
.success__ref { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--r-md); padding: 1rem; margin: 1.2rem 0; font-family: var(--font-serif); font-size: 1.3rem; color: var(--ocean-900); }

/* ========================================================= ESPACE CLIENT */
.auth { display: grid; gap: 1.2rem; }
.auth__tabs { display: flex; gap: .5rem; background: var(--sand-100); padding: .3rem; border-radius: 100px; }
.auth__tab { flex: 1; padding: .6rem; border-radius: 100px; font-weight: 700; color: var(--muted); transition: .2s; }
.auth__tab.is-active { background: #fff; color: var(--ocean-900); box-shadow: var(--shadow-sm); }
.auth__hint { background: var(--lagoon-100); border-radius: var(--r-md); padding: .8rem 1rem; font-size: .85rem; color: var(--ocean-800); }
.auth__book-note { background: #fff4e8; border: 1px solid #ffd6b0; border-radius: var(--r-md); padding: .8rem 1rem; font-size: .9rem; color: #b56b28; margin-top: 1rem; font-weight: 600; }
.auth__error { color: var(--coral-dark); font-size: .88rem; font-weight: 600; }

.dashboard__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.dashboard__welcome span { color: var(--muted); font-size: .9rem; }
.dashboard__welcome h2 { font-family: var(--font-serif); color: var(--ocean-900); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.stat { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--r-md); padding: 1.1rem 1.2rem; }
.stat__value { font-family: var(--font-serif); font-size: 2rem; color: var(--ocean-900); font-weight: 600; }
.stat__label { font-size: .82rem; color: var(--muted); }
.dash__section-title { font-weight: 800; color: var(--ocean-900); margin: 1.5rem 0 .8rem; font-size: 1.05rem; }
.res-card { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--r-md); padding: 1.1rem 1.3rem; display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; align-items: center; margin-bottom: .8rem; }
.res-card__title { font-weight: 800; color: var(--ocean-900); }
.res-card__meta { color: var(--muted); font-size: .88rem; }
.res-card__side { text-align: right; }
.badge { display: inline-block; padding: .25rem .7rem; border-radius: 100px; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.badge--confirmed { background: #d7f5e3; color: #1a7d47; }
.badge--pending { background: #ffe6cf; color: #b56b28; }
.badge--cancelled { background: #f5d7d7; color: #a33; }
.res-card__invoice { font-size: .82rem; color: var(--lagoon-600); font-weight: 700; margin-top: .3rem; }
.res-card__invoice a:hover { text-decoration: underline; }
.empty { text-align: center; color: var(--muted); padding: 2rem; background: #fff; border-radius: var(--r-md); border: 1px dashed var(--sand-200); }

/* Espace gérant (inbox) */
.inbox-item { background: #fff; border: 1px solid var(--sand-200); border-left: 4px solid var(--coral); border-radius: var(--r-md); padding: 1.1rem 1.3rem; margin-bottom: .8rem; }
.inbox-item.is-read { border-left-color: var(--sand-200); opacity: .7; }
.inbox-item__subject { font-weight: 800; color: var(--ocean-900); }
.inbox-item__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .3rem 1rem; margin: .7rem 0; font-size: .88rem; }
.inbox-item__grid span { color: var(--muted); }

/* ===================================================== ONGLETS (espaces) */
.tabs { display: flex; gap: .4rem; background: var(--sand-100); padding: .3rem; border-radius: 100px; margin-bottom: 1.4rem; flex-wrap: wrap; }
.tab { flex: 1; min-width: max-content; padding: .55rem .9rem; border-radius: 100px; font-weight: 700; font-size: .9rem; color: var(--muted); transition: .2s; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; }
.tab.is-active { background: #fff; color: var(--ocean-900); box-shadow: var(--shadow-sm); }
.tab__badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; background: var(--coral); color: #fff; border-radius: 100px; font-size: .68rem; font-weight: 800; font-style: normal; }

/* ===================================== CONSOLE (menu à gauche, contenu à droite) */
.console { display: grid; grid-template-columns: 244px 1fr; height: 100%; }
.console__nav { display: flex; flex-direction: column; background: linear-gradient(180deg, #1c6690, var(--ocean-700)); color: #fff; padding: 1.6rem 1rem 1.2rem; overflow-y: auto; overscroll-behavior: contain; }
.console__brand { padding: 0 .6rem 1.1rem; }
.console__eyebrow { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--lagoon-400); font-weight: 700; margin-bottom: .1rem; }
.console__title { font-family: var(--font-serif); font-size: 1.55rem; line-height: 1.1; }
.cnav { display: flex; flex-direction: column; gap: .18rem; }
.cnav__item { display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left; padding: .58rem .7rem; border-radius: var(--r-md); color: rgba(255,255,255,.82); font-weight: 600; font-size: .92rem; transition: background .15s, color .15s; }
.cnav__item:hover { background: rgba(255,255,255,.09); color: #fff; }
.cnav__item.is-active { background: #fff; color: var(--ocean-900); box-shadow: var(--shadow-sm); }
.cnav__icon { width: 1.35rem; text-align: center; font-size: 1.02rem; flex-shrink: 0; }
.cnav__label { flex: 1; }
.cnav__badge { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; background: var(--coral); color: #fff; border-radius: 100px; font-size: .68rem; font-weight: 800; }
.console__logout { margin-top: auto; color: #fff; border: 1.5px solid rgba(255,255,255,.4); background: transparent; }
.console__logout:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
.console__main { overflow-y: auto; overscroll-behavior: contain; padding: 1.8rem 2rem 2.2rem; }
.console__topbar { margin: 0 0 1.3rem; padding-right: 2.6rem; }
.console__topbar h3 { font-family: var(--font-serif); font-size: 1.7rem; color: var(--ocean-900); }
.console .dashboard__head, .console .tabs { display: none; }
@media (max-width: 760px) {
  .console { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .console__nav { padding: 1.1rem 1rem; }
  .console__brand { padding-bottom: .8rem; }
  .cnav { flex-direction: row; overflow-x: auto; gap: .4rem; padding-bottom: .15rem; }
  .cnav__item { position: relative; flex-direction: column; gap: .2rem; min-width: 76px; padding: .5rem .35rem; font-size: .72rem; text-align: center; }
  .cnav__label { flex: none; }
  .cnav__badge { position: absolute; top: 2px; right: 6px; }
  .console__logout { margin-top: .8rem; }
  .console__main { padding: 1.3rem 1.1rem 1.7rem; }
  .console__topbar { padding-right: 2.4rem; }
}

/* Pastille "non lus" sur le bouton Espace client */
.btn.has-unread { position: relative; }
.btn.has-unread::after { content: ""; position: absolute; top: -3px; right: -3px; width: 11px; height: 11px; background: var(--coral); border: 2px solid #fff; border-radius: 50%; }

/* Tuiles de stats auto-ajustées (3 ou 4) */
.stats { grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); }

/* ===================================================== MESSAGERIE */
.thread { display: flex; flex-direction: column; gap: .6rem; max-height: 340px; overflow-y: auto; padding: .3rem; margin-bottom: 1rem; }
.thread--empty { max-height: none; }
.bubble { max-width: 80%; padding: .7rem .95rem; border-radius: 16px; }
.bubble__text { font-size: .93rem; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.bubble__meta { font-size: .72rem; margin-top: .3rem; opacity: .75; }
.bubble--them { align-self: flex-start; background: #fff; border: 1px solid var(--sand-200); color: var(--ink); border-bottom-left-radius: 4px; }
.bubble--me { align-self: flex-end; background: var(--lagoon-600); color: #fff; border-bottom-right-radius: 4px; }
.bubble--me .bubble__meta { color: rgba(255,255,255,.85); }
.bubble { position: relative; }
.bubble__actions { display: flex; gap: .2rem; position: absolute; top: -8px; right: 6px; opacity: 0; transition: opacity .12s; }
.bubble:hover .bubble__actions, .bubble:focus-within .bubble__actions { opacity: 1; }
.bubble__act { background: #fff; border: 1px solid var(--sand-200); border-radius: 100px; width: 24px; height: 24px; font-size: .72rem; line-height: 1; cursor: pointer; color: var(--ink); box-shadow: var(--shadow-sm); padding: 0; }
.bubble__act:hover { background: var(--sand-100); }
@media (hover: none) { .bubble__actions { opacity: 1; } }
.composer { display: flex; gap: .6rem; }
.composer__input { flex: 1; padding: .75rem .9rem; border: 1.5px solid var(--sand-200); border-radius: 100px; font: inherit; font-size: .95rem; background: #fff; }
.composer__input:focus { outline: none; border-color: var(--lagoon-500); box-shadow: 0 0 0 3px var(--lagoon-100); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.chip { padding: .45rem .9rem; border-radius: 100px; background: #fff; border: 1.5px solid var(--sand-200); font-weight: 700; font-size: .85rem; color: var(--muted); display: inline-flex; align-items: center; gap: .4rem; transition: .2s; }
.chip:hover { border-color: var(--lagoon-400); }
.chip.is-active { background: var(--ocean-800); border-color: var(--ocean-800); color: #fff; }
.msg-modes, .msg-targets { margin-bottom: 1rem; }

/* ===================================================== PLANNING (admin) */
.planning__head { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin: .4rem 0 1rem; }
.planning__head strong { font-size: 1.1rem; min-width: 180px; text-align: center; }
.planning__weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 4px; }
.planning__weekdays span { text-align: center; font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.planning__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.pday { position: relative; min-height: 46px; border-radius: 8px; padding: 4px 5px; background: var(--sand-50); border: 1px solid var(--sand-200); display: flex; flex-direction: column; }
.pday--empty { background: transparent; border: 0; }
.pday__n { font-size: .78rem; font-weight: 700; color: var(--ink); }
.pday__who { font-size: .66rem; margin-top: auto; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pday--free { background: #fff; }
.pday--trip { background: var(--coral); border-color: var(--coral); color: #fff; }
.pday--trip .pday__n, .pday--trip .pday__who { color: #fff; }
.pday--prep { background: #ffe3c2; border-color: #f4c78d; }
.pday--prep .pday__n { color: #b56b28; }
.pday--clean { background: #cdeef0; border-color: #9bd7db; }
.pday--clean .pday__n { color: #0e7d8a; }
.pday--turn { background: linear-gradient(135deg, #ffe3c2 0 50%, #cdeef0 50% 100%); border-color: #d6b98f; }
.pday--turn .pday__n { color: #9a5b1f; }
.pday--today { outline: 2px solid var(--ocean-800); outline-offset: 1px; }
/* Réservation en attente de validation → motif hachuré ; confirmée/finalisée → plein. */
.pday--await { position: relative; }
.pday--await::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: repeating-linear-gradient(45deg, rgba(255,255,255,.55) 0 4px, transparent 4px 8px); }
.pday--await { border-style: dashed; }
.pday--confirmed { box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.pl-leg--confirmed::before { background: var(--coral); }
.pl-leg--await::before { background: var(--coral); background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.6) 0 3px, transparent 3px 6px); border: 1px dashed #c1553f; }
.planning__legend--status { margin-top: .4rem; padding-top: .6rem; border-top: 1px dashed var(--sand-200); }
.planning__legend { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; font-size: .82rem; }
.pl-leg { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink); }
.pl-leg::before { content: ""; width: 16px; height: 16px; border-radius: 4px; display: inline-block; }
.pl-leg--trip::before { background: var(--coral); }
.pl-leg--prep::before { background: #ffe3c2; border: 1px solid #f4c78d; }
.pl-leg--clean::before { background: #cdeef0; border: 1px solid #9bd7db; }
.pl-leg--turn::before { background: linear-gradient(135deg, #ffe3c2 0 50%, #cdeef0 50% 100%); border: 1px solid #d6b98f; }

/* ===================================================== ANNUAIRE CLIENTS */
.dir__search { position: relative; margin-bottom: 1rem; }
.dir__search-icon { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); opacity: .5; font-size: .95rem; }
.dir__search input { width: 100%; padding: .75rem .9rem .75rem 2.3rem; border: 1.5px solid var(--sand-200); border-radius: 100px; font: inherit; font-size: .95rem; background: #fff; }
.dir__search input:focus { outline: none; border-color: var(--lagoon-500); box-shadow: 0 0 0 3px var(--lagoon-100); }
.dir__count { font-size: .8rem; color: var(--muted); margin-bottom: .6rem; }
.dir__list { display: flex; flex-direction: column; gap: .6rem; }
.dir-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: #fff; border: 1px solid var(--sand-200); border-radius: var(--r-md); padding: .85rem 1.1rem; }
.dir-card__name { font-weight: 800; color: var(--ink); }
.dir-card__meta { font-size: .85rem; margin-top: .15rem; }
.dir-card__meta a { color: var(--ocean-700); }
.dir-card__stat { font-size: .78rem; color: var(--muted); margin-top: .2rem; }
.dir-card--premium { border-color: #e6c86a; box-shadow: inset 3px 0 0 #e0b84e; }
.dir-card__crown { font-size: .9rem; }
.dir-card__premium { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-top: .55rem; padding-top: .55rem; border-top: 1px dashed var(--sand-200); font-size: .82rem; }
.dir-card__prem-toggle { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--ocean-900); cursor: pointer; }
.dir-card__prem-disc { color: var(--muted); }
.dir-card__prem-disc input { width: 62px; padding: .25rem .4rem; border: 1px solid var(--sand-200); border-radius: 8px; font-size: .82rem; }
.dir-card__prem-disc input:disabled { opacity: .5; }
.form__summary .is-discount { color: #0e8f9e; font-weight: 800; }
.sk-check { display: inline-flex; align-items: center; gap: .45rem; font-size: .92rem; color: var(--ink); padding: .5rem 0; }

/* ===================================================== OBSERVATION MESSAGES (admin) */
.observe-item { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--r-md); padding: 1rem 1.1rem; margin-bottom: .9rem; }
.observe-item__head { font-weight: 700; color: var(--ink); margin-bottom: .6rem; font-size: .95rem; }
.thread--observe { max-height: 220px; }
.flow-line--pay { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .5rem; }
.dir-card__actions { display: flex; flex-direction: column; gap: .3rem; align-items: flex-end; flex-shrink: 0; }

/* ===================================================== CALENDRIER FORM ADMIN */
.cr-cal { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--r-md); padding: 1rem; }
.cr-cal__head { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: .8rem; }
.cr-cal__head strong { min-width: 150px; text-align: center; text-transform: capitalize; }
.cal__nav { width: 34px; height: 34px; border-radius: 50%; background: var(--sand-100); color: var(--ocean-800); font-size: 1.2rem; line-height: 1; }
.cal__nav:hover:not(:disabled) { background: var(--lagoon-100); }
.cal__nav:disabled { opacity: .35; cursor: not-allowed; }
.cr-cal__weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 4px; }
.cr-cal__weekdays span { text-align: center; font-size: .68rem; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.cr-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cr-cal__grid .day { font-size: .82rem; }
.cr-cal__legend { display: flex; gap: 1rem; margin-top: .8rem; font-size: .78rem; color: var(--muted); }
.cr-leg { display: inline-flex; align-items: center; gap: .4rem; }
.cr-leg::before { content: ""; width: 13px; height: 13px; border-radius: 4px; display: inline-block; }
.cr-leg--free::before { background: var(--lagoon-100); }
.cr-leg--busy::before { background: var(--sand-200); }
.cr-cal__display { margin: .7rem 0 0; font-weight: 700; color: var(--ocean-800); text-align: center; }

/* ===================================================== ARCHIVE */
.badge--finalized { background: #e5eaf0; color: #5a6b7d; }

/* ===================================================== APERÇU E-MAILS (admin) */
.email-outbox { margin-top: 1rem; display: flex; flex-direction: column; gap: .7rem; }
.email-outbox__item { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--r-md); padding: .8rem 1rem; }
.email-outbox__head { margin-bottom: .5rem; }
.email-outbox__body { margin: 0; white-space: pre-wrap; font: inherit; font-size: .85rem; color: var(--ink); background: var(--sand-50); border-radius: 8px; padding: .7rem .8rem; max-height: 200px; overflow: auto; }
.archive-toggle { color: var(--muted); font-weight: 700; }
.archive-list { margin-top: .8rem; }
.inbox-item--archived { opacity: .72; border-left-color: #b9c4cf; }
/* Nouvelle demande épinglée en haut : liseré corail + léger fond pour la faire ressortir. */
.inbox-item--new { border-left-color: var(--coral); border-left-width: 5px; background: #fff7f5; box-shadow: 0 6px 18px rgba(255,107,87,.14); }
.badge--new { background: var(--coral); color: #fff; }

/* ===================================================== BOUTON RETOUR EN HAUT */
.fab-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; background: var(--ocean-800); color: #fff; font-size: 1.4rem; line-height: 1; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(10,37,64,.28); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, background .2s, visibility .25s; }
.fab-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.fab-top:hover { background: var(--ocean-900); transform: translateY(-2px); }

/* ===================================================== BOUTON RETOUR FLOTTANT */
.fab-feedback { position: fixed; left: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .9rem; border-radius: 100px; background: var(--ocean-800); color: #fff; font-weight: 700; font-size: .85rem; box-shadow: 0 6px 20px rgba(10,37,64,.28); transition: transform .15s, background .2s; }
.fab-feedback:hover { transform: translateY(-2px); background: var(--ocean-900); }
.fab-feedback__icon { font-size: 1.1rem; line-height: 1; }
@media (max-width: 640px) { .fab-feedback__label { display: none; } .fab-feedback { padding: .7rem; } }
.fb-type { display: flex; gap: .6rem; margin-bottom: 1rem; }
.fb-type__opt { flex: 1; }
.fb-type__opt input { position: absolute; opacity: 0; }
.fb-type__opt span { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .7rem; border: 1.5px solid var(--sand-200); border-radius: var(--r-md); font-weight: 700; font-size: .9rem; cursor: pointer; transition: .15s; }
.fb-type__opt input:checked + span { border-color: var(--ocean-800); background: var(--sand-100); color: var(--ocean-900); }
.fb-msg { margin: .3rem 0 .2rem; font-size: .95rem; line-height: 1.5; white-space: pre-wrap; }

/* ===================================================== AVIS CLIENT (étoiles) */
.review-box { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--r-md); padding: 1.1rem 1.2rem; }
.review-status { font-size: .85rem; color: var(--muted); margin: 0 0 .6rem; }
.star-input { display: inline-flex; gap: .2rem; margin-bottom: .6rem; }
.star-input .star { font-size: 1.7rem; line-height: 1; color: var(--sand-200); transition: color .12s, transform .1s; }
.star-input .star:hover { transform: scale(1.12); }
.star-input .star.is-on { color: #f5b301; }
.review-text { width: 100%; padding: .7rem .9rem; border: 1.5px solid var(--sand-200); border-radius: var(--r-md); font: inherit; font-size: .95rem; resize: vertical; margin-bottom: .7rem; }
.review-text:focus { outline: none; border-color: var(--lagoon-500); box-shadow: 0 0 0 3px var(--lagoon-100); }
/* Un avis par réservation */
.review-res { padding: .9rem 0; border-top: 1px dashed var(--sand-200); }
.review-res:first-of-type { border-top: none; padding-top: 0; }
.review-res__head { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin-bottom: .5rem; }
.review-res__text { font-style: italic; color: var(--ink); margin: .3rem 0 .2rem; }
.review-res__sign { font-size: .85rem; color: var(--muted); margin: .1rem 0 0; }

/* ===================================================== GRILLE PHOTOS */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .9rem; }
.photo { margin: 0; background: #fff; border: 1px solid var(--sand-200); border-radius: var(--r-md); overflow: hidden; }
.photo.is-shared, .photo.is-featured { border-color: var(--lagoon-500); box-shadow: 0 0 0 2px var(--lagoon-100); }
.photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.photo figcaption { padding: .55rem .7rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.photo__owner { font-size: .8rem; color: var(--muted); }
.photo__del { color: var(--muted); font-size: 1rem; padding: .2rem; line-height: 1; }
.photo__del:hover { color: var(--coral); }
.switch { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 700; color: var(--muted); cursor: pointer; }
.switch input { width: 16px; height: 16px; accent-color: var(--lagoon-600); }
.photo.is-shared .switch { color: var(--lagoon-600); }
.btn--sm { padding: .4rem .75rem; font-size: .78rem; box-shadow: none; }

/* ===================================================== GESTION ÉQUIPAGE */
.sk-row { display: grid; grid-template-columns: 52px 1fr auto auto; gap: .8rem; align-items: center; background: #fff; border: 1px solid var(--sand-200); border-radius: var(--r-md); padding: .7rem .9rem; margin-bottom: .7rem; }
.sk-row img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--sand-100); }
.sk-row__info { display: flex; flex-direction: column; min-width: 0; }
.sk-row__info strong { color: var(--ocean-900); }
.sk-row__info span { color: var(--muted); font-size: .85rem; }
.sk-acct { font-style: normal; font-size: .74rem; font-weight: 600; margin-top: .15rem; }
.sk-acct--active { color: #1a8a4a; }
.sk-acct--invited { color: #b8791b; }
.sk-acct--none { color: var(--muted); font-weight: 500; }
.sk-photo { display: flex; gap: .8rem; align-items: center; }
.sk-photo img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--sand-100); border: 1px solid var(--sand-200); }

/* ===================================================== WORKFLOW RÉSERVATION */
.res-card--flow { display: block; }
.res-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.res-card__amounts { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin: .7rem 0; font-size: .9rem; color: var(--muted); }
.res-card__amounts span { display: inline-flex; align-items: baseline; gap: .35rem; }
.res-card__amounts strong { color: var(--ocean-900); }
.flow-box { background: var(--sand-50); border: 1px solid var(--sand-200); border-radius: var(--r-md); padding: 1rem; margin-top: .8rem; }
.flow-box--ok { background: #e9f9f0; border-color: #b7e6cc; color: #1a7d47; }
.flow-box--ok p { margin: 0; font-weight: 600; }
.flow-box__title { display: block; color: var(--ocean-900); margin-bottom: .5rem; }
.flow-skipper { display: flex; align-items: center; gap: .7rem; margin: .5rem 0; }
.flow-skipper img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--sand-100); }
.flow-skipper span { display: flex; flex-direction: column; font-weight: 700; color: var(--ocean-900); }
.flow-skipper i { font-style: normal; font-weight: 500; font-size: .82rem; color: var(--muted); }
.flow-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
.flow-line { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: .5rem 0; font-size: .92rem; }
.flow-line strong { color: var(--ocean-900); }
.flow-line--reassign { border-top: 1px dashed var(--sand-200); padding-top: .55rem; margin-top: .55rem; flex-wrap: wrap; }
.flow-line--reassign .flow-attribute { flex: 1; min-width: 12rem; }
.flow-attribute { display: flex; gap: .6rem; align-items: center; }
.flow-attribute select { flex: 1; min-width: 0; padding: .55rem .6rem; border: 1.5px solid var(--sand-200); border-radius: var(--r-sm); font: inherit; background: #fff; }
.form__summary-sub { border-top: 1px dashed var(--sand-200); font-weight: 800; color: var(--ocean-900); }
.badge--proposed { background: #dbe9ff; color: #1e5bb8; }
.badge--awaiting { background: #ffe6cf; color: #b56b28; }

/* ===================================================== CGV */
.cgv-company { font-size: .85rem; color: var(--muted); margin: .3rem 0 1rem; }
.cgv-articles { display: grid; gap: 1rem; margin: 1.4rem 0; }
.cgv-article h3 { font-size: 1rem; color: var(--ocean-900); margin: 0 0 .3rem; }
.cgv-article p { margin: 0; font-size: .92rem; color: var(--ink); line-height: 1.6; }
.cgv-foot { font-size: .88rem; font-weight: 700; color: var(--ocean-800); border-top: 1px solid var(--sand-200); padding-top: 1rem; }
.field--cgv { display: flex; flex-direction: column; align-items: stretch; gap: .7rem; background: var(--sand-50); border: 1px solid var(--sand-200); border-radius: var(--r-md); padding: .9rem 1rem; }
.cgv-hint { margin: 0; font-size: .85rem; line-height: 1.45; color: var(--ocean-800); background: #fff3e6; border-left: 3px solid var(--coral); border-radius: 6px; padding: .55rem .7rem; }
.field--cgv.is-unlocked .cgv-hint { color: #1a7d47; background: #e5f7ec; border-left-color: #2ec16e; }
.cgv-read-btn { align-self: flex-start; white-space: nowrap; font-weight: 700; }
.field--cgv.is-unlocked .cgv-read-btn { opacity: .55; }
.cgv-check { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--muted); cursor: not-allowed; padding-top: .1rem; }
.field--cgv.is-unlocked .cgv-check { color: var(--ink); cursor: pointer; font-weight: 600; }
.cgv-check input { width: 20px; height: 20px; accent-color: var(--lagoon-600); flex-shrink: 0; }
.cgv-check input:disabled { cursor: not-allowed; }

/* ===================================================== RÉCAP FACTURES */
.invoices { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--r-md); overflow: hidden; }
.invoice-row { display: grid; grid-template-columns: 1.1fr 2fr 1.2fr .9fr auto; gap: .6rem 1rem; align-items: center; padding: .7rem 1rem; border-bottom: 1px solid var(--sand-100); font-size: .9rem; }
.invoice-row--head { background: var(--sand-100); font-weight: 800; font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.invoice-row__num { font-weight: 700; color: var(--ocean-900); }
.invoice-row__trip { display: flex; flex-direction: column; }
.invoice-row__trip i { font-style: normal; color: var(--muted); font-size: .8rem; }
.invoice-row__amount { font-weight: 700; }
.invoice-total { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem; font-weight: 800; color: var(--ocean-900); background: var(--sand-50); }
.invoice-total strong { font-size: 1.1rem; }
@media (max-width: 640px) {
  .invoice-row--head { display: none; }
  .invoice-row { grid-template-columns: 1fr auto; row-gap: .35rem; }
  .invoice-row__trip { grid-column: 1 / -1; }
  .invoice-row__amount { grid-column: 1; }
}

/* ===================================================== CARROUSEL */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.carousel__track { display: flex; transition: transform .5s ease; }
.carousel__slide { min-width: 100%; }
.carousel__slide img { width: 100%; height: clamp(280px, 52vw, 560px); object-fit: cover; display: block; }
.carousel__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ocean-900); font-size: 1.6rem; box-shadow: var(--shadow-md); display: grid; place-items: center; transition: background .2s; }
.carousel__nav:hover { background: #fff; }
.carousel__nav--prev { left: 14px; }
.carousel__nav--next { right: 14px; }
.carousel__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
.carousel__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sand-200); transition: background .2s, transform .2s; }
.carousel__dot.is-active { background: var(--coral); transform: scale(1.25); }

/* ================================================================= TOAST */
.toast { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%) translateY(20px); z-index: 300; background: var(--ocean-900); color: #fff; padding: .9rem 1.4rem; border-radius: 100px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: .92rem; opacity: 0; transition: opacity .3s, transform .3s; }
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===================================================== BOUTIQUE */
.shop { display: grid; grid-template-columns: 1fr 320px; gap: 1.5rem; align-items: start; }
.shop__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.2rem; }
.shop__grid--soon { grid-column: 1 / -1; display: block; }
.shop-soon { text-align: center; padding: 3.2rem 1.5rem; background: #fff; border: 1.5px dashed var(--sand-200); border-radius: var(--r-lg); }
.shop-soon__icon { font-size: 3rem; line-height: 1; }
.shop-soon h3 { font-family: var(--font-serif); font-size: 1.6rem; color: var(--ocean-900); margin: .6rem 0 .4rem; }
.shop-soon p { color: var(--muted); max-width: 460px; margin: 0 auto; }
.product { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--r-lg); padding: 1.4rem 1.2rem; text-align: center; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product__emoji { font-size: 2.6rem; }
.product__name { font-family: var(--font-serif); font-size: 1.3rem; color: var(--ocean-900); margin: .4rem 0 .2rem; }
.product__price { font-weight: 800; color: var(--ocean-900); margin-bottom: .8rem; }
.product__perso { display: grid; gap: .5rem; margin-bottom: .9rem; }
.product__perso input { width: 100%; padding: .55rem .7rem; border: 1.5px solid var(--sand-200); border-radius: var(--r-sm); font: inherit; font-size: .85rem; }
.product .btn { margin-top: auto; }
.shop__cart { position: sticky; top: 90px; }
.shop__cart-box { background: linear-gradient(160deg, var(--ocean-800), var(--ocean-900)); color: #fff; border-radius: var(--r-lg); padding: 1.4rem; box-shadow: var(--shadow-md); }
.shop__cart-box h3 { font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: .8rem; }
.shop__cart-box .empty { background: rgba(255,255,255,.08); border: 1px dashed rgba(255,255,255,.25); color: rgba(255,255,255,.7); }
.cart-item { display: grid; grid-template-columns: auto 1fr auto auto; gap: .6rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.cart-item__emoji { font-size: 1.3rem; }
.cart-item__info { display: flex; flex-direction: column; min-width: 0; }
.cart-item__info strong { font-size: .92rem; }
.cart-item__info span { font-size: .78rem; color: var(--lagoon-100); }
.cart-item__price { font-weight: 700; font-size: .9rem; white-space: nowrap; }
.cart-item__del { color: rgba(255,255,255,.6); font-size: 1.3rem; line-height: 1; }
.cart-item__del:hover { color: var(--coral); }
.cart-total { display: flex; justify-content: space-between; align-items: center; padding: .8rem 0; font-weight: 800; font-size: 1.1rem; }

/* ===================================================== RÉSEAUX (footer) */
.footer__social { display: flex; align-items: center; gap: .6rem; grid-column: 1 / -1; margin-top: .3rem; }
.footer__social-label { font-size: .82rem; color: rgba(255,255,255,.6); margin-right: .2rem; }
.footer__social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); transition: background .2s, color .2s; }
.footer__social a:hover { background: var(--lagoon-500); color: #fff; }
.footer__social svg { width: 18px; height: 18px; }
.footer__staff { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-top: .7rem; font-size: .8rem; }
.footer__staff-label { color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 700; }
.footer__staff a { background: var(--sand-100); color: var(--ocean-900); padding: .42rem .95rem; border-radius: 100px; font-weight: 700; font-size: .82rem; box-shadow: var(--shadow-sm); transition: background .2s, transform .15s; }
.footer__staff a:hover { background: var(--sand-200); color: var(--ocean-900); transform: translateY(-1px); }
.footer__staff-sep { display: none; }

/* ===================================================== GALERIE ADMIN + RÉGLAGES */
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .9rem; }
.gal-item { margin: 0; background: #fff; border: 1px solid var(--sand-200); border-radius: var(--r-md); overflow: hidden; }
.gal-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.gal-item figcaption { display: flex; gap: .3rem; padding: .5rem; justify-content: center; flex-wrap: wrap; }
.reglages-sep { height: 1px; background: var(--sand-200); margin: 2rem 0 1.5rem; }

/* ============================================================ RESPONSIVE */
@media (max-width: 980px) {
  .shop { grid-template-columns: 1fr; }
  .shop__cart { position: static; }
  .highlights__grid { grid-template-columns: repeat(2, 1fr); }
  .formules__grid, .equipe__grid, .temoignages__grid, .lieux__grid { grid-template-columns: repeat(2, 1fr); }
  .bateau { grid-template-columns: 1fr; }
  .booking { grid-template-columns: 1fr; }
  .booking__aside { position: static; }
  .contact { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
}
/* Nav : bascule en menu hamburger dès que la barre devient trop chargée */
@media (max-width: 1200px) {
  .nav__links { position: fixed; inset: 68px 0 auto 0; background: rgba(251,247,240,.98); backdrop-filter: blur(12px); flex-direction: column; gap: 0; padding: 1rem 1.5rem 1.5rem; box-shadow: var(--shadow-md); transform: translateY(-120%); transition: transform .3s ease; }
  .nav__links.is-open { transform: translateY(0); }
  .nav__link { color: var(--ocean-800) !important; padding: .8rem 0; border-bottom: 1px solid var(--sand-200); white-space: normal; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
  .nav.is-scrolled { background: rgba(251,247,240,.98); }
  /* Bouton compte compact (icône seule) pour laisser la place au menu */
  .nav__actions { gap: .5rem; }
  #btnAccount { padding: .55rem .6rem; }
  #btnAccount #accountLabel { display: none; }
  #btnAccount .icon-user { font-size: 1.05rem; }
}
/* Petit écran : on évite tout chevauchement dans le header (logo + langue + devise +
   compte + burger). Le logo contient déjà le mot « NIRVANA » → on masque le texte
   de marque redondant et on compacte les sélecteurs. */
@media (max-width: 600px) {
  .nav__name { display: none; }
  .nav__logo { height: 34px; }
  .nav__brand { gap: .35rem; }
  .nav__actions { gap: .35rem; }
  .lang { padding: 2px; }
  .lang__btn { padding: .3rem .5rem; font-size: .72rem; }
  .cur-switch { padding: .3rem .4rem; font-size: .68rem; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .highlights__grid { grid-template-columns: 1fr 1fr; padding: 1.2rem; }
  .formules__grid, .equipe__grid, .temoignages__grid, .lieux__grid { grid-template-columns: 1fr; }
  .bateau__specs { grid-template-columns: repeat(2, 1fr); }
  .bateau__amenities { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
  .modal__body { padding: 1.5rem; }
  .res-card { grid-template-columns: 1fr; }
  .res-card__side { text-align: left; }
  .hero { min-height: 92svh; }
}
@media (max-width: 420px) {
  .highlights__grid { grid-template-columns: 1fr; }
  .phone { grid-template-columns: 110px 1fr; }
}

/* ============================== Verrou de scroll (module ouvert) ============================== */
/* Fige l'arrière-plan quand un modal est ouvert — compatible iOS (position:fixed). */
body.scroll-locked { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }

/* ============================== Accessibilité : focus clavier visible ============================== */
/* Anneau de focus net au clavier (pas au clic souris), sur tous les éléments interactifs. */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--lagoon-500);
  outline-offset: 2px;
  border-radius: 4px;
}
/* Lien d'évitement (accessibilité clavier) si présent. */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 1000; background: var(--ocean-800); color: #fff; padding: .6rem 1rem; border-radius: 0 0 var(--r-sm) 0; }
.skip-link:focus { left: 0; }

/* ============================== Bandeau « à traiter aujourd'hui » (admin) ============================== */
.admin-today { background: #fff6ea; border: 1.5px solid #f0c98a; border-radius: var(--r-md); padding: .9rem 1.1rem; margin-bottom: 1rem; }
.admin-today__title { font-weight: 700; color: var(--ocean-800); margin-bottom: .4rem; }
.admin-today__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; }
.admin-today__list li { color: var(--ink); font-size: .95rem; }
.admin-today--clear { background: var(--lagoon-100); border-color: var(--lagoon-400); color: var(--ocean-800); font-weight: 600; }

/* ============================== Filtre réservations (admin) ============================== */
.res-filter { display: flex; gap: .6rem; margin-bottom: 1rem; flex-wrap: wrap; }
.res-filter__search { flex: 1 1 220px; min-width: 0; padding: .6rem .9rem; border: 1.5px solid var(--sand-200); border-radius: var(--r-sm); font: inherit; }
.res-filter__status { flex: 0 0 auto; padding: .6rem .9rem; border: 1.5px solid var(--sand-200); border-radius: var(--r-sm); font: inherit; background: #fff; cursor: pointer; }
.res-filter__search:focus, .res-filter__status:focus { outline: none; border-color: var(--lagoon-500); }

/* ============================== FAQ (accordéon) ============================== */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq__item {
  background: #fff; border: 1px solid var(--sand-200); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq__q {
  cursor: pointer; padding: 1.05rem 1.3rem; font-weight: 600; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+"; font-size: 1.5rem; line-height: 1; color: var(--lagoon-600);
  transition: transform .2s ease; flex: none;
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 1.3rem 1.15rem; margin: 0; color: var(--muted); line-height: 1.6; }
