/* SPDX-FileCopyrightText: 2026 FTW.group Sàrl
   SPDX-License-Identifier: AGPL-3.0-or-later
   Second Brain — page de présentation (secondbrain.victorkalix.com). Aucune ressource externe, aucun script :
   thème sombre par défaut, clair selon la préférence du système. */

:root {
    color-scheme: dark;
    --font: "Inter", "Segoe UI Variable Text", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    --font-titre: "Inter Display", "Inter", "Segoe UI Variable Display", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;

    --bg: #070a12;
    --bg-2: #0b1020;
    --surface: rgba(18, 24, 38, .72);
    --surface-plein: #121826;
    --surface-2: #171f30;
    --bord: rgba(148, 163, 184, .14);
    --bord-fort: rgba(148, 163, 184, .26);
    --texte: #e8edf7;
    --texte-2: #a6b1c6;
    --texte-3: #8b97ae;
    --cyan: #22d3ee;
    --violet: #a78bfa;
    --accent: #22d3ee;
    --accent-encre: #67e8f9;
    --sur-accent: #03212a;
    --succes: #34d399;
    --grille: rgba(148, 163, 184, .055);
    --aurora-1: rgba(34, 211, 238, .16);
    --aurora-2: rgba(139, 92, 246, .18);
    --ombre: 0 30px 80px -24px rgba(0, 0, 0, .85), 0 12px 28px -12px rgba(0, 0, 0, .6);
    --ombre-douce: 0 12px 34px -16px rgba(0, 0, 0, .7);
    --halo: 0 0 0 1px rgba(103, 232, 249, .16), 0 40px 120px -30px rgba(34, 211, 238, .35), 0 30px 90px -40px rgba(167, 139, 250, .45);
    --rayon: 18px;
    --rayon-grand: 26px;
    --largeur: 1180px;
    --marge: clamp(16px, 4vw, 32px);
    --degrade: linear-gradient(110deg, #22d3ee 0%, #7dd3fc 38%, #a78bfa 100%);
}

@media (prefers-color-scheme: light) {
    :root {
        color-scheme: light;
        --bg: #f3f6fb;
        --bg-2: #eaf0f8;
        --surface: rgba(255, 255, 255, .78);
        --surface-plein: #ffffff;
        --surface-2: #f6f8fc;
        --bord: rgba(15, 23, 42, .1);
        --bord-fort: rgba(15, 23, 42, .18);
        --texte: #0d1424;
        --texte-2: #44506a;
        --texte-3: #56627a;
        --accent: #0e7490;
        --accent-encre: #155e75;
        --sur-accent: #ffffff;
        --succes: #047857;
        --grille: rgba(15, 23, 42, .045);
        --aurora-1: rgba(14, 165, 233, .14);
        --aurora-2: rgba(124, 58, 237, .11);
        --ombre: 0 30px 70px -26px rgba(15, 23, 42, .35), 0 10px 24px -12px rgba(15, 23, 42, .18);
        --ombre-douce: 0 12px 30px -16px rgba(15, 23, 42, .25);
        --halo: 0 0 0 1px rgba(14, 116, 144, .14), 0 40px 110px -34px rgba(14, 165, 233, .35), 0 30px 80px -40px rgba(124, 58, 237, .3);
        --degrade: linear-gradient(110deg, #0e7490 0%, #0284c7 40%, #7c3aed 100%);
    }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0;
    min-width: 320px;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    color: var(--texte);
    background-color: var(--bg);
    background-image:
        radial-gradient(60rem 38rem at 12% -6%, var(--aurora-1), transparent 62%),
        radial-gradient(52rem 36rem at 92% 4%, var(--aurora-2), transparent 60%),
        radial-gradient(70rem 50rem at 50% 120%, var(--aurora-2), transparent 60%);
    background-repeat: no-repeat;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
body::before {
    /* Grille fine, estompée vers le bas */
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: linear-gradient(var(--grille) 1px, transparent 1px), linear-gradient(90deg, var(--grille) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 85%);
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 85%);
}
img, svg, picture { display: block; max-width: 100%; }
a { color: var(--accent-encre); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--texte); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(34, 211, 238, .3); }
h1, h2, h3 { font-family: var(--font-titre); line-height: 1.12; letter-spacing: -.022em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
code, kbd { font-family: var(--mono); font-size: .88em; }
kbd { padding: .1em .4em; border: 1px solid var(--bord-fort); border-bottom-width: 2px; border-radius: 6px; background: var(--surface-2); }

.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.conteneur { width: 100%; max-width: calc(var(--largeur) + 2 * var(--marge)); margin: 0 auto; padding: 0 var(--marge); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.evitement { position: absolute; left: 12px; top: -120px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--surface-plein); color: var(--texte); }
.evitement:focus { top: 12px; box-shadow: var(--ombre-douce); }
.degrade { background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- En-tête ---------- */
.entete {
    position: sticky;
    top: 0;
    z-index: 20;
    background: color-mix(in srgb, var(--bg) 72%, transparent);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid var(--bord);
}
.entete .conteneur { display: flex; align-items: center; gap: 18px; height: 68px; }
.marque { display: inline-flex; align-items: center; gap: 11px; color: var(--texte); text-decoration: none; font-weight: 700; letter-spacing: -.01em; font-size: 18px; }
.marque img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 6px 18px -6px rgba(34, 211, 238, .55); }
.marque .version { font-family: var(--mono); font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 999px; border: 1px solid var(--bord-fort); color: var(--texte-2); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--texte-2); text-decoration: none; font-size: 15px; font-weight: 550; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: var(--texte); background: var(--surface-2); }
.entete .bouton { margin-left: 6px; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--bord); color: var(--texte); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--surface-2); }
.menu nav { position: absolute; right: 0; top: 52px; width: min(280px, calc(100vw - 32px)); display: grid; padding: 8px; border-radius: 16px; background: var(--surface-plein); border: 1px solid var(--bord); box-shadow: var(--ombre); }
.menu nav a { padding: 12px 14px; border-radius: 10px; color: var(--texte); text-decoration: none; font-weight: 550; }
.menu nav a:hover { background: var(--surface-2); }

