/* ==========================================================================
   Falcon Conciergerie SA — feuille de style principale
   Concept : un salon privé la nuit. Fond noir, texte ivoire, un seul accent
   or champagne. Mise en page éditoriale alignée à gauche, beaucoup d'air.
   ========================================================================== */

@font-face { font-family: "Jost"; src: url("../fonts/jost.woff") format("woff"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-italic.woff") format("woff"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant.woff") format("woff"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-italic.woff") format("woff"); font-weight: 300 700; font-style: italic; font-display: swap; }

/* Mode nuit (par défaut) */
:root {
  --bg: #000000;          /* nuit */
  --bg-raised: #0d0c0a;   /* laque */
  --bg-sunk: #060605;
  --fg: #ede7db;          /* ivoire */
  --fg-muted: #a49c8e;    /* fumée */
  --fg-faint: #857d71;
  --gold: #cdb27b;        /* champagne */
  --gold-strong: #e6d09d;
  --gold-deep: #94794a;
  --on-gold: #0b0906;
  --line: rgba(205, 178, 123, 0.24);
  --line-soft: rgba(237, 231, 219, 0.09);
  --veil: rgba(0, 0, 0, 0.74);
  --glass: rgba(0, 0, 0, 0.62);
  --danger: #e39282;
  --ok: #a9c9a4;
  --body-weight: 340;

  --font-display: "Cormorant Garamond", "Cormorant", "EB Garamond", Garamond, "Times New Roman", serif;
  --font-body: "Jost", "Futura", "Century Gothic", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --step--2: 0.72rem;
  --step--1: 0.84rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 1.2rem + 0.9vw, 1.95rem);
  --step-3: clamp(1.9rem, 1.35rem + 2.1vw, 3.1rem);
  --step-4: clamp(2.2rem, 1.4rem + 3vw, 4.1rem);
  --step-5: clamp(2.6rem, 1.2rem + 4.8vw, 5.6rem);

  --gutter: clamp(16px, 5vw, 76px);
  --max: 1320px;
  --section: clamp(4rem, 2.6rem + 5.5vw, 8rem);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

/* Mode jour */
:root[data-theme="light"] {
  --bg: #f1efea;
  --bg-raised: #fbfaf7;
  --bg-sunk: #e6e3dc;
  --fg: #16140f;
  --fg-muted: #5b554b;
  --fg-faint: #736c60;
  --gold: #8b6c34;
  --gold-strong: #6c5223;
  --gold-deep: #b0935c;
  --on-gold: #fbfaf7;
  --line: rgba(139, 108, 52, 0.3);
  --line-soft: rgba(22, 20, 15, 0.1);
  --veil: rgba(241, 239, 234, 0.82);
  --glass: rgba(241, 239, 234, 0.72);
  --danger: #a5402f;
  --ok: #3f6b3d;
  --body-weight: 400;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: var(--body-weight);
  font-size: var(--step-0);
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.7s var(--ease), color 0.7s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
[hidden] { display: none !important; }
.ico { width: 1em; height: 1em; flex: 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; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 300; line-height: 1.04; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); font-weight: 400; line-height: 1.15; }
p { margin: 0; }
.prose p + p { margin-top: 1.1em; }
.prose { max-width: 62ch; color: var(--fg-muted); }
.prose strong { color: var(--fg); font-weight: 500; }
em, .ital { font-family: var(--font-display); font-style: italic; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* Surtitre : italique serif or, jamais en capitales */
.kicker {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--step-1);
  color: var(--gold);
  letter-spacing: 0.01em;
  margin-bottom: 1.1rem;
}

/* Étiquettes de navigation : petites capitales espacées (usage du métier) */
.caps { font-size: var(--step--2); letter-spacing: 0.2em; text-transform: uppercase; font-weight: 450; }

/* ---------- Logo (masques vectoriels, recolorables) ---------- */
.logo {
  display: block;
  aspect-ratio: 717 / 314;
  background: currentColor;
  -webkit-mask: var(--logo-full) center / contain no-repeat;
  mask: var(--logo-full) center / contain no-repeat;
}
.mark {
  display: block;
  aspect-ratio: 311 / 305;
  background: currentColor;
  -webkit-mask: var(--logo-mark) center / contain no-repeat;
  mask: var(--logo-mark) center / contain no-repeat;
}
.gilded {
  background: linear-gradient(105deg, var(--gold-deep) 0%, var(--gold) 30%, var(--gold-strong) 46%, var(--gold) 58%, var(--gold-deep) 100%);
  background-size: 260% 100%;
  background-position: 100% 0;
}

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.1rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--gold-strong);
  font-size: var(--step--2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease), background-color 0.5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.6s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn:hover, .btn:focus-visible { color: var(--on-gold); }
.btn-solid { background: var(--gold); color: var(--on-gold); }
.btn-solid::before { background: var(--gold-strong); }
.btn-quiet { border-color: var(--line); color: var(--fg); }
.btn-quiet::before { background: var(--fg); }
.btn-quiet:hover, .btn-quiet:focus-visible { color: var(--bg); }
.btn-sm { min-height: 2.4rem; padding: 0.5rem 1rem; letter-spacing: 0.16em; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }
.btn .ico { width: 1rem; height: 1rem; flex: none; }

.link-line {
  position: relative;
  color: var(--gold-strong);
  padding-bottom: 0.2rem;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease-out);
}
.link-line:hover { background-size: 0% 1px; background-position: right bottom; }

/* Cadenas animé */
.lock .shackle { transition: transform 0.45s var(--ease-out); transform-origin: 70% 50%; }
.btn:hover .lock .shackle, a:hover .lock .shackle { transform: translateY(-2px) rotate(-14deg); }

