/* ============================================================
   Thème Simple ERP — couche de personnalisation au-dessus de Bootstrap
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --brand: #4f46e5;
    --brand-2: #7c3aed;
    --brand-rgb: 79, 70, 229;
    --accent: #f59e0b;
    --ink: #14152b;
    --paper: #faf9f7;

    --bs-primary: #4f46e5;
    --bs-primary-rgb: 79, 70, 229;
    --bs-link-color: #4f46e5;
    --bs-link-color-rgb: 79, 70, 229;
    --bs-link-hover-color: #3f37c9;
    --bs-body-color: #2b2c44;
    --bs-body-bg: #faf9f7;
    --bs-border-color: #ece9e3;
    --bs-border-radius: .85rem;
    --bs-border-radius-lg: 1.1rem;
    --bs-body-font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.logo {
    width: 42px!important;
}

body {
    font-family: var(--bs-body-font-family);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .navbar-brand, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    letter-spacing: 0;
}

/* ---------- Couleurs de marque sur les composants ---------- */
.btn-primary {
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: #3f37c9;
    --bs-btn-hover-border-color: #3f37c9;
    --bs-btn-active-bg: #372fb5;
    --bs-btn-active-border-color: #372fb5;
    box-shadow: 0 8px 20px -8px rgba(var(--brand-rgb), .6);
}
.btn-outline-primary { --bs-btn-color: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); }
.btn { --bs-btn-padding-x: 1.15rem; --bs-btn-padding-y: .6rem; --bs-btn-font-weight: 600; border-radius: .7rem; transition: transform .15s ease, box-shadow .15s ease; }
.btn-lg { --bs-btn-padding-x: 1.5rem; --bs-btn-padding-y: .8rem; border-radius: .8rem; }
.btn-primary:hover, .btn-dark:hover { transform: translateY(-2px); }
.text-primary { color: var(--brand) !important; }
.bg-primary-subtle { background-color: #ede9fe !important; }
.text-primary-emphasis { color: #4338ca !important; }
a { text-decoration: none; }

/* ---------- Navbar ---------- */
.navbar {
    background: rgba(250, 249, 247, .82) !important;
    backdrop-filter: saturate(1.5) blur(10px);
    border-bottom: 1px solid var(--bs-border-color) !important;
}
.navbar-brand { font-weight: 800; }
.navbar-brand .mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 9px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff; font-weight: 800; margin-right: .5rem;
    box-shadow: 0 6px 14px -6px rgba(var(--brand-rgb), .7);
}
.navbar .nav-link { font-weight: 500; color: #4a4c63; border-radius: .6rem; padding: .45rem .85rem; }
.navbar .nav-link:hover { color: var(--ink); background: rgba(20, 21, 43, .05); }
.navbar .nav-link.active { color: var(--brand); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 6rem 0 4.5rem; }
.hero::before {
    content: ''; position: absolute; inset: -30% -10% auto -10%; height: 720px; z-index: 0;
    background:
        radial-gradient(720px 340px at 80% 4%, rgba(124, 58, 237, .20), transparent 60%),
        radial-gradient(620px 320px at 8% -4%, rgba(var(--brand-rgb), .16), transparent 62%),
        radial-gradient(500px 260px at 60% 30%, rgba(245, 158, 11, .10), transparent 60%);
    pointer-events: none;
}
.hero > .container, .hero > .container-fluid { position: relative; z-index: 1; }
.hero h1 { font-weight: 800; }
.hero-copy { max-width: 56ch; line-height: 1.62; }
.hero-actions .btn-lg {
    --bs-btn-padding-x: .85rem;
}

/* badge "eyebrow" */
.badge.rounded-pill.bg-primary-subtle {
    border: 1px solid #ddd6fe; padding: .5rem .9rem; font-weight: 600; font-size: .8rem;
}

.hero-visual { position: relative; transform: translateY(-18px); }
.hero-visual .app-shot {
    border-radius: .85rem;
    background: #fff;
    box-shadow: 0 34px 72px -36px rgba(20, 21, 43, .45);
}
.hero-note {
    position: absolute;
    right: -10px;
    bottom: 18px;
    width: min(260px, 72%);
    border: 1px solid var(--bs-border-color);
    border-radius: .85rem;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 50px -32px rgba(20, 21, 43, .42);
    padding: 1rem;
}
.hero-note strong { display: block; margin-bottom: .25rem; }
.hero-note p { margin: 0; color: #6b6c82; font-size: .86rem; line-height: 1.42; }

.proof-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 1.5rem;
    max-width: 620px;
}
.proof-card {
    min-height: 92px;
    padding: 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .85rem;
    background: rgba(255, 255, 255, .72);
}
.proof-card strong { display: block; font-size: .95rem; line-height: 1.2; }
.proof-card span { display: block; margin-top: .35rem; color: #6b6c82; font-size: .82rem; line-height: 1.35; }
.lead-column { max-width: 860px; }

/* ---------- Mockup applicatif (visuel hero) ---------- */
.app-mock {
    border-radius: 1.1rem; background: #fff; border: 1px solid var(--bs-border-color);
    box-shadow: 0 40px 80px -30px rgba(20, 21, 43, .35); overflow: hidden;
    transform: rotate(.6deg);
}
.app-mock .bar { display: flex; gap: 6px; padding: 12px 14px; background: #f4f3ef; border-bottom: 1px solid var(--bs-border-color); }
.app-mock .bar span { width: 11px; height: 11px; border-radius: 50%; background: #d9d6cf; }
.app-mock .bar span:nth-child(1) { background: #ff5f57; }
.app-mock .bar span:nth-child(2) { background: #febc2e; }
.app-mock .bar span:nth-child(3) { background: #28c840; }
.app-mock .mock-app { display: flex; min-height: 320px; }
.mock-side { width: 168px; flex-shrink: 0; background: #fbfbfa; border-right: 1px solid var(--bs-border-color); padding: 14px 10px; }
.mock-brand { display: flex; align-items: center; font-weight: 800; font-size: .82rem; color: var(--brand); margin-bottom: 6px; }
.mock-brand .mark { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .62rem; margin-right: 6px; }
.mock-search { background: #fff; border: 1px solid var(--bs-border-color); border-radius: 7px; font-size: .62rem; color: #b3b1bf; padding: 6px 9px; margin: 8px 0 12px; }
.mock-navlabel { font-size: .55rem; text-transform: uppercase; letter-spacing: .08em; color: #b3b1bf; margin: 12px 6px 5px; font-weight: 700; }
.mock-nav { display: block; font-size: .74rem; color: #555; padding: 6px 8px; border-radius: 7px; margin-bottom: 1px; }
.mock-nav.active { background: #eef0fe; color: var(--brand); font-weight: 600; }
.mock-main { flex: 1; padding: 16px; background: #fff; min-width: 0; }
.mock-title { font-weight: 700; font-size: 1rem; margin-bottom: 12px; }
.mock-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mock-kpi { border: 1px solid var(--bs-border-color); border-radius: 10px; padding: 9px 12px; }
.mock-kpi .l { font-size: .6rem; color: #9a98a8; display: block; }
.mock-kpi .v { font-weight: 800; font-size: 1.05rem; line-height: 1.2; }
.mock-chartcard { border: 1px solid var(--bs-border-color); border-radius: 10px; padding: 11px 12px; margin-top: 10px; }
.mock-tabs { display: flex; gap: 6px; margin-bottom: 9px; }
.mock-tabs span { font-size: .62rem; padding: 3px 9px; border-radius: 6px; color: #8a8898; background: #f3f2ef; }
.mock-tabs span.on { background: var(--brand); color: #fff; }
.app-mock .bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; }
.app-mock .bars i { display: block; flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--brand), #a5a0f5); }

#formBeta {
    display: none;
}

@media (max-width: 575.98px) { .mock-side { display: none; } }

/* ---------- Sections & cartes ---------- */
section { scroll-margin-top: 80px; }
.kicker { color: var(--brand); text-transform: uppercase; font-weight: 700; letter-spacing: .08em; font-size: .78rem; }
.section-intro { max-width: 760px; }
.card { border-radius: var(--bs-border-radius-lg); transition: transform .2s ease, box-shadow .2s ease; }
.card.shadow-sm { box-shadow: 0 2px 4px rgba(20,21,43,.04), 0 18px 40px -24px rgba(20,21,43,.25) !important; }
.card.shadow-sm:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(20,21,43,.10), 0 30px 60px -30px rgba(20,21,43,.4) !important; }

.feature-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 3.1rem; height: 3.1rem; border-radius: .95rem;
    background: linear-gradient(135deg, rgba(var(--brand-rgb), .14), rgba(124,58,237,.14));
    color: var(--brand); font-size: 1.45rem;
}

.problem-card, .use-card, .persona-card, .feature-block {
    height: 100%;
    border: 1px solid var(--bs-border-color);
    border-radius: .85rem;
    background: #fff;
    padding: 1.25rem;
}
.problem-card {
    background: linear-gradient(180deg, #fff, #fbfaf8);
}
.problem-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: .7rem;
    background: #fff3d8;
    color: #9a5b00;
    font-weight: 800;
    margin-bottom: .85rem;
}
.persona-card strong { display: block; margin-bottom: .35rem; }
.persona-card p { color: #6b6c82; margin: 0; }

.split-panel {
    border: 1px solid var(--bs-border-color);
    border-radius: .85rem;
    background: #fff;
    overflow: hidden;
}
.split-panel .panel-col { padding: 1.6rem; }
.split-panel .panel-col + .panel-col { border-left: 1px solid var(--bs-border-color); }
.check-list {
    display: grid;
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.check-list li {
    display: flex;
    gap: .65rem;
    color: #404255;
}
.check-list i {
    flex: 0 0 auto;
    color: #15803d;
    margin-top: .1rem;
}

.quote-panel {
    border-radius: .85rem;
    border: 1px solid #dcd6ff;
    background:
        radial-gradient(560px 240px at 92% 0%, rgba(var(--brand-rgb), .12), transparent 60%),
        #f7f5ff;
    padding: 1.4rem;
}

/* ---------- IA locale ---------- */
.ai-hero .row {
    align-items: center;
}
.ai-hero .hero-copy {
    max-width: 52ch;
}
.ai-proof-row {
    width: 100%;
    max-width: none;
    margin-top: 2rem;
}
.ai-flow-panel {
    padding: 1.25rem;
    border: 1px solid #dcd6ff;
    border-radius: 1.2rem;
    background:
        radial-gradient(520px 260px at 88% 4%, rgba(124,58,237,.15), transparent 62%),
        rgba(255,255,255,.84);
    box-shadow: 0 34px 72px -42px rgba(20,21,43,.42);
}
.ai-flow-label {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #6b6c82;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.ai-flow-label::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}
.ai-flow {
    display: grid;
    grid-template-columns: 1fr auto 1.2fr auto 1fr;
    gap: .7rem;
    align-items: center;
    margin-top: 1.25rem;
}
.ai-flow-step {
    min-height: 185px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: #fff;
    text-align: center;
}
.ai-flow-step.primary {
    color: #fff;
    border-color: #22233b;
    background: radial-gradient(240px 130px at 90% 0%, rgba(124,58,237,.65), transparent 65%), #17182e;
}
.ai-flow-step i { color: var(--brand); font-size: 1.65rem; margin-bottom: .65rem; }
.ai-flow-step.primary i { color: #fff; }
.ai-flow-step strong { display: block; margin-bottom: .35rem; }
.ai-flow-step small { color: #77798c; line-height: 1.45; }
.ai-flow-step.primary small { color: rgba(255,255,255,.68); }
.ai-flow-connector { color: var(--brand); font-size: 1.5rem; }
.ai-privacy-note {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .7rem;
    margin-top: .8rem;
}
.ai-privacy-note div,
.requirements-note {
    padding: .85rem 1rem;
    border: 1px solid #d9efe0;
    border-radius: .8rem;
    background: #f1fbf4;
    color: #386047;
    font-size: .86rem;
}
.ai-mini-panel { display: grid; gap: .7rem; }
.ai-mini-panel > div {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: .8rem;
    padding: 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .9rem;
    background: #fff;
}
.ai-mini-panel span {
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: .8rem;
    background: #f0edff;
    color: var(--brand);
    font-size: .72rem;
    font-weight: 800;
}
.ai-mini-panel small { color: #77798c; }
.requirements-card,
.accountant-folder {
    border: 1px solid #dcd6ff;
    border-radius: 1.2rem;
    background: #fff;
    box-shadow: 0 30px 70px -46px rgba(20,21,43,.45);
}
.requirement-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .8rem;
    align-items: center;
    padding: .95rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .85rem;
}
.requirement-row + .requirement-row { margin-top: .7rem; }
.requirement-code {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: .8rem;
    background: #f0edff;
    color: var(--brand);
    font-size: .72rem;
    font-weight: 800;
}
.requirement-row small { display: block; color: #77798c; }
.requirement-value { color: #317443; font-weight: 800; text-align: right; }
.requirements-table {
    overflow: hidden;
    border: 1px solid var(--bs-border-color);
    border-radius: .9rem;
}
.requirements-table table { margin: 0; }
.requirements-table th { color: #6b6c82; background: #f8f7f4; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.os-card {
    height: 100%;
    padding: 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .85rem;
    background: #fff;
}
.os-card strong { display: block; margin-bottom: .35rem; }

/* ---------- Espace expert-comptable ---------- */
.accountant-folder {
    color: #fff;
    border-color: #22233b;
    background: radial-gradient(420px 240px at 95% 0%, rgba(124,58,237,.55), transparent 68%), #17182e;
}
.accountant-file-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    margin-top: 1rem;
}
.accountant-file {
    min-height: 120px;
    padding: 1rem;
    border-radius: .9rem;
    background: #fff;
    color: var(--ink);
    transform: rotate(-1deg);
}
.accountant-file:nth-child(even) { transform: rotate(1deg); }
.accountant-file span {
    display: inline-block;
    margin-bottom: .5rem;
    padding: .2rem .45rem;
    border-radius: .45rem;
    background: #f0edff;
    color: var(--brand);
    font-size: .7rem;
    font-weight: 800;
}
.accountant-file strong,
.accountant-file small { display: block; }
.accountant-file small { margin-top: .35rem; color: #77798c; line-height: 1.4; }
.accounting-step,
.policy-card {
    height: 100%;
    padding: 1.25rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .9rem;
    background: #fff;
}
.accounting-step > span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: .9rem;
    border-radius: .7rem;
    background: #17182e;
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
}
.policy-card > span {
    display: block;
    margin-bottom: .55rem;
    color: var(--brand);
    font-weight: 800;
}

/* ---------- Connecteurs ---------- */
.connectors-hero .hero-copy {
    max-width: 60ch;
}
.connector-visual {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 34px 72px -40px rgba(20, 21, 43, .42);
}
.connector-node {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: 1.25rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: #fff;
    text-align: center;
}
.connector-node img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}
.connector-node strong {
    color: var(--ink);
    font-size: 1.15rem;
}
.connector-node span {
    color: #6b6c82;
    font-weight: 600;
}
.connector-letter,
.connector-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: .95rem;
    background: #7f54b3;
    color: #fff;
    font-weight: 800;
    font-size: 1.35rem;
}
.connector-link {
    display: grid;
    place-items: center;
    gap: .45rem;
    color: #6b6c82;
    font-size: .78rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.connector-link i {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: #f0edff;
    color: var(--brand);
    font-size: 1.35rem;
}
.connector-panel-dark {
    color: #fff;
    background: radial-gradient(520px 260px at 92% 0%, rgba(124,58,237,.45), transparent 62%), linear-gradient(135deg, #20223a, #14152b);
}
.connector-panel-dark .kicker,
.connector-panel-dark p {
    color: rgba(255, 255, 255, .72);
}
.connector-steps {
    display: grid;
    gap: 1rem;
}
.connector-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .9rem;
    align-items: start;
}
.connector-step > span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: .7rem;
    background: #f0edff;
    color: var(--brand);
    font-weight: 800;
}
.connector-card,
.connector-callout-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
    padding: 1.2rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .95rem;
    background: #fff;
}
.connector-card {
    flex-wrap: wrap;
}
.connector-card > div {
    flex: 1 1 170px;
}
.connector-card .badge {
    margin-left: auto;
}
.connector-mini {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: .8rem;
    font-size: 1.05rem;
}
.connector-mini.woo { background: #7f54b3; }
.connector-mini.presta { background: #14b8a6; }
.connector-mini.shopify { background: #95bf47; }
.connector-mini.api { background: #111827; }
.connector-callout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    gap: 1.25rem;
    align-items: center;
}
.connector-callout-card {
    box-shadow: 0 24px 60px -42px rgba(20, 21, 43, .5);
}
.connector-callout-card > div {
    min-width: 0;
}
.connector-callout-card strong,
.connector-callout-card span {
    display: block;
}
.connector-callout-card span {
    margin-top: .25rem;
    color: #6b6c82;
    font-size: .9rem;
    line-height: 1.45;
}

/* ---------- Plugins ---------- */
.plugin-hero-card {
    padding: 1.5rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 22px 48px rgba(20, 21, 43, .08);
}
.plugin-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}
.plugin-flow-node {
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: #fbfbfa;
    text-align: center;
}
.plugin-flow-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: .65rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
}
.plugin-flow-logo.shop { background: #7f54b3; }
.plugin-flow-arrow {
    color: var(--brand);
    font-size: 1.6rem;
    font-weight: 800;
}
.plugin-platform-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.35rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1.1rem;
    background: #fff;
    box-shadow: 0 12px 32px rgba(20, 21, 43, .05);
}
.plugin-platform-card.included {
    border-color: #c7d2fe;
    background: linear-gradient(180deg, #eef2ff 0%, #fff 58%);
}
.plugin-platform-card.option {
    border-color: #bbf7d0;
    background: linear-gradient(180deg, #f0fdf4 0%, #fff 58%);
}
.plugin-platform-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}
.plugin-platform-logo {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(20, 21, 43, .14);
}
.plugin-platform-logo.woo { background: #7f54b3; }
.plugin-platform-logo.presta { background: #df0067; }
.plugin-platform-logo.shopify { background: #008060; }
.plugin-feature-list {
    display: grid;
    gap: .55rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}
.plugin-feature-list li {
    display: flex;
    gap: .6rem;
    color: #404255;
    font-size: .95rem;
}
.plugin-feature-list i {
    flex: 0 0 auto;
    margin-top: .12rem;
    color: #15803d;
}
.plugin-step {
    height: 100%;
    padding: 1.25rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: #fff;
}
.plugin-step-number {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: #ede9fe;
    color: var(--brand);
    font-weight: 800;
}
.plugin-coming-card {
    height: 100%;
    padding: 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .95rem;
    background: #fff;
}
.plugin-coming-card strong {
    display: block;
}
.plugin-coming-card span {
    display: block;
    margin-top: .25rem;
    color: #6b6c82;
    font-size: .9rem;
}
.screenshot-card {
    border: 1px solid var(--bs-border-color);
    border-radius: .85rem;
    background: #fff;
    overflow: hidden;
    height: 100%;
}
.screenshot-card img {
    width: 100%;
    display: block;
    border-bottom: 1px solid var(--bs-border-color);
}
.screenshot-card .caption { padding: 1rem; }
.quick-nav {
    border-top: 1px solid var(--bs-border-color);
    border-bottom: 1px solid var(--bs-border-color);
    background: #fff;
}
.quick-nav a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #55586b;
    font-weight: 700;
    text-decoration: none;
}
.quick-nav a:hover { color: var(--brand); }
.quick-nav i { color: var(--brand); }
.faq-lite .accordion-item {
    border-color: var(--bs-border-color);
    background: transparent;
}
.faq-lite .accordion-button {
    font-weight: 700;
    background: #fff;
    box-shadow: none;
}

.form-card, .step-card, .beta-status-card {
    border: 1px solid var(--bs-border-color);
    border-radius: .95rem;
    background: #fff;
    padding: 1.25rem;
}
.beta-form-card,
.beta-copy-column {
    height: 100%;
}
.beta-copy-column {
    display: flex;
    flex-direction: column;
}
.beta-status-stack {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1rem;
}
.beta-status-stack .beta-status-card:last-child {
    flex: 1;
}
.beta-status-card {
    background:
        radial-gradient(520px 240px at 92% 0%, rgba(var(--brand-rgb), .12), transparent 60%),
        #fff;
    box-shadow: 0 30px 66px -44px rgba(20, 21, 43, .45);
}
.step-card { height: 100%; }
.step-num {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: .7rem;
    background: #f0edff;
    color: var(--brand);
    font-weight: 800;
    margin-bottom: .9rem;
}

/* ---------- Bandeau CTA & sections sombres ---------- */
.cta-band {
    background: radial-gradient(900px 400px at 80% -20%, rgba(124,58,237,.5), transparent 60%), linear-gradient(135deg, #1c1d33, #14152b);
    color: #fff; border-radius: 1.5rem; box-shadow: 0 40px 80px -40px rgba(20,21,43,.6);
}

/* ---------- Strip de confiance ---------- */
.trust-strip { border-top: 1px solid var(--bs-border-color); border-bottom: 1px solid var(--bs-border-color); background: #fff; }
.trust-strip .item { color: #6b6c82; font-weight: 600; font-size: .95rem; }
.trust-strip .item i { color: var(--brand); margin-right: .4rem; }

/* ---------- Formulaires ---------- */
.form-control, .form-select { border-radius: .65rem; padding: .65rem .85rem; border-color: #e4e1da; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .25rem rgba(var(--brand-rgb), .15); }
.form-label { font-weight: 600; }

/* ---------- Tables admin ---------- */
.table > :not(caption) > * > * { padding: .85rem 1rem; }
.nav-pills .nav-link.active { background: var(--brand); }
.nav-pills .nav-link { color: #4a4c63; font-weight: 600; }

/* ---------- Footer ---------- */
footer.site { background: #fff !important; }
footer.site a { color: #6b6c82; }
footer.site a:hover { color: var(--brand); text-decoration: none; }

@media (max-width: 991.98px) {
    .app-mock { transform: none; margin-top: 2.5rem; }
    .hero-visual { transform: none; margin-top: 2.5rem; }
    .split-panel .panel-col + .panel-col { border-left: 0; border-top: 1px solid var(--bs-border-color); }
    .hero { padding: 4rem 0 3rem; }
    .connector-visual,
    .connector-callout {
        grid-template-columns: 1fr;
    }
    .connector-link {
        grid-template-columns: auto 1fr;
        justify-content: center;
    }
    .ai-flow { grid-template-columns: 1fr; }
    .ai-flow-connector {
        transform: rotate(90deg);
        text-align: center;
    }
    .ai-flow-step {
        min-height: 0;
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: .9rem;
        align-items: center;
        justify-content: initial;
        text-align: left;
    }
    .ai-flow-step > i {
        grid-row: 1 / 3;
        margin: 0;
    }
    .ai-flow-step strong { margin: 0; }
    .ai-flow-step small { margin-top: .2rem; }
}

@media (max-width: 767.98px) {
    .plugin-flow {
        grid-template-columns: 1fr;
    }
    .plugin-flow-arrow {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .proof-row { grid-template-columns: 1fr; }
    .hero-note {
        position: static;
        width: 100%;
        margin-top: .9rem;
    }
    .connector-node {
        min-height: 160px;
    }
    .connector-card .badge {
        margin-left: 0;
    }
    .connector-callout-card {
        align-items: flex-start;
        flex-direction: column;
    }
    .ai-privacy-note,
    .accountant-file-grid { grid-template-columns: 1fr; }
    .requirement-row { grid-template-columns: auto 1fr; }
    .requirement-value { grid-column: 2; text-align: left; }
}

/* Carte cliquable (espace compte) */
.card-hover { transition: transform .15s ease, box-shadow .15s ease; }
.card-hover:hover { transform: translateY(-3px); box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.08) !important; }

/* ============================================================
   Page IA v2 — styles isolés de la maquette validée
   ============================================================ */
.ai-v2 {
    --ai-line: #e6e3dc;
    --ai-muted: #6d6e7f;
    --ai-green: #276a3b;
    --ai-green-bg: #effaf2;
    --ai-purple-bg: #f4f1ff;
    --ai-shadow: 0 28px 70px -44px rgba(23, 24, 45, .42);
}
.ai-v2-hero {
    position: relative;
    overflow: hidden;
    padding: 5.4rem 0 3.5rem;
}
.ai-v2-hero::before {
    content: "";
    position: absolute;
    inset: -10rem -10% auto;
    height: 38rem;
    pointer-events: none;
    background:
        radial-gradient(32rem 16rem at 78% 10%, rgba(124, 58, 237, .15), transparent 68%),
        radial-gradient(34rem 16rem at 18% 14%, rgba(var(--brand-rgb), .11), transparent 68%);
}
.ai-v2-hero > .container {
    position: relative;
    z-index: 1;
}
.ai-v2-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
    gap: 4rem;
    align-items: center;
}
.ai-v2-copy { max-width: 36.9rem; }
.ai-v2-eyebrow {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .8rem;
    border: 1px solid #ddd7ff;
    border-radius: 999px;
    background: #f0edff;
    color: #4439b8;
    font-size: .75rem;
    font-weight: 800;
}
.ai-v2-eyebrow > span {
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 .3rem rgba(var(--brand-rgb), .10);
}
.ai-v2 h1 {
    max-width: 9.5ch;
    margin: 1.5rem 0 1.25rem;
    font-size: clamp(3rem, 4.3vw, 4.15rem);
    line-height: 1.05;
    letter-spacing: -.045em;
}
.ai-v2-lead {
    margin: 0;
    color: var(--ai-muted);
    font-size: 1.125rem;
    line-height: 1.72;
}
.ai-v2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.75rem;
}
.ai-v2-actions .btn-lg {
    --bs-btn-padding-x: 1.15rem;
    font-size: 1rem;
}
.ai-v2-note {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    margin-top: 1.1rem;
    padding: .9rem 1rem;
    border: 1px solid #d5ecd9;
    border-radius: .75rem;
    background: var(--ai-green-bg);
    color: #3d6448;
    font-size: .82rem;
    line-height: 1.55;
}
.ai-v2-note > span {
    flex: 0 0 auto;
    color: var(--ai-green);
    font-weight: 800;
}
.ai-v2-note p { margin: 0; }
.ai-v2-note strong { display: block; color: #31543b; }

.ai-v2-flow-card {
    padding: 1.4rem;
    border: 1px solid #ddd7ff;
    border-radius: 1.5rem;
    background:
        radial-gradient(27rem 14rem at 95% 0%, rgba(124, 58, 237, .16), transparent 72%),
        rgba(255, 255, 255, .84);
    box-shadow: var(--ai-shadow);
}
.ai-v2-panel-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    color: #777889;
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}
.ai-v2-panel-label::before {
    content: "";
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: #f3a51b;
}
.ai-v2-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.1rem;
}
.ai-v2-flow-step {
    position: relative;
    min-height: 13.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.4rem 1rem;
    border: 1px solid var(--ai-line);
    border-radius: 1.05rem;
    background: #fff;
    text-align: center;
}
.ai-v2-flow-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    z-index: 2;
    top: calc(50% - 1.1rem);
    right: -1.85rem;
    width: 2.25rem;
    height: 2.25rem;
    display: grid;
    place-items: center;
    border: 1px solid #ddd7ff;
    border-radius: 50%;
    background: #fff;
    color: var(--brand);
    font-size: 1.25rem;
    font-weight: 700;
}
.ai-v2-flow-step.is-featured {
    border-color: #272842;
    background:
        radial-gradient(14rem 8rem at 90% 0%, rgba(124, 58, 237, .65), transparent 68%),
        #17182d;
    color: #fff;
}
.ai-v2-flow-icon {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    margin-bottom: 1.1rem;
    border-radius: .9rem;
    background: var(--ai-purple-bg);
    color: var(--brand);
    font-size: .8rem;
    font-weight: 800;
}
.ai-v2-flow-step.is-featured .ai-v2-flow-icon {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}
.ai-v2-flow-step strong {
    font-size: 1rem;
    line-height: 1.35;
}
.ai-v2-flow-step p {
    margin: .55rem 0 0;
    color: var(--ai-muted);
    font-size: .75rem;
    line-height: 1.55;
}
.ai-v2-flow-step.is-featured p { color: rgba(255, 255, 255, .66); }
.ai-v2-privacy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin-top: .85rem;
}
.ai-v2-privacy-grid > div {
    min-height: 3.65rem;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .75rem .9rem;
    border: 1px solid #d5ecd9;
    border-radius: .75rem;
    background: var(--ai-green-bg);
    color: #3d6448;
    font-size: .75rem;
    line-height: 1.45;
}
.ai-v2-privacy-grid span {
    flex: 0 0 1.65rem;
    width: 1.65rem;
    height: 1.65rem;
    display: grid;
    place-items: center;
    border-radius: .5rem;
    background: #fff;
    color: var(--ai-green);
    font-weight: 800;
}

.ai-v2-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 2.25rem;
    overflow: hidden;
    border: 1px solid var(--ai-line);
    border-radius: 1.05rem;
    background: rgba(255, 255, 255, .72);
}
.ai-v2-stats-grid > div {
    min-height: 6.8rem;
    padding: 1.4rem;
}
.ai-v2-stats-grid > div + div { border-left: 1px solid var(--ai-line); }
.ai-v2-stats-grid strong {
    display: block;
    margin-bottom: .45rem;
    font-size: 1rem;
}
.ai-v2-stats-grid span {
    display: block;
    color: var(--ai-muted);
    font-size: .75rem;
    line-height: 1.5;
}

.ai-v2-section { padding: 5.25rem 0; }
.ai-v2-usages {
    border-block: 1px solid var(--ai-line);
    background: #fff;
}
.ai-v2-section-head {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(20rem, .7fr);
    gap: 5rem;
    align-items: end;
    margin-bottom: 2.1rem;
}
.ai-v2-kicker {
    margin: 0 0 .65rem;
    color: var(--brand);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.ai-v2 h2 {
    margin: 0;
    font-size: clamp(2.15rem, 3vw, 2.9rem);
    line-height: 1.14;
    letter-spacing: -.035em;
}
.ai-v2-section-head > p {
    margin: 0 0 .2rem;
    color: var(--ai-muted);
    font-size: 1rem;
    line-height: 1.65;
}
.ai-v2-use-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}
.ai-v2-use-card {
    min-height: 14.75rem;
    padding: 1.65rem;
    border: 1px solid var(--ai-line);
    border-radius: 1.05rem;
    background: #fff;
}
.ai-v2-use-card > span {
    width: 3.1rem;
    height: 3.1rem;
    display: grid;
    place-items: center;
    margin-bottom: 1.5rem;
    border-radius: .9rem;
    background: var(--ai-purple-bg);
    color: var(--brand);
    font-size: .75rem;
    font-weight: 800;
}
.ai-v2-use-card h3 {
    margin: 0 0 .65rem;
    font-size: 1.2rem;
}
.ai-v2-use-card p {
    margin: 0;
    color: var(--ai-muted);
    font-size: .87rem;
    line-height: 1.65;
}

.ai-v2-requirements {
    background:
        radial-gradient(44rem 21rem at 90% 8%, rgba(124, 58, 237, .11), transparent 68%),
        #f8f6ff;
}
.ai-v2-requirements-top {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    gap: 4.5rem;
    align-items: start;
}
.ai-v2-requirements-copy { padding-top: 1.4rem; }
.ai-v2-requirements-copy h2 { max-width: 12ch; }
.ai-v2-requirements-copy .ai-v2-lead {
    margin-top: 1.1rem;
    font-size: 1rem;
}
.ai-v2-requirements-copy .ai-v2-note { margin-top: 1.65rem; }
.ai-v2-spec-panel {
    padding: 1.65rem;
    border: 1px solid #d9d3ff;
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, .88);
    box-shadow: var(--ai-shadow);
}
.ai-v2-spec-panel h3 {
    margin: .5rem 0 1.4rem;
    font-size: 1.5rem;
}
.ai-v2-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}
.ai-v2-spec-grid article {
    min-height: 8.65rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .25rem .85rem;
    align-content: start;
    padding: 1.1rem;
    border: 1px solid var(--ai-line);
    border-radius: .9rem;
    background: #fff;
}
.ai-v2-spec-code {
    grid-row: 1 / 4;
    width: 2.65rem;
    height: 2.65rem;
    display: grid;
    place-items: center;
    border-radius: .7rem;
    background: var(--ai-purple-bg);
    color: var(--brand);
    font-size: .68rem;
    font-weight: 800;
}
.ai-v2-spec-grid strong { font-size: .87rem; }
.ai-v2-spec-grid b {
    color: var(--ai-green);
    font-size: .87rem;
}
.ai-v2-spec-grid small {
    color: var(--ai-muted);
    font-size: .68rem;
    line-height: 1.45;
}
.ai-v2-comparison { margin-top: 3.4rem; }
.ai-v2-comparison-head {
    max-width: 45rem;
    margin-bottom: 1.5rem;
}
.ai-v2-comparison-head h3 {
    margin: 0 0 .5rem;
    font-size: 1.75rem;
}
.ai-v2-comparison-head > p:last-child {
    margin: 0;
    color: var(--ai-muted);
    line-height: 1.6;
}
.ai-v2-table-wrap {
    overflow: hidden;
    border: 1px solid var(--ai-line);
    border-radius: .95rem;
    background: #fff;
}
.ai-v2-table-row {
    display: grid;
    grid-template-columns: 1.15fr .85fr .85fr;
}
.ai-v2-table-row + .ai-v2-table-row { border-top: 1px solid var(--ai-line); }
.ai-v2-table-row > div { padding: 1.05rem 1.25rem; }
.ai-v2-table-row > div + div { border-left: 1px solid var(--ai-line); }
.ai-v2-table-row.is-header {
    background: #f5f3ef;
    color: var(--ai-muted);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.ai-v2-table-row:not(.is-header) {
    font-size: .8rem;
    font-weight: 600;
}
.ai-v2-table-row .is-good { color: var(--ai-green); }
.ai-v2-table-row .is-warning { color: #8a5b16; }
.ai-v2-os-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    margin-top: 1rem;
}
.ai-v2-os-grid > div {
    min-height: 5.75rem;
    padding: 1.1rem;
    border: 1px solid var(--ai-line);
    border-radius: .9rem;
    background: #fff;
}
.ai-v2-os-grid strong {
    display: block;
    margin-bottom: .45rem;
    font-size: .87rem;
}
.ai-v2-os-grid span {
    color: var(--ai-muted);
    font-size: .68rem;
    line-height: 1.5;
}
.ai-v2-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4.4rem;
    padding: 2rem 2.25rem;
    border-radius: 1.4rem;
    background:
        radial-gradient(33rem 16rem at 90% 0%, rgba(124, 58, 237, .55), transparent 70%),
        #17182d;
    color: #fff;
}
.ai-v2-cta h2 { font-size: 2rem; }
.ai-v2-cta p {
    max-width: 38rem;
    margin: .65rem 0 0;
    color: rgba(255, 255, 255, .66);
    line-height: 1.6;
}
.ai-v2-cta .btn { flex: 0 0 auto; }

@media (max-width: 1050px) {
    .ai-v2-hero-grid,
    .ai-v2-requirements-top {
        grid-template-columns: 1fr;
    }
    .ai-v2-copy { max-width: 45rem; }
    .ai-v2-copy h1 { max-width: 13ch; }
    .ai-v2-flow-card { max-width: 47.5rem; }
    .ai-v2-requirements-copy h2 { max-width: none; }
    .ai-v2-section-head {
        grid-template-columns: 1fr;
        gap: 1.1rem;
        align-items: start;
    }
}

@media (max-width: 720px) {
    .ai-v2-hero { padding: 3.4rem 0 2.6rem; }
    .ai-v2-hero-grid { gap: 2.4rem; }
    .ai-v2 h1 {
        margin-top: 1.25rem;
        font-size: 2.6rem;
    }
    .ai-v2-lead { font-size: 1rem; }
    .ai-v2-actions { display: grid; }
    .ai-v2-actions .btn { width: 100%; }
    .ai-v2-flow-card {
        padding: 1rem;
        border-radius: 1.2rem;
    }
    .ai-v2-flow-grid {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }
    .ai-v2-flow-step {
        min-height: 0;
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: .85rem;
        padding: 1.1rem;
        text-align: left;
    }
    .ai-v2-flow-icon {
        grid-row: 1 / 3;
        margin: 0;
    }
    .ai-v2-flow-step p { margin-top: .25rem; }
    .ai-v2-flow-step:not(:last-child)::after {
        content: "↓";
        top: auto;
        right: calc(50% - 1.1rem);
        bottom: -2.4rem;
    }
    .ai-v2-privacy-grid,
    .ai-v2-stats-grid,
    .ai-v2-use-grid,
    .ai-v2-spec-grid,
    .ai-v2-os-grid {
        grid-template-columns: 1fr;
    }
    .ai-v2-stats-grid {
        overflow: visible;
        border: 0;
        background: transparent;
        gap: .65rem;
    }
    .ai-v2-stats-grid > div {
        min-height: 0;
        border: 1px solid var(--ai-line);
        border-radius: .9rem;
        background: #fff;
    }
    .ai-v2-stats-grid > div + div { border-left: 1px solid var(--ai-line); }
    .ai-v2-section { padding: 4rem 0; }
    .ai-v2-use-card { min-height: 0; }
    .ai-v2-requirements-top { gap: 2.1rem; }
    .ai-v2-spec-panel { padding: 1.1rem; }
    .ai-v2-table-wrap { overflow-x: auto; }
    .ai-v2-table-row { min-width: 47.5rem; }
    .ai-v2-cta {
        align-items: stretch;
        flex-direction: column;
        margin-top: 3rem;
        padding: 1.65rem;
    }
    .ai-v2-cta .btn { width: 100%; }
}
