/* ═══════════════════════════════════════════════════════
   D3-Cyber — Feuille de style principale
   Thème : Dark / Souverain / Technique
   ═══════════════════════════════════════════════════════ */

/* ─── Variables ──────────────────────────────────────── */
:root {
    --bg:           #070b14;
    --bg-surface:   #0d1424;
    --bg-card:      #111827;
    --bg-card-dark: #0a1020;
    --border:       #1a2440;
    --border-light: #243056;

    --accent:       #00aaff;
    --accent-dim:   rgba(0, 170, 255, 0.10);
    --accent-glow:  rgba(0, 170, 255, 0.20);
    --green:        #00e87a;
    --green-dim:    rgba(0, 232, 122, 0.10);
    --yellow:       #fbbf24;
    --red:          #f87171;

    --text:         #e2e8f0;
    --text-muted:   #64748b;
    --text-dim:     #94a3b8;

    --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
    --font-mono:    'JetBrains Mono', 'Courier New', monospace;

    --radius:       10px;
    --radius-lg:    16px;
    --radius-xl:    24px;

    --shadow:       0 4px 24px rgba(0,0,0,.4);
    --shadow-lg:    0 8px 48px rgba(0,0,0,.5);
    --glow-accent:  0 0 30px rgba(0,170,255,.15);
}

/* ─── Reset & Base ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: #33bbff; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.4px;
}

/* ─── Utilitaires ────────────────────────────────────── */
.container {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-accent { color: var(--accent); }
.text-mono   { font-family: var(--font-mono); }
.lead        { font-size: 1.125rem; color: var(--text-dim); line-height: 1.75; }

.section { padding: 5rem 0; overflow-x: hidden; }
.section-dark { background: var(--bg-surface); }

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}
.section-header h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: .75rem; }
.section-header p  { color: var(--text-muted); font-size: 1.05rem; }

.section-label {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .75rem;
}

.section-cta { text-align: center; margin-top: 2.5rem; }

.check-icon { color: var(--green); font-weight: 700; margin-right: .4rem; }

/* ─── Boutons ────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .65rem 1.4rem;
    border-radius: var(--radius);
    font-size: .9rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all .2s;
    border: none;
    white-space: nowrap;
}
.btn-lg  { padding: .875rem 2rem; font-size: 1rem; }
.btn-sm  { padding: .45rem 1rem; font-size: .82rem; }
.btn-full { width: 100%; }

.btn-primary {
    background: var(--accent);
    color: #000;
}
.btn-primary:hover {
    background: #33bbff;
    color: #000;
    box-shadow: 0 0 24px rgba(0,170,255,.35);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}
.btn-outline:hover {
    background: var(--accent-dim);
    color: var(--accent);
    box-shadow: var(--glow-accent);
}

.btn-nav {
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid rgba(0,170,255,.3);
    padding: .5rem 1.1rem;
    font-size: .85rem;
}
.btn-nav:hover {
    background: var(--accent);
    color: #000;
}

/* ─── Navigation ─────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 10000;
    border-bottom: 1px solid var(--border);
    height: 68px;
}
.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(7,11,20,.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: -1;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.logo {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}
.logo-d3    { color: var(--accent); }
.logo-cyber { color: var(--text); }

/* ─── Nav list ───────────────────────────────────────── */
.nav-links {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
}
.nav-item { position: relative; }

/* Plain link (Tarifs) */
.nav-link {
    display: block;
    padding: .4rem .75rem;
    color: var(--text-dim);
    font-size: .875rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-link.active { color: var(--text); }

/* ─── Dropdown trigger button ────────────────────────── */
.nav-dropdown-btn {
    display: flex;
    align-items: center;
    gap: .3rem;
    padding: .4rem .75rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dim);
    font-family: var(--font-sans);
    font-size: .875rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: color .15s, background .15s;
    white-space: nowrap;
}
.nav-dropdown-btn:hover,
.has-dropdown:hover .nav-dropdown-btn { color: var(--text); background: rgba(255,255,255,.05); }
.nav-dropdown-btn.active { color: var(--accent); }

.nav-chevron { transition: transform .2s ease; flex-shrink: 0; }
.has-dropdown:hover .nav-chevron,
.has-dropdown.is-open .nav-chevron { transform: rotate(180deg); }

/* ─── Dropdown panel ─────────────────────────────────── */
/* Pont invisible qui comble le gap entre le bouton et le panel */
.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    height: 12px;
}
.nav-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    min-width: 270px;
    background: #080f1e;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: .4rem;
    box-shadow: 0 24px 64px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.03);
    visibility: hidden;
    opacity: 0;
    transition: opacity .15s ease, visibility .15s ease;
    pointer-events: none;
}
/* Small arrow above panel */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -5px; left: 50%;
    transform: translateX(-50%);
    width: 10px; height: 5px;
    background: var(--border-light);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.has-dropdown:hover .nav-dropdown {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
}

/* ─── Dropdown items ─────────────────────────────────── */
.nav-dd-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .6rem .8rem;
    border-radius: calc(var(--radius) - 2px);
    color: var(--text-dim);
    text-decoration: none;
    transition: background .12s, color .12s;
}
.nav-dd-item:hover { background: rgba(255,255,255,.05); color: var(--text); }
.nav-dd-item.active { color: var(--accent); }
.nav-dd-item.active .nav-dd-icon { background: var(--accent-dim); color: var(--accent); }

.nav-dd-icon {
    width: 30px; height: 30px;
    border-radius: 7px;
    background: rgba(255,255,255,.06);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: background .12s, color .12s;
}
.nav-dd-item:hover .nav-dd-icon { background: rgba(255,255,255,.09); color: var(--text-dim); }
.nav-dd-icon-green { background: rgba(0,232,122,.08) !important; color: var(--green) !important; }

.nav-dd-label {
    display: block;
    font-size: .85rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
}
.nav-dd-desc {
    display: block;
    font-size: .73rem;
    color: var(--text-muted);
    margin-top: .1rem;
    line-height: 1.4;
}
.nav-dd-separator {
    height: 1px;
    background: var(--border);
    margin: .3rem .8rem;
}

/* ─── CTA group ──────────────────────────────────────── */
.nav-cta-group {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-left: .75rem;
    padding-left: 1rem;
    border-left: 1px solid var(--border);
}

/* ─── Burger toggle ──────────────────────────────────── */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s ease, opacity .2s ease;
}