/* ---------- Voile d'ouverture ---------- */
.veil {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: #000;
  color: #cdb27b;
  pointer-events: none;
  animation: veil-lift 0.9s var(--ease-out) 1.05s forwards;
}
.veil-inner { display: grid; justify-items: center; gap: 1.4rem; width: min(42vw, 230px); }
.veil .logo { width: 100%; opacity: 0; animation: veil-logo 0.9s var(--ease) 0.1s forwards; }
.veil-line { width: 100%; height: 1px; background: currentColor; transform: scaleX(0); animation: veil-line 0.9s var(--ease-out) 0.25s forwards; }
@keyframes veil-logo { to { opacity: 1; } }
@keyframes veil-line { to { transform: scaleX(1); } }
@keyframes veil-lift { to { transform: translateY(-100%); visibility: hidden; } }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line-soft);
}
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 5.25rem; transition: height 0.5s var(--ease); }
.site-header.is-solid .header-bar { height: 4.25rem; }
.brand { display: block; width: clamp(108px, 9vw, 138px); color: var(--fg); flex: none; }
.brand .logo { width: 100%; }
.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.6rem); }
.nav a, .nav button.navlink {
  position: relative;
  font-size: var(--step--2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding-block: 0.5rem;
  transition: color 0.4s var(--ease);
}
.nav a::after, .nav button.navlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.15rem; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out);
}
.nav a:hover, .nav button.navlink:hover { color: var(--fg); }
.nav a:hover::after, .nav button.navlink:hover::after { transform: scaleX(1); }
.tools { display: flex; align-items: center; gap: 0.55rem; }
.lang { display: inline-flex; border: 1px solid var(--line-soft); border-radius: 999px; padding: 2px; }
.lang button { font-size: 0.68rem; letter-spacing: 0.16em; padding: 0.38rem 0.62rem; border-radius: 999px; color: var(--fg-muted); transition: background 0.4s, color 0.4s; }
.lang button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.lang a { font-size: 0.68rem; letter-spacing: 0.16em; padding: 0.38rem 0.62rem; border-radius: 999px; color: var(--fg-muted); transition: background 0.4s, color 0.4s; line-height: 1.2; }
.lang a:hover { color: var(--fg); }
.lang a[aria-current="true"] { background: var(--fg); color: var(--bg); }
.nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.icon-btn { display: inline-grid; place-items: center; width: 2.35rem; height: 2.35rem; border-radius: 999px; border: 1px solid var(--line-soft); color: var(--fg-muted); transition: color 0.4s, border-color 0.4s; }
.icon-btn:hover { color: var(--gold-strong); border-color: var(--line); }
.icon-btn svg { width: 1.05rem; height: 1.05rem; }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }
.menu-btn { display: none; }
.header-private { white-space: nowrap; }

@media (max-width: 1040px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
}
@media (max-width: 560px) {
  .header-private .label-long { display: none; }
  .header-private { padding-inline: 0.85rem; }
  .site-header .lang { display: none; } /* sur téléphone : le choix de langue est dans le menu */
  .header-bar { gap: 0.75rem; }
}

/* Menu mobile plein écran */
.menu-sheet {
  position: fixed; inset: 0; z-index: 130;
  background: var(--bg);
  display: grid; grid-template-rows: auto 1fr auto;
  padding: calc(env(safe-area-inset-top, 0px) + 1rem) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 2rem);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease-out), visibility 0s linear 0.7s;
}
.menu-sheet.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.7s var(--ease-out), visibility 0s; }
.menu-sheet .sheet-top { display: flex; justify-content: space-between; align-items: center; height: 4.25rem; }
.menu-sheet nav { display: grid; align-content: center; gap: 0.6rem; }
.menu-sheet nav a, .menu-sheet nav button { font-family: var(--font-display); font-size: clamp(2.2rem, 9vw, 3.4rem); font-weight: 300; text-align: left; color: var(--fg); line-height: 1.15; }
.menu-sheet nav a:hover, .menu-sheet nav button:hover { color: var(--gold-strong); font-style: italic; }
.menu-sheet .sheet-foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; color: var(--fg-muted); font-size: var(--step--1); }
.menu-sheet .sheet-foot .lang a { font-size: 0.8rem; padding: 0.55rem 0.9rem; }

/* ---------- Héros ---------- */
.hero {
  position: relative;
  min-height: min(92svh, 920px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  padding-top: 7.5rem;
  padding-bottom: 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slides { position: absolute; inset: 0; }
.hero-slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity 2.2s var(--ease), transform 9s linear;
}
.hero-slides img.is-on { opacity: 1; transform: scale(1); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 38%, transparent 72%),
    linear-gradient(0deg, var(--bg) 0%, transparent 34%);
}
.hero-mark {
  position: absolute; z-index: -1;
  right: max(-8vw, -120px);
  top: 50%;
  width: min(62vw, 760px);
  translate: 0 -54%;
  opacity: 0.62;
  -webkit-mask: var(--logo-mark) center / contain no-repeat;
  mask: var(--logo-mark) center / contain no-repeat;
  aspect-ratio: 311 / 305;
  animation: gild 3.4s var(--ease) 1.2s 1 both;
}
:root[data-theme="light"] .hero-mark { opacity: 0.5; }
.hero > .wrap, .hero-content, .clocks { min-width: 0; }
.hero.has-photo .hero-mark { opacity: 0.18; }
@keyframes gild { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.hero-content { display: grid; gap: 1.8rem; padding-bottom: clamp(2.5rem, 5vw, 4.5rem); max-width: 52rem; }
.hero h1 { max-width: 13ch; }
.hero h1 .kicker { max-width: 36rem; line-height: 1.35; text-wrap: pretty; margin-bottom: 1.3rem; }
.hero h1 .h1-main { display: block; }
.hero .lead { font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.22rem); color: var(--fg-muted); max-width: 46ch; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem 1rem; align-items: center; }
.hero-note { font-family: var(--font-display); font-style: italic; color: var(--fg-faint); font-size: var(--step-1); }
@media (max-width: 760px) {
  .hero-mark { width: 120vw; right: -48vw; top: 34%; opacity: 0.32; }
  :root[data-theme="light"] .hero-mark { opacity: 0.22; }
  .hero .btn { flex: 1 1 15rem; }
}

