/*
 * Cigogne — feuille de style.
 * © 2026 Ritake Soft. Tous droits réservés.
 * Mise en page : accueil en deux colonnes ; espace parents = barre latérale (bureau) / barre d'onglets (téléphone) ;
 * parcours invité = une question par écran sous un ciel où le baluchon avance vers le nid.
 */
/* polices hébergées sur le site (OFL), aucune requête vers un tiers */
@font-face { font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/fraunces-latin-full-normal.woff2) format("woff2-variations"), url(/fonts/fraunces-latin-full-normal.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-display: swap; font-weight: 100 900; src: url(/fonts/fraunces-latin-ext-full-normal.woff2) format("woff2-variations"), url(/fonts/fraunces-latin-ext-full-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(/fonts/nunito-latin-wght-normal.woff2) format("woff2-variations"), url(/fonts/nunito-latin-wght-normal.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: "Nunito"; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(/fonts/nunito-latin-ext-wght-normal.woff2) format("woff2-variations"), url(/fonts/nunito-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  /* couleurs */
  --surface: #FFF8F8;
  --surface-raised: #FFFFFF;
  --surface-sunken: #FBEEF1;
  --ciel: #EAF3FB;
  --line: #F0E1E6;
  --line-strong: #E2CDD5;
  --ink: #2E2A4F;
  --ink-muted: #6B6684;
  --ink-faint: #9D98B2;
  --dragee: #E07A94;
  --dragee-soft: #FCE4EC;
  --dragee-ink: #B4466A;
  --on-dragee: #2E2A4F;
  --layette: #5F9CCB;
  --layette-soft: #DDEAF6;
  --layette-ink: #2F6E9E;
  --nuit: #2E2A4F;
  --on-nuit: #FFF8F8;
  --miel: #C99560;
  --miel-soft: #F6E7D6;
  --success: #2F7D4C;
  --success-soft: #E3F2E8;
  --danger: #B3364F;
  --focus-ring: #2F6E9E;
  --chart-girl: #D9637F;
  --chart-boy: #3F86BF;
  --chart-none: #B9B4C9;
  --chart-grid: #F0E1E6;
  /* typographie */
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: 13px; --fs-sm: 15px; --fs-md: 17px; --fs-lg: 21px; --fs-xl: 26px; --fs-2xl: 33px; --fs-3xl: 42px; --fs-4xl: 54px; --fs-5xl: 68px;
  /* espaces, rayons, ombres, mouvement */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;
  --radius-sm: 10px; --radius-md: 14px; --radius-lg: 22px; --radius-xl: 32px; --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(46, 42, 79, .04), 0 4px 20px rgba(46, 42, 79, .06);
  --shadow-lift: 0 2px 4px rgba(46, 42, 79, .05), 0 12px 32px rgba(46, 42, 79, .10);
  --shadow-pop: 0 24px 64px rgba(46, 42, 79, .22);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --sidebar: 256px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #1D1A26; --surface-raised: #272333; --surface-sunken: #221E2D; --ciel: #1E2433;
    --line: #363044; --line-strong: #4A4259;
    --ink: #F3EEF6; --ink-muted: #B3ADC4; --ink-faint: #827C96;
    --dragee: #EC8EA5; --dragee-soft: #3A2533; --dragee-ink: #F2A3B7; --on-dragee: #1D1A26;
    --layette: #7AB3DD; --layette-soft: #1F2B3A; --layette-ink: #9CCBEB;
    --nuit: #14121C; --on-nuit: #F3EEF6;
    --miel: #D8A874; --miel-soft: #3A3024;
    --success: #74C487; --success-soft: #1E2E24; --danger: #F08AA0; --focus-ring: #9CCBEB;
    --chart-girl: #CF6482; --chart-boy: #4F94CF; --chart-none: #6E6883; --chart-grid: #363044;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, .2), 0 4px 20px rgba(0, 0, 0, .25);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, .25), 0 12px 32px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--surface); color: var(--ink);
  font-family: var(--font-sans); font-size: var(--fs-md); line-height: 1.55;
  min-height: 100vh; min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--layette-ink); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- typographie ---------- */
.display, h1, h2, h3 { font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: var(--fs-3xl); line-height: 1.05; }
h2 { font-size: var(--fs-xl); line-height: 1.15; }
h3 { font-size: var(--fs-lg); line-height: 1.25; }
.lead { font-size: var(--fs-lg); line-height: 1.5; color: var(--ink-muted); max-width: 34em; }
.muted { color: var(--ink-muted); }
.small { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); }
.num { font-variant-numeric: tabular-nums; }
@media (min-width: 960px) { h1 { font-size: var(--fs-4xl); } h2 { font-size: var(--fs-2xl); } }

/* ---------- logo ---------- */
.lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.lockup img { width: 36px; height: 36px; }
.lockup span { font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 600; font-size: 26px; line-height: 1; letter-spacing: -.01em; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 52px; padding: 0 var(--space-6); border-radius: var(--radius-pill); border: 0;
  background: var(--nuit); color: var(--on-nuit); font-weight: 800; font-size: var(--fs-md); text-decoration: none;
  transition: transform .2s var(--ease-spring), box-shadow .2s var(--ease-out), background .2s;
  box-shadow: 0 6px 18px rgba(46, 42, 79, .18);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(46, 42, 79, .22); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .5; cursor: default; transform: none; box-shadow: none; }
.btn.pink { background: var(--dragee); color: var(--on-dragee); box-shadow: 0 6px 18px rgba(224, 122, 148, .35); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line-strong); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--ink-muted); }
.btn.small { min-height: 40px; padding: 0 var(--space-4); font-size: var(--fs-sm); box-shadow: none; }
.btn.ghost.small { box-shadow: inset 0 0 0 2px var(--line-strong); }
.btn.block { width: 100%; }
.btn.danger { background: transparent; color: var(--danger); box-shadow: inset 0 0 0 2px currentColor; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-muted); display: inline-grid; place-items: center; }
.icon-btn:hover { background: var(--surface-sunken); color: var(--ink); }
.icon-btn svg, .btn svg { width: 20px; height: 20px; }
.textlink { background: none; border: 0; padding: 0; color: var(--layette-ink); font-weight: 800; font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }

/* ---------- formulaires ---------- */
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field > label, .label { font-weight: 800; font-size: var(--fs-sm); color: var(--ink); }
.hint { font-size: var(--fs-xs); color: var(--ink-muted); line-height: 1.45; }
.input, textarea.input, select.input {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--radius-md);
  border: 2px solid var(--line-strong); background: var(--surface-raised); color: var(--ink); font-size: var(--fs-md);
  transition: border-color .15s, box-shadow .15s;
}
textarea.input { min-height: 120px; resize: vertical; line-height: 1.5; }
.input:hover { border-color: var(--ink-faint); }
.input:focus { outline: none; border-color: var(--layette); box-shadow: 0 0 0 4px var(--layette-soft); }
.input.err { border-color: var(--danger); box-shadow: 0 0 0 4px var(--dragee-soft); }
.err-msg { color: var(--danger); font-weight: 700; font-size: var(--fs-sm); min-height: 1.4em; }
.row2 { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }

/* interrupteur */
.switch { position: relative; width: 52px; height: 30px; flex-shrink: 0; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--line-strong); transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .3s var(--ease-spring); }
.switch input:checked + span { background: var(--layette); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:focus-visible + span { outline: 3px solid var(--focus-ring); outline-offset: 2px; }

/* compteur +/- */
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--line-strong); border-radius: var(--radius-pill); overflow: hidden; background: var(--surface-raised); }
.stepper button { width: 40px; height: 40px; border: 0; background: transparent; font-size: 20px; font-weight: 800; color: var(--ink); }
.stepper button:hover { background: var(--surface-sunken); }
.stepper output { min-width: 32px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }

/* curseurs */
input[type=range].range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; }
input[type=range].range::-webkit-slider-runnable-track { height: 10px; border-radius: 99px; background: linear-gradient(to right, var(--track-fill, var(--miel)) var(--p, 50%), var(--line-strong) var(--p, 50%)); }
input[type=range].range::-moz-range-track { height: 10px; border-radius: 99px; background: var(--line-strong); }
input[type=range].range::-moz-range-progress { height: 10px; border-radius: 99px; background: var(--track-fill, var(--miel)); }
input[type=range].range::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -11px; border-radius: 50%; background: var(--surface-raised); border: 4px solid var(--track-fill, var(--miel)); box-shadow: 0 3px 10px rgba(46,42,79,.25); transition: transform .2s var(--ease-spring); }
input[type=range].range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-raised); border: 4px solid var(--track-fill, var(--miel)); box-shadow: 0 3px 10px rgba(46,42,79,.25); }
input[type=range].range:active::-webkit-slider-thumb { transform: scale(1.18); }
input[type=range].range:focus-visible { outline: none; }
input[type=range].range:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--focus-ring); outline-offset: 2px; }