/* ---------- Boutons ---------- */
.bouton {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 46px; padding: 0 20px; border-radius: 14px;
    font: inherit; font-weight: 650; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap;
    color: var(--texte); background: var(--surface); border: 1px solid var(--bord-fort);
    transition: transform .18s cubic-bezier(.2, .7, .2, 1), box-shadow .18s, background .18s, border-color .18s;
}
.bouton:hover { color: var(--texte); border-color: var(--accent); transform: translateY(-1px); }
.bouton.principal { color: var(--sur-accent); background: var(--accent); border-color: transparent; box-shadow: 0 10px 30px -10px rgba(34, 211, 238, .7); }
.bouton.principal:hover { color: var(--sur-accent); box-shadow: 0 16px 40px -12px rgba(34, 211, 238, .8); }
.bouton.petit { min-height: 38px; padding: 0 14px; font-size: 14.5px; border-radius: 11px; }
.bouton .ic { width: 1.15em; height: 1.15em; }

/* ---------- Héros ---------- */
.heros { padding-top: clamp(56px, 9vw, 112px); text-align: center; }
.surtitre { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; border: 1px solid var(--bord-fort); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--texte-2); }
.surtitre b { color: var(--sur-accent); background: var(--accent); padding: 2px 9px; border-radius: 999px; font-size: 12.5px; }
.heros h1 { margin: 26px auto 0; max-width: 15ch; font-size: clamp(42px, 7.4vw, 86px); font-weight: 800; letter-spacing: -.035em; }
.heros .chapeau { margin: 24px auto 0; max-width: 46rem; font-size: clamp(18px, 2.1vw, 21px); color: var(--texte-2); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.mentions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 26px auto 0; padding: 0; list-style: none; color: var(--texte-2); font-size: 15px; }
.mentions li { display: inline-flex; align-items: center; gap: 8px; }
.mentions .ic { color: var(--succes); }

.vitrine { position: relative; margin: clamp(48px, 7vw, 84px) auto 0; max-width: 1120px; perspective: 1800px; }
.vitrine::before {
    content: ""; position: absolute; inset: 8% 6% -6%; z-index: -1; border-radius: 40px;
    background: radial-gradient(closest-side, rgba(34, 211, 238, .28), transparent), radial-gradient(closest-side at 70% 60%, rgba(167, 139, 250, .32), transparent);
    filter: blur(40px);
}
.fenetre {
    border-radius: var(--rayon-grand); overflow: hidden; background: var(--surface-plein);
    border: 1px solid var(--bord-fort); box-shadow: var(--halo), var(--ombre);
    transform: rotateX(7deg) scale(.985); transform-origin: 50% 0;
}
.fenetre-barre { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-bottom: 1px solid var(--bord); background: var(--surface-2); }
.fenetre-barre i { width: 11px; height: 11px; border-radius: 50%; background: var(--bord-fort); }
.fenetre-barre span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--texte-3); }
.fenetre img { width: 100%; height: auto; }
.telephone {
    position: absolute; right: 2%; bottom: -10%; width: clamp(130px, 21%, 230px);
    border-radius: 34px; padding: 9px; background: #05070d; border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: var(--ombre), 0 0 0 1px rgba(0, 0, 0, .4);
    transform: rotate(4deg);
}
.telephone img { border-radius: 26px; width: 100%; height: auto; }

