/* ═══════════════════════════════════════
   VARIABLES — identité « Azur & Sable »
═══════════════════════════════════════ */
:root {
  --bg:        #FAF7F0;
  --bg-tint:   #F2ECDF;
  --bg-dark:   #0B2935;
  --bg-dark2:  #11374A;
  --ink:       #132B37;
  --slate:     #41606F;
  --muted:     #80939D;
  --terra:     #0F6F8E;
  --terra-lt:  #15869C;
  --gold:      #C99B3F;
  --gold-lt:   #E4BC66;
  --sea:       #2E8FA3;
  --sea-lt:    #62B4C6;
  --border:    #E3DBC9;
  --border-lt: #EFEADC;
  --white:     #FFFFFF;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r:  14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --sh-sm: 0 1px 3px rgba(11,41,53,.06), 0 6px 18px rgba(11,41,53,.05);
  --sh:    0 2px 6px rgba(11,41,53,.07), 0 12px 34px rgba(11,41,53,.10);
  --sh-lg: 0 6px 18px rgba(11,41,53,.10), 0 28px 70px rgba(11,41,53,.18);
}

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.dialog-open,
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
fieldset { border: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

::selection { background: rgba(15,111,142,.18); }

/* ═══════════════════════════════════════
   TYPOGRAPHIE
═══════════════════════════════════════ */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.1rem; }
p  { color: var(--slate); line-height: 1.75; }

.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: .8rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terra);
}
.label::before {
  content: "";
  width: 30px;
  height: 1.5px;
  background: var(--gold);
}
.label-light { color: var(--gold-lt); }
.light { color: var(--white); }
h2.light + p { color: rgba(255,255,255,.7); }

/* ═══════════════════════════════════════
   BOUTONS
═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 30px;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  font-size: .94rem;
  font-weight: 650;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform 150ms, box-shadow 150ms, background 150ms, border-color 150ms, color 150ms;
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); box-shadow: var(--sh); }
.btn:active { transform: none; box-shadow: none; }

.btn-primary { background: var(--terra); border-color: var(--terra); color: var(--white); }
.btn-primary:hover { background: var(--terra-lt); border-color: var(--terra-lt); }

.btn-ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.55); color: var(--white); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.9); }

.btn-outline { background: transparent; border-color: var(--terra); color: var(--terra); }
.btn-outline:hover { background: var(--terra); color: var(--white); }

.btn-block { width: 100%; }

.btn-sm { min-height: 38px; padding: 8px 20px; font-size: .85rem; }

.btn.is-loading::before {
  content: "";
  width: 15px; height: 15px; flex: 0 0 auto;
  border: 2px solid currentColor; border-top-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════
   LAYOUT
═══════════════════════════════════════ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5vw;
}
.section {
  padding: 76px 0;
}
.section-tinted { background: var(--bg-tint); }
.section-dark   { background: var(--bg-dark); }

.section-header {
  margin-bottom: 2.4rem;
}
.section-header h2 { margin-bottom: .7rem; }
.section-sub {
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.75;
}

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
.site-header {
  position: fixed;
  z-index: 30;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 5vw;
  color: var(--white);
  transition: background 220ms, box-shadow 220ms, padding 220ms, color 220ms;
}
.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(250,247,240,.92);
  box-shadow: 0 1px 0 var(--border-lt), 0 6px 30px rgba(11,41,53,.08);
  backdrop-filter: blur(18px);
  color: var(--ink);
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.brand-text strong,
.brand-text small { display: block; line-height: 1.18; }
.brand-text strong { font-family: var(--serif); font-size: .98rem; font-weight: 600; letter-spacing: .01em; }
.brand-text small  { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .68; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav a {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: .88rem;
  font-weight: 600;
  transition: background 130ms;
}
.main-nav a:hover { background: rgba(255,255,255,.16); }
.site-header.is-scrolled .main-nav a:hover,
.site-header.nav-open    .main-nav a:hover { background: rgba(19,43,55,.07); }

.nav-reserve {
  margin-left: 10px;
  background: var(--terra) !important;
  color: var(--white) !important;
  border-radius: var(--r-pill);
  font-weight: 650 !important;
  padding: 9px 22px !important;
  box-shadow: 0 4px 14px rgba(15,111,142,.35);
}
.nav-reserve:hover { background: var(--terra-lt) !important; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  padding: 10px;
  background: transparent;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  cursor: pointer;
  color: inherit;
}
.nav-toggle span { display: block; height: 2px; background: currentColor; margin: 4px 0; border-radius: 2px; }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}
/* ── Carrousel hero ── */
.hero-carousel { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  will-change: opacity;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero-slide.is-active img {
  animation: hero-zoom 7s ease-out forwards;
}
@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

.hero-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 2;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; line-height: 1;
  color: var(--white);
  background: rgba(7,24,32,.32);
  border: 1.5px solid rgba(255,255,255,.45);
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.hero-arrow:hover { background: rgba(7,24,32,.62); border-color: rgba(255,255,255,.8); }
.hero-arrow--prev { left: 18px; padding-right: 3px; }
.hero-arrow--next { right: 18px; padding-left: 3px; }

.hero-dots {
  position: absolute;
  bottom: 86px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; gap: 10px;
}
.hero-dots button {
  width: 10px; height: 10px;
  padding: 0;
  border: 1.5px solid rgba(255,255,255,.7);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.hero-dots button[aria-selected="true"] {
  background: var(--white);
  transform: scale(1.15);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(7,24,32,.88) 0%, rgba(7,24,32,.34) 48%, rgba(7,24,32,.08) 100%),
    linear-gradient(to right, rgba(7,24,32,.45) 0%, rgba(7,24,32,0) 62%);
}
.hero-body {
  position: relative;
  z-index: 1;
  max-width: 880px;
  padding: 140px 5vw 150px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.2rem;
  color: var(--gold-lt);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.hero-eyebrow::before {
  content: "";
  width: 36px;
  height: 1.5px;
  background: var(--gold-lt);
}
.hero-body h1 {
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 30px rgba(7,24,32,.35);
}
.hero-sub {
  margin-bottom: 2.2rem;
  color: rgba(255,255,255,.85);
  font-size: 1.12rem;
  line-height: 1.7;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-scroll {
  position: absolute;
  bottom: 96px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 28px; height: 48px;
  border: 1.5px solid rgba(255,255,255,.45);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero-scroll span {
  width: 4px; height: 10px;
  background: rgba(255,255,255,.75);
  border-radius: 2px;
  animation: scroll-hint 2s ease infinite;
}
@keyframes scroll-hint {
  0%, 100% { transform: translateY(0); opacity: .7; }
  50%       { transform: translateY(8px); opacity: .2; }
}

/* ═══════════════════════════════════════
   FACTS BAR — carte flottante sur le hero
═══════════════════════════════════════ */
.facts-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1160px, 92vw);
  margin: -64px auto 0;
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.fact {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 28px 26px;
  border-right: 1px solid var(--border-lt);
}
.fact:last-child { border-right: none; }
.fact-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  color: var(--gold);
}
.fact strong { display: block; font-size: .97rem; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.fact span   { display: block; font-size: .82rem; color: var(--muted); }

/* ═══════════════════════════════════════
   LOGEMENT
═══════════════════════════════════════ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.intro-text h2 { margin-bottom: 1.1rem; }
.intro-text p  { margin-bottom: 1.9rem; }

.features-list { display: flex; flex-direction: column; gap: 0; }
.feat-item {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.feat-item:first-child { border-top: 1px solid var(--border); }
.feat-num {
  flex-shrink: 0;
  min-width: 48px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.feat-item h3 { font-size: 1.05rem; margin-bottom: 5px; color: var(--ink); }
.feat-item p  { font-size: .9rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ═══════════════════════════════════════
   GALERIE
═══════════════════════════════════════ */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 12px;
  max-width: 1340px;
  margin: 1.6rem auto 0;
  padding: 0 4vw;
}
.photo-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--bg-dark2);
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  color: var(--white);
}
.photo-card--main {
  grid-column: span 2;
  grid-row: span 2;
}
.photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(.2,.7,.3,1);
  display: block;
}
.photo-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7,24,32,.72) 0%, rgba(7,24,32,0) 46%);
  transition: opacity 200ms;
  opacity: .85;
}
.photo-card span {
  position: absolute;
  z-index: 1;
  left: 16px; right: 16px; bottom: 13px;
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .01em;
  text-align: left;
  text-shadow: 0 1px 8px rgba(7,24,32,.5);
  transition: transform 250ms;
}
.photo-card:hover img           { transform: scale(1.06); }
.photo-card:hover::after        { opacity: 1; }
.photo-card:hover span,
.photo-card:focus-visible span  { transform: translateY(-2px); }

