/* ==========================================================================
   WPDefender.pro — Corporate design system v3.0
   Feuille de style de surcharge, chargée après style.css.
   Objectif : site de cybersécurité crédible, sobre et structuré.
   - Palette navy + bleu institutionnel (plus de cyan fluo)
   - Aucun glassmorphism, glow, particule ni blob
   - Filets fins, cartes opaques, boutons plats
   - Rythme vertical 8 px, titres resserrés
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
    /* Fonds */
    --c-bg: #141212;
    --c-bg-elevated: #181616;
    --c-surface: #1E1B1B;
    --c-surface-2: #242122;
    --c-surface-3: #353233;

    /* Filets */
    --c-line: rgba(233, 219, 197, .12);
    --c-line-strong: rgba(233, 219, 197, .24);

    /* Texte */
    --c-text: #FFFFFF;
    --c-text-soft: #D6CEC4;
    --c-muted: #9E958C;
    --c-dim: #736B64;

    /* Accent */
    --c-accent: #FF7D16;
    --c-accent-hover: #E0680B;
    --c-accent-light: #FF9E44;
    --c-accent-soft: rgba(255, 125, 22, 0.12);

    /* États */
    --c-success: #00D696;
    --c-success-light: #00E5A3;
    --c-warning: #e0a11b;
    --c-danger: #F73232;

    /* Rayons / ombres */
    --c-radius-sm: 6px;
    --c-radius: 10px;
    --c-radius-lg: 14px;
    --c-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);

    /* Remap des tokens Tailwind (les utilitaires suivent automatiquement) */
    --color-brand-300: #E9DBC5;
    --color-brand-400: #FF9442;
    --color-brand-500: #FF7D16;
    --color-brand-600: #F73232;
    --color-shield-400: #00E5A3;
    --color-shield-500: #00D696;
}

/* ==========================================================================
   2. BASE
   ========================================================================== */
html {
    scroll-padding-top: 88px;
}

body {
    background: var(--c-bg);
    color: var(--c-text);
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.noise,
body.grid-bg {
    background-image: none !important;
}

.noise::after,
#particles,
.blob,
.hero-blob,
.scan-line {
    display: none !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.022em;
    line-height: 1.18;
    color: var(--c-text);
}

p {
    color: var(--c-text-soft);
}

::selection {
    background: rgba(37, 99, 235, 0.35);
    color: #fff;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--c-bg);
}

::-webkit-scrollbar-thumb {
    background: #27364c;
    border-radius: 6px;
    border: 2px solid var(--c-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: #354a68;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #27364c var(--c-bg);
}

/* L'ancien dégradé animé devient un aplat lisible */
.gradient-text {
    background: none !important;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    color: inherit;
    animation: none !important;
}

.text-glow,
.icon-glow {
    text-shadow: none;
    filter: none;
}

.glow-cyan,
.glow-cyan-sm,
.glow-emerald,
.dashboard-glow {
    box-shadow: var(--c-shadow) !important;
}

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */
.container {
    max-width: 1200px;
    padding-left: 24px;
    padding-right: 24px;
}

.section {
    padding: 80px 0;
}

.section-sm {
    padding: 56px 0;
}

@media (max-width: 640px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .section {
        padding: 56px 0;
    }
}

/* ==========================================================================
   4. NAVIGATION
   ========================================================================== */
.nav-glass {
    height: 72px;
    background: #080d16;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--c-line);
}

.nav-container {
    max-width: 1200px;
    padding: 0 24px;
}

.nav-logo {
    gap: 10px;
}

.nav-logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--c-accent);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.nav-logo-icon .iconify {
    font-size: 20px !important;
    line-height: 1;
}

.shield-animate {
    animation: none;
}

.nav-logo-text {
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #fff;
}

.nav-logo-text .white {
    color: #fff;
}

.nav-logo-text .mono {
    color: var(--c-dim);
    font-size: 0.8125rem;
    font-weight: 500;
}

.nav-links {
    gap: 26px;
}

.nav-link {
    position: relative;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.005em;
    color: var(--c-muted);
    padding: 26px 0;
}

.nav-link:hover {
    color: #fff;
}

.nav-link.active {
    color: #fff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--c-accent);
}

.nav-actions {
    gap: 12px;
}

.nav-btn-login {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--c-line);
    color: var(--c-muted);
}

