/* IncidentHub - Landing page */

:root {
    --ink: #0b1120;
    --ink-2: #111a2e;
    --ink-3: #1b2740;
    --ink-4: #26344f;
    --teal: #14b8a6;
    --teal-2: #2dd4bf;
    --teal-dark: #0d9488;
    --teal-soft: rgba(20, 184, 166, 0.12);
    --amber: #f59e0b;
    --red: #ef4444;
    --lime: #84cc16;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg-soft: #f6f8fb;
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body.landing {
    margin: 0;
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

:where(.landing) :where(h1, h2, h3, h4) {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    letter-spacing: -0.02em;
    margin: 0;
}

:where(.landing) p { margin: 0; }
:where(.landing) a { text-decoration: none; color: inherit; }
:where(.landing) ul { margin: 0; padding: 0; list-style: none; }

.container-lp { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Boutons ---------- */
.btn-lp {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 22px; border-radius: 12px;
    font-weight: 600; font-size: 0.95rem;
    border: 1px solid transparent; cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}
.btn-lp:hover { transform: translateY(-1px); }
.btn-primary-lp { background: var(--teal); color: var(--ink) !important; box-shadow: 0 10px 30px rgba(20, 184, 166, 0.35); }
.btn-primary-lp:hover { background: var(--teal-2); box-shadow: 0 14px 34px rgba(20, 184, 166, 0.45); }
.btn-ghost-lp { color: #e2e8f0 !important; border-color: rgba(226, 232, 240, 0.22); background: rgba(255, 255, 255, 0.04); }
.btn-ghost-lp:hover { border-color: rgba(226, 232, 240, 0.5); background: rgba(255, 255, 255, 0.08); }
.btn-dark-lp { background: var(--ink); color: #fff !important; }
.btn-dark-lp:hover { background: var(--ink-3); }

/* ---------- Navigation ---------- */
.nav-lp {
    position: sticky; top: 0; z-index: 60;
    background: rgba(11, 17, 32, 0.82);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-lp .container-lp { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.18rem; font-family: 'Plus Jakarta Sans', sans-serif; }
.brand-mark {
    width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--teal-2), var(--teal-dark)); color: var(--ink); font-size: 1.1rem;
    box-shadow: 0 6px 18px rgba(20, 184, 166, 0.35);
}
.brand em { font-style: normal; color: var(--teal); }
.nav-links { display: flex; gap: 6px; }
.nav-links a { color: #cbd5e1; font-size: 0.9rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,0.2); color: #fff; border-radius: 10px; width: 42px; height: 42px; font-size: 1.3rem; cursor: pointer; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(1000px 520px at 80% -10%, rgba(20, 184, 166, 0.22), transparent 60%),
        radial-gradient(700px 420px at -5% 85%, rgba(245, 158, 11, 0.09), transparent 60%),
        var(--ink);
    padding: 88px 0 0;
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
}
.hero-head { position: relative; z-index: 1; text-align: center; max-width: 880px; margin: 0 auto; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1; font-size: 0.84rem; font-weight: 500;
}
.eyebrow b { background: var(--teal); color: var(--ink); padding: 2px 9px; border-radius: 999px; font-size: 0.75rem; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.06; font-weight: 800; margin: 24px 0 22px; }
.grad { background: linear-gradient(90deg, #99f6e4, var(--teal) 55%, #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.15rem; line-height: 1.7; color: #94a3b8; max-width: 680px; margin: 0 auto 34px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 30px; color: #94a3b8; font-size: 0.88rem; }
.hero-points i { color: var(--teal); margin-right: 6px; }

/* Maquette de l'application (hero) */
.hero-app { position: relative; z-index: 1; margin: 64px auto 0; max-width: 1080px; }
.hero-app::before {
    content: ""; position: absolute; left: 10%; right: 10%; top: 8%; height: 70%;
    background: radial-gradient(closest-side, rgba(20, 184, 166, 0.35), transparent);
    filter: blur(40px); z-index: -1;
}
.browser {
    background: var(--ink-2); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px 16px 0 0; overflow: hidden;
    box-shadow: 0 -10px 60px rgba(0, 0, 0, 0.35);
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #0e1628; border-bottom: 1px solid rgba(255,255,255,0.06); }
.browser-bar span { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.browser-bar span:nth-child(1) { background: #f87171; } .browser-bar span:nth-child(2) { background: #fbbf24; } .browser-bar span:nth-child(3) { background: #34d399; }
.browser-url { margin-left: 14px; flex: 1; max-width: 420px; background: rgba(255,255,255,0.05); border-radius: 8px; padding: 5px 12px; color: #94a3b8; font-size: 0.75rem; }
.browser-url i { color: var(--teal); margin-right: 6px; }

.app { display: grid; grid-template-columns: 210px 1fr; min-height: 430px; }
.app-side { background: #0d1526; border-right: 1px solid rgba(255,255,255,0.06); padding: 18px 12px; }
.app-side .brand { font-size: 0.95rem; margin: 0 6px 18px; }
.app-side .brand-mark { width: 28px; height: 28px; font-size: 0.9rem; border-radius: 8px; box-shadow: none; }
.app-nav li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: #94a3b8; font-size: 0.78rem; margin-bottom: 2px; }
.app-nav li i { font-size: 0.95rem; }
.app-nav li.on { background: rgba(20, 184, 166, 0.14); color: #fff; }
.app-nav li.on i { color: var(--teal); }
.app-main { padding: 20px; color: #e2e8f0; }
.app-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.app-title h4 { font-size: 1rem; color: #fff; }
.app-title small { color: #94a3b8; font-size: 0.72rem; }
.pill-filter { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 5px 10px; font-size: 0.7rem; color: #cbd5e1; }

/* ---------- Composants des maquettes ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.kpi { background: var(--ink-3); border-radius: 12px; padding: 12px; border: 1px solid rgba(255,255,255,0.04); }
.kpi small { display: block; color: #94a3b8; font-size: 0.68rem; margin-bottom: 4px; }
.kpi strong { font-size: 1.3rem; color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; }
.kpi .t { font-size: 0.66rem; margin-left: 4px; }
.t.up { color: #f87171; } .t.down { color: #34d399; }
.grid-2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.grid-2b { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.panel { background: var(--ink-3); border-radius: 12px; padding: 14px; border: 1px solid rgba(255,255,255,0.04); min-width: 0; }
.panel-title { display: flex; justify-content: space-between; color: #cbd5e1; font-size: 0.72rem; font-weight: 600; margin-bottom: 12px; }
.panel-title span { color: #64748b; font-weight: 500; }

.bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding-top: 6px; }
.bars div { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--teal-2), var(--teal-dark)); position: relative; }
.bars div.alt { background: linear-gradient(180deg, #fbbf24, #b45309); }
.bars-labels { display: flex; gap: 10px; margin-top: 6px; }
.bars-labels span { flex: 1; text-align: center; font-size: 0.6rem; color: #64748b; }

.donut-wrap { display: flex; align-items: center; gap: 16px; }
.donut { width: 104px; height: 104px; border-radius: 50%; flex: 0 0 auto; position: relative;
    background: conic-gradient(var(--teal) 0 38%, #60a5fa 38% 62%, var(--amber) 62% 82%, #f87171 82% 100%); }
.donut::after { content: ""; position: absolute; inset: 22px; border-radius: 50%; background: var(--ink-3); }
.legend li { display: flex; align-items: center; gap: 7px; font-size: 0.68rem; color: #cbd5e1; margin-bottom: 6px; }
.legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }

.rows .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.72rem; color: #cbd5e1; }
.rows .row:last-child { border-bottom: 0; }
.rows .row b { color: #fff; font-weight: 600; }
.rows .row small { color: #64748b; display: block; font-size: 0.64rem; }
.badge { padding: 2px 8px; border-radius: 999px; font-size: 0.62rem; font-weight: 700; white-space: nowrap; }
.b-crit { background: rgba(239,68,68,0.18); color: #fca5a5; }
.b-maj { background: rgba(245,158,11,0.18); color: #fcd34d; }
.b-min { background: rgba(132,204,22,0.16); color: #bef264; }
.b-neg { background: rgba(20,184,166,0.18); color: #5eead4; }
.b-info { background: rgba(96,165,250,0.18); color: #93c5fd; }

/* Matrice */
.matrix-wrap { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.axis-y { writing-mode: vertical-rl; transform: rotate(180deg); color: #64748b; font-size: 0.62rem; text-align: center; }
.matrix { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.matrix div { aspect-ratio: 1.35; border-radius: 6px; display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.92); }
.axis-x { grid-column: 2; text-align: center; color: #64748b; font-size: 0.62rem; }
.m1 { background: #115e59; } .m2 { background: #4d7c0f; } .m3 { background: #a16207; } .m4 { background: #c2410c; } .m5 { background: #b91c1c; }
.matrix .empty { color: transparent; }

/* Formulaire */
.form-mock { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field label { display: block; font-size: 0.64rem; color: #94a3b8; margin-bottom: 4px; }
.field div { background: var(--ink-4); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 8px 10px; font-size: 0.72rem; color: #e2e8f0; display: flex; justify-content: space-between; }
.field div i { color: #64748b; }
.field.full { grid-column: 1 / -1; }
.field.full div { min-height: 44px; align-items: flex-start; color: #cbd5e1; }
.calc-box { background: linear-gradient(160deg, rgba(20,184,166,0.16), rgba(20,184,166,0.04)); border: 1px solid rgba(20,184,166,0.3); border-radius: 12px; padding: 14px; }
.calc-line { display: flex; justify-content: space-between; font-size: 0.72rem; color: #cbd5e1; padding: 6px 0; border-bottom: 1px dashed rgba(255,255,255,0.08); }
.calc-line:last-child { border-bottom: 0; }
.calc-line b { color: #fff; }
.score-big { display: flex; align-items: center; gap: 12px; margin: 10px 0 6px; }
.score-big strong { font-size: 2rem; font-family: 'Plus Jakarta Sans', sans-serif; color: #fff; line-height: 1; }

/* Actions */
.progress { height: 6px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; width: 90px; }
.progress span { display: block; height: 100%; background: var(--teal); border-radius: 999px; }
.progress span.late { background: var(--red); }
.table-mock { width: 100%; border-collapse: collapse; font-size: 0.7rem; }
.table-mock th { text-align: left; color: #64748b; font-weight: 600; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.04em; padding: 0 8px 8px; }
.table-mock td { padding: 9px 8px; border-top: 1px solid rgba(255,255,255,0.05); color: #cbd5e1; vertical-align: middle; }
.table-mock td b { color: #fff; font-weight: 600; }

/* Reporting */
.line-chart { width: 100%; height: 130px; display: block; }
.kri { margin-bottom: 12px; }
.kri-head { display: flex; justify-content: space-between; font-size: 0.7rem; color: #cbd5e1; margin-bottom: 5px; }
.kri-bar { height: 8px; border-radius: 999px; background: linear-gradient(90deg, #14b8a6 0 50%, #f59e0b 50% 80%, #ef4444 80% 100%); position: relative; opacity: 0.85; }
.kri-bar i { position: absolute; top: -4px; width: 4px; height: 16px; background: #fff; border-radius: 2px; box-shadow: 0 0 8px rgba(255,255,255,0.6); }
.export-row { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.export-row span { font-size: 0.68rem; padding: 6px 10px; border-radius: 8px; background: var(--ink-4); color: #e2e8f0; }
.export-row i { margin-right: 5px; }

/* ---------- Bandeau des modules ---------- */
.modules-strip { background: var(--ink); padding: 0 0 40px; }
.modules { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px; }
.module {
    display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
    color: #cbd5e1; font-size: 0.82rem; font-weight: 600; padding: 14px 8px; border-radius: 12px;
    border: 1px solid transparent; transition: background 0.2s, border-color 0.2s, color 0.2s; cursor: pointer;
}
.module i { font-size: 1.35rem; color: var(--teal); }
.module:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-dark); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.section-dark .section-tag { color: #5eead4; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; margin: 14px 0 16px; line-height: 1.15; }
.section-head p { color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.section-dark .section-head p { color: #94a3b8; }

/* ---------- Visite guidée ---------- */
.tour-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.tour-tab {
    display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px;
    background: #fff; border: 1px solid var(--line); color: #334155; font-weight: 600; font-size: 0.9rem;
    cursor: pointer; transition: all 0.2s ease; font-family: inherit;
}
.tour-tab i { color: var(--teal-dark); }
.tour-tab:hover { border-color: rgba(20,184,166,0.5); }
.tour-tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 10px 24px rgba(11,17,32,0.2); }
.tour-tab[aria-selected="true"] i { color: var(--teal); }

.tour-panel { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.tour-panel[hidden] { display: none; }
.tour-panel.show { animation: fadeUp 0.45s ease both; }
.tour-text h3 { font-size: 1.9rem; font-weight: 800; margin: 12px 0 14px; line-height: 1.2; }
.tour-text > p { color: var(--muted); line-height: 1.75; font-size: 1.02rem; }
.checks { margin-top: 22px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: #334155; line-height: 1.55; font-size: 0.96rem; }
.checks li i { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 8px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; font-size: 0.8rem; margin-top: 1px; }
.who { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; }
.who b { color: var(--text); }
.tour-screen .browser { border-radius: 16px; box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22); }
.tour-screen .app-main { min-height: 360px; }
.mock-note { text-align: center; color: #94a3b8; font-size: 0.78rem; margin-top: 28px; }

/* ---------- Parcours ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--teal), #5eead4, var(--amber), var(--teal)); opacity: 0.4; }
.tl-step { position: relative; text-align: center; padding: 0 6px; }
.tl-dot { width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 16px; display: grid; place-items: center; font-size: 1.4rem; background: var(--ink); color: var(--teal); border: 1px solid rgba(255,255,255,0.1); position: relative; z-index: 1; box-shadow: 0 10px 24px rgba(11,17,32,0.18); }
.tl-step h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.tl-step p { color: var(--muted); font-size: 0.93rem; line-height: 1.65; }
.tl-step .badge { display: inline-block; margin-top: 12px; }
.tl-step .b-neg { background: var(--teal-soft); color: var(--teal-dark); }
.lifecycle { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 52px; }
.lifecycle span.st { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 0.88rem; }
.lifecycle span.st.end { background: var(--ink); color: #fff; border-color: var(--ink); }
.lifecycle i { color: #94a3b8; }
.lifecycle .lbl { font-weight: 700; color: var(--muted); font-size: 0.85rem; margin-right: 6px; }

/* ---------- Évaluation automatique ---------- */
.eval-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.eval-card { background: var(--ink-2); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 32px; }
.eval-card h3 { font-size: 1.3rem; margin: 10px 0 10px; }
.eval-card > p { color: #94a3b8; line-height: 1.7; font-size: 0.96rem; }
.formula { margin: 22px 0; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; }
.formula span { padding: 12px 16px; border-radius: 12px; background: var(--ink-3); border: 1px solid rgba(255,255,255,0.08); font-size: 1rem; }
.formula span small { display: block; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.7rem; color: #94a3b8; margin-top: 2px; }
.formula .op { background: none; border: 0; color: var(--teal); font-size: 1.4rem; padding: 0; }
.formula .res { background: var(--teal); color: var(--ink); border: 0; }
.formula .res small { color: rgba(11,17,32,0.7); }
.sev-scale { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sev-scale div { border-radius: 10px; padding: 10px; text-align: center; font-size: 0.8rem; font-weight: 700; }
.sev-scale small { display: block; font-weight: 500; opacity: 0.8; font-size: 0.7rem; margin-top: 2px; }
.eval-list { margin-top: 18px; display: grid; gap: 10px; }
.eval-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; background: var(--ink-3); border-radius: 10px; font-size: 0.9rem; color: #cbd5e1; }
.eval-list li b { color: #fff; }
.eval-list li span { color: #5eead4; font-weight: 600; text-align: right; }

/* ---------- Profils ---------- */
.personas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.persona { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.persona:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(15,23,42,0.09); border-color: rgba(20,184,166,0.4); }
.persona-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: var(--ink); color: var(--teal); margin-bottom: 18px; }
.persona h3 { font-size: 1.1rem; margin-bottom: 6px; }
.persona > p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 14px; }
.persona ul li { font-size: 0.88rem; color: #334155; padding: 6px 0 6px 22px; position: relative; line-height: 1.5; }
.persona ul li::before { content: "\F26E"; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 6px; color: var(--teal-dark); font-size: 0.85rem; }

/* ---------- Sécurité ---------- */
.security { background: var(--ink); color: #fff; border-radius: 28px; padding: 64px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 52px; align-items: center; position: relative; overflow: hidden; }
.security::before { content: ""; position: absolute; width: 480px; height: 480px; right: -140px; top: -180px; background: radial-gradient(circle, rgba(20,184,166,0.28), transparent 65%); }
.security > * { position: relative; min-width: 0; }
.security h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin: 14px 0 16px; }
.security > div > p { color: #94a3b8; line-height: 1.75; }
.tenant-demo { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tenant { border-radius: 14px; padding: 14px; border: 1px dashed rgba(255,255,255,0.18); }
.tenant b { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; margin-bottom: 8px; }
.tenant b i { color: var(--teal); }
.tenant small { display: block; color: #94a3b8; font-size: 0.75rem; line-height: 1.6; }
.security-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.security-item { padding: 22px; border-radius: 16px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.security-item i { color: var(--teal); font-size: 1.35rem; }
.security-item h3 { font-size: 1rem; font-weight: 700; margin: 12px 0 6px; }
.security-item p { color: #94a3b8; font-size: 0.86rem; line-height: 1.6; }

/* ---------- Secteurs ---------- */
.sectors { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sector { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 0.93rem; transition: border-color 0.2s, transform 0.2s; }
.sector:hover { border-color: rgba(20,184,166,0.5); transform: translateY(-2px); }
.sector i { color: var(--teal-dark); font-size: 1.05rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: border-color 0.2s, box-shadow 0.2s; }
.faq details[open] { border-color: rgba(20,184,166,0.45); box-shadow: 0 12px 30px rgba(15,23,42,0.06); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: 'Plus Jakarta Sans', sans-serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--teal-dark); transition: transform 0.25s ease; flex: 0 0 auto; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { color: var(--muted); line-height: 1.75; padding: 0 0 20px; font-size: 0.96rem; }

/* ---------- Appel à l'action ---------- */
.cta-box { position: relative; overflow: hidden; border-radius: 28px; padding: 72px 40px; text-align: center; color: #fff;
    background: radial-gradient(700px 360px at 50% -20%, rgba(20,184,166,0.4), transparent 70%), var(--ink); }
.cta-box h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; margin-bottom: 14px; }
.cta-box p { color: #94a3b8; font-size: 1.08rem; margin-bottom: 32px; }
.cta-box .hero-actions { justify-content: center; }

/* ---------- Pied de page ---------- */
.footer-lp { background: var(--ink); color: #94a3b8; padding: 56px 0 32px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-grid p { margin-top: 14px; line-height: 1.7; max-width: 360px; }
.footer-grid h4 { color: #fff; font-size: 0.92rem; margin-bottom: 14px; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a:hover { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 0.82rem; }

/* ---------- Animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .nav-links { display: none; }
    .nav-toggle { display: grid; place-items: center; }
    .mobile-menu.open { display: block; background: var(--ink); border-top: 1px solid rgba(255,255,255,0.06); padding: 12px 24px 20px; }
    .mobile-menu a { display: block; color: #cbd5e1; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-weight: 500; }
    .tour-panel { grid-template-columns: 1fr; gap: 32px; }
    .personas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .security { grid-template-columns: 1fr; padding: 48px 32px; }
    .eval-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .app { grid-template-columns: 1fr; }
    .app-side { display: none; }
    .modules { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
    .timeline::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .nav-cta .btn-lp.hide-sm { display: none; }
    .nav-login { padding: 10px 12px; }
    .nav-login .lbl { display: none; }
    .nav-lp .brand { font-size: 1.05rem; }
    .hero { padding-top: 60px; }
    .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-2, .grid-2b, .form-mock, .security-list, .tenant-demo { grid-template-columns: 1fr; }
    .field.full { grid-column: auto; }
    .personas { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: 1fr; }
    .section { padding: 80px 0; }
    .sev-scale { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr; }
    .table-mock .hide-sm { display: none; }
    .cta-box { padding: 56px 24px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .tour-panel.show { animation: none; }
    .btn-lp, .persona, .sector { transition: none; }
}
