/* ============================================================
   Pivox Marketing - feuille de style de l'application
   Palette et composants propres au produit (copiés, non partagés).
   ============================================================ */

@font-face {
    font-family: 'Ubuntu Sans';
    src: url('/assets/fonts/ubuntu-sans-var.woff2') format('woff2');
    font-weight: 100 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg:        #f6f7fb;
    --surface:   #ffffff;
    --ink:       #171a24;
    --ink-soft:  #3d4353;
    --ink-faint: #616776;
    --line:      #e4e7f0;
    --line-soft: #eef0f6;
    --brand:     #4f46e5;
    --brand-dk:  #3f37c9;
    --brand-soft:#eef0ff;
    --ok:        #0f9d6f;
    --ok-soft:   #e6f7f0;
    --err:       #d64545;
    --err-soft:  #fdecec;
    --warn:      #b7791f;
    --radius:    14px;
    --radius-sm: 9px;
    --shadow:    0 1px 2px rgba(20,24,40,.05), 0 8px 24px rgba(20,24,40,.06);
    --shadow-sm: 0 1px 2px rgba(20,24,40,.06);
    --maxw:      920px;
    --font: 'Ubuntu Sans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    /* Palette vitrine (alignée sur www.pivox.fr) */
    --lp-navy: #0A1E3F;
    --lp-navy-2: #0F274F;
    --lp-navy-3: #282D6C;
    --lp-violet: #8C46E6;
    --lp-violet-l: #A56BF0;
    --lp-indigo: #5D5BEA;
    --lp-magenta: #C558E8;
    --lp-lav: #E6C8FA;
    --lp-muted: #B8B8D4;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; color: var(--ink); }
h1 { font-size: 1.7rem; margin: 0 0 .3em; letter-spacing: -.01em; }
h2 { font-size: 1.25rem; margin: 1.8em 0 .5em; }
code { background: var(--line-soft); padding: .1em .4em; border-radius: 5px; font-size: .9em; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: .6em 1em; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.hint { color: var(--ink-faint); font-weight: 400; font-size: .85em; }

/* ----- Boutons ----- */
.btn {
    display: inline-flex; align-items: center; gap: .5em;
    font: inherit; font-weight: 600; cursor: pointer;
    padding: .62em 1.15em; border-radius: var(--radius-sm);
    border: 1px solid transparent; text-decoration: none; transition: .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dk) 100%); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ----- En-tête de l'application ----- */
.app-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255,255,255,.85); backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}
.app-header .container { padding-top: .7rem; padding-bottom: .7rem; }
.app-header-in { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.app-logo { display: inline-flex; align-items: center; gap: .55em; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.app-logo:hover { text-decoration: none; }
.app-logo-mark { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--brand), #8b5cf6); display: inline-block; }
.app-steps { display: flex; gap: .2rem; flex-wrap: wrap; margin-left: auto; margin-right: auto; }
.app-steps a {
    color: var(--ink-soft); font-weight: 500; font-size: .9rem;
    padding: .35em .7em; border-radius: 7px; display: inline-flex; align-items: center; gap: .4em;
}
.app-steps a:hover { background: var(--line-soft); text-decoration: none; color: var(--ink); }
.app-steps a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-dk); font-weight: 600; }
.app-steps .step-num { font-size: .78em; opacity: .7; }
.app-user { display: flex; align-items: center; gap: .8rem; font-size: .9rem; }
.app-user a { color: var(--ink-soft); }
.app-user a[aria-current="page"] { color: var(--brand); font-weight: 600; }

/* ----- Conteneur principal ----- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.app-main > .container { padding-top: clamp(1.5rem, 4vw, 3rem); padding-bottom: 4rem; }

/* ----- Chapô ----- */
.chapo { margin-bottom: 2rem; }
.chapo-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 700; color: var(--brand); }
.chapo-titre { margin-top: .25rem; }
.chapo-texte { color: var(--ink-soft); max-width: 60ch; margin: .4rem 0 0; }

/* ----- Formulaires ----- */
.champ { margin-bottom: 1.6rem; }
.champ-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; }
.champ-head label { font-weight: 600; }
.control {
    width: 100%; font: inherit; color: var(--ink);
    padding: .65em .8em; border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: var(--surface); transition: .15s;
}
.control:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
textarea.control { min-height: 5.5em; resize: vertical; line-height: 1.5; }
.aide-btn {
    display: inline-flex; align-items: center; gap: .4em;
    border: 1px solid var(--brand); background: var(--brand-soft); color: var(--brand-dk);
    padding: .22em .7em .22em .28em; border-radius: 100px; font: inherit; font-size: .8rem; font-weight: 700;
    cursor: pointer; line-height: 1; flex-shrink: 0;
}
.aide-btn:hover { background: var(--brand); color: #fff; }
.aide-btn-q { display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: .72rem; }
.aide-btn:hover .aide-btn-q { background: #fff; color: var(--brand); }
.form-actions { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.lien-exemple { font-size: .9rem; }
.ecran-actions { margin-bottom: 1.5rem; }

/* ----- Messages flash ----- */
.flash { padding: .75em 1em; border-radius: var(--radius-sm); margin-bottom: 1.2rem; font-size: .95rem; }
.flash-ok  { background: var(--ok-soft); color: var(--ok); border: 1px solid #bfe8d6; }
.flash-err { background: var(--err-soft); color: var(--err); border: 1px solid #f5c9c9; }

/* ----- Tableau de bord ----- */
.dash-progress { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; color: var(--ink-soft); font-size: .95rem; }
.dash-bar { flex: 1; height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; max-width: 280px; }
.dash-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #8b5cf6); }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.dash-card {
    position: relative; display: flex; flex-direction: column; gap: .35rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.3rem; box-shadow: var(--shadow-sm); transition: .18s; color: var(--ink);
}
.dash-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); border-color: #cdd2e6; }
.dash-num { position: absolute; top: 1rem; right: 1.1rem; font-size: 1.6rem; font-weight: 800; color: var(--line); }
.dash-card.is-done .dash-num { color: var(--brand-soft); }
.dash-state { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--ink-faint); }
.dash-card.is-done .dash-state { color: var(--ok); }
.dash-card h2 { margin: 0; font-size: 1.1rem; }
.dash-card p { margin: 0; color: var(--ink-soft); font-size: .92rem; flex: 1; }
.dash-go { color: var(--brand); font-weight: 600; font-size: .9rem; margin-top: .3rem; }
.dash-foot { display: flex; gap: 1rem; align-items: center; margin-top: 2rem; flex-wrap: wrap; }

/* ----- Panneaux / stubs ----- */
.hx-panel, .stub, .compte-infos {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm);
}
.stub { color: var(--ink-soft); }
.stub p { margin: .3rem 0; }

/* ----- Mon compte ----- */
.compte-dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.5rem; margin: 0; }
.compte-dl dt { color: var(--ink-faint); font-weight: 500; }
.compte-dl dd { margin: 0; font-weight: 600; }
.compte-form { max-width: 420px; display: flex; flex-direction: column; gap: .4rem; }
.compte-form label { font-weight: 600; margin-top: .6rem; }
.compte-form button { margin-top: 1rem; align-self: flex-start; }

/* ----- Panneau d'aide contextuelle (basculé via l'attribut hidden) ----- */
body.aide-ouverte { overflow: hidden; }
.aide-overlay { position: fixed; inset: 0; background: rgba(20,24,40,.35); z-index: 40; }
.aide-overlay[hidden] { display: none; }
.aide-panel {
    position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 94vw);
    background: var(--surface); box-shadow: -10px 0 40px rgba(20,24,40,.15); z-index: 41;
    display: flex; flex-direction: column;
}
.aide-panel[hidden] { display: none; }
.aide-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); }
.aide-panel-titre { margin: 0; font-size: 1.1rem; font-weight: 700; }
.aide-close { background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--ink-faint); line-height: 1; padding: 0 .2em; }
.aide-close:hover { color: var(--ink); }
.aide-panel-body { padding: 1.3rem; overflow-y: auto; }
.aide-bloc { margin-bottom: 1.2rem; }
.aide-bloc:last-child { margin-bottom: 0; }
.aide-bloc h3 { margin: 0 0 .3rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); }
.aide-bloc ul { margin: .2rem 0; padding-left: 1.2rem; }
.aide-bloc li { margin: .2rem 0; }
.aide-ex { background: var(--brand-soft); border-radius: var(--radius-sm); border-left: 3px solid var(--brand); padding: .6em .9em; margin: .4rem 0; font-size: .92rem; color: var(--ink); }
.aide-erreur h3 { color: var(--warn); }
.aide-erreur p { color: var(--ink-soft); }

