/* ==========================================================================
   Movaven — identité « Encre & Mouvement » (2026-11-04)

   Chargée APRÈS movaven.css sur toutes les pages : elle redéfinit les jetons
   (couleurs, polices, rayons, ombres) et les composants qui portent l'identité.
   La charte complète vit dans CHARTE.md, et dans Marketing (marketing_brand).

   Une seule couleur d'action (cobalt) ; un seul geste de dégradé par écran
   (la courbe de mouvement) ; chiffres en chasse fixe ; titres très fins, en
   deux tons. Pas de turquoise ni de vert « santé ».
   ========================================================================== */
@font-face { font-family: "Hanken Grotesk"; font-weight: 300 700; font-display: swap; src: url("/assets/fonts/hanken-grotesk-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: "Hanken Grotesk"; font-weight: 300 700; font-display: swap; src: url("/assets/fonts/hanken-grotesk-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: "Plex Mono"; font-weight: 400; font-display: swap; src: url("/assets/fonts/plex-mono-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Plex Mono"; font-weight: 500; font-display: swap; src: url("/assets/fonts/plex-mono-500-latin.woff2") format("woff2"); }

:root {
  --paper: #FFFFFF;
  --paper-2: #F6F8FB;
  --ink: #0A1A2F;
  --ink-2: #1A2B45;
  --muted: #52627A;
  --line: #E3E8EF;
  --line-strong: #D3DAE5;
  --night: #0A1A2F;
  --night-2: #13243D;
  --night-3: #0F2138;
  --pine: #3046F5;
  --pine-deep: #1F33C9;
  --mint: #EEF0FF;
  --mint-2: #F6F8FB;
  --mint-bright: #9AA8FF;
  --amber: #A2410F;
  --amber-bg: #FFF0EB;
  --coral: #FF6A4A;
  --coral-bright: #FF8A6A;
  --radius: 14px;
  --radius-s: 8px;
  --font-display: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  --gris-bleu: #8593A8;
  --violet: #7A4DFF;
  --ambre: #FFB547;
  --vert: #0E7A57;
  --shadow: 0 1px 1px rgba(10,26,47,.04), 0 8px 24px -6px rgba(10,26,47,.10), 0 30px 60px -20px rgba(10,26,47,.18);
  --shadow-s: 0 1px 1px rgba(10,26,47,.04), 0 10px 24px -14px rgba(10,26,47,.18);
  --degrade: linear-gradient(118deg, #3046F5, #7A4DFF 38%, #FF6A4A 70%, #FFB547);
}

body { background: var(--paper); font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; }

/* ── En-tête et logo ── */
.top { background: rgba(255,255,255,.84); backdrop-filter: saturate(1.6) blur(14px); }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--ink); color: transparent; font-size: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cdefs%3E%3ClinearGradient id='d' x1='0' y1='0' x2='1' y2='.4'%3E%3Cstop offset='0' stop-color='%233046F5'/%3E%3Cstop offset='.42' stop-color='%237A4DFF'/%3E%3Cstop offset='.74' stop-color='%23FF6A4A'/%3E%3Cstop offset='1' stop-color='%23FFB547'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M7 21c2.2-8 4.4-8 6.4 0s4.2 8 6.4 0 3.6-7 5.2-3' stroke='url(%23d)' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 100% 100%; }
.brand-word { font: 600 20px/1 var(--font-sans); letter-spacing: -.03em; }
.brand-word i { color: inherit; }
.foot .brand-word i { color: inherit; }
.foot .brand-mark { background-color: rgba(255,255,255,.08); }
.mainnav a { font-weight: 500; font-size: 15px; }
.mainnav a[aria-current="page"] { color: var(--pine); background: var(--mint); }
.lang { font: 500 13px/1 var(--font-mono); border-radius: 6px; }

/* ── Titres : très fins, en deux tons ── */
.display, h1, h2 { font-weight: 300; letter-spacing: -.04em; font-variation-settings: normal; }
h1 { font-size: clamp(42px, 6vw, 76px); line-height: .99; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.04; }
h3 { font-weight: 600; letter-spacing: -.015em; }
h1 em, h2 em, h1 .suite, h2 .suite { font-style: normal; color: var(--gris-bleu); }
.lede { color: var(--muted); }

/* ── Surtitres : chasse fixe, capitales espacées ── */
.eyebrow { font: 500 12.5px/1.2 var(--font-mono); letter-spacing: .08em; color: var(--pine); }
.eyebrow::before { width: 7px; height: 7px; background: var(--coral); box-shadow: 0 0 0 4px #FFF0EB; }
.on-night .eyebrow { color: var(--mint-bright); }

/* ── Boutons ── */
.btn { border-radius: 6px; font-weight: 600; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 16px -8px rgba(48,70,245,.6); }
.btn:hover { transform: none; }
.btn--line, .btn--ghost, .btn--light { box-shadow: none; }
.btn--line { border-color: var(--line-strong); }
.btn--line:hover { border-color: var(--ink); background: var(--white); }
.btn--onnight { background: var(--white); color: var(--ink); box-shadow: none; }
.btn--onnight:hover { background: var(--mint); color: var(--ink); }

/* ── Cartes ── */
.card { border-radius: 16px; transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s, border-color .4s; }
.card--soft { background: var(--paper-2); border-color: var(--line); }
a.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card-num { font: 500 12.5px/1 var(--font-mono); color: var(--gris-bleu); letter-spacing: .04em; }

/* ── États : Disponible, Bientôt, En préparation, Agrément en cours ── */
.st { font: 500 12px/1.3 var(--font-mono); letter-spacing: 0; border: 0; padding: 5px 10px; }
.st--ok { color: var(--vert); background: #E7F6EF; }
.st--dev { color: #B6371C; background: #FFF0EB; }
.st--plan { color: var(--muted); background: var(--paper-2); }
.st--info { color: var(--pine); background: var(--mint); }
.on-night .st--ok { color: #8BE3BF; background: rgba(139,227,191,.12); }
.on-night .st--dev { color: #FFB59F; background: rgba(255,106,74,.14); }
.on-night .st--plan { color: #C3CCDB; background: rgba(255,255,255,.08); }
.on-night .st--info { color: #B9C2FF; background: rgba(154,168,255,.14); }
.tag-list li { font-weight: 500; border-color: var(--line); }

/* ── Encadrés, citations ── */
.note { border-left-color: var(--pine); border-radius: 0 10px 10px 0; }
.note--warn { border-left-color: var(--coral); }
.note--info { border-left-color: var(--violet); }
.quote { border-left-color: var(--coral); }
.quote p { font-weight: 300; font-size: 23px; letter-spacing: -.02em; color: #F3F6FB; }
.quote footer { color: #AEB8CB; }
.signature { font-family: var(--font-sans); font-weight: 300; font-size: 20px; border-left-color: var(--coral); }

/* ── Chiffres : la chasse fixe de la facture ── */
.prix-montant, .prix strong, .ftable td:last-child, .kv dd, .daystats b, .timeline-status time, time { font-family: var(--font-mono); font-feature-settings: "tnum"; letter-spacing: -.01em; }

/* ── Sections sombres et bandeaux d'appel ── */
.section--dark, .section--night2 { background: var(--night); color: #EEF2F8; position: relative; overflow: hidden; isolation: isolate; }
.section--dark .muted, .section--night2 .muted, .section--dark .lede, .section--night2 .lede { color: #AEB8CB; }
.section--dark a:not(.btn), .section--night2 a:not(.btn) { color: var(--mint-bright); }
.cta-band { background: var(--paper-2); border: 1px solid var(--line); border-radius: 20px; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; z-index: -1; right: -12%; top: -60%; width: 60%; height: 220%; background: var(--degrade); filter: blur(60px); opacity: .28; transform: rotate(18deg); }
.cta-band--dark { background: var(--night); border-color: transparent; color: #fff; }
.cta-band--dark::after { opacity: .55; }

/* ── En-tête de page : la courbe de mouvement, à droite, jamais sous le texte ── */
/* La courbe déborde vers le haut, jamais sur le côté : pas de défilement horizontal. */
html, body { overflow-x: clip; }
.page-head { position: relative; isolation: isolate; }
.page-head::after { content: ""; position: absolute; z-index: -1; top: -140px; right: -18%; width: 62%; height: 420px; border-radius: 50%;
  background: var(--degrade); filter: blur(70px); opacity: .32; transform: rotate(-14deg);
  -webkit-mask-image: linear-gradient(100deg, transparent 10%, #000 55%); mask-image: linear-gradient(100deg, transparent 10%, #000 55%); pointer-events: none; }
.page-head .lede { max-width: 58ch; }

/* ── Fil d'Ariane, tableaux ── */
.crumbs { font: 500 12.5px/1.4 var(--font-mono); }
.status-board th, .ftable th { font: 500 12px/1.3 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
/* Le tableau garde son encre même posé dans une section sombre (sinon il hérite du texte clair). */
.status-board td, .ftable td { color: var(--ink); }
.status-board td:first-child { font-weight: 600; }
.status-board td:last-child { color: var(--muted); }
.st { white-space: nowrap; }
/* Le tableau d'avancement respire : plus de marge dans chaque case, une ligne plus haute, du jour
   entre le titre et le tableau, et le détail limité à une largeur de lecture. */
.status-board { margin-top: 24px; font-size: 15.5px; line-height: 1.6; }
.status-board th { padding: 20px 28px; }
.status-board td { padding: 26px 28px; }
.status-board td:first-child { width: 30%; }
.status-board td:last-child { max-width: 60ch; }
.status-board .st { margin-top: 1px; }
.section--dark .section-head + .status-board, .section--dark .status-board { margin-top: 56px; }
.section--dark .note { margin-top: 40px !important; padding: 22px 28px; }


/* ── Respiration de toutes les pages intérieures (demande du 06/11/2026 : « aère ») ──
   Un seul endroit : sections plus hautes, titres détachés de leur texte, colonnes plus écartées,
   listes et cartes plus amples, paragraphes plus aérés. */
.section { padding: clamp(88px, 10vw, 148px) 0; }
.section--tight { padding: clamp(64px, 7vw, 104px) 0; }
.page-head { padding: clamp(56px, 7vw, 104px) 0 clamp(44px, 5vw, 72px); }
.page-head .lede { margin-bottom: 30px; }
.shell h2 { margin-bottom: 28px; }
.shell p { margin-bottom: 22px; line-height: 1.75; }
.section-head { gap: 56px; margin-bottom: clamp(52px, 6vw, 84px); }
.split { gap: clamp(56px, 8vw, 128px); }
.grid { gap: 24px; }
.card { padding: 32px; }
.checklist li { padding: 18px 0 18px 34px; line-height: 1.65; }
.checklist li::before { top: 25px; }
.checklist--limit li::before { top: 17px; }
.kv { gap: 20px; margin-top: 40px; }
.kv div { padding: 22px 24px; }
.kv b { margin-bottom: 8px; }
.cta-band { padding-block: clamp(40px, 5vw, 64px); }
/* Relevé du 06/11 sur les 33 pages : titres de carte collés à leur texte (8 px), cases de
   tableau à 10 px, listes simples des pages légales sans espace entre les points. */
.card h3 { margin-bottom: 14px; }
.card h3 + p, .card h3 + ul { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.ftable th, .ftable td { padding: 16px 20px; line-height: 1.55; }
main ul:not([class]) > li, main ol:not([class]) > li { margin-bottom: 12px; line-height: 1.7; }
@media (max-width: 900px) { .section-head { gap: 20px; } }

/* ── Pied de page ── */
.foot { background: var(--night); color: #C3CCDB; }
.foot a { color: #E3E8EF; }
.foot p { color: #AEB8CB; }

@media (max-width: 760px) {
  .page-head::after { right: -55%; width: 110%; opacity: .22; }
}