/* Burger → X quand menu ouvert */
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ───────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 68px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,170,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,170,255,.04) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.hero-glow-1 {
    width: 600px;
    height: 600px;
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(0,170,255,.1) 0%, transparent 70%);
}
.hero-glow-2 {
    width: 400px;
    height: 400px;
    bottom: 50px;
    left: 5%;
    background: radial-gradient(circle, rgba(0,232,122,.06) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 5rem 1.5rem;
    width: 100%;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-dim);
    border: 1px solid rgba(0,170,255,.25);
    color: var(--accent);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 1.75rem;
}
.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    line-height: 1.75;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}
.hero-subtitle strong { color: var(--text); }

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    overflow: hidden;
    width: fit-content;
    margin: 0 auto;
}
.stat {
    padding: 1.25rem 2rem;
    text-align: center;
}
.stat-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-mono);
    letter-spacing: -1px;
}
.stat-label {
    display: block;
    font-size: .75rem;
    color: var(--text-muted);
    margin-top: .2rem;
    white-space: nowrap;
}
.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
}

.hero-scroll {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    color: var(--text-muted);
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    z-index: 10;
    transition: opacity .3s ease;
}
.hero-scroll.hidden {
    opacity: 0;
    pointer-events: none;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scrollLine 1.5s ease-in-out infinite;
}

/* ─── Cards ──────────────────────────────────────────── */
.cards-grid { display: grid; gap: 1.5rem; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: border-color .3s, box-shadow .3s;
    position: relative;
}
.card:hover { border-color: var(--border-light); }

.card-dark {
    background: var(--bg-card-dark);
    border-color: var(--border);
}

.card-glow:hover { box-shadow: var(--glow-accent); }

.card-featured {
    border-color: rgba(0,170,255,.35);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0,170,255,.04) 100%);
}

.card-badge {
    position: absolute;
    top: -1px;
    right: 1.5rem;
    background: var(--accent);
    color: #000;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 0 0 var(--radius) var(--radius);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-dim);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--accent);
}
.card-icon svg { width: 24px; height: 24px; }

.card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.card p  { color: var(--text-muted); font-size: .92rem; line-height: 1.6; }

.card-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--accent);
}

.card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: .75rem;
}
.card-date, .card-author {
    font-size: .78rem;
    color: var(--text-muted);
}

/* ─── Steps ──────────────────────────────────────────── */
.how-it-works { background: var(--bg-surface); }

.steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}
.step {
    flex: 1;
    text-align: center;
    padding: 2rem 1.5rem;
}
.step-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    opacity: .25;
    line-height: 1;
    margin-bottom: 1rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.step p  { color: var(--text-muted); font-size: .9rem; line-height: 1.65; }

.step-connector {
    flex-shrink: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--accent), transparent);
    margin-top: 2.5rem;
    opacity: .3;
}

/* ─── Terminal ───────────────────────────────────────── */
.terminal {
    background: #0a0f1c;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.terminal-bar {
    background: #111827;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--border);
}
.t-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.t-red    { background: #ff5f57; }
.t-yellow { background: #febc2e; }
.t-green  { background: #28c840; }
.t-title  { font-family: var(--font-mono); font-size: .75rem; color: var(--text-muted); margin-left: 8px; }

.terminal-body {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-mono);
    font-size: .82rem;
    line-height: 2;
}
.terminal-body p { white-space: nowrap; overflow: hidden; }
.t-green-text  { color: var(--green); }
.t-blue-text   { color: var(--accent); }
.t-yellow-text { color: var(--yellow); }
.t-gray        { color: var(--text-muted); }
.t-cursor      { color: var(--accent); animation: blink 1s step-end infinite; }

/* ─── Tech Proof Section ─────────────────────────────── */
.tech-proof { background: var(--bg-surface); }
.tech-proof-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.tech-list {
    list-style: none;
    margin: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.tech-list li { color: var(--text-dim); font-size: .95rem; }

/* ─── Split Section ──────────────────────────────────── */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.split-content h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }

/* ─── Feature List ───────────────────────────────────── */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-top: 2rem;
}
.feature-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}
.feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--accent-dim);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-top: 2px;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-item h4 { font-size: 1rem; margin-bottom: .35rem; }
.feature-item p  { color: var(--text-muted); font-size: .88rem; line-height: 1.6; }

/* ─── Spec Card ──────────────────────────────────────── */
.spec-card {
    background: var(--bg-card-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.spec-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: .875rem 1.25rem;
    background: #111827;
    border-bottom: 1px solid var(--border);
    font-size: .82rem;
    font-family: var(--font-mono);
    color: var(--text-dim);
}
.spec-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.spec-status.online {
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: pulse 2s infinite;
}
.spec-list {
    list-style: none;
    padding: .5rem 0;
}
.spec-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 1.25rem;
    font-size: .82rem;
    font-family: var(--font-mono);
    border-bottom: 1px solid rgba(255,255,255,.04);
}
.spec-list li:last-child { border-bottom: none; }
.spec-list span:first-child { color: var(--text-muted); }
.spec-list span:last-child  { color: var(--green); }

/* ─── SLA Table ──────────────────────────────────────── */
.sla-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
.sla-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .92rem;
}
.sla-table thead tr {
    background: var(--bg-card-dark);
    border-bottom: 1px solid var(--border-light);
}
.sla-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.sla-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.sla-table tbody tr:last-child td { border-bottom: none; }
.sla-table tbody tr { background: var(--bg-card); }
.sla-table tbody tr:hover { background: var(--bg-surface); }
.sla-table td strong { display: block; margin-bottom: .25rem; }
.sla-table td span   { font-size: .82rem; color: var(--text-muted); }
.sla-value {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--green);
}

/* ─── Priority Grid ──────────────────────────────────── */
.priority-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.priority-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border-top-width: 3px;
}
.priority-p1 { border-top-color: var(--red); }
.priority-p2 { border-top-color: var(--yellow); }
.priority-p3 { border-top-color: var(--green); }

.priority-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}
.priority-badge {
    font-family: var(--font-mono);
    font-size: .75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}
.priority-p1 .priority-badge { background: rgba(248,113,113,.15); color: var(--red); }
.priority-p2 .priority-badge { background: rgba(251,191,36,.15);  color: var(--yellow); }
.priority-p3 .priority-badge { background: var(--green-dim);      color: var(--green); }
.priority-label { font-size: .85rem; color: var(--text-muted); }