.nav-btn-login:hover {
    color: #fff;
    border-color: var(--c-line-strong);
    background: var(--c-surface);
}

.nav-btn-cta {
    padding: 9px 16px;
    border-radius: 8px;
    background: var(--c-accent);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.nav-btn-cta:hover {
    background: var(--c-accent-hover);
    box-shadow: none;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 30px;
    padding: 0 8px;
    border: 1px solid var(--c-line);
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--c-muted);
}

.lang-switcher:hover {
    color: #fff;
    border-color: var(--c-line-strong);
}

.mobile-menu-btn span {
    background: var(--c-text);
}

.mobile-menu {
    background: #0a1019;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-left: 1px solid var(--c-line);
    gap: 20px;
}

.mobile-menu a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--c-text-soft);
}

.mobile-menu a:hover {
    color: var(--c-accent-light);
}

/* ==========================================================================
   5. BOUTONS
   ========================================================================== */
.btn {
    border-radius: var(--c-radius-sm);
    font-weight: 600;
    letter-spacing: 0.005em;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary {
    background: var(--c-accent);
    color: #fff;
    border: 1px solid var(--c-accent);
}

.btn-primary:hover {
    background: var(--c-accent-hover);
    border-color: var(--c-accent-hover);
    box-shadow: none;
}

.btn-secondary {
    background: transparent;
    color: var(--c-text);
    border: 1px solid var(--c-line-strong);
}

.btn-secondary:hover {
    background: var(--c-surface);
    border-color: #3b4d69;
    color: #fff;
}

.btn-lg {
    padding: 13px 24px;
    font-size: 0.9375rem;
}

.btn-md {
    padding: 10px 18px;
    font-size: 0.875rem;
}

.btn-sm {
    padding: 7px 13px;
    font-size: 0.8125rem;
}

.btn-glow::before {
    display: none !important;
}

.btn-outline {
    border-radius: var(--c-radius-sm);
    border-color: var(--c-line-strong);
    color: var(--c-text);
    padding: 10px 18px;
    font-size: 0.875rem;
}

.btn-outline:hover {
    background: var(--c-surface);
    border-color: #3b4d69;
    color: #fff;
}

.btn-outline.btn-lg {
    padding: 13px 24px;
    font-size: 0.9375rem;
}

.btn-outline.btn-sm {
    padding: 7px 13px;
    font-size: 0.8125rem;
}

.w-full.btn {
    width: 100%;
}

/* ==========================================================================
   6. CARTES
   ========================================================================== */
.spotlight-card {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--c-radius);
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.spotlight-card::before {
    display: none !important;
}

.spotlight-card:hover {
    border-color: var(--c-line-strong);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.card-content {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   7. BADGES
   ========================================================================== */
.badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.badge-brand {
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: rgba(37, 99, 235, 0.1);
    color: #93c5fd;
}

.badge-shield {
    border: 1px solid rgba(34, 197, 94, 0.28);
    background: rgba(34, 197, 94, 0.08);
    color: var(--c-success-light);
}

.hero-badge {
    border-radius: 6px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: rgba(37, 99, 235, 0.1);
    color: #93c5fd;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pulse-dot::before {
    animation: none;
    opacity: 0.35;
}

/* ==========================================================================
   8. TYPOGRAPHIE DES SECTIONS
   ========================================================================== */
.section-header {
    max-width: 720px;
    margin: 0 auto 48px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.375rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--c-text);
    margin-bottom: 14px;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.0625rem;
    color: var(--c-muted);
    line-height: 1.65;
}

@media (min-width: 640px) {
    .section-header h2 {
        font-size: clamp(1.875rem, 3vw, 2.375rem);
    }
}

@media (min-width: 1024px) {
    .section-header h2 {
        font-size: 2.375rem;
    }
}

/* ==========================================================================
   9. HERO
   ========================================================================== */
.hero {
    position: relative;
    min-height: 0;
    padding: 148px 0 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 420px at 50% -8%, rgba(37, 99, 235, 0.16), transparent 70%),
        linear-gradient(180deg, rgba(11, 18, 32, 0.6), transparent 55%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.125rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero .text-slate-400,
.hero .text-slate-300 {
    color: var(--c-muted) !important;
}

.hero p {
    color: var(--c-muted);
}

/* Bandeau de confiance sous le hero */
.trusted-section {
    padding: 28px 0;
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    background: var(--c-bg-elevated);
}

.marquee-item {
    color: #5c6e88;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.marquee-fade-left {
    background: linear-gradient(to right, var(--c-bg-elevated), transparent);
}

.marquee-fade-right {
    background: linear-gradient(to left, var(--c-bg-elevated), transparent);
}

.animate-marquee {
    animation-duration: 45s;
}

/* ==========================================================================
   10. STATS
   ========================================================================== */
.stat-card {
    padding: 24px;
    text-align: left;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 6px;
    color: var(--c-text);
}

@media (min-width: 640px) {
    .stat-value {
        font-size: 2rem;
    }
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--c-dim);
    line-height: 1.45;
}

/* ==========================================================================
   11. FEATURES
   ========================================================================== */
.features-grid {
    gap: 20px;
}

.feature-card {
    padding: 26px;
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 1.25rem;
}

.feature-icon-brand {
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.24);
    color: #7cb0ff;
}

.feature-icon-shield {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.22);
    color: var(--c-success-light);
}

