/* ==========================================================================
   Movaven — site commercial (FR/NL)
   Feuille unique. L'identité vient des jetons ci-dessous ; aucune couleur en
   dur ailleurs. Palette alignée sur l'application (--primary #116d60, fonds
   de papier, panneau sombre #14332e), typographie éditoriale (Fraunces) pour
   se distinguer des gabarits SaaS génériques.
   ========================================================================== */

/* ─── Polices, hébergées sur le site ─────────────────────────────────────
   DM Sans et Fraunces (licence SIL Open Font), fichiers variables woff2
   récupérés chez Google Fonts le 2026-10-04 et servis d'ici : la visite ne
   transmet plus l'adresse IP du visiteur à Google, et une requête vers un
   autre domaine disparaît du chargement. */

@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("/assets/fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f5f7f2;
  --paper-2: #eef2ea;
  --ink: #15241f;
  --ink-2: #33463f;
  --muted: #5a6b64;
  --line: #d8e0d7;
  --line-strong: #c3cfc5;
  --night: #0f2723;
  --night-2: #14332e;
  --night-3: #102b29;
  --pine: #116d60;
  --pine-deep: #0c554a;
  --mint: #d9ecdd;
  --mint-2: #eaf3ec;
  --mint-bright: #9ae4c8;
  --amber: #7d5300;
  --amber-bg: #f6edd8;
  --coral: #b0452b;
  --coral-bright: #e17a58;
  --white: #ffffff;
  --radius: 14px;
  --radius-s: 9px;
  --shell: 1220px;
  --font-display: "Fraunces", "Georgia", serif;
  --font-sans: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 18px 44px -30px rgba(9, 44, 37, .45);
  --shadow-s: 0 10px 26px -20px rgba(9, 44, 37, .35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Une ancre (#formulaire, #journee) ne doit pas finir sous l’en-tête collant. */
[id] { scroll-margin-top: 88px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16.5px/1.62 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a { color: var(--pine); text-underline-offset: 2px; }
a:hover { color: var(--pine-deep); }

::selection { background: var(--mint); color: var(--night); }

:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--night); color: var(--white); padding: 12px 18px;
  border-radius: 0 0 var(--radius-s) 0; z-index: 100; text-decoration: none;
}
.skip:focus { left: 0; color: var(--white); }

/* ─── En-tête ─────────────────────────────────────────────────────────── */

.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(245, 247, 242, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 9px; background: var(--night-2); color: var(--mint-bright);
  font: 800 17px/1 var(--font-sans);
}
.brand-word { font: 700 21px/1 var(--font-sans); letter-spacing: -.045em; }
.brand-word i { font-style: normal; color: var(--pine); }

.mainnav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.mainnav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  border-radius: 8px; text-decoration: none; color: var(--ink-2);
  font-size: 14.5px; font-weight: 600;
}
.mainnav a:hover { background: var(--paper-2); color: var(--ink); }
.mainnav a[aria-current="page"] { color: var(--pine); background: var(--mint-2); }

.top-right { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  border: 1px solid var(--line-strong); border-radius: 8px; text-decoration: none;
  font-size: 13.5px; font-weight: 700; color: var(--ink-2);
}
.lang:hover { border-color: var(--pine); color: var(--pine); }

.menu-m { display: none; position: relative; }
.menu-m summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 8px;
  font-size: 14px; font-weight: 700; color: var(--ink-2);
}
.menu-m summary::-webkit-details-marker { display: none; }
.menu-m[open] summary { background: var(--paper-2); }
.menu-m nav {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s);
  box-shadow: var(--shadow); padding: 6px; display: grid;
}
.menu-m nav a {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 7px;
  text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 600;
}
.menu-m nav a:hover { background: var(--mint-2); }