/* ═══════════════════════════════════════
   TARIFS
═══════════════════════════════════════ */
.pricing-block { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }

.seasons {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--sh-sm);
}
.season {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 16px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border-lt);
  position: relative;
}
.season:last-child { border-bottom: none; }
.season--peak {
  background: var(--white);
  color: inherit;
}
.season--off { background: var(--bg-tint); }

.season-tag {
  position: absolute;
  top: -1px; right: 22px;
  background: var(--gold);
  color: var(--bg-dark);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 0 0 9px 9px;
}
.season-name {
  font-size: .94rem;
  font-weight: 700;
  grid-column: 1;
  grid-row: 2;
  color: inherit;
  opacity: .85;
}
.season--peak .season-name { color: inherit; opacity: .85; }
.season-price {
  grid-column: 2;
  grid-row: 1 / 3;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--terra);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.season--peak .season-price { color: var(--terra); }
.season-unit {
  grid-column: 1;
  grid-row: 1;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--sea);
}
.season--peak .season-unit { color: var(--sea); }

.pricing-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--sh-sm);
}
.pricing-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--border-lt);
}
.pricing-detail:last-child { border-bottom: none; }
.pricing-detail strong {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
.pricing-detail span { font-size: .95rem; font-weight: 600; color: var(--ink); text-align: right; }

/* ═══════════════════════════════════════
   CALENDRIER
═══════════════════════════════════════ */
#disponibilites .section-header {
  max-width: none;
  text-align: center;
}
.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 28px;
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
}
.calendar-quote .cal-quote-cta {
  margin: 0 24px 20px;
  width: calc(100% - 48px);
}
.calendar-browser {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--sh-sm);
}
.cal-nav {
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.cal-nav h3 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  color: var(--ink);
}
.cal-btn {
  width: 46px; height: 46px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  transition: background 130ms, color 130ms, border-color 130ms;
}
.cal-btn:hover { background: var(--terra); color: var(--white); border-color: var(--terra); }
.cal-btn:disabled { opacity: .3; cursor: not-allowed; }

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 16px;
  font-size: .82rem;
  font-weight: 650;
  color: var(--muted);
}
.cal-legend span { display: inline-flex; align-items: center; gap: 7px; }
.dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 1.5px solid transparent;
}
.dot-free   { background: #D8EFDF; border-color: #84C79A; }
.dot-booked { background: #F8D3C9; border-color: #DD8472; }
.dot-pending{ background: #F8E8B8; border-color: #C99B3F; }

.public-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.calendar-weekday {
  padding: 0 0 8px;
  font-size: .66rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}
.calendar-day {
  min-height: 64px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 4px;
  padding: 7px;
  background: #F0F8F2;
  border: 1px solid #D8EDE0;
  border-radius: 10px;
  overflow: hidden;
}
.calendar-day strong { font-size: .78rem; color: var(--ink); font-weight: 700; }
.calendar-day span {
  align-self: end;
  width: 100%;
  min-height: 20px;
  display: flex; align-items: center; justify-content: center;
  padding: 2px 4px;
  border-radius: 6px;
  font-size: .59rem; font-weight: 800;
  text-align: center; white-space: nowrap; overflow: hidden;
}
.calendar-day.is-open     span { background: #C9E9D2; color: #1D5C2E; }
.calendar-day.is-reserved      { background: #FCEFEB; border-color: #EFB9AC; }
.calendar-day.is-reserved span { background: #F8D3C9; color: #7A2316; }
.calendar-day.is-pending       { background: #FCF7E8; border-color: #EBD089; }
.calendar-day.is-pending  span { background: #F8E8B8; color: #6E4E00; }
.calendar-day.is-outside-month { opacity: .3; }

.cal-rate {
  margin: -6px 0 14px;
  text-align: center;
  font-size: .92rem;
  color: var(--slate);
}
.cal-rate strong { color: var(--terra); font-weight: 700; }

.cal-notice {
  margin: 0 0 16px;
  padding: 12px 16px;
  background: #FCF4E2;
  border: 1px solid #EBD089;
  border-left: 4px solid var(--gold);
  border-radius: 11px;
  font-size: .85rem;
  line-height: 1.6;
  color: #6E5212;
}
.cal-notice strong { color: #54400D; }

.cal-hint {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--bg-tint);
  border-radius: 11px;
  font-size: .85rem;
  line-height: 1.6;
  color: var(--slate);
  text-align: center;
}
.cal-hint strong { color: var(--ink); }
.cal-hint a { color: var(--terra); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.calendar-day.is-selectable { cursor: pointer; transition: box-shadow 120ms; }
.calendar-day.is-selectable:hover,
.calendar-day.is-selectable:focus-visible { box-shadow: 0 0 0 2px var(--sea); outline: none; }
.calendar-day.is-sel-start,
.calendar-day.is-sel-end {
  background: var(--terra);
  border-color: var(--terra);
}
.calendar-day.is-sel-start strong,
.calendar-day.is-sel-end strong { color: var(--white); }
.calendar-day.is-sel-start span,
.calendar-day.is-sel-end span { background: rgba(255,255,255,.24); color: var(--white); }
.calendar-day.is-sel-mid {
  background: #DCEDF2;
  border-color: #A9D2DE;
}
.calendar-day.is-sel-mid span { background: #BEDFE8; color: #0E5468; }

/* Jour de passation (samedi) : réservé d'un côté, libre pour l'autre sens */
.calendar-day.is-changeover {
  background: linear-gradient(135deg, #C9E9D2 0 48%, #F8D3C9 52% 100%);
  border-color: var(--sea);
  border-style: dashed;
}
.calendar-day.is-changeover span {
  background: rgba(255,255,255,.82);
  color: #0E5468;
}

.avail-panel {
  max-width: 860px;
  margin: 16px auto 0;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.avail-title {
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--muted); margin-bottom: 12px;
}
.avail-panel ul { list-style: none; display: grid; gap: 8px; }
.avail-panel li {
  padding: 12px 16px;
  background: var(--bg-tint);
  border-left: 3px solid var(--sea);
  border-radius: 0 10px 10px 0;
  font-size: .9rem;
}
.avail-panel li strong, .avail-panel li span { display: block; }
.avail-panel li span { color: var(--muted); font-size: .82rem; margin-top: 2px; }
.avail-panel li.is-reserved { border-left-color: #C0552F; }
.avail-panel li.is-pending  { border-left-color: var(--gold); }

/* ═══════════════════════════════════════
   RÉSERVATION
═══════════════════════════════════════ */
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .45fr);
  gap: 32px;
  align-items: start;
}
.booking-form { display: flex; flex-direction: column; gap: 22px; }

.form-group {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.form-group-title {
  padding: 15px 26px;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--border);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--terra);
  margin: 0;
}
.form-group > label,
.form-group > .form-row {
  display: block;
  padding: 13px 26px;
  border-bottom: 1px solid var(--border-lt);
}
.form-group > label:last-child,
.form-group > .form-row:last-child { border-bottom: none; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-row--narrow { grid-template-columns: 1fr 1fr; max-width: 340px; }

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .76rem;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: .09em;
}
input, textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  background: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: 11px;
  font-size: .95rem;
  font-weight: 500;
  outline: none;
  transition: border-color 130ms, box-shadow 130ms, background 130ms;
}
input:focus, textarea:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(15,111,142,.14);
  background: var(--white);
}
input::placeholder { color: #AEBCC4; font-weight: 400; }
textarea { resize: vertical; }

.form-note {
  color: var(--muted);
  font-size: .78rem;
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

.form-consent {
  display: grid;
  gap: 12px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.consent-check {
  display: grid;
  grid-template-columns: 1.25em 1fr;
  align-items: start;
  gap: 12px;
  font-size: .85rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--slate);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}
.consent-check input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 1.25em;
  height: 1.25em;
  min-height: 0;       /* annule le min-height global des champs input */
  padding: 0;
  /* centre la case sur la première ligne de texte : (line-height - hauteur case) / 2 */
  margin: calc((1.55em - 1.25em) / 2) 0 0;
  flex: none;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  background: var(--bg);
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: background 120ms, border-color 120ms;
}
.consent-check input[type="checkbox"]::before {
  content: "";
  width: .62em;
  height: .62em;
  transform: scale(0);
  transform-origin: center;
  transition: transform 110ms ease-in-out;
  box-shadow: inset 1em 1em var(--white);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.consent-check input[type="checkbox"]:checked {
  background: var(--terra);
  border-color: var(--terra);
}
.consent-check input[type="checkbox"]:checked::before { transform: scale(1); }
.consent-check input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 2px;
}
.form-hint {
  margin: 4px 24px 0;
  font-size: .78rem;
  color: var(--muted);
  font-weight: 600;
}
.consent-check a { color: var(--terra); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.quote-card {
  position: sticky;
  top: 92px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh);
}
.quote-title {
  padding: 17px 24px 15px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark2) 100%);
  color: var(--gold-lt);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin: 0;
}
.quote-dl {
  padding: 0 24px;
  margin: 0;
}
.quote-dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-lt);
}
.quote-dl > div:last-child { border-bottom: none; }
.quote-dl dt { color: var(--muted); font-size: .88rem; }
.quote-dl dd { margin: 0; font-weight: 700; font-size: .95rem; color: var(--ink); }
.quote-total {
  background: var(--bg-tint);
  margin: 0 -24px;
  padding: 15px 24px !important;
  border-radius: 0;
}
.quote-total dt { color: var(--ink); font-weight: 700; font-size: .95rem; }
.quote-total dd { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--terra); }

.avail-status {
  margin: 14px 24px 18px;
  padding: 12px 14px;
  background: var(--bg-tint);
  border-radius: 11px;
  font-size: .82rem;
  font-weight: 650;
  color: var(--muted);
  line-height: 1.5;
}
.avail-status.is-open    { background: #E4F4E9; color: #1D5C2E; }
.avail-status.is-blocked { background: #FBEAE4; color: #7A2316; }

.result-panel { margin: 0 24px 18px; display: grid; gap: 8px; }
.result-panel p {
  margin: 0; padding: 12px 14px;
  border-radius: 11px; background: var(--bg-tint);
  font-size: .88rem; font-weight: 650; color: var(--ink);
}
.result-panel.is-success p { background: #E4F4E9; color: #1D5C2E; }
.result-panel.is-error   p { background: #FBEAE4; color: #7A2316; }

/* ═══════════════════════════════════════
   CONDITIONS
═══════════════════════════════════════ */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rule {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.rule strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
}
.rule p { font-size: .88rem; line-height: 1.7; margin: 0; color: var(--muted); }
.rule-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
}
.rule-list li {
  position: relative;
  padding-left: 18px;
  font-size: .88rem;
  line-height: 1.6;
  color: var(--muted);
}
.rule-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
  background: var(--bg-dark);
  color: var(--white);
  border-top: 3px solid var(--gold);
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 68px 5vw 52px;
}
.footer-brand .brand { color: var(--white); display: inline-flex; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,.5); font-size: .85rem; line-height: 1.75; }

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  font-weight: 600;
  padding: 3px 0;
  transition: color 130ms;
}
.footer-links a:hover { color: var(--gold-lt); }

.footer-cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-cta-block p {
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  line-height: 1.65;
  text-align: center;
  max-width: 280px;
}

.footer-bar {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 15px 5vw;
  text-align: center;
  color: rgba(255,255,255,.3);
  font-size: .75rem;
  letter-spacing: .03em;
}

/* ═══════════════════════════════════════
   MODALE
═══════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center; padding: 20px;
  background: rgba(7,24,32,.72);
  backdrop-filter: blur(5px);
}
.modal-overlay[hidden] { display: none; }
.modal-card {
  position: relative;
  width: min(520px, 100%);
  padding: 40px;
  background: var(--bg);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}
.modal-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terra);
}
.modal-tag::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--gold);
}
.modal-card h2 { font-size: 1.7rem; margin-bottom: 16px; color: var(--ink); }
.modal-card p  { color: var(--slate); font-size: .92rem; margin-bottom: 12px; }
.modal-card p + .btn { margin-top: 10px; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--bg-tint); border: 1px solid var(--border);
  border-radius: 50%; font-size: 1.3rem; cursor: pointer;
  color: var(--ink);
  transition: background 130ms;
}
.modal-close:hover { background: var(--border); }

/* ═══════════════════════════════════════
   VISIONNEUSE
═══════════════════════════════════════ */
.photo-dialog {
  position: fixed; inset: 0; z-index: 50;
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  margin: 0; padding: 0; border: none;
  background: rgba(7,16,21,.95);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
}
.photo-dialog:not([open]) { display: none; }
.photo-dialog figure { max-width: min(940px,90vw); max-height: 85vh; margin: 0; }
.photo-dialog img { width: 100%; max-height: 76vh; object-fit: contain; border-radius: 12px; }
.photo-dialog figcaption {
  padding: 12px 4px 0;
  text-align: center;
  color: rgba(255,255,255,.65);
  font-family: var(--serif);
  font-style: italic;
  font-size: .95rem;
}
.dialog-close {
  position: fixed; top: 18px; right: 18px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%; font-size: 1.6rem; cursor: pointer; color: var(--white);
  transition: background 130ms;
}
.dialog-close:hover { background: rgba(255,255,255,.22); }
.dialog-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%; font-size: 1.9rem; cursor: pointer; color: var(--white);
  transition: background 130ms;
}
.dialog-nav:hover { background: rgba(255,255,255,.22); }
.dialog-nav.prev { left: 18px; }
.dialog-nav.next { right: 18px; }

/* ═══════════════════════════════════════
   COOKIES
═══════════════════════════════════════ */
.cookie-bar {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  z-index: 90;
  display: flex; align-items: center; gap: 20px;
  width: min(760px, calc(100% - 32px));
  padding: 16px 22px;
  background: rgba(250,247,240,.96);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  backdrop-filter: blur(16px);
}
.cookie-bar[hidden] { display: none; }
.cookie-info { flex: 1; min-width: 0; }
.cookie-info strong { display: block; font-size: .9rem; margin-bottom: 3px; color: var(--ink); }
.cookie-info span   { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ═══════════════════════════════════════
   RESPONSIVE CLIENT
═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .intro-grid       { grid-template-columns: 1fr; gap: 36px; }
  .pricing-block    { grid-template-columns: 1fr; }
  .booking-layout   { grid-template-columns: 1fr; }
  .calendar-layout  { grid-template-columns: 1fr; }
  .quote-card       { position: static; }
  .facts-bar        { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact             { min-width: 0; }
  .fact:nth-child(odd) { border-right: 1px solid var(--border-lt); }
  .fact:nth-child(even){ border-right: none; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--border-lt); }
  .footer-main      { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-links     { align-items: flex-start; grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 4px 16px; }
  .footer-cta-block { align-items: center; }
  .footer-cta-block p { text-align: center; }
  .rules-grid       { grid-template-columns: repeat(2,1fr); }
  .gallery          { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .photo-card--main { grid-column: span 2; grid-row: span 2; }
}

@media (max-width: 760px) {
  .site-header { padding: 12px 18px; }
  .nav-toggle  { display: block; }
  .main-nav {
    position: absolute;
    top: 68px; left: 14px; right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
  }
  .main-nav a { padding: 12px 16px; font-size: .95rem; border-radius: 12px; }
  .nav-reserve { margin-left: 0; }
  .site-header.nav-open .main-nav { display: flex; }

  .hero        { min-height: 86vh; }
  .hero-body   { padding: 110px 18px 110px; }
  .hero-eyebrow { font-size: .66rem; letter-spacing: .14em; gap: 10px; }
  .hero-eyebrow::before { width: 24px; }
  .hero-btns   { flex-direction: column; width: min(100%,300px); }
  .hero-btns .btn { width: 100%; }
  .hero-scroll { display: none; }

  .section     { padding: 48px 0; }
  .facts-bar   { margin-top: -48px; width: calc(100% - 32px); }
  .fact        { min-height: 92px; padding: 16px 14px; gap: 10px; }
  .fact-icon   { width: 24px; height: 24px; }
  .fact strong { font-size: .86rem; line-height: 1.2; }
  .fact span   { font-size: .74rem; line-height: 1.25; }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
    gap: 8px;
    padding: 0 16px;
  }
  .photo-card--main { grid-column: span 2; grid-row: span 1; }
  .photo-card { border-radius: 13px; }

  .seasons    { border-radius: var(--r); }
  .pricing-block { gap: 16px; }

  .form-row, .form-row--narrow { grid-template-columns: 1fr; }
  .form-row--dates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-group > .form-row { padding: 8px 16px; }
  .form-group > label { padding: 10px 16px; }
  .form-group-title  { padding: 12px 16px; }
  .form-group, .quote-card { border-radius: var(--r); }

  .rules-grid { grid-template-columns: 1fr; gap: 10px; }
  .rule       { padding: 20px; border-radius: var(--r); }

  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { flex-direction: column; gap: 4px; }
  .footer-cta-block .btn { width: 100%; }

  .cal-btn   { width: 40px; height: 40px; }
  .calendar-browser { padding: 16px; border-radius: var(--r); }
  .calendar-day { min-height: 54px; padding: 4px; gap: 3px; border-radius: 8px; }
  .calendar-day strong { font-size: .72rem; }
  .calendar-day span {
    font-size: 0; min-height: 18px; padding: 2px 3px;
  }
  .calendar-day span::after {
    content: attr(data-short);
    font-size: .54rem; font-weight: 800;
    white-space: nowrap; overflow: hidden;
  }

  .modal-card { padding: 26px; }
  .cookie-bar { flex-direction: column; align-items: stretch; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.55rem; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 170px; }
  .photo-card--main { grid-column: span 1; grid-row: span 1; }
  .facts-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact {
    min-height: 84px;
    padding: 13px 11px;
    border-bottom: none;
    align-items: flex-start;
  }
  .fact-icon { width: 22px; height: 22px; margin-top: 1px; }
  .fact strong { font-size: .78rem; line-height: 1.18; }
  .fact span { font-size: .68rem; line-height: 1.2; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active img { animation: none; }
  .hero-slide { transition: none; }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════
   LA STATION — présentation + carte
═══════════════════════════════════════ */
.station-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
}
.station-text p {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--ink-soft, inherit);
}
.station-map {
  margin: 0;
}
.station-map-btn {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(7,24,32,.12);
  cursor: zoom-in;
  transition: transform .25s ease, box-shadow .25s ease;
}
.station-map-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(7,24,32,.18);
}
.station-map-btn img {
  width: 100%; height: auto; display: block;
}
.station-map-zoom {
  position: absolute;
  bottom: 12px; right: 12px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--white);
  background: rgba(7,24,32,.55);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .25s ease;
}
.station-map-zoom svg { width: 20px; height: 20px; }
.station-map-btn:hover .station-map-zoom,
.station-map-btn:focus-visible .station-map-zoom { opacity: 1; }

/* Visionneuse carte : image zoomable dans la modale */
.map-dialog #map-dialog-image {
  cursor: zoom-in;
  transition: transform .3s ease;
  transform-origin: center;
}
.map-dialog #map-dialog-image.is-zoomed {
  transform: scale(1.9);
  cursor: zoom-out;
}
.station-map figcaption {
  margin-top: 12px;
  font-size: .9rem;
  color: var(--ink-soft, inherit);
  text-align: center;
}
@media (max-width: 860px) {
  .station-grid { grid-template-columns: 1fr; gap: 32px; }
  .station-map { max-width: 460px; margin-inline: auto; }
}