/* ----- Pages d'authentification ----- */
.auth-body { background: linear-gradient(160deg, #ede9fe 0%, var(--bg) 45%); min-height: 100vh; }
.auth-wrap { max-width: 400px; margin: 0 auto; padding: clamp(2rem, 8vh, 5rem) 1.25rem; }
.auth-logo { justify-content: center; margin-bottom: 1.5rem; font-size: 1.15rem; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.4rem; }
.auth-sub { color: var(--ink-soft); margin-top: 0; }
.auth-form { display: flex; flex-direction: column; gap: .35rem; }
.auth-form label { font-weight: 600; margin-top: .6rem; }
.auth-form button { margin-top: 1.2rem; justify-content: center; }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.auth-links { text-align: center; margin-top: 1.2rem; font-size: .92rem; color: var(--ink-soft); }
.auth-foot { text-align: center; margin-top: 1.5rem; font-size: .85rem; color: var(--ink-faint); }

/* ----- Exemple / aide ----- */
.ex-section, .aide-steps { margin-top: 1rem; }
.aide-steps li { margin: .4rem 0; }
.ex-cta { margin-top: 2rem; }

/* ----- Espace admin (theme clair, aligne sur l'app) ----- */
.admin-body { background: var(--bg); color: var(--ink); }
.admin-header { display: flex; align-items: center; gap: 1.25rem; padding: .9rem clamp(1rem,4vw,2rem);
    background: rgba(255,255,255,.85); backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; flex-wrap: wrap; }
.admin-brand { display: inline-flex; align-items: center; gap: .55em; font-weight: 700; color: var(--ink); }
.admin-brand::before { content: ""; width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--lp-indigo), var(--lp-magenta)); }
.admin-header nav { display: flex; align-items: center; gap: 1rem; margin-left: auto; flex-wrap: wrap; font-size: .92rem; }
.admin-header a { color: var(--ink-soft); }
.admin-header a:hover { color: var(--brand); text-decoration: none; }
.admin-main { max-width: 1100px; margin: 0 auto; padding: clamp(1.5rem,4vw,2.5rem) clamp(1rem,4vw,2rem) 4rem; }
.admin-main h1 { color: var(--ink); margin-bottom: 1.2rem; }
.admin-table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th, .admin-table td { text-align: left; padding: .85em 1em; vertical-align: middle; }
.admin-table thead th { background: var(--line-soft); color: var(--ink-faint); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--line); }
.admin-table tbody tr { border-top: 1px solid var(--line-soft); }
.admin-table tbody tr:hover { background: #fafbff; }
.admin-table tr.is-admin { background: var(--brand-soft); }
.admin-actions form { display: flex; gap: .4rem; flex-wrap: wrap; }
.btn-mini { font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; padding: .4em .8em; border-radius: 7px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: .15s; }
.btn-mini:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.btn-mini-danger:hover { border-color: var(--err); color: var(--err); background: var(--err-soft); }
.badge { font-size: .68rem; background: var(--brand); color: #fff; padding: .12em .55em; border-radius: 5px; vertical-align: middle; }
.pastille { display: inline-block; font-size: .76rem; font-weight: 600; padding: .18em .7em; border-radius: 99px; text-transform: capitalize; }
.pastille-actif { background: var(--ok-soft); color: var(--ok); }
.pastille-suspendu { background: var(--err-soft); color: var(--err); }
.pastille-essai_termine { background: #fdf1dc; color: var(--warn); }
.admin-body .flash { max-width: 560px; }

/* ----- Pied de page app ----- */
.app-footer { text-align: center; color: var(--ink-faint); font-size: .85rem; padding: 2rem 1rem; border-top: 1px solid var(--line); }

/* ----- Synthèse ----- */
.synthese-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.synthese-print { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-sm); margin-top: 1rem; }
.syn-title { border-bottom: 2px solid var(--ink); padding-bottom: 1rem; margin-bottom: 1rem; }
.syn-title h1 { margin: 0; }
.syn-title p { margin: .2rem 0 0; color: var(--ink-faint); }
.synthese-print section { margin: 1.6rem 0; }
.synthese-print h2 { border-bottom: 1px solid var(--line); padding-bottom: .3rem; }
.syn-field { display: grid; grid-template-columns: 200px 1fr; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line-soft); }
.syn-label { color: var(--ink-faint); font-weight: 600; font-size: .9rem; }
.syn-value { color: var(--ink); }
.syn-empty { color: var(--ink-faint); font-style: italic; }
.syn-list { margin: .3rem 0; padding-left: 1.2rem; }
.syn-tag { font-size: .78rem; background: var(--brand-soft); color: var(--brand-dk); padding: .1em .5em; border-radius: 5px; }
.syn-block h3 { margin: .6rem 0 .2rem; }

/* ----- Impression ----- */
@media print {
    .no-print, .app-header, .app-footer, .verif-banner, #aide-overlay, #aide-panel { display: none !important; }
    body { background: #fff; font-size: 12pt; }
    /* Routine : version "poster mural" — cases vides à cocher à la main */
    .routine-cols { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .routine-col { break-inside: avoid; border: 1px solid #ccc; border-radius: 6px; padding: .6rem .7rem; }
    .routine-item { break-inside: avoid; background: #fff !important; border-color: #ddd !important; }
    .routine-check { background: #fff !important; border: 1.5px solid #444 !important; color: transparent !important; }
    .routine-lbl { color: #000 !important; text-decoration: none !important; }
    .container { padding: 0; max-width: none; }
    .synthese-print { border: none; box-shadow: none; padding: 0; margin: 0; }
    .synthese-print section { break-inside: avoid; }
    a { color: inherit; text-decoration: none; }
}

/* ----- Responsive ----- */
@media (max-width: 640px) {
    .app-steps { order: 3; width: 100%; margin: .3rem 0 0; }
    .auth-row { grid-template-columns: 1fr; }
    .syn-field { grid-template-columns: 1fr; gap: .1rem; }
    .synthese-head { align-items: flex-start; }
}

/* ============================================================
   VITRINE PUBLIQUE (accueil.php) - rendu aligné sur www.pivox.fr
   ============================================================ */
.lp-body { background: #fff; color: var(--ink); }
.lp-container { max-width: 1160px; margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }
.lp-logo, .lp-nav .lp-logo { display: inline-flex; align-items: center; gap: .55em; font-weight: 700; font-size: 1.08rem; }
.lp-logo-mark { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--lp-indigo), var(--lp-magenta)); display: inline-block; flex-shrink: 0; }

/* Boutons vitrine */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; border-radius: 10px; border: 1px solid transparent; transition: .16s; }
.lp-btn:hover { text-decoration: none; }
.lp-btn-sm { padding: .5em 1em; font-size: .9rem; }
.lp-btn-lg { padding: .8em 1.5em; font-size: 1.02rem; }
.lp-btn-grad { background: linear-gradient(100deg, var(--lp-indigo), var(--lp-violet) 55%, var(--lp-magenta)); color: #fff; box-shadow: 0 10px 26px -10px rgba(140,70,230,.7); }
.lp-btn-grad:hover { filter: brightness(1.08); transform: translateY(-1px); }
.lp-btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.24); }
.lp-btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }

/* Nav */
.lp-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 5; padding: 1.1rem 0; }
.lp-nav-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lp-nav .lp-logo { color: #fff; }
.lp-nav-links { display: flex; align-items: center; gap: 1.4rem; }
.lp-nav-links > a:not(.lp-btn) { color: var(--lp-lav); font-weight: 500; font-size: .95rem; }
.lp-nav-links > a:not(.lp-btn):hover { color: #fff; text-decoration: none; }

/* Hero */
.lp-hero { position: relative; background: var(--lp-navy); color: #fff; overflow: hidden; }
.lp-hero-mesh { position: absolute; inset: -20% -10% auto -10%; height: 150%;
    background:
        radial-gradient(48% 55% at 18% 12%, rgba(124,58,237,.55), transparent 60%),
        radial-gradient(40% 50% at 82% 8%, rgba(197,88,232,.38), transparent 62%),
        radial-gradient(55% 60% at 65% 72%, rgba(93,91,234,.42), transparent 60%);
    filter: blur(20px); animation: lpDrift 20s ease-in-out infinite alternate; pointer-events: none; }
.lp-hero-grid { position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px); background-size: 34px 34px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%); mask-image: linear-gradient(180deg, #000 0%, transparent 80%); pointer-events: none; }
@keyframes lpDrift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-3%,2%,0) scale(1.08); } }
.lp-hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: clamp(6rem, 12vh, 8rem) 0 clamp(4rem, 8vh, 6rem); }
.lp-badge { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; padding: 6px 12px; border-radius: 100px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); }
.lp-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lp-violet-l); box-shadow: 0 0 10px 1px var(--lp-violet-l); }
.lp-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); letter-spacing: -.03em; line-height: 1.05; margin: 22px 0 0; }
.lp-grad { background: linear-gradient(100deg, var(--lp-violet-l) 10%, var(--lp-magenta) 55%, var(--lp-indigo) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-hero-sub { color: var(--lp-muted); font-size: 1.1rem; line-height: 1.6; margin: 22px 0 0; max-width: 46ch; }
.lp-hero-actions { display: flex; gap: 14px; margin: 32px 0 0; flex-wrap: wrap; }
.lp-hero-actions.lp-center { justify-content: center; }
.lp-hero-trust { font-size: .82rem; color: var(--lp-muted); margin: 26px 0 0; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.lp-hero-trust .ok { color: var(--lp-violet-l); font-weight: 700; margin-right: -12px; }

/* Carte vitrée */
.lp-card { position: relative; border-radius: 20px; background: linear-gradient(180deg, rgba(30,24,58,.9), rgba(16,21,42,.92)); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08); padding: 24px; }
.lp-card-top { display: flex; align-items: center; justify-content: space-between; }
.lp-card-label { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-muted); }
.lp-card-pill { font-size: .64rem; letter-spacing: .08em; color: var(--lp-violet-l); border: 1px solid rgba(165,107,240,.4); background: rgba(165,107,240,.12); padding: 3px 9px; border-radius: 100px; }
.lp-card-steps { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lp-card-steps li { display: flex; align-items: center; gap: 12px; color: #fff; font-size: .95rem; }
.lp-card-steps .n { width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--lp-indigo), var(--lp-magenta)); flex-shrink: 0; }
.lp-card-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.lp-card-foot .val { font-size: .8rem; color: var(--lp-muted); }

/* Sections claires */
.lp-section { padding: clamp(3.5rem, 8vh, 5.5rem) 0; }
.lp-section-alt { background: #FAFAFC; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.lp-h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.02em; margin: 0; }
.lp-intro { color: var(--ink-soft); max-width: 62ch; margin: .8rem 0 0; font-size: 1.05rem; }
.lp-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 2.2rem; }
.lp-feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.lp-feature h3 { margin: 0 0 .5rem; font-size: 1.12rem; }
.lp-feature p { margin: 0; color: var(--ink-soft); }

/* Étapes numérotées */
.lp-steps { list-style: none; counter-reset: none; margin: 2.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.lp-steps li { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.lp-section-alt .lp-steps li { background: #fff; }
.lp-step-num { width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--lp-navy-3), var(--lp-violet)); box-shadow: 0 4px 12px -3px rgba(140,70,230,.6); }
.lp-steps li div { display: flex; flex-direction: column; }
.lp-steps li strong { font-size: 1.02rem; }
.lp-steps li > div span { color: var(--ink-soft); font-size: .92rem; }

/* Accompagnement humain */
.lp-human { max-width: 760px; }
.lp-kicker, .lp-card-label.lp-kicker { display: inline-block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--lp-violet); }
.lp-human .lp-h2 { margin-top: .4rem; }
.lp-human p { color: var(--ink-soft); font-size: 1.05rem; margin: 1rem 0; }
.lp-check { list-style: none; margin: 1.2rem 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.lp-check li { position: relative; padding-left: 1.9rem; color: var(--ink); }
.lp-check li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.3rem; height: 1.3rem; color: var(--lp-violet); font-weight: 800; }
.lp-human-cta { font-size: 1rem; }

/* CTA final */
.lp-cta-final { position: relative; background: var(--lp-navy-2); color: #fff; overflow: hidden; padding: clamp(3.5rem, 8vh, 5.5rem) 0; text-align: center; }
.lp-cta-mesh { position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgba(140,70,230,.5), transparent 60%), radial-gradient(50% 100% at 80% 100%, rgba(93,91,234,.4), transparent 60%); pointer-events: none; }
.lp-final { position: relative; z-index: 2; }
.lp-cta-final h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0; letter-spacing: -.02em; }
.lp-cta-final p { color: var(--lp-lav); margin: .8rem 0 0; font-size: 1.08rem; }
.lp-cta-final .lp-hero-actions { margin-top: 2rem; }