/* ─── Boutons ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 20px; border-radius: 10px; border: 1px solid transparent;
  background: var(--pine); color: var(--white); text-decoration: none;
  font: 700 15px/1.2 var(--font-sans); cursor: pointer;
  transition: background .16s ease, transform .16s ease, border-color .16s ease;
}
.btn:hover { background: var(--pine-deep); color: var(--white); transform: translateY(-1px); }
.btn--light { background: var(--white); color: var(--night); }
.btn--light:hover { background: var(--mint); color: var(--night); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--line:hover { background: var(--white); color: var(--ink); border-color: var(--pine); }
.btn--onnight { background: var(--mint-bright); color: var(--night-2); }
.btn--onnight:hover { background: #c6f2dd; color: var(--night); }
.btn--ghost { background: transparent; color: var(--pine); padding-inline: 6px; }
.btn--ghost:hover { background: transparent; color: var(--pine-deep); transform: none; }
.btn--sm { min-height: 42px; padding: 9px 15px; font-size: 14px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ─── Typographie éditoriale ──────────────────────────────────────────── */

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 14px; color: var(--pine);
  font: 700 13px/1.2 var(--font-sans); letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); flex: none; }
.on-night .eyebrow { color: var(--mint-bright); }
.on-night .eyebrow::before { background: var(--coral-bright); }