/* Bande des fuseaux horaires */
.clocks {
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: stretch;
  overflow-x: auto; scrollbar-width: none;
}
.clocks::-webkit-scrollbar { display: none; }
.clocks-label { flex: 0 0 auto; display: flex; align-items: center; padding: 1rem 2rem 1rem 0; font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: var(--step-1); white-space: nowrap; }
.clock { flex: 1 0 auto; display: grid; gap: 0.1rem; padding: 1rem 1.4rem; border-left: 1px solid var(--line-soft); min-width: 7.5rem; }
.clock .city { font-size: var(--step--2); letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-faint); }
.clock .time { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; color: var(--fg); }
.clock.is-home .time { color: var(--gold-strong); }
@media (max-width: 760px) { .clocks-label { display: none; } .clock:first-of-type { border-left: 0; padding-left: 0; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section + .section { border-top: 1px solid var(--line-soft); }
.section-head { display: grid; gap: 0; margin-bottom: clamp(2.5rem, 2rem + 3vw, 5rem); max-width: 58rem; }
.section-head .prose { margin-top: 1.6rem; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.signature { margin-top: 2.6rem; display: flex; align-items: center; gap: 1rem; color: var(--fg-faint); font-size: var(--step--1); }
.signature .mark { width: 2.2rem; color: var(--gold); }

/* Univers : liste éditoriale + visionneuse */
.univers { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.u-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); counter-reset: u; }
.u-item { border-bottom: 1px solid var(--line-soft); }
.u-item button, .u-item .u-link {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.35rem 1.5rem; align-items: baseline;
  text-align: left; padding: 1.35rem 0;
}
.u-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.75rem, 1.2rem + 2vw, 3.05rem); line-height: 1.08; color: var(--fg); transition: color 0.45s var(--ease), letter-spacing 0.6s var(--ease-out), padding 0.6s var(--ease-out); }
.u-line { grid-column: 1 / -1; color: var(--fg-muted); opacity: 0.8; font-size: var(--step--1); max-width: 54ch; transition: color 0.45s; }
.u-arrow { color: var(--gold); opacity: 0; transform: translateX(-8px); transition: opacity 0.45s, transform 0.6s var(--ease-out); }
.u-item.is-active .u-title, .u-item button:hover .u-title, .u-item .u-link:hover .u-title { color: var(--gold-strong); font-style: italic; padding-left: 0.4rem; }
.u-item.is-active .u-line { opacity: 1; }
.u-item.is-active .u-arrow { opacity: 1; transform: none; }
.u-mobile-visual { display: none; }
.viewer { position: sticky; top: 6.5rem; }
.viewer-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-raised); border: 1px solid var(--line-soft); }
.viewer-frame .visual { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease); }
.viewer-frame .visual.is-on { opacity: 1; }
.viewer-caption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; color: var(--fg-faint); font-size: var(--step--1); }
.viewer-caption .ital { color: var(--gold); font-size: var(--step-1); }
.u-note { margin-top: 2.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; color: var(--fg-muted); }
.u-note .ico { width: 1rem; height: 1rem; color: var(--gold); }
@media (max-width: 960px) {
  .univers { grid-template-columns: minmax(0, 1fr); }
  .viewer { display: none; }
  .u-mobile-visual { display: block; position: relative; aspect-ratio: 16 / 10; margin-bottom: 1.3rem; overflow: hidden; border: 1px solid var(--line-soft); }
  .u-item button, .u-item .u-link { padding-bottom: 1.6rem; }
  .u-arrow { display: none; }
}

/* Visuels (photo ou scène générative) */
.visual { position: relative; overflow: hidden; background: var(--bg-raised); }
.visual canvas, .visual img { position: absolute; inset: 0; width: 100%; height: 100%; }
.visual.fill { position: absolute; inset: 0; }
.visual img { object-fit: cover; }
.visual.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--bg) 55%, transparent), transparent 55%); pointer-events: none; }
.visual .v-tag { position: absolute; left: 1rem; bottom: 0.9rem; z-index: 2; font-family: var(--font-display); font-style: italic; color: var(--gold-strong); font-size: 1.05rem; }

/* Engagements */
.pledges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pledge { padding: clamp(1.8rem, 3vw, 3rem) clamp(0rem, 3vw, 3rem) clamp(1.8rem, 3vw, 3rem) 0; border-bottom: 1px solid var(--line-soft); display: grid; gap: 0.9rem; align-content: start; }
.pledge:nth-child(2n) { padding-left: clamp(1.5rem, 3vw, 3rem); border-left: 1px solid var(--line-soft); padding-right: 0; }
.pledge h3 { font-size: var(--step-3); font-weight: 300; }
.pledge p { color: var(--fg-muted); max-width: 46ch; }
@media (max-width: 760px) {
  .pledges { grid-template-columns: minmax(0, 1fr); }
  .pledge:nth-child(2n) { padding-left: 0; border-left: 0; }
}

