/* Site Masomo Mepesi — reflet de l'application : mobile d'abord, cartes arrondies, barre d'onglets en bas,
   chiffres clés en gros, badges colorés. Charte : Poppins (titres), bleu nuit #1F3A5F, jaune #F5B400, vert #1FA37A.
   Aucune ressource externe, aucun style en ligne (CSP style-src 'self'), adresses url() relatives (sous-dossier). */

@font-face { font-family: "Poppins"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/poppins-300.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-400.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-500.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-600.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-700.woff") format("woff"); }

:root {
  --navy: #1F3A5F; --navy-700: #183050; --navy-900: #112238; --night: #0D1C33; --night-2: #14294A; --ink: #17253A;
  --yellow: #F5B400; --yellow-700: #8A6400; --green: #1FA37A; --green-700: #137555; --sky: #3B6EA8;
  --ground: #F4F6FB; --paper: #F4F6FB; --surface: #FFFFFF; --line: #E1E7F0; --muted: #55657A;
  --navy-soft: #E9EFF7; --yellow-soft: #FFF5D9; --green-soft: #E1F4EC; --sky-soft: #E5EEF9;
  --on-dark: #DCE6F2; --on-dark-2: #A9BBD3;
  --radius: 18px; --r-sm: 12px; --r-lg: 26px;
  --shadow: 0 1px 2px rgba(13, 28, 51, .06), 0 8px 22px -10px rgba(13, 28, 51, .18);
  --shadow-2: 0 2px 6px rgba(13, 28, 51, .06), 0 26px 50px -22px rgba(13, 28, 51, .38);
  --shadow-3: 0 34px 70px -24px rgba(0, 0, 0, .62), 0 10px 24px -12px rgba(0, 0, 0, .4);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --top-h: 60px; --tab-h: 66px; --wave-h: clamp(26px, 4.6vw, 66px); --pad: clamp(56px, 8vw, 104px);
  --focus: var(--green);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.62 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font); font-weight: 600; line-height: 1.18; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.35rem); font-weight: 700; letter-spacing: -.028em; line-height: 1.08; }