/* ---------- Sections ---------- */
.section { padding-top: clamp(84px, 11vw, 140px); }
.entete-section { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.etiquette { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-encre); }
.entete-section h2 { margin-top: 14px; font-size: clamp(32px, 4.6vw, 52px); font-weight: 780; }
.entete-section p { margin-top: 18px; font-size: clamp(17px, 1.8vw, 19px); color: var(--texte-2); }

.grille { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.carte {
    position: relative; padding: 26px; border-radius: var(--rayon);
    background: var(--surface); border: 1px solid var(--bord);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transition: transform .2s cubic-bezier(.2, .7, .2, 1), border-color .2s, box-shadow .2s;
}
.carte:hover { transform: translateY(-2px); border-color: var(--bord-fort); box-shadow: var(--ombre-douce); }
.carte h3 { font-size: 19px; font-weight: 700; letter-spacing: -.012em; margin-top: 16px; }
.carte p { margin-top: 8px; color: var(--texte-2); font-size: 15.5px; line-height: 1.6; }
.pastille {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
    color: var(--teinte, var(--accent)); background: color-mix(in srgb, var(--teinte, var(--accent)) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--teinte, var(--accent)) 30%, transparent);
}
.pastille .ic { width: 23px; height: 23px; }
.t-document { --teinte: #3987e5; } .t-pdf { --teinte: #f87171; } .t-youtube { --teinte: #f97316; } .t-audio { --teinte: #34d399; }
.t-video { --teinte: #f472b6; } .t-galerie { --teinte: #fbbf24; } .t-lien { --teinte: #2dd4bf; } .t-collection { --teinte: #818cf8; }
.t-carte { --teinte: #a78bfa; } .t-graphe { --teinte: #22d3ee; } .t-recherche { --teinte: #7dd3fc; } .t-historique { --teinte: #c4b5fd; }
@media (prefers-color-scheme: light) {
    .t-document { --teinte: #2a78d6; } .t-pdf { --teinte: #dc2626; } .t-youtube { --teinte: #ea580c; } .t-audio { --teinte: #047857; }
    .t-video { --teinte: #db2777; } .t-galerie { --teinte: #b45309; } .t-lien { --teinte: #0f766e; } .t-collection { --teinte: #4f46e5; }
    .t-carte { --teinte: #7c3aed; } .t-graphe { --teinte: #0e7490; } .t-recherche { --teinte: #0369a1; } .t-historique { --teinte: #6d28d9; }
}

/* Démonstrations : image et texte en alternance */
.demo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(48px, 7vw, 88px); }
.demo.inverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.demo.inverse .demo-image { order: 2; }
.demo-image { border-radius: var(--rayon-grand); overflow: hidden; border: 1px solid var(--bord-fort); box-shadow: var(--halo), var(--ombre); background: var(--surface-plein); }
.demo-image img { width: 100%; height: auto; }
.demo h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 760; }
.demo p { margin-top: 16px; color: var(--texte-2); font-size: 17.5px; }
.liste { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.liste li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--texte-2); font-size: 16px; }
.liste li .ic { margin-top: 3px; color: var(--accent); }
.liste b { color: var(--texte); font-weight: 650; }

/* Local d'abord : quatre engagements */
.engagements { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.engagement { padding: 24px; border-radius: var(--rayon); border: 1px solid var(--bord); background: var(--surface); }
.engagement .ic { width: 28px; height: 28px; color: var(--accent); }
.engagement h3 { margin-top: 16px; font-size: 18px; font-weight: 700; }
.engagement p { margin-top: 8px; font-size: 15.5px; color: var(--texte-2); }

/* Synchronisation : schéma et étapes */
.synchro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.schema { border-radius: var(--rayon-grand); border: 1px solid var(--bord-fort); background: linear-gradient(160deg, var(--surface-plein), var(--bg-2)); box-shadow: var(--halo); padding: clamp(16px, 3vw, 28px); }
.schema svg { width: 100%; height: auto; }
.schema .s-trait { stroke: var(--bord-fort); stroke-width: 1.5; fill: none; }
.schema .s-flux { stroke: url(#flux); stroke-width: 2.4; fill: none; stroke-dasharray: 6 8; }
.schema .s-boite { fill: var(--surface-2); stroke: var(--bord-fort); stroke-width: 1.2; }
.schema .s-hors { fill: none; stroke: color-mix(in srgb, var(--violet) 60%, transparent); stroke-width: 1.4; stroke-dasharray: 5 6; }
.schema .s-serveur { fill: color-mix(in srgb, var(--violet) 14%, var(--surface-2)); stroke: color-mix(in srgb, var(--violet) 55%, transparent); stroke-width: 1.4; }
.schema .s-texte { fill: var(--texte); font: 650 16px var(--font); }
.schema .s-petit { fill: var(--texte-3); font: 500 12.5px var(--font); }
.schema .s-code { fill: var(--texte-3); font: 500 11px var(--mono); }
.schema .s-icone { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.schema .s-cadenas { fill: none; stroke: var(--violet); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.etapes { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: etape; }
.etapes li { position: relative; padding: 20px 22px 20px 70px; border-radius: var(--rayon); border: 1px solid var(--bord); background: var(--surface); }
.etapes li::before {
    counter-increment: etape; content: counter(etape);
    position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; display: grid; place-items: center;
    border-radius: 11px; font-weight: 750; color: var(--sur-accent); background: var(--accent);
}
.etapes h3 { font-size: 18px; font-weight: 700; }
.etapes p { margin-top: 6px; color: var(--texte-2); font-size: 15.5px; }
.atouts { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

/* Plateformes */
.plateformes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plateforme { display: flex; flex-direction: column; padding: 28px; border-radius: var(--rayon-grand); border: 1px solid var(--bord); background: var(--surface); }
.plateforme .ic { width: 34px; height: 34px; color: var(--accent); }
.plateforme h3 { margin-top: 18px; font-size: 21px; font-weight: 740; }
.plateforme p { margin-top: 10px; color: var(--texte-2); font-size: 15.5px; flex: 1; }
.plateforme .bouton { margin-top: 22px; align-self: flex-start; }
.plateforme .bientot { margin-top: 22px; align-self: flex-start; font-size: 13.5px; font-weight: 650; color: var(--texte-3); padding: 6px 12px; border-radius: 999px; border: 1px dashed var(--bord-fort); }

/* Téléchargements */
.telechargements { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 980px; margin: 0 auto; }
.paquet { padding: 26px; border-radius: var(--rayon-grand); border: 1px solid var(--bord-fort); background: var(--surface); }
.paquet-tete { display: flex; align-items: center; gap: 14px; }
.paquet-tete .pastille { flex: none; }
.paquet h3 { font-size: 20px; font-weight: 740; }
.paquet .pour { color: var(--texte-3); font-size: 14.5px; }
.paquet .bouton { margin-top: 20px; width: 100%; }
.paquet .commande { margin-top: 16px; font-size: 14px; color: var(--texte-2); }
.paquet pre { margin: 8px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--bord); overflow-x: auto; font-size: 13px; line-height: 1.5; }
.empreinte { margin-top: 14px; font-size: 13px; color: var(--texte-3); overflow-wrap: anywhere; }
.empreinte code { font-size: 12px; color: var(--texte-2); }
.note-telechargement { max-width: 980px; margin: 18px auto 0; display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--rayon); border: 1px solid var(--bord); background: var(--surface); color: var(--texte-2); font-size: 15.5px; }
.note-telechargement .ic { color: var(--accent); margin-top: 3px; }

/* Nouveautés */
.nouveautes { max-width: 860px; margin: 0 auto; padding: 0; list-style: none; display: grid; gap: 12px; }
.nouveautes li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; padding: 18px 20px; border-radius: var(--rayon); border: 1px solid var(--bord); background: var(--surface); color: var(--texte-2); }
.nouveautes .ic { margin-top: 3px; color: var(--accent); }
/* Une adresse ou un nom de fichier dans une note passe à la ligne plutôt que d'élargir la page (téléphone étroit) */
.nouveautes li > span { overflow-wrap: anywhere; }

/* Questions */
.questions { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.questions details { border-radius: var(--rayon); border: 1px solid var(--bord); background: var(--surface); }
.questions summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 650; font-size: 17px; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary .ic { color: var(--texte-3); transition: transform .2s; }
.questions details[open] summary .ic { transform: rotate(180deg); }
.questions details p { padding: 0 22px 20px; color: var(--texte-2); }

/* Appel final */
.appel { margin: clamp(84px, 11vw, 140px) auto 0; padding: clamp(36px, 6vw, 64px); border-radius: 32px; text-align: center; border: 1px solid var(--bord-fort); background: radial-gradient(40rem 20rem at 20% 0%, var(--aurora-1), transparent 70%), radial-gradient(40rem 20rem at 80% 100%, var(--aurora-2), transparent 70%), var(--surface); box-shadow: var(--halo); }
.appel h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 790; }
.appel p { margin: 16px auto 0; max-width: 40rem; color: var(--texte-2); font-size: 18px; }

/* Pied de page */
.pied { margin-top: clamp(72px, 9vw, 110px); padding: 40px 0 48px; border-top: 1px solid var(--bord); color: var(--texte-3); font-size: 14.5px; }
.pied .conteneur { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.pied a { color: var(--texte-2); text-decoration: none; }
.pied a:hover { color: var(--texte); text-decoration: underline; }
.pied .marque { font-size: 16px; }
.pied .marque img { width: 28px; height: 28px; border-radius: 8px; }

/* Page du protocole */
.document { max-width: 860px; margin: 0 auto; padding-top: clamp(40px, 7vw, 80px); }
.document h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
.document .chapeau { margin-top: 18px; color: var(--texte-2); font-size: 18px; }
.sommaire { margin: 34px 0 0; padding: 22px 24px; border-radius: var(--rayon); border: 1px solid var(--bord); background: var(--surface); }
.sommaire h2 { font-size: 15px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent-encre); }
.sommaire ol { margin: 12px 0 0; padding: 0; list-style: none; columns: 2 300px; column-gap: 32px; }
.sommaire li { margin: 5px 0; break-inside: avoid; }
.sommaire ol ol { columns: auto; margin: 4px 0 8px; padding-left: 18px; font-size: 14.5px; }
.sommaire a { text-decoration: none; }
.sommaire a:hover { text-decoration: underline; }
.prose { margin-top: 40px; }
.prose h2 { margin: 56px 0 0; font-size: 30px; font-weight: 760; padding-top: 6px; }
.prose h3 { margin: 34px 0 0; font-size: 21px; font-weight: 700; }
.prose p, .prose ul, .prose ol, .prose table, .prose pre { margin: 16px 0 0; }
.prose p, .prose li { color: var(--texte-2); }
.prose strong { color: var(--texte); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin: 6px 0; }
.prose li > ul, .prose li > ol { margin-top: 6px; }
.prose code { padding: .12em .38em; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--bord); color: var(--texte); overflow-wrap: anywhere; }
.prose pre { padding: 16px 18px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--bord); overflow-x: auto; }
.prose pre code { padding: 0; border: 0; background: none; font-size: 13.5px; line-height: 1.55; overflow-wrap: normal; }
.prose hr { margin: 48px 0 0; border: 0; border-top: 1px solid var(--bord); }
.tableau { margin: 16px 0 0; overflow-x: auto; border-radius: 14px; border: 1px solid var(--bord); }
.tableau table { margin: 0; width: 100%; border-collapse: collapse; font-size: 15px; }
.tableau th, .tableau td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--bord); }
.tableau th { color: var(--texte); background: var(--surface-2); font-weight: 650; }
.tableau td { color: var(--texte-2); }
.tableau tr:last-child td { border-bottom: 0; }
.retour { display: inline-flex; align-items: center; gap: 8px; margin-top: 56px; }

/* ---------- Adaptations ---------- */
@media (max-width: 1060px) {
    .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .engagements, .atouts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nav { display: none; }
    .menu { display: block; }
    .entete .bouton { margin-left: 0; }
}
@media (max-width: 860px) {
    .demo, .demo.inverse, .synchro { grid-template-columns: minmax(0, 1fr); }
    .demo.inverse .demo-image { order: 0; }
    .plateformes { grid-template-columns: minmax(0, 1fr); }
    .telechargements { grid-template-columns: minmax(0, 1fr); }
    .fenetre { transform: none; }
    .telephone { right: 14px; bottom: -14%; }
}
@media (max-width: 600px) {
    body { font-size: 16px; }
    .grille, .engagements, .atouts { grid-template-columns: minmax(0, 1fr); }
    .entete .conteneur { height: 62px; gap: 12px; }
    .entete .bouton { display: none; }
    .marque .version { display: none; }
    .actions .bouton { width: 100%; }
    .fenetre-barre { height: 30px; }
    .telephone { width: 34%; bottom: -18%; right: 12px; border-radius: 24px; padding: 6px; transform: rotate(3deg); }
    .telephone img { border-radius: 19px; }
    .vitrine { margin-bottom: 40px; }
    .etapes li { padding: 18px 18px 18px 64px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
    .fenetre, .telephone { transform: none; }
}
@media print {
    body { background: #fff; color: #000; }
    body::before, .entete, .vitrine::before { display: none; }
}