/* ═══════════════════════════════════════
   ACCÈS & TRANSPORTS
═══════════════════════════════════════ */
.transport-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.transport-map {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.transport-map iframe {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(7,24,32,.12);
}
.transport-map figcaption { text-align: center; }

.transport-modes {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.transport-mode {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 28px rgba(7,24,32,.06);
}
.transport-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  color: var(--gold);
  margin-top: 2px;
}
.transport-mode strong { display: block; margin-bottom: 4px; color: var(--ink); }
.transport-mode p { font-size: .95rem; line-height: 1.6; color: var(--muted); }

/* Petit train */
.petit-train {
  margin-top: 48px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg);
  box-shadow: 0 14px 40px rgba(7,24,32,.08);
}
.petit-train-head {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 36px;
  align-items: center;
}
.train-circuit {
  max-width: 480px;
  margin: 28px auto 0;
}
.train-circuit figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
}
.train-circuit figcaption a { color: var(--gold); }
.petit-train-media {
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
}
.petit-train-media img {
  width: 100%; height: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
}
.petit-train-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 12px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-bg, rgba(193,154,90,.12));
  border-radius: 999px;
}
.petit-train-info h3 { margin-bottom: 8px; }
.petit-train-info > p { color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.train-schedule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.train-period strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: .95rem;
}
.train-period span {
  display: block;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.55;
}
@media (max-width: 860px) {
  .transport-grid { grid-template-columns: 1fr; gap: 28px; }
  .petit-train { padding: 20px; }
  .petit-train-head { grid-template-columns: 1fr; gap: 22px; }
  .petit-train-media img { max-height: 200px; }
  .train-schedule { grid-template-columns: 1fr; gap: 14px; }
}
/* ═══════════════════════════════════════
   DÉCOUVRIR — carrousel auto
═══════════════════════════════════════ */
.discover {
  position: relative;
}
.discover-viewport {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg);
  box-shadow: 0 14px 40px rgba(7,24,32,.08);
  overflow: hidden;
}
.discover-slide {
  display: none;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  min-height: 360px;
}
.discover-slide.is-active {
  display: grid;
  animation: discoverFade .55s ease both;
}
@keyframes discoverFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.discover-media {
  margin: 0;
  position: relative;
  background: var(--bg-tint);
}
.discover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Slide « plan de la station » : image réduite et centrée, non plein cadre */
.discover-media--map {
  display: grid;
  place-items: center;
  padding: 28px;
}
.discover-media--map .station-map-btn {
  max-width: 340px;
  margin: 0 auto;
}
.discover-media--map img {
  height: auto;
}
.discover-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 40px 44px;
}
.discover-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(193,154,90,.12);
  border-radius: var(--r-pill);
}
.discover-text h3 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.15;
  color: var(--ink);
}
.discover-text p {
  color: var(--slate);
  line-height: 1.75;
}
.discover-text a { color: var(--terra); text-decoration: underline; }
.discover-source { display: block; margin-top: 6px; font-size: .82rem; color: var(--muted); }
.discover-source a { color: var(--gold); }

.discover-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-size: 1.6rem; line-height: 1;
  color: var(--white);
  background: rgba(7,24,32,.5);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.discover-arrow:hover { background: rgba(7,24,32,.72); border-color: rgba(255,255,255,.85); }
.discover-arrow--prev { left: 14px; padding-right: 3px; }
.discover-arrow--next { right: 14px; padding-left: 3px; }

.discover-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
}
.discover-dots button {
  width: 9px; height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.discover-dots button[aria-selected="true"] {
  background: var(--gold);
  transform: scale(1.35);
}
@media (max-width: 860px) {
  .discover-slide { grid-template-columns: 1fr; min-height: 0; }
  .discover-media img { aspect-ratio: 16 / 10; }
  .discover-media--map { padding: 24px; }
  .discover-text { padding: 26px 24px 30px; }
  .discover-arrow { width: 38px; height: 38px; font-size: 1.3rem; }
}

/* ═══════════════════════════════════════
   ADMIN - BASE
═══════════════════════════════════════ */
.admin-body {
  background: var(--bg);
  min-height: 100vh;
}
.admin-shell { min-height: 100vh; }

/* Password toggle */
.pw-wrap { position: relative; display: flex; }
.pw-wrap input { flex: 1; padding-right: 2.6rem; }
.pw-eye {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 2.4rem; border: none; background: transparent;
  cursor: pointer; font-size: 1rem; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: color 130ms;
}
.pw-eye:hover { color: var(--ink); }

/* Aliases .button pour le HTML généré par admin.js */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  border: 1.5px solid transparent; border-radius: var(--r);
  font-size: .88rem; font-weight: 700; cursor: pointer;
  transition: transform 130ms, background 130ms, border-color 130ms, color 130ms;
  white-space: nowrap;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--terra); border-color: var(--terra); color: var(--white); }