.priority-card h4 { font-size: .95rem; margin-bottom: .5rem; }
.priority-card p  { color: var(--text-muted); font-size: .85rem; margin-bottom: 1rem; }
.priority-sla {
    display: grid;
    grid-template-columns: auto auto;
    gap: .25rem .75rem;
    font-size: .82rem;
}
.priority-sla span { color: var(--text-muted); }
.priority-sla strong { color: var(--text); font-family: var(--font-mono); }

/* ─── Mini List ──────────────────────────────────────── */
.mini-list {
    list-style: none;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.mini-list li {
    font-size: .85rem;
    color: var(--text-muted);
    padding-left: 1.1rem;
    position: relative;
}
.mini-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: .75rem;
}

/* ─── Compare Grid ───────────────────────────────────── */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.compare-col {
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
}
.compare-bad  { background: rgba(248,113,113,.04); border-color: rgba(248,113,113,.2); }
.compare-good { background: var(--green-dim); border-color: rgba(0,232,122,.2); }

.compare-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.5rem;
}
.compare-header h3 { font-size: 1.05rem; }
.compare-icon { font-size: 1.2rem; }
.compare-icon.bad  { color: var(--red); }
.compare-icon.good { color: var(--green); }

.compare-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .7rem;
}
.compare-list li { font-size: .9rem; color: var(--text-dim); line-height: 1.5; }
.compare-bad  .compare-list li::before { content: '✗ '; color: var(--red); font-weight: 700; }
.compare-good .compare-list li::before { content: '✓ '; color: var(--green); font-weight: 700; }

/* ─── Sovereignty Section ────────────────────────────── */
.sovereignty-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.75rem;
}
.sov-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.sov-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--accent-dim);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}
.sov-icon svg { width: 18px; height: 18px; }
.sov-point h4 { font-size: .95rem; margin-bottom: .3rem; }
.sov-point p  { font-size: .87rem; color: var(--text-muted); line-height: 1.55; }

/* ─── France Card ────────────────────────────────────── */
.france-card {
    background: var(--bg-card-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}
.france-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.25rem;
    font-size: .9rem;
    font-weight: 600;
}
.flag { font-size: 1.5rem; }
.france-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem 0;
    font-size: .88rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-dim);
}
.france-item:last-of-type { border-bottom: none; }
.fi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
    box-shadow: 0 0 6px var(--green);
}
.fi-dot.bad { background: var(--red); box-shadow: 0 0 6px var(--red); }
.france-separator {
    text-align: center;
    padding: .75rem 0;
    font-size: .72rem;
    color: var(--text-muted);
    letter-spacing: .08em;
    text-transform: uppercase;
    border-top: 1px solid var(--border);
    margin-top: .25rem;
    position: relative;
}
.france-outside {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding-top: .5rem;
    font-size: .85rem;
    color: var(--text-muted);
}

/* ─── Expertise Grid ─────────────────────────────────── */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}
.expertise-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
.exp-number {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    flex-shrink: 0;
}
.exp-content h4 { font-size: .95rem; margin-bottom: .4rem; }
.exp-content p  { font-size: .85rem; color: var(--text-muted); line-height: 1.55; }

/* ─── Label / Cert ───────────────────────────────────── */
.label-section {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}
.label-content h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.label-content p  { color: var(--text-dim); margin-bottom: .75rem; line-height: 1.7; }
.label-points {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: 1.25rem;
}
.lp-item { font-size: .9rem; color: var(--text-dim); }

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    min-width: 240px;
}
.cert-logo {
    display: flex;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 1rem;
}
.cert-card h4 { font-size: 1.1rem; margin-bottom: .25rem; }
.cert-card p  { color: var(--text-muted); font-size: .85rem; margin-bottom: 1rem; }
.cert-status  { margin-bottom: .75rem; }
.status-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}
.status-badge.in-progress {
    background: rgba(251,191,36,.15);
    color: var(--yellow);
    border: 1px solid rgba(251,191,36,.3);
}
.cert-note { font-size: .78rem; color: var(--text-muted); line-height: 1.5; }

/* ─── Black Box Diagram ──────────────────────────────── */
.blackbox-diagram {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
}
.bb-left, .bb-right { padding: 1rem; }
.bb-left h4, .bb-right h4 {
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: .75rem;
}
.bb-left ul, .bb-right ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.bb-left li, .bb-right li {
    font-size: .88rem;
    color: var(--text-dim);
    padding-left: 1rem;
    position: relative;
}
.bb-left li::before  { content: '→'; position: absolute; left: 0; color: var(--accent); }
.bb-right li::before { content: '←'; position: absolute; left: 0; color: var(--green); }

.bb-center { text-align: center; }
.bb-box {
    background: linear-gradient(135deg, var(--bg-card-dark), rgba(0,170,255,.04));
    border: 1px solid rgba(0,170,255,.3);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    box-shadow: var(--glow-accent);
    min-width: 200px;
}
.bb-label {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .5rem;
}
.bb-box p { font-size: .95rem; font-weight: 600; margin-bottom: 1rem; line-height: 1.4; }
.bb-flow {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    justify-content: center;
}
.bb-flow span {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--accent-dim);
    color: var(--accent);
}

/* ─── Blog Grid ──────────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.75rem;
}
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s;
}
.blog-card:hover { border-color: var(--border-light); box-shadow: var(--glow-accent); }
.blog-card-image img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-image-placeholder {
    width: 100%;
    height: 200px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-card-body { padding: 1.75rem; }
.blog-card-body h2 { font-size: 1.1rem; margin: .5rem 0 .75rem; }
.blog-card-body h2 a { color: var(--text); }
.blog-card-body h2 a:hover { color: var(--accent); }
.blog-card-body p { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.25rem; }

/* ─── Article Layout ─────────────────────────────────── */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}
.article-image { margin-bottom: 2rem; border-radius: var(--radius-lg); overflow: hidden; }
.article-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dim);
}
.article-body p    { margin-bottom: 1.25rem; }
.article-body h2   { font-size: 1.4rem; margin: 2rem 0 .75rem; color: var(--text); }
.article-body h3   { font-size: 1.15rem; margin: 1.5rem 0 .5rem; color: var(--text); }
.article-body ul   { margin: 0 0 1.25rem 1.5rem; }
.article-body code { font-family: var(--font-mono); font-size: .85em; background: var(--bg-surface); padding: 2px 6px; border-radius: 4px; color: var(--accent); }
.article-body pre  { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; overflow-x: auto; margin-bottom: 1.5rem; }
.article-body pre code { background: none; padding: 0; color: var(--text-dim); font-size: .875rem; line-height: 1.6; }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: .9rem; }
.article-body th { background: var(--bg-surface); color: var(--text); padding: .6rem 1rem; text-align: left; border-bottom: 1px solid var(--border-light); }
.article-body td { padding: .6rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-dim); }
.article-body strong { color: var(--text); }
.article-body li { margin-bottom: .4rem; }
.article-meta-top  { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }

/* ─── Blog tag / read time ───────────────────────────── */
.blog-tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .25rem .65rem;
    border-radius: 20px;
    background: var(--accent-dim);
    color: var(--accent);
}
.read-time {
    font-size: .8rem;
    color: var(--text-muted);
}
.card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-bottom: .5rem; }

.article-sidebar { position: sticky; top: 88px; }
.sidebar-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}
.sidebar-block h4 { font-size: .9rem; margin-bottom: 1rem; }
.sidebar-articles { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.sidebar-articles li { font-size: .85rem; }
.sidebar-articles a { color: var(--text-dim); }
.sidebar-articles a:hover { color: var(--accent); }
.sidebar-articles span { display: block; font-size: .75rem; color: var(--text-muted); margin-top: .2rem; }
.sidebar-cta p { color: var(--text-muted); font-size: .85rem; margin-bottom: 1rem; }

/* ─── Page Hero ──────────────────────────────────────── */
.page-hero {
    position: relative;
    padding-top: calc(68px + 5rem);
    padding-bottom: 5rem;
    overflow: hidden;
}
.page-hero-sm { padding-bottom: 3rem; }

.page-hero-content {
    position: relative;
    z-index: 1;
}
.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    letter-spacing: -1.5px;
    margin-bottom: 1rem;
    margin-top: .75rem;
}
.page-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.7;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--border-light); }

/* ─── Contact ────────────────────────────────────────── */
.contact { background: var(--bg-surface); }
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.contact-content h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.contact-content p  { color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.contact-info { display: flex; flex-direction: column; gap: .5rem; }
.contact-link { font-size: 1.05rem; font-weight: 600; color: var(--accent); }
.contact-location { font-size: .85rem; color: var(--text-muted); }

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text-dim); }
.form-group input,
.form-group textarea,
.form-group select {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .7rem 1rem;
    font-size: .9rem;
    color: var(--text);
    font-family: var(--font-sans);
    transition: border-color .2s;
    width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

/* ─── CTA Section ────────────────────────────────────── */
.cta-section { background: var(--bg-surface); }
.cta-box {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0,170,255,.06) 100%);
    border: 1px solid rgba(0,170,255,.25);
    border-radius: var(--radius-xl);
    padding: 4rem;
    text-align: center;
    box-shadow: var(--glow-accent);
}
.cta-box h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.cta-box p  { color: var(--text-muted); max-width: 560px; margin: 0 auto 2rem; line-height: 1.7; }

/* ─── Tech Tags ──────────────────────────────────────── */
.tech-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.tag {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .05em;
    padding: 3px 9px;
    border-radius: 4px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

/* ─── Empty State ────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--text-muted);
}
.empty-icon { display: flex; justify-content: center; margin-bottom: 1.25rem; opacity: .4; }
.empty-state h3 { font-size: 1.2rem; margin-bottom: .5rem; color: var(--text); }

/* ─── Footer ─────────────────────────────────────────── */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    overflow-x: hidden;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-logo { font-size: 1.3rem; font-weight: 800; margin-bottom: .5rem; }
.footer-tagline { color: var(--text-muted); font-size: .88rem; line-height: 1.6; margin-bottom: .5rem; }
.footer-location { color: var(--text-muted); font-size: .82rem; }

.footer-col h4 {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col a  { font-size: .88rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: .78rem;
    color: var(--text-muted);
}
.footer-legal { margin-top: .5rem; }
.footer-legal a { color: var(--text-muted); text-decoration: none; }
.footer-legal a:hover { color: var(--text); }
.footer-precreation {
    margin-top: .4rem;
    font-size: .75rem;
    color: rgba(100, 116, 139, .7);
    font-style: italic;
}

/* ─── Pagination ──────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.pagination-info { font-size: .85rem; color: var(--text-muted); }

/* ─── Blog filtres catégorie ─────────────────────────── */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2rem;
}
.blog-filter-btn {
    padding: .4rem .9rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: .82rem;
    cursor: pointer;
    text-decoration: none;
    transition: border-color .2s, color .2s, background .2s;
}
.blog-filter-btn:hover,
.blog-filter-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

/* ─── Animations ──────────────────────────────────────── */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .35; }
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}
@keyframes scrollLine {
    0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50%  { opacity: 1; }
    100% { opacity: 0; transform: scaleY(1); transform-origin: top; }
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .cards-3 { grid-template-columns: repeat(2, 1fr); }
    .tech-proof-inner,
    .split-section,
    .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .label-section { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .expertise-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .priority-grid { grid-template-columns: 1fr; }
    .compare-grid { grid-template-columns: 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .blackbox-diagram { grid-template-columns: 1fr; }
    .container { padding: 0 1.25rem; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: fixed;
        top: 68px; left: 0; right: 0; bottom: 0;
        background: rgba(7, 11, 20, .98);
        backdrop-filter: blur(20px);
        padding: 1rem 1.25rem 2rem;
        gap: 0;
        overflow-y: auto;
        z-index: 9999;
    }
    .nav-links.open { display: flex; }

    /* Mobile nav item */
    .nav-item { width: 100%; border-bottom: 1px solid var(--border); }
    .nav-item:last-child { border-bottom: none; }

    .nav-dropdown-btn {
        width: 100%;
        justify-content: space-between;
        padding: .9rem 0;
        font-size: .95rem;
        border-radius: 0;
        background: none;
    }
    .nav-dropdown-btn:hover { background: none; }

    .nav-link {
        display: block;
        padding: .9rem 0;
        font-size: .95rem;
        border-radius: 0;
        background: none;
    }
    .nav-link:hover { background: none; }

    /* Dropdown: accordion inline */
    .nav-dropdown {
        position: static;
        transform: none;
        visibility: visible;
        opacity: 1;
        pointer-events: all;
        display: none;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0 0 .75rem 1rem;
        min-width: auto;
    }
    .nav-dropdown::before { display: none; }
    .has-dropdown.is-open .nav-dropdown { display: block; }

    .nav-dd-item { padding: .5rem 0; }
    .nav-dd-desc { display: none; }
    .nav-dd-icon { width: 24px; height: 24px; border-radius: 5px; }

    /* CTA group */
    .nav-cta-group {
        flex-direction: column;
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        margin-top: .75rem;
        padding-top: .75rem;
        border-top: 1px solid var(--border);
        border-bottom: none;
        gap: .65rem;
    }
    .nav-cta-group .btn { width: 100%; text-align: center; justify-content: center; }

    .cards-3 { grid-template-columns: 1fr; }
    .cards-2 { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; width: 100%; border-radius: var(--radius); }
    .stat-divider { width: 100%; height: 1px; }
    .steps { flex-direction: column; }
    .step-connector { width: 1px; height: 30px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .cta-box { padding: 2rem 1.5rem; }
    .hero-cta { flex-direction: column; }
    .btn-lg { width: 100%; }
    .pricing-grid { grid-template-columns: 1fr; }
    .hero-title { letter-spacing: -0.5px; }
    .hero-badge { white-space: normal; text-align: center; justify-content: center; max-width: 100%; }
    .stat-label { white-space: normal; }
    .cert-card { min-width: 0; }
    .section { padding: 3rem 0; }
    .newsletter-inline-block { flex-direction: column; gap: 1.5rem; }
    .newsletter-inline-content { min-width: 0; }
    .newsletter-form-lg { width: 100%; flex-direction: column; }
    .newsletter-form-lg input[type="email"] { min-width: 0; width: 100%; }
    .newsletter-form-lg .btn { width: 100%; white-space: normal; }
    .section-header { margin-bottom: 2rem; }
    .card { padding: 1.5rem; }
}

/* ─── Pricing ────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: relative;
    transition: border-color .3s, box-shadow .3s;
}
.pricing-card:hover { border-color: var(--border-light); box-shadow: var(--glow-accent); }

.pricing-card-featured {
    border-color: rgba(0,170,255,.4);
    background: linear-gradient(160deg, var(--bg-card) 0%, rgba(0,170,255,.05) 100%);
    box-shadow: var(--glow-accent);
}

.pricing-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #000;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 0 0 var(--radius) var(--radius);
    white-space: nowrap;
}

.pricing-header { margin-bottom: 1.5rem; }
.pricing-tier {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .75rem;
}
.pricing-price { margin-bottom: .75rem; }
.price-amount {
    font-size: 2.4rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--text);
    letter-spacing: -1px;
}
.price-unit {
    font-size: .82rem;
    color: var(--text-muted);
    margin-left: .25rem;
}
.pricing-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.pricing-features li { font-size: .88rem; color: var(--text-dim); }
.pricing-no { color: var(--text-muted) !important; opacity: .5; }
.pricing-no .check-icon { color: var(--text-muted) !important; }

/* ─── FAQ ────────────────────────────────────────── */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item h4 { font-size: 1rem; margin-bottom: .5rem; }
.faq-item p  { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

/* ─── Testimonials ───────────────────────────────── */
.card-testimonial { display: flex; flex-direction: column; gap: 1rem; }
.card-testimonial-featured {
    border-color: rgba(0,170,255,.35);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0,170,255,.04) 100%);
}
.testimonial-stars { color: var(--yellow); font-size: 1rem; letter-spacing: 2px; }
.testimonial-text {
    color: var(--text-dim);
    font-size: .93rem;
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: .25rem;
}
.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-dim);
    border: 1px solid rgba(0,170,255,.25);
    color: var(--accent);
    font-size: .78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .9rem; }