.feature-title {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--c-text);
    margin-bottom: 8px;
}

.feature-text {
    font-size: 0.875rem;
    color: var(--c-muted);
    line-height: 1.65;
}

/* ==========================================================================
   12. ÉTAPES
   ========================================================================== */
.steps-grid {
    gap: 24px;
}

.steps-grid::before {
    background: var(--c-line) !important;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--c-surface-2);
    border: 1px solid var(--c-line-strong);
    margin-bottom: 18px;
}

.step-number span {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--c-accent-light);
}

.step-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 8px;
}

.step-text {
    font-size: 0.875rem;
    color: var(--c-muted);
    line-height: 1.65;
}

/* ==========================================================================
   13. TÉMOIGNAGES
   ========================================================================== */
.testimonial-card {
    padding: 26px;
}

.testimonial-stars {
    gap: 2px;
    color: #d9a520;
    margin-bottom: 14px;
    font-size: 0.9375rem;
}

.testimonial-text {
    font-size: 0.90625rem;
    color: var(--c-text-soft);
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--c-text);
}

.testimonial-role {
    font-size: 0.75rem;
    color: var(--c-dim);
}

.testimonial-avatar {
    width: 38px;
    height: 38px;
}

/* ==========================================================================
   14. TARIFS
   ========================================================================== */
.pricing-grid {
    gap: 24px;
    max-width: 1080px;
}

.pricing-card {
    padding: 28px;
}

.pricing-plan-name {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 6px;
}

.pricing-plan-desc {
    font-size: 0.8125rem;
    color: var(--c-dim);
    line-height: 1.55;
}

.pricing-amount {
    font-size: 2.125rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--c-text);
}

.pricing-amount.gradient {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--c-text);
}

.pricing-period {
    font-size: 0.8125rem;
    color: var(--c-dim);
}

.pricing-feature {
    gap: 10px;
    padding: 7px 0;
    font-size: 0.84375rem;
    color: var(--c-text-soft);
}

.pricing-feature-icon.check {
    color: var(--c-success-light);
}

.pricing-feature-icon.x {
    color: #3d4d63;
}

.pricing-popular {
    background: linear-gradient(180deg, #0f1b31, var(--c-surface) 55%);
    border-color: #2f5aa8;
}

.pricing-popular-badge {
    top: -11px;
    padding: 3px 10px;
    background: var(--c-accent);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: 4px;
    text-transform: uppercase;
}

/* ==========================================================================
   15. FAQ
   ========================================================================== */
.faq-item {
    border-radius: var(--c-radius);
}

.faq-item .faq-toggle {
    padding: 18px 22px;
}

.faq-item .faq-toggle span:first-child {
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--c-text);
}

.faq-item .faq-content p {
    color: var(--c-muted);
    font-size: 0.875rem;
    line-height: 1.7;
    padding: 0 0 18px;
}

.faq-chevron {
    color: var(--c-dim) !important;
}