.display, h1, h2 {
  font-family: var(--font-display);
  font-weight: 500; letter-spacing: -.035em; color: inherit;
  font-variation-settings: "opsz" 90;
}
h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.01; margin: 0 0 20px; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; margin: 0 0 18px; }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; letter-spacing: -.015em; }
h4 { font-size: 16px; margin: 0 0 6px; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.lede { font-size: clamp(17.5px, 1.6vw, 20px); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tight { max-width: 56ch; }
.measure { max-width: 72ch; }

/* ─── Sections ────────────────────────────────────────────────────────── */

.section { padding: clamp(64px, 8vw, 104px) 0; }
.section--tight { padding: clamp(48px, 5.5vw, 72px) 0; }
.section--line { border-top: 1px solid var(--line); }
.section--tint { background: var(--paper-2); }
.section--mint { background: linear-gradient(180deg, var(--mint-2), var(--paper)); }
.section--dark { background: var(--night); color: #eef6f1; }
.section--night2 { background: var(--night-2); color: #eef6f1; }
.section--dark .muted, .section--night2 .muted { color: #a9c2b8; }
.section--dark a:not(.btn), .section--night2 a:not(.btn) { color: var(--mint-bright); }
.section--dark .lede, .section--night2 .lede { color: #bdd2c8; }

.section-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 34px; align-items: end; margin-bottom: clamp(34px, 4vw, 54px); }
.section-head .lede { margin: 0; }
.section-head--wide { grid-template-columns: 1fr; }

.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-s);
}
.card--flat { box-shadow: none; }
.card--soft { background: var(--mint-2); border-color: #cfe3d4; }
.card p { color: var(--muted); font-size: 15.5px; }
.card h3 a { text-decoration: none; color: inherit; }
.card h3 a:hover { color: var(--pine); }
.card-num { font: 700 13px/1 var(--font-sans); color: var(--coral); letter-spacing: .1em; display: block; margin-bottom: 14px; }

a.card-link { display: block; text-decoration: none; color: inherit; transition: transform .16s ease, border-color .16s ease; }
a.card-link:hover { transform: translateY(-2px); border-color: var(--pine); }
a.card-link .more { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: var(--pine); font-weight: 700; font-size: 14.5px; }

/* ─── Pastilles d'état (statut honnête des fonctions) ─────────────────── */

.st {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px; border-radius: 999px; border: 1px solid transparent;
  font: 700 12.5px/1.3 var(--font-sans); letter-spacing: .015em;
  white-space: normal; max-width: 100%;
}
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.st--ok { color: #115e37; background: #e2f1e5; border-color: #bcd9c2; }
.st--dev { color: var(--amber); background: var(--amber-bg); border-color: #e6d4a8; }
.st--plan { color: #4d5b55; background: #e9eeea; border-color: #cfd9d2; }
.st--info { color: #0b5a60; background: #ddeef0; border-color: #b9dadd; }
.on-night .st--ok { color: #a7e8c3; background: rgba(154, 228, 200, .14); border-color: rgba(154, 228, 200, .35); }
.on-night .st--dev { color: #f2d79b; background: rgba(242, 215, 155, .12); border-color: rgba(242, 215, 155, .3); }
.on-night .st--plan { color: #c3d2ca; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.on-night .st--info { color: #a8e2e6; background: rgba(168, 226, 230, .12); border-color: rgba(168, 226, 230, .3); }

.st-legend { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 14px 18px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-s); }
.st-legend p { margin: 0; font-size: 14px; color: var(--muted); }

/* ─── Petites listes ──────────────────────────────────────────────────── */

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 15px; width: 13px; height: 8px;
  border-left: 2.5px solid var(--pine); border-bottom: 2.5px solid var(--pine);
  transform: rotate(-45deg);
}
.checklist--limit li::before {
  content: "—"; border: 0; transform: none; top: 8px; left: 0;
  width: auto; height: auto; color: var(--coral); font-weight: 800;
}
.checklist--limits li { padding-left: 26px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.tag-list li { padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }

/* ─── Parcours quotidien (timeline) ───────────────────────────────────── */

.journey { border-top: 1px solid var(--line); }
.journey li { display: grid; grid-template-columns: 138px minmax(0, 1fr); gap: 26px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.journey .j-hour { font: 700 14px/1.5 var(--font-sans); color: var(--coral); letter-spacing: .02em; }
.journey h3 { margin-bottom: 7px; }
.journey p { color: var(--muted); max-width: 64ch; margin: 0; font-size: 15.5px; }
.journey .st { margin-top: 12px; }

/* ─── Aperçus produits (fidèles à l'interface) ────────────────────────── */

.appwin {
  margin: 0; background: var(--white); border: 1px solid var(--line-strong);
  border-radius: 16px; overflow: hidden; box-shadow: 0 34px 70px -46px rgba(9, 44, 37, .55);
}
.appwin figcaption { padding: 10px 18px 12px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); background: var(--paper-2); }
.appbar {
  display: flex; align-items: center; gap: 14px; padding: 10px 16px;
  background: var(--night-3); color: #dcebe4;
}
.appmark { display: inline-flex; align-items: center; gap: 8px; font: 700 13.5px/1 var(--font-sans); color: #eff7f4; flex: none; }
.appmark b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: #81d7ba; color: #10362f; font-size: 12px; }
.appnav { display: flex; gap: 2px; overflow: hidden; }
.appnav span { padding: 7px 9px; border-radius: 6px; font-size: 12px; font-weight: 600; color: #b5cbc5; white-space: nowrap; }
.appnav .on { background: rgba(255,255,255,.15); color: #fff; font-weight: 700; }
.appavatar { margin-left: auto; flex: none; width: 26px; height: 26px; border-radius: 7px; background: #d1f1e5; color: #173b34; display: grid; place-items: center; font: 700 10.5px/1 var(--font-sans); }

.appbody { padding: 18px; background: #f7faf8; display: grid; gap: 14px; }
.daypanel {
  display: flex; flex-wrap: wrap; gap: 18px 34px; align-items: center;
  background: var(--night-2); color: #f2faf6; border-radius: 12px; padding: 20px 22px;
}
.daypanel .eyebrow { margin: 0 0 6px; color: var(--mint-bright); font-size: 11px; }
.daypanel h3 { font-family: var(--font-display); font-weight: 500; font-size: 26px; letter-spacing: -.03em; margin: 0; }
.daypanel .day-sub { width: 100%; margin: 6px 0 0; font-size: 13px; color: #bbd2c8; }
.daystats { display: flex; gap: 22px; margin-left: auto; }
.daystats div { border-left: 1px solid rgba(255,255,255,.2); padding-left: 18px; }
.daystats b { display: block; font-size: 22px; font-weight: 700; line-height: 1.1; }
.daystats span { font-size: 12px; color: #bbd2c8; }

.alertbar { border: 1px solid #e4b9ac; background: #fbeeea; border-radius: 10px; padding: 12px 15px; }
.alertbar b { display: block; font-size: 14px; color: #8f2f17; }
.alertbar span { font-size: 12.5px; color: #7c5a50; }

.appcard { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.appcard-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.appcard-head b { font-size: 15px; }
.appcard-head span { font-size: 12px; color: var(--muted); }

.rdv { list-style: none; margin: 0; padding: 0; }
.rdv li { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.rdv li:last-child { border-bottom: 0; }
.rdv .t { font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; flex: none; width: 46px; }
.rdv .n { font-weight: 600; }
.rdv .m { color: var(--muted); }
.rdv .st { margin-left: auto; }

.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.pill--ok { background: #dcefe3; color: #216145; }
.pill--info { background: #e7ecfb; color: #455a9f; }
.pill--warn { background: #f6e6d5; color: #8a4a13; }
.pill--mut { background: #e9eeea; color: #4d5b55; }

/* Agenda semaine */
.agenda { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ag-col { background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ag-head { padding: 8px 10px; background: var(--paper-2); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink-2); }
.ag-head span { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.ag-body { padding: 10px; display: grid; gap: 7px; min-height: 150px; align-content: start; }
.ag-item { border-radius: 7px; padding: 7px 9px; font-size: 11.5px; font-weight: 700; line-height: 1.35; }
.ag-item span { display: block; font-weight: 500; opacity: .82; }
.ag--cab { background: #dcefe3; color: #1d5c40; }
.ag--dom { background: #e7ecfb; color: #3d5195; }
.ag--libre { background: transparent; border: 1px dashed var(--line-strong); color: var(--muted); font-weight: 600; min-height: 44px; display: grid; place-items: center; }

/* Tableaux d'aperçu */
.ftable { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--white); }
.ftable th { text-align: left; padding: 9px 12px; background: var(--paper-2); border-bottom: 1px solid var(--line-strong); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ftable td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ftable tr:last-child td { border-bottom: 0; }
.ftable .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Concurrentievergelijking prime et MyCareNet */
.comp-table-wrap { overflow-x: auto; margin: 24px 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.comp-table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 13px; }
.comp-table th, .comp-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comp-table thead th { background: var(--paper-2); color: var(--muted); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.comp-table tbody th { min-width: 160px; font-weight: 700; }
.comp-table tbody tr:last-child th, .comp-table tbody tr:last-child td { border-bottom: 0; }
.comp-table tbody tr:last-child { background: #f1f6f2; }
.comp-note { margin-top: 12px; font-size: 13px; }
.comp-sources { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 24px; font-size: 13px; font-weight: 650; }

/* Dossier patient */
.sheet { background: var(--white); border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-s); }
.sheet-head { padding: 18px 22px; background: var(--night-2); color: #f2faf6; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: baseline; }
.sheet-head h3 { font-family: var(--font-display); font-weight: 500; font-size: 24px; margin: 0; letter-spacing: -.02em; }
.sheet-head p { margin: 0; font-size: 12.5px; color: #bbd2c8; }
.sheet-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 10px 16px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.sheet-tabs span { padding: 7px 11px; font-size: 13px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; }
.sheet-tabs .on { color: var(--pine); border-color: var(--pine); font-weight: 700; }
.sheet-body { padding: 16px; display: grid; gap: 14px; background: #f7faf8; }
.mini-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mini-cards .mc { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.mini-cards b { display: block; font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 5px; }
.mini-cards span { font-size: 14px; font-weight: 600; }

/* Compta embarquée */
.compta-shell { display: grid; grid-template-columns: 200px minmax(0, 1fr); background: var(--white); border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; }
.compta-side { background: var(--paper-2); border-right: 1px solid var(--line); padding: 14px 10px; }
.compta-side b { display: block; padding: 8px 10px; border-radius: 7px; background: var(--mint-2); color: var(--pine); font-size: 13px; margin-bottom: 8px; }
.compta-side span { display: block; padding: 7px 10px; font-size: 12.5px; color: var(--muted); }
.compta-main { padding: 16px; display: grid; gap: 12px; }
.compta-note { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; background: var(--mint-2); border: 1px solid #cfe3d4; border-radius: 10px; padding: 12px 15px; font-size: 13.5px; }
.compta-note b { color: var(--pine-deep); }

/* ─── Encadrés ────────────────────────────────────────────────────────── */

.note { border-left: 3px solid var(--pine); background: var(--white); padding: 16px 20px; border-radius: 0 var(--radius-s) var(--radius-s) 0; box-shadow: var(--shadow-s); }
.note--warn { border-left-color: var(--coral); }
.note--info { border-left-color: #2a8f96; }
.note p { font-size: 15px; color: var(--ink-2); margin: 0; }
.note b { color: inherit; }
.on-night .note { background: rgba(255,255,255,.06); box-shadow: none; }
.on-night .note p { color: #d7e6df; }

.quote { border-left: 3px solid var(--mint-bright); padding-left: 22px; margin: 0; }
.quote p { font-family: var(--font-display); font-size: 21px; line-height: 1.45; color: #eef6f1; letter-spacing: -.012em; }
.quote footer { margin-top: 10px; font-size: 13.5px; color: #a9c2b8; }

/* ─── FAQ ─────────────────────────────────────────────────────────────── */

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; list-style: none; position: relative;
  display: block; padding: 20px 44px 20px 0;
  font-size: 17px; font-weight: 700; letter-spacing: -.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 4px; top: 15px; font-size: 26px; font-weight: 400;
  color: var(--pine); line-height: 1;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p, .faq-list details ul { margin: 0 0 20px; color: var(--muted); max-width: 78ch; font-size: 15.5px; }
.faq-list details ul { padding-left: 20px; }
.faq-list details li { margin-bottom: 6px; }

/* ─── Bandeau d'appel ─────────────────────────────────────────────────── */

.cta-band { background: var(--mint); border-radius: 18px; padding: clamp(34px, 5vw, 58px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 30px; align-items: center; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band--dark { background: var(--night); color: #eef6f1; }
.cta-band--dark .lede { color: #bdd2c8; }

/* ─── Fil d'Ariane ────────────────────────────────────────────────────── */

.crumbs { padding: 20px 0 0; font-size: 13.5px; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li { display: flex; gap: 8px; align-items: center; }
.crumbs li + li::before { content: "/"; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--pine); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ─── En-tête de page intérieure ──────────────────────────────────────── */

.page-head { padding: clamp(34px, 4.5vw, 62px) 0 clamp(28px, 3.5vw, 44px); }
.page-head .lede { margin-bottom: 22px; }
.page-head .meta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }

/* ─── Tableau de statut ───────────────────────────────────────────────── */

.status-board { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.status-board th, .status-board td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.status-board th { background: var(--paper-2); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.status-board tr:last-child td { border-bottom: 0; }
.status-board td:first-child { font-weight: 700; }
.status-board .status-board-fig { white-space: nowrap; }

/* ─── Pied de page ────────────────────────────────────────────────────── */

.foot { background: var(--night); color: #c7d9d0; margin-top: clamp(50px, 6vw, 80px); }
.foot a { color: #dcebe4; text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 34px; padding: 54px 0 34px; }
.foot .brand-word, .foot .brand { color: var(--white); }
.foot .brand-word i { color: var(--mint-bright); }
.foot .brand-mark { background: rgba(255,255,255,.1); color: var(--mint-bright); }
.foot p { font-size: 14px; color: #a9c2b8; max-width: 40ch; }
.foot h3 { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: #8fb0a4; margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; padding: 18px 0 26px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: #8fb0a4; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot-legal a { color: #c7d9d0; }
.foot-bottom .lang { border-color: rgba(255,255,255,.25); color: #dcebe4; min-height: 38px; min-width: 38px; }
.foot-bottom .lang:hover { border-color: var(--mint-bright); color: var(--mint-bright); }

/* ─── Divers ──────────────────────────────────────────────────────────── */

.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.kv div { border: 1px solid var(--line); border-radius: var(--radius-s); padding: 14px 16px; background: var(--white); }
.kv b { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.kv span { font-weight: 600; }

.timeline-status { display: grid; gap: 0; border-top: 1px solid var(--line); }
.timeline-status li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); list-style: none; }
.timeline-status { padding: 0; margin: 0; }
.timeline-status .when { font-weight: 700; font-size: 14px; color: var(--coral); }
.timeline-status p { margin: 0; color: var(--muted); font-size: 15px; }

/* ─── Prix ────────────────────────────────────────────────────────────── */

.prix .prix-montant { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 4px 0 12px; color: var(--ink); }
.prix .prix-montant b { font: 500 clamp(40px, 4.6vw, 54px)/1 var(--font-display); letter-spacing: -.035em; }
.prix .prix-montant span { font-size: 15px; font-weight: 600; color: var(--muted); }

/* ─── Pages légales ───────────────────────────────────────────────────── */

.legal { max-width: 860px; }
.legal h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); max-width: 74ch; }
.legal ul { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 9px; }
.legal code { font-size: .92em; background: var(--paper-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; }
.legal-fiche { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.legal-fiche div { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal-fiche dt { font-weight: 700; color: var(--ink); }
.legal-fiche dd { margin: 0; color: var(--ink-2); }
.a-completer { background: #ffe58a; color: #3d2c00; padding: 1px 6px; border-radius: 4px; font-weight: 700; }
@media (max-width: 640px) { .legal-fiche div { grid-template-columns: 1fr; gap: 2px; } }

/* ─── Formulaire de contact ───────────────────────────────────────────── */

.form-titre { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 18px; }
.form { display: grid; gap: 16px; }
.form-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-champ { display: grid; gap: 6px; }
.form-champ label, .form-choix legend { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.facultatif { font-weight: 500; color: var(--muted); }
.form input:not([type="radio"]):not([type="checkbox"]), .form select, .form textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-s);
  background: var(--white); color: var(--ink); font: 16px/1.4 var(--font-sans);
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--pine); outline-offset: 1px; border-color: var(--pine); }
.form-choix { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.form-choix legend { margin-bottom: 8px; padding: 0; }
.form-choix div, .form-accord { display: flex; align-items: flex-start; gap: 10px; }
.form-choix input, .form-accord input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--pine); flex: none; }
.form-choix label { font-size: 15.5px; font-weight: 600; min-height: 24px; }
.form-accord label { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.form-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-statut:empty { display: none; }
.form-statut { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--mint-2); }
.form-statut p { margin: 0 0 10px; color: var(--ink); }
.form-statut--erreur, .form-statut--repli { background: var(--amber-bg); border-color: #e6d4a8; }
@media (max-width: 640px) { .form-duo { grid-template-columns: 1fr; } }

/* ─── Signature du fondateur ──────────────────────────────────────────── */

.signature { margin: 18px 0 0; padding-left: 16px; border-left: 3px solid var(--coral); font-family: var(--font-display); font-size: 18px; line-height: 1.45; color: var(--ink-2); max-width: 58ch; }
.signature span { display: block; margin-top: 6px; font: 600 14px/1.3 var(--font-sans); color: var(--muted); }

/* ─── Une journée, quatre moments : les photos ────────────────────────── */

.journey li:has(.j-photo) { grid-template-columns: 138px minmax(0, 1fr) minmax(0, 300px); align-items: start; }
.j-photo { margin: 0; border-radius: var(--radius-s); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); aspect-ratio: 16 / 9; }
.j-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.j-legende { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .journey li:has(.j-photo) { grid-template-columns: 1fr; }
  .j-photo { max-width: 520px; }
}

/* ─── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .mainnav { display: none; }
  .menu-m { display: block; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .shell { width: min(var(--shell), calc(100% - 36px)); }
  .section-head, .split, .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .compta-shell { grid-template-columns: 1fr; }
  .compta-side { display: flex; flex-wrap: wrap; gap: 6px; border-right: 0; border-bottom: 1px solid var(--line); }
  .compta-side b, .compta-side span { margin: 0; }
  .agenda { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey li, .timeline-status li { grid-template-columns: 1fr; gap: 8px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .mini-cards { grid-template-columns: 1fr; }
  .appnav span:nth-child(n+4) { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .top-in { gap: 12px; min-height: 64px; }
  .top-right .btn { display: none; }
  .grid--4 { grid-template-columns: 1fr; }
  .agenda { grid-template-columns: 1fr; }
  .daystats { margin-left: 0; width: 100%; }
  .daystats div:first-child { border-left: 0; padding-left: 0; }
  .kv { grid-template-columns: 1fr; }
  .ftable th:nth-child(3), .ftable td:nth-child(3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