/* Pied vitrine */
.lp-foot { background: var(--lp-navy); color: var(--lp-muted); padding: 2.5rem 0; font-size: .9rem; }
.lp-foot p { margin: .3rem 0; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.lp-foot a { color: var(--lp-lav); }
.lp-foot-links { gap: .4rem 1rem; }

@media (max-width: 840px) {
    .lp-hero-in { grid-template-columns: 1fr; gap: 34px; }
    .lp-card { order: 2; }
    .lp-nav-links > a:not(.lp-btn) { display: none; }
    .lp-nav-links > a.lp-btn { display: inline-flex; }
}

/* ----- Lien admin dans l'en-tete de l'app ----- */
.app-admin-link { color: var(--brand-dk) !important; font-weight: 600; border: 1px solid var(--brand-soft); padding: .15em .6em; border-radius: 7px; }
.app-admin-link:hover { background: var(--brand-soft); }

/* ----- Pages legales / contenu public ----- */
.lp-nav-solid { position: static; background: var(--lp-navy); }
.legal { background: #fff; padding: clamp(2.5rem, 6vh, 4rem) 0 clamp(3rem, 8vh, 5rem); }
.legal-wrap { max-width: 760px; }
.legal-wrap h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); letter-spacing: -.02em; }
.legal-maj { color: var(--ink-faint); font-size: .9rem; margin-top: -.3rem; }
.legal-wrap h2 { font-size: 1.2rem; margin: 2rem 0 .5rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.legal-wrap h2:first-of-type { border-top: none; }
.legal-wrap p, .legal-wrap li { color: var(--ink-soft); }
.legal-wrap strong { color: var(--ink); }
.legal-wrap ul { padding-left: 1.3rem; }
.legal-wrap li { margin: .35rem 0; }

/* ----- Page "Qui vous accompagne" ----- */
.team { max-width: 820px; margin: 0 auto; }
.lp-link-arrow { font-weight: 600; }
.team-card { display: grid; grid-template-columns: 128px 1fr; gap: 1.8rem; align-items: start;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.8rem; box-shadow: var(--shadow-sm); margin-top: 1.5rem; }
.team-avatar { width: 128px; height: 128px; border-radius: 18px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--lp-navy-3), var(--lp-violet));
    color: #fff; font-size: 2.4rem; font-weight: 800; letter-spacing: .02em; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-body h2 { margin: 0; font-size: 1.4rem; }
.team-role { color: var(--brand); font-weight: 600; margin: .1rem 0 .8rem; }
.team-accroche { font-size: 1.08rem; color: var(--ink); font-weight: 500; }
.team-body p { color: var(--ink-soft); }
.team-body h3 { font-size: .95rem; margin: 1.4rem 0 .6rem; }
.team-check { margin-top: .4rem; }
.team-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
@media (max-width: 620px) {
    .team-card { grid-template-columns: 1fr; gap: 1.1rem; }
    .team-avatar { width: 84px; height: 84px; font-size: 1.7rem; border-radius: 14px; }
}

/* ----- Gabarit de formulaire des ecrans du parcours ----- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(1.3rem, 3vw, 2.2rem); }
.form-section + .form-section { margin-top: 1.8rem; padding-top: 1.8rem; border-top: 1px solid var(--line-soft); }
.form-section-head { margin-bottom: 1.3rem; }
.form-section-head h3 { margin: 0; font-size: 1.1rem; display: flex; align-items: center; gap: .6rem; }
.form-section-head .sec-num { width: 27px; height: 27px; border-radius: 8px; background: linear-gradient(135deg, var(--lp-indigo), var(--lp-magenta)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 800; flex-shrink: 0; }
.form-section-head p { margin: .35rem 0 0; color: var(--ink-faint); font-size: .9rem; }
.field { margin-bottom: 1.3rem; }
.field:last-child { margin-bottom: 0; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; }
.field-grid .field { margin-bottom: 0; }
@media (max-width: 620px) { .field-grid { grid-template-columns: 1fr; } }
.field-hint { color: var(--ink-faint); font-size: .85rem; margin: .35rem 0 0; }

/* Controle segmente (B2B / B2C / les deux) */
.segmented { display: inline-flex; background: var(--line-soft); border: 1px solid var(--line); border-radius: 11px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.segmented input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.segmented label { display: inline-flex; flex-direction: column; line-height: 1.2; cursor: pointer; padding: .5em .95em; border-radius: 8px; font-weight: 600; font-size: .95rem; color: var(--ink-soft); transition: .15s; }
.segmented label small { font-weight: 500; font-size: .74rem; color: var(--ink-faint); margin-top: 2px; }
.segmented input:checked + label { background: var(--surface); color: var(--brand-dk); box-shadow: var(--shadow-sm); }
.segmented input:checked + label small { color: var(--brand); }
.segmented input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 1px; }