.testimonial-author span   { display: block; font-size: .75rem; color: var(--text-muted); line-height: 1.4; }

/* ─── Contact success ────────────────────────────── */
.contact-success {
    background: var(--bg-card);
    border: 1px solid rgba(0,232,122,.3);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.success-icon {
    width: 56px;
    height: 56px;
    background: var(--green-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
}
.success-icon svg { width: 28px; height: 28px; }
.contact-success h3 { font-size: 1.35rem; }
.contact-success p  { color: var(--text-muted); font-size: .95rem; }

/* ─── Form errors ────────────────────────────────── */
.form-error {
    font-size: .78rem;
    color: var(--red);
    margin-top: .2rem;
}

/* ─── Trust / Confiance page ─────────────────────────── */
.trust-pillars-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2.5rem;
}
.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .5rem 1rem .5rem .5rem;
    font-size: .82rem;
    color: var(--text-dim);
    transition: border-color .2s, color .2s;
}
.trust-pill:hover { border-color: var(--accent); color: var(--accent); }
.trust-pill-num {
    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-dim);
    border-radius: 999px;
    padding: 2px 8px;
}

.trust-section { position: relative; overflow: hidden; }

.trust-number-bg {
    position: absolute;
    top: 2rem;
    right: -1rem;
    font-family: var(--font-mono);
    font-size: clamp(8rem, 15vw, 14rem);
    font-weight: 900;
    color: rgba(0,170,255,.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.trust-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.trust-content-grid-reverse { direction: rtl; }
.trust-content-grid-reverse > * { direction: ltr; }

.trust-text .lead { margin-bottom: 1.5rem; }

.trust-argument { margin: 1.5rem 0; }
.argument-quote {
    background: var(--bg-card);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1rem 1.25rem;
    font-size: .95rem;
    color: var(--text-dim);
    font-style: italic;
    line-height: 1.65;
}

.trust-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.75rem;
}
.trust-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.tp-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--accent-dim);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-top: 2px;
}
.tp-icon svg { width: 18px; height: 18px; }
.trust-point h4 { font-size: .95rem; margin-bottom: .3rem; }
.trust-point p  { font-size: .87rem; color: var(--text-muted); line-height: 1.6; }

.spec-card-footer {
    padding: .6rem 1.25rem;
    font-family: var(--font-mono);
    font-size: .78rem;
    border-top: 1px solid var(--border);
    background: var(--bg-card-dark);
}
.visual-caption {
    font-size: .75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: .75rem;
    font-style: italic;
}

/* Zero-Knowledge diagram */
.zk-diagram {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    margin-bottom: 1rem;
}
.zk-step { text-align: center; flex: 1; }
.zk-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto .75rem;
}
.zk-icon svg { width: 24px; height: 24px; }
.zk-client { background: var(--green-dim); color: var(--green); }
.zk-server { background: var(--accent-dim); color: var(--accent); opacity: .6; }
.zk-step-label { font-size: .85rem; font-weight: 600; }
.zk-step-sub { font-size: .75rem; color: var(--text-muted); margin-top: .2rem; }
.zk-locked { color: var(--yellow) !important; }

.zk-arrow { flex: 1; text-align: center; }
.zk-arrow-line {
    height: 2px;
    background: linear-gradient(to right, var(--green), var(--accent));
    margin-bottom: .5rem;
    opacity: .5;
}
.zk-arrow-label { font-size: .72rem; color: var(--text-muted); line-height: 1.4; }
.zk-arrow-label span { color: var(--green); font-weight: 600; }

.zk-key-card {
    background: var(--bg-card-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}
.zk-key-header {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
}
.zk-key-owner {
    display: flex;
    justify-content: space-between;
    font-size: .82rem;
    padding: .4rem 0;
    border-bottom: 1px solid var(--border);
}
.zk-key-owner:last-child { border-bottom: none; }
.zk-key-label { color: var(--text-muted); }
.zk-key-value { color: var(--green); font-weight: 600; font-family: var(--font-mono); font-size: .78rem; }
.zk-no { color: var(--red) !important; }

/* Legal comparison */
.legal-comparison { display: flex; flex-direction: column; gap: 1rem; }
.legal-col {
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border);
}
.legal-bad  { background: rgba(248,113,113,.04); border-color: rgba(248,113,113,.2); }
.legal-good { background: var(--green-dim); border-color: rgba(0,232,122,.2); }
.legal-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}
.legal-flag { font-size: 1.4rem; }
.legal-header strong { display: block; font-size: .95rem; }
.legal-header span { font-size: .78rem; color: var(--text-muted); }
.legal-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.legal-item-bad,
.legal-item-good {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .85rem;
    line-height: 1.5;
    color: var(--text-dim);
}
.legal-item-bad  svg { color: var(--red);   flex-shrink: 0; margin-top: 2px; }
.legal-item-good svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }

/* Monitoring card */
.monitoring-card {
    background: #0a0f1c;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.monitoring-body { padding: 1.25rem; }
.monitor-section { margin-bottom: .75rem; }
.monitor-section-label {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}
.monitor-section-label.good { color: var(--green); }
.monitor-section-label.bad  { color: var(--red); }
.monitor-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.monitor-list li {
    font-family: var(--font-mono);
    font-size: .78rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: .5rem;
}
.monitor-list-bad li { opacity: .55; text-decoration: line-through; }
.monitor-divider { height: 1px; background: var(--border); margin: .75rem 0; }
.t-red-text { color: var(--red); }

.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1024px) {
    .trust-content-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .trust-content-grid-reverse { direction: ltr; }
    .trust-pillars-nav { gap: .5rem; }
    .zk-diagram { flex-direction: column; }
    .zk-arrow-line { width: 2px; height: 30px; margin: 0 auto .5rem; background: linear-gradient(to bottom, var(--green), var(--accent)); }
}

/* ─── 4th pillar card (homepage) ─────────────────── */
.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .cards-4 { grid-template-columns: 1fr; } }

.card-dev {
    border-color: rgba(0,232,122,.25);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0,232,122,.04) 100%);
}
.card-dev:hover { box-shadow: 0 0 30px rgba(0,232,122,.12); }
.card-badge-green {
    background: var(--green);
    color: #000;
}
.card-icon-green {
    background: var(--green-dim) !important;
    color: var(--green) !important;
}

/* ─── Dev showcase (homepage section) ───────────── */
.dev-showcase-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.dev-security-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--green-dim);
    border: 1px solid rgba(0,232,122,.25);
    color: var(--green);
    font-size: .78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    margin: 1rem 0 1.5rem;
}
.dev-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .65rem;
    margin-bottom: 2rem;
}
.dev-feature-list li {
    display: flex;
    gap: .6rem;
    font-size: .9rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.dev-showcase-apps {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.dev-app-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    transition: border-color .2s;
}
.dev-app-card:hover { border-color: var(--border-light); }
.dev-app-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dev-app-icon svg { width: 18px; height: 18px; }
.dev-app-crm  { background: var(--accent-dim); color: var(--accent); }
.dev-app-doc  { background: var(--green-dim);  color: var(--green); }
.dev-app-erp  { background: rgba(251,191,36,.12); color: var(--yellow); }
.dev-app-msg  { background: var(--accent-dim); color: var(--accent); }
.dev-app-name    { font-size: .9rem; font-weight: 600; }
.dev-app-replaces { font-size: .75rem; color: var(--text-muted); }
.dev-app-badge {
    margin-left: auto;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--green-dim);
    color: var(--green);
    white-space: nowrap;
}
.dev-app-cta {
    text-align: right;
    font-size: .85rem;
    padding-top: .25rem;
}
.dev-app-cta a { color: var(--accent); font-weight: 600; }

@media (max-width: 1024px) {
    .dev-showcase-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ─── Developpement page ─────────────────────────── */
.saas-risk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.saas-risk-card {
    background: rgba(248,113,113,.04);
    border: 1px solid rgba(248,113,113,.15);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.srk-header {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    margin-bottom: .75rem;
}
.srk-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.srk-bad  {}
.srk-header strong { display: block; font-size: .95rem; margin-bottom: .2rem; }
.srk-header span   { font-size: .78rem; color: var(--text-muted); }
.saas-risk-card p  { font-size: .87rem; color: var(--text-muted); line-height: 1.6; }

.saas-conclusion {
    background: var(--green-dim);
    border: 1px solid rgba(0,232,122,.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.saas-conclusion-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(0,232,122,.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
}
.saas-conclusion-icon svg { width: 20px; height: 20px; }
.saas-conclusion p { font-size: .95rem; color: var(--text-dim); line-height: 1.65; }

.dev-approach-grid {
    display: flex;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}
.dev-approach-item {
    flex: 1;
    text-align: center;
    padding: 1.5rem 1rem;
}
.dai-step {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    opacity: .25;
    line-height: 1;
    margin-bottom: .75rem;
}
.dev-approach-item h3 { font-size: 1rem; margin-bottom: .5rem; }
.dev-approach-item p  { font-size: .87rem; color: var(--text-muted); line-height: 1.6; }
.dai-connector {
    flex-shrink: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--accent), transparent);
    margin-top: 2.25rem;
    opacity: .3;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color .2s, box-shadow .2s;
}
.solution-card:hover { border-color: var(--border-light); box-shadow: var(--glow-accent); }

.solution-card-featured {
    border-color: rgba(0,232,122,.3);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0,232,122,.04) 100%);
}
.solution-badge {
    position: absolute;
    top: -1px;
    right: 1.5rem;
    background: var(--green);
    color: #000;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 0 0 var(--radius) var(--radius);
}
.solution-card-custom {
    border-color: rgba(0,170,255,.3);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0,170,255,.04) 100%);
}
.solution-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.solution-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.solution-icon svg { width: 20px; height: 20px; }
.solution-icon-blue   { background: var(--accent-dim); color: var(--accent); }
.solution-icon-green  { background: var(--green-dim);  color: var(--green); }
.solution-icon-yellow { background: rgba(251,191,36,.12); color: var(--yellow); }
.solution-icon-accent { background: var(--accent-dim); color: var(--accent); }