/* ---------- surfaces ---------- */
.card { background: var(--surface-raised); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: var(--space-5); }
@media (min-width: 960px) { .card { padding: var(--space-6); } }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-4); flex-wrap: wrap; }
.card-head h2, .card-head h3 { font-size: var(--fs-lg); }
.well { background: var(--surface-sunken); border-radius: var(--radius-md); padding: var(--space-4); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--radius-pill); font-size: var(--fs-xs); font-weight: 800; background: var(--surface-sunken); color: var(--ink-muted); white-space: nowrap; }
.pill.ok { background: var(--success-soft); color: var(--success); }
.pill.wait { background: var(--miel-soft); color: var(--ink); }
.pill.girl { background: var(--dragee-soft); color: var(--dragee-ink); }
.pill.boy { background: var(--layette-soft); color: var(--layette-ink); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.empty { text-align: center; padding: var(--space-7) var(--space-4); color: var(--ink-muted); display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
.empty img { width: 72px; opacity: .9; }
.empty h3 { color: var(--ink); }
.linkbox { font-size: var(--fs-xs); color: var(--ink-muted); background: var(--surface-sunken); border-radius: var(--radius-sm); padding: 8px 10px; overflow-wrap: anywhere; user-select: all; font-variant-numeric: tabular-nums; }

/* toast */
.toast-wrap { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { background: var(--nuit); color: var(--on-nuit); padding: 12px 20px; border-radius: var(--radius-pill); font-weight: 700; font-size: var(--fs-sm); box-shadow: var(--shadow-pop); animation: toastIn .4s var(--ease-spring); }
@media (max-width: 959px) { .has-tabbar .toast-wrap { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }

/* infobulle des graphiques */
.tip { position: fixed; z-index: 90; pointer-events: none; background: var(--nuit); color: var(--on-nuit); padding: 8px 12px; border-radius: 10px; font-size: var(--fs-xs); line-height: 1.4; box-shadow: var(--shadow-pop); max-width: 240px; transform: translate(-50%, calc(-100% - 12px)); opacity: 0; transition: opacity .12s; }
.tip.on { opacity: 1; }
.tip b { display: block; font-size: var(--fs-sm); }

/* =========================================================
   ACCUEIL
   ========================================================= */
.site { max-width: 1200px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left, 0px)) var(--space-8) max(20px, env(safe-area-inset-right, 0px)); }
.site-top { display: flex; align-items: center; justify-content: space-between; padding: max(20px, env(safe-area-inset-top, 0px)) 0 20px; gap: var(--space-3); }
.hero { display: grid; grid-template-columns: 1fr; gap: var(--space-6); align-items: center; padding: var(--space-5) 0 var(--space-7); }
@media (min-width: 960px) { .hero { grid-template-columns: 1.05fr .95fr; gap: var(--space-8); padding: var(--space-7) 0 var(--space-9); } }
.hero h1 { font-size: clamp(44px, 7.2vw, 84px); line-height: .98; letter-spacing: -.025em; }
.hero .lead { margin-top: var(--space-5); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.hero-art { position: relative; aspect-ratio: 1 / .92; max-width: 560px; width: 100%; justify-self: center; }
.hero-art svg { width: 100%; height: 100%; overflow: visible; }
.steps-band { display: grid; gap: var(--space-4); grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 800px) { .steps-band { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); } }
.step-card { position: relative; padding: var(--space-6) var(--space-5) var(--space-5); border-radius: var(--radius-xl); background: var(--surface-raised); box-shadow: var(--shadow-card); }
.step-card .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-weight: 700; font-size: 22px; margin-bottom: var(--space-4); }
.step-card:nth-child(1) .n { background: var(--dragee-soft); color: var(--dragee-ink); }
.step-card:nth-child(2) .n { background: var(--layette-soft); color: var(--layette-ink); }
.step-card:nth-child(3) .n { background: var(--miel-soft); color: var(--ink); }
.step-card h3 { margin-bottom: var(--space-2); }
.demo { display: grid; gap: var(--space-6); grid-template-columns: 1fr; align-items: center; margin-top: var(--space-9); padding: var(--space-6); border-radius: var(--radius-xl); background: var(--ciel); }
@media (min-width: 960px) { .demo { grid-template-columns: .9fr 1.1fr; padding: var(--space-8); } }
.demo h2 { font-size: clamp(30px, 4vw, 44px); }
.site-foot { margin-top: var(--space-9); padding-top: var(--space-5); border-top: 2px solid var(--line); display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; color: var(--ink-muted); font-size: var(--fs-sm); }

/* connexion */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1fr; }
@media (min-width: 960px) { .auth { grid-template-columns: 1fr 1fr; } }
.auth-side { display: none; background: var(--ciel); position: relative; overflow: hidden; }
@media (min-width: 960px) { .auth-side { display: flex; flex-direction: column; justify-content: space-between; padding: var(--space-7); } }
.auth-side .quote { font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: var(--fs-3xl); line-height: 1.1; max-width: 12em; }
.auth-main { display: flex; flex-direction: column; padding: max(20px, env(safe-area-inset-top, 0px)) 20px var(--space-7); }
.auth-box { width: 100%; max-width: 420px; margin: auto; display: flex; flex-direction: column; gap: var(--space-5); padding-top: var(--space-6); }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: var(--radius-pill); background: var(--surface-sunken); }
.seg button { border: 0; background: transparent; border-radius: var(--radius-pill); min-height: 44px; font-weight: 800; color: var(--ink-muted); transition: background .2s, color .2s; }
.seg button[aria-selected=true] { background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-card); }

