/* Site Resafit (refonte du 31/10/2026). Charte de l'app : bleu nuit #1A1A2E,
   corail #E94560 (encre #C81E52 sur fond clair), Inter + Archivo Black.
   Aucune ressource externe : polices servies par le site. */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-display: swap; src: url("fonts/inter-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo Black"; font-weight: 400; font-display: swap; src: url("fonts/archivo-black-latin.woff") format("woff"); }

:root {
  --navy: #1a1a2e;
  --navy-2: #16213e;
  --canvas: #0a0a14;
  --canvas-alt: #1c1c33;
  --coral: #e94560;
  --coral-light: #ff6b6b;
  --coral-deep: #c81e52;
  --ink: #1a1a2e;
  --muted: #5b6472;
  --muted-dark: #a7b0be;
  --bg: #f8f9fa;
  --card: #ffffff;
  --line: #e6e8ee;
  --line-dark: rgba(255, 255, 255, .1);
  --green: #27ae60;
  --green-ink: #1b7a43;
  --amber: #f39c12;
  --amber-ink: #a85c00;
  --blue: #3b6fd8;
  --violet: #7c5cff;
  --r-sm: 8px;
  --r: 14px;
  --r-card: 16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow: 0 1px 2px rgba(16, 18, 40, .06), 0 8px 24px rgba(16, 18, 40, .06);
  --shadow-lg: 0 24px 60px rgba(10, 10, 30, .28);
  --grad: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 45%);
  --grad-logo: linear-gradient(135deg, var(--coral-light), var(--coral), var(--coral-deep));
  --display: "Archivo Black", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
a { color: var(--coral-deep); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.16rem; font-weight: 700; }
p { margin: 0 0 1em; }
.tab { font-variant-numeric: tabular-nums; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--card); color: var(--ink); padding: 10px 16px; border-radius: var(--r); z-index: 100; }
.skip:focus { left: 12px; }

/* Bandeau des utilisateurs de l'app (accueil, 20/11/2026) : affiché par
   site.js quand l'app a déjà été ouverte sur cet appareil. */