/* Le Cercle : étapes */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3.5rem); list-style: none; margin: 0; padding: 0; }
.step { display: grid; gap: 1rem; align-content: start; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.step-num { font-family: var(--font-display); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--gold); }
.step h3 { font-size: var(--step-2); }
.step p { color: var(--fg-muted); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.cercle-foot { margin-top: clamp(2.5rem, 4vw, 4rem); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* Destinations défilantes */
.marquee { overflow: hidden; padding-block: clamp(2.5rem, 5vw, 4.5rem); border-block: 1px solid var(--line-soft); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-item { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.4rem, 1.6rem + 3.4vw, 5rem); line-height: 1.1; padding-inline: clamp(1.2rem, 2.5vw, 2.6rem); white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--gold-deep); transition: color 0.5s; }
.marquee-item:nth-child(3n + 2) { font-style: italic; color: var(--fg); -webkit-text-stroke: 0; }
.marquee-sep { width: 0.45rem; height: 0.45rem; transform: rotate(45deg); border: 1px solid var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.dest-head { margin-bottom: 0; }
.section.dest { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.section.dest .wrap { margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.coords { display: grid; gap: 1.8rem; align-content: start; }
.coord { display: grid; gap: 0.3rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line-soft); }
.coord .label { font-size: var(--step--2); letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-faint); }
.coord .value { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.25; color: var(--fg); overflow-wrap: anywhere; }
.coord .hint { font-size: var(--step--1); color: var(--fg-faint); display: inline-flex; gap: 0.45rem; align-items: center; }
.coord .hint .ico { width: 0.85rem; height: 0.85rem; color: var(--gold); }
.blurred { filter: blur(6px); user-select: none; -webkit-user-select: none; opacity: 0.75; transition: filter 0.6s; }
.coord:hover .blurred { filter: blur(7.5px); }

/* Formulaires */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1.8rem; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 0.45rem; position: relative; }
.field label { font-size: var(--step--2); letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-faint); }
.field label .opt { text-transform: none; letter-spacing: 0.02em; font-style: italic; font-family: var(--font-display); font-size: 0.95rem; color: var(--fg-faint); margin-left: 0.3rem; }
.input, .field input, .field textarea, .field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0.65rem 0 0.7rem;
  font-size: 1.05rem;
  font-weight: var(--body-weight);
  color: var(--fg);
  transition: border-color 0.4s var(--ease), background-color 0.4s;
}
.field textarea { min-height: 8.5rem; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--gold-strong); }
.field input:focus-visible, .field textarea:focus-visible { box-shadow: 0 1px 0 0 var(--gold-strong); }
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--bg-raised); color: var(--fg); }
.field .err { color: var(--danger); font-size: var(--step--1); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: var(--danger); }
.check { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--fg-muted); font-size: var(--step--1); line-height: 1.55; }
.check input { appearance: none; flex: none; width: 1.05rem; height: 1.05rem; margin-top: 0.15rem; border: 1px solid var(--gold); border-radius: 1px; display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--gold); }
.check input:checked::after { content: ""; width: 0.32rem; height: 0.58rem; border: solid var(--on-gold); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check a { color: var(--gold-strong); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; }
.form-status { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--gold-strong); }
.form-status.is-error { color: var(--danger); font-family: var(--font-body); font-style: normal; font-size: var(--step--1); }
.sent { display: grid; gap: 1.2rem; padding: clamp(2rem, 4vw, 3.5rem); border: 1px solid var(--line); background: var(--bg-raised); }
.sent .mark { width: 3rem; color: var(--gold); }
.sent h3 { font-size: var(--step-3); }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding-block: clamp(3.5rem, 6vw, 6rem) calc(2rem + env(safe-area-inset-bottom, 0px)); background: var(--bg-sunk); }
.footer-top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 2.5rem; }
.footer-top .brand { width: 170px; }
.footer-tag { margin-top: 1.6rem; font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--fg-muted); max-width: 26ch; }
.footer-col { display: grid; gap: 0.55rem; align-content: start; font-size: var(--step--1); color: var(--fg-muted); }
.footer-col .label { font-size: var(--step--2); letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 0.4rem; }
.footer-col a:hover { color: var(--gold-strong); }
.footer-bottom { margin-top: clamp(3rem, 5vw, 5rem); padding-top: 1.6rem; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; font-size: 0.74rem; color: var(--fg-faint); }
.legal-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.legal-links a:hover { color: var(--fg); }
@media (max-width: 860px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pages intérieures ---------- */
.page { padding-top: clamp(8rem, 12vw, 11rem); padding-bottom: var(--section); min-height: 80svh; }
.page-head { display: grid; gap: 0; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.page-head h1 { font-size: var(--step-4); max-width: 22ch; }
.page-head .lead, .svc-intro .lead { margin-top: 1.6rem; font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem); line-height: 1.7; color: var(--fg-muted); max-width: 62ch; }
address { font-style: normal; }
.doc { max-width: 70ch; color: var(--fg-muted); }
.doc h2 { font-size: var(--step-2); font-weight: 400; color: var(--fg); margin-top: 2.6rem; margin-bottom: 0.8rem; }
.doc h2:first-child { margin-top: 0; }
.doc p + p { margin-top: 0.9rem; }
.doc ul { margin: 0.6rem 0 0; padding-left: 1.1rem; }
.doc li { margin-top: 0.35rem; }
.doc li::marker { color: var(--gold); }
.doc ul + p, .doc .table-scroll + p, .doc p + .table-scroll { margin-top: 0.9rem; }
.doc a { color: var(--gold-strong); text-decoration: underline; text-underline-offset: 3px; }
.doc-updated { margin-top: 3rem; font-family: var(--font-display); font-style: italic; color: var(--fg-faint); }

/* Connexion membres */
.access { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.access-visual { position: relative; overflow: hidden; border-right: 1px solid var(--line-soft); }
.access-visual .mark { position: absolute; width: 70%; left: 15%; top: 50%; translate: 0 -50%; opacity: 0.9; }
.access-panel { display: grid; align-content: center; padding: 8rem var(--gutter) 4rem; gap: 2rem; max-width: 40rem; }
.access-panel h1 { font-size: var(--step-4); }
.access-panel .form { grid-template-columns: minmax(0, 1fr); }
.access-panel .prose { max-width: 44ch; }
@media (max-width: 860px) { .access { grid-template-columns: minmax(0, 1fr); } .access-visual { display: none; } }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 2.6rem; }
.pw-eye { position: absolute; right: 0; bottom: 0.55rem; color: var(--fg-faint); width: 2rem; height: 2rem; display: grid; place-items: center; }
.pw-eye svg { width: 1.1rem; height: 1.1rem; }

/* Salon privé */
.salon-hero { padding-top: clamp(8rem, 12vw, 11rem); padding-bottom: clamp(3rem, 5vw, 5rem); border-bottom: 1px solid var(--line-soft); }
.salon-hero h1 { font-size: var(--step-5); }
.salon-hero .welcome { font-family: var(--font-display); font-style: italic; font-size: var(--step-2); color: var(--gold-strong); margin-top: 1.4rem; }
.salon-hero .prose { margin-top: 1.4rem; }
.salon-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.4rem; }
.chip { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.55rem 0.95rem; border: 1px solid var(--line-soft); border-radius: 999px; color: var(--fg-muted); transition: color 0.4s, border-color 0.4s; }
.chip:hover { color: var(--gold-strong); border-color: var(--line); }
.salon-meta { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; margin-top: 2.4rem; color: var(--fg-faint); font-size: var(--step--1); }
.chapter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; padding-block: clamp(4rem, 7vw, 8rem); border-bottom: 1px solid var(--line-soft); scroll-margin-top: 5rem; }
.chapter:nth-child(even) .chapter-visual { order: 2; }
.chapter-visual { position: relative; aspect-ratio: 4 / 5; border: 1px solid var(--line-soft); }
.chapter-body { display: grid; gap: 1.6rem; align-content: center; }
.chapter-body h2 { font-size: var(--step-4); }
.chapter-body .lead { color: var(--fg-muted); font-size: 1.1rem; max-width: 52ch; }
.inclusions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; border-top: 1px solid var(--line-soft); }
.inclusions li { padding: 0.85rem 0 0.85rem 1.3rem; border-bottom: 1px solid var(--line-soft); position: relative; font-size: var(--step--1); color: var(--fg); line-height: 1.5; }
.inclusions li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: 0.4rem; height: 0.4rem; border: 1px solid var(--gold); transform: rotate(45deg); }
.chapter-cta { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; }
.on-request { font-family: var(--font-display); font-style: italic; color: var(--fg-faint); font-size: var(--step-1); }
@media (max-width: 960px) {
  .chapter { grid-template-columns: minmax(0, 1fr); }
  .chapter:nth-child(even) .chapter-visual { order: 0; }
  .chapter-visual { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) { .inclusions { grid-template-columns: minmax(0, 1fr); } }
.private-line { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
@media (max-width: 860px) { .private-line { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Dialogues, toasts ---------- */
.dialog-backdrop { position: fixed; inset: 0; z-index: 150; background: var(--veil); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 1rem; opacity: 0; transition: opacity 0.35s var(--ease); }
.dialog-backdrop.is-open { opacity: 1; }
.dialog { width: min(100%, 40rem); max-height: calc(100svh - 2rem); overflow: auto; background: var(--bg-raised); border: 1px solid var(--line); padding: clamp(1.4rem, 4vw, 2.6rem); display: grid; gap: 1.4rem; transform: translateY(14px); transition: transform 0.5s var(--ease-out); }
.dialog-backdrop.is-open .dialog { transform: none; }
.dialog.wide { width: min(100%, 56rem); }
.dialog h2 { font-size: var(--step-3); }
.dialog .dialog-text { color: var(--fg-muted); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: flex-end; }
.dialog-close { justify-self: end; margin: -0.5rem -0.5rem 0 0; }
.pre { white-space: pre-wrap; font-size: var(--step--1); background: var(--bg-sunk); border: 1px solid var(--line-soft); padding: 1rem; max-height: 18rem; overflow: auto; color: var(--fg-muted); }

.toasts { position: fixed; z-index: 170; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); display: grid; gap: 0.6rem; justify-items: end; pointer-events: none; }
.toast { pointer-events: auto; background: var(--bg-raised); border: 1px solid var(--line); color: var(--fg); padding: 0.85rem 1.1rem; font-size: var(--step--1); max-width: min(26rem, calc(100vw - 2rem)); display: flex; gap: 0.7rem; align-items: center; animation: toast-in 0.5s var(--ease-out); }
.toast::before { content: ""; width: 0.45rem; height: 0.45rem; transform: rotate(45deg); background: var(--gold); flex: none; }
.toast.is-error::before { background: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

/* Pastille du mode démonstration */
.demo-pill { position: fixed; z-index: 120; left: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); max-width: min(23rem, calc(100vw - 2rem)); background: var(--bg-raised); border: 1px solid var(--line); font-size: 0.8rem; color: var(--fg-muted); box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35); }
.demo-pill summary { list-style: none; cursor: pointer; padding: 0.6rem 0.9rem; display: flex; align-items: center; gap: 0.6rem; color: var(--fg); }
.demo-pill summary::-webkit-details-marker { display: none; }
.demo-pill summary::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 22%, transparent); }
.demo-pill .demo-body { padding: 0 0.9rem 0.9rem; display: grid; gap: 0.7rem; }
.demo-pill code { font-family: var(--font-body); font-weight: 500; color: var(--gold-strong); }
.demo-pill .demo-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.is-manager .demo-pill { display: none; }

/* Apparition au défilement (uniquement sous la ligne de flottaison) */
.reveal-pending { opacity: 0; transform: translateY(22px); }
.reveal-in { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.2s var(--ease-out); }

/* ==========================================================================
   Manager (espace de gestion)
   ========================================================================== */
.is-manager .site-header, .is-manager .site-footer { display: none; }
.mgr { min-height: 100svh; display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); font-size: 0.95rem; }
.mgr-side { position: sticky; top: 0; height: 100svh; border-right: 1px solid var(--line-soft); background: var(--bg-sunk); display: grid; grid-template-rows: auto 1fr auto; padding: calc(1.4rem + env(safe-area-inset-top, 0px)) 1rem 1.2rem; gap: 1.6rem; }
.mgr-brand { display: flex; align-items: center; gap: 0.75rem; padding-inline: 0.5rem; color: var(--fg); }
.mgr-brand .mark { width: 2rem; color: var(--gold); }
.mgr-brand strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1; display: block; }
.mgr-brand small { color: var(--fg-faint); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.mgr-tabs { display: grid; gap: 0.2rem; align-content: start; }
.mgr-tab { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; text-align: left; padding: 0.7rem 0.8rem; border-radius: var(--radius); color: var(--fg-muted); transition: background 0.3s, color 0.3s; }
.mgr-tab:hover { color: var(--fg); background: var(--line-soft); }
.mgr-tab > span:first-child { white-space: nowrap; }
.mgr-tab .ico { width: 1.05rem; height: 1.05rem; }
.mgr-tab[aria-selected="true"] { color: var(--fg); background: var(--bg-raised); box-shadow: inset 2px 0 0 var(--gold); }
.mgr-badge { min-width: 1.4rem; height: 1.4rem; padding-inline: 0.35rem; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-size: 0.72rem; font-weight: 600; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.mgr-side-foot { display: grid; gap: 0.6rem; font-size: 0.8rem; color: var(--fg-faint); }
.mgr-side-foot .row { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.mgr-main { min-width: 0; padding: calc(1.6rem + env(safe-area-inset-top, 0px)) clamp(1rem, 3vw, 3rem) 6rem; }
.mgr-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; padding-bottom: 1.4rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line-soft); }
.mgr-head h1 { font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem); }
.mgr-head p { color: var(--fg-muted); margin-top: 0.4rem; max-width: 68ch; }
.mgr-toolbar { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-bottom: 1rem; }
.mgr-toolbar .grow { flex: 1 1 auto; }
.seg { display: inline-flex; border: 1px solid var(--line-soft); border-radius: 999px; padding: 2px; }
.seg button { padding: 0.4rem 0.85rem; border-radius: 999px; font-size: 0.78rem; color: var(--fg-muted); }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.mgr-mobile-top { display: none; }
@media (max-width: 900px) {
  .mgr { grid-template-columns: minmax(0, 1fr); }
  .mgr-side { position: static; height: auto; grid-template-rows: auto auto; border-right: 0; border-bottom: 1px solid var(--line-soft); padding-bottom: 0.8rem; }
  .mgr-tabs { display: flex; overflow-x: auto; gap: 0.3rem; padding-bottom: 0.4rem; scrollbar-width: none; }
  .mgr-tab { flex: none; }
  .mgr-tab[aria-selected="true"] { box-shadow: inset 0 -2px 0 var(--gold); }
  .mgr-side-foot { display: none; }
  .mgr-mobile-top { display: flex; gap: 0.5rem; margin-left: auto; }
  .mgr-brand { justify-content: space-between; }
}