.solution-header h3 { font-size: 1rem; margin-bottom: .2rem; }
.solution-replaces { font-size: .75rem; color: var(--text-muted); }

.solution-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    flex: 1;
}
.solution-features li {
    font-size: .85rem;
    color: var(--text-dim);
    padding-left: 1rem;
    position: relative;
}
.solution-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: .72rem;
}

.solution-security {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    color: var(--green);
    font-weight: 600;
    border-top: 1px solid var(--border);
    padding-top: .75rem;
    margin-top: auto;
}

.solution-custom-text {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
}

.dev-ownership-badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--green-dim);
    border: 1px solid rgba(0,232,122,.25);
    border-radius: var(--radius);
    padding: .75rem 1rem;
    font-size: .85rem;
    color: var(--green);
    font-weight: 600;
    margin-top: 1.5rem;
    line-height: 1.4;
}

/* Dev add-on banner (tarifs page) */
.dev-addon-banner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0,232,122,.05) 100%);
    border: 1px solid rgba(0,232,122,.25);
    border-radius: var(--radius-xl);
    padding: 2rem 2.5rem;
}
.dev-addon-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--green-dim);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
}
.dev-addon-icon svg { width: 24px; height: 24px; }
.dev-addon-content { flex: 1; }
.dev-addon-content h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.dev-addon-content p  { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 1024px) {
    .saas-risk-grid  { grid-template-columns: 1fr; }
    .solutions-grid  { grid-template-columns: 1fr; }
    .dev-approach-grid { flex-direction: column; align-items: center; }
    .dai-connector { width: 1px; height: 30px; margin: 0 auto; background: linear-gradient(to bottom, var(--accent), transparent); }
    .dev-addon-banner { flex-direction: column; text-align: center; }
}

/* ─── Monitor honest/neutral section ────────────── */
.monitor-section-label.neutral { color: var(--yellow); }
.monitor-list-neutral li { opacity: 1; text-decoration: none; }
.monitor-honest-note {
    font-size: .72rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.5;
    border: 1px solid rgba(251,191,36,.2);
    background: rgba(251,191,36,.05);
    border-radius: var(--radius);
    padding: .5rem .75rem;
    margin-bottom: .75rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NOUVELLES SECTIONS — COMMERCIAL & FIDÉLISATION
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Navbar bouton ghost ─────────────────────────────────────────────────── */
.btn-nav-ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,.2);
    color: var(--text-secondary);
    margin-right: .25rem;
}
.btn-nav-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ─── FAQ accordion ───────────────────────────────────────────────────────── */
.faq-category { margin-bottom: 3rem; }
.faq-category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.faq-item {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius);
    margin-bottom: .5rem;
    overflow: hidden;
    background: rgba(255,255,255,.02);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: background .15s;
}
.faq-question:hover { background: rgba(255,255,255,.04); }
.faq-question[aria-expanded="true"] { color: var(--accent); }
.faq-chevron { flex-shrink: 0; transition: transform .2s; }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    animation: fadeIn .2s ease;
}
.container-narrow { max-width: 760px; }