/* =========================================================
   ESPACE PARENTS
   ========================================================= */
.shell { min-height: 100vh; min-height: 100dvh; }
.sidebar { display: none; }
.main { padding: 0 max(20px, env(safe-area-inset-left, 0px)) calc(120px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.main-inner { max-width: 1120px; margin: 0 auto; }
.mtop { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: max(14px, env(safe-area-inset-top, 0px)) 0 14px; position: sticky; top: 0; z-index: 20; background: var(--surface); }
.mtop .ttl { font-weight: 800; font-size: var(--fs-sm); color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; text-align: center; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface-raised); box-shadow: 0 -6px 24px rgba(46,42,79,.08); padding: 6px max(6px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-left, 0px)); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border-radius: 14px; color: var(--ink-faint); font-size: 11px; font-weight: 800; text-decoration: none; }
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a[aria-current=page] { color: var(--ink); background: var(--surface-sunken); }
@media (min-width: 960px) {
  .shell { display: grid; grid-template-columns: var(--sidebar) 1fr; }
  .sidebar { display: flex; flex-direction: column; gap: var(--space-5); position: sticky; top: 0; height: 100vh; padding: var(--space-5) var(--space-4); border-right: 2px solid var(--line); background: var(--surface); }
  .main { padding: var(--space-6) var(--space-7) var(--space-8); }
  .mtop, .tabbar { display: none; }
}
.nest-switch { display: flex; flex-direction: column; gap: 2px; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink); }
.nest-switch b { font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: var(--fs-lg); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; }
.nest-switch span { font-size: var(--fs-xs); color: var(--ink-muted); }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: var(--space-3); padding: 11px var(--space-4); border-radius: var(--radius-md); color: var(--ink-muted); font-weight: 800; text-decoration: none; transition: background .15s, color .15s; }
.nav a svg { width: 22px; height: 22px; flex-shrink: 0; }
.nav a:hover { background: var(--surface-sunken); color: var(--ink); }
.nav a[aria-current=page] { background: var(--nuit); color: var(--on-nuit); }
.nav a .count { margin-left: auto; font-size: var(--fs-xs); background: var(--surface-sunken); color: var(--ink-muted); border-radius: 99px; padding: 1px 8px; }
.nav a[aria-current=page] .count { background: rgba(255,255,255,.15); color: var(--on-nuit); }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--fs-sm); color: var(--ink-muted); }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; margin: var(--space-3) 0 var(--space-6); }
.page-head h1 { font-size: var(--fs-3xl); }
@media (min-width: 960px) { .page-head { margin: 0 0 var(--space-7); } .page-head h1 { font-size: var(--fs-4xl); } }
.page-head .sub { color: var(--ink-muted); margin-top: var(--space-2); font-size: var(--fs-lg); }
.stack { display: flex; flex-direction: column; gap: var(--space-5); }
.grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid.g2 { grid-template-columns: 1fr 1fr; } .grid.g4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .grid.g4 { grid-template-columns: repeat(4, 1fr); } .grid.g3 { grid-template-columns: repeat(3, 1fr); } }