/* Barre d'enregistrement */
.form-bar { display: flex; align-items: center; gap: 1rem; margin-top: 1.8rem; flex-wrap: wrap; }
.form-bar .spacer { flex: 1; }

/* ----- Panneau pedagogique "definition" ----- */
.def-panel { background: linear-gradient(180deg, var(--brand-soft), #fff); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin-bottom: 1.8rem; }
.def-panel h2 { margin: 0 0 .5rem; font-size: 1.1rem; }
.def-panel p { margin: .5rem 0 0; color: var(--ink-soft); }
.def-panel .def-why { font-size: .95rem; }

/* ----- Boutons secondaires ----- */
.btn-sm { padding: .42em .9em; font-size: .88rem; }
.btn-link-danger { background: none; border: none; cursor: pointer; font: inherit; font-size: .88rem; color: var(--ink-faint); padding: .42em .3em; }
.btn-link-danger:hover { color: var(--err); text-decoration: underline; }

/* ----- Listes d'items (personas, concurrents...) ----- */
.item-list { display: grid; gap: 1rem; margin-bottom: 1.6rem; }
.item-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm); }
.item-index { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--brand); }
.item-card-body h3 { margin: .15rem 0 0; font-size: 1.08rem; }
.item-empty { color: var(--ink-faint); font-style: italic; font-weight: 400; }
.item-excerpt { margin: .3rem 0 0; color: var(--ink-soft); font-size: .92rem; }
.item-card-actions { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.item-none { color: var(--ink-soft); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.3rem; text-align: center; margin-bottom: 1.6rem; }
.item-limit { color: var(--ink-faint); font-size: .92rem; }
@media (max-width: 560px) { .item-card { flex-direction: column; align-items: flex-start; } }

/* ----- Page exemple : sections + personas ----- */
.exemple-wrap { max-width: 760px; margin: 0 auto; }
.ex-section { scroll-margin-top: 90px; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.ex-section:first-of-type { border-top: none; padding-top: 0; }
.ex-persona { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-bottom: 1rem; box-shadow: var(--shadow-sm); }
.ex-persona h3 { margin: 0 0 .6rem; font-size: 1.12rem; }
.ex-persona .item-index { display: inline-block; margin-bottom: .1rem; }

/* ----- Ecran USP : emplacements de variantes ----- */
.usp-slot { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; margin-bottom: 1rem; transition: .15s; }
.usp-slot:last-child { margin-bottom: 0; }
.usp-slot.is-retenue { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.usp-slot-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; flex-wrap: wrap; }
.usp-slot-num { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--ink-faint); }
.usp-retenue { display: inline-flex; align-items: center; gap: .45em; font-size: .9rem; font-weight: 600; color: var(--brand-dk); cursor: pointer; }
.usp-retenue input { accent-color: var(--brand); width: 16px; height: 16px; }

/* ----- Ecran concurrents : typologie ----- */
.typo-list { list-style: none; margin: .8rem 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.typo-list li { color: var(--ink-soft); }
.typo-badge { display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .18em .6em; border-radius: 99px; margin-right: .4em; vertical-align: middle; }
.typo-direct { background: #e6f0ff; color: #2456c9; }
.typo-indirect { background: #fdf1dc; color: var(--warn); }
.typo-alternative { background: #eef0f6; color: var(--ink-soft); }
.field-highlight { background: var(--brand-soft); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius-sm); padding: 1rem 1.1rem; }

/* ----- Ecran idees de contenu : matrice ----- */
select.control { appearance: auto; background: var(--surface); cursor: pointer; }
.idee-form { margin-bottom: 2rem; scroll-margin-top: 90px; }
.matrice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.matrice-col { background: #fafbff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.matrice-titre { margin: 0 0 .8rem; font-size: 1rem; display: flex; align-items: center; justify-content: space-between; }
.matrice-count { font-size: .78rem; background: var(--brand-soft); color: var(--brand-dk); border-radius: 99px; padding: .1em .6em; font-weight: 700; }
.matrice-vide { color: var(--ink-faint); font-size: .88rem; font-style: italic; text-align: center; padding: .8rem 0; }
.idee-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .8rem .9rem; margin-bottom: .7rem; box-shadow: var(--shadow-sm); }
.idee-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .4rem; }
.idee-persona { font-size: .72rem; color: var(--ink-faint); }
.idee-sujet { margin: 0; font-weight: 600; font-size: .95rem; }
.idee-meta { margin: .3rem 0 0; font-size: .8rem; color: var(--ink-soft); }
.idee-actions { display: flex; align-items: center; gap: .8rem; margin-top: .6rem; font-size: .82rem; }
.idee-actions form { display: inline; }
.statut-badge { font-size: .68rem; font-weight: 700; padding: .12em .55em; border-radius: 99px; }
.statut-a_faire { background: var(--line-soft); color: var(--ink-soft); }
.statut-en_cours { background: #fdf1dc; color: var(--warn); }
.statut-publie { background: var(--ok-soft); color: var(--ok); }
@media (max-width: 720px) { .matrice { grid-template-columns: 1fr; } }

/* ----- Pages pedagogiques (doc) ----- */
.doc { max-width: 780px; margin: 0 auto; }
.module-soon { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; background: var(--brand-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem 1rem; font-size: .92rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.soon-badge { background: linear-gradient(135deg, var(--lp-indigo), var(--lp-magenta)); color: #fff; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .2em .7em; border-radius: 99px; }
.doc h2 { font-size: 1.3rem; margin: 2rem 0 .6rem; }
.doc h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
.doc p, .doc li { color: var(--ink-soft); }
.doc strong { color: var(--ink); }
.doc-list { padding-left: 1.3rem; }
.doc-list li { margin: .5rem 0; }
.doc-steps { padding-left: 1.3rem; }
.doc-steps li { margin: .6rem 0; }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 1.2rem 0; }
.doc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow-sm); }
.doc-card p { margin: 0; font-size: .92rem; }
.doc-cta { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin: 2.5rem 0 1rem; }
.doc-cta p { margin: 0 0 1rem; color: var(--ink); }

/* Reseaux sociaux */
.reseaux-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-top: 1rem; }
.reseau-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm); }
.reseau-card h3 { margin: 0 0 .5rem; color: var(--brand-dk); }
.reseau-card p { margin: .4rem 0; font-size: .92rem; }
.reseau-lab { display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-faint); margin-right: .3em; }
.reseau-desc { color: var(--ink-soft); }

/* ----- Hub de modules (tableau de bord) ----- */
.modules-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.modules-titre { font-size: 1.25rem; margin: 0; }
.modules-intro { color: var(--ink-soft); margin: .3rem 0 1.3rem; }
.modules-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.module-card { position: relative; display: flex; flex-direction: column; gap: .35rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-sm); transition: .18s; color: var(--ink); }
.module-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); border-color: #cdd2e6; }
.module-status { align-self: flex-start; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--lp-violet); background: #f4ecff; padding: .15em .6em; border-radius: 99px; }
.module-card h3 { margin: .3rem 0 0; font-size: 1.08rem; }
.module-card p { margin: 0; color: var(--ink-soft); font-size: .92rem; flex: 1; }
.module-go { color: var(--brand); font-weight: 600; font-size: .9rem; margin-top: .3rem; }

/* ----- Page Tarifs ----- */
.tarifs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1.2rem 0; }
.tarif-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.tarif-card h3 { margin: 0 0 .3rem; font-size: 1.08rem; }
.tarif-desc { color: var(--ink-soft); font-size: .9rem; margin: 0 0 1rem; flex: 1; }
.tarif-prix { margin: 0; font-size: 1.05rem; color: var(--ink-soft); }
.tarif-prix strong { font-size: 2rem; color: var(--ink); letter-spacing: -.02em; }
.tarif-remise { margin: .5rem 0 0; font-size: .85rem; color: var(--brand); background: var(--brand-soft); border-radius: var(--radius-sm); padding: .4em .7em; }
.tarifs-note { font-size: .85rem; color: var(--ink-faint); }
.doc-cta .btn + .btn { margin-left: .6rem; }

/* CTA visio (in-app) */
.visio-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    background: linear-gradient(135deg, var(--lp-navy-2), var(--lp-navy-3)); color: #fff; border-radius: var(--radius);
    padding: 1.2rem 1.5rem; margin-top: 2rem; }