/* Boîte de réception */
.inbox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 1.4rem; align-items: start; }
@media (max-width: 1180px) { .inbox { grid-template-columns: minmax(0, 1fr); } }
.msg-list { border: 1px solid var(--line-soft); background: var(--bg-raised); }
.msg-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.9rem; align-items: start; padding: 0.95rem 1rem; border-bottom: 1px solid var(--line-soft); cursor: pointer; transition: background 0.25s; }
.msg-row:last-child { border-bottom: 0; }
.msg-row:hover { background: var(--line-soft); }
.msg-row.is-current { background: color-mix(in srgb, var(--gold) 9%, transparent); }
.msg-row .who { font-weight: 500; color: var(--fg); display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.msg-row.is-unread .who::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--gold); flex: none; }
.msg-row .preview { color: var(--fg-muted); font-size: 0.86rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 0.2rem; overflow-wrap: anywhere; }
.msg-row .date { color: var(--fg-faint); font-size: 0.78rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tag { display: inline-flex; align-items: center; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.18rem 0.5rem; border-radius: 999px; border: 1px solid var(--line); color: var(--gold-strong); font-weight: 500; }
.tag.muted { color: var(--fg-faint); border-color: var(--line-soft); }
.tag.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.tag.warn { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 45%, transparent); }
.box-check { appearance: none; width: 1.05rem; height: 1.05rem; border: 1px solid var(--line); border-radius: 2px; margin: 0.15rem 0 0; cursor: pointer; display: grid; place-items: center; background: transparent; }
.box-check:checked { background: var(--gold); border-color: var(--gold); }
.box-check:checked::after { content: ""; width: 0.3rem; height: 0.55rem; border: solid var(--on-gold); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.box-check:indeterminate { background: var(--gold); }
.box-check:indeterminate::after { content: ""; width: 0.55rem; height: 1.5px; background: var(--on-gold); }
.msg-detail { border: 1px solid var(--line-soft); background: var(--bg-raised); padding: clamp(1.2rem, 2.5vw, 2rem); position: sticky; top: 1.2rem; display: grid; gap: 1.2rem; }
.msg-detail h2 { font-size: 1.9rem; }
.kv { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.55rem 1rem; font-size: 0.92rem; }
.kv dt { color: var(--fg-faint); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; padding-top: 0.15rem; }
.kv dd { margin: 0; color: var(--fg); overflow-wrap: anywhere; }
.msg-body { white-space: pre-wrap; line-height: 1.7; color: var(--fg); background: var(--bg-sunk); border: 1px solid var(--line-soft); padding: 1rem 1.1rem; overflow-wrap: anywhere; }
.empty { border: 1px dashed var(--line); padding: 2.4rem 1.6rem; display: grid; gap: 0.6rem; justify-items: start; color: var(--fg-muted); background: var(--bg-raised); }
.empty h3 { font-size: 1.6rem; color: var(--fg); }

/* Éditeurs de contenu */
.ed-section { border: 1px solid var(--line-soft); background: var(--bg-raised); margin-bottom: 1rem; }
.ed-section > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; }
.ed-section > summary::-webkit-details-marker { display: none; }
.ed-section > summary h3 { font-family: var(--font-display); font-size: 1.45rem; }
.ed-section > summary .chev { transition: transform 0.4s var(--ease-out); color: var(--gold); }
.ed-section[open] > summary .chev { transform: rotate(180deg); }
.ed-body { padding: 0.2rem 1.2rem 1.4rem; display: grid; gap: 1.2rem; }
.ed-row { display: grid; gap: 0.45rem; }
.ed-row > label, .ed-label { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-faint); }
.ed-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
@media (max-width: 760px) { .ed-pair { grid-template-columns: minmax(0, 1fr); } }
.ed-lang { position: relative; }
.ed-lang::before { content: attr(data-lang); position: absolute; right: 0.6rem; top: 0.5rem; font-size: 0.62rem; letter-spacing: 0.14em; color: var(--fg-faint); pointer-events: none; }
.ed-input { width: 100%; background: var(--bg-sunk); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 0.62rem 2.4rem 0.62rem 0.75rem; color: var(--fg); font-size: 0.95rem; line-height: 1.55; transition: border-color 0.3s; }
textarea.ed-input { min-height: 5.4rem; resize: vertical; }
textarea.ed-input.tall { min-height: 16rem; }
.ed-input:focus { outline: none; border-color: var(--gold); }
.ed-help { font-size: 0.8rem; color: var(--fg-faint); }
.ed-toggle { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--fg-muted); cursor: pointer; }
.switch { appearance: none; width: 2.3rem; height: 1.3rem; border-radius: 999px; background: var(--line-soft); border: 1px solid var(--line); position: relative; cursor: pointer; transition: background 0.3s; flex: none; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: calc(1.3rem - 6px); height: calc(1.3rem - 6px); border-radius: 50%; background: var(--fg-muted); transition: transform 0.35s var(--ease-out), background 0.3s; }
.switch:checked { background: color-mix(in srgb, var(--gold) 40%, transparent); }
.switch:checked::after { transform: translateX(1rem); background: var(--gold-strong); }
.ed-item { border: 1px solid var(--line-soft); padding: 1rem; display: grid; gap: 0.9rem; background: var(--bg); }
.ed-item-head { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.ed-item-head strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; }
.ed-item-tools { display: flex; gap: 0.3rem; }
.mini { width: 2rem; height: 2rem; display: grid; place-items: center; border: 1px solid var(--line-soft); border-radius: var(--radius); color: var(--fg-muted); }
.mini:hover { color: var(--gold-strong); border-color: var(--line); }
.mini.danger:hover { color: var(--danger); border-color: var(--danger); }
.mini svg { width: 0.95rem; height: 0.95rem; }
.ed-image { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.ed-thumb { aspect-ratio: 4 / 3; border: 1px solid var(--line-soft); background: var(--bg-sunk); position: relative; overflow: hidden; display: grid; place-items: center; color: var(--fg-faint); font-size: 0.72rem; text-align: center; padding: 0.4rem; }
.ed-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ed-image-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
@media (max-width: 520px) { .ed-image { grid-template-columns: minmax(0, 1fr); } }
.savebar { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.8rem; padding: 0.9rem 1rem; margin-top: 1.2rem; background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); }
.savebar .state { color: var(--fg-muted); font-size: 0.85rem; }
.savebar .state.dirty { color: var(--gold-strong); }

