/* Polices servies par le site (licence SIL OFL, voir fonts/LICENSES.txt) : aucune requête vers un service tiers. */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); }
/* Layout: bandeau d'accueil dégradé + téléphone, trois missions, cinq acteurs, deux parcours (résidents / syndics), contact. Charte « Festive » (DESIGN.md §0octies). Maquette à police Google ; en production les polices sont servies par le site. */
:root {
  --bg: #F3F4FB;
  --card: #FFFFFF;
  --ink: #151C36;
  --ink-2: #596384;
  --line: #E4E8F5;
  --secondary: hsl(212 74% 93%);
  --neutral-200: #E8ECF8;
  --accent-200: hsl(221 73% 90%);
  --brand: #1B5E7A;
  --band: #124E78;
  --primary: #2F63C7;
  --accent-100: #E8EEFC;
  --accent-700: #3A4BB8;
  --ok: #1B7A55;
  --urgent: #C93A52;
  --pan: #D9532F;
  --pan-soft: hsl(346 100% 95%);
  --ann: #FFCB52;
  --ann-soft: hsl(40 100% 93%);
  --ann-ink: #5A3300;
  --evt: #0F9068;
  --evt-soft: hsl(160 55% 92%);
  --prk: #7C6BF0;
  --prk-soft: hsl(247 80% 95%);
  --msg: #2389CF;
  --msg-soft: hsl(205 85% 94%);
  --gr-brand: linear-gradient(135deg, #1F6FB5, #4A56D6);
  --gr-hero: radial-gradient(260px 200px at 94% 0%, rgba(255,196,80,.62), transparent 66%), radial-gradient(250px 230px at 0% 100%, rgba(255,90,130,.45), transparent 66%), linear-gradient(160deg, #124E78 0%, #2262B5 50%, #5B49D6 100%);
  --gr-fest: radial-gradient(220px 170px at 100% 0%, rgba(255,190,60,.6), transparent 70%), radial-gradient(200px 160px at 0% 110%, rgba(255,90,130,.4), transparent 70%), linear-gradient(150deg, #3B2A8F 0%, #7B3FC4 60%, #D8559F 120%);
  --gr-fab: linear-gradient(135deg, #E5503F, #C42B73);
  --gr-pan: linear-gradient(135deg, #D9532F, #B8204F);
  --gr-ann: linear-gradient(135deg, #FFCB52, #FF9A1F);
  --gr-evt: linear-gradient(135deg, #0F9068, #0A7478);
  --gr-prk: linear-gradient(135deg, #7C6BF0, #4B39C9);
  --gr-msg: linear-gradient(135deg, #2389CF, #17589F);
  --shadow: 0 1px 2px rgba(30,40,100,.05), 0 16px 32px -16px rgba(40,50,130,.3);
  --shadow-sm: 0 1px 2px rgba(30,40,100,.08), 0 8px 16px -10px rgba(30,40,100,.3);
  --shadow-nav: 0 18px 38px -16px rgba(30,40,120,.55);
  --shadow-cta: 0 12px 22px -12px rgba(47,90,220,.75);
  --f-head: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--f-body);
  padding-left: 0; padding-right: 0; overflow-x: hidden;
  background-image: radial-gradient(60rem 30rem at 85% -5%, rgba(107,79,208,.10), transparent 60%), radial-gradient(50rem 30rem at -10% 40%, rgba(47,99,199,.08), transparent 60%);
  background-repeat: no-repeat;
}
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px var(--primary); }
svg.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Bandeau maquette + en-tête */
.top { background: var(--band); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.top img { height: 46px; width: auto; display: block; }
.top nav { display: flex; align-items: center; gap: 4px; }
.top nav a { color: #E6ECFA; text-decoration: none; font-weight: 600; font-size: 14px; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; }
.top nav a:hover { background: rgba(255,255,255,.12); }
.top nav a.pill { background: #fff; color: var(--accent-700); padding: 0 18px; }
.top nav a.pill:hover { background: var(--accent-100); }


/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font: 700 16px/1 var(--f-body); text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; text-align: center; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--gr-brand); color: #fff; box-shadow: var(--shadow-cta); }
.btn-white { background: #fff; color: var(--accent-700); box-shadow: 0 8px 20px rgba(10,20,60,.25); }
.btn-glass { background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn-outline { background: #fff; color: var(--accent-700); box-shadow: inset 0 0 0 1.5px var(--line); }

/* Hero */
.hero { background: var(--gr-hero); color: #fff; border-radius: 0 0 38px 38px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 38rem; height: 38rem; right: -12rem; top: -14rem; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; padding-block: 56px 72px; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow { background: rgba(255,255,255,.16); padding: 9px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); font-weight: 800; margin-top: 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #FFD98A, #FF9E85); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.12rem; color: #E4EAFB; margin-top: 18px; max-width: 34rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.14); padding: 8px 14px; border-radius: 999px; }
.hero-art { display: flex; flex-direction: column; align-items: center; gap: 22px; position: relative; }
@media (max-width: 640px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 40px 56px; } }

/* Téléphone */
.phone { width: 268px; height: 540px; background: var(--ink); border-radius: 42px; padding: 9px; box-shadow: 0 30px 60px rgba(8,16,48,.45), inset 0 0 0 2px rgba(255,255,255,.08); transform: rotate(3deg); flex: none; }
.phone.flat { transform: none; box-shadow: 0 24px 48px rgba(21,28,54,.28); }
.screen { background: var(--bg); color: var(--ink); height: 100%; border-radius: 34px; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.s-bar { background: var(--band); height: 46px; display: flex; align-items: center; padding: 0 14px; flex: none; }
.s-bar img { height: 30px; }
.s-body { padding: 12px 12px 0; display: flex; flex-direction: column; gap: 10px; overflow: hidden; flex: 1; }
.s-hello { background: var(--gr-hero); color: #fff; border-radius: 18px 18px 22px 22px; padding: 12px 14px; font: 700 15px/1.2 var(--f-head); }
.s-hello b { background: linear-gradient(90deg, #FFD98A, #FF9E85); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s-h { font: 700 12px/1 var(--f-head); margin: 2px 2px -2px; }
.s-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 11px 12px; font-size: 11.5px; }
.s-card .t { font: 700 13px/1.2 var(--f-head); }
.s-card .m { color: var(--ink-2); margin-top: 3px; }
.s-btn { display: flex; justify-content: center; align-items: center; margin-top: 9px; min-height: 34px; border-radius: 999px; background: var(--gr-brand); color: #fff; font-weight: 700; font-size: 12px; box-shadow: var(--shadow-cta); }
.s-fest { background: var(--gr-fest); color: #fff; border-radius: 20px; padding: 12px; position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; }
.s-date { background: linear-gradient(135deg, #FFD98A, #FF9E85); color: var(--ann-ink); border-radius: 12px; transform: rotate(-4deg); text-align: center; padding: 6px 9px; font: 800 18px/1 var(--f-head); }
.s-date small { display: block; font: 700 9px/1.2 var(--f-body); letter-spacing: .1em; }
.s-fest .t { font: 700 13px/1.2 var(--f-head); }
.s-fest .m { font-size: 10.5px; opacity: .9; margin-top: 2px; }
.s-fest .s-btn { grid-column: 1 / -1; background: #fff; color: var(--accent-700); box-shadow: none; margin-top: 2px; }
.s-nav { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 54px; border-radius: 26px; background: rgba(255,255,255,.88); backdrop-filter: blur(8px); box-shadow: 0 8px 22px rgba(21,28,54,.18), inset 0 0 0 1.5px #fff; display: flex; align-items: center; justify-content: space-around; color: var(--ink-2); font-size: 18px; }
.s-nav .ni { width: 42px; height: 26px; border-radius: 999px; display: grid; place-items: center; transition: background .25s, color .25s; }
.s-nav .ni.on { background: var(--gr-brand); color: #fff; }
.s-nav .fab { width: 46px; height: 46px; border-radius: 50%; background: var(--gr-pan); color: #fff; display: grid; place-items: center; margin-top: -16px; font-size: 22px; box-shadow: 0 8px 18px rgba(232,96,76,.5); }
.phone-note { position: absolute; bottom: -34px; left: 0; right: 0; text-align: center; font-size: 12px; color: #D3DAF3; }

/* Sections */
section { scroll-margin-top: 76px; }
.sec { padding-block: 72px; }
.sec-head { max-width: 44rem; margin-bottom: 36px; }
.sec-head .eyebrow { color: var(--accent-700); }
.sec-head h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); margin-top: 12px; }
.sec-head p { color: var(--ink-2); font-size: 1.05rem; margin-top: 12px; }

/* Tuiles à filigrane */
.tile { position: relative; overflow: hidden; border-radius: 26px; color: #fff; padding: 66px 22px 22px; min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; box-shadow: var(--shadow); isolation: isolate; }
.tile .wm { position: absolute; right: -22px; bottom: -26px; width: 150px; height: 150px; opacity: .22; transform: rotate(12deg); z-index: -1; stroke-width: 1.6; }
.tile .tag { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.22); padding: 6px 12px; border-radius: 999px; font: 700 12px/1 var(--f-body); }
.tile h3 { font-size: 1.3rem; }
.tile p { font-size: .96rem; opacity: .95; }
.tile.dark-ink { color: var(--ann-ink); }
.tile.dark-ink .tag { background: rgba(74,42,0,.12); }
.g3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

/* Acteurs */
.actors { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.actor { background: var(--card); border-radius: 26px; box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.actor .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 20px; }
.actor h3 { font-size: 1.05rem; }
.actor p { color: var(--ink-2); font-size: .94rem; }

/* Parcours */
.path { padding-block: 24px 24px; }
.path-card { border-radius: 38px; padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.path-card.res { background: linear-gradient(160deg, #FFFFFF 0%, var(--prk-soft) 100%); box-shadow: var(--shadow); }
.path-card.syn { background: linear-gradient(160deg, #FFFFFF 0%, var(--msg-soft) 100%); box-shadow: var(--shadow); }
.path-card.syn .art { order: -1; }
.badge { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 14px; font: 700 12px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.res .badge { background: var(--gr-prk); }
.syn .badge { background: var(--gr-brand); }
.path h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-top: 14px; }
.path .lead { color: var(--ink-2); font-size: 1.05rem; margin-top: 10px; }
.feats { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.feats li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.feats .ic { width: 44px; height: 44px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-size: 20px; }
.feats h3 { font-size: 1.02rem; }
.feats p { color: var(--ink-2); font-size: .94rem; margin-top: 2px; }
.path .cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.art { display: flex; justify-content: center; position: relative; padding-bottom: 34px; }
.art-note { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--ink-2); }
@media (max-width: 900px) { .path-card { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; } .path-card.syn .art { order: 0; } }
@media (max-width: 520px) { .path-card { padding: 26px 16px; border-radius: 30px; } }

/* Fenêtre de bureau (syndics) */
.win { width: 100%; max-width: 480px; background: #fff; border-radius: 18px; box-shadow: 0 24px 48px rgba(21,28,54,.22); overflow: hidden; border: 1px solid var(--line); }
.win-bar { background: #EEF0F8; height: 32px; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #C6CBE2; display: block; }
.win-bar span { margin-left: 10px; font-size: 11px; color: var(--ink-2); }
.win-body { display: grid; grid-template-columns: 1fr 1.05fr; background: var(--bg); min-height: 330px; }
.w-list { padding: 12px; display: grid; gap: 8px; align-content: start; border-right: 1px solid var(--line); }
.w-figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.w-fig { background: #fff; border-radius: 12px; padding: 7px 6px; text-align: center; box-shadow: var(--shadow); font-size: 9.5px; color: var(--ink-2); }
.w-fig b { display: block; font: 800 17px/1.1 var(--f-head); color: var(--ink); }
.w-fig.on { background: var(--accent-100); box-shadow: inset 0 0 0 2px var(--primary); }
.w-bar { display: flex; height: 22px; border-radius: 8px; overflow: hidden; font: 700 10px/22px var(--f-body); color: #fff; }
.w-bar span { text-align: center; }
.w-tile { background: linear-gradient(135deg, #fff 55%, var(--pan-soft)); border-radius: 14px; padding: 9px 10px; font-size: 11px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.w-tile b { display: block; font: 700 12px/1.2 var(--f-head); }
.w-tile span { color: var(--ink-2); font-size: 10px; }
.w-tile.sel { box-shadow: inset 0 0 0 2px var(--primary), var(--shadow); }
.w-tile .wm { position: absolute; right: -8px; bottom: -10px; width: 48px; height: 48px; opacity: .16; transform: rotate(10deg); color: var(--pan); stroke-width: 1.6; }
.w-fiche { padding: 12px; display: grid; gap: 9px; align-content: start; font-size: 11px; }
.w-fiche h4 { font: 700 13px/1.2 var(--f-head); margin: 0; }
.steps { display: grid; gap: 6px; padding: 0; margin: 0; list-style: none; }
.steps li { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.steps li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--line); flex: none; }
.steps li.done { color: var(--ink); }
.steps li.done::before { background: var(--ok); box-shadow: none; }
.steps li.now { color: var(--ink); font-weight: 700; }
.steps li.now::before { background: #fff; box-shadow: inset 0 0 0 4px var(--primary); }
.w-act { background: #fff; border-radius: 12px; padding: 8px 10px; box-shadow: var(--shadow); display: flex; justify-content: space-between; gap: 8px; }
.w-act em { font-style: normal; font-weight: 700; color: var(--urgent); white-space: nowrap; }
@media (max-width: 520px) { .win-body { grid-template-columns: 1fr; } .w-list { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Confiance */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; padding-block: 56px 8px; }
.trust div { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border-radius: 26px; padding: 18px 20px; box-shadow: var(--shadow); }
.trust .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--evt-soft); color: var(--ok); display: grid; place-items: center; font-size: 20px; flex: none; }
.trust b { font-family: var(--f-head); display: block; }
.trust span { color: var(--ink-2); font-size: .93rem; }

/* Contact */
.contact { background: var(--gr-hero); color: #fff; border-radius: 38px; padding: 44px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; margin-block: 72px 56px; position: relative; overflow: hidden; }
.contact h2 { font-size: clamp(1.8rem, 3.8vw, 2.5rem); margin-top: 12px; }
.contact .lead { color: #E4EAFB; margin-top: 12px; }
.mailbox { margin-top: 24px; background: rgba(255,255,255,.14); border-radius: 22px; padding: 16px 18px; display: grid; gap: 10px; }
.mailbox .lbl { font: 700 11px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; opacity: .85; display: flex; gap: 8px; align-items: center; }
.mailbox code { font: 700 clamp(1rem, 2.4vw, 1.2rem)/1.3 var(--f-body); user-select: all; overflow-wrap: anywhere; }
.mailbox .btn { min-height: 44px; padding: 0 18px; font-size: 14px; justify-self: start; }
.form { background: #fff; color: var(--ink); border-radius: 26px; padding: 26px; box-shadow: 0 20px 40px rgba(8,16,48,.3); display: grid; gap: 16px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.form legend, .form label.l { font-weight: 700; font-size: 14px; padding: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { position: relative; }
.radios input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.radios span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 14px; color: var(--ink-2); }
.radios input:checked + span { background: var(--gr-brand); color: #fff; box-shadow: var(--shadow-cta); }
.radios input:focus-visible + span { outline: 3px solid #fff; box-shadow: 0 0 0 5px var(--primary); }
.field { display: grid; gap: 6px; min-width: 0; }
.field input, .field textarea { font: 400 16px/1.4 var(--f-body); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 13px 16px; width: 100%; min-height: 48px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(47,99,199,.18); }
.field .err { color: var(--urgent); font-size: 13px; font-weight: 600; min-height: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: 12.5px; color: var(--ink-2); }
.sent { display: none; text-align: center; gap: 12px; justify-items: center; padding: 14px 6px; }
.sent .ok { width: 60px; height: 60px; border-radius: 50%; background: var(--gr-evt); color: #fff; display: grid; place-items: center; font-size: 28px; }
.sent h3 { font-size: 1.3rem; }
.sent p { color: var(--ink-2); }
.form.done .fields { display: none; }
.form.done .sent { display: grid; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; padding: 32px 22px; } }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } .contact { padding: 28px 16px; } .form { padding: 20px 16px; } }

/* Pied de page */
footer { padding-block: 8px 48px; color: var(--ink-2); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
footer ul { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; }
footer li { min-height: 32px; display: inline-flex; align-items: center; }
footer small { display: block; width: 100%; font-size: 12px; opacity: .85; }

/* ---- Adaptation PC, tablette (horizontale et verticale), téléphone ---- */
html { -webkit-text-size-adjust: 100%; }
.btn, .tab, .menu-btn, .radios span, .w-tile, .w-next { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

/* Menu : liens en ligne dès 721 px, tiroir en dessous */
.menu-btn, .head-pill { display: none; }
.top nav a[aria-current="true"]:not(.pill) { background: rgba(255,255,255,.18); color: #fff; }
@media (max-width: 720px) {
  .top .wrap { position: relative; }
  .head-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--accent-700); font-weight: 700; font-size: 14px; text-decoration: none; margin-left: auto; }
  .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 22px; cursor: pointer; }
  .top nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; background: var(--band); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px)); border-radius: 0 0 26px 26px; box-shadow: 0 18px 30px rgba(8,16,48,.35); }
  .top nav.open { display: flex; }
  .top nav a { font-size: 16px; min-height: 48px; padding: 0 14px; }
  .top nav a.pill { display: none; }
}

/* Aperçu d'application du bandeau : écrans qui défilent */
.views { position: relative; flex: 1; min-height: 0; }
.view { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s; }
.view.on { opacity: 1; visibility: visible; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tab { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: rgba(255,255,255,.16); color: #fff; font: 600 14px/1 var(--f-body); cursor: pointer; transition: background .2s, color .2s; }
.tab[aria-selected="true"] { background: #fff; color: var(--accent-700); }

/* Fenêtre des syndics : pannes cliquables */
button.w-tile { border: 0; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; min-height: 44px; display: block; }
.w-act em { font-style: normal; font-weight: 700; white-space: nowrap; }
.w-act em.late { color: var(--urgent); }
.w-act em.ok { color: var(--ok); }
.w-act em.todo { color: var(--ink-2); }
.w-next { border: 0; width: 100%; font-family: inherit; cursor: pointer; }
.w-next[disabled] { background: var(--evt-soft); color: var(--ok); box-shadow: none; cursor: default; }
.steps li { transition: color .2s; }

/* Révélation douce au défilement (jamais sous prefers-reduced-motion) */
.rv-on .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv-on .rv.in { opacity: 1; transform: none; }

/* Souris seulement : survols (pas de survol collant sur tablette tactile) */
.tile, .actor, .btn { transition: transform .18s ease, box-shadow .18s ease; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover, .actor:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(21,28,54,.16); }
  .btn-primary:hover { transform: translateY(-2px); }
  .btn-white:hover, .btn-glass:hover, .btn-outline:hover { transform: translateY(-2px); }
  .tab:hover:not([aria-selected="true"]) { background: rgba(255,255,255,.26); }
  .w-tile:hover { box-shadow: inset 0 0 0 2px var(--accent-100), var(--shadow); }
}
@media (pointer: coarse) { .radios span { min-height: 48px; } .field input { min-height: 52px; } }

/* Grands écrans */
@media (min-width: 1360px) { .wrap { max-width: 1280px; } .hero .wrap { padding-block: 72px 88px; } }
@media (min-width: 1800px) { .wrap { max-width: 1400px; } body { font-size: 17px; } }

/* Tablette (verticale et horizontale) */
@media (min-width: 641px) and (max-width: 900px) {
  .hero .wrap { gap: 20px; }
  .feats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .feats li { grid-template-columns: 1fr; gap: 10px; }
  .win { max-width: 560px; }
  .sec { padding-block: 56px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .path-card { padding: 34px; gap: 28px; }
  .contact { padding: 36px; }
}

/* Téléphone */
@media (max-width: 640px) {
  .sec { padding-block: 52px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .cta-row .btn { width: 100%; }
  .path .cta .btn { width: 100%; }
  .phone { transform: none; }
  .tabs { gap: 6px; } .tab { padding: 0 14px; }
}
@media (max-width: 380px) { .win-body { font-size: 95%; } .top img { height: 40px; } }

/* Téléphone ou petite tablette à l'horizontale : peu de hauteur */
@media (max-height: 520px) and (orientation: landscape) {
  .top { position: static; }
  .top .wrap { height: 52px; }
  .hero .wrap { padding-block: 28px 44px; }
  .sec { padding-block: 44px; }
  section { scroll-margin-top: 16px; }
  .phone { transform: none; }
}

/* Cinq acteurs : 3 + 2 en tablette, dernière carte pleine largeur sur petit écran */
@media (min-width: 641px) and (max-width: 1099px) {
  .actors { grid-template-columns: repeat(6, 1fr); }
  .actor { grid-column: span 2; }
  .actor:nth-child(n+4) { grid-column: span 3; }
}
@media (max-width: 640px) { .actor:last-child { grid-column: 1 / -1; } }

/* ---- Illustrations multi-appareils (mises à l'échelle par script) ---- */
.fit { width: 100%; position: relative; }
.fit-in { position: relative; transform-origin: top left; }
.fit-in > .phone, .fit-in > .tablet, .fit-in > .win { width: 100%; height: 100%; }
.phone { transform: none; }
.tablet { background: var(--ink); border-radius: 30px; padding: 10px; box-shadow: 0 24px 48px rgba(21,28,54,.3), inset 0 0 0 2px rgba(255,255,255,.08); }
.tablet .screen { border-radius: 21px; }
.s-bar .who { margin-left: auto; color: #CFE0F3; font-size: 10px; font-weight: 600; }
.s-bar.slim { height: 34px; }
.s-bar.slim img { height: 24px; }
.t-cols { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1.05fr; gap: 12px; padding: 12px; overflow: hidden; }
.t-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.t-ann { flex: 1; min-height: 0; padding: 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.t-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s-card.pc { padding: 0; overflow: hidden; }
.s-card.pc .media { height: 58px; display: grid; place-items: center; position: relative; }
.s-card.pc .flag { position: absolute; top: 6px; left: 6px; border-radius: 999px; color: #fff; font: 700 8px/1 var(--f-body); padding: 4px 7px; letter-spacing: .08em; }
.s-card.pc .bd { padding: 7px 9px 9px; }
.win.pc { max-width: none; display: flex; flex-direction: column; }
.win.pc .win-body { flex: 1; min-height: 0; grid-template-columns: 112px 1fr 1fr !important; }
.win.pc .w-list { border-bottom: 0 !important; border-right: 1px solid var(--line); }
.w-side { padding: 10px; display: grid; gap: 6px; align-content: start; border-right: 1px solid var(--line); }
.w-side .w-fig { text-align: left; padding: 8px 10px; font-size: 10px; }
.w-side .w-fig b { font-size: 18px; }

/* Bandeau : un seul appareil visible, au choix */
.stage { display: grid; width: 100%; max-width: 520px; }
.dev { grid-area: 1 / 1; align-self: center; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s; }
.dev.on { opacity: 1; visibility: visible; }
.tab { display: inline-flex; align-items: center; gap: 7px; }
.tab svg.i { font-size: 16px; }
.art.col { flex-direction: column; align-items: center; }
.art.col .win { max-width: 480px; }
.also { display: flex; justify-content: center; align-items: flex-end; gap: 16px; margin-top: 22px; width: 100%; max-width: 480px; }

/* Section « Tous vos écrans » */
.dev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dev-card { background: linear-gradient(160deg, #fff 30%, var(--accent-100)); border-radius: 26px; box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.dev-card .media { min-height: 372px; display: flex; align-items: center; }
.dev-card h3 { font-size: 1.15rem; margin-top: 10px; }
.dev-card p { color: var(--ink-2); font-size: .95rem; margin-top: 6px; }
.dev-card .lab { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-700); }
@media (max-width: 999px) {
  .dev-grid { grid-template-columns: 1fr; }
  .dev-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
  .dev-card .media { min-height: 0; }
}
@media (max-width: 640px) { .dev-card { grid-template-columns: 1fr; gap: 14px; } }

/* Les illustrations ne doivent jamais élargir leur colonne */
.hero .wrap > *, .path-card > *, .dev-card > *, .art > *, .stage, .dev, .fit, .also > * { min-width: 0; }
.win { color: var(--ink); }
.art.col { padding-bottom: 0; }
.art.col .art-note { position: static; margin-top: 14px; max-width: 30rem; }

/* =====================================================================
   Illustrations d'après le code de l'application (tailles naturelles ;
   mises à l'échelle par script). Sources : home-hero, app-nav, subject-tile,
   message-bubble, messages-hub-board, globals.css, tailwind.config.ts.
   ===================================================================== */
.fit-in.duo > * { position: absolute; }
.fit-in.duo-a > :nth-child(1) { left: 0; top: 130px; }
.fit-in.duo-a > :nth-child(2) { left: 520px; top: 0; }
.fit-in.duo-b > :nth-child(1) { left: 0; top: 210px; }
.fit-in.duo-b > :nth-child(2) { left: 700px; top: 0; }
.dvp { width: 410px; height: 840px; background: #151C36; border-radius: 56px; padding: 10px; box-shadow: 0 30px 60px rgba(8,16,48,.4), inset 0 0 0 2px rgba(255,255,255,.08); }
.dvt { background: #151C36; border-radius: 34px; padding: 10px; box-shadow: 0 30px 60px rgba(8,16,48,.4), inset 0 0 0 2px rgba(255,255,255,.08); }
.dvt.land { width: 840px; height: 620px; }
.dvt.port { width: 620px; height: 820px; }
.dvw { width: 960px; height: 620px; background: #fff; border-radius: 18px; box-shadow: 0 30px 60px rgba(8,16,48,.35); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.dvw-bar { height: 32px; flex: none; background: #EEF0F8; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.dvw-bar i { width: 11px; height: 11px; border-radius: 50%; background: #C6CBE2; display: block; }
.dvw-bar span { margin-left: 10px; font-size: 12px; color: var(--ink-2); }
.u { height: 100%; position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--bg); color: var(--ink); font: 400 14px/1.4 var(--f-body); border-radius: 46px; text-align: left; }
.dvt .u { border-radius: 24px; }
.dvw .u { border-radius: 0; }
.u * { box-sizing: border-box; }
.u.row { flex-direction: row; }
.u svg.i { stroke-width: 2; }
.u-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.u-hd { height: 56px; flex: none; background: #124E78; display: flex; align-items: center; gap: 12px; padding: 0 16px; color: #fff; }
.u-hd img { height: 34px; width: auto; display: block; }
.u-hd .sp { flex: 1; }
.u-hd .ic { width: 36px; height: 36px; display: grid; place-items: center; font-size: 22px; }
.u-hd .av { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--brand); font: 700 13px/1 var(--f-head); display: grid; place-items: center; }
.u-search { width: min(420px, 100%); height: 36px; border-radius: 999px; background: rgba(255,255,255,.16); display: flex; align-items: center; gap: 8px; padding: 0 14px; font-size: 12.5px; color: #DCE8F8; white-space: nowrap; overflow: hidden; }
.u-body { flex: 1; min-height: 0; overflow: hidden; position: relative; }
.u-pad { padding: 0 20px; }
.u-h { font: 700 17px/1.2 var(--f-head); margin: 20px 0 10px; }
.u-h2 { font: 700 24px/1.1 var(--f-head); letter-spacing: -.02em; margin: 18px 0 0; }
.u-hero { background: var(--gr-hero); color: #fff; border-radius: 0 0 38px 38px; padding: 16px 20px 28px; }
.u-hero .d { font-size: 13px; font-weight: 600; opacity: .9; }
.u-hero h1 { font: 800 36px/1.02 var(--f-head); letter-spacing: -.03em; margin: 4px 0 0; color: #fff; }
.u-hero h1 em { font-style: normal; background: linear-gradient(90deg, #FFE29A, #FFB4A0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.u-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.u-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); font: 700 12.5px/1 var(--f-body); color: #fff; }
.u-card { --soft: #fff; --kc: var(--brand); background: linear-gradient(165deg, #fff 45%, var(--soft)); border-radius: 26px; box-shadow: var(--shadow); padding: 16px; position: relative; overflow: hidden; }
.u-card.pan { --soft: var(--pan-soft); --kc: hsl(344 70% 36%); }
.u-card.prk { --soft: var(--prk-soft); --kc: hsl(247 55% 38%); }
.u-card.msg { --soft: var(--msg-soft); --kc: hsl(209 75% 28%); }
.u-card.ann { --soft: var(--ann-soft); --kc: hsl(30 90% 26%); }
.u-cs { display: flex; gap: 12px; align-items: flex-start; }
.u-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 20px; flex: none; }
.u-kick { font: 800 11px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--kc); }
.u-card h3 { font: 700 16px/1.2 var(--f-head); margin: 6px 0 0; color: var(--ink); }
.u-card p { font-size: 13px; color: var(--ink-2); margin: 3px 0 0; }
.u-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; width: 100%; border: 0; border-radius: 999px; background: var(--gr-brand); color: #fff; font: 700 15px/1 var(--f-head); box-shadow: var(--shadow-cta); margin-top: 14px; }
.u-fest { min-height: 190px; border-radius: 32px; background: var(--gr-fest); color: #fff; padding: 20px; position: relative; overflow: hidden; box-shadow: 0 24px 40px -20px rgba(90,50,190,.75); display: flex; flex-direction: column; gap: 8px; }
.u-fest h3 { font: 700 20px/1.15 var(--f-head); margin: 4px 0 0; color: #fff; }
.u-fest p { font-size: 13px; opacity: .92; margin: 0; }
.u-fest .u-kick { color: #fff; opacity: .9; }
.u-date { align-self: flex-start; transform: rotate(-4deg); background: var(--gr-ann); color: #5A3300; border-radius: 14px; padding: 6px 14px; text-align: center; }
.u-date small { display: block; font: 800 10px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.u-date b { font: 700 24px/1.1 var(--f-head); }
.u-white { display: inline-flex; align-self: flex-start; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; background: #fff; color: #4A2FA8; font: 800 14px/1 var(--f-head); box-shadow: 0 12px 22px -10px rgba(40,20,120,.6); margin-top: auto; }
.u-nav { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 72px; border-radius: 32px; background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.7); box-shadow: var(--shadow-nav); display: flex; align-items: stretch; padding: 0 8px; z-index: 3; }
.u-tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font: 700 11px/1 var(--f-body); color: #596384; }
.u-tab i { width: 56px; height: 32px; border-radius: 999px; display: grid; place-items: center; font-size: 20px; font-style: normal; }
.u-tab.on { color: var(--brand); }
.u-tab.on i { background: var(--gr-brand); color: #fff; box-shadow: var(--shadow-cta); }
.u-fabw { flex: 1; display: flex; justify-content: center; }
.u-fab { width: 62px; height: 62px; margin-top: -24px; border-radius: 50%; background: var(--gr-fab); color: #fff; display: grid; place-items: center; font-size: 28px; box-shadow: 0 14px 24px -8px rgba(229,80,63,.7); }
.u-figs { display: flex; gap: 8px; margin-top: 12px; }
.u-fig { flex: 1; background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 10px 6px; text-align: center; font-size: 11px; line-height: 1.2; color: var(--ink-2); }
.u-fig b { display: block; font: 700 26px/1.1 var(--f-head); color: var(--ink); }
.u-fig.on { background: var(--accent-100); box-shadow: inset 0 0 0 2px var(--primary); }
.u-seg { display: flex; background: var(--neutral-200); border-radius: 999px; padding: 3px; }
.u-seg span { flex: 1; text-align: center; padding: 8px 4px; border-radius: 999px; font: 600 12.5px/1 var(--f-body); color: var(--ink-2); }
.u-seg .on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.u-sb { display: flex; height: 34px; border-radius: 12px; overflow: hidden; margin-top: 12px; }
.u-sb span { flex: var(--n) 1 0; display: grid; place-items: center; font: 700 13px/1 var(--f-body); }
.u-lg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.u-lg span { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink); background: var(--bg); border-radius: 999px; padding: 4px 10px 4px 8px; }
.u-lg i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.u-bt { position: relative; overflow: hidden; border-radius: 20px; background: linear-gradient(165deg, #fff 45%, var(--pan-soft)); box-shadow: var(--shadow); padding: 11px 14px; min-height: 62px; text-align: left; border: 0; width: 100%; font: inherit; color: inherit; display: block; }
.u-bt b { display: block; font: 700 14px/1.25 var(--f-head); padding-right: 30px; }
.u-bt em { display: block; font-style: normal; margin-top: 2px; font-size: 12px; color: var(--ink-2); }
.u-bt svg.wm { position: absolute; right: -10px; bottom: -12px; width: 78px; height: 78px; color: var(--pan); opacity: .16; transform: rotate(10deg); }
.u-bt.sel { box-shadow: inset 0 0 0 2px var(--primary), var(--shadow); }
.u-stack { display: grid; gap: 8px; }
.u-subm { display: flex; gap: 8px; padding: 14px 20px 6px; }
.u-st { flex: 1; height: 64px; border-radius: 18px; color: #fff; position: relative; padding: 9px 10px; display: flex; align-items: flex-end; font: 700 11px/1 var(--f-body); }
.u-st .wmk { position: absolute; inset: 0; overflow: hidden; border-radius: 18px; }
.u-st .wmk svg { position: absolute; right: -8px; bottom: -10px; width: 58px; height: 58px; opacity: .22; transform: rotate(12deg); }
.u-st.on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 5px var(--primary); }
.u-st.brown { color: #5A3300; }
.u-cnt { position: absolute; top: -6px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--gr-pan); border: 2px solid var(--bg); color: #fff; font: 700 10px/16px ui-monospace, monospace; text-align: center; }
.u-feed { padding: 8px 20px; display: flex; flex-direction: column; gap: 10px; }
.u-day { align-self: center; background: var(--neutral-200); color: var(--ink-2); font: 600 11px/1 var(--f-body); padding: 6px 12px; border-radius: 999px; }
.u-bub { max-width: 78%; border-radius: 20px; padding: 10px 14px; font-size: 14px; color: var(--ink); }
.u-bub.o { background: #fff; box-shadow: var(--shadow-sm); align-self: flex-start; }
.u-bub.s { background: var(--secondary); align-self: flex-end; }
.u-who { font: 600 12px/1 var(--f-body); color: var(--brand); margin-bottom: 5px; }
.u-time { font: 500 10px/1 ui-monospace, monospace; color: var(--ink-2); margin-top: 5px; }
.u-photo { height: 120px; border-radius: 14px; margin-bottom: 8px; background: linear-gradient(180deg, #BFD9F2 0 52%, #E7D9B8 52% 64%, #8BB38A 64%); position: relative; overflow: hidden; }
.u-photo::after { content: ""; position: absolute; left: 22%; top: 24%; width: 46%; height: 38%; background: #fff; border: 4px solid #C9D2E6; border-radius: 6px; }
.u-react { display: inline-flex; align-items: center; gap: 4px; background: var(--accent-100); border-radius: 999px; padding: 2px 9px; font-size: 12px; margin-top: 6px; }
.u-comp { position: absolute; left: 12px; right: 12px; bottom: 96px; display: flex; align-items: center; gap: 8px; z-index: 2; }
.u-field { flex: 1; min-height: 46px; border-radius: 22px; background: #fff; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 14px; color: #8E97BA; font-size: 14px; box-shadow: var(--shadow-sm); }
.u-field b { color: var(--primary); font: 700 13px/1 var(--f-body); }
.u-round { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; flex: none; background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.u-round.go { background: var(--gr-brand); color: #fff; box-shadow: var(--shadow-cta); }
.u-ads { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 20px 0; }
.u-ad { background: #fff; border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; }
.u-ad .ph { height: 104px; display: grid; place-items: center; position: relative; font-size: 34px; }
.u-flag { position: absolute; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 5px 9px; font: 800 9.5px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.u-ad .bd { padding: 10px 12px 12px; }
.u-ad h4 { font: 700 14px/1.25 var(--f-head); margin: 0; }
.u-ad .pr { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: 11px; color: var(--ink-2); }
.u-ad .pr b { background: var(--accent-100); color: var(--accent-700); border-radius: 999px; padding: 3px 9px; font: 700 12px/1 var(--f-body); }
.u-ad .au { display: flex; align-items: center; gap: 6px; font-size: 12px; margin-top: 8px; }
.u-ad .au i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 10px/1 var(--f-head); font-style: normal; }
.u-ad .wr { display: flex; justify-content: center; align-items: center; min-height: 40px; border-radius: 999px; margin-top: 10px; background: var(--accent-100); color: var(--accent-700); font: 700 13px/1 var(--f-head); }
.u-ban { border-radius: 26px; background: var(--gr-prk); color: #fff; padding: 18px; box-shadow: var(--shadow); }
.u-ban .u-kick { color: #fff; opacity: .9; }
.u-ban h3 { font: 700 20px/1.15 var(--f-head); margin: 6px 0 0; color: #fff; }
.u-ban .wb { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 999px; background: #fff; color: var(--accent-700); font: 700 15px/1 var(--f-head); margin-top: 14px; }
.u-lf { background: #fff; border-radius: 26px; box-shadow: var(--shadow); padding: 6px; }
.u-ro { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 20px; }
.u-ro + .u-ro { border-top: 1px solid var(--line); border-radius: 0; }
.u-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 14px/1 var(--f-head); flex: none; }
.u-ro .n { font: 600 14px/1.25 var(--f-body); }
.u-ro .p { font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-ro .tm { margin-left: auto; font-size: 11px; color: var(--ink-2); flex: none; }
.u-ro.sel { background: var(--accent-100); border-radius: 20px; }
.u-ro.nw .n, .u-ro.nw .p { font-weight: 800; color: var(--ink); }
.u-ro.nw .tm { font-weight: 800; color: var(--primary); }
.u-bar2 { height: 10px; border-radius: 99px; background: var(--neutral-200); position: relative; margin-top: 8px; }
.u-bar2 i { position: absolute; top: 0; bottom: 0; border-radius: 99px; }
.u-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* Rail de navigation (app-nav.tsx) */
.u-rail { width: 88px; flex: none; background: #fff; box-shadow: var(--shadow-nav); display: flex; flex-direction: column; position: relative; z-index: 2; }
.u-rail .lg { height: 56px; flex: none; background: #124E78; display: grid; place-items: center; }
.u-rail .lg img { height: 30px; width: auto; max-width: 100%; }
.u-rail nav { padding: 12px 8px; display: flex; flex-direction: column; gap: 4px; }
.u-ri { min-height: 60px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font: 700 11px/1 var(--f-body); color: #596384; }
.u-ri svg.i { font-size: 20px; }
.u-ri.on { background: var(--gr-brand); color: #fff; box-shadow: var(--shadow-cta); }
.u-sub { display: flex; flex-direction: column; gap: 2px; margin-bottom: 4px; }
.u-si { min-height: 44px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font: 600 10px/1 var(--f-body); color: #596384; position: relative; }
.u-si b { width: 10px; height: 10px; border-radius: 50%; display: block; }
.u-si.on { background: var(--accent-100); color: var(--brand); font-weight: 800; }
.u-rail .fb { width: 56px; height: 56px; margin: 12px auto 0; border-radius: 50%; background: var(--gr-fab); color: #fff; display: grid; place-items: center; font-size: 26px; box-shadow: 0 14px 24px -8px rgba(229,80,63,.7); }
.u-rail.xl { width: 200px; }
.u-rail.xl .u-ri { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 0 14px; min-height: 46px; font-size: 13.5px; }
.u-rail.xl .u-sub { margin-left: 20px; padding-left: 10px; border-left: 3px solid var(--accent-200); }
.u-rail.xl .u-si { flex-direction: row; justify-content: flex-start; gap: 10px; padding: 0 10px; font-size: 12.5px; min-height: 40px; }
.u-rail.xl .fb { width: 100%; height: 46px; border-radius: 999px; gap: 8px; font: 800 14px/1 var(--f-head); }
.u-two { display: grid; grid-template-columns: 270px 1fr; gap: 12px; padding: 12px; flex: 1; min-height: 0; }
.u-thr { display: flex; flex-direction: column; min-width: 0; position: relative; }
.u-thr .u-feed { padding: 6px 4px; flex: 1; }
.u-thr .u-comp { position: static; padding: 0; }
.u-thh { display: flex; align-items: center; gap: 12px; padding: 4px 4px 8px; }
.u-thh .n { font: 700 15px/1.2 var(--f-head); }
.u-thh .s { font-size: 12px; color: var(--ink-2); }
.u-desk { display: grid; grid-template-columns: 250px 1fr; gap: 16px; padding: 16px; flex: 1; min-height: 0; }
.u-desk .u-h { margin: 0 0 10px; }
/* Fenêtre interactive (Gestion des pannes) */
.u-live { display: grid; grid-template-columns: 300px 1fr; gap: 14px; padding: 14px; flex: 1; min-height: 0; }
.lv-fiche { background: #fff; border-radius: 26px; box-shadow: var(--shadow); padding: 18px 20px; display: flex; flex-direction: column; min-width: 0; }
.lv-fiche h3 { font: 700 18px/1.2 var(--f-head); margin: 0; }
.lv-st { font-size: 13px; color: var(--ink-2); margin: 4px 0 10px; }
.lv-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.lv-steps li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-2); }
.lv-steps li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--neutral-300, #D5DAEE); flex: none; }
.lv-steps li.done { color: var(--ink); } .lv-steps li.done::before { background: var(--ok); box-shadow: none; }
.lv-steps li.now { color: var(--ink); font-weight: 800; } .lv-steps li.now::before { box-shadow: inset 0 0 0 4px var(--primary); }
.lv-ctl { margin-top: auto; padding-top: 10px; }
.lv-ctl .u-btn { margin-top: 0; cursor: pointer; font-family: var(--f-head); }
.lv-ctl .u-btn[disabled] { background: var(--evt-soft); color: var(--ok); box-shadow: none; cursor: default; }
.lv-conf { background: var(--accent-100); border-radius: 20px; padding: 12px; font-size: 12.5px; display: grid; gap: 8px; }
.lv-conf .row { display: flex; gap: 8px; }
.lv-conf .u-btn { min-height: 40px; font-size: 13px; margin: 0; }
.lv-conf .ghost { background: #fff; color: var(--accent-700); box-shadow: inset 0 0 0 1.5px var(--line); }
.live-narrow { display: none; width: 100%; }
@media (max-width: 640px) { .live-wide { display: none; } .live-narrow { display: block; } }
/* Sections Messagerie et Profils */
.msg-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.msg-art { min-width: 0; }
.chans { display: grid; gap: 12px; min-width: 0; }
.chan { background: var(--card); border-radius: 26px; box-shadow: var(--shadow); padding: 16px 18px; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.chan .ci { width: 44px; height: 44px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-size: 20px; }
.chan h3 { font-size: 1.02rem; }
.chan p { color: var(--ink-2); font-size: .93rem; margin-top: 3px; }
.mchips { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mchips li { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border-radius: 999px; box-shadow: var(--shadow-sm); padding: 10px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink); min-height: 44px; }
.mchips svg.i { font-size: 18px; color: var(--accent-700); }
.role-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.rtab { min-height: 48px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--card); color: var(--ink-2); font: 700 15px/1 var(--f-body); cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); transition: background .2s, color .2s; }
.rtab[aria-selected="true"] { background: var(--gr-brand); color: #fff; box-shadow: var(--shadow-cta); }
.rpanel { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.rcan, .rnot { background: var(--card); border-radius: 26px; box-shadow: var(--shadow); padding: 24px; min-width: 0; }
.rnot { background: linear-gradient(165deg, #fff 40%, var(--ann-soft)); }
.rcan h3, .rnot h3 { font-size: 1.1rem; margin-bottom: 14px; }
.rpanel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rpanel li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: .98rem; }
.rpanel li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--evt-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B7A55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; margin-top: 1px; }
.rnot li::before { background: var(--ann) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A3300' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 8v5'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (max-width: 900px) { .msg-grid { grid-template-columns: 1fr; } .rpanel { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .rtab { flex: 1 1 calc(50% - 8px); padding: 0 10px; } .rcan, .rnot { padding: 20px 18px; } }
.also { max-width: 480px; }

.u-rail .fb { display: flex; align-items: center; justify-content: center; }
.u-rail.xl .fb span { display: inline; }

.rpanel { grid-template-columns: 1fr; }
@media (min-width: 901px) { .rpanel ul { grid-template-columns: 1fr 1fr; gap: 14px 32px; } }

/* Lien d'évitement et pages légales */
.skip { position: absolute; left: 16px; top: -64px; z-index: 50; background: #fff; color: var(--accent-700); font-weight: 700; padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow); text-decoration: none; }
.skip:focus { top: 12px; }
.form-err { color: var(--urgent); font-weight: 600; font-size: 14px; margin: 0; }
.form-err:empty { display: none; }
.mailbox .btn + .btn { margin-top: 0; }
.mailbox .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.legal { max-width: 46rem; padding-block: 48px 72px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal .upd { color: var(--ink-2); font-size: .95rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink); }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 1.2rem; display: grid; gap: 6px; margin: 10px 0 0; }
.legal a { color: var(--accent-700); }
.legal .back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 32px; font-weight: 700; color: var(--accent-700); }
.notfound { text-align: center; padding-block: 96px; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3rem); }
.notfound p { color: var(--ink-2); margin: 12px 0 24px; }