/* ==========================================================================
   16. FORMULAIRES
   ========================================================================== */
.form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--c-text-soft);
    margin-bottom: 7px;
}

.form-input,
.form-select,
.form-textarea {
    padding: 11px 14px;
    background: #0a1220;
    border: 1px solid #26344a;
    border-radius: var(--c-radius-sm);
    color: var(--c-text);
    font-size: 0.90625rem;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #55677f;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.form-select {
    background-color: #0a1220;
}

.form-textarea {
    min-height: 110px;
}

.form-group {
    margin-bottom: 18px;
}

.field-error {
    color: #f87171;
    font-size: 0.78125rem;
}

.form-step-pill {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--c-surface-2);
    border: 1px solid var(--c-line);
    color: var(--c-dim);
    font-size: 0.8125rem;
}

.form-step-pill.active {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: #fff;
}

.form-step-pill.done {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.4);
    color: var(--c-success-light);
}

.form-progress-bar {
    height: 3px;
    background: var(--c-surface-3);
}

.form-progress-fill {
    background: var(--c-accent);
}

.form-progress-text {
    font-size: 0.75rem;
    color: var(--c-dim);
}

.radio-card {
    padding: 12px 14px;
    background: #0b1321;
    border: 1px solid #223047;
    border-radius: var(--c-radius-sm);
    color: var(--c-muted);
    font-size: 0.84375rem;
}

.radio-card:hover {
    border-color: #34507c;
    background: #0e1829;
    color: var(--c-text-soft);
}

.radio-card:has(input:checked) {
    border-color: var(--c-accent);
    background: rgba(37, 99, 235, 0.1);
    color: #fff;
}

.radio-card input[type="radio"],
.radio-row input[type="radio"] {
    accent-color: var(--c-accent);
}

.access-fields {
    border-top-color: var(--c-line);
}

.form-step-hint {
    color: var(--c-dim);
}

.form-nav .btn {
    min-width: 130px;
}

/* ==========================================================================
   17. PAGE HERO / FIL D'ARIANE
   ========================================================================== */
.page-hero {
    padding-top: 132px;
    padding-bottom: 52px;
    border-bottom: 1px solid var(--c-line);
    background: linear-gradient(180deg, var(--c-bg-elevated), var(--c-bg));
}

.page-hero h1,
.page-hero-title {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.028em;
    color: var(--c-text);
    margin-bottom: 14px;
    line-height: 1.16;
}

.page-hero p,
.page-hero-subtitle {
    font-size: 1.0625rem;
    color: var(--c-muted);
    max-width: 680px;
    line-height: 1.65;
}

.page-hero-urgence {
    background: linear-gradient(180deg, #1a0f14, var(--c-bg));
    border-bottom: 1px solid rgba(229, 72, 77, 0.25);
}

.breadcrumbs {
    padding-top: 88px;
    padding-bottom: 4px;
    background: var(--c-bg-elevated);
}

.breadcrumbs-list {
    font-size: 0.75rem;
    color: var(--c-dim);
    gap: 6px;
}

.breadcrumbs a {
    color: var(--c-muted);
}

.breadcrumbs a:hover {
    color: #fff;
}

.breadcrumbs [aria-current="page"] {
    color: var(--c-text-soft);
}

/* ==========================================================================
   18. BLOG
   ========================================================================== */
.blog-grid {
    gap: 20px;
}

.blog-card {
    border-radius: var(--c-radius);
}

.blog-card-image {
    height: 186px;
    filter: saturate(0.92);
}

.blog-card-body {
    padding: 20px;
}

.blog-card-category,
.article-category {
    display: inline-block;
    padding: 3px 8px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.22);
    color: #93c5fd;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 4px;
    text-transform: uppercase;
}

.blog-card-title {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--c-text);
    line-height: 1.35;
    margin-bottom: 8px;
}

.blog-card-excerpt {
    font-size: 0.84375rem;
    color: var(--c-muted);
    line-height: 1.6;
}

.blog-card-meta {
    font-size: 0.75rem;
    color: var(--c-dim);
    gap: 14px;
}

.article-header {
    padding-top: 128px;
    padding-bottom: 40px;
}