/* Tableau des membres */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); background: var(--bg-raised); }
table.tbl { width: 100%; border-collapse: collapse; min-width: 44rem; }
.tbl th, .tbl td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line-soft); vertical-align: middle; font-size: 0.9rem; }
.tbl th { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-faint); font-weight: 500; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.actions { white-space: nowrap; text-align: right; }
.tbl .id { font-weight: 500; color: var(--fg); overflow-wrap: anywhere; }
.tbl .sub { color: var(--fg-faint); font-size: 0.8rem; }
.panel { border: 1px solid var(--line-soft); background: var(--bg-raised); padding: clamp(1.1rem, 2.5vw, 1.8rem); display: grid; gap: 1.1rem; margin-bottom: 1.4rem; }
.panel h2 { font-size: 1.7rem; }
.panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; }
@media (max-width: 760px) { .panel-grid { grid-template-columns: minmax(0, 1fr); } }
.inline-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.note-box { border-left: 2px solid var(--gold); padding: 0.8rem 1rem; background: var(--bg-sunk); color: var(--fg-muted); font-size: 0.88rem; }
.note-box strong { color: var(--fg); font-weight: 500; }
.note-box.warn { border-left-color: var(--danger); }
.note-box code, .ed-help code { font-size: 0.85em; background: var(--line-soft); padding: 0.05em 0.35em; border-radius: 2px; overflow-wrap: anywhere; }
.uid-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-bottom: 0.6rem; }
.uid-row code.uid { font-size: 0.95rem; color: var(--gold-strong); padding: 0.35rem 0.55rem; user-select: all; }
.uid-steps { margin: 0.4rem 0 0; padding-left: 1.1rem; display: grid; gap: 0.35rem; }

/* Connexion manager */
.mgr-login { min-height: 100svh; display: grid; place-items: center; padding: 2rem var(--gutter); }
.mgr-login-card { width: min(100%, 27rem); display: grid; gap: 1.6rem; }
.mgr-login-card .mark { width: 3.4rem; color: var(--gold); }
.mgr-login-card h1 { font-size: 2.6rem; }
.mgr-login-card .form { grid-template-columns: minmax(0, 1fr); }

/* ==========================================================================
   Pages éditoriales : services, maison, FAQ, journal
   ========================================================================== */
.more { margin-top: 2rem; }
.loading-note { color: var(--fg-faint); font-family: var(--font-display); font-style: italic; font-size: var(--step-1); }

/* Fil d'Ariane */
.crumbs { margin-bottom: clamp(1.6rem, 3vw, 2.6rem); font-size: var(--step--1); color: var(--fg-faint); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 0; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 0.32rem; height: 0.32rem; border: 1px solid var(--gold-deep); transform: rotate(45deg); margin-inline: 0.75rem; }
.crumbs a { color: var(--fg-muted); transition: color 0.3s; }
.crumbs a:hover { color: var(--gold-strong); }
.crumbs [aria-current] { color: var(--fg-faint); }

/* En-tête d'une page de service */
.svc-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; padding-bottom: clamp(3rem, 6vw, 6rem); border-bottom: 1px solid var(--line-soft); }
.svc-intro { display: grid; gap: 0; }
.svc-intro h1 { font-size: var(--step-4); max-width: 18ch; }
.svc-intro .hero-actions { margin-top: 2.2rem; }
.svc-intro .hero-note { margin-top: 1.2rem; }
.svc-visual { position: relative; aspect-ratio: 4 / 5; border: 1px solid var(--line-soft); overflow: hidden; }
@media (max-width: 900px) {
  .svc-head { grid-template-columns: minmax(0, 1fr); }
  .svc-visual { aspect-ratio: 16 / 10; order: -1; }
}
.svc-block { padding-block: clamp(3rem, 6vw, 5.5rem); border-bottom: 1px solid var(--line-soft); }
.svc-block > h2, .svc-block > div > h2 { font-size: var(--step-3); margin-bottom: clamp(1.6rem, 3vw, 2.6rem); max-width: 26ch; }
.svc-block .inclusions { max-width: 62rem; }

/* Liste de lieux ou repères */
.facts-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; border-top: 1px solid var(--line-soft); max-width: 62rem; }
.facts-list li { display: grid; gap: 0.2rem; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); color: var(--fg-muted); font-size: var(--step--1); line-height: 1.55; }
.facts-list strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--fg); }
@media (max-width: 700px) { .facts-list { grid-template-columns: minmax(0, 1fr); } }

/* Étapes sur quatre colonnes */
.steps.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .steps.steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .steps.steps-4 { grid-template-columns: minmax(0, 1fr); } }

/* Questions fréquentes (accordéon natif, lisible sans JavaScript) */
.faq { border-top: 1px solid var(--line); max-width: 62rem; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; padding: 1.35rem 0; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.25; color: var(--fg); transition: color 0.35s; text-wrap: pretty; }
.faq-item > summary:hover .faq-q { color: var(--gold-strong); }
.faq-sign { width: 2.1rem; height: 2.1rem; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); transition: transform 0.5s var(--ease-out), background 0.3s; }
.faq-sign .ico { width: 0.95rem; height: 0.95rem; }
.faq-item[open] .faq-sign { transform: rotate(45deg); background: color-mix(in srgb, var(--gold) 12%, transparent); }
.faq-a { padding: 0 3.6rem 1.6rem 0; color: var(--fg-muted); max-width: 70ch; line-height: 1.75; }
@media (max-width: 620px) { .faq-a { padding-right: 0; } }
.faq-page { margin-bottom: clamp(3rem, 6vw, 5rem); }
.faq-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 2.4rem 3rem; }
.faq-group h3 { font-size: var(--step-2); margin-bottom: 0.9rem; }
.faq-group h3 a:hover { color: var(--gold-strong); font-style: italic; }
.faq-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.faq-group li a { color: var(--fg-muted); font-size: var(--step--1); line-height: 1.5; transition: color 0.3s; }
.faq-group li a:hover { color: var(--fg); }

/* Encadré « réservé aux membres » */
.members-only { margin-block: clamp(3rem, 6vw, 5rem); padding: clamp(1.8rem, 4vw, 3.2rem); border: 1px solid var(--line); background: var(--bg-raised); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.4rem 2rem; align-items: start; }
.members-only > .ico { width: 2.2rem; height: 2.2rem; color: var(--gold); margin-top: 0.3rem; }
.members-only h2 { font-size: var(--step-3); max-width: 24ch; }
.members-only .prose { margin-top: 1rem; }
.members-only .hero-actions { margin-top: 1.8rem; }
@media (max-width: 620px) { .members-only { grid-template-columns: minmax(0, 1fr); } }
.members-only.inline { margin: 2rem 0 1.4rem; padding: clamp(1.2rem, 2.5vw, 1.8rem); gap: 1rem 1.2rem; }
.members-only.inline > .ico { width: 1.5rem; height: 1.5rem; }
.members-only.inline h2 { font-size: var(--step-2); font-weight: 400; max-width: none; }
.members-only.inline .prose { margin-top: 0.6rem; font-size: var(--step--1); }
.members-only.inline .hero-actions { margin-top: 1.2rem; }