/* tuiles chiffres */
.tile { background: var(--surface-raised); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.tile .t-label { font-weight: 800; font-size: var(--fs-sm); color: var(--ink-muted); }
.tile .t-value { font-family: var(--font-sans); font-weight: 800; font-size: var(--fs-3xl); line-height: 1.05; letter-spacing: -.02em; }
.tile .t-sub { font-size: var(--fs-sm); color: var(--ink-muted); }
.meter { height: 10px; border-radius: 99px; background: var(--layette-soft); overflow: hidden; margin-top: var(--space-2); }
.meter i { display: block; height: 100%; border-radius: 99px; background: var(--layette); transition: width .8s var(--ease-out); }
.split { display: flex; gap: 2px; height: 14px; margin-top: var(--space-2); }
.split i { display: block; height: 100%; min-width: 4px; transition: flex-grow .8s var(--ease-out); }
.split i:first-child { border-radius: 99px 0 0 99px; } .split i:last-child { border-radius: 0 99px 99px 0; } .split i:only-child { border-radius: 99px; }
.legend { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); font-size: var(--fs-xs); color: var(--ink-muted); font-weight: 700; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* graphiques */
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart text { fill: var(--ink-muted); font-family: var(--font-sans); font-size: 12px; font-weight: 700; }
.chart .axis { stroke: var(--chart-grid); stroke-width: 1; }
.chart .mark { transition: r .15s var(--ease-spring), opacity .15s; cursor: pointer; }
.chart .mark:hover, .chart .mark:focus { r: 9; outline: none; }
.chart .mean { stroke: var(--ink); stroke-width: 1.5; }
.chart .mean-label { fill: var(--ink); font-weight: 800; }
.chart .target { stroke: var(--miel); stroke-width: 2; }
.barlist { display: flex; flex-direction: column; gap: var(--space-3); }
.barlist .b-row { display: grid; grid-template-columns: minmax(80px, 30%) 1fr auto; gap: var(--space-3); align-items: center; font-size: var(--fs-sm); }
.barlist .b-name { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.barlist .b-track { height: 20px; display: flex; }
.barlist .b-bar { height: 20px; border-radius: 0 4px 4px 0; background: var(--chart-boy); min-width: 3px; transition: width .7s var(--ease-out); }
.barlist .b-val { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink-muted); min-width: 2ch; text-align: right; }

/* listes d'invités / réponses */
.rows { display: flex; flex-direction: column; }
.r { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-3) var(--space-4); align-items: center; padding: var(--space-4) 0; border-top: 2px solid var(--line); }
.r:first-child { border-top: 0; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: var(--fs-md); background: var(--surface-sunken); color: var(--ink-muted); flex-shrink: 0; }
.avatar.girl { background: var(--dragee-soft); color: var(--dragee-ink); }
.avatar.boy { background: var(--layette-soft); color: var(--layette-ink); }
.r .who { min-width: 0; }
.r .who b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r .acts { display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.r .extra { grid-column: 2 / -1; }
@media (max-width: 639px) { .r { grid-template-columns: auto 1fr; } .r .acts { grid-column: 1 / -1; justify-content: flex-start; } .r .extra { grid-column: 1 / -1; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filters { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.filters button { border: 0; padding: 8px 16px; border-radius: 99px; background: var(--surface-sunken); color: var(--ink-muted); font-weight: 800; font-size: var(--fs-sm); }
.filters button[aria-pressed=true] { background: var(--nuit); color: var(--on-nuit); }

/* tableau des pronostics */
.table-wrap { overflow-x: auto; margin: 0 calc(-1 * var(--space-5)); padding: 0 var(--space-5); }
table.t { border-collapse: collapse; width: 100%; font-size: var(--fs-sm); min-width: 640px; }
table.t th { text-align: left; font-weight: 800; color: var(--ink-muted); padding: 10px 12px; border-bottom: 2px solid var(--line); white-space: nowrap; cursor: pointer; user-select: none; }
table.t th[aria-sort] { color: var(--ink); }
table.t td { padding: 12px; border-bottom: 2px solid var(--line); vertical-align: top; }
table.t td.n { font-variant-numeric: tabular-nums; white-space: nowrap; }
table.t tr:hover td { background: var(--surface-sunken); }

/* éditeur de questions */
.qlist { display: flex; flex-direction: column; gap: var(--space-3); }
.q { background: var(--surface-raised); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); transition: box-shadow .2s, opacity .2s; }
.q.off { opacity: .62; box-shadow: none; outline: 2px dashed var(--line-strong); outline-offset: -2px; }
.q-head { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5); }
.q-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; flex-shrink: 0; background: var(--surface-sunken); }
.q-title { flex: 1; min-width: 0; }
.q-title b { display: block; }
.q-title span { font-size: var(--fs-sm); color: var(--ink-muted); }
.q-body { padding: 0 var(--space-5) var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); border-top: 2px solid var(--line); padding-top: var(--space-4); }
.q-tools { display: flex; gap: 2px; }
@media (max-width: 639px) { .q-head { flex-wrap: wrap; gap: var(--space-3); padding: var(--space-4); } .q-title { flex: 1 1 calc(100% - 130px); } .q-tools { order: 5; width: 100%; justify-content: flex-end; margin: -8px -8px -8px 0; } }
.opt-row { display: flex; gap: var(--space-2); align-items: center; }
.opt-row .input { min-height: 44px; }
.savebar { position: sticky; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-3) var(--space-3) var(--space-5); border-radius: var(--radius-pill); background: var(--nuit); color: var(--on-nuit); box-shadow: var(--shadow-pop); margin-top: var(--space-5); animation: toastIn .35s var(--ease-spring); }
.savebar .btn { background: var(--dragee); color: var(--on-dragee); box-shadow: none; min-height: 44px; }
@media (min-width: 960px) { .savebar { bottom: var(--space-5); } }
.add-q { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .add-q { grid-template-columns: repeat(3, 1fr); } }
.add-q button { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-lg); border: 2px dashed var(--line-strong); background: transparent; text-align: left; font-weight: 800; transition: border-color .15s, background .15s; }
.add-q button:hover { border-color: var(--layette); background: var(--layette-soft); }
.add-q button span { font-size: 22px; }