.button-primary:hover { background: var(--terra-lt); }
.button-outline { background: transparent; border-color: var(--terra); color: var(--terra); }
.button-outline:hover { background: var(--terra); color: var(--white); }
.button-danger  { background: #c0392b; border-color: #c0392b; color: var(--white); }
.button-danger:hover { background: #a93226; }
.button-light   { background: var(--white); border-color: var(--border); color: var(--ink); }
.button-light:hover { background: var(--bg-tint); }
.button.is-loading::before {
  content: ""; width: 14px; height: 14px; flex: 0 0 auto;
  border: 2px solid currentColor; border-top-color: transparent;
  border-radius: 50%; animation: spin .7s linear infinite;
}

/* btn-danger alias */
.btn-danger { background: #c0392b; border-color: #c0392b; color: var(--white); }
.btn-danger:hover { background: #a93226; border-color: #a93226; }

/* ═══════════════════════════════════════
   AUTH SCREEN
═══════════════════════════════════════ */
.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background: var(--bg-dark);
  background-image: radial-gradient(ellipse at 20% 50%, rgba(200,86,58,.15) 0%, transparent 60%),
                    radial-gradient(ellipse at 80% 20%, rgba(43,122,142,.12) 0%, transparent 55%);
}
.auth-card {
  width: min(420px, 100%);
  padding: 40px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}
.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  color: var(--ink);
}
.auth-brand .brand-mark {
  background: var(--terra);
  color: var(--white);
  border-color: var(--terra);
}
.auth-brand strong { display: block; font-size: .95rem; font-weight: 800; color: var(--ink); }
.auth-brand small  { display: block; font-size: .72rem; color: var(--muted); }

.auth-form h1 { font-size: 1.4rem; margin-bottom: 24px; color: var(--ink); }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field label {
  font-size: .78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted);
}
.auth-field label small { font-size: .72rem; text-transform: none; font-weight: 600; }
.auth-field input {
  width: 100%; min-height: 44px; padding: 10px 13px;
  background: var(--bg); color: var(--ink);
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: .95rem; outline: none;
  transition: border-color 130ms, box-shadow 130ms;
}
.auth-field input:focus { border-color: var(--terra); box-shadow: 0 0 0 3px rgba(200,86,58,.12); }

.auth-message {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 700;
  background: #fdeeea;
  color: #7a2316;
  display: block;
}
.auth-message:empty { display: none; }

.totp-enrollment { text-align: center; padding: 8px 0; }
.totp-enrollment h2 { font-size: 1.2rem; margin-bottom: 16px; }
.totp-enrollment p  { font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.totp-manual code   { background: var(--bg-tint); padding: 4px 8px; border-radius: 6px; font-size: .82rem; }
.qr-box { display: flex; justify-content: center; margin: 16px 0; }
.qr-box svg { max-width: 180px; height: auto; border-radius: 8px; }
.totp-open-link { display: block; margin-top: 8px; font-size: .8rem; color: var(--sea); }

/* ═══════════════════════════════════════
   APP LAYOUT
═══════════════════════════════════════ */
.admin-app {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

/* ── Sidebar ── */
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: var(--bg-dark);
  color: var(--white);
  padding: 20px 14px 20px;
  border-right: 1px solid rgba(255,255,255,.06);
}

.admin-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--white);
  padding: 0 6px;
}
.admin-logo .brand-mark {
  background: var(--terra);
  color: var(--white);
  border-color: var(--terra);
  font-size: .85rem;
  width: 36px; height: 36px;
}
.admin-logo strong { display: block; font-size: .88rem; font-weight: 800; }
.admin-logo small  { display: block; font-size: .7rem; opacity: .55; }

.admin-nav { flex: 1; display: flex; flex-direction: column; gap: 0; }
.nav-group { margin-bottom: 20px; }
.nav-label {
  padding: 4px 10px 6px;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  pointer-events: none;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 130ms, color 130ms;
}
.nav-item svg { width: 16px; height: 16px; flex-shrink: 0; opacity: .7; }
.nav-item:hover { background: rgba(255,255,255,.08); color: var(--white); }
.nav-item:hover svg { opacity: 1; }
.nav-item.is-active {
  background: var(--terra);
  color: var(--white);
  font-weight: 700;
}
.nav-item.is-active svg { opacity: 1; }

.nav-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 99px;
  font-size: .7rem;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}

.nav-logout {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 10px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: rgba(255,255,255,.45);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 130ms, color 130ms;
  margin-top: 8px;
}
.nav-logout svg { width: 16px; height: 16px; }
.nav-logout:hover { background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); }

/* ── Main ── */
.admin-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  background: rgba(250,249,246,.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.topbar-left {}
.topbar-kicker {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 2px;
}
.admin-topbar h1 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
  margin: 0;
}

.admin-toast-wrap { padding: 0 28px; }
.admin-toast {
  display: block;
  margin-bottom: 0;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 700;
  background: #e8f7ec;
  color: #1a5a30;
  transition: opacity 300ms;
}
.admin-toast:empty { display: none; }

/* ── Tabs ── */
.admin-tab { display: none; padding: 28px; flex-direction: column; gap: 24px; }
.admin-tab.is-active { display: flex; }

.tab-head { margin-bottom: 4px; }
.tab-head h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.tab-head p  { color: var(--muted); font-size: .9rem; margin: 0; }
.tab-head--split { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.tab-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ═══════════════════════════════════════
   DASHBOARD
═══════════════════════════════════════ */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.metric-card {
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
}
.metric-card span   { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.metric-card strong { display: block; font-size: 1.6rem; font-weight: 900; color: var(--terra); letter-spacing: -.02em; line-height: 1; }

.dashboard-visual-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1.5fr);
  gap: 14px;
}
.dashboard-visual-grid .wide { grid-column: 1 / -1; }

.a-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-lt);
}
.panel-head h2 { font-size: .9rem; font-weight: 700; color: var(--ink); margin: 0; }
.panel-head span { font-size: .78rem; color: var(--muted); font-weight: 700; }

.chart-panel { min-height: 200px; }
.chart-panel .donut-layout,
.chart-panel .occupancy-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  min-height: 150px;
}
.donut-chart, .gauge-ring {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: conic-gradient(var(--terra) 0 var(--deposit-angle, 0deg), var(--gold) var(--deposit-angle, 0deg) 360deg);
  position: relative;
  display: grid; place-items: center;
}
.donut-chart::after, .gauge-ring::after {
  content: "";
  position: absolute; inset: 18px;
  background: var(--white);
  border-radius: 50%;
}
.gauge-ring {
  background: conic-gradient(var(--terra) 0 var(--occupancy-angle, 0deg), var(--border) var(--occupancy-angle, 0deg) 360deg);
}
.gauge-ring strong {
  position: relative; z-index: 1;
  font-size: .95rem; font-weight: 900; color: var(--ink);
}
.occupancy-gauge p { font-size: .78rem; color: var(--muted); text-align: center; max-width: 180px; font-weight: 700; margin: 0; }