.article-title {
    font-size: clamp(1.75rem, 3.6vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.028em;
    line-height: 1.16;
    color: var(--c-text);
    margin-bottom: 18px;
}

.article-meta {
    font-size: 0.8125rem;
    color: var(--c-dim);
    gap: 20px;
}

.article-content {
    max-width: 760px;
    padding-bottom: 80px;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--c-text);
    margin: 40px 0 14px;
}

.article-content h3 {
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--c-text);
    margin: 28px 0 10px;
}

.article-content p,
.article-content li {
    font-size: 1.03125rem;
    color: var(--c-text-soft);
    line-height: 1.8;
}

.article-content a,
.blog-content a {
    color: var(--c-accent-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content a:hover,
.blog-content a:hover {
    color: #bfdbfe;
}

.article-content blockquote,
.blog-content blockquote {
    border-left: 3px solid var(--c-accent);
    background: var(--c-surface);
    border-radius: 0 var(--c-radius-sm) var(--c-radius-sm) 0;
    padding: 14px 20px;
}

.article-content code,
.blog-content code {
    background: #0d1728;
    border: 1px solid var(--c-line);
    color: #9ecbff;
    font-size: 0.875em;
    padding: 1px 6px;
    border-radius: 4px;
}

.article-content pre,
.blog-content pre {
    background: #091120;
    border: 1px solid var(--c-line);
    border-radius: var(--c-radius-sm);
    padding: 18px;
}

.article-content pre code,
.blog-content pre code {
    background: none;
    border: 0;
    color: #cfe0f5;
}

.article-content th,
.article-content td,
.blog-content table th,
.blog-content table td {
    border-color: var(--c-line);
    font-size: 0.90625rem;
    color: var(--c-text-soft);
}

.article-content th,
.blog-content table th {
    background: var(--c-surface-2);
    color: var(--c-text);
}

.blog-content h2,
.blog-content h3,
.blog-content strong {
    color: var(--c-text);
}

.blog-content p,
.blog-content li,
.blog-content table td {
    color: var(--c-text-soft);
}

.blog-content table tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.015);
}

/* ==========================================================================
   19. SCAN
   ========================================================================== */
.scan-result {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--c-radius);
    padding: 28px;
}

.score-circle {
    width: 104px;
    height: 104px;
    font-size: 1.75rem;
    font-weight: 700;
    border-width: 3px;
}

.score-good {
    background: rgba(34, 197, 94, 0.08);
    border-color: var(--c-success);
    color: var(--c-success-light);
}

.score-medium {
    background: rgba(224, 161, 27, 0.08);
    border-color: var(--c-warning);
    color: #f2c14e;
}

.score-bad {
    background: rgba(229, 72, 77, 0.08);
    border-color: var(--c-danger);
    color: #f87171;
}

/* ==========================================================================
   20. COMPTE / ADMIN
   ========================================================================== */
.account-grid {
    gap: 18px;
}

.account-stat {
    padding: 20px;
    border-radius: var(--c-radius);
    background: var(--c-surface);
    border: 1px solid var(--c-line);
}

.account-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.account-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--c-text);
}

.account-stat-label {
    font-size: 0.75rem;
    color: var(--c-dim);
}

.admin-table th,
.admin-table td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--c-line);
    font-size: 0.8125rem;
}

.admin-table th {
    background: #0b1321;
    color: var(--c-muted);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-table td {
    color: var(--c-text-soft);
}

.admin-table tr:hover td {
    background: rgba(59, 130, 246, 0.04);
}

/* ==========================================================================
   21. CTA FINAL
   ========================================================================== */
.cta-panel {
    background:
        radial-gradient(600px 240px at 50% 0%, rgba(37, 99, 235, 0.18), transparent 70%),
        var(--c-surface) !important;
    border-color: #2a4a80 !important;
    border-radius: var(--c-radius-lg);
}

.cta-panel h2 {
    font-size: clamp(1.625rem, 3.2vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

/* ==========================================================================
   22. FOOTER
   ========================================================================== */
.site-footer {
    background: #060b13;
    border-top: 1px solid var(--c-line);
    padding: 56px 0 0;
    margin-top: 8px;
}

.footer-grid {
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 0.84375rem;
    color: var(--c-muted);
    line-height: 1.65;
    max-width: 320px;
    margin-top: 14px;
}

.footer-logo {
    gap: 10px;
    margin-bottom: 0;
}

.footer-logo-text {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #fff;
}

.footer-col h4 {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-dim);
    margin-bottom: 14px;
}

.footer-col ul {
    gap: 9px;
}

.footer-col a {
    font-size: 0.84375rem;
    color: var(--c-muted);
    line-height: 1.5;
}

.footer-col a:hover {
    color: #fff;
}

.footer-legal {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--c-line);
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--c-dim);
}