/* classement */
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: var(--space-3); align-items: end; margin: var(--space-4) 0 var(--space-5); }
.podium .p { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-2); min-width: 0; }
.podium .p .avatar { width: 56px; height: 56px; font-size: var(--fs-lg); }
.podium .p:nth-child(2) .avatar { width: 72px; height: 72px; font-size: var(--fs-xl); }
.podium .p b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.podium .step { width: 100%; border-radius: var(--radius-md) var(--radius-md) 0 0; display: grid; place-items: center; font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-weight: 700; font-size: var(--fs-2xl); color: var(--ink); }
.podium .p:nth-child(1) .step { height: 72px; background: var(--layette-soft); }
.podium .p:nth-child(2) .step { height: 104px; background: var(--miel-soft); }
.podium .p:nth-child(3) .step { height: 52px; background: var(--dragee-soft); }
.rank { display: grid; grid-template-columns: 36px 1fr auto; gap: var(--space-3); align-items: center; padding: var(--space-3) 0; border-top: 2px solid var(--line); }
.rank .pos { font-weight: 800; color: var(--ink-muted); font-variant-numeric: tabular-nums; text-align: center; }
.rank .pts { font-weight: 800; font-variant-numeric: tabular-nums; }
.rank.me { background: var(--miel-soft); border-radius: var(--radius-md); border-top-color: transparent; padding-left: var(--space-2); padding-right: var(--space-3); }
.scorebar { height: 6px; border-radius: 99px; background: var(--surface-sunken); margin-top: 6px; overflow: hidden; }
.scorebar i { display: block; height: 100%; background: var(--miel); border-radius: 99px; }

/* =========================================================
   PARCOURS INVITÉ
   ========================================================= */
.guest { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: linear-gradient(var(--ciel) 0, var(--ciel) 220px, var(--surface) 520px); }
.sky { position: relative; padding: max(16px, env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); }
.sky-inner { max-width: 760px; margin: 0 auto; }
.sky-top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.flight { position: relative; height: 64px; margin-top: var(--space-3); }
.flight svg { width: 100%; height: 64px; overflow: visible; }
.flight .path { stroke: var(--layette); stroke-width: 2.5; stroke-dasharray: 2 9; stroke-linecap: round; fill: none; opacity: .7; }
.flight .bundle { transition: transform .7s var(--ease-spring); }
.g-body { flex: 1; padding: var(--space-5) max(20px, env(safe-area-inset-right, 0px)) calc(var(--space-7) + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); }
.g-inner { max-width: 760px; margin: 0 auto; }
.g-step { display: flex; flex-direction: column; gap: var(--space-5); animation: stepIn .5s var(--ease-out); }
.g-step.back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(40px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-40px); } }
.g-kicker { font-weight: 800; color: var(--ink-muted); font-size: var(--fs-sm); }
.g-q { font-size: clamp(34px, 6vw, 56px); line-height: 1.02; letter-spacing: -.02em; }
.g-help { color: var(--ink-muted); font-size: var(--fs-lg); max-width: 32em; }
.g-panel { background: var(--surface-raised); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); padding: var(--space-5); }
@media (min-width: 720px) { .g-panel { padding: var(--space-6) var(--space-7); } }
.g-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-2); }
.g-nav .right { display: flex; gap: var(--space-3); align-items: center; margin-left: auto; }
.g-skip { text-align: center; margin-top: calc(-1 * var(--space-2)); }
@media (max-width: 559px) { .g-nav .btn.ghost { padding: 0 var(--space-4); } .g-nav .btn.pink { flex: 1; } .g-nav .right { flex: 1; } }
.big-value { text-align: center; font-weight: 800; font-size: clamp(40px, 8vw, 64px); line-height: 1; letter-spacing: -.03em; }
.verdict { text-align: center; font-weight: 800; color: var(--ink-muted); min-height: 1.6em; font-size: var(--fs-md); }
.verdict.up { color: var(--dragee-ink); } .verdict.down { color: var(--layette-ink); } .verdict.eq { color: var(--success); }