/* ─── ROI Calculator ──────────────────────────────────────────────────────── */
.roi-calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}
@media (max-width: 768px) { .roi-calculator { grid-template-columns: 1fr; } }
.roi-inputs { display: flex; flex-direction: column; gap: 1.5rem; }
.roi-field label {
    display: block;
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: .4rem;
}
.roi-field input {
    width: 100%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 1.1rem;
    padding: .6rem .9rem;
}
.roi-field input:focus { outline: none; border-color: var(--accent); }
.roi-result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(0,0,0,.2);
    border-radius: var(--radius);
}
.roi-result-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.roi-result-value {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: .25rem 0 .5rem;
}
.roi-result-green { color: #4ade80; }
.roi-note { font-size: .78rem; color: var(--text-muted); margin-top: 1rem; line-height: 1.5; }

/* ─── References grid ─────────────────────────────────────────────────────── */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}
.cas-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color .2s, transform .2s;
}
.cas-card:hover { border-color: rgba(255,255,255,.18); transform: translateY(-2px); }
.cas-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.cas-secteur { font-weight: 600; color: var(--accent); }
.cas-taille { font-size: .8rem; color: var(--text-muted); }
.cas-card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.cas-block p { color: var(--text-secondary); font-size: .9rem; margin-top: .35rem; line-height: 1.6; }
.cas-label {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
}
.cas-resultat .cas-label { color: #4ade80; }

/* ─── Status page ─────────────────────────────────────────────────────────── */
.status-global {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 2rem;
}
.status-global-ok { background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.3); color: #4ade80; }
.status-global-warn { background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.3); color: #fbbf24; }
.status-grid { border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); overflow: hidden; }
.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.status-row:last-child { border-bottom: none; }
.status-service-info { display: flex; flex-direction: column; gap: .2rem; }
.status-service-name { font-weight: 500; }
.status-service-desc { font-size: .8rem; color: var(--text-muted); }
.status-indicator {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    font-weight: 500;
    padding: .3rem .8rem;
    border-radius: 999px;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.status-ok { background: rgba(74,222,128,.1); color: #4ade80; }
.status-ok .status-dot { background: #4ade80; box-shadow: 0 0 6px #4ade80; }
.status-degrade { background: rgba(251,191,36,.1); color: #fbbf24; }
.status-degrade .status-dot { background: #fbbf24; }
.status-panne { background: rgba(239,68,68,.1); color: #ef4444; }
.status-panne .status-dot { background: #ef4444; box-shadow: 0 0 6px #ef4444; }
.status-updated { font-size: .78rem; color: var(--text-muted); margin-top: 1rem; text-align: right; }

/* ─── RDV / Créneaux ──────────────────────────────────────────────────────── */
.rdv-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .rdv-layout { grid-template-columns: 1fr; } }
.creneaux-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: .75rem;
    margin-top: 1rem;
}
.creneau-card {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: 1rem;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-primary);
    transition: border-color .15s, background .15s;
    cursor: pointer;
}
.creneau-card:hover { border-color: var(--accent); background: rgba(139,92,246,.06); }
.creneau-selected { border-color: var(--accent) !important; background: rgba(139,92,246,.12) !important; }
.creneau-date { font-size: .8rem; color: var(--text-muted); text-transform: capitalize; }
.creneau-heure { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 700; color: var(--accent); }
.creneau-duree { font-size: .75rem; color: var(--text-muted); }
.creneau-titre { font-size: .85rem; font-weight: 500; margin-top: .3rem; }
.rdv-form-wrap { padding: 2rem; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); }
.rdv-creneau-recap {
    padding: .75rem 1rem;
    background: rgba(139,92,246,.1);
    border: 1px solid rgba(139,92,246,.3);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: .9rem;
}

/* ─── Client portal ───────────────────────────────────────────────────────── */
.client-body { background: var(--bg-primary); }
.client-layout { display: flex; min-height: 100vh; }
.client-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: rgba(255,255,255,.03);
    border-right: 1px solid rgba(255,255,255,.08);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0;
}
.client-sidebar-logo { padding: 0 1.5rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.client-nav { padding: 1rem 0; flex: 1; }
.client-nav-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: .9rem;
    transition: color .15s, background .15s;
}
.client-nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,.04); }
.client-nav-link.active { color: var(--accent); background: rgba(139,92,246,.1); border-right: 2px solid var(--accent); }
.client-sidebar-footer { padding: 1rem 1.5rem; border-top: 1px solid rgba(255,255,255,.08); }
.client-user { font-size: .85rem; font-weight: 500; margin-bottom: .5rem; }
.client-logout { font-size: .8rem; color: var(--text-muted); text-decoration: none; }
.client-logout:hover { color: #ef4444; }
.client-main { flex: 1; display: flex; flex-direction: column; overflow-x: hidden; }
.client-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    flex-wrap: wrap;
    gap: 1rem;
}
.client-header h1 { font-size: 1.5rem; margin: 0; }
.client-subtitle { color: var(--text-muted); font-size: .9rem; margin-top: .25rem; }
.client-content { padding: 2rem 2.5rem; flex: 1; }
.client-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.client-info-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius);
    padding: 1.25rem;
}
.client-info-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: .4rem; }
.client-info-value { font-size: 1.4rem; font-weight: 700; font-family: var(--font-mono); }
.client-section { margin-bottom: 2.5rem; }
.client-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.client-section-header h2 { font-size: 1.1rem; }
.btn-sm { padding: .35rem .8rem; font-size: .8rem; }
.client-see-all { font-size: .85rem; color: var(--accent); text-decoration: none; display: block; margin-top: .75rem; }
.client-empty { color: var(--text-muted); font-size: .9rem; }
.client-empty-state { text-align: center; padding: 3rem; color: var(--text-muted); }
.client-form-wrap { max-width: 640px; }

/* ─── Tickets ─────────────────────────────────────────────────────────────── */
.ticket-list { display: flex; flex-direction: column; gap: .5rem; }
.ticket-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-primary);
    transition: border-color .15s, background .15s;
    gap: 1rem;
}
.ticket-card:hover { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.05); }
.ticket-card-left { display: flex; align-items: center; gap: .75rem; flex: 1; min-width: 0; }
.ticket-card-right { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.ticket-titre { font-size: .95rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket-date { font-size: .78rem; color: var(--text-muted); }
.badge-priorite, .badge-statut {
    padding: .2rem .6rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    white-space: nowrap;
    flex-shrink: 0;
}
.badge-basse { background: rgba(156,163,175,.15); color: #9ca3af; }
.badge-normale { background: rgba(96,165,250,.15); color: #60a5fa; }
.badge-haute { background: rgba(251,191,36,.15); color: #fbbf24; }
.badge-critique { background: rgba(239,68,68,.15); color: #ef4444; }
.badge-ouvert { background: rgba(96,165,250,.15); color: #60a5fa; }
.badge-en_cours { background: rgba(251,191,36,.15); color: #fbbf24; }
.badge-resolu { background: rgba(74,222,128,.15); color: #4ade80; }
.badge-ferme { background: rgba(156,163,175,.15); color: #9ca3af; }
.ticket-detail { max-width: 800px; }
.ticket-detail-meta { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.ticket-detail-block { margin-bottom: 1.5rem; padding: 1.5rem; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); }
.ticket-detail-block h3 { font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: .75rem; }
.ticket-reponse { border-color: rgba(139,92,246,.3); background: rgba(139,92,246,.05); }
.ticket-reponse h3 { color: var(--accent); }
.ticket-description { color: var(--text-secondary); line-height: 1.7; font-size: .95rem; }

/* ─── Newsletter inline ───────────────────────────────────────────────────── */
.newsletter-section { background: rgba(139,92,246,.05); border-top: 1px solid rgba(139,92,246,.15); border-bottom: 1px solid rgba(139,92,246,.15); }
.newsletter-inline-block {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.newsletter-inline-content { flex: 1; min-width: 260px; }
.newsletter-form-lg {
    display: flex;
    gap: .75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}
.newsletter-form-lg input[type="email"] {
    flex: 1;
    min-width: 240px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: inherit;
    font-size: .95rem;
    padding: .7rem 1rem;
}
.newsletter-form-lg input[type="email"]:focus { outline: none; border-color: var(--accent); }
.newsletter-form {
    display: flex;
    gap: .4rem;
}
.newsletter-form input[type="email"] {
    flex: 1;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: inherit;
    font-size: .8rem;
    padding: .4rem .7rem;
}
.newsletter-form input[type="email"]:focus { outline: none; border-color: var(--accent); }

/* ─── Misc helpers ────────────────────────────────────────────────────────── */
.alert { padding: .75rem 1.25rem; border-radius: var(--radius); margin-bottom: 1rem; font-size: .9rem; }
.alert-success { background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.3); color: #4ade80; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.empty-state { text-align: center; padding: 3rem; color: var(--text-muted); }

/* ─── Bannière pré-création société ──────────────────── */
.legal-notice-banner {
    background: rgba(0, 170, 255, .07);
    border: 1px solid rgba(0, 170, 255, .25);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    font-size: .88rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 2rem;
}
.legal-notice-banner strong { color: var(--accent); }