.footer-social {
    margin-top: 14px;
    gap: 8px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    color: var(--c-muted);
}

.footer-social a:hover {
    color: #fff;
    background: var(--c-surface-2);
    border-color: var(--c-line-strong);
}

.footer-bottom {
    border-top: 1px solid var(--c-line);
    padding: 22px 0;
    gap: 12px;
}

.footer-bottom p,
.footer-bottom-links a {
    font-size: 0.75rem;
    color: var(--c-dim);
}

.footer-bottom-links {
    gap: 20px;
}

.footer-bottom-links a:hover {
    color: var(--c-text);
}

/* ==========================================================================
   23. BANDEAU COOKIES
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: #0a111c;
    border-top: 1px solid var(--c-line);
    padding: 14px 0;
}

.cookie-banner .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

@media (min-width: 640px) {
    .cookie-banner .container {
        flex-direction: row;
    }
}

.cookie-banner p {
    flex: 1;
    font-size: 0.8125rem;
    color: var(--c-muted);
    line-height: 1.5;
}

.cookie-banner a {
    color: var(--c-accent-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner .btn {
    flex-shrink: 0;
}

/* ==========================================================================
   24. ÉLÉMENTS FLOTTANTS
   ========================================================================== */
.whatsapp-btn {
    width: 48px;
    height: 48px;
    bottom: 20px;
    right: 20px;
    background: #1f9d55;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.whatsapp-btn:hover {
    transform: none;
    background: #178a49;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

.whatsapp-btn svg {
    width: 24px;
    height: 24px;
}

.scroll-top {
    width: 38px;
    height: 38px;
    bottom: 20px;
    left: 20px;
    border-radius: 8px;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    color: var(--c-muted);
}

.scroll-top:hover {
    background: var(--c-surface-2);
    color: #fff;
}

.emergency-banner {
    background: #1a0f14;
    backdrop-filter: none;
    border-top: 1px solid rgba(229, 72, 77, 0.3);
}

.chatbot-toggle {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    color: var(--c-muted);
    border-radius: 10px;
}

.chatbot-toggle:hover {
    background: var(--c-surface-2);
    color: #fff;
}

.chatbot-panel {
    background: #0a111c;
    backdrop-filter: none;
    border: 1px solid var(--c-line);
    border-radius: var(--c-radius);
}

.chatbot-header {
    border-bottom-color: var(--c-line);
}

.chatbot-header small {
    color: var(--c-success-light);
}

.chatbot-msg.bot {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
}

/* ==========================================================================
   25. SKIP NAV / FOCUS
   ========================================================================== */
.skip-nav {
    background: var(--c-accent);
    border-radius: 0 0 6px 6px;
}

:focus-visible {
    outline: 2px solid var(--c-accent-light);
    outline-offset: 2px;
}

/* ==========================================================================
   26. RÉVÉLATIONS DISCRÈTES
   ========================================================================== */
.reveal {
    transform: translateY(16px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible {
    transform: translateY(0);
}

/* ==========================================================================
   27. AJUSTEMENTS RESPONSIVE
   ========================================================================== */
@media (max-width: 1023px) {
    .nav-glass {
        height: 64px;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 64px;
    }

    .page-hero {
        padding-top: 112px;
    }

    .breadcrumbs {
        padding-top: 80px;
    }

    .article-header {
        padding-top: 108px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 108px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .page-hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-header h2 {
        font-size: 1.625rem;
    }

    .section-header p {
        font-size: 0.96875rem;
    }

    .pricing-card,
    .feature-card,
    .testimonial-card {
        padding: 22px;
    }

    .footer-grid {
        gap: 32px;
    }

    .admin-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