.chart-legend {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  padding: 0 16px 14px; font-size: .78rem; font-weight: 800; color: var(--muted);
}
.legend-chip {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 3px;
  margin-right: 4px;
  vertical-align: middle;
}
.legend-chip.deposit { background: var(--terra); }
.legend-chip.balance { background: var(--gold); }
.legend-chip.week-free    { background: #c6ecd0; }
.legend-chip.week-pending { background: #fde8b0; }
.legend-chip.week-booked  { background: #f8cfc5; }

.bar-chart {
  display: grid;
  grid-template-columns: repeat(12, minmax(48px, 1fr));
  align-items: end;
  gap: 7px;
  padding: 16px;
  min-height: 178px;
  overflow-x: auto;
}
.bar-chart-bar {
  min-width: 0;
  min-height: 146px;
  display: grid;
  grid-template-rows: 30px minmax(90px, 1fr) auto auto;
  align-items: end;
  gap: 4px;
}
.bar-chart-bar-fill {
  width: 100%;
  height: var(--bar-height, 8%);
  background: var(--terra);
  border-radius: 4px 4px 0 0;
  min-height: 8px;
  transition: height 300ms ease;
}
.bar-chart-bar.is-zero .bar-chart-bar-fill {
  background: var(--border);
}
.bar-chart-value {
  color: var(--muted);
  font-size: .62rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}
.bar-chart-bar-label { font-size: .62rem; color: var(--muted); font-weight: 700; text-align: center; white-space: nowrap; }
.bar-chart-bar small { font-size: .58rem; color: var(--muted); font-weight: 800; text-align: center; }
.bar-chart.is-empty .bar-chart-value,
.bar-chart.is-empty .bar-chart-bar small { color: #98a8ad; }

.admin-calendar-toolbar {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  gap: 8px;
  align-items: center;
  padding: 12px 16px 8px;
}
.admin-calendar-toolbar h3 { margin: 0; font-size: .95rem; text-align: center; color: var(--ink); }

.weekly-legend {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  padding: 0 16px 10px;
  font-size: .76rem; font-weight: 800; color: var(--muted);
}
.admin-occupancy-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  padding: 0 14px 14px;
  min-height: 330px;
}

.admin-calendar-weekday {
  padding: 0 0 4px;
  color: var(--muted);
  font-size: .64rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.admin-calendar-day {
  min-height: 58px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 3px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f0f8f2;
  overflow: hidden;
}

.admin-calendar-day strong {
  color: var(--ink);
  font-size: .74rem;
  font-weight: 800;
  line-height: 1;
}

.admin-calendar-day span {
  width: fit-content;
  max-width: 100%;
  padding: 2px 5px;
  border-radius: 99px;
  color: #1a5a2a;
  background: #c6ecd0;
  font-size: .54rem;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-calendar-day em {
  color: var(--muted);
  font-size: .58rem;
  font-style: normal;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.admin-calendar-day.is-pending {
  background: #fffaf0;
  border-color: #f0d580;
}

.admin-calendar-day.is-pending span {
  color: #7a5000;
  background: #fde8b0;
}

.admin-calendar-day.is-booked {
  background: #fef0ed;
  border-color: #f0b8ad;
}

.admin-calendar-day.is-booked span {
  color: #7a2316;
  background: #f8cfc5;
}

.admin-calendar-day.is-outside-month {
  opacity: .36;
}

.admin-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* ═══════════════════════════════════════
   DEMANDES
═══════════════════════════════════════ */
.empty-state {
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
  background: var(--bg-tint);
  border-radius: var(--r);
  border: 1px dashed var(--border);
}

.request-list { display: flex; flex-direction: column; gap: 0; }
.request-item {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-lt);
  background: var(--white);
}
.request-item:last-child { border-bottom: none; }
.request-item strong { display: block; font-size: .9rem; color: var(--ink); margin-bottom: 2px; }
.request-item span   { font-size: .8rem; color: var(--muted); }

.detailed-list { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }

/* Détails demande */
.request-details {
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
}
.request-details dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 24px;
}
.request-details div { display: flex; flex-direction: column; gap: 2px; }
.request-details dt { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.request-details dd { margin: 0; font-size: .9rem; font-weight: 600; color: var(--ink); }

/* ═══════════════════════════════════════
   RÉSERVATIONS
═══════════════════════════════════════ */
.reservation-card-list { display: flex; flex-direction: column; gap: 12px; }
.reservation-status-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
  margin: 10px 0 14px;
}
.reservation-status-legend span {
  display: grid;
  gap: 2px;
  padding: 9px 11px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.35;
}
.reservation-status-legend b {
  color: var(--ink);
  font-size: .76rem;
}
.reservation-admin-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.reservation-card-head {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--border);
}
.delete-check {
  display: inline-flex; align-items: center; gap: 7px;
  width: max-content;
  font-size: .78rem; color: var(--muted); font-weight: 700; cursor: pointer;
}
.reservation-admin-card .delete-check input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--terra);
}
.delete-check span { line-height: 1; }
.reservation-title strong { display: block; font-size: .95rem; font-weight: 700; color: var(--ink); }
.reservation-title span   { display: block; font-size: .8rem; color: var(--muted); }
.reservation-card-actions { display: flex; gap: 8px; align-items: center; }
.reservation-card-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) minmax(200px, .9fr) minmax(130px, .5fr) minmax(280px, 1fr);
  gap: 0;
  padding: 16px;
  gap: 12px;
}
.reservation-fieldset h3 {
  font-size: .68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; color: var(--terra); margin-bottom: 8px;
}
.reservation-fieldset label {
  display: grid; gap: 4px;
  font-size: .68rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted);
}
.reservation-admin-card input:not([type="checkbox"]),
.reservation-admin-card select {
  width: 100%; min-height: 34px; padding: 6px 9px;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--border); border-radius: 7px;
  font-size: .88rem; font-weight: 600; outline: none;
}
.reservation-admin-card input:focus { border-color: var(--terra); }
.reservation-admin-card .button,
.reservation-admin-card .btn {
  min-height: 34px; padding: 6px 12px; font-size: .82rem;
}
.reservation-fieldset.money { grid-column: 1 / -1; }
.money-grid { display: grid; grid-template-columns: repeat(5, minmax(120px, 1fr)); gap: 8px; }
.currency-input {
  display: grid; grid-template-columns: 1fr auto;
  border: 1px solid var(--border); border-radius: 7px; overflow: hidden; background: var(--bg);
}
.currency-input input { border: 0; border-radius: 0; background: transparent; }
.currency-input b { padding: 0 8px; color: var(--terra); font-size: .88rem; align-self: center; }
.compact-grid { display: grid; gap: 8px; }
.compact-grid.two   { grid-template-columns: 1fr 1fr; }
.compact-grid.three { grid-template-columns: repeat(3, 1fr); }

/* ═══════════════════════════════════════
   FORMULAIRES ADMIN
═══════════════════════════════════════ */
.a-form { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.a-fieldset {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.a-legend {
  padding: 12px 18px;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--border);
  font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--terra); margin: 0;
}
.a-fieldset > label,
.a-fieldset > .a-row {
  display: block;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-lt);
}
.a-fieldset > label:last-of-type,
.a-fieldset > .a-row:last-child { border-bottom: none; }
.a-fieldset label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: .78rem; font-weight: 700; color: var(--slate);
  text-transform: uppercase; letter-spacing: .06em;
}
.a-fieldset input,
.a-fieldset textarea,
.a-fieldset select,
.a-form input,
.a-form textarea,
.a-form select {
  width: 100%; min-height: 40px; padding: 9px 12px;
  background: var(--bg); color: var(--ink);
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: .92rem; outline: none;
  transition: border-color 130ms, box-shadow 130ms;
}
.a-form input:focus,
.a-form textarea:focus,
.a-form select:focus,
.a-fieldset input:focus { border-color: var(--terra); box-shadow: 0 0 0 3px rgba(200,86,58,.1); }
.a-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: .78rem; font-weight: 700; color: var(--slate);
  text-transform: uppercase; letter-spacing: .06em;
}
.a-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.a-row--tight { grid-template-columns: 1fr auto; align-items: end; }
.a-status { font-size: .82rem; color: var(--muted); margin: 4px 0 0; }
.a-helper { font-size: .82rem; color: var(--muted); }
.a-helper a { color: var(--sea); font-weight: 700; }
.a-helper a:hover { text-decoration: underline; }

.a-mini-fieldset {
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px;
}
.a-mini-fieldset > p {
  font-size: .68rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--terra); margin-bottom: 10px;
}
.a-mini-fieldset label {
  display: flex; flex-direction: column; gap: 5px;
  font-size: .72rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 8px;
}
.a-mini-fieldset input,
.a-mini-fieldset textarea { width: 100%; min-height: 36px; padding: 7px 10px;
  background: var(--white); border: 1px solid var(--border); border-radius: 7px;
  font-size: .88rem; outline: none;
}
.a-mini-fieldset input:focus,
.a-mini-fieldset textarea:focus { border-color: var(--terra); }

.feature-editor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 14px; }

/* ═══════════════════════════════════════
   PHOTOS
═══════════════════════════════════════ */
.photo-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.photo-admin-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.photo-admin-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.photo-admin-card label { font-size: .8rem; font-weight: 700; color: var(--slate); padding: 10px 12px; display: block; }
.photo-admin-card input[type="file"] { display: block; width: 100%; padding: 4px 12px 8px; font-size: .8rem; }
.photo-admin-card button { width: 100%; margin: 0; border-radius: 0; }