h2 { font-size: clamp(1.55rem, 1.15rem + 1.9vw, 2.45rem); font-weight: 700; letter-spacing: -.022em; line-height: 1.14; }
h3, .h3 { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); letter-spacing: -.01em; }
.h4 { font-size: 1rem; }
p { margin: 0; }
small { font-size: .82em; font-weight: 400; }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 768px) { .wrap { padding-inline: 28px; } }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 10px; z-index: 100; font: 600 .95rem var(--font); }
.skip:focus { left: 8px; }
.sr-copy { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; }
::selection { background: rgba(245, 180, 0, .35); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: 10px 22px; border-radius: 14px;
  border: 1.5px solid transparent; font: 600 .95rem/1.2 var(--font); letter-spacing: -.005em; text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s, border-color .2s, box-shadow .2s, transform .2s, color .2s; -webkit-tap-highlight-color: transparent; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ic { width: 1.2em; height: 1.2em; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .88rem; border-radius: 12px; }
.btn-lg { min-height: 56px; padding: 12px 26px; font-size: 1rem; border-radius: 16px; }
.btn-block { width: 100%; }
.btn-y { background: linear-gradient(180deg, #FFC52E, var(--yellow)); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(245, 180, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-y:hover { box-shadow: 0 16px 30px -12px rgba(245, 180, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-navy { background: linear-gradient(180deg, #284A77, var(--navy)); color: #fff; box-shadow: 0 10px 22px -12px rgba(31, 58, 95, .7); }
.btn-navy:hover { background: var(--navy-700); }
.btn-green { background: linear-gradient(180deg, #25B488, var(--green)); color: #fff; box-shadow: 0 10px 22px -12px rgba(31, 163, 122, .75); }
.btn-green:hover { background: var(--green-700); }
.btn-o { border-color: var(--line); color: var(--ink); background: var(--surface); box-shadow: var(--shadow); }
.btn-o:hover { border-color: var(--navy); }
.btn-ghost { border-color: rgba(255, 255, 255, .32); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.btn-white { background: #fff; color: var(--green-700); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .45); }
.btn-danger { background: #C0392B; color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.more { display: inline-flex; align-items: center; gap: .45em; font: 600 .92rem var(--font); color: var(--navy); text-decoration: none; }
.more .ic { transition: transform .2s; }
.more:hover .ic { transform: translateX(4px); }

/* En-tête (sombre, verre dépoli porté par un pseudo-élément pour ne pas capturer le menu fixe) */
.top { position: sticky; top: 0; z-index: 50; color: #fff; }
.top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(13, 28, 51, .86); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .08); transition: box-shadow .25s; }
.top.scrolled::before { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45); }
.top-in { display: flex; align-items: center; gap: 10px; min-height: var(--top-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand .mark { width: 38px; height: 38px; border-radius: 50%; }
.top .brand, .brand-light { color: #fff; }
.top .brand .mark, .brand-light .mark { box-shadow: 0 0 0 2px rgba(255, 255, 255, .16); }
.brand-name { display: flex; flex-direction: column; line-height: 1.02; font-family: var(--font); font-size: 1.04rem; }
.brand-name b { font-weight: 600; letter-spacing: -.01em; }
.brand-name span { font-weight: 300; letter-spacing: .03em; }
.nav-desk { display: none; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font: 600 .82rem var(--font); letter-spacing: .04em; border: 1px solid var(--line); }
.lang:hover { color: var(--ink); background: var(--ground); }
.top .lang { color: var(--on-dark); border-color: rgba(255, 255, 255, .16); }
.top .lang:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.top-wa, .top-demo { display: none; }
.top-wa { place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: rgba(31, 163, 122, .22); border: 1px solid rgba(31, 163, 122, .45); }
.top-wa:hover { background: var(--green); }
.top :focus-visible, .dark :focus-visible, .sheet :focus-visible { --focus: var(--yellow); }
.nav-mob summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); -webkit-tap-highlight-color: transparent; }
.nav-mob summary::-webkit-details-marker { display: none; }
.nav-mob summary .ic { width: 22px; height: 22px; }
.nav-mob .ic-close, .nav-mob[open] .ic-open { display: none; }
.nav-mob[open] .ic-close { display: block; }
.nav-mob[open] summary { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

/* Menu plein écran du téléphone : tuiles, comme la feuille « Plus » de l'application */
.sheet { position: fixed; left: 0; right: 0; top: var(--top-h); bottom: 0; z-index: 70; overflow-y: auto; overscroll-behavior: contain;
  padding: 22px 16px calc(28px + env(safe-area-inset-bottom)); color: #fff;
  background: radial-gradient(30rem 20rem at 100% 0%, rgba(245, 180, 0, .14), transparent 65%), radial-gradient(26rem 22rem at 0% 100%, rgba(31, 163, 122, .18), transparent 65%), url("../img/motif-ailes.svg") 0 0 / 280px 220px, linear-gradient(180deg, var(--night-2), var(--night)); }
.nav-mob[open] .sheet { animation: sheet-in .28s cubic-bezier(.2, .7, .2, 1); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.sheet-hello { font-size: .9rem; color: var(--on-dark-2); margin: 0 auto 16px; max-width: 560px; }
.sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 560px; margin-inline: auto; }
.sheet-grid a { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 96px; padding: 14px; border-radius: 20px; color: #fff; text-decoration: none; font: 500 .98rem/1.25 var(--font);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .2s, border-color .2s; }
.sheet-grid a:hover { background: rgba(255, 255, 255, .1); }
.sheet-grid a[aria-current] { background: rgba(245, 180, 0, .14); border-color: rgba(245, 180, 0, .55); }
.sheet-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: rgba(255, 255, 255, .09); color: var(--yellow); }
.sheet-ic .ic { width: 21px; height: 21px; }
.sheet-cta { display: grid; gap: 10px; margin: 18px auto 0; max-width: 560px; }
.sheet-lang { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px auto 0; min-height: 44px; color: var(--on-dark); font: 500 .95rem var(--font); text-decoration: none; }
html.menu-open { overflow: hidden; }
html.menu-open .tabbar { display: none; }

@media (min-width: 1040px) {
  :root { --top-h: 72px; }
  .nav-desk { display: flex; gap: 2px; margin-left: 24px; }
  .nav-desk a { position: relative; padding: 9px 13px; border-radius: 12px; color: var(--on-dark); text-decoration: none; font: 500 .92rem var(--font); transition: color .2s, background-color .2s; }
  .nav-desk a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
  .nav-desk a[aria-current] { color: #fff; }
  .nav-desk a[aria-current]::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 3px; border-radius: 3px; background: var(--yellow); }
  .top-wa { display: grid; }
  .top-demo { display: inline-flex; }
  .nav-mob { display: none; }
  .nav-desk a, .top-demo { white-space: nowrap; }
}
/* Portables étroits (1040 à 1199 px) : sept liens et les actions sur une seule ligne */
@media (min-width: 1040px) and (max-width: 1199px) {
  .nav-desk { margin-left: 8px; }
  .nav-desk a { padding: 9px 8px; font-size: .88rem; }
  .nav-desk a[aria-current]::after { left: 8px; right: 8px; }
  .top-demo { padding-inline: 14px; }
}

/* Barre d'onglets (téléphone, tablette) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end;
  height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(13, 28, 51, .35); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; height: var(--tab-h); padding-bottom: 9px; color: #5B6B80; text-decoration: none; font: 500 .7rem/1.1 var(--font); -webkit-tap-highlight-color: transparent; white-space: nowrap; }
.tab-ic { display: grid; place-items: center; width: 52px; height: 30px; border-radius: 16px; transition: background-color .2s, color .2s; }
.tab-ic .ic { width: 22px; height: 22px; }
.tab[aria-current] { color: var(--navy); font-weight: 600; }
.tab[aria-current] .tab-ic { background: var(--navy-soft); }
.tab:hover .tab-ic { background: var(--ground); }
.tab-wa .tab-ic { color: var(--green-700); }
.tab-fab { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 2px; border-radius: 50%; background: linear-gradient(180deg, #FFC52E, var(--yellow)); color: var(--ink);
  border: 4px solid #fff; box-shadow: 0 10px 20px -8px rgba(245, 180, 0, .8), 0 0 0 1px var(--line); transform: translateY(-14px); margin-bottom: -12px; }
.tab-fab .ic { width: 24px; height: 24px; }
.tab-main[aria-current] .tab-fab { background: var(--navy); color: #fff; box-shadow: 0 10px 20px -8px rgba(31, 58, 95, .7), 0 0 0 1px var(--line); }
@media (min-width: 1040px) { .tabbar { display: none; } }

/* Sections et fonds */
.section { --pb: var(--pad); padding-block: var(--pad) var(--pb); background: var(--surface); position: relative; }
.section-tight { padding-top: calc(var(--wave-h) + clamp(10px, 2vw, 28px)); }
.paper, .section.paper { background: url("../img/motif-ailes-clair.svg") 0 0 / 280px 220px, var(--paper); }
.page-legal .section, .page-privacy .section, .page-article .section, .page-news .section, .page-contact .section, .page-demo .section-tight, .page-manual .section-tight { background: url("../img/motif-ailes-clair.svg") 0 0 / 280px 220px, var(--paper); }
.dark { --top: var(--night-2); --bottom: var(--night); --focus: var(--yellow); position: relative; z-index: 1; color: #fff; overflow-x: clip;
  background: radial-gradient(44rem 28rem at 92% 6%, rgba(245, 180, 0, .13), transparent 62%), radial-gradient(38rem 28rem at 0% 88%, rgba(31, 163, 122, .17), transparent 62%),
    url("../img/motif-ailes.svg") 0 0 / 280px 220px, linear-gradient(170deg, var(--top) 0%, var(--bottom) 100%); }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .lead, .dark p { color: var(--on-dark); }
.glow::after { content: ""; position: absolute; z-index: -1; width: min(70vw, 620px); aspect-ratio: 600 / 420; right: -6%; bottom: 8%; background: url("../img/aile.svg") center / contain no-repeat; opacity: .5; pointer-events: none; }
/* Transitions de section en vagues : la section sombre se découpe elle-même (masque), sans couture de couleur */
.wave-bottom { padding-bottom: calc(var(--pb, var(--pad)) + var(--wave-h)); margin-bottom: calc(-1 * var(--wave-h));
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - var(--wave-h) + 1px) no-repeat, url("../img/vague.svg") bottom / 100% var(--wave-h) no-repeat;
  mask: linear-gradient(#000, #000) top / 100% calc(100% - var(--wave-h) + 1px) no-repeat, url("../img/vague.svg") bottom / 100% var(--wave-h) no-repeat; }
.wave-top { padding-top: calc(var(--pad) + var(--wave-h)); margin-top: calc(-1 * var(--wave-h));
  -webkit-mask: url("../img/vague-haut.svg") top / 100% var(--wave-h) no-repeat, linear-gradient(#000, #000) bottom / 100% calc(100% - var(--wave-h) + 1px) no-repeat;
  mask: url("../img/vague-haut.svg") top / 100% var(--wave-h) no-repeat, linear-gradient(#000, #000) bottom / 100% calc(100% - var(--wave-h) + 1px) no-repeat; }
.wave-top.wave-bottom { -webkit-mask: url("../img/vague-haut.svg") top / 100% var(--wave-h) no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - 2 * var(--wave-h) + 2px) no-repeat, url("../img/vague.svg") bottom / 100% var(--wave-h) no-repeat;
  mask: url("../img/vague-haut.svg") top / 100% var(--wave-h) no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - 2 * var(--wave-h) + 2px) no-repeat, url("../img/vague.svg") bottom / 100% var(--wave-h) no-repeat; }

.sec-head { max-width: 48rem; margin-bottom: clamp(24px, 3.5vw, 44px); }
.sec-head-c { margin-inline: auto; text-align: center; }
.sec-head-c .eyebrow-pill { margin-inline: auto; }
.sec-head-row { max-width: none; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: flex-end; }
.sec-head-row > div { max-width: 48rem; }
.lead { font-size: clamp(1.02rem, .96rem + .32vw, 1.18rem); line-height: 1.6; color: var(--muted); margin-top: 12px; }
.eyebrow { font: 600 .76rem/1.4 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); margin-bottom: 12px; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; padding: 7px 14px; border-radius: 999px; letter-spacing: .01em; font-size: .8rem; font-weight: 500; text-transform: none;
  color: #FFD766 !important; background: rgba(245, 180, 0, .1); border: 1px solid rgba(245, 180, 0, .3); }
.eyebrow-pill .ic { width: 15px; height: 15px; }
.dark .eyebrow { color: #FFD766; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31, 163, 122, .25); flex: none; }
.muted-p { color: var(--muted); margin-top: 8px; }
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .g2, .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } }

/* Cartes, badges */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.card p { color: var(--muted); }
.card-pad { padding: clamp(20px, 3vw, 30px); border-radius: 22px; }
.badge-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--navy-soft); color: var(--navy); flex: none; }
.badge-ic .ic { width: 22px; height: 22px; }
.badge-lg { width: 58px; height: 58px; border-radius: 18px; }
.badge-lg .ic { width: 28px; height: 28px; }
.tone-navy { background: var(--navy-soft); color: var(--navy); }
.tone-yellow { background: var(--yellow-soft); color: var(--yellow-700); }
.tone-green { background: var(--green-soft); color: var(--green-700); }
.tone-sky { background: var(--sky-soft); color: var(--sky); }
.tone-glass { background: rgba(255, 255, 255, .16); color: #fff; }
.dark .tone-yellow, .dark .tone-green, .dark .tone-sky, .dark .tone-navy { background: rgba(255, 255, 255, .08); }
.dark .tone-yellow { color: var(--yellow); } .dark .tone-green { color: #4FD1A5; } .dark .tone-sky { color: #8DB6E8; } .dark .tone-navy { color: #fff; }
.glass, .panel { background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035)); border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.glass p, .panel p { color: var(--on-dark); }
.panel { padding: clamp(22px, 3vw, 32px); }
.panel-wa { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.panel-wa p { color: var(--muted); }
.panel-wa .btn { justify-self: start; margin-top: 6px; }

/* Captures dans leurs cadres : téléphone et navigateur */
.shot { margin: 0; container-type: inline-size; }
.shot-link { display: block; text-decoration: none; border-radius: 20px; }
.shot figcaption { margin-top: 12px; font-size: .84rem; color: var(--muted); line-height: 1.45; }
.dark .shot figcaption { color: var(--on-dark-2); }
.phone { position: relative; max-width: 260px; margin-inline: auto; padding: 14px 7px 7px; padding: 5.2cqw 2.6cqw 2.6cqw; border-radius: 34px; border-radius: 13cqw;
  background: linear-gradient(150deg, #34465F, #0A1424 55%, #1C2B42); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16), 0 0 0 1px rgba(0, 0, 0, .35), var(--shadow-3); }
.phone::before { content: ""; position: absolute; top: 2.2cqw; left: 50%; width: 16cqw; height: 1.3cqw; min-height: 3px; transform: translateX(-50%); border-radius: 9px; background: rgba(255, 255, 255, .14); }
.phone::after { content: ""; position: absolute; right: -2px; top: 24%; width: 3px; height: 10%; border-radius: 0 3px 3px 0; background: #2A3A52; }
.phone img { width: 100%; border-radius: 26px; border-radius: 10.4cqw; }
.shot-mobile figcaption { text-align: center; max-width: 260px; margin-inline: auto; }
.browser { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-2); border: 1px solid rgba(13, 28, 51, .08); }
.dark .browser { box-shadow: var(--shadow-3); border-color: rgba(255, 255, 255, .12); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #EDF1F7; border-bottom: 1px solid var(--line); }
.browser-bar::after { content: ""; flex: 0 1 44%; height: 13px; margin-inline: auto; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transform: translateX(-24px); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C8D2DE; flex: none; }
.browser-bar i:first-child { background: #EE8F80; } .browser-bar i:nth-child(2) { background: #F2C84B; } .browser-bar i:nth-child(3) { background: #5CC79E; }
.shot-note { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; color: var(--muted); margin-top: 6px; }
.shot-note .ic { margin-top: .2em; }

/* Carrousels horizontaux à défilement natif */
.rail { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
  margin-inline: -16px; padding: 6px 16px 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: 0 0 76%; scroll-snap-align: start; min-width: 0; }
.rail-dots { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
.rail-dots span { width: 7px; height: 7px; border-radius: 99px; background: rgba(31, 58, 95, .2); transition: width .25s, background-color .25s; }
.rail-dots span.on { width: 22px; background: var(--navy); }
.dark .rail-dots span { background: rgba(255, 255, 255, .25); }
.dark .rail-dots span.on { background: var(--yellow); }
.rail-dots[hidden] { display: none; }
@media (min-width: 768px) { .rail { margin-inline: -28px; padding-inline: 28px; scroll-padding-inline: 28px; } .rail > * { flex-basis: 44%; } }

/* Accueil : bandeau principal */
.hero { --pb: calc(clamp(64px, 9vw, 120px)); padding-top: clamp(26px, 5vw, 64px); overflow: clip; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: auto -20% 0 auto; width: min(110vw, 900px); aspect-ratio: 600 / 420; background: url("../img/aile.svg") center / contain no-repeat; opacity: .55; pointer-events: none; }
.hero-in { display: grid; gap: 26px; grid-template-areas: "text" "stage" "note" "extra"; }
.hero-text { grid-area: text; } .stage { grid-area: stage; } .stage-note { grid-area: note; } .hero-extra { grid-area: extra; }
.hero h1 { color: #fff; max-width: 15em; }
@media (min-width: 980px) { .hero h1 { font-size: clamp(2.4rem, 1.2rem + 2.4vw, 3.15rem); max-width: none; } }
.hero .lead { color: #C9D6E8; max-width: 36rem; margin-top: 16px; }
.hero .cta-row { margin-top: 26px; }
.hero .cta-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.hero .cta-row .btn { padding-inline: 16px; white-space: nowrap; gap: .5em; }
.btn .short { display: none; }
@media (max-width: 479px) { .hero .btn .long { display: none; } .hero .btn .short { display: inline; } }
@media (min-width: 480px) { .hero .cta-row { display: flex; } }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-points li { display: inline-flex; gap: 8px; align-items: flex-start; padding: 7px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: var(--on-dark); font-size: .9rem; line-height: 1.35; }
.hero-points .ic { color: var(--yellow); margin-top: .1em; }
.hero-note { margin-top: 16px; color: var(--on-dark-2) !important; font-size: .88rem; font-style: italic; }
.stage { position: relative; width: 100%; max-width: 620px; margin-inline: auto; aspect-ratio: 343 / 380; }
.stage .shot { position: absolute; margin: 0; }
.stage figcaption { display: none; }
.stage-desk { top: 7%; right: -9%; width: 88%; }
.stage-desk .browser { transform: perspective(1400px) rotateY(-10deg) rotateX(3deg); transform-origin: right center; }
.stage-phone { left: 0; top: 2%; width: 43%; z-index: 2; }
.stage-phone .phone { max-width: none; }
.tile { position: absolute; z-index: 3; display: grid; gap: 2px; padding: 12px 14px; border-radius: 18px; min-width: 0;
  background: linear-gradient(135deg, #1D63B0, #154C8C); color: #fff; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .18); font-family: var(--font); }
.tile-k { display: flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 500; color: rgba(255, 255, 255, .85); white-space: nowrap; }
.tile-k .ic { width: 14px; height: 14px; }
.tile strong { font-size: 1.55rem; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.tile-s { font-size: .74rem; font-weight: 600; color: #FFCB3D; white-space: nowrap; }
.tile-light { background: rgba(255, 255, 255, .97); color: var(--ink); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.tile-light .tile-k { color: var(--muted); }
.tile-light .tile-k .ic { color: var(--green-700); }
.tile-light .tile-s { color: var(--green-700); }
.tile-cash { right: 2%; bottom: 7%; }
.tile-report { right: 0; top: 0; }
.tile-roll { display: none; }
.stage-note { font-size: .78rem; color: var(--on-dark-2) !important; text-align: center; max-width: 34rem; margin: -10px auto 0; }
@media (min-width: 600px) { .tile-roll { display: grid; left: 30%; bottom: 0; } .tile-cash { bottom: 16%; } }
@media (min-width: 600px) and (max-width: 979px) {
  .stage { aspect-ratio: 620 / 500; }
  .stage-phone { width: 33%; left: 3%; top: 0; }
  .stage-desk { width: 82%; right: -3%; top: 9%; }
  .tile-report { right: 2%; top: -2%; }
  .tile-cash { right: 8%; bottom: 4%; }
  .tile-roll { left: 37%; bottom: 0; }
}
@media (min-width: 980px) {
  .hero-in { grid-template-columns: .92fr 1.08fr; grid-template-areas: "text stage" "extra note"; align-items: center; column-gap: 48px; row-gap: 22px; }
  .hero-text { padding-top: 12px; }
  .hero-extra { align-self: start; }
  .stage { aspect-ratio: 600 / 560; max-width: none; }
  .stage-desk { top: 12%; right: -16%; width: 104%; }
  .stage-desk .browser { transform: perspective(1600px) rotateY(-16deg) rotateX(5deg); }
  .stage-phone { left: -2%; top: 4%; width: 40%; }
  .tile-cash { left: 28%; right: auto; bottom: 4%; }
  .tile-report { right: -4%; top: 0; }
  .tile-roll { left: auto; right: -2%; bottom: 26%; }
  .stage-note { margin-top: 0; align-self: start; }
  .tile strong { font-size: 1.85rem; }
}

/* Chiffres clés : carte blanche à cheval sur le bandeau */
.kpi-wrap { position: relative; z-index: 3; margin-top: calc(-1 * clamp(52px, 7vw, 92px)); }
.kpis { list-style: none; margin: 0; padding: 6px; display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-2); border: 1px solid rgba(13, 28, 51, .05); }
.kpis li { position: relative; padding: 18px 14px 16px; display: grid; gap: 6px; align-content: start; }
.kpis li + li { border-left: 1px solid var(--line); }
.kpis li:nth-child(3) { border-left: 0; }
.kpis li:nth-child(n+3) { border-top: 1px solid var(--line); }
.kpis li::before { content: ""; width: 26px; height: 4px; border-radius: 4px; background: var(--yellow); }
.kpis li:nth-child(2)::before { background: var(--green); } .kpis li:nth-child(3)::before { background: var(--sky); } .kpis li:nth-child(4)::before { background: var(--navy); }
.kpis strong { font: 700 clamp(1.9rem, 1.4rem + 2vw, 2.9rem)/1 var(--font); color: var(--navy); letter-spacing: -.03em; }
.kpis span { font-size: .86rem; color: var(--muted); line-height: 1.35; }
@media (min-width: 760px) {
  .kpis { grid-template-columns: repeat(4, 1fr); padding: 10px; }
  .kpis li { padding: 22px 22px 20px; }
  .kpis li:nth-child(3) { border-left: 1px solid var(--line); }
  .kpis li:nth-child(n+3) { border-top: 0; }
}

/* Piliers (ce que le promoteur achète) */
.pillars { display: grid; gap: 14px; }
.pillar { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 10px; align-items: center; align-content: start; padding: 20px 20px 22px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.pillar p { color: var(--muted); grid-column: 1 / -1; }
.pillar h3 { padding-right: 44px; }
.pillar-n { position: absolute; right: 16px; top: 12px; font: 700 2.6rem/1 var(--font); color: rgba(31, 58, 95, .07); letter-spacing: -.04em; }
.pillar.tone-navy, .pillar.tone-yellow, .pillar.tone-green, .pillar.tone-sky { background: var(--surface); color: inherit; }
.pillar.tone-navy .badge-ic { background: var(--navy-soft); color: var(--navy); }
.pillar.tone-yellow .badge-ic { background: var(--yellow-soft); color: var(--yellow-700); }
.pillar.tone-green .badge-ic { background: var(--green-soft); color: var(--green-700); }
.pillar.tone-sky .badge-ic { background: var(--sky-soft); color: var(--sky); }
@media (min-width: 640px) { .pillars { grid-template-columns: 1fr 1fr; gap: 18px; } }
@media (min-width: 1080px) { .pillars { grid-template-columns: repeat(4, 1fr); } .pillar { grid-template-columns: 1fr; padding: 26px 24px; } .pillar h3 { padding-right: 0; } }

/* Écrans sur téléphone (carrousel) */
.rail-show > * { flex-basis: 72%; }
.show-item { text-align: center; padding: 10px 6px 0; }
.show-item .shot { margin-bottom: 18px; }
.show-item .phone { max-width: 236px; }
.show-item .shot figcaption { display: none; }
.show-item p { max-width: 21rem; margin: 6px auto 0; font-size: .95rem; }
@media (min-width: 900px) {
  .rail-show { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; overflow: visible; margin: 0; padding: 0; }
  .rail-show + .rail-dots { display: none; }
  .rail-show .show-item:nth-child(2) { transform: translateY(-26px); }
}

/* Forces (fait pour les écoles congolaises) */
.feats { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin-inline: -16px; padding: 6px 16px 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
.feats::-webkit-scrollbar { display: none; }
.feats > .feat { flex: 0 0 82%; scroll-snap-align: start; grid-template-columns: 1fr; align-content: start; }
.feat { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 20px; border-radius: 22px; background: linear-gradient(180deg, #fff, #F8FAFD); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.feat:hover { border-color: #C9D5E6; box-shadow: var(--shadow); }
.feat p { color: var(--muted); margin-top: 6px; font-size: .97rem; }
.feat.tone-navy, .feat.tone-yellow, .feat.tone-green, .feat.tone-sky { color: inherit; background: linear-gradient(180deg, #fff, #F8FAFD); }
.feat.tone-navy .badge-ic { background: var(--navy-soft); color: var(--navy); } .feat.tone-yellow .badge-ic { background: var(--yellow-soft); color: var(--yellow-700); }
.feat.tone-green .badge-ic { background: var(--green-soft); color: var(--green-700); } .feat.tone-sky .badge-ic { background: var(--sky-soft); color: var(--sky); }
@media (min-width: 760px) { .feats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; overflow: visible; margin: 0; padding: 0; } .feats + .rail-dots { display: none; } .feat { grid-template-columns: auto 1fr; } }
@media (min-width: 1100px) { .feats { grid-template-columns: repeat(3, 1fr); } .feat { grid-template-columns: 1fr; padding: 26px; } }

/* Niveaux : frise */
.levels { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; position: relative; }
.levels::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(var(--yellow), var(--green)); opacity: .5; }
.levels li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-bottom: 22px; }
.levels li:last-child { padding-bottom: 0; }
.levels p { color: var(--muted); margin-top: 4px; font-size: .97rem; }
.levels h3 { padding-top: 9px; }
.level-n { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(180deg, #FFC52E, var(--yellow)); color: var(--ink); font: 700 1.05rem var(--font); box-shadow: 0 0 0 6px var(--paper), 0 8px 18px -8px rgba(245, 180, 0, .9); }
@media (min-width: 900px) {
  .levels { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .levels::before { left: 22px; right: 12%; top: 21px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--yellow), var(--green)); }
  .levels li { grid-template-columns: 1fr; gap: 14px; padding: 0; }
  .levels h3 { padding-top: 0; }
}

/* Modules : grille d'icônes comme un écran d'applications */
.apps { list-style: none; margin: 0 -16px; padding: 6px 16px 18px; display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 112px; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
.apps::-webkit-scrollbar { display: none; }
.apps li { scroll-snap-align: start; }
.apps a { display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%; padding: 16px 8px 14px; border-radius: 20px; text-align: center; text-decoration: none; color: #fff;
  background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .2s, transform .2s, border-color .2s; }
.apps a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(245, 180, 0, .45); transform: translateY(-3px); }
.app-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 17px; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .6); }
.app-ic .ic { width: 25px; height: 25px; }
.apps .tone-navy { background: linear-gradient(145deg, #3D6497, #22426C); color: #fff; }
.apps .tone-yellow { background: linear-gradient(145deg, #FFD155, #F0A800); color: var(--ink); }
.apps .tone-green { background: linear-gradient(145deg, #3CC497, #178C68); color: #fff; }
.apps .tone-sky { background: linear-gradient(145deg, #6FA0DA, #3B6EA8); color: #fff; }
.app-t { font: 500 .82rem/1.25 var(--font); color: var(--on-dark); }
@media (min-width: 768px) { .apps { margin-inline: -28px; padding-inline: 28px; scroll-padding-inline: 28px; } }
@media (min-width: 980px) {
  .apps { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(6, 1fr); overflow: visible; margin: 0; padding: 0; gap: 14px; }
  .apps + .rail-dots { display: none; }
}

/* Profils (accueil) */
.people { list-style: none; margin: 0 -16px; padding: 6px 16px 18px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
.people::-webkit-scrollbar { display: none; }
.people li { flex: 0 0 78%; scroll-snap-align: start; }
.person { position: relative; display: grid; gap: 10px; align-content: start; height: 100%; padding: 22px 20px 52px; border-radius: 24px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: #C9D5E6; }
.person-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(145deg, #FFF0C2, var(--yellow-soft)); color: var(--yellow-700); box-shadow: inset 0 0 0 1px rgba(245, 180, 0, .3); }
.person-ic .ic { width: 22px; height: 22px; }
.person-lg { width: 60px; height: 60px; }
.person-lg .ic { width: 28px; height: 28px; }
.person-t { font: 600 1.06rem/1.25 var(--font); }
.person-s { color: var(--muted); font-size: .94rem; line-height: 1.5; }
.person .ic-go { position: absolute; left: 20px; bottom: 18px; color: var(--navy); width: 20px; height: 20px; transition: transform .2s; }
.person:hover .ic-go { transform: translateX(4px); }
@media (min-width: 768px) { .people { margin-inline: -28px; padding-inline: 28px; scroll-padding-inline: 28px; } .people li { flex-basis: 40%; } }
@media (min-width: 1080px) {
  .people { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; gap: 16px; }
  .people + .rail-dots { display: none; }
}

/* Deux colonnes, captures en duo */
.split { display: grid; gap: 36px; align-items: center; }
.split-top { align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split .lead { margin-bottom: 24px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; max-width: 480px; margin-inline: auto; width: 100%; }
.duo .shot:nth-child(2) { margin-top: 44px; }
.duo figcaption { font-size: .78rem; }
.duo-stage { position: relative; padding: 0 0 18% 0; }
.duo-stage .shot { margin: 0; }
.duo-stage figcaption { display: none; }
.duo-desk .browser { transform: perspective(1400px) rotateY(8deg) rotateX(2deg); transform-origin: left center; }
.duo-desk img { aspect-ratio: 16 / 11; object-fit: cover; object-position: top center; }
.duo-phone { position: absolute; right: -2%; bottom: 0; width: 34%; }
.duo-phone .phone { max-width: none; }

/* Listes cochées */
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--green-soft); color: var(--green-700); margin-top: 0; }

/* Pastilles (sauts de section) */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 500 .9rem var(--font); white-space: nowrap; box-shadow: 0 1px 2px rgba(13, 28, 51, .05); transition: border-color .2s, background-color .2s; }
.chip:hover { border-color: var(--navy); }
.chip .ic { color: var(--green-700); }
.jump { position: relative; z-index: 4; margin-top: -26px; padding-block: 0; }
.jump .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 4px 16px 8px; scroll-snap-type: x proximity; }
.jump .chips::-webkit-scrollbar { display: none; }
.jump .chips li { scroll-snap-align: start; }
.jump .chip { box-shadow: var(--shadow); }
.jump + .rail-dots, .jump .rail-dots { display: none; }
.jump-sticky { position: sticky; top: var(--top-h); margin-top: 0; padding-block: 10px 6px; background: rgba(244, 246, 251, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.jump-sticky .chip { box-shadow: none; }
@media (min-width: 768px) { .jump .chips { margin-inline: -28px; padding-inline: 28px; } }
@media (min-width: 1100px) { .jump .chips { flex-wrap: wrap; overflow: visible; } }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; margin: 0 6px 8px 0; border-radius: 999px; background: var(--navy-soft); color: var(--navy); text-decoration: none; font: 500 .84rem var(--font); }
.tag:hover { background: #DCE5F1; }

/* En-tête des pages intérieures */
.page-head { --pb: clamp(40px, 6vw, 80px); padding-top: clamp(24px, 4vw, 56px); overflow: clip; }
.page-head::after { content: ""; position: absolute; z-index: -1; right: -10%; bottom: 10%; width: min(80vw, 560px); aspect-ratio: 600 / 420; background: url("../img/aile.svg") center / contain no-repeat; opacity: .45; pointer-events: none; }
.page-head-in { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.page-head h1 { color: #fff; max-width: 18em; }
.page-head .lead { max-width: 46rem; color: #C9D6E8; }
.head-ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 20px; background: linear-gradient(145deg, #FFD155, #F0A800); color: var(--ink); box-shadow: 0 14px 28px -12px rgba(245, 180, 0, .8); flex: none; }
.head-ic .ic { width: 28px; height: 28px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; color: var(--on-dark-2); margin-bottom: 20px; }
.crumbs a { color: var(--on-dark); text-decoration: none; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); }
.crumbs a:hover { background: rgba(255, 255, 255, .14); }
.crumbs .ic { width: 14px; height: 14px; }
@media (min-width: 720px) { .page-head-in { flex-direction: row; gap: 22px; } .head-ic { margin-top: 6px; } }

/* Fonctionnalités : groupes et modules */
.group-head { display: flex; gap: 16px; align-items: flex-start; }
.group-n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font: 700 1.05rem var(--font); flex: none; margin-top: 2px; }
.mods { display: grid; gap: 12px; }
.mod { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.mod:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: #C9D5E6; }
.mod-t { display: grid; gap: 4px; min-width: 0; }
.mod-t strong { font: 600 1.02rem/1.25 var(--font); }
.mod-t span { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.mod-go { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font: 600 .88rem var(--font); }
.mod-go span { display: none; }
.mod-go .ic { transition: transform .2s; }
.mod:hover .mod-go .ic { transform: translateX(4px); }
@media (min-width: 760px) { .mods { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1100px) {
  .mods { grid-template-columns: repeat(3, 1fr); }
  .mod { grid-template-columns: 1fr; align-content: start; gap: 12px; padding: 24px; }
  .mod-go { margin-top: auto; padding-top: 4px; }
  .mod-go span { display: inline; }
}
.chain { list-style: none; counter-reset: ch; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; position: relative; }
.chain li { counter-increment: ch; position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; color: var(--on-dark); }
.chain li::before { content: counter(ch); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: rgba(245, 180, 0, .14); color: var(--yellow); font: 700 .95rem var(--font); border: 1px solid rgba(245, 180, 0, .35); }
.chain li span { padding-top: 6px; }

/* Page module */
.roles { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.roles li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font: 500 .84rem var(--font); color: var(--muted); }
.roles .ic { color: var(--green-700); }
.module-body { display: grid; gap: 32px; min-width: 0; }
.module-text { min-width: 0; }
.module-shots { min-width: 0; order: -1; }
@media (min-width: 980px) { .module-shots { order: 0; } }
.rail-shots > .shot-mobile { flex-basis: 60%; }
.rail-shots > .shot-desktop { flex-basis: 90%; }
.logic { margin-top: 16px; background: linear-gradient(135deg, var(--yellow-soft), #FFFBEF); border: 1px solid rgba(245, 180, 0, .35); border-radius: 22px; padding: 20px 22px; }
.logic h2 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--yellow-700); }
.logic p { color: #4A3A10; }
@media (min-width: 640px) { .rail-shots > .shot-mobile { flex-basis: 40%; } .rail-shots > .shot-desktop { flex-basis: 76%; } }
@media (min-width: 980px) {
  .module-body { grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: start; }
  .module-body-full { grid-template-columns: 1fr; max-width: 820px; }
  .rail-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; overflow: visible; margin: 0; padding: 0; }
  .rail-shots .shot-desktop { grid-column: 1 / -1; }
  .rail-shots .shot-mobile:nth-child(even) { margin-top: 36px; }
  .rail-shots + .rail-dots { display: none; }
  .module-shots { position: sticky; top: calc(var(--top-h) + 20px); }
}
.h-ic { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.h-ic > .ic { width: 26px; height: 26px; color: var(--navy); }
.rows { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.rows a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; color: var(--ink); text-decoration: none; font: 500 .95rem/1.35 var(--font); box-shadow: 0 1px 2px rgba(13, 28, 51, .05); transition: border-color .2s, transform .2s, box-shadow .2s; }
.rows a:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.row-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--navy-soft); color: var(--navy); flex: none; }
.row-ic .ic { width: 20px; height: 20px; }
.row-ic-green { background: var(--green-soft); color: var(--green-700); }
.ic-go { margin-left: auto; color: var(--muted); }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: stretch; padding-block: 28px; }
.pager a { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink); font: 500 .9rem var(--font); }
.pager a:hover { border-color: var(--navy); }
.pager small { display: block; color: var(--muted); font-weight: 400; }
.pager-next { justify-content: flex-end; text-align: right; }
.pager-all span { display: none; }
@media (max-width: 559px) { .pager-prev span, .pager-next span { display: none; } .pager-prev, .pager-next { justify-content: center; } }
@media (min-width: 720px) { .pager-all span { display: inline; } }

/* Par profil */
.section-profile { padding-block: clamp(44px, 6vw, 88px); }
.profile { display: grid; gap: 30px; align-items: center; }
.profile-id { display: flex; align-items: center; gap: 14px; }
.quote { position: relative; margin-top: 18px; padding: 14px 18px; border-radius: 4px 18px 18px 18px; background: var(--navy-soft); color: var(--navy-700); font-size: 1.04rem; line-height: 1.5; }
.paper .quote { background: #fff; box-shadow: var(--shadow); }
.related { margin-top: 22px; }
.profile-shot .phone { max-width: 250px; }
@media (max-width: 899px) { .profile-shot { width: 100%; max-width: 230px; margin-inline: auto; } }
@media (min-width: 900px) { .profile { grid-template-columns: 1.3fr .7fr; gap: 72px; } .profile-rev .profile-shot { order: -1; } .profile-rev { grid-template-columns: .7fr 1.3fr; } }

/* Offres */
.plans { display: grid; gap: 18px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 26px 22px 22px; box-shadow: var(--shadow); }
.plan h2 { font-size: 1.6rem; }
.plan-tag { color: var(--muted); }
.plan-price { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 7px 14px; border-radius: 999px; background: var(--navy-soft); color: var(--navy); font: 600 .9rem var(--font); margin: 6px 0 2px; }
.plan .ticks { margin-bottom: 10px; font-size: .97rem; }
.plan-meta { margin: auto 0 16px; display: grid; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); }
.plan-meta dt { display: flex; align-items: center; gap: 8px; font: 600 .84rem var(--font); color: var(--navy); }
.plan-meta dd { margin: 3px 0 0 28px; color: var(--muted); font-size: .93rem; }
.plan-hl { color: #fff; border: 0; background: radial-gradient(26rem 18rem at 100% 0%, rgba(245, 180, 0, .2), transparent 60%), url("../img/motif-ailes.svg") 0 0 / 280px 220px, linear-gradient(165deg, #23466F, var(--night)); box-shadow: 0 30px 60px -26px rgba(13, 28, 51, .7), 0 0 0 2px var(--yellow); --focus: var(--yellow); }
.plan-hl h2 { color: #fff; }
.plan-hl .plan-tag, .plan-hl .plan-meta dd, .plan-hl .ticks li { color: var(--on-dark); }
.plan-hl .plan-price { background: rgba(245, 180, 0, .16); color: #FFD766; }
.plan-hl .plan-meta { border-color: rgba(255, 255, 255, .18); }
.plan-hl .plan-meta dt { color: #FFD766; }
.plan-hl .ticks .ic { background: rgba(245, 180, 0, .18); color: var(--yellow); }
.plan-flag { position: absolute; top: -14px; left: 22px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font: 600 .78rem var(--font); box-shadow: 0 8px 18px -8px rgba(245, 180, 0, .9); }
.plan-flag .ic { width: 15px; height: 15px; }
.plan-hl { margin-top: 10px; }
@media (min-width: 980px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 22px; } .plan-hl { transform: translateY(-12px); margin-top: 0; } }
.note { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; color: var(--muted); font-size: .94rem; }
.note .ic { margin-top: .2em; color: var(--navy); }
.note-strong { margin: 0 0 20px; padding: 14px 16px; background: var(--yellow-soft); border: 1px solid rgba(245, 180, 0, .35); border-radius: 16px; color: var(--ink); }
.note-warn { padding: 14px 16px; border-radius: 16px; background: #FFF4F2; border: 1px solid #F6CFC8; color: #7A2E22; }
.note-warn .ic { color: #C0392B; }
.faq { margin-top: 22px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 1px 2px rgba(13, 28, 51, .05); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: #C9D5E6; box-shadow: var(--shadow); }
.faq summary { list-style: none; display: flex; align-items: center; gap: 14px; justify-content: space-between; padding: 16px 18px; cursor: pointer; font: 600 1rem/1.35 var(--font); min-height: 60px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--navy-soft); color: var(--navy); transition: transform .25s, background-color .25s; }
.faq details[open] summary .ic { transform: rotate(180deg); background: var(--yellow); color: var(--ink); }
.faq details p { padding: 0 18px 18px; color: var(--muted); }

/* Démo */
.demo-banner { position: relative; z-index: 2; background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, #F8C02A 14px 28px); color: var(--ink); font: 500 .88rem/1.4 var(--font); }
.demo-banner .wrap { display: flex; align-items: center; gap: 10px; padding-block: 10px; }
.demo-grid { display: grid; gap: 36px; }
@media (min-width: 980px) { .demo-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.demo-open { display: grid; gap: 14px; margin-bottom: 30px; padding: 22px; border-radius: 26px; color: #fff; background: radial-gradient(20rem 14rem at 100% 0%, rgba(245, 180, 0, .22), transparent 60%), linear-gradient(135deg, #1D63B0, #133F73); box-shadow: 0 24px 50px -24px rgba(19, 63, 115, .8); --focus: var(--yellow); }
.demo-open p { color: #D6E4F5; }
.demo-school { display: flex; gap: 10px; align-items: flex-start; color: #fff !important; font: 600 1rem/1.45 var(--text); }
.demo-school .ic { color: var(--yellow); margin-top: .15em; width: 22px; height: 22px; }
.sub-title { margin-bottom: 14px; }
.steps { margin: 14px 0 0; padding-left: 1.3em; display: grid; gap: 8px; color: var(--muted); }
.steps li::marker { color: var(--navy); font-weight: 600; }
.steps-num { list-style: none; counter-reset: st; padding: 0; gap: 12px; }
.steps-num li { counter-increment: st; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; color: var(--ink); }
.steps-num li::before { content: counter(st); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); border: 2px solid var(--yellow); font: 700 .95rem var(--font); color: var(--ink); }
.accounts { display: grid; gap: 10px; }
.acc { display: grid; gap: 4px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 1px 2px rgba(13, 28, 51, .05); }
.acc-head { display: none; }
.acc-role { display: flex; align-items: center; gap: 10px; font: 600 .95rem/1.3 var(--font); margin-bottom: 4px; }
.acc-av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow-soft); color: var(--yellow-700); font: 700 .95rem var(--font); flex: none; }
.acc-val { display: flex; align-items: center; gap: 8px; min-width: 0; }
.acc-label { font-size: .8rem; color: var(--muted); min-width: 88px; }
.acc code { font-size: .9rem; font-weight: 500; background: var(--navy-soft); color: var(--navy); padding: 5px 9px; border-radius: 8px; word-break: break-all; }
.copy { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-left: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; flex: none; }
.copy:hover { color: var(--navy); border-color: var(--navy); }
.copy.done { color: #fff; background: var(--green); border-color: var(--green); }
@media (min-width: 760px) {
  .accounts { gap: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
  .acc { grid-template-columns: 1.25fr 1fr 1fr; align-items: center; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 12px 16px; }
  .acc-head { display: grid; background: var(--navy); color: #fff; font: 600 .74rem var(--font); text-transform: uppercase; letter-spacing: .08em; border-top: 0; padding-block: 14px; }
  .acc-label { display: none; }
  .copy { margin-left: 0; width: 36px; height: 36px; }
}

/* Manuel */
.manual-cta { margin-bottom: 8px; }
.chapters-title { margin: 40px 0 18px; }
.chapters { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.chapters a { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgba(13, 28, 51, .05); transition: border-color .2s, box-shadow .2s, transform .2s; }
.chapters a:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); }
.ch-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: linear-gradient(145deg, #2E5585, var(--navy)); color: #fff; font: 700 .95rem var(--font); flex: none; }
.ch-t { display: grid; gap: 2px; }
.ch-t strong { font: 600 1rem var(--font); }
.ch-t span { color: var(--muted); font-size: .9rem; line-height: 1.45; }
@media (min-width: 900px) { .chapters { grid-template-columns: 1fr 1fr; } }

/* Contact */
.contact-grid { gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 3vw, 32px); border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.contact-card p { color: var(--muted); }
.contact-num { font: 700 clamp(1.4rem, 1.2rem + 1vw, 1.9rem) var(--font); color: var(--ink) !important; letter-spacing: -.01em; }
.contact-card .btn { margin-top: auto; }
.contact-wa { color: #fff; border: 0; --focus: var(--yellow); background: radial-gradient(20rem 14rem at 100% 0%, rgba(255, 255, 255, .18), transparent 60%), url("../img/motif-ailes.svg") 0 0 / 280px 220px, linear-gradient(150deg, #22B587, #137555); box-shadow: 0 26px 50px -24px rgba(19, 117, 85, .85); }
.contact-wa h2, .contact-wa .contact-num { color: #fff !important; }
.contact-wa p { color: #E2F7EF; }
.topics-title { margin-top: 40px; }
@media (min-width: 760px) { .rows-3 { grid-template-columns: repeat(3, 1fr); } }
.where { display: flex; gap: 12px; align-items: center; margin-top: 28px; color: var(--muted); font-size: .94rem; }

/* Textes longs, actualités */
.prose h2 { margin: 30px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; color: #33445A; line-height: 1.7; }
.prose .lead { color: var(--muted); margin-top: 0; }
.prose-card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 4vw, 48px); box-shadow: var(--shadow); }
@media (max-width: 767px) { .prose-card { width: calc(100% - 32px); } }
.news-card { gap: 10px; border-radius: 22px; transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.news-date { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: var(--navy-soft); font: 500 .78rem var(--font); color: var(--navy) !important; }
.news-date .ic { width: 14px; height: 14px; }
.news-card h3 a { color: var(--ink); text-decoration: none; }
.news-card h3 a:hover { color: var(--navy); text-decoration: underline; }
.news-card .more { margin-top: auto; padding-top: 4px; }
.empty { display: flex; gap: 12px; align-items: center; color: var(--muted); padding: 24px; background: var(--surface); border: 1px dashed #C9D5E6; border-radius: 22px; }

/* 404 */
.notfound { min-height: calc(100svh - var(--top-h) - var(--tab-h)); display: grid; align-items: center; text-align: center; padding-block: 56px 96px; overflow: clip; }
.notfound .cta-row { justify-content: center; margin-top: 28px; }
.nf-code { font: 700 clamp(6rem, 4rem + 12vw, 11rem)/.9 var(--font); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .22); margin-bottom: -.35em; }
.nf-mark { display: block; width: 72px; margin: 0 auto 18px; position: relative; }
.nf-mark .mark { width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 0 0 6px rgba(255, 255, 255, .08), 0 20px 40px -16px rgba(0, 0, 0, .6); }
.notfound .lead { margin-inline: auto; max-width: 30rem; }

/* Bandeau d'appel final */
.cta-band { padding-block: clamp(40px, 6vw, 88px) calc(clamp(56px, 7vw, 104px) + var(--wave-h)); background: var(--surface); }
.page-module .cta-band, .page-features .cta-band { background: var(--surface); }
.cta-card { position: relative; overflow: hidden; display: grid; gap: 26px; padding: clamp(28px, 5vw, 64px); border-radius: 32px; color: #fff; isolation: isolate; --focus: var(--yellow);
  background: radial-gradient(34rem 22rem at 100% 0%, rgba(245, 180, 0, .2), transparent 60%), radial-gradient(28rem 20rem at 0% 100%, rgba(31, 163, 122, .22), transparent 60%), url("../img/motif-ailes.svg") 0 0 / 280px 220px, linear-gradient(150deg, #25496F, var(--night)); box-shadow: 0 40px 80px -40px rgba(13, 28, 51, .75); }
.cta-card::after { content: ""; position: absolute; z-index: -1; right: -12%; bottom: -14%; width: min(90vw, 620px); aspect-ratio: 600 / 420; background: url("../img/aile.svg") center / contain no-repeat; opacity: .6; }
.cta-card h2 { color: #fff; }
.cta-card p { color: #C9D6E8; margin-top: 12px; max-width: 40rem; }
.cta-mark { display: block; width: 52px; margin-bottom: 18px; }
.cta-mark .mark { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 5px rgba(255, 255, 255, .08); }
.cta-card .cta-row .btn { flex: 1 1 240px; }
@media (min-width: 980px) { .cta-card { grid-template-columns: 1.35fr 1fr; align-items: center; gap: 48px; } .cta-card .cta-row { flex-direction: column; align-items: stretch; } .cta-card .cta-row .btn { flex: none; } }

/* Pied de page */
.foot { --top: var(--night); --bottom: #08111F; z-index: 2; font-size: .93rem; padding-bottom: calc(var(--tab-h) + 24px + env(safe-area-inset-bottom)); }
.foot.wave-top { padding-top: var(--wave-h); }
.foot p { color: var(--on-dark-2); }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-block: 40px 28px; }
.foot-brand, .foot-contact { grid-column: 1 / -1; }
.foot-brand p { margin-top: 14px; max-width: 26rem; }
.foot-tag { font: 300 1.05rem var(--font); color: #DCE6F2 !important; letter-spacing: .02em; }
.foot-col { display: grid; gap: 4px; align-content: start; }
.foot-col h2 { font: 600 .74rem var(--font); text-transform: uppercase; letter-spacing: .14em; color: var(--yellow); margin-bottom: 8px; }
.foot-col a { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); text-decoration: none; min-height: 40px; width: fit-content; }
.foot-col a:hover { color: #fff; }
.foot-col a:hover > span:last-child { text-decoration: underline; }
.foot-contact a { min-height: 52px; }
.foot-contact small { display: block; font-size: .74rem; color: var(--on-dark-2); }
.foot-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .07); color: var(--yellow); flex: none; }
.foot-wa .foot-ic { background: rgba(31, 163, 122, .2); color: #4FD1A5; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .09); padding-block: 18px; font-size: .84rem; }
@media (min-width: 700px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } .foot-contact { grid-column: auto; } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } .foot-brand { grid-column: auto; } }
@media (min-width: 1040px) { .foot { padding-bottom: 0; } }

/* Apparition au défilement (ajoutée par le script ; rien n'est caché sans script ni avec « réduire les animations ») */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .rv.in { opacity: 1; transform: none; }
  .js .rv:nth-child(2) { transition-delay: .07s; } .js .rv:nth-child(3) { transition-delay: .14s; } .js .rv:nth-child(4) { transition-delay: .21s; }
  .js .rv:nth-child(5) { transition-delay: .07s; } .js .rv:nth-child(6) { transition-delay: .14s; }
  .tile { animation: float 7s ease-in-out infinite; }
  .tile-report { animation-delay: -2.4s; } .tile-roll { animation-delay: -4.6s; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
  .hero .hero-text > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .hero-text > :nth-child(2) { animation-delay: .06s; } .hero .hero-text > :nth-child(3) { animation-delay: .12s; }
  .hero .hero-text > :nth-child(4) { animation-delay: .18s; } .hero .hero-text > :nth-child(n+5) { animation-delay: .24s; }
  .stage { animation: rise 1s .15s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print {
  .top, .tabbar, .cta-band, .foot, .rail-dots { display: none; }
  .dark, .hero, .page-head { background: none; color: var(--ink); -webkit-mask: none; mask: none; margin: 0; padding-block: 16px; }
  .dark h1, .dark h2, .dark h3, .dark p { color: var(--ink); }
  .rail, .apps, .people { display: block; overflow: visible; }
}
.manual-cta .btn { flex: 1 1 280px; }

/* Écoles qui utilisent Masomo Mepesi (page Écoles et bandeau de l'accueil) */
.schools { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .schools { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .schools { grid-template-columns: repeat(3, 1fr); } }
.school { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto auto; gap: 14px 16px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.school-logo { width: 72px; height: 72px; border-radius: 18px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.school-initials { display: grid; place-items: center; background: var(--navy-soft); border-color: transparent; color: var(--navy); font: 700 1.4rem/1 var(--font); letter-spacing: -.02em; }
.school-body { display: grid; gap: 6px; align-content: start; min-width: 0; }
.school-logo { align-self: start; }
.school-body h2 { overflow-wrap: anywhere; }
.school-place { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: .92rem; }
.school-place .ic { color: var(--green-700); }
.school-levels { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.school-levels li { padding: 2px 10px; border-radius: 999px; background: var(--navy-soft); color: var(--navy); font: 500 .8rem/1.6 var(--font); }
.school-go { grid-column: 1 / -1; align-self: end; }
.school-host { grid-column: 1 / -1; margin-top: -6px; text-align: center; color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; }
.empty-cta { flex-wrap: wrap; gap: 18px; padding: clamp(22px, 3vw, 32px); color: var(--ink); }
.empty-cta > div { flex: 1 1 260px; display: grid; gap: 6px; }
.empty-cta p { color: var(--muted); }
.users-band { background: url("../img/motif-ailes-clair.svg") 0 0 / 280px 220px, var(--paper); padding-top: clamp(28px, 4vw, 44px); }
.users-in { display: grid; gap: 14px; justify-items: start; }
.users-t { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.users-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.users-list a { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 7px 16px 7px 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 600 .92rem/1.2 var(--font); box-shadow: 0 1px 2px rgba(13, 28, 51, .05); transition: border-color .2s; max-width: 100%; }
.users-list a:hover { border-color: var(--navy); }
.users-list a > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.users-list img, .users-ini { width: 36px; height: 36px; border-radius: 10px; object-fit: contain; flex: none; }
.users-ini { display: grid; place-items: center; background: var(--navy-soft); color: var(--navy); font: 700 .82rem/1 var(--font); }
@media (min-width: 900px) { .users-in { grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; } .users-t { max-width: 11em; } }
.contact-topics .rows-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .contact-topics .topics-title { margin-top: 4px; } .contact-topics .where { margin-top: 20px; } }

/* Démo en un clic : bouton principal, rôles groupés en cartes */
.page-head-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 22px; }
.try-note { color: var(--on-dark-2); font-size: .9rem; }
.demo-group { margin-top: 26px; }
.demo-group-t { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; font-size: 1.15rem; }
.demo-group-t .badge-ic { width: 40px; height: 40px; border-radius: 12px; }
.demo-group-t small { padding: 2px 10px; border-radius: 999px; background: var(--sky-soft); color: var(--sky); font: 500 .78rem/1.6 var(--font); }
.demo-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .demo-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .demo-cards { grid-template-columns: repeat(4, 1fr); } }
.demo-card { display: grid; grid-template-rows: 1fr auto auto; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); min-width: 0; }
.demo-card-top { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.demo-card-top > div { display: grid; gap: 4px; min-width: 0; }
.demo-card-top h4 { font-size: 1rem; overflow-wrap: anywhere; }
.demo-card-top p { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.demo-card .btn { min-height: 46px; }
.demo-cred { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; color: var(--muted); font-size: .78rem; }
.demo-cred span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.demo-cred code { font-size: .8rem; background: var(--navy-soft); color: var(--navy); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.demo-cred .copy { width: 28px; height: 28px; margin: 0; border-radius: 8px; }
.demo-cred .copy .ic { width: 14px; height: 14px; }
.demo-facts { display: grid; gap: 10px; margin-top: 32px; }
@media (min-width: 900px) { .demo-facts { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.demo-facts .note { margin: 0; }