.visio-cta p { margin: 0; }
.visio-cta strong { color: #fff; }
.visio-cta small { color: var(--lp-lav); }

/* ----- Exemple : sections usp/concurrents/contenus ----- */
.ex-persona.is-retenue { border-color: var(--brand); background: var(--brand-soft); }
.ex-tag { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--brand); background: #fff; border: 1px solid var(--brand); border-radius: 99px; padding: .1em .5em; margin-left: .4em; }
.ex-idees { list-style: none; margin: .5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.ex-idees li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .9rem; box-shadow: var(--shadow-sm); }
.ex-idee-meta { color: var(--ink-faint); font-size: .85rem; }

/* ============================================================
   POLISH ESPACE CLIENT (header + fond + stepper)
   ============================================================ */
body {
    background:
        radial-gradient(140% 80% at 50% -35%, #e9e8fb 0%, rgba(233,232,251,0) 55%),
        radial-gradient(120% 60% at 100% 0%, #eaf2ff 0%, rgba(234,242,255,0) 45%),
        #f4f5fa;
    background-attachment: fixed;
}
.app-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255,255,255,.72);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid rgba(228,231,240,.8);
    box-shadow: 0 10px 30px -24px rgba(31,32,60,.55);
}
.app-header::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--lp-indigo), var(--lp-violet), var(--lp-magenta));
}
.app-header .container { max-width: 1140px; }
.app-logo { font-size: 1.1rem; letter-spacing: -.01em; }
.app-logo-mark { width: 24px; height: 24px; box-shadow: 0 4px 12px -3px rgba(140,70,230,.6); }
.app-steps { gap: 3px; }
.app-steps a { font-size: .86rem; padding: .42em .72em; border-radius: 9px; color: var(--ink-soft); font-weight: 500; }
.app-steps a:hover { background: rgba(93,91,234,.08); color: var(--brand-dk); }
.app-steps a[aria-current="page"] {
    background: linear-gradient(180deg, #ffffff, #f3f2ff);
    color: var(--brand-dk); font-weight: 700;
    box-shadow: 0 1px 2px rgba(31,32,60,.08), inset 0 0 0 1px #e5e3fb;
}
.app-steps .step-num { font-weight: 800; color: var(--brand); opacity: .95; }
.app-user a:hover { color: var(--brand); }
.app-admin-link { color: var(--brand-dk) !important; }
/* Titres de page un peu plus premium */
.chapo-eyebrow { color: var(--lp-violet); }
.app-main > .container { padding-top: clamp(1.8rem, 4vw, 3rem); }
@media (max-width: 720px) {
    .app-header .container { max-width: 100%; }
}

/* ----- Reseaux : pastilles-logos ----- */
.reseau-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .6rem; }
.reseau-head h3 { margin: 0; color: var(--ink); }
.reseau-logo { flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1.05rem; box-shadow: 0 4px 12px -4px rgba(20,24,40,.4); }
.reseau-card { transition: .16s; }
.reseau-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #cdd2e6; }