/* fille / garçon */
.sexes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.sex { border: 0; padding: var(--space-6) var(--space-3) var(--space-5); border-radius: var(--radius-xl); background: var(--surface-raised); box-shadow: var(--shadow-card); display: flex; flex-direction: column; align-items: center; gap: var(--space-3); font-weight: 800; font-size: var(--fs-xl); font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; transition: transform .35s var(--ease-spring), box-shadow .2s, background .2s; }
.sex .orb { width: clamp(96px, 22vw, 150px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: clamp(48px, 11vw, 76px); transition: transform .5s var(--ease-spring); }
.sex.girl .orb { background: var(--dragee-soft); } .sex.boy .orb { background: var(--layette-soft); }
.sex:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.sex[aria-pressed=true].girl { background: var(--dragee); color: var(--on-dragee); }
.sex[aria-pressed=true].boy { background: var(--layette); color: var(--on-dragee); }
.sex[aria-pressed=true] .orb { transform: scale(1.08) rotate(-6deg); background: var(--surface-raised); }
.sex.dim { opacity: .55; transform: scale(.96); }

/* prénoms */
.names-box { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; min-height: 64px; padding: var(--space-2); border-radius: var(--radius-lg); border: 2px solid var(--line-strong); background: var(--surface-raised); transition: border-color .15s, box-shadow .15s; }
.names-box:focus-within { border-color: var(--layette); box-shadow: 0 0 0 4px var(--layette-soft); }
.names-box input { flex: 1; min-width: 140px; border: 0; outline: 0; background: transparent; font-size: var(--fs-lg); padding: 8px 10px; font-weight: 700; }
.nchip { display: inline-flex; align-items: center; gap: 4px; padding: 8px 8px 8px 16px; border-radius: 99px; background: var(--miel-soft); font-weight: 800; font-size: var(--fs-lg); animation: pop .35s var(--ease-spring); }
.nchip button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-muted); font-size: 18px; line-height: 1; }
.nchip button:hover { background: rgba(0,0,0,.08); color: var(--ink); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.ideas { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.ideas button { border: 2px dashed var(--line-strong); background: transparent; padding: 6px 14px; border-radius: 99px; font-weight: 700; color: var(--ink-muted); }
.ideas button:hover { border-color: var(--miel); color: var(--ink); }
.ncount { font-weight: 800; color: var(--ink-muted); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }

/* balance */
.scale-wrap { position: relative; max-width: 520px; margin: 0 auto; width: 100%; }
.scale-wrap svg { width: 100%; height: auto; overflow: visible; }
.sc-metal { fill: var(--miel); } .sc-metal-dark { fill: #A97A49; } .sc-line { stroke: var(--miel); }
.sc-chain { stroke: var(--ink-faint); stroke-width: 1.5; }
.sc-pan-l { fill: var(--dragee); } .sc-pan-r { fill: var(--layette); }
.sc-base { fill: var(--nuit); }
.sc-label { fill: var(--ink); font-family: var(--font-sans); font-weight: 800; font-size: 19px; }
.sc-sub { fill: var(--ink-muted); font-family: var(--font-sans); font-weight: 700; font-size: 16px; }
.sc-weight { fill: var(--ink); }
.sc-weight-text { fill: var(--on-nuit); font-family: var(--font-sans); font-weight: 800; font-size: 11px; }

/* toise */
.toise { position: relative; margin: var(--space-3) 0 var(--space-5); }
.toise svg { width: 100%; height: auto; overflow: visible; }
.ts-tape { fill: var(--miel-soft); stroke: var(--miel); stroke-width: 2; }
.ts-tick { stroke: var(--miel); }
.ts-num { fill: var(--ink-muted); font-family: var(--font-sans); font-size: 17px; font-weight: 800; }
.ts-me { fill: var(--dragee); } .ts-avg { fill: var(--layette); }
.ts-me-line { stroke: var(--dragee); stroke-width: 3; } .ts-avg-line { stroke: var(--layette); stroke-width: 2; }
.ts-tag { font-family: var(--font-sans); font-weight: 800; font-size: 19px; }

/* calendrier */
.days { position: relative; display: flex; gap: var(--space-2); overflow-x: auto; scroll-snap-type: x mandatory; padding: var(--space-3) 2px var(--space-4); scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.day { flex: 0 0 auto; width: 64px; scroll-snap-align: center; border: 0; border-radius: 18px; padding: 10px 0 12px; background: var(--surface-sunken); display: flex; flex-direction: column; align-items: center; gap: 2px; position: relative; transition: transform .3s var(--ease-spring), background .2s; }
.day small { font-size: 11px; font-weight: 800; color: var(--ink-muted); text-transform: lowercase; }
.day b { font-size: var(--fs-xl); line-height: 1.1; font-variant-numeric: tabular-nums; }
.day.term { box-shadow: inset 0 0 0 2px var(--miel); }
.day.term::after { content: "terme"; position: absolute; bottom: -18px; font-size: 10px; font-weight: 800; color: var(--miel); }
:root:lang(en) .day.term::after { content: "due"; }
.day.avg::before { content: ""; position: absolute; top: -6px; width: 8px; height: 8px; border-radius: 50%; background: var(--layette); }
.day[aria-pressed=true] { background: var(--dragee); color: var(--on-dragee); transform: translateY(-4px) scale(1.06); }
.day[aria-pressed=true] small { color: var(--on-dragee); }
.month { font-weight: 800; color: var(--ink-muted); font-size: var(--fs-sm); }

/* heure */
.clock { position: relative; border-radius: var(--radius-lg); overflow: hidden; transition: background 1s; }
.clock svg { width: 100%; height: auto; }

/* choix perso */
.choices { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 560px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { border: 0; text-align: left; padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: inset 0 0 0 2px var(--line-strong); font-weight: 800; font-size: var(--fs-lg); transition: box-shadow .15s, background .15s, transform .25s var(--ease-spring); display: flex; align-items: center; gap: var(--space-3); }
.choice::before { content: ""; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-strong); flex-shrink: 0; transition: box-shadow .2s; }
.choice:hover { box-shadow: inset 0 0 0 2px var(--ink-faint); }
.choice[aria-pressed=true] { background: var(--layette-soft); box-shadow: inset 0 0 0 3px var(--layette); transform: scale(1.02); }
.choice[aria-pressed=true]::before { box-shadow: inset 0 0 0 7px var(--layette); }

/* récap */
.recap { display: flex; flex-direction: column; }
.recap .rc { display: grid; grid-template-columns: 40px 1fr auto; gap: var(--space-3); align-items: center; padding: var(--space-4) 0; border-top: 2px solid var(--line); }
.recap .rc:first-child { border-top: 0; }
.recap .rc .e { font-size: 24px; text-align: center; }
.recap .rc .v { font-weight: 800; font-size: var(--fs-lg); }
.recap .rc .k { font-size: var(--fs-sm); color: var(--ink-muted); }
.recap .rc .skip { color: var(--ink-faint); font-weight: 700; }

/* scène d'envoi */
.drop-scene { position: fixed; inset: 0; z-index: 80; pointer-events: none; overflow: hidden; }
.drop-scene svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.confetti { position: fixed; z-index: 81; pointer-events: none; width: 14px; height: 8px; border-radius: 99px; }

/* carte naissance */
.birth { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: var(--space-6); background: var(--nuit); color: var(--on-nuit); }
.birth h2 { font-size: clamp(36px, 6vw, 56px); line-height: 1; }
.birth .facts { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-4); font-weight: 800; font-size: var(--fs-lg); }

/* mouvements réduits */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (max-width: 559px) { .g-nav .bk { display: none; } .g-nav .btn.ghost { width: 52px; padding: 0; } }
@media (max-width: 639px) { .page-head .btn { min-height: 44px; padding: 0 var(--space-4); font-size: var(--fs-sm); } .page-head > div:last-child { width: 100%; } }
.noscript { padding: 24px; }

/* pied de page légal */
.legal-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-5); padding: var(--space-5) 0 var(--space-4); margin-top: var(--space-7); border-top: 2px solid var(--line); color: var(--ink-muted); font-size: var(--fs-xs); }
.legal-foot span { display: inline-flex; gap: var(--space-4); flex-wrap: wrap; }
.legal-foot a, .legal-foot .lang-switch { color: var(--ink-muted); }
.legal-foot a:hover { color: var(--ink); }
.g-inner .legal-foot, .main-inner .legal-foot { margin-top: var(--space-8); }
.side-foot .legal-mini { font-size: 11px; line-height: 1.5; }
.side-foot .legal-mini a { color: var(--ink-muted); margin-right: 8px; }
.legal dl { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: var(--space-2) var(--space-4); }
.legal dt { font-weight: 800; }
.legal dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 559px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: var(--space-3); } }
@media (min-width: 960px) { .mob-legal { display: none; } }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* contenu lisible sans JavaScript (robots, assistants d'IA), remplacé par l'application */
.static-page { max-width: 720px; margin: 0 auto; padding: 48px max(16px, env(safe-area-inset-left, 0px)); display: grid; gap: 16px; }
.static-page h1 { font-family: var(--font-display, serif); font-size: 40px; }
.js .static-page { display: none; }
/* sélecteur de langue */
.lang-switch { font: inherit; font-size: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.site-top .lang-switch { font-weight: 700; padding: 8px 10px; border-radius: 999px; text-decoration: none; }
.site-top .lang-switch:hover { background: var(--surface-sunken); }
/* envoi d'un lien par email, sous la ligne de l'invité */
.mailrow { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); align-items: center; padding: var(--space-3) 0 var(--space-4); border-bottom: 2px solid var(--line); }
.mailrow .input { flex: 1 1 240px; min-width: 0; }
.mailrow .hint { flex-basis: 100%; }