/* ═══════════════════════════════════════
   PARAMÈTRES
═══════════════════════════════════════ */
.settings-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sh-sm);
}
.settings-block + .settings-block { margin-top: 20px; }
.settings-title { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.settings-desc  { font-size: .85rem; color: var(--muted); margin-bottom: 18px; line-height: 1.6; }
.settings-desc code { background: var(--bg-tint); padding: 2px 6px; border-radius: 4px; font-size: .82rem; }

/* ═══════════════════════════════════════
   SÉCURITÉ
═══════════════════════════════════════ */
.totp-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  flex-wrap: wrap;
}
.totp-info { flex: 1; min-width: 200px; }
.totp-label { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--terra); margin-bottom: 4px; }
.totp-info strong { display: block; font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.totp-info p  { font-size: .82rem; color: var(--muted); margin: 0; }

/* ═══════════════════════════════════════
   CALENDRIER ADMIN
═══════════════════════════════════════ */
.private-calendar-frame {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  border-radius: var(--r);
}
.calendar-preview-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg-tint);
}
.calendar-preview-actions span {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 900;
}
.private-calendar-frame iframe { width: 100%; height: 620px; border: none; display: block; }

/* ═══════════════════════════════════════
   NOTIFICATIONS
═══════════════════════════════════════ */
.notification-status { padding: 14px 18px; display: flex; flex-direction: column; gap: 8px; }
.notification-row    { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: .85rem; }
.notification-row span   { color: var(--muted); }
.notification-row strong { font-weight: 700; color: var(--ink); }

/* ═══════════════════════════════════════
   STATUS BADGES
═══════════════════════════════════════ */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.status-badge--pending  { background: #fde8b0; color: #7a4a00; }
.status-badge--contract { background: #d0eaf8; color: #1a4a6a; }
.status-badge--deposit  { background: #d5f0dd; color: #1a5a2a; }
.status-badge--confirmed{ background: #c8563a22; color: var(--terra); }
.status-badge--done     { background: var(--bg-tint); color: var(--muted); }
.status-badge--cancelled{ background: #f0e0e0; color: #7a2020; }

/* ═══════════════════════════════════════
   ADMIN RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .admin-app { grid-template-columns: 200px 1fr; }
  .reservation-card-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-visual-grid { grid-template-columns: 1fr 1fr; }
  .admin-layout { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .admin-app  { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px 16px;
    gap: 8px;
  }
  .admin-logo    { margin-bottom: 0; }
  .admin-nav     { flex-direction: row; flex-wrap: wrap; flex: 1; }
  .nav-group     { margin-bottom: 0; display: contents; }
  .nav-label     { display: none; }
  .nav-item      { padding: 7px 10px; font-size: .8rem; }
  .nav-logout    { margin-top: 0; }
  .admin-topbar  { padding: 14px 18px; }
  .admin-tab     { padding: 18px; }
  .tab-head--split { flex-direction: column; }
  .reservation-card-grid, .compact-grid.two, .compact-grid.three,
  .money-grid, .reservation-card-actions,
  .a-row, .a-row--tight, .feature-editor-grid { grid-template-columns: 1fr; }
  .reservation-card-head { grid-template-columns: auto 1fr; }
  .delete-check { justify-self: start; }
  .metrics-grid  { grid-template-columns: repeat(2, 1fr); }
  .admin-layout  { grid-template-columns: 1fr; }
  .dashboard-visual-grid { grid-template-columns: 1fr; }
  .photo-admin-grid { grid-template-columns: repeat(2, 1fr); }
  .bar-chart { grid-template-columns: repeat(12, minmax(42px, 1fr)); }
  .admin-occupancy-calendar {
    gap: 2px;
    padding: 0 10px 10px;
    min-height: 280px;
  }
  .admin-calendar-day {
    min-height: 50px;
    padding: 4px;
  }
  .admin-calendar-day span {
    font-size: .5rem;
    padding: 2px 4px;
  }
  .admin-calendar-day em { display: none; }
}

@media (max-width: 520px) {
  .calendar-preview-actions { display: grid; }
  .bar-chart {
    grid-template-columns: repeat(12, minmax(38px, 1fr));
    padding: 12px;
  }
}

/* ═══════════════════════════════════════
   ADMIN HOME REFRESH
═══════════════════════════════════════ */
#tab-dashboard {
  gap: 0;
}

.dashboard-home {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 1440px;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .34fr);
  align-items: stretch;
  gap: 14px;
  padding: 18px;
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  box-shadow: var(--sh-sm);
}

.dashboard-hero-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 118px;
}

.dashboard-hero-copy span,
.dashboard-hero-status small {
  color: rgba(255,255,255,.58);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dashboard-hero-copy h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.55rem, 2vw, 2.15rem);
  letter-spacing: 0;
}

.dashboard-hero-copy p {
  max-width: 640px;
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: .92rem;
  line-height: 1.55;
}

.dashboard-hero-status {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
}

.dashboard-hero-status strong {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.25;
}

.metrics-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.metric-card {
  min-height: 96px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 8px;
  box-shadow: none;
}

.metric-card span {
  margin: 0;
  color: var(--muted);
  font-size: .64rem;
  line-height: 1.25;
}

.metric-card strong {
  color: var(--ink);
  font-size: clamp(1.2rem, 1.45vw, 1.55rem);
  letter-spacing: 0;
}

.metric-card-primary {
  background: #fff7f2;
  border-color: #edc5b7;
}

.metric-card-primary strong {
  color: var(--terra);
}

.dashboard-visual-grid {
  grid-template-columns: minmax(220px, .72fr) minmax(220px, .72fr);
  grid-template-areas:
    "money occupancy"
    "revenue revenue"
    "tax tax"
    "calendar calendar";
  gap: 16px;
}

.chart-panel-money { grid-area: money; }
.chart-panel-occupancy { grid-area: occupancy; }
.chart-panel-revenue { grid-area: revenue; }
.chart-panel-tax { grid-area: tax; }
.weekly-panel { grid-area: calendar; }

.a-panel {
  border-radius: 8px;
  box-shadow: none;
}

.chart-panel {
  min-height: 184px;
  overflow: hidden;
}

.panel-head {
  min-height: 50px;
  padding: 12px 14px;
}

.panel-head h2 {
  font-size: .82rem;
  letter-spacing: 0;
}

.panel-head span {
  font-size: .72rem;
  text-align: right;
}

.chart-panel .donut-layout,
.chart-panel .occupancy-gauge {
  min-height: 132px;
  padding: 13px;
}

.donut-chart,
.gauge-ring {
  width: 92px;
  height: 92px;
}

.donut-chart::after,
.gauge-ring::after {
  inset: 16px;
}

.occupancy-gauge p {
  max-width: 210px;
  font-size: .74rem;
  line-height: 1.45;
}

.chart-legend {
  padding: 0 10px 10px;
  gap: 8px;
  font-size: .72rem;
}

.bar-chart {
  min-height: 154px;
  padding: 12px 14px 14px;
}

.bar-chart-bar {
  min-height: 126px;
  grid-template-rows: 26px minmax(74px, 1fr) auto auto;
}

.admin-calendar-toolbar {
  padding: 10px 14px 8px;
}

.weekly-legend {
  padding: 0 14px 9px;
}

.admin-occupancy-calendar {
  min-height: 288px;
  padding: 0 14px 14px;
}

.admin-calendar-day {
  min-height: 50px;
  padding: 5px;
}

.admin-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(260px, .86fr);
  gap: 12px;
}

.request-item {
  padding: 11px 14px;
}

.request-item strong {
  font-size: .84rem;
}

.request-item span {
  font-size: .74rem;
  line-height: 1.35;
}

.notification-status {
  padding: 12px 14px;
}

@media (max-width: 1280px) {
  .metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-visual-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "money occupancy"
      "revenue revenue"
      "tax tax"
      "calendar calendar";
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .dashboard-home {
    gap: 12px;
  }

  .dashboard-hero {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .dashboard-hero-copy {
    min-height: auto;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-visual-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "money"
      "occupancy"
      "revenue"
      "tax"
      "calendar";
  }

  .admin-occupancy-calendar {
    min-height: 250px;
  }
}

@media (max-width: 520px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 84px;
  }
}

.reservation-fieldset .compact-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reservation-fieldset .compact-grid.two label,
.reservation-fieldset .compact-grid.two input {
  min-width: 0;
}

@media (max-width: 1100px) {
  .reservation-fieldset.money .money-grid {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }
}

@media (max-width: 820px) {
  .reservation-fieldset.money .money-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
}