.member-bar { background: var(--grad); color: #fff; font-size: .92rem; }
.member-bar[hidden] { display: none; }
.member-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; min-height: 44px; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.member-bar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
section { padding: clamp(64px, 9vw, 120px) 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-deep); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--grad); }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.24rem); color: var(--muted); line-height: 1.6; }
.sub { color: var(--muted); font-size: 1.06rem; margin-top: 14px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--r); background: var(--grad); color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; box-shadow: 0 10px 24px rgba(200, 30, 82, .28); transition: transform .18s ease, box-shadow .18s ease; font-family: var(--text); }
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 30px rgba(200, 30, 82, .36); }
.btn.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); box-shadow: none; }
.btn.ghost:hover { border-color: #fff; }
.btn.line { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn.line:hover { border-color: var(--navy); color: var(--ink); }
.btn.small { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn .arr { transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; background: rgba(13, 13, 28, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line-dark); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 20px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a.l { color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 12px; border-radius: 10px; }
.nav a.l:hover, .nav a.l[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav .member { color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; padding: 0 14px; min-height: 42px; display: inline-flex; align-items: center; border-radius: var(--r); border: 1.5px solid rgba(255, 255, 255, .22); margin-left: 6px; }
.nav .member:hover { border-color: #fff; color: #fff; }
.nav .btn { margin-left: 6px; }
.menu-btn { display: none; background: transparent; border: 1.5px solid rgba(255, 255, 255, .25); color: #fff; border-radius: 12px; min-height: 44px; padding: 0 14px; font-weight: 700; font-family: var(--text); font-size: .95rem; cursor: pointer; }
@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 20px 22px; background: rgba(13, 13, 28, .98); border-bottom: 1px solid var(--line-dark); }
  .nav.open { display: flex; }
  .nav a.l { padding: 14px 12px; font-size: 1.02rem; }
  .nav .member, .nav .btn { margin: 8px 0 0; min-height: 50px; justify-content: center; }
}

/* Sections sombres */
.dark { background: radial-gradient(120% 90% at 50% -10%, var(--canvas-alt) 0%, #12121f 52%, var(--canvas) 100%); color: #fff; }
.dark .lead, .dark .sub, .dark p { color: var(--muted-dark); }
.dark .eyebrow { color: #ff8a9b; }
.dark h1, .dark h2, .dark h3 { color: #fff; }

/* Héros */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 110px); }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -260px; background: radial-gradient(circle, rgba(233, 69, 96, .30), rgba(233, 69, 96, 0) 62%); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 620px; height: 620px; left: -260px; bottom: -380px; background: radial-gradient(circle, rgba(59, 111, 216, .22), rgba(59, 111, 216, 0) 65%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: normal; background: var(--grad-logo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 22px; max-width: 600px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.reassure { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--muted-dark); font-size: .92rem; padding: 0; list-style: none; }
.reassure li { display: inline-flex; align-items: center; gap: 8px; }
.reassure li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(39, 174, 96, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%2346d483' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.hero.page .wrap { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 960px) { .hero .wrap, .hero.page .wrap { grid-template-columns: 1fr; } }

/* Composition des écrans (illustrations fidèles à l'app, données fictives) */
.hero.home .wrap { display: block; }
.hero-text { max-width: 900px; margin: 0 auto; text-align: center; }
.hero-text .lead { margin-inline: auto; max-width: 720px; }
.hero-text .cta, .hero-text .reassure { justify-content: center; }
.hero-text .eyebrow::before { display: none; }
.stage { position: relative; }
.stage.wide { margin: clamp(48px, 6vw, 80px) auto 56px; max-width: 1100px; padding-right: 240px; }
.stage.wide .desk { width: 100%; }
.stage.wide .phone { position: absolute; right: 0; top: 46px; width: 300px; z-index: 2; }
.stage .chip-f { position: absolute; z-index: 3; }
.stage .f1 { right: 300px; bottom: -30px; }
.stage .f2 { left: 3%; top: -30px; }
.stage .f3 { left: 38%; top: -30px; }
@media (max-width: 960px) {
  .stage.wide { padding-right: 0; display: grid; justify-items: center; gap: 16px; }
  .stage.wide .desk { display: none; }
  .stage.wide .phone { position: relative; right: auto; top: auto; width: min(320px, 100%); }
  .stage .chip-f { position: static; }
  .stage .f2, .stage .f3 { display: none; }
}
.phone { background: #0b0b16; border-radius: 40px; padding: 10px; box-shadow: var(--shadow-lg), 0 0 0 1.5px rgba(255, 255, 255, .08) inset; }
.phone .scr { background: var(--bg); border-radius: 31px; overflow: hidden; color: var(--ink); font-size: 12px; line-height: 1.35; }
.phone .notch { height: 26px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; font-size: 11px; font-weight: 700; color: var(--ink); background: var(--card); }
.phone .notch i { width: 68px; height: 18px; background: #0b0b16; border-radius: 12px; display: block; }
.app-bar { background: var(--card); padding: 6px 14px 12px; border-bottom: 1px solid var(--line); }
.app-bar b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.app-bar span { color: var(--muted); font-size: 11px; }
.days { display: flex; gap: 6px; padding: 10px 12px 4px; }
.days span { flex: 1; text-align: center; padding: 6px 0; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: 10px; font-weight: 600; color: var(--muted); }
.days span b { display: block; font-size: 13px; color: var(--ink); }
.days span.on { background: var(--navy); border-color: var(--navy); color: rgba(255, 255, 255, .7); }
.days span.on b { color: #fff; }
.cls { margin: 8px 12px; background: var(--card); border-radius: 14px; border: 1px solid var(--line); overflow: hidden; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px 8px 8px; }
.cls .ph { width: 46px; height: 46px; border-radius: 10px; background: linear-gradient(135deg, #2b2b4a, #16213e); position: relative; overflow: hidden; }
.cls .ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(255, 107, 107, .55), transparent 60%); }
.cls .ph.g::after { background: radial-gradient(circle at 70% 40%, rgba(70, 212, 131, .5), transparent 60%); }
.cls .ph.b::after { background: radial-gradient(circle at 40% 60%, rgba(91, 141, 239, .6), transparent 60%); }
.cls .t { font-weight: 800; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cls .m { color: var(--muted); font-size: 10.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cls .bar { height: 4px; border-radius: 4px; background: #eef0f4; margin-top: 6px; overflow: hidden; }
.cls .bar i { display: block; height: 100%; background: var(--grad); border-radius: 4px; }
.pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 4px 10px; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.pill.go { background: var(--grad); color: #fff; }
.pill.ok { background: rgba(39, 174, 96, .14); color: var(--green-ink); }
.pill.wait { background: rgba(243, 156, 18, .16); color: var(--amber-ink); }
.pill.navy { background: rgba(26, 26, 46, .08); color: var(--navy); }
.tabbar { display: flex; justify-content: space-around; padding: 8px 6px 12px; background: var(--card); border-top: 1px solid var(--line); margin-top: 8px; font-size: 9.5px; color: var(--muted); font-weight: 600; }
.tabbar span { display: grid; justify-items: center; gap: 3px; }
.tabbar span i { width: 18px; height: 18px; border-radius: 6px; background: #dfe2e9; display: block; }
.tabbar span.on { color: var(--coral-deep); }
.tabbar span.on i { background: var(--grad); }

.desk { background: #0b0b16; border-radius: 18px; padding: 8px; box-shadow: var(--shadow-lg); }
.desk .scr { background: var(--bg); border-radius: 12px; overflow: hidden; color: var(--ink); font-size: 12px; }
.desk .dots { display: flex; gap: 6px; padding: 8px 12px; background: #13132a; }
.desk .dots i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a5c; display: block; }
.dash { display: grid; grid-template-columns: 148px 1fr; min-height: 330px; }
.side { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 14px 10px; display: grid; align-content: start; gap: 4px; font-size: 11px; font-weight: 600; }
.side b { color: #fff; font-size: 13px; padding: 2px 8px 10px; }
.side span { padding: 7px 8px; border-radius: 8px; }
.side span.on { background: rgba(233, 69, 96, .18); color: #fff; }
.main { padding: 14px; display: grid; gap: 10px; align-content: start; }
.main h4 { font-size: 15px; font-weight: 800; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; }
.kpi span { color: var(--muted); font-size: 10px; font-weight: 600; display: block; }
.kpi b { font-family: var(--display); font-weight: 400; font-size: 17px; letter-spacing: -.01em; display: block; margin-top: 3px; }
.kpi em { font-style: normal; font-size: 10px; font-weight: 700; color: var(--green-ink); }
.rows { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.rows div { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 8px 11px; border-top: 1px solid var(--line); font-size: 11px; }
.rows div:first-child { border-top: 0; }
.rows div b { font-weight: 700; }
.rows div small { color: var(--muted); display: block; font-size: 10px; }

.chip-f { background: var(--card); color: var(--ink); border-radius: 16px; padding: 10px 14px 10px 10px; box-shadow: 0 14px 36px rgba(0, 0, 0, .28); display: flex; align-items: center; gap: 10px; font-size: 12.5px; max-width: 270px; }
.chip-f .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; color: #fff; font-weight: 800; font-size: 15px; background: var(--grad); }
.chip-f .ic.g { background: linear-gradient(135deg, #46d483, #1b7a43); }
.chip-f .ic.b { background: linear-gradient(135deg, #6f9cff, #2f56b0); }
.chip-f b { display: block; font-size: 12.5px; }
.chip-f span { color: var(--muted); font-size: 11.5px; }

/* Bandeau de preuves */
.facts { padding: 0; margin-top: -1px; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); transform: translateY(-50%); border: 1px solid var(--line); }
.facts .f { padding: 22px 24px; border-left: 1px solid var(--line); }
.facts .f:first-child { border-left: 0; }
.facts .f b { font-family: var(--display); font-weight: 400; font-size: 1.6rem; display: block; letter-spacing: -.01em; }
.facts .f span { color: var(--muted); font-size: .92rem; line-height: 1.4; display: block; margin-top: 4px; }
@media (max-width: 900px) { .facts .wrap { grid-template-columns: 1fr 1fr; transform: translateY(-28px); } .facts .f:nth-child(3) { border-left: 0; } .facts .f:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .facts .f { padding: 16px; } .facts .f b { font-size: 1.3rem; } }
.after-facts { padding-top: clamp(8px, 2vw, 24px); }

/* Grilles et cartes */
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid.three, .grid.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(233, 69, 96, .1); color: var(--coral-deep); }
.ico svg { width: 24px; height: 24px; }
.ico.g { background: rgba(39, 174, 96, .12); color: var(--green-ink); }
.ico.b { background: rgba(59, 111, 216, .12); color: #2f56b0; }
.ico.y { background: rgba(243, 156, 18, .14); color: var(--amber-ink); }
.ico.v { background: rgba(124, 92, 255, .12); color: #5a3fd6; }
.ico.n { background: rgba(26, 26, 46, .08); color: var(--navy); }
a.card { text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; display: block; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(16, 18, 40, .12); border-color: #d8dbe4; color: inherit; }
.more { display: inline-flex; gap: 6px; margin-top: 14px; font-weight: 700; color: var(--coral-deep); font-size: .95rem; }

/* Bento des fonctions */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento .card { display: flex; flex-direction: column; }
.bento .s2 { grid-column: span 2; }
.bento .s3 { grid-column: span 3; }
.bento .s4 { grid-column: span 4; }
.bento .r2 { grid-row: span 2; }
.bento .more-tile { background: var(--navy); color: #fff; border-color: transparent; }
.bento .more-tile p { color: var(--muted-dark); }
.bento .more-tile h3 { color: #fff; }
.bento .viz { margin-top: auto; padding-top: 20px; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .bento .s2, .bento .s3, .bento .s4 { grid-column: span 1; } .bento .wide-m { grid-column: span 2; } .bento .r2 { grid-row: auto; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento .wide-m { grid-column: span 1; } }

.mini { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: grid; gap: 7px; font-size: 12px; }
.mini .ln { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--card); border-radius: 10px; padding: 8px 10px; border: 1px solid var(--line); }
.mini .ln b { font-weight: 700; }
.mini .ln small { color: var(--muted); display: block; font-size: 11px; }
.hash { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 10.5px; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 74px; padding: 4px 2px 0; }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--coral), var(--coral-deep)); opacity: .9; display: block; }
.bars i.n { background: linear-gradient(180deg, #3d3d66, var(--navy)); }

/* Étiquettes d'état (honnêteté sur ce qui existe) */
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; vertical-align: middle; white-space: nowrap; }
.tag.in { background: rgba(39, 174, 96, .13); color: var(--green-ink); }
.tag.opt { background: rgba(124, 92, 255, .12); color: #5a3fd6; }
.tag.soon { background: rgba(243, 156, 18, .15); color: var(--amber-ink); }
.tag.open { background: rgba(59, 111, 216, .12); color: #2f56b0; }
.dark .tag.in { background: rgba(70, 212, 131, .16); color: #6fe0a1; }
.dark .tag.opt { background: rgba(160, 140, 255, .18); color: #c3b5ff; }
.dark .tag.soon { background: rgba(243, 156, 18, .2); color: #ffc66b; }

/* Blocs alternés texte + écran */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(64px, 9vw, 120px); }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 7px; background: rgba(233, 69, 96, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.4 2.4L12 5' fill='none' stroke='%23c81e52' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; }
.checks li b { font-weight: 700; }
.checks li span { color: var(--muted); }
.dark .checks li span { color: var(--muted-dark); }
.panel { background: linear-gradient(160deg, #eef0f7, #f8f9fa); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(18px, 3vw, 34px); display: grid; place-items: center; }
.panel.navy { background: radial-gradient(120% 120% at 20% 0%, #26264a, var(--navy) 60%); border-color: transparent; }
.panel .phone { width: min(290px, 100%); }
.panel .desk { width: 100%; }

/* Écrans détaillés */
.sess { padding: 10px 12px 14px; display: grid; gap: 8px; }
.blk { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; }
.blk .h { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 11.5px; letter-spacing: .02em; text-transform: uppercase; }
.blk .h span { font-size: 10px; color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 600; }
.ex { display: grid; grid-template-columns: 38px 1fr auto; gap: 9px; align-items: center; margin-top: 7px; }
.ex .th { width: 38px; height: 38px; border-radius: 9px; background: linear-gradient(135deg, #2a2a48, #14142a); position: relative; }
.ex .th::after { content: ""; position: absolute; left: 14px; top: 12px; border-left: 11px solid rgba(255, 255, 255, .9); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.ex b { font-size: 11.5px; display: block; }
.ex small { color: var(--muted); font-size: 10px; }
.timer { background: var(--navy); color: #fff; border-radius: 14px; padding: 14px; text-align: center; }
.timer .big { font-family: var(--display); font-size: 40px; line-height: 1; letter-spacing: .01em; }
.timer small { display: block; color: var(--muted-dark); font-size: 10.5px; margin-top: 6px; }
.ring { width: 92px; height: 92px; border-radius: 50%; background: conic-gradient(var(--coral) 0 72%, rgba(255, 255, 255, .12) 72% 100%); display: grid; place-items: center; margin: 2px auto 10px; }
.ring::before { content: attr(data-v); width: 74px; height: 74px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; font-family: var(--display); font-size: 22px; }
.body-map { display: flex; gap: 10px; justify-content: center; padding: 6px 0 2px; }
.body-map svg { width: 70px; height: auto; }

/* Métiers (onglets visuels) */
.persona { position: relative; overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.persona .top-art { height: 132px; background: radial-gradient(120% 140% at 0% 0%, #2b2b52 0%, var(--navy) 60%); position: relative; }
.persona .top-art .big { position: absolute; right: 18px; bottom: 12px; font-family: var(--display); font-size: 54px; color: rgba(255, 255, 255, .08); line-height: 1; }
.persona .top-art .ico { position: absolute; left: 22px; bottom: -22px; width: 54px; height: 54px; border-radius: 16px; background: var(--grad); color: #fff; box-shadow: 0 10px 22px rgba(200, 30, 82, .35); margin: 0; display: grid; place-items: center; }
.persona .top-art .ico svg { width: 26px; height: 26px; }
.persona .in { padding: 36px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.persona .in ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; color: var(--muted); font-size: .94rem; }
.persona .in ul li::before { content: "— "; color: var(--coral); font-weight: 800; }
.persona .more { margin-top: auto; padding-top: 16px; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: counter(s); font-family: var(--display); font-size: 2.6rem; line-height: 1; background: var(--grad-logo); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 12px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }
.dark .step { background: rgba(255, 255, 255, .04); border-color: var(--line-dark); box-shadow: none; }

/* Comparatif « un outil au lieu de cinq » */
.swap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: center; }
@media (max-width: 860px) { .swap { grid-template-columns: 1fr; } .swap .arrow { transform: rotate(90deg); justify-self: center; } }
.before { display: grid; gap: 10px; }
.before span { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: var(--r); background: var(--card); border: 1px dashed #cfd3dc; color: var(--muted); font-weight: 600; }
.before span s { text-decoration-thickness: 2px; text-decoration-color: rgba(200, 30, 82, .55); }
.swap .arrow { width: 56px; height: 56px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px rgba(200, 30, 82, .3); }
.after { border-radius: var(--r-xl); padding: 28px; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.after img { height: 34px; width: auto; margin-bottom: 16px; }
.after ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.after li { display: flex; gap: 10px; align-items: baseline; color: rgba(255, 255, 255, .86); }
.after li::before { content: "✓"; color: #6fe0a1; font-weight: 800; }

/* Tableau des fonctions */
.ftable { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.ftable caption { text-align: left; padding: 0 0 12px; font-weight: 800; font-size: 1.2rem; }
.ftable th, .ftable td { padding: 13px 18px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .97rem; }
.ftable thead th { border-top: 0; background: #f2f3f7; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ftable td:last-child, .ftable th:last-child { text-align: right; white-space: nowrap; }
.ftable td small { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.module { margin-top: 44px; }
.module:first-of-type { margin-top: 0; }
.module-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.module-head .ico { margin: 0; }
.module-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
@media (max-width: 640px) { .ftable th, .ftable td { padding: 12px 12px; } .ftable td:last-child { white-space: normal; } }

/* Légende des étiquettes */
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 16px; color: var(--muted); font-size: .92rem; }

/* Citation / histoire */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }
.badge-club { border-radius: var(--r-xl); padding: 34px; background: radial-gradient(130% 120% at 0% 0%, #2b2b52, var(--navy) 62%); color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.badge-club::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(233, 69, 96, .45), transparent 65%); }
.badge-club b { font-family: var(--display); font-weight: 400; font-size: 2rem; display: block; margin: 6px 0 8px; }
.badge-club p { color: rgba(255, 255, 255, .78); margin: 0; }
.badge-club .row-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.badge-club .row-facts div { background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); border-radius: 14px; padding: 12px 14px; }
.badge-club .row-facts strong { font-family: var(--display); font-weight: 400; font-size: 1.3rem; display: block; }
.badge-club .row-facts span { font-size: .84rem; color: rgba(255, 255, 255, .7); }
blockquote.quote { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; font-weight: 600; color: var(--ink); }
blockquote.quote::before { content: "“"; font-family: var(--display); font-size: 4rem; line-height: .6; display: block; color: var(--coral); margin-bottom: 10px; }
.sign { margin-top: 18px; color: var(--muted); font-weight: 600; }

/* Questions */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 0 20px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 34px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2.5px solid var(--coral-deep); border-bottom: 2.5px solid var(--coral-deep); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* Bandeau final + formulaire */
.cta-band .wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr; } }
.formcard { background: var(--card); color: var(--ink); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-lg); }
.formcard .row { display: grid; gap: 14px; }
.formcard .row.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .formcard .row.two { grid-template-columns: 1fr; } }
.formcard .row + .row, .formcard .field + .row, .formcard .row + .field { margin-top: 14px; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fbfbfd; border: 1.5px solid #d9dce4; border-radius: 12px; padding: 12px 14px; min-height: 50px; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(233, 69, 96, .15); background: #fff; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-weight: 500; font-size: .9rem; color: var(--muted); margin-top: 16px; }
.check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; accent-color: var(--coral-deep); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 12px 0 0; font-weight: 600; min-height: 1.4em; }
.status.ok { color: var(--green-ink); }
.status.err { color: #c0392b; }
.side-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.side-points li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.side-points .n { width: 36px; height: 36px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-dark); display: grid; place-items: center; font-weight: 800; color: #fff; }
.side-points b { color: #fff; display: block; }
.side-points span { color: var(--muted-dark); font-size: .95rem; }

.demo-box { margin-top: 22px; border-radius: var(--r-lg); padding: 20px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); }
.demo-box b { color: #fff; }
.demo-box code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; background: rgba(255, 255, 255, .1); color: #fff; padding: 2px 8px; border-radius: 6px; font-size: .92rem; }

/* Pied de page */
footer { background: var(--canvas); color: var(--muted-dark); padding: 64px 0 34px; font-size: .95rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
@media (max-width: 960px) { footer .cols { grid-template-columns: 1fr 1fr; } footer .about { grid-column: span 2; } }
footer img { height: 30px; width: auto; margin-bottom: 14px; }
footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
footer a { color: var(--muted-dark); text-decoration: none; }
footer a:hover { color: #fff; }
footer .legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .86rem; }

/* Pages de texte (mentions, sécurité) */
.prose h2 { font-family: var(--text); font-weight: 800; font-size: 1.35rem; margin: 34px 0 10px; letter-spacing: -.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #3d4452; }
.prose ul { padding-left: 20px; }

/* Apparition au défilement (désactivée si l'utilisateur réduit les animations) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } .btn, a.card { transition: none; } }

/* Impression */
@media print { .top, .cta-band, footer, .stage, .panel { display: none !important; } body { background: #fff; } }

/* Compléments */
.before .ico { margin: 0; width: 34px; height: 34px; border-radius: 10px; flex: none; }
.before .ico svg { width: 18px; height: 18px; }
.illus { font-size: .78rem; color: var(--muted-dark); margin: 16px 0 0; text-align: right; }
@media (max-width: 960px) { .illus { text-align: center; } }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rows .rh { font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #f4f5f8; display: block; }
.rows div.rh { grid-template-columns: 1fr; }
@media print { .reveal { opacity: 1 !important; transform: none !important; } }
.checks.no li::before { background: rgba(26, 26, 46, .07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' fill='none' stroke='%231a1a2e' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }
