/* Polices hébergées localement (aucun appel à Google) */
@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'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-display: swap; font-weight: 100 900; src: url('fonts/fraunces-latin-full-italic.woff2') format('woff2-variations'), url('fonts/fraunces-latin-full-italic.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-display: swap; font-weight: 400; src: url('fonts/figtree-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-display: swap; font-weight: 500; src: url('fonts/figtree-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-display: swap; font-weight: 600; src: url('fonts/figtree-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-display: swap; font-weight: 700 900; src: url('fonts/figtree-latin-700-normal.woff2') format('woff2'); }
/* Nous — l'appli du couple · design doux */
:root {
  --bg: #FBF5F2;
  --wash-1: #FDE4D6;
  --wash-2: #EFE4F8;
  --wash-3: #FBE3EC;
  --glass: rgba(255, 255, 255, 0.74);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.85);
  --surface: #FFFFFF;
  --surface-2: #F6EEEB;
  --surface-3: #EFE3DE;
  --ink: #2E2529;
  --ink-2: #4A3F43;
  --muted: #7B6C71;
  --faint: #A0929A;
  --line: rgba(120, 85, 95, 0.12);
  --line-2: rgba(120, 85, 95, 0.08);
  --accent: #C94F7C;
  --accent-2: #E07C8F;
  --accent-ink: #9D3460;
  --accent-soft: #FBE6EE;
  --accent-grad: linear-gradient(135deg, #E27596 0%, #C94F7C 100%);
  --on-accent: #FFFFFF;
  --hero: linear-gradient(140deg, #FCE1EA 0%, #FDE9DD 55%, #F3E7FA 100%);
  --hero-ink: #3A2A31;
  --hero-muted: #8E6E7A;
  --hero-btn: rgba(255, 255, 255, 0.75);
  --plum: #4B3A44;
  --nav-bg: rgba(255, 255, 255, 0.82);
  --nav-ink: #9D3460;
  --nav-muted: #8E8186;
  --blue: #4A6094;
  --blue-soft: #E6EBF8;
  --lilac: #7D61B0;
  --lilac-soft: #EFE7FA;
  --ok: #3F7A4D;
  --ok-dot: #5FA36D;
  --ok-soft: #E3F1E5;
  --warn: #B0632E;
  --warn-soft: #FCEBDD;
  --danger: #B33A57;
  --pink: #F3A1BA;
  --check-border: #CDBFC4;
  --shadow: 0 14px 40px rgba(150, 90, 110, 0.14);
  --shadow-sm: 0 4px 14px rgba(150, 90, 110, 0.08);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Nunito', 'Avenir Next', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --radius: 26px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1A1518;
    --wash-1: #2E1F26;
    --wash-2: #231E33;
    --wash-3: #2C1C24;
    --glass: rgba(44, 35, 40, 0.72);
    --glass-strong: rgba(48, 38, 44, 0.92);
    --glass-border: rgba(255, 255, 255, 0.07);
    --surface: #2A2226;
    --surface-2: #332A2F;
    --surface-3: #3D3238;
    --ink: #F6ECEF;
    --ink-2: #E4D7DC;
    --muted: #B9A9AF;
    --faint: #9A8A90;
    --line: rgba(255, 255, 255, 0.09);
    --line-2: rgba(255, 255, 255, 0.06);
    --accent: #EE86A6;
    --accent-2: #F4A3B7;
    --accent-ink: #F6A9C0;
    --accent-soft: rgba(238, 134, 166, 0.16);
    --accent-grad: linear-gradient(135deg, #F094AE 0%, #D9688F 100%);
    --on-accent: #2A1820;
    --hero: linear-gradient(140deg, #3A2430 0%, #352628 55%, #2C2538 100%);
    --hero-ink: #F8ECF0;
    --hero-muted: #C9A9B6;
    --hero-btn: rgba(255, 255, 255, 0.1);
    --plum: #E9D9E0;
    --nav-bg: rgba(40, 32, 37, 0.84);
    --nav-ink: #F6A9C0;
    --nav-muted: #A8979E;
    --blue: #AFC1EE;
    --blue-soft: rgba(120, 150, 230, 0.15);
    --lilac: #C6B0F0;
    --lilac-soft: rgba(170, 140, 230, 0.15);
    --ok: #9FD3A6;
    --ok-dot: #7CC287;
    --ok-soft: rgba(120, 200, 140, 0.13);
    --warn: #F0B07E;
    --warn-soft: rgba(240, 170, 110, 0.14);
    --danger: #F28BA5;
    --check-border: #6E6066;
    --shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 100% 0%, var(--wash-1) 0%, transparent 70%),
    radial-gradient(55% 45% at 0% 35%, var(--wash-2) 0%, transparent 70%),
    radial-gradient(70% 45% at 70% 100%, var(--wash-3) 0%, transparent 70%),
    var(--bg);
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.serif, h1.title, .hello, .hero-quote, .countdown, .question-text, .auth h1, .sheet-head h3, .chat-name, .balance .amount, .ev-date b {
  font-family: var(--serif);
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
  font-optical-sizing: auto;
}

#app { max-width: 560px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; position: relative; }

/* ---------- Boot ---------- */
.boot { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; }
.boot-heart { width: 46px; height: 46px; background: var(--accent-grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E") center/contain no-repeat; animation: beat 1.1s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.18); } 60% { transform: scale(0.96); } }

/* ---------- Screens ---------- */
.screen { padding: calc(var(--safe-top) + 22px) 18px calc(var(--safe-bottom) + 124px); display: flex; flex-direction: column; gap: 16px; }
.screen.enter { animation: fade .3s cubic-bezier(.2, .8, .2, 1); }
.screen.no-nav { padding-bottom: calc(var(--safe-bottom) + 32px); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; }
.topbar .left { display: flex; align-items: center; gap: 6px; min-width: 0; }
.eyebrow { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.date-label { font-size: 14px; color: var(--muted); font-weight: 600; }
h1.title { margin: 0; font-weight: 450; font-size: 38px; line-height: 1.05; letter-spacing: -.02em; }
h1.title em, .serif em, .hello em { color: var(--accent); font-style: italic; }
h2.section { margin: 8px 4px -4px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--muted); display: flex; justify-content: space-between; align-items: baseline; }
h2.section a, h2.section button { text-transform: none; letter-spacing: 0; font-size: 14px; }
.serif { font-weight: 450; }
.sub { font-size: 14px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.row { display: flex; align-items: center; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.wrap { flex-wrap: wrap; }
.center { text-align: center; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pre { white-space: pre-wrap; word-break: break-word; }

/* ---------- Cards (glass) ---------- */
.card, .tile, .ev-row, .mem, .cal, .stats, .scheduled-strip, .story {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}
.card { border-radius: var(--radius); padding: 18px; }
.card.tight { padding: 6px 18px; }
.card.soft { background: linear-gradient(140deg, #FCE4EC 0%, #FBEFF3 100%); border-color: rgba(255, 255, 255, .7); }
.card.blue { background: linear-gradient(140deg, #E7ECFA 0%, #F1EAFB 100%); border-color: rgba(255, 255, 255, .7); }
.card.ok { background: var(--ok-soft); }
.card.lilac { background: linear-gradient(140deg, #EFE6FB 0%, #FBE9F1 100%); border-color: rgba(255, 255, 255, .7); }
@media (prefers-color-scheme: dark) {
  .card.soft { background: linear-gradient(140deg, #3A2430 0%, #2F2329 100%); border-color: var(--glass-border); }
  .card.blue { background: linear-gradient(140deg, #252B40 0%, #2B2438 100%); border-color: var(--glass-border); }
  .card.lilac { background: linear-gradient(140deg, #2D2540 0%, #352430 100%); border-color: var(--glass-border); }
}
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.card-title { font-weight: 800; font-size: 17px; }
.card-link { font-size: 14px; font-weight: 700; color: var(--accent); background: none; border: 0; padding: 6px 0; }
.hero { background: var(--hero); color: var(--hero-ink); border-radius: 30px; padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm); border: 1px solid var(--glass-border); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; width: 180px; height: 180px; right: -60px; top: -70px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .55), transparent 70%); pointer-events: none; }
@media (prefers-color-scheme: dark) { .hero::after { background: radial-gradient(circle, rgba(255, 255, 255, .06), transparent 70%); } }
.hero .eyebrow { color: var(--hero-muted); }
.hero-quote { margin: 0; font-size: 25px; line-height: 1.25; font-weight: 400; word-break: break-word; position: relative; z-index: 1; }
.hero .meta { font-size: 13px; color: var(--hero-muted); font-weight: 600; }
.hero .btn-hero { font-size: 14px; font-weight: 800; color: var(--hero-ink); padding: 10px 18px; border-radius: 22px; background: var(--hero-btn); border: 1px solid var(--glass-border); min-height: 42px; display: inline-flex; align-items: center; gap: 6px; position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 26px; border: 0; font-weight: 800; font-size: 16px; background: var(--accent-grad); color: var(--on-accent); text-align: center; transition: transform .12s ease, opacity .2s, box-shadow .2s; box-shadow: 0 8px 20px rgba(201, 79, 124, .25); }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn.dark { background: var(--plum); color: var(--bg); box-shadow: 0 8px 20px rgba(75, 58, 68, .2); }
.btn.ghost { background: var(--glass-strong); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.danger { background: transparent; color: var(--danger); border: 1px solid var(--line); box-shadow: none; }
.btn.solid-danger { background: var(--danger); color: #fff; box-shadow: none; }
.btn.block { width: 100%; }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 14px; border-radius: 21px; }
.btn.link { background: none; color: var(--accent); padding: 0 6px; min-height: 44px; box-shadow: none; }
.icon-btn { width: 46px; height: 46px; border-radius: 23px; border: 1px solid var(--glass-border); background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); padding: 0; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.icon-btn.plain { border: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.icon-btn.dark { background: var(--plum); color: var(--bg); border: 0; }
.icon-btn.accent { background: var(--accent-grad); color: var(--on-accent); border: 0; }
.fab { position: fixed; right: max(18px, calc(50% - 262px)); bottom: calc(var(--safe-bottom) + 108px); height: 56px; padding: 0 24px 0 20px; border-radius: 28px; border: 0; background: var(--accent-grad); color: var(--on-accent); font-weight: 800; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 12px 28px rgba(201, 79, 124, .32); z-index: 20; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 12px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.chip.accent { background: var(--accent-soft); color: var(--accent-ink); }
.chip.blue { background: var(--blue-soft); color: var(--blue); }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px; }
.pills::-webkit-scrollbar { display: none; }
.pill { height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--glass-border); background: var(--glass); color: var(--ink-2); font-size: 14px; font-weight: 700; white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; }
.pill.on { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; font-weight: 800; }

/* ---------- Avatars ---------- */
.avatar { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; overflow: hidden; border: 3px solid rgba(255, 255, 255, .9); background: var(--surface-2); box-shadow: var(--shadow-sm); }
@media (prefers-color-scheme: dark) { .avatar { border-color: var(--surface); } }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 64px; height: 64px; font-size: 23px; }
.avatar.xl { width: 96px; height: 96px; font-size: 34px; }
.avatar.sm { width: 30px; height: 30px; font-size: 12px; border-width: 2px; }
.avatars { display: flex; align-items: center; position: relative; }
.avatars .avatar + .avatar { margin-left: 10px; }
.avatars .love { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 14px; background: var(--surface); color: var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); z-index: 2; }

/* ---------- Bottom nav ---------- */
.nav { position: fixed; left: 50%; transform: translateX(-50%); width: min(528px, calc(100% - 24px)); bottom: calc(var(--safe-bottom) + 12px); height: 74px; background: var(--nav-bg); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); border: 1px solid var(--glass-border); border-radius: 30px; display: flex; justify-content: space-between; align-items: center; padding: 0 6px; z-index: 30; box-shadow: 0 16px 40px rgba(150, 90, 110, 0.18); }
.nav a { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--nav-muted); font-size: 11.5px; font-weight: 700; min-height: 60px; border-radius: 22px; transition: color .2s; }
.nav a .ni { width: 50px; height: 32px; border-radius: 16px; display: flex; align-items: center; justify-content: center; transition: background .25s, transform .2s; }
.nav a.on { color: var(--nav-ink); font-weight: 800; }
.nav a.on .ni { background: var(--accent-soft); }
.nav a:active .ni { transform: scale(.9); }
.nav .dot { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 19px; height: 19px; border-radius: 10px; background: var(--accent-grad); color: #fff; font-size: 10.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 5px; border: 2px solid var(--surface); }

/* ---------- Rows ---------- */
.rows > .item-row + .item-row, .rows > .task-row + .task-row { border-top: 1px solid var(--line-2); }
.task-row, .item-row { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 7px 0; }
.task-row .grow, .item-row .grow { cursor: pointer; }
.task-title { font-size: 16px; font-weight: 700; word-break: break-word; }
.task-meta { font-size: 13px; color: var(--muted); margin-top: 2px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-weight: 600; }
.task-meta .late { color: var(--danger); font-weight: 800; }
.check { width: 28px; height: 28px; border-radius: 14px; border: 2px solid var(--check-border); background: transparent; padding: 0; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; position: relative; transition: background .2s, border-color .2s; }
.check::before { content: ''; position: absolute; inset: -9px; }
.check.square { border-radius: 9px; }
.check.on { background: var(--accent-grad); border-color: transparent; }
.check.on svg { animation: pop .3s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: scale(.3); } to { transform: none; } }
.done .task-title, .done .item-text { color: var(--faint); text-decoration: line-through; font-weight: 500; }
.item-text { font-size: 16px; font-weight: 700; word-break: break-word; }

/* ---------- Home ---------- */
.couple-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 2px 0; }
.hello { font-size: 36px; line-height: 1.08; font-weight: 400; letter-spacing: -.02em; }
.since-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 16px; background: var(--glass); border: 1px solid var(--glass-border); font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.since-chip svg { color: var(--accent); }
.mood-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.mood-btn { border: 1px solid var(--glass-border); background: var(--glass-strong); border-radius: 20px; padding: 12px 2px 10px; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 800; color: var(--ink-2); min-height: 78px; transition: transform .15s; }
.mood-btn:active { transform: scale(.95); }
.mood-btn.on { border-color: var(--accent); background: var(--accent-soft); }
.mood-face { width: 30px; height: 30px; }
.mood-line { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.mood-line + .mood-line { border-top: 1px solid var(--line-2); }
.streak { display: flex; justify-content: space-between; gap: 4px; margin-top: 14px; }
.streak .d { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--faint); flex: 1; }
.streak .d i { width: 14px; height: 14px; border-radius: 7px; background: var(--surface-3); display: block; }
.streak .d.half i { background: var(--pink); }
.streak .d.full i { background: var(--accent-grad); box-shadow: 0 2px 6px rgba(201, 79, 124, .35); }
.streak .d.today { color: var(--ink); font-weight: 800; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: var(--radius); padding: 14px 4px; }
.stats > * { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; background: none; padding: 2px; color: var(--ink); }
.stats > * + * { border-left: 1px solid var(--line); }
.stats b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stats span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 14px; min-height: 112px; color: var(--ink); text-align: left; transition: transform .15s; }
.tile:active { transform: scale(.98); }
.tile .tile-ico { width: 40px; height: 40px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.tile b { font-size: 16px; font-weight: 800; display: block; }
.tile span { font-size: 13px; color: var(--muted); font-weight: 600; }
.tile.add { border-style: dashed; border-color: var(--check-border); align-items: flex-start; justify-content: space-between; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.tile-ico.accent { background: var(--accent-soft); color: var(--accent); }
.tile-ico.blue { background: var(--blue-soft); color: var(--blue); }
.tile-ico.ok { background: var(--ok-soft); color: var(--ok); }
.tile-ico.warm { background: var(--warn-soft); color: var(--warn); }
.tile-ico.lilac { background: var(--lilac-soft); color: var(--lilac); }
.dot-color { width: 12px; height: 12px; border-radius: 6px; display: inline-block; flex-shrink: 0; }
.countdown { font-size: 22px; color: var(--accent); white-space: nowrap; font-weight: 500; }
.ico-sq { width: 46px; height: 46px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ico-sq.blue { background: var(--blue-soft); color: var(--blue); }
.ico-sq.ok { background: var(--ok-soft); color: var(--ok); }
.ico-sq.lilac { background: var(--lilac-soft); color: var(--lilac); }
.ico-sq.neutral { background: var(--surface-2); color: var(--ink-2); }
.date-row { display: flex; align-items: center; gap: 14px; padding: 11px 0; cursor: pointer; }
.date-row + .date-row { border-top: 1px solid var(--line-2); }
.invite-code { font-family: var(--sans); font-size: 32px; letter-spacing: .22em; font-weight: 800; color: var(--accent-ink); }
.quick { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px 6px; }
.quick::-webkit-scrollbar { display: none; }
.quick button { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 8px; border-radius: 23px; border: 1px solid var(--glass-border); background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-weight: 800; font-size: 14px; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.quick button i { width: 32px; height: 32px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-style: normal; }

/* "Je pense à toi" */
.think-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border-radius: 21px; border: 0; background: var(--accent-grad); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 8px 18px rgba(201, 79, 124, .3); }
.think-btn:active { transform: scale(.96); }
.hearts-fx { position: fixed; inset: 0; pointer-events: none; z-index: 400; overflow: hidden; }
.hearts-fx span { position: absolute; bottom: -40px; color: var(--accent); animation: rise 1.6s cubic-bezier(.2, .7, .3, 1) forwards; opacity: 0; }
@keyframes rise { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-75vh) scale(1.1); opacity: 0; } }
.msg.nudge { align-self: center; align-items: center; max-width: 100%; margin: 8px 0; }
.nudge-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 20px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 800; font-size: 14px; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 14px; font-weight: 800; color: var(--ink-2); padding-left: 4px; }
.input, .textarea, .select { width: 100%; min-height: 52px; border-radius: 18px; border: 1px solid var(--line); background: var(--glass-strong); padding: 13px 16px; font-size: 16px; color: var(--ink); outline: none; -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.textarea { min-height: 100px; resize: vertical; line-height: 1.45; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237B6C71' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
input[type="date"].input, input[type="time"].input, input[type="datetime-local"].input { min-height: 52px; display: flex; align-items: center; }
input[type="date"]::-webkit-date-and-time-value, input[type="time"]::-webkit-date-and-time-value { text-align: left; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.seg { display: flex; background: var(--surface-2); border-radius: 18px; padding: 4px; gap: 4px; }
.seg button { flex: 1; min-height: 44px; border: 0; border-radius: 14px; background: transparent; font-size: 14px; font-weight: 800; color: var(--muted); padding: 0 6px; transition: background .2s, color .2s; }
.seg button.on { background: var(--surface); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.form-error { color: var(--danger); font-size: 14px; font-weight: 700; }
.form-error:empty { display: none; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 42px; height: 42px; border-radius: 21px; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line); padding: 0; }
.swatch.on { box-shadow: 0 0 0 3px var(--accent); }
.icon-pick { display: flex; gap: 8px; flex-wrap: wrap; }
.icon-pick button { width: 48px; height: 48px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass-strong); color: var(--ink-2); display: flex; align-items: center; justify-content: center; }
.icon-pick button.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ---------- Sheets ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(60, 35, 45, .28); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: fadein .25s ease; }
.sheet { position: relative; width: 100%; max-width: 560px; max-height: calc(100% - var(--safe-top) - 20px); background-color: var(--bg); background-image: radial-gradient(80% 50% at 100% 0%, var(--wash-1), transparent 70%), radial-gradient(60% 40% at 0% 100%, var(--wash-2), transparent 70%); border-radius: 32px 32px 0 0; padding: 10px 20px calc(var(--safe-bottom) + 22px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; animation: up .32s cubic-bezier(.2, .9, .25, 1); box-shadow: 0 -10px 40px rgba(80, 40, 55, .15); }
.sheet.center { border-radius: 30px; margin: 0 14px calc(var(--safe-bottom) + 14px); max-width: 420px; }
.sheet-grip { width: 42px; height: 5px; border-radius: 3px; background: var(--surface-3); margin: 0 auto 12px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.sheet-head h3 { margin: 0; font-weight: 450; font-size: 28px; line-height: 1.1; letter-spacing: -.01em; }
.sheet form { display: flex; flex-direction: column; gap: 14px; }
.sheet-actions { display: flex; gap: 10px; margin-top: 4px; }
.sheet-actions .btn { flex: 1; }
.sheet-wrap.closing .sheet { animation: down .2s ease forwards; }
.sheet-wrap.closing .sheet-backdrop { animation: fadeout .2s ease forwards; }
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes down { to { transform: translateY(100%); } }
@keyframes fadein { from { opacity: 0; } }
@keyframes fadeout { to { opacity: 0; } }
.action-list { display: flex; flex-direction: column; background: var(--glass-strong); border-radius: 22px; padding: 2px 14px; }
.action-list button { display: flex; align-items: center; gap: 14px; min-height: 56px; border: 0; background: none; font-size: 16px; font-weight: 700; text-align: left; padding: 0 4px; color: var(--ink); }
.action-list button + button { border-top: 1px solid var(--line-2); }
.action-list button.danger { color: var(--danger); }
.react-row { display: flex; justify-content: space-between; background: var(--glass-strong); border-radius: 26px; padding: 6px 8px; margin-bottom: 10px; }
.react-row button { width: 48px; height: 48px; border-radius: 24px; border: 0; background: transparent; font-size: 26px; line-height: 1; transition: transform .15s; }
.react-row button:active { transform: scale(1.25); }
.react-row button.on { background: var(--accent-soft); }

/* ---------- Toast & banners ---------- */
.toast-zone { position: fixed; left: 0; right: 0; bottom: calc(var(--safe-bottom) + 176px); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 200; pointer-events: none; padding: 0 16px; }
body.in-chat .toast-zone { bottom: calc(var(--safe-bottom) + 86px); }
.toast { background: var(--plum); color: var(--bg); padding: 12px 20px; border-radius: 22px; font-size: 14.5px; font-weight: 700; box-shadow: var(--shadow); max-width: 480px; animation: drop .3s cubic-bezier(.2, .9, .25, 1); pointer-events: auto; display: flex; gap: 12px; align-items: center; }
.toast.err { background: var(--danger); color: #fff; }
.toast button { background: none; border: 0; color: inherit; font-weight: 800; text-decoration: underline; padding: 4px; }
@keyframes drop { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.offline { position: fixed; top: 0; left: 0; right: 0; z-index: 150; background: var(--warn); color: #fff; font-size: 12.5px; font-weight: 700; text-align: center; padding: calc(var(--safe-top) + 4px) 12px 5px; }

/* ---------- Empty states ---------- */
.empty { text-align: center; padding: 30px 14px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 600; }
.empty .serif { font-size: 24px; color: var(--ink); }
.empty-ico { width: 60px; height: 60px; border-radius: 30px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }

/* ---------- Messages ---------- */
.chat { position: fixed; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 560px; height: var(--vvh, 100dvh); display: flex; flex-direction: column; z-index: 40; }
.chat-head { padding: calc(var(--safe-top) + 10px) 12px 10px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); background: var(--nav-bg); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.chat-name { font-size: 22px; line-height: 1.1; font-weight: 500; }
.presence { font-size: 12.5px; color: var(--muted); margin-top: 2px; display: flex; align-items: center; gap: 6px; font-weight: 700; }
.presence.on { color: var(--ok); }
.presence.on::before { content: ''; width: 8px; height: 8px; border-radius: 4px; background: var(--ok-dot); }
.chat-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 12px 14px 8px; display: flex; flex-direction: column; gap: 4px; }
.day-sep { align-self: center; font-size: 12.5px; font-weight: 800; color: var(--muted); padding: 4px 12px; margin: 12px 0 6px; border-radius: 12px; background: var(--glass); text-align: center; }
.msg { display: flex; flex-direction: column; max-width: 80%; position: relative; }
.msg.me { align-self: flex-end; align-items: flex-end; }
.msg.them { align-self: flex-start; align-items: flex-start; }
.msg + .msg.gap { margin-top: 8px; }
.bubble { padding: 11px 15px; font-size: 16px; line-height: 1.42; border-radius: 22px; word-break: break-word; white-space: pre-wrap; user-select: text; -webkit-user-select: text; -webkit-touch-callout: none; }
.msg.them .bubble { background: var(--glass-strong); border: 1px solid var(--glass-border); border-bottom-left-radius: 8px; box-shadow: var(--shadow-sm); }
.msg.me .bubble { background: var(--accent-grad); color: #fff; border-bottom-right-radius: 8px; box-shadow: 0 6px 16px rgba(201, 79, 124, .22); }
@media (prefers-color-scheme: dark) { .msg.me .bubble, .msg.me .voice { color: #2A1820; } }
.msg.me .bubble a { color: inherit; text-decoration: underline; }
.msg.them .bubble a { text-decoration: underline; }
.bubble.emoji-only { background: none !important; border: 0 !important; box-shadow: none !important; font-size: 46px; padding: 0 4px; line-height: 1.1; }
.msg.pending .bubble { opacity: .6; }
.msg.failed .bubble { outline: 2px solid var(--danger); }
.msg-time { font-size: 11.5px; font-weight: 700; color: var(--faint); padding: 3px 8px 0; }
.msg-photo { border-radius: 22px; overflow: hidden; background: var(--surface-3); max-width: 260px; border: 3px solid var(--glass-strong); box-shadow: var(--shadow-sm); }
.msg-photo img { width: 100%; height: auto; max-height: 340px; object-fit: cover; }
.msg-photo .cap { padding: 8px 12px; font-size: 15px; background: var(--glass-strong); white-space: pre-wrap; }
.reactions { display: flex; gap: 2px; margin-top: -8px; z-index: 1; padding: 0 8px; }
.reactions span { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-size: 13px; padding: 1px 6px; box-shadow: var(--shadow-sm); }
.quote { font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 14px; background: var(--glass); color: var(--muted); margin-bottom: 4px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-left: 3px solid var(--accent); }
.voice { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 24px; min-width: 214px; }
.msg.them .voice { background: var(--glass-strong); border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm); }
.msg.me .voice { background: var(--accent-grad); color: #fff; }
.voice-btn { width: 38px; height: 38px; border-radius: 19px; border: 0; background: #fff; color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 0; box-shadow: var(--shadow-sm); }
.msg.them .voice-btn { background: var(--accent-grad); color: #fff; }
.voice-track { flex: 1; height: 4px; border-radius: 2px; background: currentColor; opacity: .25; }
.voice-wrap { flex: 1; position: relative; display: flex; align-items: center; }
.voice-fill { position: absolute; left: 0; height: 4px; border-radius: 2px; background: currentColor; width: 0; }
.voice-time { font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; opacity: .85; }
.typing { align-self: flex-start; background: var(--glass-strong); border: 1px solid var(--glass-border); border-radius: 22px; padding: 13px 15px; display: flex; gap: 4px; margin-top: 6px; }
.typing i { width: 7px; height: 7px; border-radius: 4px; background: var(--faint); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.composer { padding: 8px 10px calc(var(--safe-bottom) + 10px); display: flex; align-items: flex-end; gap: 8px; background: var(--nav-bg); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-top: 1px solid var(--line); }
.composer-box { flex: 1; min-width: 0; display: flex; align-items: flex-end; border-radius: 26px; background: var(--glass-strong); border: 1px solid var(--line); padding: 3px 4px 3px 16px; min-height: 50px; }
.composer-box textarea { flex: 1; border: 0; outline: none; background: transparent; resize: none; font-size: 16px; line-height: 1.35; padding: 11px 0; max-height: 132px; min-width: 0; color: var(--ink); }
.composer .send { width: 50px; height: 50px; border-radius: 25px; border: 0; background: var(--accent-grad); color: var(--on-accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 0; box-shadow: 0 6px 16px rgba(201, 79, 124, .3); }
.reply-bar { display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: var(--glass-strong); font-size: 14px; color: var(--muted); font-weight: 600; }
.rec-bar { flex: 1; display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 8px 0 16px; border-radius: 25px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.rec-dot { width: 10px; height: 10px; border-radius: 5px; background: var(--danger); animation: blink 1s infinite; }
.new-pill { position: absolute; left: 50%; transform: translateX(-50%); bottom: 96px; background: var(--plum); color: var(--bg); border: 0; border-radius: 20px; padding: 9px 16px; font-size: 13.5px; font-weight: 800; box-shadow: var(--shadow); display: inline-flex; align-items: center; gap: 6px; }
.scheduled-strip { display: flex; align-items: center; gap: 10px; border-radius: 20px; padding: 11px 14px; margin: 10px 14px 0; font-size: 14px; font-weight: 700; color: var(--ink-2); }

/* ---------- Calendar ---------- */
.cal { border-radius: 28px; padding: 14px 10px 8px; }
.cal-dow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; font-size: 12px; font-weight: 800; color: var(--faint); margin-bottom: 4px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 2px; }
.cal-day { height: 48px; border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0; color: var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; }
.cal-day b { width: 36px; height: 32px; display: flex; align-items: center; justify-content: center; font-weight: 600; border-radius: 16px; transition: background .2s; }
.cal-day.out { visibility: hidden; }
.cal-day.today b { color: var(--accent); font-weight: 800; background: var(--accent-soft); }
.cal-day.sel b { background: var(--accent-grad); color: #fff; font-weight: 800; box-shadow: 0 4px 12px rgba(201, 79, 124, .3); }
.cal-dots { display: flex; gap: 3px; height: 5px; }
.cal-dots i { width: 5px; height: 5px; border-radius: 3px; display: block; }
.ev-row { display: flex; align-items: center; gap: 14px; border-radius: 22px; padding: 12px 14px; cursor: pointer; }
.ev-date { width: 46px; text-align: center; flex-shrink: 0; }
.ev-date b { font-weight: 450; font-size: 26px; line-height: 1; display: block; }
.ev-date span { font-size: 11.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.ev-bar { width: 4px; align-self: stretch; border-radius: 2px; flex-shrink: 0; }

/* ---------- Memories ---------- */
.mem { border-radius: 28px; overflow: hidden; }
.mem-body { padding: 14px 18px 18px; }
.mosaic { display: grid; gap: 3px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mosaic.n1 { grid-template-columns: 1fr; }
.mosaic button { border: 0; padding: 0; background: var(--surface-3); aspect-ratio: 1 / 1; overflow: hidden; position: relative; }
.mosaic.n1 button { aspect-ratio: 4 / 3; }
.mosaic.n3 button:first-child { grid-column: span 2; aspect-ratio: 2 / 1; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .more { position: absolute; inset: 0; background: rgba(40, 20, 30, .45); color: #fff; font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumb { width: 78px; height: 78px; border-radius: 18px; overflow: hidden; position: relative; background: var(--surface-3); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 13px; border: 0; background: rgba(0, 0, 0, .5); color: #fff; display: flex; align-items: center; justify-content: center; padding: 0; }
.thumb.add { border: 2px dashed var(--check-border); background: transparent; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.thumb.loading::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); animation: shimmer 1s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.viewer { position: fixed; inset: 0; z-index: 300; background: #0D0A0B; display: flex; align-items: center; justify-content: center; animation: fadein .2s ease; }
.viewer img { max-width: 100%; max-height: 100%; object-fit: contain; }
.viewer .icon-btn { position: absolute; top: calc(var(--safe-top) + 12px); right: 12px; background: rgba(255, 255, 255, .16); color: #fff; border: 0; box-shadow: none; }
.viewer .nav-l, .viewer .nav-r { top: 50%; transform: translateY(-50%); }
.viewer .nav-l { left: 10px; right: auto; }
.viewer .nav-r { right: 10px; }

/* ---------- Budget ---------- */
.balance { border-radius: 30px; padding: 22px; background: linear-gradient(140deg, #EDE5FB 0%, #FCE6EE 100%); color: var(--hero-ink); display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm); }
@media (prefers-color-scheme: dark) { .balance { background: linear-gradient(140deg, #2D2540 0%, #3A2430 100%); } }
.balance .eyebrow { color: var(--hero-muted) !important; }
.balance .amount { font-size: 46px; line-height: 1; font-weight: 450; }
.balance .sub { color: var(--hero-muted); font-weight: 700; }
.bar { height: 9px; border-radius: 5px; background: var(--surface-3); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 5px; background: var(--accent-grad); }
.amount-cell { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.big-amount { font-size: 36px !important; font-weight: 800; text-align: center; min-height: 68px !important; }

/* ---------- Auth ---------- */
.auth { min-height: 100vh; min-height: 100dvh; padding: calc(var(--safe-top) + 36px) 24px calc(var(--safe-bottom) + 28px); display: flex; flex-direction: column; gap: 22px; animation: fade .3s ease; }
.auth-hero { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 20px 0; }
.auth-logo { width: 78px; height: 78px; border-radius: 26px; background: var(--accent-grad); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 16px 34px rgba(201, 79, 124, .32); }
.auth h1 { margin: 0; font-weight: 400; font-size: 56px; line-height: 1; letter-spacing: -.03em; }
.auth h1 em { color: var(--accent); font-style: italic; }
.auth p.lead { margin: 0; font-size: 18px; color: var(--muted); max-width: 30ch; font-weight: 600; }
.auth form { display: flex; flex-direction: column; gap: 14px; }
.auth .features { display: flex; flex-wrap: wrap; gap: 8px; }
.auth .features .chip { background: var(--glass); border: 1px solid var(--glass-border); padding: 6px 12px; font-size: 13px; }
.back-link { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 800; background: none; border: 0; padding: 10px 0; min-height: 44px; align-self: flex-start; }

/* ---------- Question ---------- */
.question-card { background: linear-gradient(140deg, #E8ECFB 0%, #F4E8FB 60%, #FCE8EF 100%); border-radius: 30px; padding: 22px; display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm); }
@media (prefers-color-scheme: dark) { .question-card { background: linear-gradient(140deg, #252B40 0%, #2D2540 60%, #3A2430 100%); } }
.question-text { font-size: 29px; line-height: 1.18; margin: 0; font-weight: 400; letter-spacing: -.01em; }
.answer { background: var(--glass-strong); border-radius: 20px; padding: 12px 16px; }
.answer .who { font-size: 12.5px; font-weight: 800; color: var(--muted); margin-bottom: 4px; }
.locked { display: flex; align-items: center; gap: 10px; background: var(--glass-strong); border-radius: 20px; padding: 13px 16px; color: var(--muted); font-size: 15px; font-weight: 600; }

/* ---------- Ideas ---------- */
.idea-card { border-radius: 32px; padding: 26px 22px; background: linear-gradient(150deg, #FDE7DA 0%, #FCE3EC 50%, #EDE6FB 100%); border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; min-height: 250px; justify-content: space-between; }
@media (prefers-color-scheme: dark) { .idea-card { background: linear-gradient(150deg, #3A2A26 0%, #3A2430 50%, #2D2540 100%); } }
.idea-card .serif { font-size: 30px; line-height: 1.15; }
.idea-card.spin-in { animation: flip .45s cubic-bezier(.2, .9, .25, 1); }
@keyframes flip { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Install ---------- */
.install-steps { display: flex; flex-direction: column; gap: 10px; counter-reset: step; margin: 0; padding: 0; }
.install-steps li { list-style: none; display: flex; align-items: center; gap: 14px; background: var(--glass-strong); border-radius: 20px; padding: 12px 14px; font-weight: 700; line-height: 1.4; }
.install-steps li::before { counter-increment: step; content: counter(step); width: 32px; height: 32px; border-radius: 16px; background: var(--accent-grad); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.install-steps .key { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: var(--surface-2); color: var(--blue); vertical-align: middle; margin: 0 2px; }
.install-banner { display: flex; align-items: center; gap: 14px; border-radius: 26px; padding: 14px 12px 14px 14px; background: linear-gradient(140deg, #FCE4EC 0%, #EFE6FB 100%); border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm); }
@media (prefers-color-scheme: dark) { .install-banner { background: linear-gradient(140deg, #3A2430 0%, #2D2540 100%); } }
.app-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--accent-grad); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 8px 18px rgba(201, 79, 124, .3); }

/* ---------- Story ---------- */
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.story { border-radius: 24px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.story b { font-family: var(--serif); font-variation-settings: 'SOFT' 100; font-size: 34px; font-weight: 450; line-height: 1.05; }
.story span { font-size: 13px; font-weight: 700; color: var(--muted); }
.story.big { grid-column: span 2; }
.versus { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--surface-3); margin-top: 8px; }
.versus i { display: block; height: 100%; }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); margin: 4px 0; }
.settings-row { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 6px 0; border: 0; background: none; width: 100%; text-align: left; color: var(--ink); font-size: 16px; font-weight: 700; }
.settings-row + .settings-row { border-top: 1px solid var(--line-2); }
.settings-row .val { color: var(--muted); font-size: 14px; font-weight: 600; }
.collapse-btn { background: none; border: 0; color: var(--muted); font-weight: 800; font-size: 14px; padding: 10px 4px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.hint { display: flex; gap: 12px; align-items: flex-start; }
.hint ol { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.spin { width: 18px; height: 18px; border-radius: 9px; border: 2.5px solid currentColor; border-right-color: transparent; animation: rot .7s linear infinite; display: inline-block; }
@keyframes rot { to { transform: rotate(360deg); } }
.add-row { display: flex; gap: 8px; align-items: flex-end; }
.add-row .textarea { min-height: 52px; height: 52px; resize: none; padding-top: 14px; }
.link-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; color: var(--accent); max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Family ---------- */
.kid-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.kid-pick button { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 6px; border-radius: 22px; border: 1.5px solid var(--line); background: var(--glass-strong); font-weight: 800; font-size: 14px; color: var(--ink-2); }
.kid-pick button .avatar { border-width: 0; box-shadow: none; }
.kid-pick button.on { border-color: var(--kc, var(--accent)); background: color-mix(in srgb, var(--kc, var(--accent)) 14%, var(--surface)); color: var(--ink); }
.kid-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.kid-chips .chip { font-size: 11.5px; padding: 3px 9px; }
.holiday-banner { display: flex; align-items: center; gap: 14px; border-radius: 22px; padding: 12px 14px; background: linear-gradient(140deg, #E5F3E7 0%, #F2F8E8 100%); border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm); cursor: default; }
.holiday-banner[role="button"] { cursor: pointer; }
.holiday-banner b { font-weight: 800; }
@media (prefers-color-scheme: dark) { .holiday-banner { background: linear-gradient(140deg, #1F2D22 0%, #26301F 100%); } }
.cal-day.hol b { background: var(--ok-soft); color: var(--ok); }
.cal-day.hol.today b { background: var(--accent-soft); color: var(--accent); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; padding: 8px 4px 4px; border-top: 1px solid var(--line-2); margin-top: 6px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 5px; }
.cal-legend i { width: 7px; height: 7px; border-radius: 4px; display: inline-block; }
.cal-legend i.sq { width: 12px; height: 10px; border-radius: 4px; background: var(--ok-soft); border: 1px solid var(--ok-dot); }
.kid-card { display: flex; flex-direction: column; gap: 12px; }
.kid-stats { display: flex; gap: 8px; flex-wrap: wrap; }
.kid-stats span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); background: var(--surface-2); padding: 6px 12px; border-radius: 14px; }
.day-group { display: flex; flex-direction: column; gap: 8px; }
.day-label { font-size: 13px; font-weight: 800; color: var(--muted); padding: 4px 6px 0; }

/* ---------- Landing (one page) ---------- */
.lp { padding: 0 20px calc(var(--safe-bottom) + 30px); overflow-x: hidden; overflow-x: clip; }
.lp-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: calc(var(--safe-top) + 12px) 0 12px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; background: linear-gradient(var(--bg) 60%, transparent); }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-variation-settings: 'SOFT' 100; font-size: 26px; font-weight: 500; }
.lp-ico { width: 38px !important; height: 38px !important; border-radius: 13px !important; }
.lp-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 26px 0 10px; }
.lp-badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 16px; background: var(--glass); border: 1px solid var(--glass-border); font-size: 13px; font-weight: 800; color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.lp h1 { margin: 0; font-family: var(--serif); font-variation-settings: 'SOFT' 100; font-weight: 400; font-size: clamp(42px, 12vw, 64px); line-height: 1.02; letter-spacing: -.03em; }
.lp h1 em, .lp h2 em { color: var(--accent); font-style: italic; }
.lp .lead { margin: 0; font-size: 18px; line-height: 1.5; color: var(--muted); font-weight: 600; max-width: 34ch; }
.lp-cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; width: 100%; }
.lp-cta .btn { flex: 1 1 160px; max-width: 260px; }
.lp-install { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--ink-2); font-weight: 800; font-size: 15px; padding: 10px; text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 4px; }
.lp-stage { position: relative; width: 100%; display: flex; justify-content: center; padding: 26px 0 10px; }
.lp-stage::before { content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%; top: 50px; background: radial-gradient(circle, rgba(226, 117, 150, .35), rgba(180, 154, 230, .18) 55%, transparent 70%); filter: blur(10px); }
.lp-phone { position: relative; width: 250px; height: 500px; border-radius: 42px; background: #2E2529; padding: 9px; box-shadow: 0 40px 80px rgba(150, 70, 100, .28), inset 0 0 0 2px #4A3F43; transform: rotate(-3deg); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-10px); } }
.lp-screen { height: 100%; border-radius: 34px; overflow: hidden; background: radial-gradient(70% 40% at 100% 0%, #FDE4D6, transparent 70%), radial-gradient(60% 40% at 0% 45%, #EFE4F8, transparent 70%), #FBF5F2; display: flex; flex-direction: column; gap: 9px; padding: 0 12px 10px; text-align: left; color: #2E2529; font-family: var(--sans); }
.lp-ph-top { display: flex; justify-content: space-between; align-items: center; font-size: 10px; font-weight: 800; padding: 9px 6px 2px; }
.lp-ph-notch { width: 70px; height: 18px; border-radius: 10px; background: #2E2529; }
.lp-ph-head { display: flex; justify-content: center; align-items: center; gap: 2px; margin-top: 4px; position: relative; }
.lp-av { width: 34px; height: 34px; border-radius: 17px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; border: 2px solid #fff; }
.lp-ph-heart { width: 18px; height: 18px; border-radius: 9px; background: #fff; color: #C94F7C; display: flex; align-items: center; justify-content: center; margin: 0 -6px; z-index: 1; box-shadow: 0 2px 6px rgba(0, 0, 0, .1); }
.lp-ph-hello { text-align: center; font-family: var(--serif); font-variation-settings: 'SOFT' 100; font-size: 19px; }
.lp-ph-hello em { color: #C94F7C; }
.lp-ph-hero { border-radius: 18px; padding: 12px; background: linear-gradient(140deg, #FCE1EA, #FDE9DD 55%, #F3E7FA); display: flex; flex-direction: column; gap: 6px; }
.lp-ph-hero small { font-size: 7.5px; letter-spacing: .12em; font-weight: 800; color: #8E6E7A; }
.lp-ph-hero span { font-family: var(--serif); font-variation-settings: 'SOFT' 100; font-size: 14px; line-height: 1.25; }
.lp-ph-hero i { align-self: flex-start; font-style: normal; display: inline-flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #E27596, #C94F7C); padding: 5px 9px; border-radius: 10px; }
.lp-ph-card { border-radius: 16px; background: rgba(255, 255, 255, .85); padding: 9px 11px; display: flex; flex-direction: column; gap: 6px; font-size: 10px; box-shadow: 0 2px 8px rgba(150, 90, 110, .08); }
.lp-ph-card b { font-size: 11px; font-weight: 800; display: flex; align-items: center; gap: 5px; }
.lp-ph-card span { display: flex; align-items: center; gap: 7px; font-weight: 700; }
.lp-ph-card em { width: 12px; height: 12px; border-radius: 6px; border: 1.5px solid #CDBFC4; display: flex; align-items: center; justify-content: center; color: #fff; }
.lp-ph-card em.on { background: linear-gradient(135deg, #E27596, #C94F7C); border-color: transparent; }
.lp-ph-card.hol { background: linear-gradient(140deg, #E5F3E7, #F2F8E8); color: #3F7A4D; }
.lp-ph-nav { margin-top: auto; height: 36px; border-radius: 16px; background: rgba(255, 255, 255, .9); display: flex; justify-content: space-around; align-items: center; box-shadow: 0 4px 12px rgba(150, 90, 110, .12); }
.lp-ph-nav i { width: 16px; height: 6px; border-radius: 3px; background: #E3D7DB; }
.lp-ph-nav i.on { width: 24px; background: #FBE6EE; box-shadow: inset 0 0 0 2px #E27596; }
.lp-float { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 16px; background: var(--glass-strong); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--glass-border); box-shadow: var(--shadow); font-size: 12.5px; font-weight: 800; color: var(--ink-2); white-space: nowrap; animation: floaty2 5s ease-in-out infinite; }
.lp-float svg { color: var(--accent); }
.lp-float.f1 { top: 70px; left: max(0px, calc(50% - 190px)); }
.lp-float.f2 { top: 250px; right: max(0px, calc(50% - 195px)); animation-delay: -1.6s; }
.lp-float.f2 svg { color: var(--lilac); }
.lp-float.f3 { bottom: 40px; left: max(0px, calc(50% - 175px)); animation-delay: -3s; }
.lp-float.f3 svg { color: var(--warn); }
@keyframes floaty2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.lp-marquee { margin: 20px -20px 0; overflow: hidden; padding: 12px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--glass); }
.lp-marquee div { display: flex; gap: 22px; width: max-content; animation: marquee 40s linear infinite; }
.lp-marquee span { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.lp-marquee span svg { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
.lp-sec { padding: 46px 0 6px; display: flex; flex-direction: column; gap: 12px; }
.lp-sec > .eyebrow { text-align: center; color: var(--accent-ink); }
.lp h2 { margin: 0; font-family: var(--serif); font-variation-settings: 'SOFT' 100; font-weight: 400; font-size: clamp(32px, 9vw, 44px); line-height: 1.08; letter-spacing: -.02em; text-align: center; }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 10px; }
.lp-feat { border-radius: 24px; padding: 16px; background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 8px; }
.lp-feat .tile-ico { width: 42px; height: 42px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.lp-feat b { font-size: 16px; font-weight: 800; }
.lp-feat p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); font-weight: 600; }
.lp-family { border-radius: 30px; padding: 24px 20px; background: linear-gradient(150deg, #FDEBDD 0%, #FCE6EE 55%, #EDE6FB 100%); border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; }
@media (prefers-color-scheme: dark) { .lp-family { background: linear-gradient(150deg, #3A2A26, #3A2430 55%, #2D2540); } }
.lp-family h2 { text-align: left; font-size: 34px; margin: 6px 0 8px; }
.lp-family p { margin: 0; color: var(--ink-2); font-weight: 600; line-height: 1.5; }
.lp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lp-checks li { display: flex; align-items: center; gap: 10px; background: var(--glass-strong); border-radius: 16px; padding: 11px 14px; font-weight: 800; font-size: 14.5px; }
.lp-checks li svg { color: var(--accent); flex-shrink: 0; }
.lp-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.lp-steps li { position: relative; border-radius: 24px; padding: 18px 18px 18px 74px; background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 3px; }
.lp-steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 20px; background: var(--accent-grad); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(201, 79, 124, .3); }
.lp-steps b { font-size: 17px; font-weight: 800; }
.lp-steps span { font-size: 14px; color: var(--muted); font-weight: 600; }
.lp-private { border-radius: 30px; padding: 28px 20px; text-align: center; background: linear-gradient(150deg, #E8ECFB, #F4E8FB 60%, #FCE8EF); border: 1px solid var(--glass-border); display: flex; flex-direction: column; align-items: center; gap: 14px; }
@media (prefers-color-scheme: dark) { .lp-private { background: linear-gradient(150deg, #252B40, #2D2540 60%, #3A2430); } }
.lp-lock { width: 58px; height: 58px; border-radius: 20px; background: var(--glass-strong); color: var(--blue); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.lp-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.lp-pills span { display: inline-flex; align-items: center; gap: 6px; background: var(--glass-strong); border-radius: 14px; padding: 7px 12px; font-size: 13px; font-weight: 800; color: var(--ink-2); }
.lp-private p { margin: 0; color: var(--muted); font-weight: 600; max-width: 36ch; }
.lp-final { padding: 56px 0 20px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.lp-foot { text-align: center; color: var(--faint); font-size: 13px; font-weight: 700; padding: 18px 0 8px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.lp-foot svg { color: var(--accent); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (min-width: 520px) { .lp-family { flex-direction: column; } }
.lp-grid .lp-feat:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- Daily motivation & verse ---------- */
.daily, .verse { display: flex; flex-direction: column; gap: 8px; }
.daily { background: linear-gradient(140deg, #FEF1E4 0%, #FDE9EF 100%); }
.verse { background: linear-gradient(140deg, #F0EAFB 0%, #E9EEFB 100%); }
@media (prefers-color-scheme: dark) {
  .daily { background: linear-gradient(140deg, #3A2C24 0%, #3A2430 100%); }
  .verse { background: linear-gradient(140deg, #2D2540 0%, #252B40 100%); }
}
.daily .eyebrow, .verse .eyebrow { display: inline-flex; align-items: center; gap: 6px; }
.daily-text { margin: 0; font-size: 22px; line-height: 1.3; font-weight: 400; }
.daily .card-link, .verse .card-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; }
.switch { width: 50px; height: 30px; border-radius: 15px; background: var(--surface-3); position: relative; flex-shrink: 0; transition: background .2s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 12px; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); transition: transform .2s cubic-bezier(.3, 1.4, .5, 1); }
.switch.on { background: var(--accent-grad); }
.switch.on i { transform: translateX(20px); }

/* ---------- Family role & invitations ---------- */
.seg { flex-wrap: wrap; }
.seg button { min-width: 64px; }
.chat-tabs { margin: 10px 14px 0; }
.tab-dot { display: inline-flex; min-width: 18px; height: 18px; border-radius: 9px; background: var(--accent-grad); color: #fff; font-size: 10.5px; align-items: center; justify-content: center; padding: 0 5px; margin-left: 4px; }
.msg-name { font-size: 12px; font-weight: 800; padding: 0 10px 3px; }
.family-avs .avatar + .avatar { margin-left: -10px; }
.invite-box { text-align: center; background: var(--glass-strong); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.invite-link { font-size: 14px; font-weight: 700; color: var(--muted); word-break: break-all; }
.share-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.share-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: var(--glass-strong); border-radius: 20px; padding: 12px 4px 10px; font-size: 12.5px; font-weight: 800; color: var(--ink-2); text-decoration: none; }
.share-btn span { width: 46px; height: 46px; border-radius: 23px; display: flex; align-items: center; justify-content: center; }
.share-btn:active { transform: scale(.96); }

.notif-list { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }

/* =========================================================
 * Landing — responsive (tablette & ordinateur)
 * ======================================================= */
html.is-lp #app { max-width: none; }
.lp-top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.lp-nav, .lp-top-reg, .lp-only-d, .lp-phone.back { display: none; }
.lp-top-cta { display: flex; gap: 8px; align-items: center; }
.lp-hero-txt { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.lp-trust { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
.lp-trust li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--muted); }
.lp-trust svg { color: var(--accent); }
.lp-sub { margin: 0 auto; text-align: center; color: var(--muted); font-weight: 600; font-size: 16px; line-height: 1.5; max-width: 46ch; }
.lp-final-ico { width: 68px !important; height: 68px !important; border-radius: 22px !important; }

/* Phone #2 (chat) */
.lp-screen.chat { gap: 8px; }
.lp-ch-head { display: flex; align-items: center; gap: 8px; padding: 4px 2px 8px; border-bottom: 1px solid rgba(46, 37, 41, .07); }
.lp-ch-head .lp-av { width: 30px; height: 30px; font-size: 12px; }
.lp-ch-head b { display: block; font-size: 12px; }
.lp-ch-head small { display: block; font-size: 9px; color: #C94F7C; font-weight: 700; }
.lp-ch-day { align-self: center; font-size: 8.5px; font-weight: 800; color: #9A8890; background: rgba(255, 255, 255, .7); padding: 3px 8px; border-radius: 8px; }
.lp-bub { max-width: 78%; padding: 8px 11px; border-radius: 16px; font-size: 10.5px; font-weight: 600; line-height: 1.35; }
.lp-bub.in { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; box-shadow: 0 2px 6px rgba(150, 90, 110, .08); }
.lp-bub.out { align-self: flex-end; color: #fff; background: linear-gradient(135deg, #E27596, #C94F7C); border-bottom-right-radius: 6px; }
.lp-bub.voice { display: flex; align-items: center; gap: 7px; width: 62%; }
.lp-bub.voice i { width: 20px; height: 20px; border-radius: 10px; background: #FBE6EE; color: #C94F7C; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lp-bub.voice span { flex: 1; height: 14px; background: repeating-linear-gradient(90deg, #E8A3B8 0 2px, transparent 2px 4px); -webkit-mask: linear-gradient(0deg, #000 30%, transparent 30%, transparent 70%, #000 70%), radial-gradient(#000, #000); border-radius: 3px; opacity: .8; }
.lp-bub.voice small { font-size: 8.5px; color: #9A8890; font-weight: 800; }
.lp-ch-love { display: flex; gap: 4px; align-self: center; color: #E27596; margin-top: 4px; }
.lp-ch-input { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 6px; background: #fff; border-radius: 16px; padding: 7px 7px 7px 12px; font-size: 10px; color: #A8979E; font-weight: 700; box-shadow: 0 4px 12px rgba(150, 90, 110, .12); }
.lp-ch-input i { width: 24px; height: 24px; border-radius: 12px; background: linear-gradient(135deg, #E27596, #C94F7C); display: flex; align-items: center; justify-content: center; }

/* Tablette */
@media (min-width: 700px) {
  .lp { padding-left: 32px; padding-right: 32px; }
  .lp-top { margin: 0 -32px; padding-left: 32px; padding-right: 32px; }
  .lp-marquee { margin-left: -32px; margin-right: -32px; }
  .lp-hero, .lp-sec, .lp-final, .lp-foot { max-width: 1180px; margin-left: auto; margin-right: auto; width: 100%; }
  .lp-top-in { max-width: 1180px; margin: 0 auto; }
  .lp-top-reg { display: inline-flex; }
  .lp-sec { padding-top: 72px; gap: 14px; }
  .lp-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
  .lp-grid .lp-feat:last-child:nth-child(odd) { grid-column: auto; }
  .lp-feat { padding: 22px; border-radius: 28px; }
  .lp-feat b { font-size: 17px; }
  .lp-feat p { font-size: 14.5px; }
  .lp-family { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 32px; padding: 40px; border-radius: 36px; }
  .lp-family h2 { font-size: 40px; }
  .lp-steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .lp-steps li { padding: 76px 22px 24px; border-radius: 28px; }
  .lp-steps li::before { top: 22px; left: 22px; transform: none; }
  .lp-private { padding: 48px 40px; border-radius: 36px; }
  .lp-private p { max-width: 52ch; }
  .lp-final { margin-top: 64px; padding: 56px 32px; border-radius: 40px; background: radial-gradient(70% 90% at 0% 0%, rgba(253, 228, 214, .9), transparent 70%), radial-gradient(70% 90% at 100% 100%, rgba(239, 228, 248, .9), transparent 70%), var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm); }
  .lp-final .lp-cta .btn { flex: 0 1 240px; }
}

/* Ordinateur */
@media (min-width: 980px) {
  .lp-nav { display: flex; gap: 4px; }
  .lp-nav button { border: 0; background: none; font: inherit; font-size: 15px; font-weight: 800; color: var(--ink-2); padding: 9px 14px; border-radius: 14px; cursor: pointer; transition: background .2s, color .2s; }
  .lp-nav button:hover { background: var(--glass-strong); color: var(--accent-ink); }
  .lp-top { padding-top: 16px; padding-bottom: 16px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line-2); }
  .lp-only-m { display: none; }
  .lp-only-d { display: inline; }
  .lp-hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; text-align: left; padding: 48px 0 30px; min-height: calc(100vh - 90px); min-height: calc(100dvh - 90px); }
  .lp-hero-txt { align-items: flex-start; gap: 22px; }
  .lp h1 { font-size: clamp(60px, 6.2vw, 88px); }
  .lp .lead { font-size: 20px; max-width: 30ch; }
  .lp-cta { justify-content: flex-start; }
  .lp-hero .lp-cta .btn { flex: 0 1 230px; }
  .lp-install { padding-left: 0; }
  .lp-trust { justify-content: flex-start; }
  .lp-stage { min-height: 640px; align-items: center; padding: 0; }
  .lp-stage::before { width: 560px; height: 560px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
  .lp-phone { width: 280px; height: 570px; translate: -70px 0; z-index: 1; }
  .lp-phone.back { display: block; position: absolute; top: 50%; left: 50%; margin: -270px 0 0 -40px; width: 260px; height: 530px; transform: rotate(6deg); animation: floaty3 7s ease-in-out infinite; z-index: 0; opacity: .97; }
  .lp-float { z-index: 2; font-size: 13.5px; padding: 11px 15px; }
  .lp-float.f1 { top: 90px; left: 0; }
  .lp-float.f2 { top: auto; bottom: 150px; right: 0; }
  .lp-float.f3 { bottom: 40px; left: 40px; }
  .lp h2 { font-size: 52px; }
  .lp-feat { transition: transform .25s ease, box-shadow .25s ease; }
  .lp-feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .lp-family { padding: 56px; gap: 56px; }
  .lp-family h2 { font-size: 48px; }
  .lp-checks li { font-size: 15.5px; padding: 14px 16px; }
  .lp-final h2 { font-size: 56px; }
}
@media (min-width: 980px) and (max-height: 760px) { .lp-hero { min-height: 0; } }
@keyframes floaty3 { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .lp-phone.back { animation: none; } }
.lp-ph-card.ev em.dot { width: 8px; height: 8px; border: 0; background: #7B8FD0; }
.lp-ph-card.ev b svg { color: #4A6094; }
.lp-ph-card.q { background: linear-gradient(140deg, #EEF0FB, #F4ECFB); }
.lp-ph-card.q b { color: #4A6094; }
.lp-ph-card .qq { font-family: var(--serif); font-variation-settings: 'SOFT' 100; font-size: 12px; font-weight: 400; line-height: 1.3; }
.lp-ph-xl { display: none; }
.lp-hero .lp-cta .btn { white-space: nowrap; padding-left: 14px; padding-right: 14px; }
@media (min-width: 980px) {
  .lp-ph-xl { display: flex; }
  .lp-final .lp-cta { justify-content: center; }
}
@media (min-width: 700px) and (prefers-color-scheme: dark) {
  .lp-final { background: radial-gradient(70% 90% at 0% 0%, rgba(80, 50, 45, .6), transparent 70%), radial-gradient(70% 90% at 100% 100%, rgba(60, 45, 85, .6), transparent 70%), var(--glass); }
}

/* =========================================================
 * Animations — landing
 * ======================================================= */
.lp-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: var(--accent-grad); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.lp-top { transition: box-shadow .3s, background .3s; }
.lp-top.scrolled { box-shadow: 0 8px 30px rgba(150, 90, 110, .08); }
.lp-hero { position: relative; isolation: isolate; }
.lp-aurora { position: absolute; inset: -60px -40px 0; z-index: -1; pointer-events: none; }
.lp-aurora i { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; mix-blend-mode: multiply; animation: aurora 18s ease-in-out infinite alternate; }
.lp-aurora i:nth-child(1) { width: 380px; height: 380px; left: -80px; top: 20px; background: #FBD3DF; }
.lp-aurora i:nth-child(2) { width: 340px; height: 340px; right: -60px; top: 120px; background: #E7DAFB; animation-duration: 22s; animation-delay: -6s; }
.lp-aurora i:nth-child(3) { width: 300px; height: 300px; left: 30%; bottom: -40px; background: #FDE2CF; animation-duration: 26s; animation-delay: -12s; }
@media (prefers-color-scheme: dark) { .lp-aurora i { mix-blend-mode: screen; opacity: .18; } }
@keyframes aurora { 0% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.08); } 66% { transform: translate(-30px, 25px) scale(.95); } 100% { transform: translate(20px, 10px) scale(1.04); } }
.lp-hearts { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.lp-hearts span { position: absolute; bottom: -30px; color: var(--accent); opacity: 0; animation: lpHeart 11s linear infinite; }
.lp-hearts span:nth-child(1) { left: 6%; animation-delay: 0s; }
.lp-hearts span:nth-child(2) { left: 18%; animation-delay: 3.4s; transform: scale(.7); }
.lp-hearts span:nth-child(3) { left: 32%; animation-delay: 6.8s; }
.lp-hearts span:nth-child(4) { left: 47%; animation-delay: 1.7s; }
.lp-hearts span:nth-child(5) { left: 61%; animation-delay: 8.5s; }
.lp-hearts span:nth-child(6) { left: 74%; animation-delay: 5.1s; }
.lp-hearts span:nth-child(7) { left: 86%; animation-delay: 2.6s; }
.lp-hearts span:nth-child(8) { left: 94%; animation-delay: 9.6s; }
@keyframes lpHeart { 0% { transform: translateY(0) rotate(-10deg) scale(.6); opacity: 0; } 10% { opacity: .5; } 50% { transform: translateY(-45vh) rotate(12deg) scale(.9); opacity: .35; } 100% { transform: translateY(-90vh) rotate(-8deg) scale(1.1); opacity: 0; } }

/* Hero entrance */
.lp h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.lp h1 .ln > * { display: inline-block; animation: lpLine 1s cubic-bezier(.2, .85, .2, 1) both; }
.lp h1 .ln:nth-child(2) > * { animation-delay: .14s; }
@keyframes lpLine { from { transform: translateY(105%) rotate(2deg); opacity: 0; } to { transform: none; opacity: 1; } }
.lp-hero-txt > .lp-badge { animation: lpPop .7s cubic-bezier(.2, .9, .25, 1.2) both; }
.lp-hero-txt > .lead { animation: lpUp .8s .3s cubic-bezier(.2, .85, .2, 1) both; }
.lp-hero-txt > .lp-cta { animation: lpUp .8s .42s cubic-bezier(.2, .85, .2, 1) both; }
.lp-hero-txt > .lp-install { animation: lpUp .8s .52s cubic-bezier(.2, .85, .2, 1) both; }
.lp-hero-txt > .lp-trust { animation: lpUp .8s .6s cubic-bezier(.2, .85, .2, 1) both; }
.lp-stage { animation: lpStage 1.2s .25s cubic-bezier(.2, .85, .2, 1) both; }
@keyframes lpUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lpPop { from { opacity: 0; transform: translateY(8px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes lpStage { from { opacity: 0; transform: translateY(60px) scale(.94); } to { opacity: 1; transform: none; } }
.lp-float.f1 { animation: lpPop .6s 1s cubic-bezier(.2, .9, .25, 1.3) both, floaty2 5s 1.6s ease-in-out infinite; }
.lp-float.f2 { animation: lpPop .6s 1.25s cubic-bezier(.2, .9, .25, 1.3) both, floaty2 5.6s 1.85s ease-in-out infinite; }
.lp-float.f3 { animation: lpPop .6s 1.5s cubic-bezier(.2, .9, .25, 1.3) both, floaty2 6.2s 2.1s ease-in-out infinite; }

/* Parallax (mouse + scroll) */
.lp-stage { --mx: 0; --my: 0; --sy: 0; }
.lp-stage .lp-phone { translate: calc(var(--mx) * -18px) calc(var(--my) * -14px + var(--sy) * -0.06px); transition: translate .25s ease-out; }
@media (min-width: 980px) {
  .lp-stage .lp-phone:not(.back) { translate: calc(-70px + var(--mx) * -22px) calc(var(--my) * -16px + var(--sy) * -0.08px); }
  .lp-stage .lp-phone.back { translate: calc(var(--mx) * 26px) calc(var(--my) * 18px + var(--sy) * -0.16px); transition: translate .35s ease-out; animation: none; }
}

/* Phone screens come alive */
.lp-ph-card span:first-of-type em:not(.on):not(.dot) { animation: lpTick 6s 2.4s ease-in-out infinite; }
@keyframes lpTick { 0%, 40% { background: transparent; border-color: #CDBFC4; transform: scale(1); } 46% { transform: scale(1.3); } 50%, 88% { background: #C94F7C; border-color: transparent; transform: scale(1); } 100% { background: transparent; border-color: #CDBFC4; } }
.lp-ph-hero i { animation: lpBeat 2.4s 2s ease-in-out infinite; }
@keyframes lpBeat { 0%, 70%, 100% { transform: scale(1); } 78% { transform: scale(1.12); } 86% { transform: scale(.97); } }
.lp-screen.chat .lp-bub, .lp-screen.chat .lp-ch-love { animation: lpBubble 10s ease-in-out infinite both; transform-origin: 0 100%; }
.lp-screen.chat .lp-bub.out { transform-origin: 100% 100%; }
.lp-screen.chat .lp-bub:nth-of-type(2) { animation-delay: .2s; }
.lp-screen.chat > :nth-child(5) { animation-delay: 1.2s; }
.lp-screen.chat > :nth-child(6) { animation-delay: 2.2s; }
.lp-screen.chat > :nth-child(7) { animation-delay: 3.2s; }
.lp-screen.chat > :nth-child(8) { animation-delay: 4.2s; }
.lp-screen.chat > :nth-child(9) { animation-delay: 5s; }
@keyframes lpBubble { 0% { opacity: 0; transform: translateY(8px) scale(.85); } 6%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-4px) scale(.98); } }
.lp-ch-head small { animation: blink 1.6s infinite; }

/* Buttons & cards */
.lp .btn:not(.ghost) { position: relative; overflow: hidden; }
.lp .btn:not(.ghost)::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); animation: lpShine 4.5s 2s ease-in-out infinite; }
@keyframes lpShine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.lp-feat { position: relative; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; will-change: transform; }
.lp-feat.tilt { transition: transform .12s ease-out, box-shadow .3s; box-shadow: var(--shadow); }
.lp-feat::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .55), transparent 60%); transition: opacity .3s; }
.lp-feat.tilt::after { opacity: 1; }
@media (prefers-color-scheme: dark) { .lp-feat::after { background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .08), transparent 60%); } }
.lp-feat.in .tile-ico { animation: lpIco .7s cubic-bezier(.2, .9, .25, 1.4) both; animation-delay: inherit; }
.lp-feat:hover .tile-ico { animation: lpWiggle .6s ease; }
@keyframes lpIco { from { transform: scale(.4) rotate(-15deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lpWiggle { 0%, 100% { transform: none; } 25% { transform: rotate(-10deg) scale(1.08); } 60% { transform: rotate(8deg) scale(1.05); } }
.lp-family.in .lp-checks li { animation: lpSlide .6s cubic-bezier(.2, .85, .2, 1) both; animation-delay: var(--d, 0ms); }
@keyframes lpSlide { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.lp-steps li.in::before { animation: lpPop .6s cubic-bezier(.2, .9, .25, 1.4) both; animation-delay: inherit; }
.lp-private.in .lp-lock { animation: lpLock 1s cubic-bezier(.2, .9, .25, 1.3) both; }
@keyframes lpLock { 0% { transform: scale(.5) rotate(-20deg); opacity: 0; } 60% { transform: scale(1.1) rotate(6deg); opacity: 1; } 100% { transform: none; } }
.lp-private.in .lp-pills span { animation: lpPop .5s cubic-bezier(.2, .9, .25, 1.3) both; }
.lp-private.in .lp-pills span:nth-child(2) { animation-delay: .1s; } .lp-private.in .lp-pills span:nth-child(3) { animation-delay: .2s; } .lp-private.in .lp-pills span:nth-child(4) { animation-delay: .3s; }
.lp-final.in .lp-final-ico { animation: beat 1.6s .4s ease-in-out infinite; }
.lp-marquee:hover div { animation-play-state: paused; }
.reveal { transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }

/* =========================================================
 * Animations — appli
 * ======================================================= */
.screen.enter { animation: fadein .25s ease; }
.screen.enter > * { animation: cascade .55s cubic-bezier(.2, .9, .25, 1) both; }
.screen.enter > *:nth-child(2) { animation-delay: .04s; } .screen.enter > *:nth-child(3) { animation-delay: .08s; }
.screen.enter > *:nth-child(4) { animation-delay: .12s; } .screen.enter > *:nth-child(5) { animation-delay: .16s; }
.screen.enter > *:nth-child(6) { animation-delay: .2s; } .screen.enter > *:nth-child(7) { animation-delay: .24s; }
.screen.enter > *:nth-child(8) { animation-delay: .28s; } .screen.enter > *:nth-child(n+9) { animation-delay: .32s; }
@keyframes cascade { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.screen.enter .tiles > * { animation: cascade .55s cubic-bezier(.2, .9, .25, 1) both; }
.screen.enter .tiles > *:nth-child(2) { animation-delay: .32s; } .screen.enter .tiles > *:nth-child(3) { animation-delay: .36s; }
.screen.enter .tiles > *:nth-child(4) { animation-delay: .4s; } .screen.enter .tiles > *:nth-child(n+5) { animation-delay: .44s; }
.nav a.pop .ni { animation: navPop .45s cubic-bezier(.2, .9, .25, 1.5); }
.nav a.pop .ni svg { animation: navIco .5s cubic-bezier(.2, .9, .25, 1.5); }
@keyframes navPop { 0% { transform: scale(.7); background: transparent; } 100% { transform: none; } }
@keyframes navIco { 0% { transform: translateY(4px) scale(.8); } 60% { transform: translateY(-3px) scale(1.1); } 100% { transform: none; } }
.nav .dot { animation: lpPop .4s cubic-bezier(.2, .9, .25, 1.5); }
.msg.fresh { animation: msgIn .42s cubic-bezier(.2, .9, .25, 1.25) both; }
.msg.me.fresh { transform-origin: 100% 100%; }
.msg.them.fresh { transform-origin: 0 100%; }
@keyframes msgIn { from { opacity: 0; transform: translateY(12px) scale(.9); } to { opacity: 1; transform: none; } }
.check.on::after { content: ''; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid var(--accent); animation: ring .5s ease-out forwards; pointer-events: none; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
.card, .tile { transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover, a.card:hover, .card[data-a]:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .btn:hover { box-shadow: 0 12px 26px rgba(201, 79, 124, .32); }
}
.icon-btn:active, .chip:active { transform: scale(.92); }
.toast { animation: drop .45s cubic-bezier(.2, .9, .25, 1.3); }
.empty-ico { animation: floaty2 4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .lp-hearts, .lp-aurora { display: none; }
}

/* =========================================================
 * Logo
 * ======================================================= */
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { height: 100%; width: auto; display: block; }
.logo .logo-d { display: none; }
@media (prefers-color-scheme: dark) { .logo .logo-l { display: none; } .logo .logo-d { display: block; } }
.lp-brand { text-decoration: none; display: inline-flex; }
.lp-logo { height: 34px; transition: transform .3s cubic-bezier(.2, .9, .25, 1.3); }
.lp-brand:hover .lp-logo { transform: scale(1.04) rotate(-1deg); }
@media (min-width: 980px) { .lp-logo { height: 40px; } }
.lp-top .lp-logo { animation: lpPop .7s cubic-bezier(.2, .9, .25, 1.2) both; }
.lp-final-ico { width: 92px !important; height: auto !important; border-radius: 0 !important; filter: drop-shadow(0 12px 22px rgba(201, 79, 124, .3)); }
.lp-foot { flex-direction: column; gap: 10px; }
.lp-foot-logo { height: 26px; opacity: .85; }
.lp-foot span { display: inline-flex; align-items: center; gap: 5px; }
.auth-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth-head .back-link { margin: 0; }
.auth-wm { height: 30px; animation: lpPop .6s cubic-bezier(.2, .9, .25, 1.2) both; }
.app-ico.img { background: none; padding: 0; overflow: hidden; box-shadow: 0 8px 18px rgba(201, 79, 124, .22); }
.app-ico.img img { width: 100%; height: 100%; display: block; }
.boot-logo { width: 72px; height: auto; animation: beat 1.1s ease-in-out infinite; filter: drop-shadow(0 10px 18px rgba(201, 79, 124, .3)); }

/* =========================================================
 * Landing — visite guidée, installation, FAQ
 * ======================================================= */
.lp-tour { display: grid; gap: 22px; margin-top: 14px; }
.lp-tour-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 4px 20px 8px; scroll-snap-type: x mandatory; }
.lp-tour-tabs::-webkit-scrollbar { display: none; }
.lp-tab { position: relative; overflow: hidden; flex: 0 0 auto; scroll-snap-align: start; display: flex; align-items: center; gap: 10px; text-align: left; border: 1px solid var(--glass-border); background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-radius: 20px; padding: 10px 14px 10px 10px; color: var(--ink); font: inherit; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, background .25s; }
.lp-tab .tile-ico { width: 38px; height: 38px; border-radius: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lp-tab b { display: block; font-weight: 800; font-size: 15px; }
.lp-tab small { display: none; color: var(--muted); font-weight: 600; font-size: 13px; line-height: 1.35; }
.lp-tab.on { background: var(--surface); box-shadow: var(--shadow); transform: translateY(-2px); }
.lp-tab-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent-grad); border-radius: 0 3px 3px 0; }
.lp-tab.on .lp-tab-bar { animation: tabBar 5.2s linear forwards; }
@keyframes tabBar { to { width: 100%; } }
.lp-tour-stage { position: relative; display: flex; justify-content: center; padding: 10px 0 20px; }
.lp-tour-stage::before { content: ''; position: absolute; width: 360px; height: 360px; top: 40px; left: 50%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(180, 154, 230, .3), rgba(226, 117, 150, .18) 55%, transparent 70%); filter: blur(10px); }
.lp-tour-phone { transform: none !important; animation: none !important; translate: none !important; }
.lp-tour-screen { transition: opacity .22s ease, transform .22s ease; }
.lp-tour-screen.out { opacity: 0; transform: translateY(10px) scale(.98); }
.lp-tour-screen.in-scr > * { animation: cascade .5s cubic-bezier(.2, .9, .25, 1) both; }
.lp-tour-screen.in-scr > *:nth-child(2) { animation-delay: .04s; } .lp-tour-screen.in-scr > *:nth-child(3) { animation-delay: .08s; }
.lp-tour-screen.in-scr > *:nth-child(4) { animation-delay: .12s; } .lp-tour-screen.in-scr > *:nth-child(5) { animation-delay: .16s; }
.lp-tour-screen.in-scr > *:nth-child(6) { animation-delay: .2s; } .lp-tour-screen.in-scr > *:nth-child(n+7) { animation-delay: .24s; }
.lp-tour-screen .lp-bub, .lp-tour-screen .lp-ch-love { animation: none; }
.lp-scr-title { font-family: var(--serif); font-variation-settings: 'SOFT' 100; font-size: 22px; padding: 2px 4px; }
.lp-scr-title small { font-family: var(--sans); font-size: 10px; font-weight: 800; color: #B0632E; background: #FCEBDD; padding: 2px 7px; border-radius: 8px; vertical-align: middle; }
.lp-scr-seg { display: flex; gap: 4px; background: rgba(255, 255, 255, .7); border-radius: 12px; padding: 3px; }
.lp-scr-seg i { flex: 1; text-align: center; font-style: normal; font-size: 9.5px; font-weight: 800; padding: 5px 0; border-radius: 9px; color: #8E8186; }
.lp-scr-seg i.on { background: #fff; color: #9D3460; box-shadow: 0 2px 6px rgba(150, 90, 110, .1); }
.lp-task { flex-direction: row; align-items: center; justify-content: space-between; }
.lp-mini-av { width: 20px; height: 20px; border-radius: 10px; display: flex !important; align-items: center; justify-content: center; font-size: 9px !important; }
.lp-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; background: rgba(255, 255, 255, .8); border-radius: 14px; padding: 6px; }
.lp-week span { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 11px; font-weight: 800; padding: 4px 0; border-radius: 9px; position: relative; }
.lp-week small { font-size: 8px; color: #A0929A; }
.lp-week span.on { background: linear-gradient(135deg, #E27596, #C94F7C); color: #fff; }
.lp-week span.on small { color: rgba(255, 255, 255, .8); }
.lp-week i { width: 4px; height: 4px; border-radius: 2px; background: #C94F7C; }
.lp-week span.on i { background: #fff; }
.lp-ev { display: flex; gap: 8px; align-items: stretch; background: rgba(255, 255, 255, .88); border-radius: 14px; padding: 8px 10px; font-size: 10.5px; box-shadow: 0 2px 8px rgba(150, 90, 110, .08); border-left: 3px solid var(--c); }
.lp-ev b { font-size: 10px; color: var(--c); min-width: 32px; }
.lp-ev span { font-weight: 800; display: flex; flex-direction: column; }
.lp-ev small { font-weight: 600; color: #8E8186; font-size: 9px; }
.lp-inst { display: grid; gap: 12px; margin-top: 16px; }
.lp-inst-card { border-radius: 26px; padding: 20px; background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.lp-inst-card b { font-size: 18px; font-weight: 800; }
.lp-inst-card ol { margin: 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 8px; }
.lp-inst-card li { counter-increment: st; display: flex; gap: 10px; align-items: baseline; font-weight: 600; color: var(--ink-2); font-size: 14.5px; }
.lp-inst-card li::before { content: counter(st); flex-shrink: 0; width: 22px; height: 22px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 800; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; transform: translateY(-1px); }
.lp-inst-ico { width: 48px; height: 48px; border-radius: 16px; background: var(--accent-grad); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 22px rgba(201, 79, 124, .28); }
.lp-inst-card.in .lp-inst-ico { animation: lpIco .7s cubic-bezier(.2, .9, .25, 1.4) both; }
.lp-faq { display: grid; gap: 10px; margin-top: 14px; max-width: 820px; width: 100%; margin-left: auto; margin-right: auto; }
.lp-q { border-radius: 22px; background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .3s, opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.lp-q[open] { box-shadow: var(--shadow); background: var(--glass-strong); }
.lp-q summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; font-weight: 800; font-size: 16px; }
.lp-q summary::-webkit-details-marker { display: none; }
.lp-q summary i { width: 32px; height: 32px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .35s cubic-bezier(.2, .9, .25, 1.3), background .3s; }
.lp-q[open] summary i { transform: rotate(135deg); background: var(--accent); color: #fff; }
.lp-q p { margin: 0; padding: 0 20px 20px; color: var(--muted); font-weight: 600; line-height: 1.6; animation: lpUp .4s ease both; }
@media (min-width: 700px) {
  .lp-inst { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .lp-tour-tabs { margin: 0; padding: 4px 0 8px; justify-content: center; flex-wrap: wrap; }
}
@media (min-width: 980px) {
  .lp-tour { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
  .lp-tour-tabs { flex-direction: column; flex-wrap: nowrap; overflow: visible; gap: 12px; }
  .lp-tab { padding: 16px 18px 16px 14px; border-radius: 24px; }
  .lp-tab small { display: block; }
  .lp-tab:hover { transform: translateY(-2px); }
  .lp-tab.on { transform: translateX(8px); }
  .lp-tour-phone { width: 280px; height: 570px; }
  .lp-tour-stage::before { width: 480px; height: 480px; top: 50px; }
}
.tile-ico.warn { background: var(--warn-soft); color: var(--warn); }

/* =========================================================
 * Page d'accueil — version sobre (éditoriale, sans effets)
 * ======================================================= */
.hx { --hx-bg: #FAF6F2; --hx-paper: #FFFFFF; --hx-line: #ECE2DC; --hx-ink: #2A2024; --hx-ink2: #54474C; --hx-muted: #7A6D72; --hx-accent: #B8285F; --hx-soft: #F4ECE7; background: var(--hx-bg); color: var(--hx-ink); }
@media (prefers-color-scheme: dark) { .hx { --hx-bg: #1A1518; --hx-paper: #241D21; --hx-line: #3A3035; --hx-ink: #F4ECEE; --hx-ink2: #DCCFD4; --hx-muted: #B3A4AA; --hx-accent: #F08AAB; --hx-soft: #221B1F; } }
html.is-lp body { background: var(--hx-bg, #FAF6F2); background-image: none; }
.hx .lp-top { background: var(--hx-bg); border-bottom: 1px solid transparent; transition: border-color .2s; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hx .lp-top.scrolled { border-bottom-color: var(--hx-line); box-shadow: none; }
.hx .lp-top .lp-logo, .hx .auth-wm { animation: none; }
.hx .lp-nav button { color: var(--hx-ink2); border-radius: 8px; }
.hx .lp-nav button:hover { background: none; color: var(--hx-accent); text-decoration: underline; text-underline-offset: 6px; }
.hx .btn { background: var(--hx-accent); box-shadow: none; border-radius: 12px; min-height: 50px; font-weight: 800; }
.hx .btn:hover { filter: brightness(1.06); box-shadow: none; transform: none; }
.hx .btn.ghost { background: transparent; color: var(--hx-ink); border: 1.5px solid var(--hx-line); }
.hx .btn.ghost:hover { border-color: var(--hx-ink2); filter: none; }
.hx .btn.sm { min-height: 40px; border-radius: 10px; }
.hx .btn::after { display: none !important; }
.hx h1, .hx h2, .hx h3 { font-family: var(--serif); font-variation-settings: 'SOFT' 50; font-weight: 400; letter-spacing: -.015em; color: var(--hx-ink); margin: 0; }
.hx-hero { display: flex; flex-direction: column; gap: 34px; padding: 34px 0 20px; }
.hx-kicker { margin: 0 0 10px; font-weight: 800; font-size: 14px; color: var(--hx-accent); }
.hx-hero h1 { font-size: clamp(38px, 10vw, 72px); line-height: 1.04; }
.hx-mark { position: relative; white-space: nowrap; display: inline-block; }
.hx-scribble { position: absolute; left: -2%; right: -2%; bottom: -.1em; width: 104%; height: .32em; color: var(--hx-accent); opacity: .85; }
.hx-scribble path { stroke-dasharray: 340; stroke-dashoffset: 340; animation: hxDraw 1.1s .5s ease-out forwards; }
@keyframes hxDraw { to { stroke-dashoffset: 0; } }
.hx-lead { margin: 18px 0 0; font-size: 18px; line-height: 1.6; color: var(--hx-ink2); font-weight: 600; max-width: 36em; }
.hx-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.hx-cta .btn { flex: 1 1 200px; max-width: 280px; }
.hx-note { margin: 18px 0 0; font-size: 14px; color: var(--hx-muted); font-weight: 600; line-height: 1.6; }
.hx-link { border: 0; background: none; padding: 0; font: inherit; color: var(--hx-accent); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hx-stage { display: flex; justify-content: center; }
.hx .lp-phone { transform: none; animation: none; translate: none; box-shadow: 0 30px 60px rgba(60, 30, 40, .16), inset 0 0 0 2px #4A3F43; }
.hx .lp-screen { background: #FBF5F2; }
.hx .lp-ph-card span:first-of-type em:not(.on):not(.dot), .hx .lp-ph-hero i { animation: none; }
.hx-sec { padding: 64px 0 0; }
.hx-head { margin-bottom: 26px; max-width: 40em; }
.hx-head h2, .hx-sec > h2 { font-size: clamp(30px, 7vw, 44px); line-height: 1.1; }
.hx-head p, .hx-sec > p { margin: 10px 0 0; color: var(--hx-muted); font-weight: 600; font-size: 16.5px; line-height: 1.6; }
.hx-grid { display: grid; gap: 0; border-top: 1px solid var(--hx-line); }
.hx-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--hx-line); }
.hx-item > svg { flex-shrink: 0; color: var(--hx-accent); margin-top: 3px; }
.hx-item h3 { font-size: 22px; margin-bottom: 4px; }
.hx-item p { margin: 0; color: var(--hx-ink2); font-weight: 600; line-height: 1.55; }
.hx .lp-tour { margin-top: 0; }
.hx .lp-tab { background: transparent; border: 0; border-left: 3px solid var(--hx-line); border-radius: 0; box-shadow: none; padding: 12px 16px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hx .lp-tab.on { background: transparent; border-left-color: var(--hx-accent); box-shadow: none; transform: none; }
.hx .lp-tab b { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.hx .lp-tab-bar { display: none; }
.hx .lp-tour-stage::before { display: none; }
.hx .lp-tour-tabs { margin: 0; padding: 0; }
.hx-band { margin: 64px -20px 0; padding: 56px 20px; background: var(--hx-soft); }
.hx-split { display: grid; gap: 26px; }
.hx-split p { color: var(--hx-ink2); font-weight: 600; line-height: 1.65; margin: 12px 0 0; }
.hx-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hx-line); }
.hx-list li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--hx-line); font-weight: 700; position: relative; }
.hx-list li::before { content: ''; position: absolute; left: 4px; top: 21px; width: 10px; height: 2px; background: var(--hx-accent); }
.hx-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--hx-line); }
.hx-steps li { display: grid; grid-template-columns: 54px 1fr; column-gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--hx-line); }
.hx-steps span { grid-row: span 2; font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--hx-accent); }
.hx-steps h3 { font-size: 22px; }
.hx-steps p { margin: 4px 0 0; color: var(--hx-ink2); font-weight: 600; line-height: 1.55; }
.hx-cols { display: grid; gap: 26px; }
.hx-cols h3 { font-size: 22px; margin-bottom: 10px; }
.hx-cols ol { margin: 0; padding-left: 20px; color: var(--hx-ink2); font-weight: 600; line-height: 1.7; }
.hx .lp-faq { margin: 0; max-width: none; gap: 0; border-top: 1px solid var(--hx-line); }
.hx .lp-q { background: transparent; border: 0; border-bottom: 1px solid var(--hx-line); border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hx .lp-q[open] { background: transparent; box-shadow: none; }
.hx .lp-q summary { padding: 20px 0; font-size: 17px; }
.hx .lp-q summary i { background: none; color: var(--hx-accent); width: 24px; height: 24px; }
.hx .lp-q[open] summary i { background: none; color: var(--hx-accent); transform: rotate(45deg); }
.hx .lp-q p { padding: 0 0 22px; color: var(--hx-ink2); max-width: 46em; animation: none; }
.hx-end { text-align: left; padding-bottom: 20px; }
.hx-end .hx-cta { margin-top: 20px; }
.hx-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 64px; padding: 28px 0 10px; border-top: 1px solid var(--hx-line); color: var(--hx-muted); font-weight: 700; font-size: 14px; }
.hx .reveal { transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
.hx .reveal.in { transform: none; }
@media (min-width: 700px) {
  .hx-grid { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .hx-steps { grid-template-columns: repeat(3, 1fr); column-gap: 32px; border-top: 0; }
  .hx-steps li { border-top: 1px solid var(--hx-line); border-bottom: 0; }
  .hx-cols { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .hx-band { margin-left: -32px; margin-right: -32px; padding-left: 32px; padding-right: 32px; }
  .hx-sec, .hx-hero, .hx-foot { max-width: 1120px; margin-left: auto; margin-right: auto; }
  .hx-band { max-width: none; }
  .hx-band > .hx-split { max-width: 1120px; margin: 0 auto; }
}
@media (min-width: 980px) {
  .hx-hero { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; padding: 56px 0 30px; min-height: auto; }
  .hx-hero h1 { font-size: clamp(54px, 5.6vw, 76px); }
  .hx-lead { font-size: 19px; }
  .hx .lp-phone { width: 280px; height: 570px; }
  .hx-split { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
  .hx-sec { padding-top: 96px; }
  .hx-band { margin-top: 96px; padding-top: 80px; padding-bottom: 80px; }
  .hx .lp-tour { grid-template-columns: .9fr 1.1fr; gap: 56px; }
  .hx .lp-tab.on { transform: none; }
  .hx-end h2 { font-size: 52px; }
}
@media (prefers-reduced-motion: reduce) { .hx-scribble path { stroke-dashoffset: 0; animation: none; } }
.hx h2, .hx .hx-split h2 { text-align: left; }
.hx-split h2 { font-size: clamp(30px, 7vw, 44px); line-height: 1.1; }
@media (min-width: 980px) { .hx-hero h1 { font-size: clamp(50px, 4.6vw, 66px); } }

/* =========================================================
 * Page d'accueil v3 — « nx »
 * ======================================================= */
.nx {
  --nx-paper: #FFFFFF; --nx-mist: #F1F4F2; --nx-line: #E2E6E3; --nx-ink: #221A26; --nx-ink2: #4A4150; --nx-muted: #6F6675;
  --nx-euca: #B5476F; --nx-euca-soft: #FBE3EC; --nx-rasp: #C2185B; --nx-rasp-dark: #A0124A; --nx-dark: #241B29; --nx-peach: #FFD8C5;
  --nx-sans: 'Figtree', 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nx-serif: 'Fraunces', Georgia, serif;
  padding: 0 !important; background: var(--nx-paper); color: var(--nx-ink); font-family: var(--nx-sans); font-size: 17px; line-height: 1.55;
}
@media (prefers-color-scheme: dark) {
  .nx { --nx-paper: #15121A; --nx-mist: #1C1822; --nx-line: #2E2934; --nx-ink: #F2EDF3; --nx-ink2: #D3CBD6; --nx-muted: #A79EAD; --nx-euca: #2C7A6C; --nx-euca-soft: #1D2B28; --nx-rasp: #E0457F; --nx-rasp-dark: #C7346B; --nx-dark: #0F0C12; }
}
html.is-lp body { background: #FFFFFF; }
@media (prefers-color-scheme: dark) { html.is-lp body { background: #15121A; } }
html.nx-lock { overscroll-behavior: none; }
.nx.menu-open .nx-header { position: fixed; left: 0; right: 0; top: 0; }
.nx h1, .nx h2, .nx h3, .nx h4 { margin: 0; color: var(--nx-ink); font-family: var(--nx-serif); font-weight: 500; font-variation-settings: 'SOFT' 0, 'WONK' 0; letter-spacing: -.02em; text-align: left; }
.nx p { margin: 0; }
.nx-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.nx :focus-visible { outline: 3px solid var(--nx-rasp); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.nx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--nx-rasp); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: background .2s, border-color .2s, color .2s; white-space: nowrap; }
.nx-btn:hover { background: var(--nx-rasp-dark); }
.nx-btn.big { min-height: 54px; padding: 0 26px; font-size: 16.5px; }
.nx-btn.ghost { background: transparent; color: var(--nx-ink); border-color: var(--nx-line); }
.nx-btn.ghost:hover { border-color: var(--nx-ink); background: transparent; }
.nx-btn.ghost.light { color: #fff; border-color: rgba(255, 255, 255, .3); }
.nx-btn.ghost.light:hover { border-color: #fff; }

/* Header */
.nx .nx-header { position: sticky; top: 0; z-index: 50; margin: 0 !important; padding: 0 !important; background: var(--nx-paper); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nx .nx-header.scrolled { border-bottom-color: var(--nx-line); box-shadow: 0 6px 24px rgba(34, 26, 38, .05); }
.nx-bar { max-width: 1180px; margin: 0 auto; padding: calc(var(--safe-top) + 12px) 24px 12px; display: flex; align-items: center; gap: 24px; min-height: 72px; }
.nx-brand { display: inline-flex; text-decoration: none; flex-shrink: 0; }
.nx-logo { height: 34px; }
.nx-nav { display: none; gap: 2px; margin: 0 auto; }
.nx-nav button { border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--nx-ink2); padding: 10px 12px; border-radius: 10px; cursor: pointer; transition: color .15s, background .15s; }
.nx-nav button:hover { color: var(--nx-ink); background: var(--nx-mist); }
.nx-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nx-login { display: none; color: var(--nx-ink); font-weight: 700; font-size: 15px; text-decoration: none; padding: 10px 12px; border-radius: 10px; }
.nx-login:hover { background: var(--nx-mist); }
.nx-actions .nx-btn { display: none; }
.nx-burger { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--nx-line); background: var(--nx-paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.nx-burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--nx-ink); transition: transform .25s ease; }
.nx.menu-open .nx-burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nx.menu-open .nx-burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nx-drawer { display: none; }
.nx.menu-open .nx-drawer { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; position: fixed; left: 0; right: 0; top: calc(var(--safe-top) + 72px); bottom: 0; background: var(--nx-paper); padding: 16px 24px calc(var(--safe-bottom) + 24px); overflow-y: auto; animation: nxDrop .25s ease; border-top: 1px solid var(--nx-line); }
@keyframes nxDrop { from { opacity: 0; transform: translateY(-8px); } }
.nx-drawer nav { display: flex; flex-direction: column; }
.nx-drawer nav button { border: 0; border-bottom: 1px solid var(--nx-line); background: none; text-align: left; font-family: var(--nx-serif); font-size: 26px; font-weight: 500; color: var(--nx-ink); padding: 16px 0; cursor: pointer; }
.nx-drawer-cta { display: grid; gap: 10px; }

/* Hero */
.nx-hero { max-width: 1180px; margin: 0 auto; padding: 28px 24px 40px; display: grid; gap: 40px; }
.nx-hero h1 { font-size: clamp(46px, 12vw, 84px); line-height: .98; font-weight: 500; letter-spacing: -.022em; max-width: 9em; }
.nx-tag { margin: 18px 0 0 !important; }
.nx-tag span { display: inline-block; background: var(--nx-rasp); color: #fff; font-family: var(--nx-serif); font-weight: 600; font-size: clamp(22px, 5.4vw, 30px); line-height: 1.1; padding: 8px 18px 10px; border-radius: 14px; transform: rotate(-2deg); transform-origin: left center; box-shadow: 0 12px 26px -14px rgba(160, 18, 74, .7); }
.nx-lead { margin-top: 26px !important; font-size: 18.5px; line-height: 1.6; color: var(--nx-ink2); max-width: 34em; }
.nx-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.nx-facts { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nx-facts li { font-size: 14px; font-weight: 600; color: var(--nx-ink2); padding: 7px 12px; border-radius: 999px; background: var(--nx-mist); }
.nx-visual { position: relative; display: flex; justify-content: center; padding: 34px 0 30px; }
.nx-panel { position: absolute; inset: 0 0 0 0; border-radius: 32px; background: var(--nx-euca); }
.nx-panel::after { content: ''; position: absolute; right: 26px; bottom: 26px; width: 90px; height: 90px; border-radius: 50%; background: var(--nx-peach); opacity: .9; }
.nx .nx-phone { position: relative; z-index: 1; transform: none !important; animation: none !important; translate: none !important; width: 250px; height: 500px; box-shadow: 0 30px 60px rgba(10, 30, 26, .35), inset 0 0 0 2px #4A3F43; }
.nx .lp-screen { background: #FBF5F2; }
.nx .lp-ph-card span:first-of-type em:not(.on):not(.dot), .nx .lp-ph-hero i { animation: none; }
.nx-notifs { position: absolute; z-index: 2; right: 10px; top: 14px; display: grid; gap: 8px; width: min(270px, 70%); }
.nx-notif { display: flex; gap: 10px; align-items: center; background: rgba(255, 255, 255, .97); color: #221A26; border-radius: 16px; padding: 10px 12px; box-shadow: 0 12px 30px rgba(10, 30, 26, .22); font-size: 13px; line-height: 1.3; opacity: 0; transform: translateY(-10px); animation: nxNotif .5s cubic-bezier(.2, .8, .2, 1) forwards; }
.nx-notif img { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; }
.nx-notif div { min-width: 0; flex: 1; }
.nx-notif b { display: block; font-weight: 700; }
.nx-notif span { color: #5A5060; }
.nx-notif small { align-self: flex-start; font-size: 11px; color: #8A8090; white-space: nowrap; }
.nx-notif.n1 { animation-delay: .6s; } .nx-notif.n2 { animation-delay: 1.2s; } .nx-notif.n3 { animation-delay: 1.8s; }
@keyframes nxNotif { to { opacity: 1; transform: none; } }

/* Sections */
.nx-sec { padding: 72px 0; }
.nx-sec h2 { font-size: clamp(30px, 6.4vw, 46px); line-height: 1.08; max-width: 18em; }
.nx-intro { margin-top: 12px !important; color: var(--nx-muted); font-size: 17.5px; max-width: 36em; }
.nx-mist { background: var(--nx-mist); }
.nx-day { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; position: relative; }
.nx-day li { position: relative; padding: 0 0 30px 34px; border-left: 2px solid var(--nx-line); margin-left: 7px; }
.nx-day li:last-child { padding-bottom: 0; border-left-color: transparent; }
.nx-day li::before { content: ''; position: absolute; left: -9px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--nx-paper); border: 3px solid var(--nx-euca); }
.nx-day time { display: block; font-family: var(--nx-serif); font-size: 28px; line-height: 1; color: var(--nx-euca); font-variant-numeric: tabular-nums; }
.nx-day h3 { font-family: var(--nx-sans); font-size: 17px; font-weight: 700; margin-top: 8px; letter-spacing: 0; }
.nx-day p { color: var(--nx-ink2); margin-top: 4px !important; max-width: 26em; }
.nx-cols { display: grid; gap: 36px; margin-top: 40px; }
.nx-col h3 { font-size: 26px; padding-bottom: 14px; border-bottom: 2px solid var(--nx-ink); }
.nx-col ul { list-style: none; margin: 0; padding: 0; }
.nx-col li { padding: 14px 0; border-bottom: 1px solid var(--nx-line); }
.nx-col li b { display: block; font-weight: 700; font-size: 16.5px; }
.nx-col li span { color: var(--nx-muted); font-size: 15.5px; }
.nx-split { display: grid; gap: 40px; align-items: center; }
.nx-split-txt p { margin-top: 16px !important; color: var(--nx-ink2); max-width: 34em; }
.nx-split-visual { display: flex; justify-content: center; padding: 30px 0; background: var(--nx-euca-soft); border-radius: 32px; }
.nx .nx-phone.sm { width: 240px; height: 480px; box-shadow: 0 24px 50px rgba(10, 30, 26, .18), inset 0 0 0 2px #4A3F43; }
.nx-table { width: 100%; max-width: 460px; margin-top: 26px; border-collapse: collapse; font-size: 15.5px; }
.nx-table th { text-align: center; font-weight: 700; font-size: 14px; color: var(--nx-muted); padding: 8px; }
.nx-table td { padding: 11px 8px; border-top: 1px solid var(--nx-line); text-align: center; color: var(--nx-euca); }
.nx-table td:first-child { text-align: left; color: var(--nx-ink); font-weight: 600; padding-left: 0; }
.nx-no { color: var(--nx-muted); }
.nx-dark { background: var(--nx-dark); color: #EDE6EF; }
.nx-dark h2, .nx-dark h3 { color: #fff; }
.nx-trio { display: grid; gap: 30px; margin-top: 40px; }
.nx-trio h3 { font-family: var(--nx-sans); font-size: 18px; font-weight: 700; letter-spacing: 0; }
.nx-trio p { margin-top: 8px !important; color: #C9BFCC; max-width: 30em; }
.nx-trio > div { padding-top: 18px; border-top: 2px solid var(--nx-rasp); }
.nx-inst { background: var(--nx-paper); border: 1px solid var(--nx-line); border-radius: 24px; padding: 22px; }
.nx-tabs { display: flex; gap: 4px; padding: 4px; background: var(--nx-mist); border-radius: 999px; }
.nx-tabs button { flex: 1; border: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--nx-muted); padding: 10px 8px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.nx-tabs button.on { background: var(--nx-paper); color: var(--nx-ink); box-shadow: 0 2px 8px rgba(34, 26, 38, .08); }
.nx-steps { list-style: none; margin: 22px 0 0; padding: 0; counter-reset: s; display: grid; gap: 16px; }
.nx-steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; align-items: baseline; color: var(--nx-ink2); font-weight: 500; }
.nx-steps li::before { content: counter(s); font-family: var(--nx-serif); font-size: 30px; line-height: 1; color: var(--nx-rasp); }
.nx-faq-wrap { max-width: 860px; }
.nx-faq { margin-top: 30px; border-top: 1px solid var(--nx-line); }
.nx-faq details { border-bottom: 1px solid var(--nx-line); }
.nx-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 0; font-weight: 700; font-size: 17px; }
.nx-faq summary::-webkit-details-marker { display: none; }
.nx-faq summary i { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.nx-faq summary i::before, .nx-faq summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 2px; background: var(--nx-ink); transition: transform .25s ease; }
.nx-faq summary i::after { transform: rotate(90deg); }
.nx-faq details[open] summary i::after { transform: rotate(0); }
.nx-faq details p { padding: 0 0 22px; color: var(--nx-ink2); max-width: 44em; }

/* Footer */
.nx-footer { background: var(--nx-dark); color: #CFC6D3; padding: 72px 0 calc(var(--safe-bottom) + 28px); }
.nx-footer h2 { color: #fff; font-size: clamp(30px, 6vw, 44px); line-height: 1.1; }
.nx-foot-cta { padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.nx-foot-cta p { margin-top: 10px !important; color: #CFC6D3; }
.nx-foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; padding: 48px 0; }
.nx-foot-brand { grid-column: 1 / -1; }
.nx-foot-logo { height: 32px; }
.nx-foot-brand p { margin-top: 12px !important; max-width: 22em; }
.force-light .logo-l { display: none !important; }
.force-light .logo-d { display: block !important; }
.nx-footer h4 { font-family: var(--nx-sans); font-size: 14px; font-weight: 700; color: #fff; letter-spacing: 0; margin-bottom: 12px; }
.nx-footer a, .nx-footer .nx-foot-grid button { display: block; border: 0; background: none; padding: 5px 0; font: inherit; font-size: 15px; color: #CFC6D3; text-decoration: none; cursor: pointer; text-align: left; }
.nx-footer a:hover, .nx-footer .nx-foot-grid button:hover { color: #fff; }
.nx-footer .nx-btn { display: inline-flex; color: #fff; }
.nx-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: #A399A8; }

@media (min-width: 600px) {
  .nx-login { display: inline-flex; }
  .nx-actions .nx-btn { display: inline-flex; }
}
@media (min-width: 760px) {
  .nx-day { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .nx-day li { padding: 34px 0 0; border-left: 0; border-top: 2px solid var(--nx-line); margin-left: 0; }
  .nx-day li:last-child { border-top-color: var(--nx-line); }
  .nx-day li::before { left: 0; top: -9px; }
  .nx-cols { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .nx-trio { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .nx-foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .nx-foot-brand { grid-column: auto; }
  .nx-foot-cta { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
  .nx-foot-cta .nx-cta { margin-top: 0; }
}
@media (min-width: 1040px) {
  .nx-hero { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; padding: 56px 24px 72px; }
  .nx-hero h1 { font-size: clamp(68px, 6.4vw, 92px); }
  .nx-visual { padding: 56px 0; }
  .nx .nx-phone { width: 270px; height: 545px; }
  .nx-notifs { right: -18px; top: 30px; }
  .nx-sec { padding: 104px 0; }
  .nx-split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .nx-split.rev { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .nx-notif { animation: none; opacity: 1; transform: none; } .nx.menu-open .nx-drawer { animation: none; } }
.nx-footer a.nx-btn { display: inline-flex; padding: 0 26px; background: var(--nx-rasp); color: #fff; font-size: 16.5px; font-weight: 700; border-radius: 999px; }
.nx-footer a.nx-btn:hover { background: var(--nx-rasp-dark); color: #fff; }
.nx-footer a.nx-btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .3); }
.nx-footer a.nx-btn.ghost:hover { border-color: #fff; background: transparent; }
.nx-faq-wrap { max-width: 1180px; }
.nx-faq { max-width: 860px; }
@media (max-width: 599px) {
  .nx-notifs { width: 64%; right: 8px; top: 10px; gap: 6px; }
  .nx-notif { padding: 8px 10px; font-size: 12px; }
  .nx-notif img { width: 26px; height: 26px; }
  .nx-notif small { display: none; }
  .nx-notif.n3 { display: none; }
  .nx-visual { padding-top: 70px; }
}
@media (min-width: 1040px) { .nx-notifs { right: -36px; } }
.nx-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--nx-ink); color: var(--nx-paper); padding: 10px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.nx-skip:focus { top: 12px; }
#nx-main:focus { outline: none; }
/* Header : pleine largeur, liseré, bouton de connexion */
.nx .nx-header { display: block; border-bottom: 1px solid var(--nx-line); }
.nx .nx-header.scrolled { border-bottom-color: var(--nx-line); box-shadow: 0 8px 24px rgba(34, 26, 38, .06); }
.nx-bar { width: 100%; box-sizing: border-box; }
.nx-login { align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 14px; border-radius: 999px; border: 1.5px solid var(--nx-line); background: var(--nx-paper); color: var(--nx-ink); font-weight: 700; transition: border-color .2s, background .2s; }
.nx-login svg { color: var(--nx-euca); }
.nx-login:hover { background: var(--nx-paper); border-color: var(--nx-ink); }
.nx-nav button:focus-visible, .nx-login:focus-visible, .nx-btn:focus-visible { outline: 2px solid var(--nx-euca); outline-offset: 2px; }
.nx-nav button:focus:not(:focus-visible) { outline: none; }
.nx-notifs { width: min(300px, 74%); }

/* Bento des fonctionnalités */
.nx-bento { display: grid; gap: 14px; margin-top: 40px; }
.nx-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 240px; padding: 24px; border-radius: 24px; background: var(--nx-paper); border: 1px solid var(--nx-line); }
.nx-tile h3 { font-size: 24px; line-height: 1.15; }
.nx-tile p { margin-top: 6px !important; color: var(--nx-muted); font-size: 15.5px; line-height: 1.5; max-width: 30em; }
.nx-tile.t-chat { background: var(--nx-dark); border-color: transparent; }
.nx-tile.t-chat h3 { color: #fff; } .nx-tile.t-chat p { color: #C9BFCC; }
.nx-tile.t-heart { background: var(--nx-rasp); border-color: transparent; }
.nx-tile.t-heart h3 { color: #fff; } .nx-tile.t-heart p { color: rgba(255, 255, 255, .82); }
.nx-tile.t-list { background: #FFEDE4; border-color: transparent; }
.nx-tile.t-kids { background: var(--nx-euca-soft); border-color: transparent; }
.nx-tile.t-budget { background: var(--nx-euca); border-color: transparent; }
.nx-tile.t-budget h3 { color: #fff; } .nx-tile.t-budget p { color: rgba(255, 255, 255, .78); }
@media (prefers-color-scheme: dark) { .nx-tile.t-list { background: #2C211E; } .nx-tile.t-chat { background: #251D2B; } }
.nx-mini { font-size: 14px; }
.nx-mini.talk { display: flex; flex-direction: column; gap: 8px; }
.nx-mini.talk .b { max-width: 78%; padding: 10px 14px; border-radius: 18px; font-weight: 500; }
.nx-mini.talk .in { align-self: flex-start; background: rgba(255, 255, 255, .1); color: #fff; border-bottom-left-radius: 6px; }
.nx-mini.talk .out { align-self: flex-end; background: var(--nx-rasp); color: #fff; border-bottom-right-radius: 6px; }
.nx-mini.talk .voice { display: flex; align-items: center; gap: 10px; width: 56%; }
.nx-mini.talk .voice i { width: 26px; height: 26px; border-radius: 13px; background: #fff; color: var(--nx-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nx-mini.talk .voice em { flex: 1; height: 16px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .7) 0 2px, transparent 2px 5px); -webkit-mask: linear-gradient(0deg, #000 25%, transparent 25% 75%, #000 75%), linear-gradient(#000, #000); }
.nx-mini.talk .voice small { color: #C9BFCC; font-size: 12px; }
.nx-mini.heart { display: flex; justify-content: flex-start; }
.nx-mini.heart .pulse { width: 74px; height: 74px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 0 rgba(255, 255, 255, .35); animation: nxPulse 2.6s ease-out infinite; }
@keyframes nxPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .4); } 70% { box-shadow: 0 0 0 22px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.nx-mini.list { display: grid; gap: 8px; }
.nx-mini.list span { display: flex; align-items: center; gap: 10px; background: var(--nx-paper); border: 1px solid var(--nx-line); border-radius: 12px; padding: 9px 12px; font-weight: 600; }
.nx-tile.t-list .nx-mini.list span { border-color: transparent; }
.nx-mini.list.compact { grid-template-columns: 1fr 1fr; }
.nx-mini.list em { width: 18px; height: 18px; border-radius: 9px; border: 2px solid #CFC6CC; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.nx-mini.list .done em { background: var(--nx-euca); border-color: var(--nx-euca); }
.nx-mini.list .done { color: var(--nx-muted); text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .25); }
.nx-mini.list b { margin-left: auto; width: 22px; height: 22px; border-radius: 11px; background: #FBE6EE; color: #B0245E; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.nx-mini.list b.m { background: #E6EBF8; color: #4A6094; }
.nx-mini.agenda { display: grid; gap: 8px; }
.nx-mini.agenda .wk { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.nx-mini.agenda .wk span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 0; border-radius: 12px; font-weight: 700; background: var(--nx-mist); }
.nx-mini.agenda .wk small { font-size: 11px; color: var(--nx-muted); font-weight: 600; }
.nx-mini.agenda .wk span.on { background: var(--nx-ink); color: var(--nx-paper); }
.nx-mini.agenda .wk span.on small { color: inherit; opacity: .7; }
.nx-mini.agenda .wk i { width: 5px; height: 5px; border-radius: 3px; background: var(--nx-rasp); }
.nx-mini.agenda .ev { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--nx-mist); border-left: 4px solid var(--c); font-weight: 600; }
.nx-mini.agenda .ev b { color: var(--c); min-width: 42px; }
.nx-mini.kid { display: grid; gap: 6px; }
.nx-mini.kid b { font-family: var(--nx-serif); font-weight: 500; font-size: 20px; }
.nx-mini.kid span { background: rgba(255, 255, 255, .75); border-radius: 10px; padding: 8px 12px; font-weight: 600; }
@media (prefers-color-scheme: dark) { .nx-mini.kid span { background: rgba(255, 255, 255, .06); } }
.nx-mini.budget small { display: block; color: rgba(255, 255, 255, .78); font-size: 14px; font-weight: 600; }
.nx-mini.budget strong { font-family: var(--nx-serif); font-weight: 500; font-size: 52px; line-height: 1; color: #fff; letter-spacing: -.02em; }
.nx-mini.q { font-family: var(--nx-serif); font-size: 24px; line-height: 1.25; color: var(--nx-ink); max-width: 18em; }
@media (min-width: 700px) {
  .nx-bento { grid-template-columns: repeat(2, 1fr); }
  .nx-tile.span2 { grid-column: span 2; }
}
@media (min-width: 1040px) {
  .nx-bento { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .nx-tile.t-budget, .nx-tile.t-question { grid-column: span 2; }
  .nx-tile.t-budget, .nx-tile.t-question { flex-direction: row; align-items: flex-end; min-height: 200px; }
  .nx-tile.t-budget .nx-tile-txt, .nx-tile.t-question .nx-tile-txt { max-width: 50%; }
  .nx-tile.span2 .nx-mini.talk, .nx-tile.span2 .nx-mini.agenda { max-width: 440px; }
  .nx-tile.span2 { flex-direction: row; align-items: flex-end; }
  .nx-tile.span2 .nx-tile-txt { max-width: 38%; align-self: flex-start; }
  .nx-tile.span2 .nx-mini { flex: 1; }
}

/* Vidéo animée (famille) */
.nx-reel { flex-direction: column; align-items: center; gap: 18px; padding: 26px 20px 28px; }
.nx-reel-bars { display: flex; gap: 6px; width: min(300px, 100%); }
.nx-reel-bars i { flex: 1; height: 4px; border-radius: 2px; background: rgba(30, 91, 80, .18); overflow: hidden; }
.nx-reel-bars i b { display: block; height: 100%; width: 0; background: var(--nx-euca); border-radius: 2px; }
.nx-reel-bars i.past b { width: 100%; }
.nx-reel-bars i.on b { animation: reelBar 4.2s linear forwards; }
@keyframes reelBar { from { width: 0; } to { width: 100%; } }
.nx-reel-screen { transition: opacity .35s ease, transform .35s ease; }
.nx-reel-screen.leave { opacity: 0; transform: translateY(-10px) scale(.98); }
.nx-reel-screen.enter > * { animation: cascade .55s cubic-bezier(.2, .9, .25, 1) both; }
.nx-reel-screen.enter > *:nth-child(2) { animation-delay: .05s; } .nx-reel-screen.enter > *:nth-child(3) { animation-delay: .12s; }
.nx-reel-screen.enter > *:nth-child(4) { animation-delay: .2s; } .nx-reel-screen.enter > *:nth-child(5) { animation-delay: .3s; }
.nx-reel-screen.enter > *:nth-child(6) { animation-delay: .42s; } .nx-reel-screen.enter > *:nth-child(7) { animation-delay: .56s; }
.nx-reel-screen.enter > *:nth-child(8) { animation-delay: .7s; } .nx-reel-screen.enter > *:nth-child(n+9) { animation-delay: .82s; }
.nx-reel-screen .lp-bub, .nx-reel-screen .lp-ch-love { animation: none; }
.nx-reel-cap { text-align: center; min-height: 48px; }
.nx-reel-cap b { display: block; font-family: var(--nx-serif); font-weight: 500; font-size: 22px; color: var(--nx-ink); }
.nx-reel-cap span { color: var(--nx-ink2); font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .nx-reel-bars i.on b { animation: none; width: 100%; } .nx-mini.heart .pulse { animation: none; } }

/* Pied de page : bouton Se connecter */
.nx-footer a.nx-btn.ghost { border: 1.5px solid rgba(255, 255, 255, .35); min-height: 54px; }
.nx-footer a.nx-btn.ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.nx-footer a.nx-btn { min-height: 54px; }
.nx-footer .nx-foot-bottom a.nx-credit { display: inline; padding: 0; color: #fff; font-size: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.nx-footer .nx-foot-bottom a.nx-credit:hover { text-decoration-color: #fff; }

/* =========================================================
 * Appli — thème sobre (aligné sur nousapp.fr)
 * Palette : blanc, encre aubergine, eucalyptus, framboise en accent.
 * ======================================================= */
:root {
  --bg: #F3F4F2;
  --wash-1: transparent; --wash-2: transparent; --wash-3: transparent;
  --glass: #FFFFFF; --glass-strong: #FFFFFF; --glass-border: rgba(34, 26, 38, .09);
  --surface: #FFFFFF; --surface-2: #F1F2EF; --surface-3: #E7E9E5;
  --ink: #221A26; --ink-2: #4A4150; --muted: #6F6675; --faint: #9A929F;
  --line: rgba(34, 26, 38, .10); --line-2: rgba(34, 26, 38, .06);
  --accent: #C2185B; --accent-2: #D8407A; --accent-ink: #A0124A; --accent-soft: #FBE9F0;
  --accent-grad: linear-gradient(#C2185B, #C2185B); --on-accent: #FFFFFF;
  --hero: #FFFFFF; --hero-ink: #221A26; --hero-muted: #6F6675; --hero-btn: #F1F2EF;
  --plum: #221A26;
  --nav-bg: #FFFFFF; --nav-ink: #221A26; --nav-muted: #7D7482;
  --blue: #3F5A99; --blue-soft: #E8ECF6; --lilac: #6D55A6; --lilac-soft: #EEEAF6;
  --ok: #1E5B50; --ok-dot: #2C7A6C; --ok-soft: #DCEAE5;
  --warn: #A55A22; --warn-soft: #F8EADF; --danger: #B3261E; --pink: #E58AA9; --check-border: #C9C3CC;
  --shadow: 0 1px 2px rgba(34, 26, 38, .05), 0 8px 24px rgba(34, 26, 38, .07);
  --shadow-sm: 0 1px 2px rgba(34, 26, 38, .05);
  --sans: 'Figtree', 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 20px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131016; --glass: #1D1922; --glass-strong: #1D1922; --glass-border: rgba(255, 255, 255, .07);
    --surface: #1D1922; --surface-2: #26212C; --surface-3: #302A37;
    --ink: #F2EDF3; --ink-2: #D3CBD6; --muted: #A79EAD; --faint: #7F7785;
    --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .06);
    --accent: #E0457F; --accent-2: #EA6B98; --accent-ink: #F28DB1; --accent-soft: rgba(224, 69, 127, .14);
    --accent-grad: linear-gradient(#E0457F, #E0457F); --on-accent: #FFFFFF;
    --hero: #1D1922; --hero-ink: #F2EDF3; --hero-muted: #A79EAD; --hero-btn: #26212C;
    --plum: #F2EDF3;
    --nav-bg: #1D1922; --nav-ink: #F2EDF3; --nav-muted: #8F8795;
    --blue: #8FA6E0; --blue-soft: rgba(143, 166, 224, .13); --lilac: #B29EE6; --lilac-soft: rgba(178, 158, 230, .13);
    --ok: #6CC0AC; --ok-dot: #6CC0AC; --ok-soft: rgba(44, 122, 108, .2);
    --warn: #E3A06A; --warn-soft: rgba(227, 160, 106, .13);
    --shadow: 0 8px 24px rgba(0, 0, 0, .35); --shadow-sm: none;
  }
}
html:not(.is-lp) body { background: var(--bg); background-image: none !important; font-family: var(--sans); }
html:not(.is-lp) #app *, #sheets *, .toast { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
/* Titres : pas de mot en italique coloré, pas d'étiquettes en capitales */
#app:not(:has(.nx)) h1 em, #app .hello em, #app .title em, .sheet h3 em, .auth h1 em, .hero-quote em { font-style: normal; color: inherit; }
.serif, h1.title, .hello, .auth h1, .sheet-head h3, .hero-quote, .question-text { font-variation-settings: 'SOFT' 0, 'WONK' 0; font-weight: 500; }
h1.title { font-size: 34px; }
.hello { font-size: 32px; }
.auth h1 { font-size: 44px; line-height: 1.05; }
.eyebrow { text-transform: none; letter-spacing: 0; font-size: 13.5px; font-weight: 700; color: var(--muted); }
h2.section { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 700; color: var(--ink-2); margin: 10px 2px -2px; }
.ev-date span { text-transform: none; letter-spacing: 0; font-size: 12.5px; }
/* Surfaces pleines, plus de dégradés décoratifs */
.card, .tile, .hero, .balance, .question-card, .idea-card, .install-banner, .holiday-banner, .daily, .verse, .card.soft, .card.blue, .card.lilac { background: var(--surface) !important; border: 1px solid var(--line-2) !important; box-shadow: var(--shadow-sm) !important; border-radius: var(--radius) !important; }
.hero::after { display: none !important; }
.hero { border-left: 4px solid var(--accent) !important; }
.daily { border-left: 4px solid var(--ok) !important; }
.verse { border-left: 4px solid var(--blue) !important; }
.holiday-banner { border-left: 4px solid var(--ok) !important; }
.balance, .question-card { border-left: 4px solid var(--ok) !important; }
.install-banner { border-left: 4px solid var(--accent) !important; }
.sheet { background-image: none !important; background-color: var(--bg); border-radius: 22px 22px 0 0; box-shadow: 0 -8px 30px rgba(34, 26, 38, .12); }
.sheet-backdrop { background: rgba(20, 14, 22, .38); }
/* Boutons : pleins, sans halo */
.btn { box-shadow: none; border-radius: 999px; font-weight: 700; min-height: 50px; }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }
.icon-btn { background: var(--surface); border: 1px solid var(--line); box-shadow: none; }
.icon-btn.plain { border: 0; background: transparent; }
.quick button { background: var(--surface); border: 1px solid var(--line); box-shadow: none; }
/* Barre de navigation : barre pleine, liseré en haut */
.nav { left: 50%; transform: translateX(-50%); width: min(560px, 100%); bottom: 0; height: calc(66px + var(--safe-bottom)); padding: 0 4px var(--safe-bottom); border-radius: 0; border: 0; border-top: 1px solid var(--line); box-shadow: none; background: var(--nav-bg); }
.nav a { min-height: 60px; font-size: 11.5px; font-weight: 600; }
.nav a .ni { width: 44px; height: 30px; border-radius: 15px; }
.nav a.on { color: var(--ink); font-weight: 800; }
.nav a.on .ni { background: var(--accent-soft); color: var(--accent); }
.nav .dot { border-color: var(--nav-bg); background: var(--accent); }
.screen { padding-bottom: calc(var(--safe-bottom) + 100px); }
@media (min-width: 561px) { .nav { border-left: 1px solid var(--line); border-right: 1px solid var(--line); } }
/* Discussion */
.chat-head, .composer { background: var(--nav-bg); }
.msg.me .bubble, .msg.me > .bubble { background: var(--accent); }
/* Mouvement : discret, seulement en réponse à une action */
.screen.enter { animation: fadein .18s ease; }
.screen.enter > *, .screen.enter .tiles > * { animation: none !important; }
.empty-ico { animation: none; }
@media (hover: hover) and (pointer: fine) { .tile:hover, a.card:hover, .card[data-a]:hover { transform: none; box-shadow: var(--shadow-sm) !important; border-color: var(--line) !important; } }
.check.on::after { display: none; }
.check.on { background: var(--ok); }
.boot-logo { animation: none; opacity: .9; }
/* Avatars et pastilles */
.since-chip, .chip { box-shadow: none; }
.msg.me .bubble { box-shadow: none; border-radius: 20px; border-bottom-right-radius: 6px; }
.msg.them .bubble { box-shadow: none; border: 1px solid var(--line-2); border-radius: 20px; border-bottom-left-radius: 6px; }
@media (prefers-color-scheme: dark) { .msg.me .bubble, .msg.me .voice { color: #fff; } }
.bubble.emoji-only { border: 0 !important; }

/* =========================================================
 * Page d'accueil — optimisation mobile
 * ======================================================= */
@media (max-width: 599px) {
  .nx { font-size: 16px; }
  .nx-bar { padding-left: 18px; padding-right: 18px; min-height: 64px; gap: 12px; }
  .nx.menu-open .nx-drawer { top: calc(var(--safe-top) + 64px); }
  .nx-logo { height: 30px; }
  .nx-wrap { padding: 0 18px; }
  .nx-hero { padding: 22px 18px 28px; gap: 28px; }
  .nx-hero h1 { font-size: clamp(44px, 13.4vw, 56px); line-height: .98; }
  .nx-tag { margin-top: 14px !important; }
  .nx-lead { font-size: 16.5px; margin-top: 14px !important; }
  .nx-cta { flex-direction: column; gap: 10px; margin-top: 22px; }
  .nx-cta .nx-btn { width: 100%; }
  .nx-facts { gap: 6px; margin-top: 18px; }
  .nx-facts { flex-wrap: nowrap; }
  .nx-facts li { font-size: min(12.5px, 3.1vw); padding: 6px min(10px, 2.2vw); white-space: nowrap; }
  .nx-visual { border-radius: 24px; padding: 64px 0 24px; }
  .nx-panel { border-radius: 24px; }
  .nx-panel::after { width: 60px; height: 60px; right: 16px; bottom: 16px; }
  .nx .nx-phone { width: 230px; height: 460px; }
  .nx-sec { padding: 56px 0; }
  .nx-sec h2 { font-size: clamp(28px, 8vw, 34px); }
  .nx-intro { font-size: 16px; }
  /* Une journée : défilement horizontal */
  .nx-day { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 28px -18px 0; padding: 4px 18px 10px; scrollbar-width: none; }
  .nx-day::-webkit-scrollbar { display: none; }
  .nx-day li { flex: 0 0 76%; scroll-snap-align: start; margin: 0; padding: 18px; border: 1px solid var(--nx-line); border-left: 1px solid var(--nx-line); border-radius: 20px; background: var(--nx-paper); }
  .nx-day li:last-child { border-left-color: var(--nx-line); }
  .nx-day li::before { display: none; }
  .nx-day time { font-size: 30px; }
  /* Bento : deux colonnes pour les petites tuiles */
  .nx-bento { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
  .nx-tile { grid-column: span 2; min-height: 0; padding: 20px; border-radius: 20px; gap: 18px; }
  .nx-tile.t-heart, .nx-tile.t-budget { grid-column: span 1; }
  .nx-tile h3 { font-size: 21px; }
  .nx-tile p { font-size: 14.5px; }
  .nx-tile.t-heart p, .nx-tile.t-budget p { display: none; }
  .nx-mini.heart .pulse { width: 58px; height: 58px; }
  .nx-mini.budget strong { font-size: 34px; }
  .nx-mini.q { font-size: 20px; }
  .nx-mini.talk .b { font-size: 14px; }
  .nx-mini.agenda .wk span { font-size: 13px; padding: 6px 0; }
  /* Famille */
  .nx-split { gap: 28px; }
  .nx-table { font-size: 14.5px; }
  .nx-reel { border-radius: 24px; }
  .nx-reel-cap b { font-size: 20px; }
  /* Confidentialité */
  .nx-trio { gap: 22px; margin-top: 28px; }
  /* Installation */
  .nx-inst { padding: 16px; border-radius: 20px; }
  .nx-tabs button { font-size: 13px; padding: 9px 4px; white-space: nowrap; }
  /* FAQ */
  .nx-faq summary { font-size: 16px; padding: 18px 0; }
  /* Pied de page */
  .nx-footer { padding-top: 56px; }
  .nx-foot-cta { padding-bottom: 40px; }
  .nx-foot-cta .nx-cta { flex-direction: row; }
  .nx-foot-cta .nx-cta .nx-btn { flex: 1; padding: 0 12px; }
  .nx-foot-grid { padding: 36px 0; }
  .nx-foot-bottom { flex-direction: column; }
}
@media (max-width: 599px) {
  .nx-tile.t-chat { order: 0; } .nx-tile.t-heart { order: 1; } .nx-tile.t-budget { order: 2; } .nx-tile.t-tasks { order: 3; }
  .nx-tile.t-agenda { order: 4; } .nx-tile.t-list { order: 5; } .nx-tile.t-kids { order: 6; } .nx-tile.t-question { order: 7; }
  .nx-tile.t-heart, .nx-tile.t-budget { min-height: 168px; }
}

/* Liseré sous l'en-tête, partout */
.auth { padding-top: 0; }
.auth-head { position: sticky; top: 0; z-index: 20; margin: 0 -24px; padding: calc(var(--safe-top) + 10px) 24px 10px; background: var(--bg); border-bottom: 1px solid var(--line); min-height: 64px; }
.auth h1 { font-size: 40px; line-height: 1.08; margin-top: 18px; }
.screen > .topbar:first-child, .screen > .couple-head:first-child { position: relative; }
.screen > .topbar:first-child { margin: calc(-1 * (var(--safe-top) + 22px)) -18px 4px; padding: calc(var(--safe-top) + 12px) 18px 12px; border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 25; }
.nx-legal-page .nx-header { border-bottom: 1px solid var(--nx-line); }
/* Pages légales */
.nx-legal { max-width: 760px; padding-top: 48px; padding-bottom: 64px; }
.nx-legal h1 { font-size: clamp(34px, 7vw, 48px); line-height: 1.1; margin-bottom: 24px; }
.nx-legal h2 { font-size: 24px; margin: 36px 0 10px; }
.nx-legal p, .nx-legal li { color: var(--nx-ink2); line-height: 1.7; }
.nx-legal p { margin: 0 0 12px; }
.nx-legal ul { padding-left: 20px; margin: 0 0 12px; }
.nx-legal li { margin-bottom: 6px; }
.nx-legal a { color: var(--nx-rasp); }
.nx-legal-date { color: var(--nx-muted) !important; font-size: 14px; margin-top: 32px !important; }
.nx-legal-other { margin-top: 32px !important; padding-top: 20px; border-top: 1px solid var(--nx-line); }
.nx-legal-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--nx-line); color: var(--nx-muted); font-size: 14px; }
.nx-legal-foot a { color: var(--nx-ink); }
/* Afficher / masquer le mot de passe */
.pw-wrap { position: relative; display: block; width: 100%; }
.pw-wrap input { width: 100%; padding-right: 52px !important; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pw-eye:hover { color: var(--ink); background: var(--surface-2); }
.pw-eye[aria-pressed="true"] { color: var(--accent); }
.topbar.col { flex-direction: column; align-items: flex-start; gap: 2px; }

/* =========================================================
 * Bandeau cookies
 * ======================================================= */
.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: calc(var(--safe-bottom) + 12px); z-index: 400; display: flex; justify-content: center; animation: drop .35s cubic-bezier(.2, .9, .25, 1); }
.cookie-bar.above-nav { bottom: calc(var(--safe-bottom) + 78px); }
.cookie-in { width: 100%; max-width: 980px; background: #FFFFFF; color: #221A26; border: 1px solid rgba(34, 26, 38, .12); border-radius: 20px; box-shadow: 0 18px 50px rgba(34, 26, 38, .18); padding: 18px; display: flex; flex-direction: column; gap: 14px; font-family: 'Figtree', system-ui, sans-serif; }
.cookie-txt b { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.cookie-txt b svg { color: #1E5B50; }
.cookie-txt p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: #4A4150; }
.cookie-txt a, .cookie-more { color: #A0124A; font-weight: 600; }
.cookie-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie-btns .cookie-b:last-child { grid-column: 1 / -1; order: -1; }
.cookie-b { min-height: 46px; border-radius: 999px; border: 1.5px solid transparent; background: #C2185B; color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; padding: 0 16px; }
.cookie-b:hover { background: #A0124A; }
.cookie-b.ghost { background: #fff; color: #221A26; border-color: rgba(34, 26, 38, .16); }
.cookie-b.ghost:hover { border-color: #221A26; background: #fff; }
.cookie-b:focus-visible, .cookie-panel .switch:focus-visible { outline: 2px solid #1E5B50; outline-offset: 2px; }
@media (min-width: 760px) {
  .cookie-in { flex-direction: row; align-items: center; gap: 24px; padding: 18px 22px; }
  .cookie-txt { flex: 1; }
  .cookie-btns { display: flex; flex-shrink: 0; }
  .cookie-btns .cookie-b:last-child { order: 0; }
}
.cookie-panel { position: fixed; inset: 0; z-index: 410; background: rgba(20, 14, 22, .42); display: flex; align-items: flex-end; justify-content: center; animation: fadein .2s ease; }
.cookie-sheet { width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; background: #fff; color: #221A26; border-radius: 22px 22px 0 0; padding: 22px 20px calc(var(--safe-bottom) + 22px); font-family: 'Figtree', system-ui, sans-serif; animation: up .3s cubic-bezier(.2, .9, .25, 1); }
.cookie-sheet h2 { margin: 0 0 8px; font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 28px; }
.cookie-row { display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(34, 26, 38, .1); }
.cookie-row b { font-size: 16px; }
.cookie-row p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: #4A4150; }
.cookie-always { font-size: 12.5px; font-weight: 700; color: #1E5B50; white-space: nowrap; padding-top: 2px; }
.cookie-panel .switch { flex-shrink: 0; border: 0; padding: 0; cursor: pointer; }
.cookie-sheet .cookie-btns { margin: 18px 0 12px; }
.cookie-more { font-size: 14px; }
@media (min-width: 760px) { .cookie-panel { align-items: center; } .cookie-sheet { border-radius: 22px; } }
@media (prefers-color-scheme: dark) {
  .cookie-in, .cookie-sheet { background: #1D1922; color: #F2EDF3; border-color: rgba(255, 255, 255, .1); }
  .cookie-txt p, .cookie-row p { color: #D3CBD6; }
  .cookie-b.ghost { background: transparent; color: #F2EDF3; border-color: rgba(255, 255, 255, .2); }
  .cookie-b.ghost:hover { border-color: #fff; background: transparent; }
  .cookie-row { border-color: rgba(255, 255, 255, .08); }
  .cookie-txt a, .cookie-more { color: #F28DB1; }
}

/* =========================================================
 * Météo
 * ======================================================= */
.wx { border-left: 4px solid var(--blue) !important; display: flex; flex-direction: column; gap: 12px; }
.wx-empty { gap: 14px; }
.wx-top { display: flex; align-items: center; justify-content: space-between; }
.wx-place { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.wx-ref { width: 36px; height: 36px; margin: -6px -8px -6px 0; }
.wx-main { display: flex; align-items: center; gap: 14px; }
.wx-ico { width: 56px; height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--blue); flex-shrink: 0; }
.wx-ico.sun { background: var(--warn-soft); color: var(--warn); }
.wx-ico.rain, .wx-ico.storm { background: var(--blue-soft); color: var(--blue); }
.wx-ico.snow, .wx-ico.fog { background: var(--surface-2); color: var(--ink-2); }
.wx-temp { font-family: var(--serif); font-size: 44px; line-height: 1; font-weight: 500; letter-spacing: -.02em; }
.wx-desc { color: var(--muted); font-weight: 600; font-size: 14.5px; margin-top: 2px; }
.wx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wx-chips span { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 700; color: var(--ink-2); }
.wx-advice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--blue-soft); color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.45; }
.wx-advice svg { flex-shrink: 0; margin-top: 1px; color: var(--blue); }
.wx-advice.sun { background: var(--warn-soft); } .wx-advice.sun svg { color: var(--warn); }
.wx-advice.storm svg, .wx-advice.umbrella svg { color: var(--blue); }
.wx-advice.snow, .wx-advice.fog, .wx-advice.wind, .wx-advice.cloud { background: var(--surface-2); } .wx-advice.snow svg, .wx-advice.fog svg, .wx-advice.wind svg, .wx-advice.cloud svg { color: var(--ink-2); }

/* Date du jour */
.date-head { display: flex; align-items: center; gap: 10px; }
.dh-num { width: 44px; height: 44px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--accent); line-height: 1; position: relative; overflow: hidden; }
.dh-num::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--accent); }
.dh-num { padding-top: 5px; box-sizing: border-box; }
.dh-txt { display: flex; flex-direction: column; line-height: 1.15; }
.dh-txt b { font-size: 16px; font-weight: 700; color: var(--ink); }
.dh-txt span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
/* Rappels cadeau */
.gift-card { border-left: 4px solid var(--accent) !important; display: flex; flex-direction: column; gap: 12px; }
.gift-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; gap: 1px; }
.gift-ico b { font-size: 11px; font-weight: 800; line-height: 1; }
.gift-title { display: block; font-size: 16.5px; line-height: 1.35; margin-bottom: 2px; }
.gift-card .btn.sm { min-height: 38px; font-size: 14px; }
/* Signature discrète */
.app-credit { margin: 18px 0 0; text-align: center; font-size: 12px; color: var(--faint); font-weight: 600; letter-spacing: .01em; }
.app-credit a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.app-credit a:hover { color: var(--ink-2); }

/* ===== Nous+ ===== */
.plus-hero { gap: 16px; padding: 24px 20px; }
.plus-h { font-size: 34px; line-height: 1.1; letter-spacing: -.01em; }
.plus-lead { color: var(--muted); font-size: 16px; }
.plus-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 4px 0 2px; }
.plus-price b { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 46px; line-height: 1; color: var(--ink); }
.plus-price span { color: var(--muted); font-size: 14px; }
.plus-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.plus-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 13px; padding: 0 6px 8px; }
.plus-table th:last-child { color: var(--accent); }
.plus-table td { padding: 10px 6px; border-top: 1px solid var(--line); vertical-align: top; }
.plus-table td:first-child { color: var(--ink); width: 44%; }
.plus-table td:nth-child(2) { color: var(--muted); }
.plus-waiver { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.plus-waiver input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.plus-waiver a { color: var(--ink); text-decoration: underline; }
.plus-on { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.plus-badge { align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); font-weight: 600; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.plus-wait { align-items: center; text-align: center; padding: 34px 20px; color: var(--ink); }
.plus-wait .spin { width: 26px; height: 26px; color: var(--accent); }
.center { text-align: center; }
.row .grow { flex: 1; }

.gift-page { max-width: 560px; margin: 0 auto; }
.gift-page form { gap: 14px; }
.gift-visual { position: relative; background: #241B29; color: #fff; border-radius: 20px; padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 22px; min-height: 250px; box-sizing: border-box; overflow: hidden; }
.gift-visual::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 1.5px solid rgba(255, 216, 197, .22); pointer-events: none; }
.gv-top { display: flex; justify-content: space-between; align-items: center; }
.gv-logo { height: 24px; }
.gv-logo img { height: 24px; width: auto; }
.gift-visual .logo .logo-l { display: none !important; }
.gift-visual .logo .logo-d { display: block !important; }
.gv-tag { font-size: 12px; font-weight: 600; color: #FFD8C5; }
.gv-mid { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.gv-for { font-size: 14px; color: #D9C3CC; }
.gv-title { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 32px; line-height: 1.1; }
.gv-msg { margin: 10px 0 0; font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 16px; line-height: 1.45; color: #F6E9EE; overflow-wrap: anywhere; }
.gv-msg span { display: block; margin-top: 4px; font-family: 'Figtree', sans-serif; font-style: normal; font-size: 13px; color: #D9C3CC; }
.gv-bot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; border-top: 1px solid #4A3A52; padding-top: 12px; }
.gv-bot small { display: block; font-size: 12px; color: #D9C3CC; }
.gv-code { font-size: 19px; letter-spacing: .06em; font-weight: 700; white-space: nowrap; }
.gv-how { text-align: right; font-size: 12px; line-height: 1.45; color: #D9C3CC; }
.gv-how b { color: #fff; }
.gift-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gift-actions .btn { flex: 1 1 auto; }
@media (max-width: 380px) { .gv-title { font-size: 27px; } .gv-code { font-size: 16px; } }

@media print {
  html.print-gift body * { visibility: hidden !important; }
  html.print-gift .gift-visual.printable, html.print-gift .gift-visual.printable * { visibility: visible !important; }
  html.print-gift .gift-visual.printable { position: fixed; left: 50%; top: 30mm; transform: translateX(-50%); width: 150mm; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Landing : tarifs */
.nx-plus { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: stretch; }
.nx-price-card { background: #fff; border: 1px solid #E2E5E1; border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.nx-price-card.dark { background: #241B29; color: #fff; border-color: #241B29; }
.nx-price-card h3 { margin: 0; font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 28px; }
.nx-price-card .amt { font-family: 'Fraunces', Georgia, serif; font-size: 52px; line-height: 1; }
.nx-price-card .amt small { font-family: 'Figtree', sans-serif; font-size: 15px; color: #6B6270; margin-left: 6px; }
.nx-price-card.dark .amt small, .nx-price-card.dark p { color: #D9C3CC; }
.nx-price-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.nx-price-card li { padding-left: 24px; position: relative; }
.nx-price-card li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid #1E5B50; border-bottom: 2px solid #1E5B50; transform: rotate(-45deg); }
.nx-price-card .free { color: #6B6270; font-size: 14px; }
.nx-price-card .nx-btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 820px) { .nx-plus { grid-template-columns: 1fr; } }
.nx .nx-sub { margin: 14px 0 32px; color: #5E5763; font-size: 18px; max-width: 46ch; }
.nx .nx-price-card.dark .nx-btn { background: #FFD8C5; color: #241B29; }
.nx .nx-price-card.dark h3 { color: #fff; }

/* Footer v2 */
.nx-footer { overflow: hidden; }
.nx-foot-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; padding: 56px 0 48px; }
.nx-foot-brand p { color: #CFC6D3; font-size: 15.5px; line-height: 1.6; max-width: 26em; }
.nx-foot-facts { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nx-foot-facts li { font-size: 13px; color: #E9DFEC; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 6px 12px; }
.nx-footer a.nx-foot-mail { display: inline-flex; flex-direction: column; margin-top: 24px; color: #fff; font-size: 17px; font-weight: 600; padding: 0; }
.nx-foot-mail span { font-size: 13px; font-weight: 400; color: #A399A8; margin-bottom: 2px; }
.nx-footer a.nx-foot-mail:hover { color: #FFD8C5; }
.nx-footer h4 { color: #FFD8C5; font-weight: 600; font-size: 13.5px; margin-bottom: 14px; }
.nx-footer nav a, .nx-footer nav button { padding: 6px 0; }
.nx-foot-bottom { align-items: center; gap: 12px 24px; }
.nx-foot-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.nx-footer .nx-foot-legal a, .nx-footer .nx-foot-legal button { display: inline; padding: 2px 0; font-size: 13.5px; color: #A399A8; border: 0; background: none; font-family: inherit; cursor: pointer; }
.nx-footer .nx-foot-legal a:hover, .nx-footer .nx-foot-legal button:hover { color: #fff; }
.nx-foot-mark { margin: 40px 0 -2.2vw; display: flex; justify-content: center; opacity: .07; pointer-events: none; }
.nx-foot-mark .logo { height: auto; width: 100%; max-width: 1100px; display: block; }
.nx-foot-mark .logo img { width: 100%; height: auto; }
@media (min-width: 760px) {
  .nx-foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .nx-foot-brand { grid-column: auto; padding-right: 32px; }
}
@media (max-width: 759px) {
  .nx-foot-bottom { flex-direction: column; align-items: flex-start; }
}
.nx .nx-price-card .alt { margin: -6px 0 0; color: #5E5763; font-size: 14.5px; }
.nx .nx-price-card .trial { margin: 0; align-self: flex-start; background: #E6F0EC; color: #1E5B50; font-weight: 600; font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.plus-plans { display: grid; gap: 10px; }
.plan-opt { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; cursor: pointer; background: var(--surface); }
.plan-opt input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; flex: none; }
.plan-opt span { display: flex; flex-direction: column; gap: 2px; }
.plan-opt b { font-size: 16px; }
.plan-opt em { font-style: normal; color: var(--muted); font-size: 14px; }
.plan-opt:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 5%, var(--surface)); }
.plus-trial { gap: 12px; }
.trial-bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.trial-bar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }

/* Chat : pièces jointes */
.attach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.attach-grid button { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 18px; color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.attach-grid button svg { color: var(--accent); }
.attach-grid button:active { transform: scale(.97); }
.msg-video { width: 260px; max-width: 100%; border-radius: 18px; overflow: hidden; background: #111; }
.msg-video video { display: block; width: 100%; max-height: 360px; background: #111; }
.msg-video .cap { background: var(--surface); padding: 8px 12px; }
.att-note { font-size: 11.5px; color: #ddd; padding: 6px 12px; background: #111; }
.att-card { display: flex; align-items: center; gap: 12px; width: 270px; max-width: 100%; padding: 12px 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; box-sizing: border-box; }
.msg.me .att-card { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.att-card.gone { color: var(--muted); font-size: 14px; }
.att-ext { flex: none; width: 44px; height: 52px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.att-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.att-meta b { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att-meta small, .loc-meta small { font-size: 12.5px; color: var(--muted); }
.loc-card { display: flex; flex-direction: column; width: 260px; max-width: 100%; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.loc-card > a { display: block; color: inherit; }
.map-box { position: relative; height: 130px; overflow: hidden; background: #E8ECE6; }
.map-box.plain { background: linear-gradient(0deg, transparent 49%, rgba(0,0,0,.05) 50%, transparent 51%) 0 0 / 26px 26px, linear-gradient(90deg, transparent 49%, rgba(0,0,0,.05) 50%, transparent 51%) 0 0 / 26px 26px, #E8ECE6; }
.map-box img { position: absolute; width: 256px; height: 256px; max-width: none; }
.map-box .osm { position: absolute; right: 4px; bottom: 3px; font-size: 9.5px; color: #444; background: rgba(255,255,255,.75); padding: 0 4px; border-radius: 3px; }
.map-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); color: var(--accent); filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.map-pin svg { fill: #fff; }
.map-pin.live::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 35%, transparent); animation: livepulse 1.8s ease-out infinite; z-index: -1; }
@keyframes livepulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(3); opacity: 0; } }
.loc-meta { display: flex; flex-direction: column; gap: 3px; padding: 10px 14px 12px; }
.loc-meta b { font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.loc-meta .btn { margin-top: 8px; align-self: flex-start; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2E9E5B; box-shadow: 0 0 0 3px rgba(46,158,91,.2); flex: none; }
@media (prefers-reduced-motion: reduce) { .map-pin.live::after { animation: none; } }
.kind-pick { border: 0; padding: 0; margin: 0 0 6px; display: grid; gap: 10px; }
.kind-pick legend { font-weight: 600; font-size: 14px; margin-bottom: 10px; color: var(--ink); }
.kind-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); cursor: pointer; }
.kind-opt input { position: absolute; opacity: 0; pointer-events: none; }
.kind-opt .kind-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg, #F3F4F2); color: var(--muted); flex: none; }
.kind-opt b { display: block; font-size: 16px; }
.kind-opt small { color: var(--muted); font-size: 13.5px; }
.kind-opt:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 5%, var(--surface)); }
.kind-opt:has(input:checked) .kind-ico { background: var(--accent); color: #fff; }
.kind-opt:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 2px; }
.opt-since { border: 1px dashed var(--line); border-radius: 14px; padding: 12px 14px; }
.opt-since summary { cursor: pointer; font-weight: 600; font-size: 14.5px; }
.opt-since .field { margin-top: 12px; }
.opt-since[hidden] { display: none; }

/* Espaces */
.space-bar { display: flex; justify-content: flex-start; margin: 4px 0 -4px; }
.space-pill { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.space-pill svg:first-child { color: var(--accent); flex: none; }
.space-pill .ellipsis { max-width: 60vw; }
.space-dot { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
.spaces-list button { align-items: center; }
.spaces-list button.on { border-color: var(--accent); }
.spaces-list .sp-ico { width: 36px; height: 36px; border-radius: 11px; background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); display: grid; place-items: center; flex: none; }
.spaces-list b { display: block; font-weight: 600; }
.spaces-list small { color: var(--muted); font-weight: 400; font-size: 13px; }
.group-avs .avatar + .avatar { margin-left: -12px; }

/* Planning */
.plan-grid-wrap { padding: 12px 10px; overflow-x: auto; }
.plan-grid { display: grid; gap: 6px 4px; align-items: center; min-width: 330px; }
.plan-dh { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 0; border-radius: 10px; }
.plan-dh small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.plan-dh b { font-size: 16px; font-weight: 600; }
.plan-dh.today { background: var(--ink); color: #fff; }
.plan-dh.today small { color: #fff; opacity: .8; }
.plan-dh.fer b { color: var(--accent); }
.plan-who { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; }
.plan-who small { font-size: 11.5px; font-weight: 600; color: var(--muted); max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
.plan-cell { display: grid; place-items: center; min-height: 54px; padding: 0; border: 0; background: none; font: inherit; color: inherit; }
button.plan-cell { cursor: pointer; border-radius: 12px; }
button.plan-cell:active { transform: scale(.96); }
.plan-chip { width: 100%; min-height: 50px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-size: 12px; line-height: 1.15; text-align: center; }
.plan-chip b { font-size: 13px; font-weight: 700; }
.plan-chip small { font-size: 11.5px; opacity: .85; }
.plan-chip.off { background: #F1F0EE; color: #8E8792; font-size: 11.5px; }
.plan-chip.leave { background: #E3F3E9; color: #1E7A45; font-weight: 700; }
.plan-chip.none { color: #C4BFC6; }
.plan-free { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.plan-today { display: block; text-decoration: none; color: var(--ink); }
.plan-today .eyebrow { display: inline-flex; gap: 6px; align-items: center; margin-bottom: 6px; color: var(--muted); }
.plan-today div { font-size: 16px; line-height: 1.5; }
.leave-balance b { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 40px; margin-right: 8px; }
.leave-balance > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; }
.leave-bar { height: 8px; border-radius: 4px; background: var(--line); margin: 12px 0 8px; overflow: hidden; }
.leave-bar i { display: block; height: 100%; background: #2E9E5B; }
.leave-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.leave-row[role=button] { cursor: pointer; }
.leave-row b { font-weight: 600; font-size: 15.5px; }
.leave-row.idea { border-style: dashed; opacity: .85; }
.plan-common { display: flex; gap: 12px; align-items: flex-start; color: var(--accent-ink, var(--ink)); margin-top: 12px; }
.plan-common svg { color: var(--accent); flex: none; margin-top: 3px; }
.pat-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; align-items: center; }
.pat-row .input { padding: 10px 8px; min-width: 0; }
.pat-row b { font-weight: 600; }
@media (max-width: 380px) { .pat-row { grid-template-columns: 1fr; } }
.card.ann { border-left: 4px solid #33476B; }
.card.ann.new { border-left-color: var(--accent); }
.card.ann.warn { border-left-color: #C98A00; }
.card.ann b { font-size: 16.5px; font-weight: 600; }
.card.ann p { margin: 4px 0 10px; color: var(--muted); }
.rate { display: flex; gap: 6px; }
.rate label { cursor: pointer; }
.rate input { position: absolute; opacity: 0; }
.rate span { font-size: 30px; color: var(--line); transition: color .15s; }
.rate:has(input:checked) span { color: #E0A100; }
.rate label:has(input:checked) ~ label span { color: var(--line); }
.rate input:focus-visible + span { outline: 2px solid var(--accent); border-radius: 4px; }

/* Aide */
.help-page { max-width: 640px; }
.help-log { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.help-msg { display: flex; }
.help-msg > div { max-width: 92%; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; }
.help-msg.me { justify-content: flex-end; }
.help-msg.me > div { background: var(--ink); color: #fff; border-color: var(--ink); border-bottom-right-radius: 6px; }
.help-msg.bot > div { border-bottom-left-radius: 6px; }
.help-msg p { margin: 0 0 8px; } .help-msg p:last-child { margin-bottom: 0; }
.help-t { display: block; font-size: 16.5px; font-weight: 600; margin-bottom: 6px; }
.help-install { margin: 10px 0; padding: 12px 14px; border-radius: 14px; background: var(--bg, #F3F4F2); }
.help-install b { font-weight: 600; }
.help-install ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.help-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.help-chips button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.help-form { display: flex; gap: 10px; position: sticky; bottom: calc(var(--safe-bottom, 0px) + 96px); background: var(--bg, #F3F4F2); padding: 6px 0; }
.auth .help-form { bottom: calc(var(--safe-bottom, 0px) + 10px); }
.help-form .input { flex: 1; }
.help-form .send { flex: none; }
.nx-help-fab { position: fixed; right: 18px; bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: #241B29; color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: 0 10px 30px rgba(36, 27, 41, .25); }
.nx-help-fab:hover { background: #000; }

/* Visite guidée */
.tour { position: fixed; inset: 0; z-index: 1000; }
.tour-hole { position: fixed; border-radius: 16px; box-shadow: 0 0 0 9999px rgba(23, 19, 26, .62); transition: all .3s cubic-bezier(.3, .8, .3, 1); pointer-events: none; }
.tour-pop { position: fixed; width: min(320px, calc(100vw - 24px)); background: var(--surface, #fff); color: var(--ink); border-radius: 18px; padding: 16px 16px 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); display: flex; flex-direction: column; gap: 6px; transition: top .3s, left .3s, bottom .3s; }
.tour-pop.center { left: 50% !important; top: 50% !important; bottom: auto !important; transform: translate(-50%, -50%); }
.tour-pop small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.tour-pop b { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 22px; line-height: 1.15; }
.tour-pop p { margin: 0 0 8px; color: var(--muted); font-size: 15px; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { .tour-hole, .tour-pop { transition: none; } }
.recur-box .recur-more { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.recur-box .recur-more[hidden], .dow-pick[hidden] { display: none; }
.dow-pick { display: flex; gap: 6px; }
.dow-pick button { flex: 1; height: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.dow-pick button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.import-link { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 10px; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 600; font-size: 14.5px; cursor: pointer; padding: 6px 2px; }
.import-src { display: grid; gap: 10px; }
.imp-preview { display: flex; flex-wrap: wrap; gap: 6px; max-height: 180px; overflow: auto; }
.imp-preview span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; font-size: 13.5px; }
.start-screen { justify-content: space-between; min-height: 100dvh; padding-top: calc(var(--safe-top, 0px) + 18vh); }
.start-top { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.start-top .start-logo { height: 76px; }
.start-top .start-logo img { height: 76px; width: auto; }
.start-help { align-self: center; display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-weight: 600; text-decoration: none; padding: 10px; }
.push-why { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.push-why li { display: flex; gap: 12px; align-items: center; font-size: 16px; }
.push-why svg { color: var(--accent); flex: none; }
.help-form .send { width: 52px; height: 52px; border-radius: 26px; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; }

/* Carte profil (Réglages) */
.profile-card { display: flex; flex-direction: column; gap: 18px; padding: 20px; }
.profile-top { display: flex; align-items: center; gap: 16px; }
.profile-av { position: relative; flex: none; }
.profile-cam { position: absolute; right: -4px; bottom: -4px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--surface); background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.profile-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.profile-id b { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 26px; line-height: 1.1; }
.profile-id span { color: var(--muted); font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-id small { color: var(--muted); font-size: 13px; }
.profile-color { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.profile-color > span { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.swatches.one-line { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 6px; }
.swatches.one-line .swatch { flex: 1 1 0; max-width: 40px; width: auto; height: auto; aspect-ratio: 1; min-width: 26px; border-radius: 50%; border: 0; background: var(--sw); box-shadow: none; position: relative; cursor: pointer; }
.swatches.one-line .swatch.on { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--sw); }
.swatches.one-line .swatch.on::after { content: ''; position: absolute; left: 50%; top: 50%; width: 32%; height: 18%; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: translate(-50%, -65%) rotate(-45deg); }

/* Carrousel des cartes du jour */
.day-rail-wrap { margin: 0 -20px 14px; }
.day-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 20px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.day-rail::-webkit-scrollbar { display: none; }
.day-slide { flex: 0 0 86%; scroll-snap-align: center; display: flex; }
.day-slide > .card { width: 100%; margin: 0; }
.day-slide .daily-text { font-size: 22px; }
.rail-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.rail-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width .2s, background .2s; }
.rail-dots i.on { width: 18px; background: var(--ink); }
@media (min-width: 720px) { .day-slide { flex-basis: 48%; } }

/* Météo compacte dans l’en-tête */
.topbar-r { display: flex; align-items: center; gap: 8px; }
.wx-chip { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px 0 8px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.wx-chip b { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wx-chip .wx-ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.wx-chip.off { color: var(--muted); font-weight: 600; font-size: 14px; padding: 0 14px 0 10px; }
.wx-chip .wx-flag { position: absolute; top: -4px; right: -4px; width: 20px; height: 20px; border-radius: 50%; background: #33476B; color: #fff; display: grid; place-items: center; }
.sheet .card.wx { margin: 0; box-shadow: none; border: 1px solid var(--line); }

/* Rappel notifications dans la discussion */
.push-nudge { display: flex; align-items: center; gap: 10px; margin: 6px 12px 0; padding: 8px 8px 8px 14px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 8%, var(--surface)); font-size: 14px; font-weight: 500; }
.push-nudge svg { color: var(--accent); flex: none; }
/* Le bouton flottant ne recouvre plus le bas de la page */
.screen:has(> .fab) { padding-bottom: calc(var(--safe-bottom) + 190px); }

/* Fiche membre */
.av-btn { border: 0; background: none; padding: 0; cursor: pointer; border-radius: 50%; display: inline-flex; }
.av-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 40%, transparent); outline-offset: 2px; }
.group-avs .av-btn + .av-btn, .group-avs .av-btn + .avatar { margin-left: -12px; }
.mc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.mc-head h3 { margin: 0; font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 28px; }
.mc-head p { margin: 4px 0 0; color: var(--muted); }
.mc-head .icon-btn { margin-left: auto; align-self: flex-start; }
.mc-list { display: grid; gap: 8px; margin-bottom: 12px; }
.mc-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.mc-row svg { color: var(--accent); flex: none; }
.mc-row small { display: block; color: var(--muted); font-size: 12.5px; }
.mc-row span { font-weight: 600; }
.mc-socs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.mc-soc { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--c); text-decoration: none; color: var(--ink); }
.mc-soc b { font-weight: 600; }
.mc-soc span { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check-row { display: flex; gap: 10px; align-items: center; min-height: 40px; font-size: 15px; }
.check-row input { width: 22px; height: 22px; accent-color: var(--accent); }
.mini-h { margin: 8px 0 0; font-size: 15px; font-weight: 600; }
.recommend-btn { margin-top: 2px; }

/* Repas */
.meal-today { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); }
.meal-today .eyebrow { display: inline-flex; gap: 6px; align-items: center; color: var(--warn, #8A5A00); }
.meal-t { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 24px; line-height: 1.15; }
.meal-t.muted { color: var(--muted); }
.meal-week { display: grid; gap: 8px; }
.meal-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.meal-row.today { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.meal-row.past { opacity: .6; }
.meal-row b { display: block; font-weight: 600; font-size: 16px; }
.meal-row small { color: var(--muted); font-size: 13px; }
.meal-row > svg { color: var(--muted); flex: none; }
.meal-day { width: 46px; flex: none; display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.meal-day small { color: var(--muted); font-size: 12px; font-weight: 600; }
.meal-day b { font-size: 20px; }
.meal-ideas button { font-size: 13.5px; padding: 7px 12px; }

/* Santé et forme */
.tabs-seg { display: flex; }
.tabs-seg a { flex: 1; text-align: center; padding: 10px; border-radius: 10px; color: var(--muted); font-weight: 600; text-decoration: none; }
.tabs-seg a.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.sport-go { display: flex; flex-direction: column; gap: 10px; }
.sport-kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sport-kinds button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.sport-kinds button:first-child { grid-column: 1 / -1; flex-direction: row; justify-content: center; background: var(--accent); border-color: var(--accent); color: #fff; font-size: 17px; padding: 16px; }
.sport-kinds svg { color: var(--accent); }
.sport-kinds button:first-child svg { color: #fff; }
.sport-live { display: flex; align-items: center; gap: 12px; border-color: #2E9E5B; }
.sport-live b { display: block; font-weight: 600; font-size: 17px; }
.cheers { display: flex; flex-wrap: wrap; gap: 6px; }
.cheers span { background: color-mix(in srgb, #2E9E5B 12%, var(--surface)); color: #1E7A45; border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-weight: 600; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat-row > div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.stat-row b { font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stat-row b.down { color: #1E7A45; }
.stat-row span { color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.encourage { margin: 0; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 7%, var(--surface)); font-weight: 600; }
.act-card { display: flex; gap: 12px; align-items: flex-start; }
.act-card b { display: block; font-weight: 600; }
.cheer-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cheer-btns button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; color: var(--ink); }
.act-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.act-row:last-child { border-bottom: 0; }
.act-row b { display: block; font-weight: 600; }
.act-row small { color: var(--muted); font-size: 13px; }
.act-row > svg { color: var(--accent); flex: none; }
.act-row.off { opacity: .55; }
.weight-in { display: flex; align-items: flex-end; gap: 10px; }
.weight-in .unit { font-weight: 600; color: var(--muted); align-self: center; }
.w-chart { width: 100%; height: auto; }
.w-chart .ln { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.w-chart circle { fill: var(--accent); }
.w-chart .goal { stroke: #2E9E5B; stroke-dasharray: 5 5; stroke-width: 1.5; }
.note-private { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, #33476B 8%, var(--surface)); color: #33476B; font-size: 14px; font-weight: 500; }
.med-times { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* Anniversaires */
.card.bday{display:flex;gap:14px;align-items:flex-start;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 14%,var(--card)),var(--card));border:1px solid color-mix(in srgb,var(--accent) 30%,transparent)}
.card.bday b{display:block;font-family:var(--serif,inherit);font-size:1.12rem;margin-bottom:2px}
.card.bday p{margin:0 0 10px;color:var(--muted);font-size:.92rem}
.card.bday.mine p{margin:0}
.bday-cake{font-size:34px;line-height:1;flex:none;animation:bdayHop 1.6s ease-in-out 2}
@keyframes bdayHop{0%,100%{transform:none}30%{transform:translateY(-6px) rotate(-6deg)}60%{transform:translateY(0) rotate(4deg)}}
@media (prefers-reduced-motion:reduce){.bday-cake{animation:none}}

/* Actu du jour */
.card.news{display:flex;flex-direction:column;gap:10px}
.news-top{display:flex;flex-direction:column;gap:6px;color:inherit;text-decoration:none}
.news-top b{font-size:1.22rem;line-height:1.28;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.news-top small,.news-row small{color:var(--muted);font-weight:700;font-size:.8rem}
.news-list{display:flex;flex-direction:column}
.news-row{display:flex;flex-direction:column;gap:4px;padding:12px 2px;border-bottom:1px solid var(--line);color:inherit;text-decoration:none}
.news-row:last-child{border-bottom:0}
.news-row b{font-size:1rem;line-height:1.3}
.news-row span{color:var(--muted);font-size:.88rem;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* Carte de position : mosaïque de tuiles */
.map-box .map-tiles { position: absolute; inset: 0; }
.map-box .osm, .map-box .map-pin { z-index: 1; }
.loc-card { width: 280px; }
.loc-card .map-box { height: 150px; }

/* Date du jour : cliquable, et bien visible dans l’agenda */
button.date-head { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: 16px; }
button.date-head:active .dh-num { transform: scale(.94); }
.dh-num { transition: transform .15s; }
.cal-day.today b { color: var(--surface); background: var(--ink); font-weight: 800; position: relative; }
.cal-day.today b::after { content: 'auj.'; position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%); font-size: 9px; font-weight: 800; letter-spacing: .02em; color: var(--accent); }
.cal-day.today .cal-dots { visibility: hidden; }
.cal-day.today.sel b { background: var(--accent-grad); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink), 0 4px 12px rgba(201, 79, 124, .3); }
.cal-legend i.tdy { background: var(--ink); border-radius: 50%; }
.since-chip.wed { margin-top: 6px; }

/* Partage vers les réseaux */
.share-prev { width: 100%; max-height: 240px; object-fit: cover; border-radius: 18px; }
.share-quote { margin: 0; padding: 14px 16px; border-radius: 18px; background: var(--surface-2); font-family: var(--serif); font-size: 17px; line-height: 1.4; white-space: pre-wrap; }
.viewer .v-share { top: calc(var(--safe-top) + 12px); right: 64px; }
.news-row > a { display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none; }
.news-row small { display: flex; align-items: center; gap: 10px; }
.news-sh { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 700; padding: 4px 0; }
/* Expéditeur dans les discussions de groupe */
.msg-who { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; padding: 0 6px 5px 2px; font: inherit; cursor: pointer; max-width: 100%; }
.msg-who b { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar.xs { width: 22px; height: 22px; font-size: 10.5px; border-width: 1.5px; flex: none; }
.rel-chip { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); white-space: nowrap; }
.rel-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.rel-opt { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.rel-opt.on { background: var(--accent-grad); color: #fff; border-color: transparent; }
button.mc-row { width: 100%; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
button.mc-row > span { flex: 1; }

/* Visuel à partager */
.promo { display: grid; gap: 16px; }
.promo-prev { position: relative; margin: 0 auto; width: min(62vw, 260px); aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: var(--surface-2); box-shadow: 0 14px 40px rgba(120, 40, 70, .18); }
.promo-prev.post { aspect-ratio: 4 / 5; width: min(70vw, 300px); }
.promo-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-prev .spin { position: absolute; left: 50%; top: 50%; margin: -11px; opacity: 0; transition: opacity .2s; }
.promo-prev.busy .spin { opacity: 1; }
.promo-prev.busy img { opacity: .5; }
.promo .seg button.on { background: var(--surface); }
.card.promo-card { display: flex; gap: 12px; background: linear-gradient(135deg, #FFF 0%, var(--accent-soft) 100%); }
.card.promo-card b { font-family: var(--serif); font-size: 1.08rem; display: block; }
.card.promo-card p { margin: 2px 0 10px; color: var(--muted); font-size: .92rem; }
.sync-card { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; font: inherit; color: var(--ink); margin-top: 16px; border: 1px solid var(--line); }
.sync-card b { display: block; font-weight: 700; }
.sync-card small { color: var(--muted); }
.sync-card > svg:first-child { color: var(--accent); }

/* Agenda vivant : titres dans les cases, barres sur plusieurs jours, autocollants animés */
.cal-day { height: 66px; justify-content: flex-start; padding-top: 3px; position: relative; overflow: visible; }
.cal-day b { height: 28px; width: 32px; flex: none; }
.cal-chips { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 0 1px; }
.cal-chip { display: block; font-style: normal; font-size: 9px; font-weight: 700; line-height: 13px; height: 13px; padding: 0 3px; border-radius: 4px; color: #fff; background: var(--c); white-space: nowrap; overflow: hidden; text-overflow: clip; text-align: left; }
.cal-chip.bar { border-radius: 0; margin: 0 -2px; }
.cal-chip.bar.s { border-top-left-radius: 4px; border-bottom-left-radius: 4px; margin-left: 1px; }
.cal-chip.bar.e { border-top-right-radius: 4px; border-bottom-right-radius: 4px; margin-right: 1px; }
.cal-more { font-style: normal; font-size: 9px; font-weight: 800; color: var(--muted); line-height: 11px; }
.cal-day .cal-dots { display: none; }
.cal-stk { position: absolute; top: -6px; right: -2px; font-size: 17px; line-height: 1; z-index: 1; animation: stkWiggle 3.2s ease-in-out infinite; animation-delay: calc(.6s + var(--i) * 90ms); filter: drop-shadow(0 2px 2px rgba(0,0,0,.18)); pointer-events: none; }
.cal.anim .cal-stk { animation: stkPop .5s cubic-bezier(.3, 1.6, .5, 1) both, stkWiggle 3.2s ease-in-out .6s infinite; animation-delay: calc(var(--i) * 18ms), calc(.6s + var(--i) * 90ms); }
@keyframes stkPop { from { transform: scale(0) rotate(-30deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes stkWiggle { 0%, 82%, 100% { transform: none; } 86% { transform: rotate(-12deg) scale(1.12); } 90% { transform: rotate(10deg) scale(1.12); } 94% { transform: rotate(-6deg); } }
.cal.slide-l .cal-grid { animation: calInL .32s cubic-bezier(.2, .8, .2, 1); }
.cal.slide-r .cal-grid { animation: calInR .32s cubic-bezier(.2, .8, .2, 1); }
@keyframes calInL { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes calInR { from { transform: translateX(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 9999; overflow: hidden; }
.confetti i { position: absolute; top: -20px; left: var(--x); width: 8px; height: 13px; border-radius: 2px; animation: cfFall var(--d) cubic-bezier(.25, .6, .5, 1) var(--dl) forwards; }
.confetti i:nth-child(3n) { width: 10px; height: 10px; border-radius: 50%; }
@keyframes cfFall { 0% { transform: translateY(0) rotate(0); opacity: 1; } 100% { transform: translateY(85vh) rotate(var(--r)); opacity: 0; } }
.confetti b { position: absolute; left: 50%; top: 38%; font-size: 84px; transform: translate(-50%, -50%) scale(0); animation: cfBig 1.4s cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes cfBig { 0% { transform: translate(-50%, -50%) scale(0) rotate(-20deg); opacity: 0; } 30% { transform: translate(-50%, -50%) scale(1.15) rotate(6deg); opacity: 1; } 75% { opacity: 1; } 100% { transform: translate(-50%, -80%) scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cal-stk, .cal.slide-l .cal-grid, .cal.slide-r .cal-grid { animation: none; } }

/* Bouton « Une question ? » redessiné */
.nx-help-fab { right: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); padding: 6px 18px 6px 6px; gap: 10px; background: linear-gradient(135deg, #E27596, #C94F7C); color: #fff; font-size: 15px; font-weight: 700; border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 12px 28px rgba(201, 79, 124, .38), 0 2px 6px rgba(0, 0, 0, .12); transition: transform .15s, box-shadow .15s; }
.nx-help-fab:hover { background: linear-gradient(135deg, #E8839F, #B8426D); transform: translateY(-2px); }
.nx-help-fab .hf-ico { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #C94F7C; display: inline-flex; align-items: center; justify-content: center; flex: none; }
body:has(.cookie-bar) .nx-help-fab { bottom: calc(env(safe-area-inset-bottom, 0px) + 150px); }
.nx-ig { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px 16px 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none; }
.nx-ig svg { color: #F58FB1; }
.nx-ig span { display: flex; flex-direction: column; line-height: 1.25; }
.nx-ig b { font-weight: 700; font-size: 14.5px; }
.nx-ig span { font-size: 13px; color: rgba(255, 255, 255, .7); }
.nx-ig:hover { background: rgba(255, 255, 255, .1); }
/* Date du jour toujours lisible (clair, sombre, sélectionnée) */
.cal-day.today b { background: #2E2529; color: #fff !important; -webkit-text-fill-color: #fff; }
.cal-day.today.sel b { background: var(--accent-grad); color: #fff !important; -webkit-text-fill-color: #fff; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px #2E2529, 0 4px 12px rgba(201, 79, 124, .3); }
.cal-day.sel b { -webkit-text-fill-color: #fff; }

/* Fond du visuel d’accueil : un rose doux à la place du vert */
.nx-panel { background: linear-gradient(155deg, #F8C3D3 0%, #EE9DB8 55%, #E2859F 100%); }
.nx-tile.t-budget { background: linear-gradient(150deg, #E98AA8, #C94F7C); }
.space-bar { justify-content: space-between; align-items: center; margin: 6px 0 -2px; min-height: 40px; }
.app-logo { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 4px 12px rgba(201, 79, 124, .28); flex: none; }
.space-bar .space-pill { margin-left: auto; }
.nx-foot-id { display: flex; align-items: center; gap: 14px; }
.nx-round { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 8px 24px rgba(201, 79, 124, .35); flex: none; }
/* Tuiles Budget et Question : centrées verticalement, sans vide en haut */
@media (min-width: 700px) {
  .nx-tile.t-budget, .nx-tile.t-question { align-items: center; min-height: 0; padding: 28px 30px; }
}
.nx-tile.t-budget, .nx-tile.t-question { min-height: 0; justify-content: center; }
/* ---------- Organisations ---------- */
.org-head { display: flex; align-items: center; gap: 14px; margin: 14px 0 18px; }
.org-head h1 { font-family: var(--serif); font-size: 30px; line-height: 1.1; margin: 0 0 6px; font-weight: 600; }
.org-badge { width: 58px; height: 58px; border-radius: 18px; background: var(--accent-grad); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; box-shadow: 0 8px 20px rgba(201, 79, 124, .3); }
.team-chip { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--c, #4A6094) 14%, transparent); color: var(--c, #4A6094); white-space: nowrap; }
.team-chip.all { --c: #6B5B63; }
.team-chip.role-admin { --c: #C94F7C; }
.team-chip.role-staff { --c: #2E7D5B; }
.team-chip.role-member { --c: #4A6094; }
.org-quick { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 6px; }
.org-quick .btn { flex: 1 1 auto; }
.org-post, .org-ev, .org-poll { display: flex; flex-direction: column; gap: 8px; }
.org-post.pin { border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.org-post.unread { box-shadow: inset 3px 0 0 var(--accent); }
.op-head { display: flex; align-items: center; gap: 10px; }
.op-head > .grow { min-width: 0; display: flex; flex-direction: column; }
.op-head b { font-size: 14px; }
.op-head small { color: var(--muted); font-size: 12px; }
.pin-ico { color: var(--accent); display: inline-flex; }
.org-post h3, .org-ev h3, .org-poll h3 { margin: 2px 0 0; font-size: 17.5px; line-height: 1.3; font-weight: 700; }
.op-body { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.op-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 4px; border-top: 1px solid var(--line-2); margin-top: 2px; }
.op-foot .card-link { display: inline-flex; align-items: center; gap: 5px; padding: 6px 0; }
.card-link.danger { color: var(--danger, #B23A3A); margin-left: auto; }
.org-ev { flex-direction: row; gap: 14px; align-items: flex-start; }
.org-ev.cancelled h3 { text-decoration: line-through; opacity: .6; }
.oe-date { width: 54px; flex: none; text-align: center; border-radius: 16px; background: var(--accent-soft); color: var(--accent-ink); padding: 8px 0 7px; display: flex; flex-direction: column; line-height: 1.05; }
.oe-date b { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.oe-date small { font-size: 12px; font-weight: 700; }
.oe-date i { font-style: normal; font-size: 11px; opacity: .75; margin-top: 2px; }
.org-ev > .grow { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.oe-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.oe-kind { font-size: 12.5px; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.rsvp-row { display: flex; gap: 6px; margin-top: 4px; }
.rsvp { flex: 1; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 12px; padding: 9px 4px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background .15s, color .15s; }
.rsvp.yes.on { background: #2E7D5B; border-color: #2E7D5B; color: #fff; }
.rsvp.maybe.on { background: #C77A2E; border-color: #C77A2E; color: #fff; }
.rsvp.no.on { background: #B23A3A; border-color: #B23A3A; color: #fff; }
.org-ev .card-link { align-self: flex-start; padding: 2px 0; font-size: 13px; }
.poll-opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 11px 14px; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; overflow: hidden; text-align: left; }
.poll-opt i { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--accent) 14%, transparent); transition: width .4s cubic-bezier(.2, .8, .2, 1); }
.poll-opt span, .poll-opt b { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.poll-opt b { font-size: 13px; color: var(--muted); }
.poll-opt.on { border-color: var(--accent); }
.poll-opt.on span { color: var(--accent-ink); font-weight: 700; }
.org-poll.closed .poll-opt { cursor: default; }
.org-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 22px 0 8px; }
.org-links a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 4px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: 12.5px; font-weight: 700; }
.org-links a svg { color: var(--accent); }
.org-warn { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; border: 1px solid color-mix(in srgb, #C77A2E 40%, transparent); }
.org-warn b { display: block; } .org-warn small { color: var(--muted); }
.team-filter { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; }
.team-filter button { flex: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.team-filter button.on { background: var(--c, var(--ink)); border-color: transparent; color: #fff; }
.org-members { padding: 4px 0; }
.om-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 16px; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.om-row + .om-row { border-top: 1px solid var(--line-2); }
.om-row > .grow { min-width: 0; display: flex; flex-direction: column; }
.om-row b { font-size: 15px; font-weight: 700; }
.om-row small { font-size: 12.5px; color: var(--muted); }
.om-row > svg:last-child { color: var(--faint); }
.org-members.pick .om-row input { width: 20px; height: 20px; accent-color: var(--accent); }
.org-tabs { display: flex; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.org-tabs button { flex: 1 0 auto; }
.bill-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bill-tiers > div { border: 1px solid var(--line); border-radius: 16px; padding: 12px 8px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.bill-tiers > div.on { border-color: var(--accent); background: var(--accent-soft); }
.bill-tiers b { font-family: var(--serif); font-size: 20px; }
.bill-tiers small, .bill-tiers span { font-size: 11.5px; color: var(--muted); }
.org-past summary { cursor: pointer; font-weight: 700; color: var(--muted); padding: 14px 2px; }
.tm-pick { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.tm-pick input { accent-color: var(--accent); }
#tm-col { display: flex; gap: 10px; flex-wrap: wrap; }
#tm-col button { width: 34px; height: 34px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; }
#tm-col button.on { border-color: var(--surface); box-shadow: 0 0 0 2px var(--ink); }

/* Connexion avec Google / Facebook */
.oauth { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 14px; }
.oauth-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border-radius: 16px; font-weight: 700; font-size: 15.5px; text-decoration: none; }
.oauth-btn.g { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(0, 0, 0, .05); }
.oauth-btn.f { background: #1877F2; color: #fff; }
.oauth-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin-top: 6px; }
.oauth-or::before, .oauth-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.nx-footer a.nx-help-fab { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; background: linear-gradient(135deg, #E27596, #C94F7C); color: #fff; padding: 6px 18px 6px 6px; text-decoration: none; }
.nx-footer a.nx-help-fab:hover { background: linear-gradient(135deg, #E8839F, #B8426D); color: #fff; }
.nx-footer a.nx-ig { display: inline-flex; flex-direction: row; align-items: center; gap: 12px; margin-top: 18px; padding: 10px 18px 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none; }
.nx-footer a.nx-ig span { display: flex; flex-direction: column; color: rgba(255, 255, 255, .7); font-size: 13px; line-height: 1.3; }
.nx-footer a.nx-ig b { color: #fff; font-size: 14.5px; }
.nx-nav a.nx-nav-a { font-size: 15px; font-weight: 600; color: var(--nx-ink2); padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.nx-nav a.nx-nav-a:hover { color: var(--nx-ink); background: var(--nx-mist); }
.nx-drawer nav a.nx-nav-a { display: block; border-bottom: 1px solid var(--nx-line); text-decoration: none; font-family: var(--nx-serif); font-size: 26px; font-weight: 500; color: var(--nx-ink); padding: 16px 0; }
.contact-page .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-page .captcha { display: flex; align-items: flex-end; gap: 12px; padding: 14px; border-radius: 18px; background: var(--surface-2); }
.contact-page .captcha .field { flex: 1; margin: 0; }
.contact-page .captcha .card-link { padding-bottom: 14px; white-space: nowrap; }
@media (min-width: 760px) { .contact-page { max-width: 640px; } }

/* ---------- Page Contact (site) ---------- */
.contact-site { min-height: 100vh; background: var(--nx-paper, #FBF5F2); display: flex; flex-direction: column; }
.contact-site .ct-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--nx-line, rgba(0,0,0,.08)); }
.ct-nav { display: none; gap: 4px; }
.ct-nav a { font-size: 15px; font-weight: 600; color: var(--nx-ink2, #4A3F43); padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.ct-nav a:hover, .ct-nav a[aria-current] { color: var(--nx-ink, #221A26); background: var(--nx-mist, #F3ECEF); }
.contact-site .nx-actions .nx-login { display: none; }
.ct-main { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 24px 18px 40px; display: grid; gap: 22px; }
.ct-side { border-radius: 28px; padding: 28px 24px; background: linear-gradient(155deg, #F8C3D3 0%, #EE9DB8 55%, #E2859F 100%); color: #2E1F27; position: relative; overflow: hidden; }
.ct-side::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.ct-logo { width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 10px 24px rgba(150, 40, 80, .3); }
.ct-side h1 { font-family: var(--serif); font-size: clamp(34px, 6vw, 52px); line-height: 1.05; margin: 16px 0 10px; font-weight: 600; }
.ct-side p { margin: 0 0 18px; font-size: 16.5px; line-height: 1.55; max-width: 34em; color: #4A2B38; }
.ct-ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.ct-ways li { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .55); border-radius: 16px; padding: 12px 14px; }
.ct-ways li > svg { color: #A3355F; flex: none; }
.ct-ways span { display: flex; flex-direction: column; font-size: 14.5px; font-weight: 600; min-width: 0; }
.ct-ways small { font-size: 12px; font-weight: 600; color: #7A4B5E; }
.ct-ways a { color: #2E1F27; text-decoration: none; overflow-wrap: anywhere; }
.ct-ways a:hover { text-decoration: underline; }
.ct-card { background: #fff; border-radius: 28px; padding: 24px 20px; box-shadow: 0 20px 50px rgba(80, 30, 50, .08); border: 1px solid rgba(0, 0, 0, .05); }
.ct-card .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-card .captcha { display: flex; align-items: flex-end; gap: 12px; padding: 14px; border-radius: 18px; background: var(--surface-2); flex-wrap: wrap; }
.ct-card .captcha .field { flex: 1; margin: 0; min-width: 200px; }
.ct-card .captcha .card-link { padding-bottom: 14px; white-space: nowrap; }
.ct-foot { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; align-items: center; max-width: 1180px; width: 100%; margin: 0 auto; padding: 22px 18px 30px; font-size: 13.5px; color: #7B6C71; }
.ct-foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.ct-foot a { color: inherit; }
@media (min-width: 900px) {
  .ct-nav { display: flex; }
  .contact-site .nx-actions .nx-login { display: inline-flex; }
  .ct-main { grid-template-columns: 1fr 1.15fr; gap: 36px; padding: 56px 24px 64px; align-items: start; }
  .ct-side { padding: 44px 40px; position: sticky; top: 104px; }
  .ct-card { padding: 36px 36px; }
}

/* Légende du téléphone animé (accueil du site) */
.nx-reel-cap { display: flex; align-items: center; gap: 14px; text-align: left; min-height: 0; margin: 22px auto 0; max-width: 360px; padding: 14px 18px 14px 14px; border-radius: 22px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 14px 34px rgba(120, 40, 70, .12); }
.nx-reel-cap.swap { animation: capIn .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes capIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.rc-ico { width: 46px; height: 46px; border-radius: 15px; display: flex; align-items: center; justify-content: center; flex: none; background: #FBE3EC; color: #C94F7C; }
.rc-ico.tone-ok { background: #E3F1E5; color: #2E7D5B; }
.rc-ico.tone-blue { background: #E6EBF8; color: #4A6094; }
.rc-ico.tone-lilac { background: #EFE7F7; color: #7A4FA8; }
.rc-ico.tone-warn { background: #FCEBDD; color: #B0632E; }
.rc-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nx-reel-cap .rc-txt b { display: block; font-family: var(--nx-serif); font-weight: 600; font-size: 19px; line-height: 1.2; color: var(--nx-ink); }
.nx-reel-cap .rc-txt span { color: var(--nx-ink2); font-size: 14.5px; line-height: 1.4; }
@media (prefers-color-scheme: dark) { .nx-reel-cap { background: rgba(40, 30, 44, .8); border-color: rgba(255, 255, 255, .08); } }
@media (prefers-reduced-motion: reduce) { .nx-reel-cap.swap { animation: none; } }
/* Barre du haut (logo + espace) : toujours visible quand on fait défiler */
.screen > .space-bar:first-child { position: sticky; top: 0; z-index: 30; margin: calc(-1 * (var(--safe-top) + 22px)) -18px -6px; padding: calc(var(--safe-top) + 10px) 18px 10px; background: var(--bg); transition: box-shadow .2s, border-color .2s; border-bottom: 1px solid transparent; }
.screen > .space-bar.stuck { border-bottom-color: var(--line); box-shadow: 0 6px 18px rgba(80, 40, 55, .06); }
/* Réglages : enfants + message de confiance */
.kids-set-lead { margin: 4px 16px 6px; padding-top: 10px; color: var(--ink-2, #5b5058); font-size: 14px; line-height: 1.45; }
.trust-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: var(--accent-soft, #FBE4EC); color: var(--ink); margin-top: 10px; }
.trust-note svg { flex: none; margin-top: 2px; color: var(--accent-ink, #A3335E); }
.trust-note p { margin: 0; font-size: 13.5px; line-height: 1.5; }
.trust-note b { display: block; margin-bottom: 2px; font-size: 14px; }
/* Souvenirs : catégories, vidéos, import Google */
.alb-row { display: flex; gap: 8px; overflow-x: auto; margin: 0 -18px; padding: 2px 18px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.alb-row::-webkit-scrollbar { display: none; }
.alb-chip { --ac: var(--accent); flex: none; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.alb-chip small { font-weight: 700; font-size: 12px; color: var(--muted); }
.alb-chip .alb-ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ac) 14%, transparent); color: var(--ac); }
.alb-chip.on { background: var(--ac); border-color: var(--ac); color: #fff; }
.alb-chip.on small { color: rgba(255,255,255,.8); }
.alb-chip.on .alb-ico { background: rgba(255,255,255,.22); color: #fff; }
.alb-chip.add { padding: 0 14px; color: var(--accent-ink); border-style: dashed; background: transparent; }
.alb-head { --ac: var(--accent); display: flex; align-items: center; gap: 12px; }
.alb-ico.lg { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: color-mix(in srgb, var(--ac) 14%, transparent); color: var(--ac); flex: none; }
.alb-tag { --ac: var(--accent); display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; color: var(--ac); background: color-mix(in srgb, var(--ac) 11%, transparent); padding: 3px 9px 3px 7px; border-radius: 999px; margin-bottom: 6px; }
.alb-ideas { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 4px; }
.alb-ideas button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.alb-icons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.alb-icons button { aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.alb-icons button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.mosaic video, .thumb video { width: 100%; height: 100%; object-fit: cover; display: block; background: #2a2226; }
.mosaic button, .thumb { position: relative; }
.vid-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: rgba(20, 12, 16, .55); color: #fff; display: grid; place-items: center; pointer-events: none; backdrop-filter: blur(4px); }
.thumb .vid-badge { width: 26px; height: 26px; }
.thumb .g-wait { position: absolute; inset: 0; display: grid; place-items: center; background: var(--surface-2, #F3ECEF); }
.mem-src { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mem-src button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font: inherit; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; }
.mem-src button:active { transform: scale(.98); }
.g-ico { flex: none; }
.g-status { margin-top: 10px; }
.g-step { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2, #F6F0F2); font-size: 14px; }
.g-step.col { flex-direction: column; align-items: flex-start; gap: 6px; }
.g-step .btn.sm { margin-left: auto; }
.g-step.col .btn.sm { margin-left: 0; }
.viewer video { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.picker-dialog-bg { z-index: 100000 !important; }
.picker-dialog { z-index: 100001 !important; }
.mem-src { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.mem-src button { justify-content: center; }
/* Footer : le grand « Nous » passe en fond, derrière les rubriques (plus de bloc en dessous) */
.nx-foot-grid { position: relative; isolation: isolate; }
.nx-foot-grid > :not(.nx-foot-mark) { position: relative; z-index: 1; }
.nx-foot-mark { position: absolute; z-index: 0; margin: 0; right: -2%; bottom: 8px; width: 68%; display: block; opacity: .06; pointer-events: none; }
.nx-foot-mark .logo { width: 100%; max-width: none; }
@media (max-width: 760px) { .nx-foot-mark { width: 120%; right: -10%; bottom: 0; opacity: .05; } }
/* Réglages : libellé + détail en dessous (plus de texte serré à droite) */
.settings-row .sr-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.settings-row .sr-l { font-size: 16px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.settings-row .sr-v { font-size: 13.5px; font-weight: 500; line-height: 1.35; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.settings-row .sr-v b { color: var(--accent-ink); font-weight: 800; }
.settings-row > .ico-sq.neutral { background: var(--accent-soft); color: var(--accent-ink); }
.settings-row > svg:last-child { color: var(--muted); opacity: .7; flex: none; }
.settings-row { min-height: 64px; padding: 10px 0; }
/* Barre du haut : espace + réglages toujours visibles */
.space-bar .sb-r { display: flex; align-items: center; gap: 8px; margin-left: auto; min-width: 0; }
.space-bar .sb-r .space-pill { margin-left: 0; min-width: 0; }
.space-bar .sb-set { flex: none; }
/* Champs date : date complète avec le jour, par-dessus le champ natif */
.date-fx { position: relative; display: block; width: 100%; }
.date-fx > input[type="date"] { color: transparent; }
.date-fx > input[type="date"]::-webkit-datetime-edit { color: transparent; }
.date-fx-l { position: absolute; left: 17px; right: 44px; top: 50%; transform: translateY(-50%); font-size: 16px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.date-fx.empty .date-fx-l { color: var(--muted); }
.date-fx:focus-within > input[type="date"], .date-fx:focus-within > input[type="date"]::-webkit-datetime-edit { color: var(--ink); }
.date-fx:focus-within .date-fx-l { visibility: hidden; }
@media (pointer: coarse) {
  .date-fx:focus-within > input[type="date"], .date-fx:focus-within > input[type="date"]::-webkit-datetime-edit { color: transparent; }
  .date-fx:focus-within .date-fx-l { visibility: visible; }
}
.field > span.date-fx { padding: 0; font-size: 16px; font-weight: 400; color: var(--ink); }
.date-fx > input[type="date"] { position: relative; }
.date-fx > input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); opacity: .55; }
.date-fx-l { font-weight: 500; }
/* Deux dates côte à côte : on les empile pour lire la date en entier */
.two:has(.date-fx) { grid-template-columns: 1fr; }
.date-fx-l { text-align: left; }
/* Couleur de chaque membre : un anneau autour de la photo */
.avatar.has-img { border-color: var(--uc, rgba(255,255,255,.9)); }
.avatar { border-color: color-mix(in srgb, var(--uc, #fff) 55%, #fff); }
.avatar.has-img { border-color: var(--uc); }
.profile-color > span small { display: block; font-size: 12.5px; font-weight: 500; color: var(--faint); margin-top: 2px; }
/* Accueil couple : les enfants, discrets sous les photos */
.head-kids { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: -2px 0 2px; }
.head-kids .hk { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink-2); font-size: 13px; font-weight: 700; text-decoration: none; }
.head-kids .hk .avatar { width: 24px; height: 24px; font-size: 11.5px; border-width: 0; box-shadow: none; }
.head-kids .hk.more { padding: 3px 10px; color: var(--muted); }
/* Affichage et accessibilité */
.disp-card { display: flex; flex-direction: column; gap: 16px; }
.disp-block { display: flex; flex-direction: column; gap: 8px; }
.disp-l { font-size: 14px; font-weight: 800; color: var(--ink-2); }
.disp-hint { font-size: 13px; color: var(--muted); }
.disp-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; background: var(--surface-2); border-radius: 16px; padding: 4px; }
.disp-seg button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--ink-2); font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; }
.disp-seg button.on { background: var(--surface); color: var(--accent-ink); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 4px 10px rgba(0,0,0,.05); }
.disp-seg button b { font-weight: 800; }
.disp-rows { margin: 0 -2px; }
.disp-reset { align-self: center; border: 0; background: none; color: var(--accent-ink); font: inherit; font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 4px 8px; }
/* Taille du texte : toute l’interface grandit, pas seulement le texte */
html.a11y-zoom #app, html.a11y-zoom #sheets .sheet, html.a11y-zoom .viewer, html.a11y-zoom .toast { zoom: var(--ui-zoom); }
/* Contraste élevé */
html.a11y-contrast { --muted: #3E3542; --faint: #5A515F; --ink-2: #1D1620; --line: rgba(20, 12, 24, .32); --line-2: rgba(20, 12, 24, .22); --accent-ink: #7E0E3C; }
html.a11y-contrast.theme-dark { --muted: #E2DAE5; --faint: #CFC6D3; --ink-2: #FFFFFF; --ink: #FFFFFF; --line: rgba(255, 255, 255, .35); --line-2: rgba(255, 255, 255, .24); --accent-ink: #FFC1D6; }
html.a11y-contrast .card, html.a11y-contrast .input, html.a11y-contrast .select, html.a11y-contrast .textarea, html.a11y-contrast .btn.ghost { border: 1.5px solid var(--line); }
/* Souligner les liens */
html.a11y-links #app a:not(.btn):not(.nav-item):not(.icon-btn):not(.card):not(.settings-row):not(.hk), html.a11y-links .sheet a:not(.btn), html.a11y-links .card-link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
/* Espacement de lecture */
html.a11y-spacing #app, html.a11y-spacing .sheet { letter-spacing: .03em; word-spacing: .1em; }
html.a11y-spacing #app p, html.a11y-spacing #app .sub, html.a11y-spacing #app .pre, html.a11y-spacing .sheet p, html.a11y-spacing .bubble { line-height: 1.75; }
/* Réduire les animations */
html.a11y-calm *, html.a11y-calm *::before, html.a11y-calm *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
html.a11y-links #nav a, html.a11y-links .nav a { text-decoration: none !important; }
.space-bar .sb-theme { flex: none; }
.viewer > .icon-btn, .viewer > button { z-index: 2; }

/* Annonce Google : un seul bloc, accueil des espaces gratuits */
.adbox { position: relative; max-width: 560px; margin: calc(-1 * (var(--safe-bottom) + 86px)) auto 0; padding: 0 16px calc(var(--safe-bottom) + 104px); }
.adbox[hidden] { display: none; }
.adbox-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .78rem; color: var(--muted); margin: 0 4px 6px; }
.adbox-head button { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.adbox ins.adsbygoogle { min-height: 90px; border-radius: 16px; overflow: hidden; background: var(--surface-2); }

.offline.sync { background: var(--accent); }
.msg.pending .msg-time { color: var(--muted); }

/* Administration */
.adm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.adm-k { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.adm-k b { font-family: var(--serif, Fraunces, serif); font-size: 30px; font-weight: 600; line-height: 1.05; color: var(--ink); }
.adm-k span { font-size: 13px; color: var(--muted); font-weight: 600; }
.adm-k.hl { background: var(--accent); border-color: var(--accent); }
.adm-k.hl b, .adm-k.hl span { color: #fff; }
.adm-chart { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; align-items: end; height: 150px; padding: 16px 12px 10px; }
.adm-bar { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.adm-bar i { display: block; width: 100%; max-width: 18px; border-radius: 6px 6px 3px 3px; background: var(--accent); opacity: .85; }
.adm-bar em { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--ink2, var(--muted)); margin-bottom: 3px; order: -1; }
.adm-bar small { height: 14px; font-size: 10.5px; color: var(--muted); margin-top: 4px; }
.adm-row .val { font-size: 12px; color: var(--muted); white-space: nowrap; }
@media (min-width: 700px) { .adm-grid { grid-template-columns: repeat(4, 1fr); } }

/* Autocollants des fêtes */
.stk-svg { width: 1.15em; height: 1.15em; display: block; }
.fete-line { display: flex; align-items: center; gap: 12px; padding: 12px 16px; font-weight: 700; }
.fete-line > span:last-child { display: flex; flex-direction: column; }
.fete-line small { font-weight: 600; color: var(--muted); font-size: 12.5px; }
.fete-ico { font-size: 26px; line-height: 1; display: grid; place-items: center; width: 34px; }

.adm-all b { font-weight: 700; color: var(--accent-ink, var(--accent)); }
.adm-feed { padding: 4px 0; }
.adm-ev { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.35; }
.adm-ev:last-of-type { border-bottom: 0; }
.adm-ev a { color: var(--ink); text-decoration: none; }
.adm-ev small { grid-row: 1; grid-column: 2; color: var(--muted); font-size: 12px; white-space: nowrap; padding-top: 2px; }
.adm-ev > a, .adm-ev > span:first-child { grid-column: 1; }
.adm-ev { grid-template-areas: none; }
.adm-search { margin: 0 0 10px; }
.adm-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.adm-tag { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.adm-tag.ok { background: var(--ok-soft, #E3F3E8); color: var(--ok, #2E7D4F); }
.adm-tag.err { background: #FBE3E8; color: #B33A57; }
.adm-pager { justify-content: space-between; align-items: center; margin-top: 12px; }
.adm-id > div { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.adm-id > div span { color: var(--muted); font-size: 13.5px; }
.adm-id dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: 14px; }
.adm-id dt { color: var(--muted); }
.adm-id dd { margin: 0; font-weight: 600; text-align: right; }

/* Bouton jour / nuit du site */
.nx-theme { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--nx-line); background: var(--nx-paper); color: var(--nx-ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.nx-theme:hover { border-color: var(--nx-ink2); }

/* Import des agendas du téléphone */
.cs-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); margin-bottom: 14px; }
.cs-tabs button { border: 0; background: none; padding: 10px 8px; border-radius: 11px; font: inherit; font-weight: 700; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.cs-tabs button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.ci-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.ci-row b { display: block; }
.ci-row small { color: var(--muted); font-size: 12.5px; }
.ci-busy { gap: 12px; min-height: 44px; font-weight: 600; font-size: 14px; cursor: pointer; }
.ci-busy input { width: 22px; height: 22px; flex: none; accent-color: var(--accent); }
.ci-steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.45; }

.cal-zone { border: 0; background: none; padding: 0; font: inherit; color: inherit; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.adm-orig { display: grid; gap: 10px; }
.ao-row { display: grid; grid-template-columns: minmax(0, 11em) 1fr auto; align-items: center; gap: 10px; font-size: 14px; }
.ao-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ao-row i { display: block; height: 8px; width: var(--w); border-radius: 4px; background: var(--accent); }
.ao-row b { font-size: 13px; }

/* Carte profil (réglages) + bulle de statut */
.pc2 { position: relative; overflow: hidden; padding-top: 22px; }
.pc2::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 118px; background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--uc) 22%, transparent), transparent 70%); pointer-events: none; }
.pc-top { position: relative; display: flex; align-items: flex-end; gap: 18px; padding-top: 30px; }
.pc-av { position: relative; flex: none; }
.pc-av .avatar.xl { width: 92px; height: 92px; border: 3px solid var(--surface); box-shadow: 0 0 0 3px var(--uc), 0 10px 24px -12px color-mix(in srgb, var(--uc) 60%, #000); }
.pc-av .profile-cam { right: -2px; bottom: -2px; }
.pc-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-bottom: 6px; }
.pc-id b { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 28px; line-height: 1.05; letter-spacing: -.01em; }
.pc-mail { color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-space { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 5px 11px 5px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: color-mix(in srgb, var(--uc) 80%, var(--ink)); background: color-mix(in srgb, var(--uc) 12%, var(--surface)); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-bubble { position: absolute; left: 50%; bottom: calc(100% - 14px); transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 5px; max-width: 150px; padding: 6px 11px; border-radius: 16px; background: var(--surface); color: var(--ink); font: 600 12.5px/1.2 var(--sans, inherit); box-shadow: 0 6px 18px -6px rgba(40, 20, 40, .28), 0 0 0 1px var(--line); white-space: nowrap; border: 0; cursor: default; }
.st-bubble::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 0 0 3px 0; box-shadow: 1px 1px 0 0 var(--line); }
button.st-bubble { cursor: pointer; }
.st-bubble .st-txt { overflow: hidden; text-overflow: ellipsis; }
.st-bubble .st-emo { font-size: 15px; line-height: 1; }
.st-bubble.add { color: var(--muted); background: var(--surface); box-shadow: none; outline: 1.5px dashed var(--line); outline-offset: -1.5px; }
.st-bubble.add::after { display: none; }
.pc-av .st-bubble { left: 46px; bottom: calc(100% - 8px); }
.av-btn { position: relative; }
.av-btn .st-bubble { max-width: 120px; font-size: 11.5px; padding: 5px 9px; bottom: calc(100% - 4px); }
.couple-head .avatars { margin-top: 18px; }
.st-preview { display: flex; justify-content: center; padding: 18px 0 6px; }
.st-bubble.big { position: relative; left: auto; bottom: auto; transform: none; max-width: 100%; font-size: 15px; padding: 9px 15px; }
.st-emos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.st-e { aspect-ratio: 1; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); font-size: 22px; cursor: pointer; }
.st-e.on { border-color: var(--accent); background: var(--accent-soft, #FBE6EE); }
.couple-head .avatars > .av-btn:first-child .st-bubble { left: auto; right: calc(50% - 18px); transform: none; }
.couple-head .avatars > .av-btn:first-child .st-bubble::after { left: auto; right: 12px; transform: rotate(45deg); }
.couple-head .avatars > .av-btn:last-child:not(:first-child) .st-bubble { left: calc(50% - 18px); transform: none; }
.couple-head .avatars > .av-btn:last-child:not(:first-child) .st-bubble::after { left: 12px; transform: rotate(45deg); }

/* ===== Services de la famille ===== */
.ico-sq.warn, .ico-sq.warm, .tile-ico.warn { background: var(--warn-soft); color: var(--warn); }
.frow2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 380px) { .frow2 { grid-template-columns: 1fr; } }
.x-intro { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin: -4px 0 14px; border-radius: 16px; background: var(--surface-2); color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.x-intro svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.x-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 26px 20px; }
.x-empty .sub { max-width: 34ch; }
.x-check { gap: 12px; min-height: 44px; align-items: center; font-weight: 600; }
.x-check input { width: 22px; height: 22px; accent-color: var(--accent); flex-shrink: 0; }
.x-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.x-thumb { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--surface-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--ink-2); text-decoration: none; }
.x-thumb img { width: 100%; height: 100%; object-fit: cover; }
.x-thumb.file span { font-size: 10.5px; max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-doc .sr-txt { gap: 2px; }
.x-exp { font-size: 12px; font-weight: 700; color: var(--muted); }
.x-exp.soon { color: var(--warn); }
.x-exp.late { color: #C0392B; }

.x-cust .x-today { margin: 12px 0 10px; padding: 10px 12px; border-radius: 12px; font-size: 15px; }
.x-today.a, .x-day.a, .x-legend .a::before { background: var(--blue-soft); color: var(--blue); }
.x-today.b, .x-day.b, .x-legend .b::before { background: var(--accent-soft); color: var(--accent-ink); }
.x-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.x-day { border: 0; border-radius: 11px; padding: 6px 0; display: flex; flex-direction: column; align-items: center; font: inherit; cursor: pointer; }
.x-day small { font-size: 10.5px; opacity: .75; font-weight: 700; }
.x-day b { font-size: 15px; }
.x-day.sw { box-shadow: inset 0 0 0 2px currentColor; }
.x-day:disabled { cursor: default; }
.x-legend { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 10px; font-size: 13px; font-weight: 700; }
.x-legend .a::before, .x-legend .b::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.x-legend .sub { margin-left: auto; font-weight: 600; font-size: 12px; }
.x-note { padding: 12px 0; border-bottom: 1px solid var(--line, rgba(0,0,0,.06)); }
.x-note:last-child { border-bottom: 0; }
.x-note p { margin: 6px 0 2px; white-space: pre-wrap; }
.x-kids { display: flex; flex-wrap: wrap; gap: 8px; }
.x-kid { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 22px; background: var(--surface-2); font-weight: 700; }
.x-kid input { accent-color: var(--accent); }

.x-rout .x-steps { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; }
.x-step { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--glass-border); background: var(--surface-2); font: inherit; font-weight: 700; text-align: left; color: var(--ink); cursor: pointer; }
.x-step i { width: 26px; height: 26px; border-radius: 9px; border: 2px solid var(--check-border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.x-step.on { background: var(--ok-soft); border-color: transparent; }
.x-step.on i { background: var(--ok); border-color: var(--ok); color: #fff; }
.x-step.on span { text-decoration: line-through; color: var(--ink-2); }
.x-stars { font-weight: 800; color: var(--warn); }
.x-prog { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; margin-bottom: 6px; }
.x-prog i { display: block; height: 100%; background: linear-gradient(90deg, #F2B53A, #E27596); border-radius: 4px; transition: width .3s; }
.x-rout.full { background: var(--ok-soft); }

.x-safe, .x-trip { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.x-safe .grow { min-width: 160px; display: flex; flex-direction: column; gap: 2px; }
.x-trip.late { background: var(--warn-soft); }
.x-home-cust { display: flex; gap: 10px; align-items: center; color: var(--ink-2); }
.x-home-cust span { flex: 1; }
.x-cal-cust svg { vertical-align: -2px; color: var(--ok); }

.x-sos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.x-sos { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 18px; background: #C0392B; color: #fff; text-decoration: none; min-height: 92px; }
.x-sos b { font-size: 30px; line-height: 1; font-weight: 800; }
.x-sos span { font-size: 13px; font-weight: 600; opacity: .92; }
.x-sos:nth-child(2) { background: #B4502A; } .x-sos:nth-child(3) { background: #2F4A86; } .x-sos:nth-child(4) { background: #A3361F; }
.x-crow { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px dashed var(--glass-border); }
.x-crow [name=cp] { grid-column: 1 / -1; }
.x-kidh { border: 1px solid var(--glass-border); border-radius: 14px; padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; margin: 0; }
.x-kidh legend { font-weight: 800; padding: 0 6px; }
.x-health { display: flex; flex-direction: column; gap: 6px; }
.x-health div span { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }

.x-out-head { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 0; flex-wrap: wrap; }
.x-out-head span { color: var(--ink-2); font-weight: 600; flex: 1; min-width: 160px; }

.x-caps.open { background: var(--lilac-soft); }
.x-seal { font-size: 28px; line-height: 1; }
.x-caps-body { white-space: pre-wrap; margin: 12px 0 6px; line-height: 1.5; }
.x-caps-body.draft { color: var(--ink-2); font-style: italic; }

.x-deal { padding: 0; overflow: hidden; }
.x-deal img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; }
.x-deal-b { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.x-deal-b b { font-size: 17px; }
.x-deal-b p { margin: 0; color: var(--ink-2); line-height: 1.45; }
.x-deal-cat { font-size: 12px; font-weight: 700; color: var(--accent-ink); }
.x-code { padding: 6px 10px; border: 1px dashed var(--accent); border-radius: 10px; font-size: 14px; }
.x-shop { display: flex; flex-direction: column; max-height: 50vh; overflow: auto; }

/* ===== Pages publiques : conseils, organisations ===== */
.nx-pub-nav { display: none; gap: 22px; margin-left: auto; margin-right: 18px; }
.nx-pub-nav a { color: var(--nx-ink2); font-weight: 700; text-decoration: none; font-size: 15px; }
.nx-pub-nav a[aria-current] { color: var(--nx-rasp); }
@media (min-width: 720px) { .nx-pub-nav { display: flex; } }
.nx-pub-lead { font-size: 19px; color: var(--nx-ink2); margin-bottom: 28px !important; }
.nx-blog, .nx-orgs { max-width: 860px; }
.nx-posts { display: grid; gap: 18px; }
.nx-post-card { display: grid; gap: 16px; padding: 22px; border: 1px solid var(--nx-line); border-radius: 22px; }
.nx-post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
.nx-post-card h2 { margin: 6px 0 8px !important; font-size: 23px !important; line-height: 1.25; }
.nx-post-card h2 a { color: var(--nx-ink) !important; text-decoration: none; }
.nx-post-card h2 a:hover { color: var(--nx-rasp) !important; }
.nx-post-card time, .nx-article time { font-size: 14px; color: var(--nx-muted); }
.nx-post-cat { font-size: 13px; font-weight: 800; color: var(--nx-rasp); }
@media (min-width: 720px) { .nx-post-card:has(img) { grid-template-columns: 240px 1fr; align-items: start; } }
.nx-crumb { font-size: 14px; margin-bottom: 18px !important; }
.nx-article h1 { margin-bottom: 14px; }
.nx-article-img { width: 100%; border-radius: 18px; margin: 22px 0 6px; }
.nx-article strong { color: var(--nx-ink); }
.nx-pub-cta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; margin: 44px 0 10px; padding: 24px; border-radius: 22px; background: color-mix(in srgb, var(--nx-rasp) 9%, transparent); }
.nx-pub-cta b { font-size: 19px; color: var(--nx-ink); }
.nx-pub-cta p { margin: 4px 0 0 !important; max-width: 46ch; }
.nx-pub-cta .nx-btn { color: #fff; text-decoration: none; }
.nx-pub-cta .nx-btn.ghost { color: var(--nx-ink); }
.nx-pub-cta .nx-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.nx-more-h { font-size: 20px !important; }
.nx-more { padding-left: 18px; }
.nx-org-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: 18px; }
.nx-org-card { padding: 20px; border: 1px solid var(--nx-line); border-radius: 20px; }
.nx-org-card h2 { margin: 0 0 8px !important; font-size: 21px !important; }
.nx-org-card p { margin: 0 !important; }

/* ===== Accueil : sections repliables ===== */
.acc { margin-top: 12px; }
.acc-h { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 16px; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 20px; font: inherit; color: var(--ink); cursor: pointer; text-align: left; }
.acc-t { font-size: 17px; font-weight: 800; flex: 1; }
.acc.open .acc-h { margin-bottom: 10px; }
.acc-h { transition: margin .25s; }
.acc-n { min-width: 26px; height: 26px; padding: 0 8px; border-radius: 13px; background: var(--surface-2); color: var(--ink-2); font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.acc-h svg { transition: transform .25s; color: var(--muted); }
.acc.open .acc-h svg { transform: rotate(180deg); }
.acc-b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.acc.open .acc-b { grid-template-rows: 1fr; }
.acc-in { overflow: hidden; min-height: 0; }
.acc-in .tiles { padding: 2px 0 4px; }
.acc:not(.open) .acc-in { visibility: hidden; }
.acc-h:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 12px; }
@media (prefers-reduced-motion: reduce) { .acc-b, .acc-h svg { transition: none; } }

/* ===== Barre du bas à 6 entrées + menu « Plus » ===== */
.nav { padding: 0 4px; }
.nav a { font-size: 11px; min-width: 0; }
.nav a .ni { width: 44px; }
@media (max-width: 360px) { .nav a { font-size: 10px; } .nav a .ni { width: 38px; } }
.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 4px; }
.menu-it { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 2px; border-radius: 16px; color: var(--ink); text-decoration: none; font-size: 12px; font-weight: 700; text-align: center; line-height: 1.2; }
.menu-it .ni { width: 52px; height: 52px; border-radius: 17px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.menu-it:nth-child(4n+2) .ni { background: var(--blue-soft); color: var(--blue); }
.menu-it:nth-child(4n+3) .ni { background: var(--ok-soft); color: var(--ok); }
.menu-it:nth-child(4n) .ni { background: var(--warn-soft); color: var(--warn); }
.menu-it:active { background: var(--surface-2); }
.nav-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nav-opt { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--glass-border); font-weight: 700; font-size: 14px; cursor: pointer; }
.nav-opt input { width: 20px; height: 20px; accent-color: var(--accent); flex-shrink: 0; }
.nav-opt .ni { color: var(--ink-2); display: flex; }
.nav-opt:has(input:checked) { background: var(--accent-soft); border-color: transparent; }
.nx-gfaq details { border-top: 1px solid var(--nx-line); padding: 12px 0; }
.nx-gfaq summary { font-weight: 700; cursor: pointer; color: var(--nx-ink); }
.nx-gfaq p { margin: 8px 0 0 !important; }
.nx-sources { font-size: 13.5px; color: var(--nx-muted) !important; margin-top: 28px !important; }

/* ===== Thèmes de fête ===== */
.fxl { position: fixed; inset: 0; pointer-events: none; z-index: 4; overflow: hidden; }
.fxl i { position: absolute; top: -8%; font-style: normal; font-size: calc(15px * var(--s, 1)); opacity: .55; animation: fxFall var(--d, 12s) linear var(--w, 0s) infinite; will-change: transform; }
.fxl.rise i, .fxl.float i { top: auto; bottom: -8%; animation-name: fxRise; }
.fxl.float i { opacity: .28; animation-duration: calc(var(--d, 12s) * 1.6); }
.fxl.twinkle i { top: calc(var(--x, 0px) * 0 + 6%); animation-name: fxTwinkle; }
.fxl.twinkle i:nth-child(3n) { top: 22%; } .fxl.twinkle i:nth-child(3n+1) { top: 48%; } .fxl.twinkle i:nth-child(4n) { top: 70%; }
.fxl.confetti i { font-size: calc(8px * var(--s, 1)); opacity: .7; animation-name: fxConfetti; }
.fxl.rise i { opacity: .5; }
@keyframes fxFall { from { transform: translate3d(0, 0, 0) rotate(0); } to { transform: translate3d(var(--x, 0px), 112vh, 0) rotate(240deg); } }
@keyframes fxConfetti { from { transform: translate3d(0, 0, 0) rotate(0); } 50% { transform: translate3d(var(--x, 0px), 55vh, 0) rotate(360deg); } to { transform: translate3d(calc(var(--x, 0px) * -1), 112vh, 0) rotate(720deg); } }
@keyframes fxRise { from { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(var(--x, 0px), -55vh, 0); } to { transform: translate3d(0, -115vh, 0); } }
@keyframes fxTwinkle { 0%, 100% { opacity: .1; transform: scale(.6); } 50% { opacity: .75; transform: scale(1.15); } }
.a11y-calm .fxl, .fxl { }
@media (prefers-reduced-motion: reduce) { .fxl i { animation: none; top: auto; bottom: auto; } .fxl { display: none; } }
.a11y-calm .fxl { display: none; }
.fx-card { display: flex; gap: 14px; align-items: flex-start; background: linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--fx-c2, var(--accent)) 14%, var(--surface))); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); position: relative; overflow: hidden; }
.fx-card .fx-ico { font-size: 34px; line-height: 1; }
.fx-card b { font-family: var(--serif); font-size: 21px; font-weight: 500; display: block; }
.fx-card p { margin: 4px 0 10px; color: var(--ink-2); }
.fx-card p:last-child { margin-bottom: 0; }
.fx-noel .fx-card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(90deg, #C0392B 0 14px, #fff 14px 20px, #1E7A46 20px 34px, #fff 34px 40px); }
.fx-carnaval .fx-card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, #7B3FC4, #E86A92, #F2A93B, #4CB6A8, #2F6DB5); }
.fx-ete .fx-card::after, .fx-vacances .fx-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: radial-gradient(circle at 10px -4px, transparent 9px, color-mix(in srgb, var(--fx-c2) 35%, transparent) 10px) 0 0 / 20px 8px repeat-x; }
.fx-noel .nav, .fx-nouvelan .nav { box-shadow: 0 16px 40px color-mix(in srgb, var(--accent) 22%, transparent); }
.nx-cmp-wrap { overflow-x: auto; margin: 8px 0 6px; border: 1px solid var(--nx-line); border-radius: 18px; }
.nx-cmp { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 14.5px; }
.nx-cmp caption { text-align: left; padding: 14px 16px 4px; font-weight: 800; color: var(--nx-ink); }
.nx-cmp th, .nx-cmp td { padding: 10px 12px; border-top: 1px solid var(--nx-line); text-align: center; color: var(--nx-ink2); }
.nx-cmp thead th { border-top: 0; font-weight: 800; color: var(--nx-ink); }
.nx-cmp th[scope=row] { text-align: left; font-weight: 700; color: var(--nx-ink); position: sticky; left: 0; background: var(--nx-paper); }
.nx-cmp thead th:nth-child(2), .nx-cmp td:nth-child(2) { background: color-mix(in srgb, var(--nx-rasp) 8%, transparent); color: var(--nx-ink); font-weight: 700; }
.nx-cmp td.u { color: var(--nx-muted); }
.nx-cmp td.p { font-style: italic; }

/* Menu principal : une seule ligne, centré verticalement ; le menu complet reste dans le tiroir (burger) */
.nx-nav { align-items: center; flex-wrap: nowrap; white-space: nowrap; }
.nx-nav button, .nx-nav a.nx-nav-a { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; line-height: 1; white-space: nowrap; }
.nx-nav [data-to="nx-day"], .nx-nav [data-to="nx-install"], .nx-nav a.nx-nav-a[href$="conseils"] { display: none; }
.nx-actions { flex-shrink: 0; white-space: nowrap; }
.nx-login, .nx-actions .nx-btn { white-space: nowrap; }
@media (min-width: 1200px) {
  .nx-nav { display: flex; }
  .nx-burger { display: none; }
  .nx.menu-open .nx-drawer { display: none; }
}
@media (min-width: 1200px) and (max-width: 1320px) {
  .nx-nav button, .nx-nav a.nx-nav-a { padding: 0 9px; font-size: 14.5px; }
}

/* ===== Services v2 ===== */
.cal-pills { margin: 14px -18px 4px; }
.cal-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.cal-dot.big { width: 16px; height: 16px; }
.color-pick { display: flex; gap: 10px; flex-wrap: wrap; }
.color-pick label { cursor: pointer; }
.color-pick input { position: absolute; opacity: 0; pointer-events: none; }
.color-pick i { display: block; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--surface); border: 2px solid transparent; }
.color-pick input:checked + i { border-color: var(--ink); }
.color-pick input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.ev-extra { margin: 6px 0 4px; }
.qr-box { display: flex; justify-content: center; padding: 12px; background: #fff; border-radius: 18px; }
.qr-canvas { width: min(260px, 70vw); height: auto; image-rendering: pixelated; }
.ec-list { display: flex; flex-direction: column; gap: 8px; max-height: 46vh; overflow: auto; }
.ec { padding: 10px 12px; border-radius: 14px; background: var(--surface-2); max-width: 88%; }
.ec.mine { align-self: flex-end; background: var(--accent-soft); }
.ec p { margin: 2px 0; white-space: pre-wrap; }
.ec small { color: var(--muted); font-size: 12px; }
.ec-form { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.ec-form textarea { flex: 1; min-width: 0; }
.ec-form .form-error { width: 100%; }
.poll .poll-opts { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.poll-opt { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--glass-border); background: var(--surface-2); font: inherit; font-weight: 700; color: var(--ink); text-align: left; cursor: pointer; }
.poll-opt i { position: absolute; left: 0; top: 0; bottom: 0; background: color-mix(in srgb, var(--accent) 16%, transparent); transition: width .35s; }
.poll-opt span, .poll-opt b { position: relative; }
.poll-opt.on { border-color: var(--accent); }
.poll-opt.win { border-color: var(--ok); }
.poll-opt:disabled { cursor: default; }
.poll.closed { opacity: .85; }
.rcp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.rcp { display: flex; flex-direction: column; gap: 4px; padding: 0 0 12px; border-radius: 18px; overflow: hidden; border: 1px solid var(--glass-border); background: var(--surface); text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.rcp img, .rcp-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: flex; align-items: center; justify-content: center; background: var(--warn-soft); color: var(--warn); }
.rcp b { padding: 6px 12px 0; font-size: 15px; line-height: 1.25; }
.rcp small { padding: 0 12px; color: var(--muted); }
.rcp-view img { width: 100%; border-radius: 16px; max-height: 240px; object-fit: cover; }
.rcp-view h3 { margin: 6px 0 0; font-size: 16px; }
.rcp-view ul, .rcp-view ol { margin: 0; padding-left: 20px; line-height: 1.55; }
.pts-kids { display: grid; gap: 10px; }
.pts-kid { display: flex; align-items: center; gap: 12px; }
.pts-num { font-family: var(--serif); font-size: 32px; color: var(--accent); line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.pts-num small { font-family: inherit; font-size: 13px; color: var(--muted); }
.pts-d { min-width: 44px; text-align: center; font-weight: 800; border-radius: 10px; padding: 4px 6px; }
.pts-d.p { background: var(--ok-soft); color: var(--ok); }
.pts-d.m { background: var(--warn-soft); color: var(--warn); }
.rw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.rw { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.rw-ico { font-size: 32px; }
.rw small { color: var(--muted); }
.pts-kid .grow { display: flex; flex-direction: column; min-width: 0; }

/* Bouton « remonter » : à gauche, pour ne jamais chevaucher « Une question ? » (à droite) */
.nx-top { position: fixed; left: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(34, 26, 38, .12); background: #fff; color: #221A26; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(34, 26, 38, .16); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s; cursor: pointer; }
.nx-top svg { transform: rotate(180deg); }
.nx-top.show { opacity: 1; transform: none; pointer-events: auto; }
.nx-top:hover { background: #FBE9F0; color: #A0124A; }
.nx-top:focus-visible { outline: 3px solid #C2185B; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .nx-top { transition: none; } }

/* ---------- Services v3 : jeux, lettres, voyages, projets, cycle, grossesse, coach ---------- */
.defi { background: linear-gradient(135deg, var(--warn-soft), var(--accent-soft)); }
.defi-t { font-family: Fraunces, serif; font-size: 21px; line-height: 1.25; margin: 8px 0 12px; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 8px 0 16px; }
.game-card { text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 6px; color: var(--ink); box-shadow: var(--shadow-sm); cursor: pointer; }
.game-card b { font-size: 17px; }
.game-card > span:last-child { font-size: 13px; color: var(--muted); line-height: 1.35; }
.game-card .gc-i { font-size: 30px; line-height: 1; }
.game-card:hover { border-color: var(--accent); }
.g-players { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.g-pl { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); font-weight: 700; font-size: 14px; }
.g-pl b { background: var(--surface); border-radius: 999px; padding: 0 8px; font-size: 13px; }
.g-pl.on { background: var(--accent); color: #fff; }
.g-pl.on b { color: var(--accent-ink); }
.g-pl.win { background: #E8B21E; color: #221A26; }
.g-turn { text-align: center; margin: 12px 0; }
.g-win { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.g-log { display: flex; flex-direction: column; gap: 3px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.g-log span:first-child { color: var(--ink-2); font-weight: 600; }
.cc-table { display: flex; justify-content: center; gap: 26px; align-items: flex-end; margin: 10px 0; }
.cc-pile { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cc-pile small { font-size: 12px; color: var(--muted); font-weight: 700; }
.cc { width: 54px; height: 80px; border-radius: 10px; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.18); display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 0; font: 800 22px/1 Figtree, sans-serif; color: #fff; position: relative; }
.cc i { font-style: normal; background: #fff; border-radius: 50%; width: 36px; height: 50px; display: flex; align-items: center; justify-content: center; transform: rotate(-18deg); font-size: 19px; }
.cc.big { width: 74px; height: 108px; }
.cc.big i { width: 48px; height: 68px; font-size: 24px; }
.cc-R { background: #D93A3A; } .cc-R i { color: #D93A3A; }
.cc-J { background: #E8B21E; } .cc-J i { color: #9A6E00; }
.cc-V { background: #2E9A57; } .cc-V i { color: #2E9A57; }
.cc-B { background: #2F6FD1; } .cc-B i { color: #2F6FD1; }
.cc-W { background: conic-gradient(#D93A3A 0 25%, #E8B21E 0 50%, #2E9A57 0 75%, #2F6FD1 0); } .cc-W i { color: #221A26; }
.cc-back { background: #221A26; } .cc-back i { color: #221A26; font-size: 15px; }
.cc-now { padding: 2px 8px; border-radius: 8px; color: #fff !important; }
.cc-t-R { background: #D93A3A; } .cc-t-J { background: #C8960A; } .cc-t-V { background: #2E9A57; } .cc-t-B { background: #2F6FD1; }
.cc-hand { display: flex; gap: 6px; overflow-x: auto; padding: 12px 4px 10px; margin: 0 -18px; padding-left: 18px; padding-right: 18px; }
.cc-hand .cc { opacity: .55; }
.cc-hand .cc.ok { opacity: 1; cursor: pointer; transform: translateY(-8px); }
.cc-hand .cc.ok:hover { transform: translateY(-14px); }
.cc-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; justify-items: center; }
.cc-pick .cc i { font-size: 12px; width: 52px; }
.dom { display: inline-flex; flex-direction: row; border: 2px solid #221A26; background: #fff; border-radius: 8px; padding: 0; flex: none; }
.dom i { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font: 800 16px/1 Figtree, sans-serif; font-style: normal; color: #221A26; }
.dom i + i { border-left: 2px solid #221A26; }
.dom.dbl { flex-direction: column; } .dom.dbl i + i { border-left: 0; border-top: 2px solid #221A26; }
.dom-line { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; justify-content: center; padding: 14px; background: #1E5B50; border-radius: 18px; min-height: 80px; }
.dom-line .dom { border-color: #fff; } .dom-line .dom i + i { border-color: #221A26; }
.dom-line .sub { color: #fff; }
.dom-hand { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.dom-hand .dom { opacity: .5; }
.dom-hand .dom.ok { opacity: 1; cursor: pointer; box-shadow: 0 0 0 3px var(--accent); }
.av-card { text-align: center; padding: 26px 20px; }
.av-card p { font-family: Fraunces, serif; font-size: 23px; line-height: 1.3; margin: 10px 0 0; }
.av-type { font-size: 13px; font-weight: 800; color: var(--muted); }
.av-action { background: linear-gradient(135deg, #FBE9F0, #F8EADF); }
.av-verite { background: linear-gradient(135deg, #EEEAF6, #E8ECF6); }
.mcq-ans { font-family: Fraunces, serif; font-size: 22px; margin: 6px 0 10px; }
.letter.sealed { background: linear-gradient(135deg, var(--lilac-soft), var(--surface)); }
.letter-body { white-space: pre-wrap; font-family: Fraunces, serif; font-size: 17px; line-height: 1.55; margin: 12px 0 4px; }
.letter-write { font-family: Fraunces, serif; font-size: 17px; line-height: 1.5; }
.board-row { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.board-ico { font-size: 26px; }
.trip-head { margin-top: 4px; }
.chk .settings-row .done { text-decoration: line-through; color: var(--muted); }
.chk-b { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--check-border, #C9C3CC); background: none; display: inline-flex; align-items: center; justify-content: center; flex: none; color: #fff; padding: 0; cursor: pointer; }
.chk-b.on { background: var(--ok); border-color: var(--ok); }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.tpl input, .cp input, .cp-pill input { position: absolute; opacity: 0; pointer-events: none; }
.tpl span { display: block; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); font-weight: 700; cursor: pointer; }
.tpl input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.tpl input:focus-visible + span, .cp input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chips-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.cp span { display: inline-block; padding: 7px 12px; border-radius: 999px; background: var(--surface-2); font-size: 14px; font-weight: 600; cursor: pointer; }
.cp input:checked + span { background: var(--lilac); color: #fff; }
.cp-pill input:checked + span { color: var(--accent-ink); }
.cp-pill:has(input:checked) { background: var(--accent-soft); border-color: transparent; }
.cyc-hero { display: flex; gap: 18px; align-items: center; }
.cyc-ring { width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.cyc-ring > div { width: 90px; height: 90px; border-radius: 50%; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cyc-ring b { font: 600 34px/1 Fraunces, serif; }
.cyc-ring small { font-size: 11px; color: var(--muted); font-weight: 700; }
.cyc-next { font-family: Fraunces, serif; font-size: 21px; line-height: 1.2; margin: 8px 0 4px; }
.cyc-msg { background: var(--lilac-soft); }
.cyc-msg p { margin: 0; font-family: Fraunces, serif; font-style: italic; font-size: 17px; }
.cyc-dot { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
.cyc-tip { margin: 0; }
.cyc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 10px; }
.cyc-grid i { font-style: normal; text-align: center; font-size: 12px; color: var(--muted); font-weight: 700; }
.cd { aspect-ratio: 1; border-radius: 50%; border: 0; background: none; font: 600 14px/1 Figtree, sans-serif; color: var(--ink); padding: 0; position: relative; cursor: pointer; }
.cd:disabled { cursor: default; }
.cd.fl1 { background: #F6C6D7; } .cd.fl2 { background: #E2709A; color: #fff; } .cd.fl3 { background: #C2185B; color: #fff; }
.cd.pred { box-shadow: inset 0 0 0 2px #E2709A; color: #A0124A; }
.cd.fert { background: #DCEAE5; } .cd.ovu { background: #1E5B50; color: #fff; }
.cd.today { outline: 2px solid var(--ink); outline-offset: 1px; }
.cd.note::after { content: ''; position: absolute; bottom: 3px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--lilac); }
.cyc-leg { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.cyc-leg i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 5px; vertical-align: -2px; }
.cyc-leg .fl2 { background: #E2709A; } .cyc-leg .pred { box-shadow: inset 0 0 0 2px #E2709A; } .cyc-leg .fert { background: #DCEAE5; } .cyc-leg .ovu { background: #1E5B50; }
.cyc-hist { display: flex; align-items: flex-end; gap: 8px; height: 100px; margin-bottom: 8px; }
.cyc-hist span { flex: 1; background: var(--lilac-soft); border-radius: 8px 8px 0 0; display: flex; align-items: flex-start; justify-content: center; }
.cyc-hist b { font-size: 12px; margin-top: 4px; color: var(--lilac); }
.preg-hero { display: flex; gap: 18px; align-items: center; background: linear-gradient(135deg, #FBE9F0, #F8EADF); }
.preg-sa { width: 100px; height: 100px; border-radius: 50%; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; box-shadow: var(--shadow-sm); }
.preg-sa b { font: 600 40px/1 Fraunces, serif; color: var(--accent-ink); }
.preg-sa small { font-size: 12px; font-weight: 700; color: var(--muted); }
.kick-btn { width: 150px; height: 150px; border-radius: 50%; border: 0; background: var(--accent-soft); font-size: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 10px auto; cursor: pointer; }
.kick-btn b { font: 600 32px/1 Fraunces, serif; color: var(--accent-ink); }
.kick-btn:active { transform: scale(.96); }
.coach-a p { margin: 0 0 8px; line-height: 1.55; }
@media (max-width: 420px) { .cyc-hero, .preg-hero { flex-direction: column; text-align: center; } .cc { width: 48px; height: 72px; } }

/* Pied de page redessiné : colonnes nettes, logo filigrane sous les liens (jamais derrière) */
.nx-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; padding: 52px 0 40px; }
.nx-foot-brand { grid-column: 1 / -1; padding-right: 0; }
.nx-foot-grid nav { min-width: 0; }
.nx-foot-grid nav h4 { padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.nx-footer .nx-foot-grid nav a, .nx-footer .nx-foot-grid nav button { padding: 7px 0; font-size: 15px; line-height: 1.35; }
.nx-foot-mark { position: static; width: auto; margin: 0 0 28px; display: block; opacity: .07; height: clamp(70px, 16vw, 190px); overflow: hidden; pointer-events: none; }
.nx-foot-mark .logo, .nx-foot-mark .logo img { width: 100%; max-width: none; height: auto; display: block; }
@media (min-width: 900px) {
  .nx-foot-grid { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); }
  .nx-foot-brand { grid-column: auto; padding-right: 28px; }
}
@media (max-width: 760px) { .nx-foot-mark { width: auto; opacity: .06; } }
.nx-foot-mark { height: auto; overflow: visible; max-width: 760px; margin: 8px auto 36px; opacity: .06; }
.nx-footer { padding-bottom: calc(var(--safe-bottom, 0px) + 96px); }
.preg-add[data-l=appts] .input { flex: 1 1 140px; width: auto !important; min-width: 0; }
.coach-idea { display: flex; flex-direction: column; gap: 10px; }
.coach-idea b.serif { font-size: 25px; line-height: 1.2; }
.coach-idea p { margin: 0; color: var(--ink-2); line-height: 1.55; }
.coach-n { font-size: 13px; font-weight: 700; color: var(--muted); }
.coach-f .seg { flex-wrap: wrap; }
#cycf .frow2, #pregf .frow2 { align-items: end; }
/* Dominos v2 : table de jeu */
.dom-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 12px; }
.dom-seats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-bottom: 12px; }
.dom-seat { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 16px; background: var(--surface); border: 2px solid var(--line); }
.dom-seat b { font-size: 15px; }
.dom-seat.on { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.dom-seat.t0 { background: #EEF3FB; } .dom-seat.t1 { background: #FCF1E8; }
.dom-backs { display: flex; gap: 3px; height: 18px; }
.dom-backs i { width: 9px; height: 18px; border-radius: 3px; background: #241B29; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); }
.dom-wins { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.dom-pass { position: absolute; top: 8px; right: 10px; font-style: normal; font-size: 11.5px; font-weight: 800; color: #fff; background: #A55A22; border-radius: 8px; padding: 2px 7px; }
.dom-felt { background: radial-gradient(120% 90% at 50% 40%, #2A7363 0%, #1E5B50 60%, #174A41 100%); border-radius: 22px; padding: 16px 12px 12px; min-height: 170px; box-shadow: inset 0 2px 12px rgba(0,0,0,.35); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.dom-empty { color: #E3F1EC; margin: 0; text-align: center; font-weight: 600; }
.dsn { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.dsn-r { display: flex; align-items: center; gap: 2px; }
.dsv { flex: none; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
.dsv-b { fill: #FFFDF8; stroke: #D9D2C3; stroke-width: 1.5; }
.dsv line { stroke: #8A8170; stroke-width: 1.5; }
.dsv-p { fill: #221A26; }
.dsv.just .dsv-b { fill: #FFF3C4; stroke: #E8B21E; stroke-width: 2.5; }
.dsv.just { animation: domIn .35s ease-out; }
@keyframes domIn { from { transform: scale(1.25); opacity: .3; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dsv.just { animation: none; } }
.dom-ends { display: flex; gap: 14px; color: #D6EBE4; font-size: 13px; }
.dom-ends b { color: #fff; font-size: 15px; }
.dom-side { margin-top: 10px; padding: 12px; border-radius: 16px; background: var(--accent-soft); display: flex; flex-direction: column; gap: 8px; font-weight: 700; color: var(--accent-ink); }
.dom-hand2 { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 6px 0 4px; }
.dom-h { border: 0; background: none; padding: 0; border-radius: 9px; cursor: pointer; transition: transform .15s; }
.dom-h:disabled { cursor: default; opacity: .45; }
.dom-h.ok { transform: translateY(-6px); }
.dom-h.ok .dsv-b { stroke: #1E5B50; stroke-width: 2.5; }
.dom-h.sel { transform: translateY(-14px); }
.dom-h.sel .dsv-b { fill: #FFF3C4; stroke: var(--accent); stroke-width: 3; }
.dom-h:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.dom-res { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.dom-res .serif { font-size: 24px; line-height: 1.2; }
.dom-cochon { align-self: flex-start; background: #FBE9F0; color: #A0124A; font-weight: 800; padding: 4px 10px; border-radius: 10px; }
.dom-mini { display: flex; flex-wrap: wrap; gap: 3px; justify-content: flex-end; max-width: 55%; }
.nx-foot-grid { padding-bottom: 20px; }
.nx-foot-mark { max-width: 340px; margin: 0 auto 22px; }
@media (max-width: 760px) { .nx-foot-mark { max-width: 240px; } }
/* Bouton « remonter » dans l'appli : à gauche, au-dessus de la barre du bas (les boutons « + » sont à droite) */
.app-top { position: fixed; left: 14px; bottom: calc(66px + var(--safe-bottom, 0px) + 16px); z-index: 29; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(34, 26, 38, .16); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s, transform .2s; cursor: pointer; }
.app-top svg { transform: rotate(180deg); }
.app-top.show { opacity: 1; transform: none; pointer-events: auto; }
.app-top:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (min-width: 900px) { .app-top { bottom: 96px; } }
@media (prefers-reduced-motion: reduce) { .app-top { transition: none; } }
.care-warn { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: var(--warn-soft); color: var(--ink-2); font-size: 14px; line-height: 1.45; margin-bottom: 14px; }
.care-warn svg { flex: none; color: var(--warn); margin-top: 1px; }
.care-warn a { color: var(--warn); font-weight: 800; }
.care-rem .settings-row { align-items: flex-start; }
.care-rem .btn.link { padding-left: 0; margin-top: 4px; }
.care-call { flex: none; }
.care-fs { border: 0; padding: 0; margin: 0; }
.care-fs legend { font-weight: 700; font-size: 14px; margin-bottom: 4px; padding: 0; }
.msg-flash { animation: msgFlash 2.4s ease; } @keyframes msgFlash { 0%,40% { background: var(--accent-soft); box-shadow: 0 0 0 6px var(--accent-soft); border-radius: 18px; } 100% { background: transparent; box-shadow: none; } } @media (prefers-reduced-motion: reduce) { .msg-flash { animation: none; outline: 3px solid var(--accent); } }
/* Instantanés */
.snap-strip { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; margin: 4px -18px 14px; padding: 4px 18px; }
.snap-strip::-webkit-scrollbar { display: none; }
.snap-add, .snap-bub { flex: none; border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; color: var(--ink-2); }
.snap-add > span { width: 64px; height: 64px; border-radius: 50%; border: 2px dashed var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center; background: var(--accent-soft); }
.snap-ring { width: 64px; height: 64px; border-radius: 50%; padding: 3px; background: var(--line); display: block; }
.snap-bub.new .snap-ring { background: conic-gradient(#C2185B, #E8B21E, #6D55A6, #C2185B); }
.snap-ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 2px solid var(--bg); display: block; }
.snap-add small, .snap-bub small { font-size: 12px; font-weight: 700; max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.snap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.snap-tile { position: relative; border: 0; padding: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 3/4; cursor: pointer; background: var(--surface-2); }
.snap-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.snap-tile span { position: absolute; left: 8px; bottom: 8px; right: 8px; color: #fff; font-size: 12.5px; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.6); text-align: left; }
.snap-tile.new { box-shadow: 0 0 0 3px var(--accent); }
.snap-prev { width: 100%; max-height: 50vh; object-fit: contain; border-radius: 16px; background: #000; }
.snap-view { position: fixed; inset: 0; z-index: 200; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; outline: none; }
.sv-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sv-bars { position: absolute; top: calc(var(--safe-top, 0px) + 10px); left: 12px; right: 12px; display: flex; gap: 4px; z-index: 2; }
.sv-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); }
.sv-bars i.done { background: #fff; }
.sv-bars i.on { background: linear-gradient(90deg, #fff 0, #fff 50%, rgba(255,255,255,.35) 50%); background-size: 200% 100%; animation: svBar 6s linear forwards; }
@keyframes svBar { from { background-position: 100% 0; } to { background-position: 0 0; } }
.sv-top { position: absolute; top: calc(var(--safe-top, 0px) + 22px); left: 12px; right: 8px; display: flex; justify-content: space-between; align-items: center; z-index: 3; }
.sv-top .icon-btn { color: #fff; background: rgba(0,0,0,.3); }
.sv-who { display: flex; align-items: center; gap: 8px; }
.sv-who small { color: rgba(255,255,255,.8); font-size: 12.5px; }
.sv-nav { position: absolute; top: 80px; bottom: 160px; width: 35%; border: 0; background: transparent; z-index: 1; cursor: pointer; }
.sv-nav.prev { left: 0; } .sv-nav.next { right: 0; }
.sv-bot { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 16px calc(var(--safe-bottom, 0px) + 18px); background: linear-gradient(transparent, rgba(0,0,0,.7)); display: flex; flex-direction: column; gap: 10px; z-index: 3; }
.sv-bot p { margin: 0; font-size: 17px; }
.sv-reacts { font-size: 20px; }
.sv-seen { font-size: 13px; color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 4px; }
.sv-react { display: flex; gap: 8px; justify-content: center; }
.sv-react button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); font-size: 24px; cursor: pointer; }
.sv-react button:focus-visible, .snap-tile:focus-visible, .snap-bub:focus-visible, .snap-add:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .sv-bars i.on { animation: none; background: #fff; } }
/* Jeux v2 */
.gc-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.dm-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 6px 0 10px; font-weight: 700; }
.dm-cnt { display: inline-flex; align-items: center; gap: 6px; }
.dm-cnt .dm-p { width: 18px; height: 18px; position: static; }
.dm-board { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); width: 100%; max-width: 480px; margin: 0 auto; aspect-ratio: 1; border: 6px solid #5B3A26; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 26px rgba(0,0,0,.2); }
.dm-board.flip { transform: rotate(180deg); }
.dm-sq { position: relative; background: #F2DFC2; border: 0; padding: 0; display: flex; align-items: center; justify-content: center; }
.dm-sq.dk { background: #9C6B45; cursor: pointer; }
.dm-sq.sel { background: #C2185B; }
.dm-sq.tg { background: #2E7D61; }
.dm-sq.tg::after { content: ''; width: 30%; height: 30%; border-radius: 50%; background: rgba(255,255,255,.7); }
.dm-sq.last { box-shadow: inset 0 0 0 3px #E8B21E; }
.dm-p { width: 78%; height: 78%; border-radius: 50%; display: block; box-shadow: inset 0 -3px 0 rgba(0,0,0,.25), 0 2px 3px rgba(0,0,0,.35); }
.dm-p.w { background: radial-gradient(circle at 35% 30%, #fff, #E9E2D6); }
.dm-p.b { background: radial-gradient(circle at 35% 30%, #5A4A4F, #1C1418); }
.dm-p.k { box-shadow: inset 0 0 0 4px #E8B21E, 0 2px 3px rgba(0,0,0,.35); }
.dm-sq:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.p4-board { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; background: #2F5DB0; padding: 10px; border-radius: 20px; max-width: 460px; margin: 0 auto; }
.p4-col { display: flex; flex-direction: column; gap: 6px; border: 0; background: transparent; padding: 0; cursor: pointer; border-radius: 12px; }
.p4-col:not(:disabled):hover { background: rgba(255,255,255,.12); }
.p4-col:focus-visible { outline: 3px solid #fff; }
.p4-c { display: block; aspect-ratio: 1; border-radius: 50%; background: #F3F4F2; box-shadow: inset 0 3px 6px rgba(0,0,0,.25); }
.p4-c.r { background: radial-gradient(circle at 35% 30%, #F06292, #C2185B); animation: p4Drop .25s ease-in; }
.p4-c.y { background: radial-gradient(circle at 35% 30%, #FFE082, #E8B21E); animation: p4Drop .25s ease-in; }
@keyframes p4Drop { from { transform: translateY(-60px); opacity: .4; } to { transform: none; opacity: 1; } }
.mp-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 320px; margin: 0 auto; }
.mp-c { aspect-ratio: 1; border: 0; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; color: #C2185B; cursor: pointer; }
.mp-c:disabled { cursor: default; }
.mp-o { width: 46px; height: 46px; border-radius: 50%; border: 7px solid #3F5A99; display: block; }
.pr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 420px; margin: 0 auto; }
.pr-c { position: relative; aspect-ratio: 3/4; border: 0; padding: 0; border-radius: 14px; cursor: pointer; perspective: 600px; background: transparent; }
.pr-b, .pr-f { position: absolute; inset: 0; border-radius: 14px; display: flex; align-items: center; justify-content: center; backface-visibility: hidden; transition: transform .35s; overflow: hidden; }
.pr-b { background: linear-gradient(135deg, #C2185B, #8E1145); color: rgba(255,255,255,.7); }
.pr-f { background: var(--surface); color: var(--accent); transform: rotateY(180deg); box-shadow: var(--shadow-sm); }
.pr-f img { width: 100%; height: 100%; object-fit: cover; }
.pr-c.on .pr-b { transform: rotateY(180deg); } .pr-c.on .pr-f { transform: none; }
.pr-c.done .pr-f { box-shadow: 0 0 0 3px #2E7D61; }
.hk-wrap { display: flex; justify-content: center; }
.hk { border-radius: 26px; box-shadow: 0 0 0 8px #241B29, 0 14px 30px rgba(0,0,0,.25); touch-action: none; }
@media (prefers-reduced-motion: reduce) { .p4-c.r, .p4-c.y { animation: none; } .pr-b, .pr-f { transition: none; } }

.dom-sticks { display: flex; align-items: flex-end; gap: 4px; height: 22px; }
.dom-sticks i { position: relative; width: 4px; height: 20px; border-radius: 2px; background: #E7C58A; box-shadow: inset -1px 0 0 rgba(0,0,0,.12); }
.dom-sticks i::before { content: ""; position: absolute; left: -1.5px; top: -2px; width: 7px; height: 7px; border-radius: 50% 50% 45% 45%; background: #C62828; }
.dom-sticks em { font-style: normal; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.dom-reveal .dom-sticks { display: inline-flex; vertical-align: middle; margin-left: 6px; height: 18px; }
.dom-reveal .dom-sticks i { height: 16px; }
.dom-rules { padding: 12px 14px; border-radius: 16px; background: var(--surface-2, #F4EEF2); font-size: 14px; line-height: 1.5; }
.dom-rules p { margin: 6px 0 0; }

.tip-card { display: flex; flex-direction: column; gap: 8px; }
.tip-text { margin: 0; font-size: 16px; line-height: 1.5; }
.tip-x { border: 0; background: none; color: var(--muted); width: 32px; height: 32px; margin: -6px -8px -6px 0; border-radius: 10px; display: grid; place-items: center; cursor: pointer; }
.tip-x:hover { background: var(--line); }
.tip-x:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Bloc-notes */
.note-quick { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; }
.note-qin { border: 0; background: none; resize: none; font: inherit; font-size: 17px; line-height: 1.45; color: var(--ink); min-height: 52px; outline: none; }
.note-quick:focus-within { box-shadow: 0 0 0 3px var(--accent-soft); }
.note-qbar { justify-content: space-between; align-items: center; }
.note-qbar .sub { display: inline-flex; gap: 5px; align-items: center; }
.note-tools { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 12px; }
.note-grid { columns: 2 150px; column-gap: 10px; }
.note-card { position: relative; display: flex; flex-direction: column; gap: 6px; width: 100%; break-inside: avoid; margin: 0 0 10px; padding: 14px 14px 12px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.note-card b { font-size: 15.5px; line-height: 1.35; padding-right: 18px; overflow-wrap: anywhere; }
.note-body { font-size: 14px; line-height: 1.45; color: var(--ink-2, var(--ink)); white-space: pre-line; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.note-meta { display: inline-flex; gap: 4px; align-items: center; font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.note-pin { position: absolute; top: 9px; right: 10px; font-size: 13px; }
.note-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.nc-jaune { background: #FFF6C9; border-color: #F1E08F; }
.nc-rose { background: #FDE4EC; border-color: #F5BCD0; }
.nc-vert { background: #DFF3E8; border-color: #B5DFC6; }
.nc-bleu { background: #E1EEFB; border-color: #B9D4F1; }
.nc-lilas { background: #EEE5FA; border-color: #D4C3EF; }
.note-card[class*="nc-"] { color: #221A26; }
.note-card[class*="nc-"] .note-body { color: #3A2E3F; }
.note-card[class*="nc-"] .note-meta { color: #5E5466; }
.note-ta { min-height: 220px; font-size: 16.5px; line-height: 1.5; }
.note-colors { display: flex; gap: 10px; }
.note-dot { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); cursor: pointer; }
.note-dot:not([class*="nc-"]) { background: var(--surface); }
.note-dot.on { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); }
.note-foot { gap: 8px; align-items: center; flex-wrap: wrap; }
.note-foot .note-state { flex: 1 1 100%; }
.note-foot .btn[data-close] { margin-left: auto; }

/* Coffre-fort verrouillé */
.pv-lock { display: flex; flex-direction: column; gap: 14px; align-items: stretch; text-align: center; padding: 26px 20px 22px; }
.pv-lock > b.serif { font-size: 24px; line-height: 1.2; }
.pv-lock .stack { text-align: left; }
.pv-lock-ico { align-self: center; width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; background: #241B29; color: #FFD8C5; }
.pv-safe { display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 12px 14px; border-radius: 16px; background: #E6F2EE; color: #1E4D44; }
.pv-safe svg { flex: none; margin-top: 2px; }
.pv-safe p { margin: 0; font-size: 14px; line-height: 1.5; }
.pv-safe.slim { margin-bottom: 12px; }
.pv-tabs { margin: 0 0 14px; }
.pv-tabs button { display: inline-flex; gap: 6px; align-items: center; justify-content: center; }
.pv-search { margin-bottom: 10px; }
.pv-logo { position: relative; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent); overflow: hidden; }
.pv-logo b { font-size: 17px; }
.pv-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18%; background: #fff; opacity: 0; }
.pv-logo.ok img { opacity: 1; }
.pv-logo.ok { box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.pv-row { gap: 12px; }
.pv-group { margin-top: 14px; }
.pv-gt { margin: 0 0 8px; font-size: 14px; color: var(--muted); font-weight: 700; }
.pv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.pv-svc { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border: 0; border-radius: 14px; background: none; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink); text-align: center; cursor: pointer; }
.pv-svc:hover { background: var(--surface); }
.pv-svc:focus-visible, .pv-other:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.pv-other { margin-top: 10px; gap: 12px; border-radius: 14px; }
.pv-pass { position: relative; }
.pv-pass .input { padding-right: 48px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.pv-pass .icon-btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }
.pv-passbar { justify-content: space-between; align-items: center; margin-top: 6px; gap: 8px; flex-wrap: wrap; }
.pv-str { font-size: 13px; font-weight: 700; }
.pv-str.s0 { color: #B3261E; } .pv-str.s1 { color: #A55A22; } .pv-str.s2 { color: #2E7D5B; } .pv-str.s3 { color: #1E5B50; }
.pv-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.pv-url { overflow-wrap: anywhere; }
.pv-detail .settings-row { gap: 8px; }
.pv-stale { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; border: 1.5px solid #F1D3A7; background: #FFF6E8; }
.pv-stale p { margin: 0; }
.pv-foot { margin: 10px 4px 0; }
@media (prefers-color-scheme: dark) { .pv-safe { background: #1D3A34; color: #CFEAE2; } .pv-stale { background: #3A2E1F; border-color: #6B5232; } }

/* Grossesse : le bébé semaine après semaine */
.baby-card { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.baby-top { display: flex; gap: 18px; align-items: center; }
.baby-visual { flex: none; width: 46%; max-width: 210px; aspect-ratio: 1; border-radius: 26px; overflow: hidden; box-shadow: 0 10px 30px rgba(120, 10, 30, .22); background: #B47C76; }
.baby-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.baby-svg { width: 100%; height: 100%; display: block; }
.baby-svg g { transition: transform .35s ease; }
.baby-beat { animation: babybeat 1s ease-in-out infinite; transform-origin: 2px -6px; }
@keyframes babybeat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.35); } }
@media (prefers-reduced-motion: reduce) { .baby-beat { animation: none; } .baby-svg g { transition: none; } }
.baby-facts { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.baby-wk { font-weight: 700; }
.baby-num b { font-family: var(--serif, Fraunces, Georgia, serif); font-size: 30px; line-height: 1; font-weight: 500; color: var(--accent); }
.baby-num small { margin-left: 6px; color: var(--muted); font-weight: 600; font-size: 13px; }
.baby-fruit { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; }
.baby-fruit span { font-size: 22px; }
.baby-step { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink, var(--ink)); font-weight: 600; line-height: 1.45; }
.baby-range { display: flex; flex-direction: column; gap: 6px; }
.baby-range input { width: 100%; accent-color: var(--accent); }
.baby-ticks { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); font-style: normal; }
.baby-ticks i { font-style: normal; }

/* Journées de prévention */
.jr-card { display: flex; flex-direction: column; gap: 10px; }
.jr-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--accent-soft); }
.jr-ico.sm { width: 36px; height: 36px; font-size: 19px; border-radius: 11px; }
.jr-t { display: block; font-size: 17px; line-height: 1.3; }
.jr-m { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2, var(--ink)); }
.jr-line small { display: block; font-weight: 500; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.jr-h { margin: 18px 0 8px; font-size: 15px; }
.jr-det summary { list-style: none; cursor: pointer; }
.jr-det summary::-webkit-details-marker { display: none; }
.jr-row { gap: 12px; }
.jr-img { width: 60%; height: 60%; object-fit: contain; }

/* Carnet de suivi santé */
.frow3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hl-kinds { margin: 4px 0 12px; }
.hl-help summary { cursor: pointer; list-style: none; }
.hl-help summary::-webkit-details-marker { display: none; }
.hl-help p { margin: 10px 0 0; line-height: 1.55; }
.hl-chart svg { width: 100%; height: auto; display: block; }
.hl-leg { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.hl-leg i { display: inline-block; width: 12px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 5px; }
.hl-leg i.dash { background: repeating-linear-gradient(90deg, #E0A2A2 0 4px, transparent 4px 7px); }
.hl-table-wrap { overflow-x: auto; margin-top: 12px; }
.hl-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hl-table th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.hl-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.hl-table td:first-child, .hl-table td:nth-child(2) { white-space: nowrap; }
.hl-table td small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.hl-table tr.fl-hi td:nth-child(3) b { color: #B5651D; }
.hl-table tr.fl-hi2 td:nth-child(3) b { color: #C0392B; }
.hl-table tr.fl-hi2 { background: rgba(192, 57, 43, .06); }
.hl-table small.hl-flag { color: inherit; font-weight: 600; }
.hl-table .icon-btn { width: 30px; height: 30px; }

/* Je ne suis pas un robot */
.ab { display: flex; flex-direction: column; gap: 4px; margin: 4px 0 6px; position: relative; }
.ab-box { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; text-align: left; }
.ab-box:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.ab-chk { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--muted); display: grid; place-items: center; }
.ab.busy .ab-chk { border-color: var(--accent); border-top-color: transparent; border-radius: 50%; animation: abspin .8s linear infinite; }
.ab.ok .ab-chk { background: #2E7D5B; border-color: #2E7D5B; }
.ab.ok .ab-chk::after { content: ""; width: 11px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.ab.ok .ab-box { border-color: #2E7D5B; }
.ab-s { color: var(--muted); font-size: 12px; padding-left: 4px; }
.ab-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@keyframes abspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ab.busy .ab-chk { animation: none; } }

.pill-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-check { position: relative; }
.pill-check input { position: absolute; opacity: 0; inset: 0; }
.pill-check span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; cursor: pointer; }
.pill-check input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink, var(--accent)); }
.pill-check input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.mig-range { width: 100%; accent-color: var(--accent); }
.hl-ordo { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }

.baby-top { flex-direction: column; align-items: stretch; }
.baby-visual { width: 100%; max-width: none; aspect-ratio: 16 / 11; }
.baby-facts { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.baby-wk { width: 100%; }
.baby-fruit { width: 100%; }

.baby-org { padding: 4px 2px; }
.baby-org b { font-size: 15px; }
.baby-org ul { margin: 6px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; line-height: 1.45; }
.baby-org li::marker { color: var(--accent); }

.hl-limit { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.hl-lim-v { display: block; font-family: var(--serif, Fraunces, Georgia, serif); font-size: 30px; font-weight: 500; color: var(--accent); line-height: 1.1; }
.hl-ref summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.hl-ref table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13.5px; }
.hl-ref th { text-align: left; color: var(--muted); font-size: 12px; padding: 6px; }
.hl-ref td { padding: 7px 6px; border-top: 1px solid var(--line); }
.hl-ref tr.r-ok td:first-child { color: #2E7D5B; font-weight: 700; }
.hl-ref tr.r-mid td:first-child { color: #B5651D; font-weight: 700; }
.hl-ref tr.r-hi td:first-child { color: #C0392B; font-weight: 700; }
.hl-ref tr.r-hi2 td { color: #C0392B; font-weight: 700; }
.hl-alert { margin-top: 12px; border: 1.5px solid #F2B8B0; background: #FFF1EF; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.hl-alert b { display: inline-flex; gap: 6px; align-items: center; color: #B3261E; }
.hl-alert p { margin: 0; line-height: 1.5; }
.hl-pop { text-align: center; align-items: center; }
.hl-pop p { margin: 0; line-height: 1.55; }
.hl-pop-ico { width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; background: #FFF1E6; color: #B5651D; }
.hl-pop.urgent .hl-pop-ico { background: #FFE5E2; color: #C0392B; }
@media (prefers-color-scheme: dark) { .hl-alert { background: #3A1E1C; border-color: #6B3530; } .hl-alert b { color: #FFB4A9; } }

.birth-card { display: flex; flex-direction: column; gap: 14px; }
.birth-date { display: flex; flex-direction: column; gap: 4px; }
.birth-date b { font-size: 26px; line-height: 1.15; color: var(--accent); font-weight: 500; }
.birth-place { display: flex; gap: 12px; align-items: flex-start; }

.prev-it summary { list-style: none; cursor: pointer; gap: 10px; }
.prev-it summary::-webkit-details-marker { display: none; }
.prev-it.due .sr-l { color: var(--ink); font-weight: 800; }
.prev-more { padding: 0 16px 14px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.prev-more p { margin: 0; line-height: 1.5; font-size: 14.5px; }
.chip.warn { background: #FFF1E6; color: #A55A22; }

/* Charge mentale */
.cm-tabs { margin: 4px 0 12px; }
.cm-q { display: flex; flex-direction: column; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); }
.cm-q p { margin: 0; font-weight: 600; line-height: 1.4; }
.cm-gauge { display: block; width: 100%; height: 12px; border-radius: 99px; background: var(--line); overflow: hidden; }
.cm-gauge i { display: block; height: 100%; border-radius: 99px; background: #2E7D5B; }
.cm-res.r-mid .cm-gauge i { background: #D18A2C; } .cm-res.r-hi .cm-gauge i { background: #C0392B; }
.cm-bars { gap: 12px; }
.cm-bar { display: grid; grid-template-columns: 84px minmax(0, 1fr) 46px; gap: 10px; align-items: center; font-weight: 600; }
.cm-bar div { height: 12px; border-radius: 99px; background: var(--line); overflow: hidden; }
.cm-bar i { display: block; height: 100%; border-radius: 99px; }
.cm-bar b { text-align: right; }
.cm-sum { display: flex; gap: 10px; flex-wrap: wrap; }
.cm-sum span { flex: 1; min-width: 80px; padding: 10px; border-radius: 14px; background: var(--accent-soft); text-align: center; font-size: 13px; font-weight: 600; }
.cm-sum b { display: block; font-size: 24px; color: var(--accent); }
.cm-gt { margin: 18px 0 8px; font-size: 15px; }
.cm-row { flex-wrap: wrap; gap: 8px; }
.cm-row .grow { min-width: 160px; }
.cm-who { display: flex; gap: 6px; flex-wrap: wrap; }
.cm-who button { border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink); }
.cm-who button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.cm-who button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.cm-talk ol, .cm-tip ul, .cm-alert ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; line-height: 1.5; }
.cm-talk { margin-top: 16px; }
.cm-alert p { margin: 0; line-height: 1.55; }
.cm-help { display: flex; gap: 12px; align-items: center; }

/* Titre sur la même ligne que la flèche de retour */
.topbar.tb-title { margin-bottom: 14px; }
.tb-title .left { flex: 1; min-width: 0; gap: 4px; }
.tb-title .tb-back { margin-left: -10px; flex: none; }
.tb-title h1.title { font-size: clamp(26px, 7.4vw, 34px); line-height: 1.1; overflow-wrap: anywhere; }

/* Après la naissance */
.pp-hero { display: flex; gap: 16px; align-items: center; background: linear-gradient(135deg, #FFF1E6, #FBE4EC); }
.pp-hero b.serif { display: block; font-size: 26px; line-height: 1.15; }
.pp-ico { font-size: 44px; }
.pp-moods { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.pp-moods button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; font-size: 12px; font-weight: 600; color: var(--ink); cursor: pointer; }
.pp-moods button span { font-size: 26px; }
.pp-moods button.on { border-color: var(--accent); background: var(--accent-soft); }
.pp-blues p { margin: 0; line-height: 1.55; }
.pp-help { display: flex; gap: 12px; align-items: center; }
.pp-born { margin-top: 4px; }

/* Le grand quiz */
.qz-themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.qz-th { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.qz-th span { font-size: 22px; }
.qz-th b { font-size: 14.5px; line-height: 1.25; }
.qz-th small { color: var(--muted); font-size: 12px; }
.qz-th.on { border-color: var(--accent); background: var(--accent-soft); }
.qz-names { display: flex; flex-direction: column; gap: 8px; }
.qz-bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin: -2px 0 12px; }
.qz-bar i { display: block; height: 100%; background: var(--accent); border-radius: 6px; transition: width .3s ease; }
.qz-card { gap: 12px; }
.qz-who { align-self: flex-start; }
.qz-t { font-weight: 700; }
.qz-q { font-family: var(--serif, Fraunces, Georgia, serif); font-weight: 500; font-size: 21px; line-height: 1.3; }
.qz-ans { display: flex; flex-direction: column; gap: 8px; }
.qz-a { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; text-align: left; cursor: pointer; line-height: 1.35; transition: background .15s, border-color .15s; }
.qz-a:not([disabled]):active { transform: scale(.99); }
.qz-l { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 13px; }
.qz-a.ok { border-color: #2E9E6A; background: rgba(46, 158, 106, .12); }
.qz-a.ok .qz-l { background: #2E9E6A; color: #fff; }
.qz-a.ko { border-color: #D2465A; background: rgba(210, 70, 90, .1); }
.qz-a.ko .qz-l { background: #D2465A; color: #fff; }
.qz-a.off { opacity: .55; }
.qz-a[disabled] { cursor: default; }
.qz-exp { padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); }
.qz-exp.good b { color: #2E9E6A; }
.qz-exp.bad b { color: #D2465A; }
.qz-exp p { margin: 6px 0; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .qz-bar i { transition: none; } }

.spaces-list .sp-ren { justify-content: flex-start; gap: 8px; min-height: 0; padding: 6px 12px 10px 54px; background: none; border: 0; color: var(--accent); font-weight: 700; font-size: 13.5px; }

.pdf-file { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); margin-bottom: 12px; }
.pdf-file b { display: block; color: var(--ink); font-size: 14px; word-break: break-all; }
.pdf-actions button { align-items: center; }
.pdf-actions small { display: block; color: var(--muted); font-weight: 500; font-size: 12.5px; }

.nx-lang { width: auto !important; padding: 0 10px; gap: 5px; display: inline-flex; align-items: center; font-weight: 700; font-size: 12.5px; }

.space-pill.has-ph { padding-left: 5px; }
.space-pill .sp-ph { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none; }
.spaces-list .sp-ico.ph { padding: 0; overflow: hidden; background: none; }
.spaces-list .sp-ico.ph img, .sp-set-ph img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.sp-set-ph { overflow: hidden; padding: 0; }
.spaces-list .sp-tools { display: flex; flex-wrap: wrap; gap: 0 4px; padding-left: 42px; }
.spaces-list .sp-tools .sp-ren { padding: 6px 12px 10px; width: auto; }
.sp-big { width: 120px; height: 120px; margin: 4px auto 12px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.sp-big img { width: 100%; height: 100%; object-fit: cover; }

.grp-photo { width: 132px; height: 132px; border-radius: 50%; overflow: hidden; padding: 0; border: 4px solid var(--surface); box-shadow: 0 10px 30px rgba(120, 40, 70, .18); cursor: pointer; margin: 0 auto 10px; display: block; background: var(--accent-soft); }
.grp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.group-avs.sm .avatar.lg { width: 40px; height: 40px; font-size: 15px; }

/* Aujourd’hui : cartes du jour empilées, compactes */
.day-stack { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; }
.day-stack > .card { margin: 0; padding: 16px 18px; }
.day-stack .daily-text { font-size: 19px; line-height: 1.32; }
.day-stack .card.daily, .day-stack .card.verse { gap: 8px; display: flex; flex-direction: column; }
@media (min-width: 720px) { .day-stack { display: grid; grid-template-columns: 1fr 1fr; } .day-stack > .news-row-card { grid-column: 1 / -1; } }
/* L’actu du jour */
.news-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: none; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.news-logo.ph { display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); }
.news-row-card { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; font: inherit; color: var(--ink); cursor: pointer; border: 0; }
.news-row-card small { display: block; color: var(--muted); font-weight: 700; font-size: 12px; margin-bottom: 2px; }
.news-row-card b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.3; }
.news-thumb { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.news-pop { position: fixed; left: max(12px, calc(50% - 268px)); right: 64px; max-width: 360px; bottom: calc(var(--safe-bottom, 0px) + 84px); z-index: 60; display: flex; align-items: center; gap: 2px; padding: 6px 6px 6px 8px; background: var(--surface); border-radius: 16px; box-shadow: 0 10px 30px rgba(40, 10, 30, .22), 0 0 0 1px var(--line); transform: translateY(160%); opacity: 0; transition: transform .35s cubic-bezier(.2, .9, .3, 1.1), opacity .25s; }
.news-pop.on { transform: none; opacity: 1; }
.news-pop .np-body { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0; padding: 0; background: none; border: 0; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.news-pop .news-logo { width: 30px; height: 30px; border-radius: 8px; }
.news-pop .np-txt { display: flex; flex-direction: column; min-width: 0; }
.news-pop .np-txt small { color: var(--muted); font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-pop .np-title { font-weight: 700; font-size: 13px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-pop .np-x { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 0; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .news-pop { transition: none; } }
.news-brand { display: flex; align-items: center; gap: 10px; margin: -4px 0 12px; }
.news-brand .news-logo { width: 34px; height: 34px; }
.news-brand small { display: block; color: var(--muted); font-size: 12.5px; }
.news-row { display: flex; flex-direction: row; gap: 12px; align-items: flex-start; }
.news-row .nr-col { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.news-row .news-img { flex: none; }
.news-row .news-img img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; display: block; }

/* Support : bouton discret en bas à droite */
.help-fab { position: fixed; right: max(12px, calc(50% - 268px)); bottom: calc(var(--safe-bottom, 0px) + 86px); z-index: 25; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--muted); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(40, 10, 30, .12); opacity: .85; transition: opacity .2s, color .2s; }
.help-fab:hover, .help-fab:focus-visible { opacity: 1; color: var(--accent); }
body:has(.fab) .help-fab { bottom: calc(var(--safe-bottom) + 176px); }
body:has(.sheet-wrap) .help-fab { display: none; }

.adm-ev .adm-det { grid-column: 1 / -1; display: block; font-style: normal; color: var(--muted); font-size: 12.5px; line-height: 1.35; margin-top: 2px; }
.adm-day { padding: 10px 14px 4px; font-size: 12px; font-weight: 800; color: var(--accent); }
.job-card .field { margin: 0; }

/* Mon programme sport */
.fit-hero { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.fit-hero-ico { font-size: 44px; }
.fit-hero b.serif { font-size: 26px; line-height: 1.15; }
.fit-hero p { margin: 0; }
.fit-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.fit-feats > div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.fit-feats span { font-size: 22px; }
.fit-feats b { font-size: 14.5px; }
.fit-feats small { color: var(--muted); font-size: 12.5px; }
.fit-invite { display: flex; flex-direction: column; gap: 8px; border: 1.5px solid var(--accent); }
.fit-sum { display: flex; align-items: center; gap: 16px; }
.fit-sum b.serif { display: block; font-size: 22px; }
.fit-sum .sub { display: block; }
.fit-ring { --p: 0; flex: none; width: 82px; height: 82px; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--line) 0); display: grid; place-items: center; position: relative; }
.fit-ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--surface); }
.fit-ring b, .fit-ring small { position: relative; display: block; text-align: center; line-height: 1; }
.fit-ring b { font-family: var(--serif, Fraunces, Georgia, serif); font-size: 26px; font-weight: 500; }
.fit-ring small { font-size: 11px; color: var(--muted); margin-top: 2px; }
.fit-ring { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.fit-next { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.fit-next b.serif { font-size: 26px; line-height: 1.15; }
.fit-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }
.fit-chips span { background: var(--accent-soft); color: var(--ink); border-radius: 999px; padding: 6px 11px; font-size: 13px; font-weight: 600; }
.fit-end { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; margin-top: 12px; }
.fit-end b.serif { font-size: 26px; }
.fit-row .fit-ck { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 13px; margin-right: 12px; }
.fit-row.done .fit-ck { background: var(--ok, #2E9E6A); color: #fff; }
.fit-row.done .sr-l { text-decoration: line-through; text-decoration-color: var(--muted); }
.fit-promo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); border: 1.5px solid var(--accent-soft); margin-bottom: 12px; }
.fit-promo > span:first-child { font-size: 30px; }
.fit-promo b { display: block; }
.fit-promo small { color: var(--muted); }
/* Questionnaire */
.fq-bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin: 0 0 14px; }
.fq-bar i { display: block; height: 100%; background: var(--accent); transition: width .3s; }
.fq { gap: 12px; }
.fq-t { font-family: var(--serif, Fraunces, Georgia, serif); font-weight: 500; font-size: 23px; line-height: 1.2; }
.fq-opts { display: flex; flex-direction: column; gap: 8px; }
.fq-o { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 14px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.fq-o.on { border-color: var(--accent); background: var(--accent-soft); }
.fq-o.on svg { color: var(--accent); }
.fq-o b { display: block; font-size: 15.5px; }
.fq-o small { display: block; color: var(--muted); font-size: 12.5px; }
.fq-e { font-size: 24px; flex: none; width: 30px; text-align: center; }
.fq-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.fq-days button { aspect-ratio: 1; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.fq-days button.on { border-color: var(--accent); background: var(--accent); color: var(--on-accent, #fff); }
.fq-yn { display: flex; flex-direction: column; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fq-yn span { font-weight: 600; line-height: 1.4; }
.fq-yn .seg { align-self: flex-start; }
.fq-nav { gap: 8px; margin-top: 6px; }
/* Séance guidée */
.fit-play { padding-bottom: 40px; }
.fp-top { display: flex; align-items: center; gap: 8px; margin: 4px 0 10px; }
.fp-title { flex: 1; font-weight: 800; font-size: 14.5px; }
.fp-time { color: var(--muted); font-weight: 700; font-size: 13px; }
.fp-intro, .fp-done { display: flex; flex-direction: column; gap: 10px; }
.fp-intro b.serif, .fp-done b.serif { font-size: 28px; }
.fp-done { align-items: center; text-align: center; }
.fp-list { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fp-list li { display: flex; gap: 12px; align-items: center; }
.fp-list li > span:first-child { font-size: 22px; width: 32px; text-align: center; }
.fp-list b { display: block; font-size: 15px; }
.fp-list small { color: var(--muted); }
.fp-prog { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.fp-prog i { display: block; height: 100%; background: var(--accent); }
.fp-ph { display: block; text-align: center; color: var(--muted); font-weight: 700; font-size: 13px; margin: 10px 0 0; }
.fp-main { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 10px 6px 0; }
.fp-ring { position: relative; width: min(64vw, 250px); aspect-ratio: 1; }
.fp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.fp-ring circle { fill: none; stroke-width: 12; }
.fp-ring .bg { stroke: var(--line); }
.fp-ring .fg { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset .2s linear; }
.fp-main.rest .fp-ring .fg { stroke: var(--ok, #2E9E6A); }
.fp-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.fp-num b { font-family: var(--serif, Fraunces, Georgia, serif); font-weight: 500; font-size: 64px; line-height: 1; font-variant-numeric: tabular-nums; }
.fp-num span { color: var(--muted); font-weight: 700; font-size: 13px; }
.fp-emo { font-size: 40px; margin-top: 8px; }
.fp-name { font-family: var(--serif, Fraunces, Georgia, serif); font-weight: 500; font-size: 28px; line-height: 1.15; }
.fp-cue { margin: 0; max-width: 34ch; color: var(--muted); line-height: 1.5; }
.fp-ctl { display: flex; justify-content: center; align-items: center; gap: 22px; margin: 18px 0 8px; }
.fp-pp { width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--accent-grad, var(--accent)); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 28px rgba(201, 79, 124, .32); }
.fp-next { text-align: center; color: var(--muted); font-size: 14px; }
.fp-rate { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.fp-rate button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; font-size: 26px; cursor: pointer; color: var(--ink); }
.fp-rate button span { font-size: 13px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .fq-bar i, .fp-ring .fg { transition: none; } }

/* Traitements du jour */
.med-today { padding: 4px 0; }
.med-day { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.med-day:last-child { border-bottom: 0; }
.med-day b { display: block; }
.med-day small { display: block; color: var(--muted); font-size: 12.5px; }
.med-takes { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.med-take { display: inline-flex; align-items: center; gap: 4px; padding: 7px 11px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.med-take.on { background: var(--ok, #2E9E6A); border-color: var(--ok, #2E9E6A); color: #fff; }
.med-take.late { border-color: #D2465A; color: #B33A57; }
.med-stock { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 2px; }
.med-stock.low { color: #B33A57; }
.med-home { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.med-home > svg { color: var(--accent); flex: none; }
.med-home b { display: block; }
.med-home small { color: var(--muted); }
.med-home.late { border: 1.5px solid #E7A3B0; }
.med-home.ok > svg { color: var(--ok, #2E9E6A); }

/* Bilan santé */
.bil-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bil-tile { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; min-width: 0; }
.bil-tile.warn { border-color: #E7A3B0; }
.bil-h { font-size: 12.5px; font-weight: 800; color: var(--muted); }
.bil-tile b { font-family: var(--serif, Fraunces, Georgia, serif); font-weight: 500; font-size: 26px; line-height: 1.1; margin-top: 4px; }
.bil-tile small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.bil-tile .spark { width: 100%; height: 36px; margin-top: 6px; }
.bil-bar { display: block; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin: 8px 0 4px; font-style: normal; }
.bil-bar i { display: block; height: 100%; background: var(--ok, #2E9E6A); border-radius: 6px; }

/* Mon humeur */
.mood-pick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.mood-pick button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.mood-pick button span { font-size: 30px; line-height: 1; }
.mood-pick button small { font-size: 11px; font-weight: 700; color: var(--muted); text-align: center; line-height: 1.2; }
.mood-pick button.on { border-color: #E39B2B; background: #FDF1DE; }
.mood-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mood-tags button { padding: 7px 11px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.mood-tags button.on { border-color: var(--accent); background: var(--accent-soft); }
.mood-done { display: flex; align-items: center; gap: 14px; }
.mood-big { font-size: 46px; }
.mood-done b { display: block; font-size: 17px; }
.mood-done small { display: block; color: var(--muted); }
.mood-chart svg { width: 100%; height: auto; display: block; }
.mood-axis { display: flex; justify-content: space-between; font-size: 14px; margin: -4px 0 6px; opacity: .8; }
.mood-insight span { line-height: 1.45; }
.mood-link, .br-item { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; text-align: left; width: 100%; border: 0; font: inherit; cursor: pointer; margin-top: 12px; }
.mood-link > span:first-child, .br-emo { font-size: 30px; flex: none; }
.mood-link b, .br-item b { display: block; }
.mood-link small, .br-item small { color: var(--muted); display: block; line-height: 1.4; }
/* Respirer */
.br-list { display: flex; flex-direction: column; gap: 10px; }
.br-list .br-item { margin: 0; }
.br-play { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 8px; }
.br-title { font-weight: 800; color: var(--muted); }
.br-stage { position: relative; width: min(80vw, 320px); aspect-ratio: 1; display: grid; place-items: center; }
.br-circle { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #FFD8C5, #F2A9C4 55%, #B79CED); box-shadow: 0 30px 80px rgba(183, 156, 237, .35); transition: transform .1s linear; }
.br-txt { position: relative; display: flex; flex-direction: column; align-items: center; color: #3B2F36; }
.br-txt b { font-family: var(--serif, Fraunces, Georgia, serif); font-weight: 500; font-size: 32px; }
.br-txt span { font-size: 22px; font-weight: 700; opacity: .75; }
.br-scan { margin: 0; max-width: 36ch; text-align: center; font-family: var(--serif, Fraunces, Georgia, serif); font-size: 21px; line-height: 1.4; }
.br-ctl { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.br-done { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.br-done b.serif { font-size: 28px; }
@media (prefers-reduced-motion: reduce) { .br-circle { transition: none; } }

/* Carnet de santé des enfants et suivi de bébé */
.kh-links { display: grid; gap: 10px; margin: 12px 0; }
.kh-link { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin: 0; }
.kh-link > span:first-child { font-size: 28px; }
.kh-link b { display: block; }
.kh-link small { color: var(--muted); }
.kh-sum { display: flex; align-items: baseline; gap: 10px; }
.kh-sum b.serif { font-size: 28px; }
.kh-vax.done .sr-l { color: var(--muted); }
.kh-vax.late .sr-v { color: #B33A57; }
.kh-vax .chip { border: 0; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.kh-chart b { display: block; margin-bottom: 4px; }
.kh-chart svg { width: 100%; height: auto; display: block; }
.baby-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.baby-stats > div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; display: flex; flex-direction: column; }
.baby-stats span { font-size: 20px; }
.baby-stats b { font-family: var(--serif, Fraunces, Georgia, serif); font-weight: 500; font-size: 24px; line-height: 1.15; }
.baby-stats small { color: var(--muted); font-size: 12px; }
.baby-btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 4px; }
.baby-btns button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.baby-btns button span { font-size: 26px; }
.baby-asleep { display: flex; align-items: center; gap: 12px; border: 1.5px solid #B79CED; }
.baby-asleep > span:first-child { font-size: 28px; }
.baby-asleep b { display: block; }
.baby-asleep small { color: var(--muted); }
.baby-ic { font-size: 22px; margin-right: 10px; }
.baby-ml { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.baby-ml button { padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; font-weight: 700; cursor: pointer; color: var(--ink); }

/* Mode urgence */
.sos-alert { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; margin: 0 0 14px; border: 0; border-radius: 22px; background: linear-gradient(135deg, #D2304A, #A0124A); color: #fff; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 12px 30px rgba(160, 18, 74, .3); }
.sos-alert > span:first-child { font-size: 34px; }
.sos-alert b { display: block; font-size: 18px; }
.sos-alert small { display: block; opacity: .85; }
.sos-msgs { display: flex; flex-direction: column; gap: 6px; }
.sos-msgs label { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; }
.sos-msgs label:has(input:checked) { border-color: #D2304A; background: #FBE8EC; }
.sos-go { background: linear-gradient(135deg, #D2304A, #A0124A) !important; }

/* Courses par magasin */
.shop-sum { display: flex; align-items: center; gap: 12px; }
.shop-sum > span:first-child { font-size: 28px; }
.shop-sum b { display: block; }
.shop-sum small { color: var(--muted); }
.shop-h { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 4px 6px; }
.shop-h span { font-weight: 800; color: var(--accent); }
.shop-edit { display: flex; flex-direction: column; gap: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }

/* Illustrations des exercices et suivi du poids */
.fp-fig { width: 190px; height: 190px; margin: 6px auto 0; }
.fp-fig .fig { display: block; }
.fp-mini { position: relative; flex: none; width: 88px; height: 88px; min-width: 88px; padding: 2px; border: 0; border-radius: 18px; background: var(--accent-soft); display: grid; place-items: center; overflow: hidden; cursor: zoom-in; font: inherit; color: inherit; }
.fp-mini svg.fig { width: 100%; height: 100%; display: block; }
.fp-mini:active { transform: scale(.96); }
.fp-zoom { position: absolute; right: 5px; bottom: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); color: var(--ink-2); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.fig-zoom-art { width: min(80vw, 320px); aspect-ratio: 1; border-radius: 28px; background: #FBE9EF; display: grid; place-items: center; margin-bottom: 6px; }
.fig-zoom-art svg { width: 92%; height: 92%; }
.fig-zoom-cue { margin: 0; font-size: 17px; line-height: 1.45; color: #333; max-width: 420px; }
.fit-weight { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.fit-w-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fit-w-row > div { background: var(--surface-2, #F6F2F4); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; }
.fit-w-row b { font-family: var(--serif, Fraunces, Georgia, serif); font-weight: 500; font-size: 20px; }
.fit-w-row small { color: var(--muted); font-size: 11.5px; }
.fit-w-row .down b { color: var(--ok, #2E9E6A); }
.fit-weight .spark { width: 100%; height: 54px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fig { --fig: #FF8FB5; --fig-far: #8E5A70; } }
:root[data-theme="dark"] .fig { --fig: #FF8FB5; --fig-far: #8E5A70; }

.fp-prep { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 8px 14px 8px 8px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-align: left; }
.fp-prep b { display: block; }
.fp-mini.big { width: 96px; height: 96px; min-width: 96px; border-radius: 18px; }

/* ---------- Wallet ---------- */
.wallet .w-stack { container-type: inline-size; display: flex; flex-direction: column; padding-bottom: 6px; }
.w-link { display: block; text-decoration: none; color: inherit; border-radius: 18px; transition: transform .18s ease; }
.w-stack > .w-link + .w-link { margin-top: calc(58px - 63.05cqw); }
.w-stack > .w-link:hover, .w-stack > .w-link:focus-visible { transform: translateY(-6px); }
.wcard { position: relative; display: flex; flex-direction: column; aspect-ratio: 1.586; width: 100%; border-radius: 18px; padding: 14px 16px; color: #fff; overflow: hidden; box-shadow: 0 -1px 0 rgba(255,255,255,.18) inset, 0 8px 22px rgba(20,12,30,.22); isolation: isolate; }
.wcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.22), transparent 55%), repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 9px); }
.wcard.expired { filter: saturate(.35); }
.wc-top { display: flex; align-items: center; gap: 8px; min-height: 30px; }
.wc-badge { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.2); font-size: 17px; }
.wc-name { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.wc-name b { font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0,0,0,.15); }
.wc-name small { font-size: 12px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wc-shared { opacity: .85; display: inline-flex; }
.wc-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: 6px; font-size: 14px; min-height: 18px; }
.wc-holder { font-weight: 600; opacity: .95; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wc-num { margin-top: auto; font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0,0,0,.15); }
.wc-valid { display: flex; flex-direction: column; align-items: flex-end; font-weight: 700; white-space: nowrap; }
.wc-valid small { font-size: 10px; font-weight: 600; opacity: .8; }
.wc-exp { position: absolute; top: 14px; right: 14px; background: rgba(0,0,0,.35); padding: 3px 9px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.wcard.big .wc-name b { font-size: 18px; }
.wcard.big .wc-num { font-size: 21px; }
.w-hero { margin: 4px 0 14px; }
.w-code { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; padding: 16px; background: #fff; color: #111; border: 1px solid var(--line); cursor: pointer; font: inherit; }
.w-code .chip { background: #F1EEF4; color: #3A3648; }
.w-bars { width: 100%; height: 76px; display: block; }
.w-code-txt { font-variant-numeric: tabular-nums; letter-spacing: .12em; font-size: 15px; font-weight: 600; word-break: break-all; text-align: center; }
.w-qr { display: grid; place-items: center; min-height: 160px; }
.w-qr canvas { width: 180px; height: 180px; image-rendering: pixelated; }
.w-row .w-val { font-variant-numeric: tabular-nums; word-break: break-word; user-select: all; }
.w-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.w-ph { padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); cursor: pointer; display: flex; flex-direction: column; font: inherit; color: var(--ink-2); }
.w-ph img { width: 100%; aspect-ratio: 1.586; object-fit: cover; display: block; }
.w-ph small { padding: 6px; }
.w-foot { margin: 12px 2px; line-height: 1.5; }
.w-foot svg { vertical-align: -2px; }
.w-kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.w-kind { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; text-align: center; }
.w-kind span { font-size: 26px; }
.w-kind small { font-size: 12.5px; font-weight: 700; line-height: 1.2; }
.w-kind:active { transform: scale(.97); }
.w-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.w-side { aspect-ratio: 1.586; border-radius: 14px; border: 1.5px dashed var(--line-2); background: var(--surface-2); color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; overflow: hidden; padding: 0; cursor: pointer; font: inherit; }
.w-side img { width: 100%; height: 100%; object-fit: cover; }
.w-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.w-col { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; box-shadow: 0 0 0 1px var(--line) inset; }
.w-col.on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--surface) inset; }
.w-full { position: fixed; inset: 0; z-index: 9999; background: #fff; color: #111; display: flex; align-items: center; justify-content: center; padding: 24px 16px; animation: wFade .2s ease; }
.w-full.dark { background: rgba(10,8,14,.94); }
.w-full-x { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; background: rgba(0,0,0,.08); color: inherit; }
.w-full.dark .w-full-x { background: rgba(255,255,255,.15); color: #fff; }
.w-full-img { max-width: 100%; max-height: 100%; border-radius: 12px; }
.w-full-card { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; width: 100%; max-width: 560px; }
.w-full-card b.serif { font-size: 28px; line-height: 1.15; }
.w-full-card .sub { color: #666; }
.w-bars-big { width: 100%; margin: 14px 0 4px; }
.w-bars-big .w-bars { height: 150px; }
.w-qr.big canvas { width: min(78vw, 340px); height: min(78vw, 340px); }
.w-full-num { font-size: 22px; letter-spacing: .1em; font-weight: 700; font-variant-numeric: tabular-nums; word-break: break-all; }
@keyframes wFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .w-link, .w-full { transition: none; animation: none; } }

/* Jours fériés */
.cal-day.fer > b { color: var(--accent); }
.cal-day.fer::after { content: ""; position: absolute; top: 5px; right: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.cal-day.fer.usage > b { color: inherit; }
.cal-day.fer.usage::after { background: transparent; box-shadow: 0 0 0 1.5px var(--accent) inset; }
.fer-regs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fer-reg { display: flex; align-items: center; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; }
.fer-reg input { accent-color: var(--accent); width: 18px; height: 18px; }
.fer-reg span { font-size: 20px; }
.fer-reg:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }

.nav-more-l { display: inline-flex; align-items: center; gap: 2px; }
.nav-more-l i { display: inline-flex; transform: rotate(180deg); opacity: .8; }
.fer-leg { color: var(--accent); font-weight: 800; font-size: 12px; margin-right: 3px; }