@media (max-width: 520px) {
  .reservation-fieldset.money .money-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .form-row--dates,
  .reservation-fieldset .compact-grid.two {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════
   SÉCURITÉ ADMIN — modales, 2FA, codes
═══════════════════════════════════════ */
.settings-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1D5C2E;
  background: #D8EFDF;
  border-radius: 999px;
  vertical-align: middle;
}
.totp-confirm { margin: 14px 0; }
.totp-confirm-label { font-size: .85rem; color: var(--slate); margin-bottom: 8px; }
.recovery-count { font-size: .9rem; color: var(--slate); margin: 6px 0 12px; }

.admin-modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center; padding: 20px;
  background: rgba(11,41,53,.72);
  backdrop-filter: blur(5px);
}
.admin-modal-overlay[hidden] { display: none; }
.admin-modal-card {
  width: min(460px, 100%);
  background: var(--white, #fff);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(11,41,53,.4);
}
.admin-modal-card h2 { font-size: 1.3rem; margin-bottom: 10px; color: #132B37; }
.admin-modal-card p { font-size: .9rem; color: #41606F; line-height: 1.6; margin-bottom: 16px; }
.admin-modal-actions {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 18px;
}
.recovery-codes {
  list-style: none; margin: 0 0 4px; padding: 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px;
  background: #FAF7F0; border: 1px solid #E3DBC9; border-radius: 12px;
}
.recovery-codes li {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 1.02rem; font-weight: 700; letter-spacing: .04em; color: #132B37;
}
@media (max-width: 520px) {
  .recovery-codes { grid-template-columns: 1fr; }
  .admin-modal-actions { justify-content: stretch; }
  .admin-modal-actions .btn { flex: 1; }
}

/* ═══════════════════════════════════════
   FILTRES RÉSERVATIONS (admin)
═══════════════════════════════════════ */
.reservation-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 14px 0 10px;
}
.reservation-filters input[type="search"] {
  flex: 1 1 240px;
  min-width: 200px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1.5px solid #E3DBC9;
  border-radius: 10px;
  background: #fff;
  font-size: .9rem;
}
.reservation-filters select {
  min-height: 40px;
  padding: 8px 12px;
  border: 1.5px solid #E3DBC9;
  border-radius: 10px;
  background: #fff;
  font-size: .88rem;
  color: #132B37;
}
.reservation-filters input[type="search"]:focus,
.reservation-filters select:focus {
  outline: none;
  border-color: #0F6F8E;
  box-shadow: 0 0 0 3px rgba(15,111,142,.12);
}
.reservation-count {
  font-size: .82rem;
  color: #80939D;
  font-weight: 600;
  margin: 0 0 12px;
}
@media (max-width: 600px) {
  .reservation-filters > * { flex: 1 1 100%; }
}

/* Modale large (ajout de réservation) */
.admin-modal-card--wide {
  width: min(680px, 100%);
  max-height: 90vh;
  overflow-y: auto;
}
.admin-modal-card--wide .a-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.admin-modal-card--wide label { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; font-weight: 600; color: #41606F; }
.admin-modal-card--wide input,
.admin-modal-card--wide select { min-height: 40px; padding: 8px 12px; border: 1.5px solid #E3DBC9; border-radius: 10px; background: #fff; font-size: .9rem; }
.admin-modal-card--wide input[readonly] { background: #F2ECDF; color: #80939D; }

/* ── Overlay de chargement (operations longues : PDF, DOCX, Excel, import/export, emails) ── */
.loading-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(28, 32, 36, 0.55); backdrop-filter: blur(2px);
}
.loading-overlay[hidden] { display: none; }
.loading-box {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 28px 36px; min-width: 260px; max-width: 90vw;
  background: #fff; border-radius: 16px; box-shadow: 0 18px 48px rgba(0,0,0,0.28);
  text-align: center;
}
.loading-spinner {
  width: 44px; height: 44px; border-radius: 50%;
  border: 4px solid #E3DBC9; border-top-color: #C08A2D;
  animation: loading-spin 0.8s linear infinite;
}
@keyframes loading-spin { to { transform: rotate(360deg); } }
.loading-message { margin: 0; font-size: 0.98rem; font-weight: 600; color: #2C333A; }
.loading-bar {
  width: 100%; height: 6px; border-radius: 999px; overflow: hidden; background: #EFE8D9;
}
.loading-bar-fill {
  display: block; height: 100%; width: 40%; border-radius: 999px; background: #C08A2D;
  animation: loading-progress 1.3s ease-in-out infinite;
}
@keyframes loading-progress {
  0%   { margin-left: -40%; }
  100% { margin-left: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .loading-spinner, .loading-bar-fill { animation-duration: 2.4s; }
}

/* ── Cases a cocher des canaux de notification ── */
.a-check {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.92rem; font-weight: 600; color: #2C333A; cursor: pointer;
  padding: 8px 12px; border: 1.5px solid #E3DBC9; border-radius: 10px; background: #fff;
}
.a-check input { width: 16px; height: 16px; accent-color: #C08A2D; cursor: pointer; }

/* ── Avis clients (public) ── */
.reviews-summary { display: flex; justify-content: center; margin-bottom: 28px; }
.reviews-score { display: flex; align-items: center; gap: 14px; }
.reviews-average { font-size: 2.4rem; font-weight: 800; color: #2E4057; line-height: 1; }
.reviews-stars { font-size: 1.5rem; color: #C08A2D; letter-spacing: 2px; }
.reviews-count { font-size: 0.95rem; color: #6b7680; }
.reviews-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.reviews-empty { color: #6b7680; text-align: center; }
.review-card { background: #fff; border: 1px solid #E3DBC9; border-radius: 14px; padding: 18px 20px; box-shadow: 0 6px 18px rgba(0,0,0,0.05); }
.review-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.review-stars { color: #C08A2D; letter-spacing: 1px; }
.review-author { font-weight: 700; color: #2E4057; }
.review-date { font-size: 0.82rem; color: #9aa3ab; margin-left: auto; }
.review-comment { margin: 6px 0; color: #36404a; line-height: 1.5; white-space: pre-wrap; }
.review-reply { margin-top: 10px; padding: 10px 12px; background: #F4EFE3; border-radius: 10px; font-size: 0.9rem; color: #4a5560; }
.review-report { margin-top: 10px; background: none; border: none; color: #9aa3ab; font-size: 0.78rem; cursor: pointer; text-decoration: underline; padding: 0; }
.review-report:disabled { color: #c2c8cd; cursor: default; text-decoration: none; }
.review-form-wrap { max-width: 560px; margin: 32px auto 0; background: #fff; border: 1px solid #E3DBC9; border-radius: 16px; padding: 24px; }
.review-form { display: grid; gap: 14px; }
.review-form label { display: grid; gap: 6px; font-weight: 600; color: #2C333A; font-size: 0.92rem; }
.review-form input[type="text"], .review-form textarea { padding: 10px 12px; border: 1.5px solid #E3DBC9; border-radius: 10px; font-size: 0.95rem; font-family: inherit; }
.review-rating { display: flex; gap: 14px; border: none; padding: 0; margin: 0; }
.review-rating label { flex-direction: row; align-items: center; gap: 4px; }
.review-form-status { margin: 0; font-size: 0.88rem; color: #C0392B; }

/* ── Avis clients (administration / moderation) ── */
.review-admin-card { background: #fff; border: 1px solid #E3DBC9; border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.review-admin-card[data-status="pending"] { border-left: 4px solid #C08A2D; }
.review-admin-card[data-status="approved"] { border-left: 4px solid #4a8a52; }
.review-admin-card[data-status="rejected"] { border-left: 4px solid #b9483c; opacity: 0.75; }
.review-admin-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-admin-badge { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: #EFE8D9; color: #6b5a30; }
.review-admin-flag { color: #b9483c; font-weight: 700; font-size: 0.8rem; }
.review-admin-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.review-admin-actions .btn { padding: 6px 12px; font-size: 0.82rem; }
.review-admin-reply { margin-top: 10px; display: flex; gap: 8px; }
.review-admin-reply input { flex: 1; padding: 8px 10px; border: 1.5px solid #E3DBC9; border-radius: 8px; }
.reviews-admin-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
/* Pastille de notification sur l'onglet Avis */
.nav-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px;
  font-size: 0.72rem; font-weight: 700; line-height: 1;
  color: #fff; background: #C0392B; border-radius: 999px;
}
.nav-badge[hidden] { display: none; }