/* Salon : repères, questions, Journal */
.chapter-places { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; font-size: var(--step--1); color: var(--fg-muted); }
.chapter-places strong { color: var(--fg); font-weight: 500; }
.chapter-sub { font-size: var(--step--2); letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-faint); }
.chapter-body .faq { border-top-color: var(--line-soft); }
.chapter-body .faq-q { font-size: 1.15rem; }
.salon-journal .cards { margin-top: 0; }
.reader { display: grid; gap: 1.2rem; }
.reader .post-meta { margin-top: 0; }
.reader .doc h3 { font-size: var(--step-2); font-weight: 400; color: var(--fg); margin: 2rem 0 0.6rem; }
.reader .lead { color: var(--fg-muted); font-size: 1.1rem; line-height: 1.7; }

/* Encadré d'appel (sur rendez-vous et devis) */
.svc-cta { margin-block: clamp(3rem, 6vw, 5.5rem); padding: clamp(1.8rem, 4vw, 3.4rem); border: 1px solid var(--line); background: var(--bg-raised); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: end; }
.svc-cta h2 { font-size: var(--step-3); }
.svc-cta .prose { margin-top: 1rem; }
@media (max-width: 860px) { .svc-cta { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* Liens vers les autres univers */
.related h2 { font-size: var(--step-3); margin-bottom: 1.6rem; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; border-top: 1px solid var(--line-soft); }
.related li a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 1rem; align-items: baseline; padding: 1.15rem 0; border-bottom: 1px solid var(--line-soft); }
.related .r-title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.15; color: var(--fg); transition: color 0.35s, padding 0.5s var(--ease-out); }
.related .r-line { grid-column: 1 / -1; grid-row: 2; font-size: var(--step--1); color: var(--fg-faint); }
.related .u-arrow { opacity: 0.5; transform: none; }
.related li a:hover .r-title { color: var(--gold-strong); font-style: italic; padding-left: 0.3rem; }
.related li a:hover .u-arrow { opacity: 1; }
@media (max-width: 760px) { .related ul { grid-template-columns: minmax(0, 1fr); } }

/* La Maison : encadré « en bref » */
.about { align-items: start; }
.about .prose { font-size: 1.05rem; line-height: 1.8; }
.facts { border: 1px solid var(--line); background: var(--bg-raised); padding: clamp(1.4rem, 3vw, 2.2rem); position: sticky; top: 6.5rem; }
.facts h2 { font-size: var(--step-2); margin-bottom: 1.2rem; }
.facts dl { margin: 0; display: grid; }
.facts dl > div { display: grid; gap: 0.2rem; padding: 0.8rem 0; border-top: 1px solid var(--line-soft); }
.facts dt { font-size: var(--step--2); letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-faint); }
.facts dd { margin: 0; color: var(--fg); font-size: var(--step--1); line-height: 1.55; }
.facts dd a { color: var(--gold-strong); }
.facts dd a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .facts { position: static; } }

/* Journal : cartes */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: clamp(1.4rem, 3vw, 2.4rem); }
.card a { display: grid; height: 100%; border: 1px solid var(--line-soft); background: var(--bg-raised); transition: border-color 0.4s; }
.card a:hover { border-color: var(--line); }
.card-visual { aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line-soft); }
.card-body { display: grid; gap: 0.8rem; align-content: start; padding: 1.4rem 1.4rem 1.6rem; }
.card-date { font-size: var(--step--2); letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-faint); }
.card-title { font-size: var(--step-2); line-height: 1.2; color: var(--fg); transition: color 0.35s; }
.card a:hover .card-title { color: var(--gold-strong); }
.card-text { color: var(--fg-muted); font-size: var(--step--1); line-height: 1.6; }
.card .link-line { justify-self: start; margin-top: 0.4rem; }

/* Article */
.post-head h1 { max-width: 24ch; }
.post-meta { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; font-size: var(--step--1); color: var(--fg-faint); }
.post-visual { position: relative; aspect-ratio: 21 / 9; border: 1px solid var(--line-soft); margin-bottom: clamp(2.4rem, 5vw, 4rem); overflow: hidden; }
@media (max-width: 700px) { .post-visual { aspect-ratio: 16 / 10; } }
.post-body { max-width: 72ch; font-size: 1.05rem; line-height: 1.8; }
.post-body h2 { font-size: var(--step-3); font-weight: 300; }
.table-scroll { overflow-x: auto; margin: 1.4rem 0 0.6rem; border: 1px solid var(--line-soft); }
table.data { width: 100%; border-collapse: collapse; min-width: 34rem; font-size: var(--step--1); line-height: 1.5; }
table.data th, table.data td { text-align: left; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.data thead th { font-size: var(--step--2); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-faint); font-weight: 500; background: var(--bg-raised); }
table.data tbody th { color: var(--fg); font-weight: 500; }
table.data tr:last-child > * { border-bottom: 0; }
.post-service { margin-top: clamp(2.4rem, 5vw, 4rem); max-width: 72ch; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.post-service a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.3rem 1rem; align-items: baseline; }
.post-service .r-title { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.1; color: var(--fg); transition: color 0.35s; }
.post-service .r-line { grid-column: 1 / -1; grid-row: 2; color: var(--fg-muted); font-size: var(--step--1); }
.post-service a:hover .r-title { color: var(--gold-strong); font-style: italic; }
.post-service .u-arrow { opacity: 1; transform: none; }

/* Manager : compteur de caractères, publication, diagnostic */
.ed-count { position: absolute; right: 0.6rem; bottom: 0.45rem; font-size: 0.66rem; color: var(--fg-faint); font-variant-numeric: tabular-nums; pointer-events: none; }
.ed-count.over { color: var(--danger); }
.ed-lang:has(.ed-count) .ed-input { padding-bottom: 1.3rem; }
.ed-item.nested { background: var(--bg-sunk); padding: 0.8rem; }
.ed-item.nested .ed-item-head strong { font-size: 1.05rem; }
.publish { display: grid; gap: 1rem; }
.publish-status { display: flex; flex-wrap: wrap; gap: 0.6rem 0.9rem; align-items: center; }
.publish-steps { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; }
.diag { border: 1px solid var(--line-soft); padding: 1rem 1.1rem; background: var(--bg); }
.diag + .diag { margin-top: 0.8rem; }
.diag h4 { margin: 0 0 0.6rem; font-family: var(--font-body); font-weight: 500; font-size: 0.9rem; }
.diag.bad h4 { color: var(--gold-strong); }
.diag.good h4 { color: var(--ok); }
.diag ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.3rem; font-size: 0.85rem; color: var(--fg-muted); }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .veil { display: none; }
  .marquee-track { animation: none; }
  .reveal-pending { opacity: 1; transform: none; }
}