/* ----- Bandeau de consultation (admin dans l'espace d'un client) ----- */
.consult-banner { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    background: linear-gradient(90deg, #b7791f, #d69e2e); color: #fff; padding: .6rem clamp(1rem, 4vw, 2rem); font-size: .9rem; }
.consult-banner strong { color: #fff; }
.consult-exit { background: rgba(255,255,255,.2); color: #fff; border: 1px solid rgba(255,255,255,.5); padding: .3em .9em; border-radius: 8px; font-weight: 600; white-space: nowrap; }
.consult-exit:hover { background: rgba(255,255,255,.32); text-decoration: none; }

/* ----- Admin : avancement + bouton consulter ----- */
.adm-prog { display: flex; align-items: center; gap: .5rem; }
.adm-prog-bar { width: 70px; height: 7px; background: var(--line); border-radius: 99px; overflow: hidden; }
.adm-prog-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--lp-indigo), var(--lp-magenta)); }
.adm-prog span { font-size: .82rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.btn-mini-primary { background: linear-gradient(180deg, var(--brand), var(--brand-dk)); color: #fff; border-color: transparent; }
.btn-mini-primary:hover { filter: brightness(1.08); color: #fff; background: linear-gradient(180deg, var(--brand), var(--brand-dk)); border-color: transparent; }

/* ============================================================
   ACCESSIBILITE
   ============================================================ */
/* Focus visible net et cohérent sur tous les éléments interactifs */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible, [tabindex]:focus-visible, .dash-card:focus-visible, .module-card:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 2px;
    border-radius: 4px;
}
/* Respect de la préférence "réduire les animations" */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .lp-hero-mesh { animation: none !important; }
}

/* ----- Module actif (hub) ----- */
.module-actif { border-color: #cdd2e6; }
.module-actif::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); box-shadow: inset 0 0 0 2px var(--brand-soft); pointer-events: none; }
.module-status.is-actif { color: var(--ok); background: var(--ok-soft); }

/* ----- Module Marketing de contenus : planning ----- */
.planning-mois { margin: 1.8rem 0 .7rem; font-size: 1rem; color: var(--brand-dk); border-bottom: 1px solid var(--line); padding-bottom: .3rem; }
.planning-list { margin-bottom: 2rem; }
.planning-item { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: .7rem; box-shadow: var(--shadow-sm); }
.planning-date { flex-shrink: 0; width: 52px; text-align: center; display: flex; flex-direction: column; line-height: 1; padding-top: .2rem; }
.pdate-jour { font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.pdate-mois { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-faint); margin-top: .15rem; }
.pdate-vide { font-size: 1.4rem; color: var(--ink-faint); }
.planning-body { flex: 1; min-width: 0; }
.planning-top { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .35rem; }
.planning-canal { font-size: .78rem; font-weight: 600; color: var(--brand-dk); background: var(--brand-soft); border-radius: 99px; padding: .12em .6em; }
.planning-titre { margin: 0; font-weight: 600; }
.planning-meta { margin: .3rem 0 0; font-size: .85rem; color: var(--ink-soft); display: flex; gap: .5rem; flex-wrap: wrap; }
.planning-motcle { color: var(--brand); font-weight: 600; }
.planning-actions { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; font-size: .82rem; flex-shrink: 0; }
.planning-actions form { display: inline; }
.statut-planif-idee { background: var(--line-soft); color: var(--ink-soft); }
.statut-planif-a_rediger { background: #fdf1dc; color: var(--warn); }
.statut-planif-programme { background: #e6f0ff; color: #2456c9; }
.statut-planif-publie { background: var(--ok-soft); color: var(--ok); }
@media (max-width: 560px) { .planning-item { flex-wrap: wrap; } .planning-actions { flex-direction: row; align-items: center; } }

/* ----- Module Routine marketing ----- */
.routine-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.routine-col { background: #fafbff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.routine-col-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.routine-col-head h3 { margin: 0; font-size: 1rem; }
.routine-prog { font-size: .78rem; font-weight: 700; background: var(--brand-soft); color: var(--brand-dk); border-radius: 99px; padding: .12em .6em; }
.routine-vide { color: var(--ink-faint); font-size: .85rem; font-style: italic; text-align: center; padding: .6rem 0; }
.routine-item { display: flex; align-items: center; gap: .6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .55rem .7rem; margin-bottom: .55rem; box-shadow: var(--shadow-sm); }
.routine-toggle { display: inline-flex; margin: 0; }
.routine-check { width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--line); background: var(--surface); cursor: pointer; color: #fff; font-weight: 800; font-size: .9rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: .12s; }
.routine-check:hover { border-color: var(--brand); }
.is-fait .routine-check,
.seo-item.is-ok .routine-check { background: var(--ok); border-color: var(--ok); }
.routine-lbl { flex: 1; min-width: 0; font-size: .92rem; }
.is-fait .routine-lbl { color: var(--ink-faint); text-decoration: line-through; }
.routine-actions { display: inline-flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.routine-actions form { display: inline-flex; margin: 0; }
.routine-actions a, .routine-del { color: var(--ink-faint); font-size: .9rem; text-decoration: none; background: none; border: none; cursor: pointer; padding: 2px; line-height: 1; }
.routine-actions a:hover { color: var(--brand); }
.routine-del:hover { color: var(--err); }
@media (max-width: 760px) { .routine-cols { grid-template-columns: 1fr; } }

/* ----- Page Prestations ----- */
.svc-intro { color: var(--ink-soft); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 1.2rem 0 1.5rem; }
.svc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.svc-card h3 { margin: 0 0 .5rem; font-size: 1.08rem; }
.svc-card p { margin: 0 0 1rem; color: var(--ink-soft); font-size: .93rem; flex: 1; }
.svc-cta { font-weight: 600; color: var(--brand); }
.svc-card-ext { background: linear-gradient(180deg, #fafbff, #fff); }
.svc-card-ext .svc-cta { color: var(--brand-dk); }

/* ----- Case de consentement RGPD (inscription) ----- */
.consent { display: flex; align-items: flex-start; gap: .6rem; margin: 1rem 0 .2rem; font-size: .85rem; color: var(--ink-soft); font-weight: 400; cursor: pointer; }
.consent input { margin-top: .2rem; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--brand); }
.consent a { font-weight: 600; }

/* ----- Tarifs (refonte) ----- */
.doc-narrow { max-width: 640px; }
.tarif-card { position: relative; text-align: center; align-items: center; }
.tarif-nom { font-size: 1.05rem; margin: 0 0 .2rem; }
.tarif-card .tarif-prix { margin: .4rem 0 0; color: var(--ink-soft); font-size: 1rem; }
.tarif-card .tarif-prix strong { font-size: 2.6rem; color: var(--ink); letter-spacing: -.03em; display: inline; }
.tarif-remise { margin: .6rem 0 0; font-size: .84rem; color: var(--brand-dk); background: var(--brand-soft); border-radius: 99px; padding: .35em .8em; }
.tarif-off { font-weight: 800; color: var(--ok); }
.tarif-desc { margin: .9rem 0 1.2rem; color: var(--ink-soft); font-size: .9rem; flex: 1; }
.tarif-btn { align-self: stretch; justify-content: center; margin-top: auto; }
.tarif-populaire { border-color: var(--brand); box-shadow: 0 10px 30px -14px rgba(79,70,229,.5); }
.tarif-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--lp-indigo), var(--lp-magenta)); color: #fff; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .25em .9em; border-radius: 99px; white-space: nowrap; }
.tarifs-how { margin-top: 2.5rem; }
.tarifs-steps { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .8rem; }
.tarifs-steps li { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow-sm); }
.tstep-num { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft); color: var(--brand-dk); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.tarifs-steps li div { display: flex; flex-direction: column; }
.tarifs-steps li span { color: var(--ink-soft); font-size: .9rem; }

/* CTA multi-boutons bien espacés */
.cta-row { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }
.doc-cta .cta-row { margin-top: .2rem; }

/* ----- Formulaire de contact ----- */
.contact-form .form-bar { align-items: center; }
.contact-alt { color: var(--ink-faint); font-size: .9rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ----- Admin : messages ----- */
.admin-msgs { display: grid; gap: 1rem; }
.admin-msg { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm); }
.admin-msg.is-unread { border-left: 3px solid var(--brand); }
.admin-msg-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.admin-msg-head a { color: var(--ink-soft); font-size: .9rem; }
.admin-msg-date { color: var(--ink-faint); font-size: .82rem; }
.admin-msg-sujet { margin: .5rem 0 .3rem; font-weight: 600; }
.admin-msg-body { margin: .3rem 0 0; color: var(--ink-soft); white-space: normal; }
.admin-msg-actions { display: flex; gap: .5rem; margin-top: .9rem; flex-wrap: wrap; }
.admin-msg-actions form { display: inline; margin: 0; }

/* ----- Segmented a 3 options pleine largeur (B2B/B2C) ----- */
.segmented-3 { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; max-width: 540px; }
.segmented-3 label { text-align: center; align-items: center; justify-content: center; padding: .55em .6em; }
.segmented-3 .seg-lab { font-size: .92rem; }
.segmented-3 label small { margin-top: 3px; }
@media (max-width: 460px) { .segmented-3 { grid-template-columns: 1fr; } }

/* ----- Icones de la section "Le principe" ----- */
.lp-ficon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; margin-bottom: 1rem; box-shadow: 0 8px 20px -8px rgba(140,70,230,.6); }
.lp-ficon svg { width: 24px; height: 24px; }
.lp-ficon-1 { background: linear-gradient(135deg, var(--lp-indigo), #7c74ff); }
.lp-ficon-2 { background: linear-gradient(135deg, var(--lp-violet), var(--lp-magenta)); }
.lp-ficon-3 { background: linear-gradient(135deg, #3aa0ff, var(--lp-indigo)); }
.lp-feature { position: relative; overflow: hidden; }
.lp-feature::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--lp-indigo), var(--lp-magenta)); opacity: 0; transition: .2s; }
.lp-feature:hover::before { opacity: 1; }

/* ----- Bloc benefices ----- */
.lp-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-top: 1.6rem; }
.lp-benefit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.lp-bicon { font-size: 1.8rem; line-height: 1; display: inline-block; margin-bottom: .6rem; }
.lp-benefit h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.lp-benefit p { margin: 0; color: var(--ink-soft); font-size: .93rem; }

/* ----- Synthese : blocs detailles ----- */
.syn-block { margin: 1rem 0; padding: .9rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.syn-block h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.syn-retenue { border-color: var(--brand); background: var(--brand-soft); }
.syn-comment { color: var(--ink-faint); font-size: .85rem; font-weight: 400; }
.syn-moment { margin: 1.1rem 0 .3rem; font-size: .95rem; color: var(--brand-dk); }
@media print { .syn-block { break-inside: avoid; border-color: #ccc; } }

/* ----- Tableau de donnees (contenus type Excel) ----- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--surface); margin-bottom: 1.6rem; }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 820px; }
.data-table thead th { text-align: left; background: var(--line-soft); color: var(--ink-faint); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; padding: .7em .8em; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table tbody td { padding: .6em .8em; border-top: 1px solid var(--line-soft); vertical-align: top; }
.data-table tbody tr:hover { background: #fafbff; }
.dt-sujet { font-weight: 600; min-width: 200px; }
.dt-angle { display: block; font-weight: 400; color: var(--ink-faint); font-size: .82rem; margin-top: .15rem; }
.dt-vide { color: var(--ink-faint); }
.dt-date { white-space: nowrap; font-variant-numeric: tabular-nums; }
.dt-mot { color: var(--brand); font-weight: 600; white-space: nowrap; }
.dt-actions { white-space: nowrap; }
.dt-actions a, .dt-actions button { color: var(--ink-faint); background: none; border: none; cursor: pointer; font-size: 1rem; text-decoration: none; padding: 2px 4px; }
.dt-actions a:hover { color: var(--brand); }
.dt-actions button:hover { color: var(--err); }
.dt-actions form { display: inline; }
/* Selecteur de statut inline colore */
.statut-inline { margin: 0; }
.statut-pick { font: inherit; font-size: .78rem; font-weight: 600; border: 1px solid var(--line); border-radius: 99px; padding: .25em 1.4em .25em .7em; cursor: pointer; -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .5em center; }
.statut-pick-idee { background-color: var(--line-soft); color: var(--ink-soft); }
.statut-pick-a_rediger { background-color: #fdf1dc; color: var(--warn); }
.statut-pick-programme { background-color: #e6f0ff; color: #2456c9; }
.statut-pick-publie { background-color: var(--ok-soft); color: var(--ok); }

/* ----- Bouton "Marquer comme terminee" ----- */
.etape-terminee-row { margin-top: 1.2rem; }
.etape-done-form { display: inline-block; }
.btn-etape-done { font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; padding: .55em 1.1em; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); transition: .15s; }
.btn-etape-done:hover { border-color: var(--ok); color: var(--ok); }
.btn-etape-done.is-done { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }

/* ----- Etats des cartes du tableau de bord ----- */
.dash-a_faire .dash-state { color: var(--ink-faint); }
.dash-commence .dash-state { color: var(--brand); }
.dash-commence .dash-num { color: var(--brand-soft); }
.dash-termine { border-color: #bfe8d6; }
.dash-termine .dash-state { color: var(--ok); }
.dash-termine .dash-num { color: #cdeee0; }
.dash-termine::after { content: "✓"; position: absolute; top: 1rem; right: 1.1rem; color: var(--ok); font-weight: 800; font-size: 1.1rem; }
.dash-termine .dash-num { visibility: hidden; }

/* ----- Menu Modules (details natif) ----- */
.modules-menu { position: relative; }
.modules-menu > summary { list-style: none; cursor: pointer; color: var(--ink-soft); font-size: .9rem; padding: .2em .1em; display: inline-flex; align-items: center; gap: .3em; }
.modules-menu > summary::-webkit-details-marker { display: none; }
.modules-menu > summary::after { content: "▾"; font-size: .8em; }
.modules-menu[open] > summary { color: var(--brand); }
.modules-dropdown { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 30; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .4rem; min-width: 210px; display: flex; flex-direction: column; }
.modules-dropdown a { padding: .55em .8em; border-radius: 8px; color: var(--ink); font-size: .92rem; }
.modules-dropdown a:hover { background: var(--brand-soft); color: var(--brand-dk); text-decoration: none; }
@media (max-width: 640px) { .modules-dropdown { right: auto; left: 0; } }

/* ----- Reseaux sociaux : selection + presence ----- */
.reseau-card { position: relative; display: flex; flex-direction: column; }
.reseau-card .reseau-head { position: relative; }
.reseau-reco { position: absolute; top: 0; right: 0; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ok); background: var(--ok-soft); padding: .15em .5em; border-radius: 99px; }
.reseau-card.is-choisi { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.reseau-choix { margin: .8rem 0 0; }
.reseau-pour { margin-bottom: .2rem; }
.presence-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 1rem 0; box-shadow: var(--shadow-sm); }
.presence-card .reseau-head { margin-bottom: .6rem; }
.presence-card ol { margin: .3rem 0 0; }

/* ----- Entonnoir de conversion ----- */
.funnel { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 1.4rem 0; }
.funnel-stage { width: 100%; max-width: 620px; color: #fff; text-align: center; padding: 1rem .8rem; display: flex; flex-direction: column; gap: 2px; clip-path: polygon(6% 0, 94% 0, 82% 100%, 18% 100%); }
.funnel-1 { background: linear-gradient(135deg, var(--lp-indigo), #7c74ff); }
.funnel-2 { max-width: 500px; background: linear-gradient(135deg, var(--lp-violet), var(--lp-violet-l)); }
.funnel-3 { max-width: 380px; background: linear-gradient(135deg, var(--lp-magenta), #e07be0); }
.funnel-lab { font-weight: 800; font-size: 1.05rem; letter-spacing: .01em; }
.funnel-sub { font-size: .82rem; opacity: .95; }

/* ----- Details persona/concurrent dans la liste ----- */
.item-details { margin-top: .6rem; }
.item-details > summary { cursor: pointer; color: var(--brand); font-size: .88rem; font-weight: 600; list-style: none; display: inline-flex; align-items: center; gap: .3em; }
.item-details > summary::-webkit-details-marker { display: none; }
.item-details > summary::after { content: "▾"; font-size: .8em; }
.item-details[open] > summary::after { content: "▴"; }
.item-details-body { margin-top: .6rem; }
.item-details .syn-field { grid-template-columns: 170px 1fr; }

/* ----- Menu app en deux phases (Strategie / Mise en oeuvre) ----- */
.app-nav2 { display: flex; align-items: center; gap: .25rem; margin-left: auto; margin-right: auto; flex-wrap: wrap; }
.app-nav-link { color: var(--ink-soft); font-weight: 500; font-size: .9rem; padding: .42em .7em; border-radius: 8px; }
.app-nav-link:hover { background: var(--line-soft); color: var(--ink); text-decoration: none; }
.app-nav-link[aria-current="page"] { background: var(--brand-soft); color: var(--brand-dk); font-weight: 600; }
.nav-group { position: relative; }
.nav-group > summary { list-style: none; cursor: pointer; color: var(--ink-soft); font-weight: 500; font-size: .9rem; padding: .42em .7em; border-radius: 8px; display: inline-flex; align-items: center; gap: .3em; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after { content: "▾"; font-size: .72em; opacity: .7; }
.nav-group > summary:hover { background: var(--line-soft); color: var(--ink); }
.nav-group.is-current > summary { background: var(--brand-soft); color: var(--brand-dk); font-weight: 600; }
.nav-group[open] > summary { background: var(--line-soft); }
.nav-drop { position: absolute; left: 0; top: calc(100% + .4rem); z-index: 30; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .35rem; min-width: 235px; display: flex; flex-direction: column; }
.nav-drop-titre { font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-faint); padding: .4em .8em .2em; font-weight: 700; }
.nav-drop a { padding: .5em .8em; border-radius: 8px; color: var(--ink); font-size: .92rem; }
.nav-drop a:hover { background: var(--brand-soft); color: var(--brand-dk); text-decoration: none; }
@media (max-width: 760px) { .app-nav2 { order: 3; width: 100%; margin: .4rem 0 0; } .nav-drop { position: static; box-shadow: none; border-color: var(--line-soft); margin: .2rem 0 .4rem .5rem; } }

/* ----- Titres de phase (tableau de bord) ----- */
.dash-phase { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; margin: 2.2rem 0 .8rem; }
.dash-phase:first-of-type { margin-top: 1rem; }
.dash-phase-num { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--lp-indigo), var(--lp-magenta)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; font-weight: 800; flex-shrink: 0; }

/* ----- Landing : les deux phases ----- */
.lp-phases { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.6rem; }
.lp-phase { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.lp-phase-tag { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #fff; background: linear-gradient(135deg, var(--lp-indigo), var(--lp-magenta)); padding: .2em .7em; border-radius: 99px; margin-bottom: .6rem; }
.lp-phase h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.lp-phase > p { color: var(--ink-soft); margin: 0 0 .8rem; }
.lp-phase ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.lp-phase li { position: relative; padding-left: 1.5rem; color: var(--ink); font-size: .95rem; }
.lp-phase li::before { content: "→"; position: absolute; left: 0; color: var(--lp-violet); font-weight: 700; }
@media (max-width: 680px) { .lp-phases { grid-template-columns: 1fr; } }

/* ----- Audit ----- */
.audit-price { display: flex; align-items: baseline; gap: .8rem; margin: 1.2rem 0; padding: 1.2rem 1.4rem; background: var(--brand-soft); border-radius: var(--radius); border: 1px solid #e5e3fb; }
.audit-price-val { font-size: 2.2rem; font-weight: 800; color: var(--brand-dk); letter-spacing: -.02em; }
.audit-price-cap { color: var(--ink-soft); }
.audit-teaser { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; background: linear-gradient(135deg, var(--brand-soft), #fff); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.audit-teaser p { margin: 0; }
.audit-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; padding: 1.2rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.audit-cta.is-ready { border-color: var(--brand); background: linear-gradient(135deg, var(--brand-soft), #fff); }
.audit-cta-txt { color: var(--ink-soft); }
.audit-cta-txt strong { color: var(--ink); }
.audit-cta-prix { display: inline-block; font-weight: 800; color: var(--brand-dk); background: var(--brand-soft); border-radius: 99px; padding: .1em .6em; font-size: .85rem; margin-left: .3rem; }

/* ----- Module SEO/GEO : checklist ----- */
.seo-section { font-size: 1.05rem; margin: 1.6rem 0 .6rem; color: var(--brand-dk); }
.seo-list { display: flex; flex-direction: column; gap: .55rem; }
.seo-item { display: flex; gap: .7rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .9rem; box-shadow: var(--shadow-sm); }
.seo-item.is-ok { border-color: #bfe8d6; background: linear-gradient(180deg, var(--ok-soft), #fff); }
.seo-toggle { margin: 0; display: inline-flex; }
.seo-item-txt { display: flex; flex-direction: column; }
.seo-lbl { font-weight: 600; font-size: .95rem; }
.seo-item.is-ok .seo-lbl { color: var(--ink-soft); }
.seo-aide { font-size: .85rem; color: var(--ink-faint); margin-top: .1rem; }

/* ----- Bandeau "confirmez votre email" ----- */
.verif-banner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: #fdf1dc; color: #7a5410; border-bottom: 1px solid #f0d9a8; padding: .55rem clamp(1rem, 4vw, 2rem); font-size: .9rem; }
.verif-banner strong { color: #5c3f0c; }
.verif-resend { background: #fff; color: var(--warn); border: 1px solid #e6c980; padding: .3em .9em; border-radius: 8px; font-weight: 600; white-space: nowrap; }
.verif-resend:hover { background: #fffaf0; text-decoration: none; }

/* ----- Module Marketing offline ----- */
.idees-offline { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: .7rem; margin-bottom: 1rem; }
.idee-offline { display: flex; align-items: center; justify-content: space-between; gap: .8rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .9rem; box-shadow: var(--shadow-sm); font-size: .92rem; }
.idee-offline.is-added { background: linear-gradient(180deg, var(--ok-soft), #fff); border-color: #bfe8d6; }
.idee-offline form { margin: 0; flex-shrink: 0; }
.idee-added { font-size: .78rem; font-weight: 700; color: var(--ok); white-space: nowrap; }
.offline-add { display: flex; gap: .6rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; }
.offline-add .control { flex: 1; min-width: 220px; }
.offline-lbl { margin: 0; font-weight: 500; }
.offline-lbl.is-fait { color: var(--ink-faint); text-decoration: line-through; }

/* Separateur "Synthese" dans le menu Analyse strategique */
.nav-drop-sep { margin-top: .3rem; border-top: 1px solid var(--line-soft); padding-top: .55em !important; color: var(--brand-dk) !important; font-weight: 600; }

/* ----- Boite a outils ----- */
.outils-cat { font-size: 1.1rem; margin: 1.8rem 0 .7rem; color: var(--brand-dk); }
.outils-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.outil-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.outil-head { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; }
.outil-head h3 { margin: 0; font-size: 1.05rem; }
.outil-tag { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ok); background: var(--ok-soft); border-radius: 99px; padding: .15em .55em; white-space: nowrap; }
.outil-sert { color: var(--ink-soft); margin: .5rem 0; font-size: .93rem; }
.outil-demarrer { color: var(--ink-soft); font-size: .88rem; margin: 0 0 .9rem; flex: 1; }
.outil-lab { display: block; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-faint); }
.outil-lien { font-weight: 600; color: var(--brand); align-self: flex-start; }

/* Routine : barre d'outils impression */
.routine-toolbar { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin: 0 0 1.2rem; }
.routine-toolbar-hint { font-size: .85rem; color: var(--ink-soft); }

/* ============================================================
   Page /audit — mise en page enrichie
   ============================================================ */
.audit-hero {
    background: linear-gradient(135deg, var(--lp-navy-2), var(--lp-navy-3) 55%, var(--lp-violet));
    color: #fff; border-radius: var(--radius); padding: 2rem 2rem 1.6rem;
    box-shadow: 0 18px 40px -18px rgba(15, 39, 79, .55); margin-bottom: 2rem;
}
.audit-hero-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 700; color: var(--lp-violet-l); }
.audit-hero-titre { margin: .3rem 0 0; color: #fff; font-size: 2rem; letter-spacing: -.02em; }
.audit-hero-sub { color: rgba(255,255,255,.85); margin: .7rem 0 0; max-width: 56ch; }
.audit-hero-foot { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.5rem; }
.audit-hero-price { display: flex; flex-direction: column; }
.audit-hero-price-val { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.audit-hero-price-cap { color: rgba(255,255,255,.7); font-size: .85rem; margin-top: .2rem; }
.btn-on-dark { margin-left: auto; }

.audit-h2 { margin: 2.2rem 0 1rem; }

.audit-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.audit-benefit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-sm); }
.audit-benefit-ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; font-size: 1.1rem; font-weight: 800; margin-bottom: .7rem; }
.audit-benefit.is-fort   .audit-benefit-ico { background: var(--ok-soft); color: var(--ok); }
.audit-benefit.is-faible .audit-benefit-ico { background: #fdf0e6; color: #c26510; }
.audit-benefit.is-action .audit-benefit-ico { background: var(--brand-soft); color: var(--brand-dk); }
.audit-benefit h3 { margin: 0 0 .3rem; font-size: 1.02rem; }
.audit-benefit p { margin: 0; color: var(--ink-soft); font-size: .92rem; }

.audit-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.audit-step { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm); }
.audit-step-num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--lp-navy-3), var(--lp-violet)); box-shadow: 0 4px 12px -3px rgba(140,70,230,.6); }
.audit-step-txt h3 { margin: .15rem 0 .25rem; font-size: 1.02rem; }
.audit-step-txt p { margin: 0; color: var(--ink-soft); font-size: .92rem; }

.audit-hia { background: linear-gradient(180deg, var(--brand-soft), #fff); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin: 2.2rem 0 1rem; }
.audit-hia-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.audit-hia-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem; }
.audit-hia-tag { display: inline-block; font-weight: 800; color: var(--brand-dk); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .4rem; }
.audit-hia-card p { margin: 0; font-size: .92rem; color: var(--ink); }
.audit-hia-note { margin: 1rem 0 0; font-weight: 600; color: var(--ink); }

@media (max-width: 560px) {
    .audit-hero { padding: 1.5rem 1.3rem; }
    .audit-hero-titre { font-size: 1.6rem; }
    .btn-on-dark { margin-left: 0; }
}

/* ============================================================
   Modules « Vente & relation client » — composants partagés
   ============================================================ */
/* Aide contextuelle inline (icône ?) */
.aide-inline { margin: .3rem 0 .8rem; }
.aide-inline > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 600; color: var(--brand-dk); }
.aide-inline > summary::-webkit-details-marker { display: none; }
.aide-inline-q { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: .72rem; flex-shrink: 0; }
.aide-inline[open] > summary { margin-bottom: .5rem; }
.aide-inline-body { background: var(--brand-soft); border-radius: var(--radius-sm); border-left: 3px solid var(--brand); padding: .7em 1em; font-size: .9rem; color: var(--ink); }
.aide-inline-body p { margin: 0; }

/* Exemple affichable sur demande */
.exemple-box { margin: .6rem 0 1.2rem; border: 1px dashed var(--line); border-radius: var(--radius-sm); background: #fbfcff; }
.exemple-box > summary { cursor: pointer; padding: .6em .9em; font-weight: 600; font-size: .9rem; color: var(--brand-dk); }
.exemple-box[open] > summary { border-bottom: 1px dashed var(--line); }
.exemple-box-body { padding: .9em 1.1em; font-size: .92rem; color: var(--ink); white-space: normal; line-height: 1.55; }

/* Sections de module (blocs numérotés) */
.vc-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); margin-bottom: 1.6rem; }
.vc-block-head { display: flex; align-items: baseline; gap: .6rem; margin-bottom: .3rem; }
.vc-block-head h2 { margin: 0; font-size: 1.15rem; }
.vc-block-num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: var(--brand-soft); color: var(--brand-dk); font-weight: 800; font-size: .85rem; flex-shrink: 0; }
.vc-block-intro { color: var(--ink-soft); font-size: .92rem; margin: 0 0 1rem; }

/* Groupes de cases à cocher */
.chk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .5rem .9rem; margin: .4rem 0 .8rem; }
.chk-item { display: flex; align-items: flex-start; gap: .5rem; font-size: .92rem; color: var(--ink); cursor: pointer; padding: .35rem .2rem; }
.chk-item input { margin-top: .15rem; width: 16px; height: 16px; accent-color: var(--brand); flex-shrink: 0; }

/* Barre d'enregistrement de bloc */
.vc-save { margin-top: .6rem; }
.vc-saved-flag { color: var(--ok); font-size: .85rem; font-weight: 600; margin-left: .6rem; }

/* Tableau responsive scrollable */
.table-scroll { overflow-x: auto; margin: .6rem 0 1rem; }

/* Petites listes de lignes (au fil de l'eau) réutilisant .data-table */
.vc-row-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .6rem; align-items: end; margin-top: .8rem; }
.vc-row-form .field { margin: 0; }

/* ---- Réseau : badges qualité du lien ---- */
.q-badge { display: inline-block; padding: .12em .6em; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.q-froid { background: #eef2fb; color: #4a5a86; }
.q-tiede { background: #fdf2e3; color: #b26a12; }
.q-chaud { background: #fde7e7; color: #c0392b; }

/* ---- Emailing : séquences ---- */
.vc-seq { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1.1rem; margin-bottom: .9rem; background: #fbfcff; }
.vc-seq h3 { margin: 0 0 .5rem; font-size: 1rem; }

/* ---- Argumentaire : bibliothèque d'objections ---- */
.obj-list { display: grid; gap: 1rem; }
.obj-card { display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; background: #fbfcff; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.obj-card-main { flex: 1; }
.obj-card h3 { margin: 0 0 .5rem; font-size: 1.02rem; }
.obj-card p { margin: .3rem 0; font-size: .92rem; color: var(--ink); }
.obj-card p span { font-weight: 700; color: var(--ink-soft); }
.obj-rebond { color: var(--brand-dk); }

/* ---- Flashcards ---- */
.fc-app { max-width: 620px; margin: .6rem 0; }
.fc-card { min-height: 190px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--surface); padding: 1.5rem; display: flex; align-items: center; justify-content: center; text-align: center; }
.fc-face { width: 100%; }
.fc-hint { display: block; text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; font-weight: 700; color: var(--brand); margin-bottom: .3rem; }
.fc-front p { font-size: 1.35rem; font-weight: 700; color: var(--ink); margin: .4rem 0 1rem; }
.fc-back p { font-size: 1rem; color: var(--ink); margin: .3rem 0 .9rem; }
.fc-rebond { color: var(--brand-dk) !important; font-style: italic; }
.fc-controls { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.fc-counter { margin-top: .8rem; color: var(--ink-soft); font-size: .85rem; }

/* ---- Téléprospection : encart externalisation ---- */
.vc-externaliser { background: linear-gradient(180deg, var(--brand-soft), #fff); border-left: 3px solid var(--brand); }
.vc-externaliser p { color: var(--ink); }
