/* ===== DESIGN SYSTEM — RadAlerte SaaS 2026 ===== */
:root {
    /* Colors */
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #A5B4FC;
    --primary-bg: #EEF2FF;
    --accent: #EC4899;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --cyan: #06B6D4;
    --violet: #8B5CF6;

    /* Neutrals */
    --bg: #FFFFFF;
    --bg-soft: #F8FAFC;
    --bg-muted: #F1F5F9;
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    --text: #1E293B;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    min-height: 100vh;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-lg); }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 var(--space-lg); }

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text);
}
.logo:hover { color: var(--text); }
.logo-icon { font-size: 1.5rem; }
.logo-accent { color: var(--primary); }
.main-nav { display: flex; align-items: center; gap: var(--space-xs); }
.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-bg); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 280px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: var(--space-sm);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
/* Pont invisible pour éviter la perte du :hover lors du déplacement de la souris */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.dropdown-label {
    display: block;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}
.nav-dropdown-menu a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
    color: var(--text);
    border-radius: var(--radius-xs);
    transition: var(--transition);
}
.nav-dropdown-menu a:hover { background: var(--primary-bg); color: var(--primary); }
.dropdown-divider { height: 1px; background: var(--border-light); margin: var(--space-sm) 0; }
.dropdown-section { }

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}
.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}
.mobile-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    z-index: 999;
    padding: var(--space-lg);
    overflow-y: auto;
    flex-direction: column;
    gap: var(--space-xs);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    display: block;
    padding: var(--space-md);
    color: var(--text);
    border-radius: var(--radius-sm);
    font-weight: 500;
}
.mobile-nav a:hover { background: var(--primary-bg); color: var(--primary); }
.mobile-nav-label {
    padding: var(--space-md) var(--space-md) var(--space-xs);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

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

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--primary-bg) 0%, #FDF2F8 50%, #F0F9FF 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; width: 100%; }
.hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}
.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: var(--space-xl);
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--violet));
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(99,102,241,0.35);
    text-decoration: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99,102,241,0.45);
    color: white;
}

/* ===== STAT CARDS ===== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}
.stat-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-lg);
    text-align: center;
    transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: var(--space-xs);
    font-weight: 500;
}

/* ===== MAP ===== */
.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    margin: var(--space-xl) 0;
}
.map-container { height: 500px; width: 100%; }

/* Accueil - Carte 100vh */
#carte-des-radars {
    height: 100vh;
    max-height: 1000px; /* éviter qu'elle soit trop grande sur 4k */
    display: flex;
    flex-direction: column;
}
#carte-des-radars .container {
    height: 100%;
    display: flex;
    flex-direction: column;
}
#carte-des-radars .map-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: var(--space-xl);
}
#radar-map {
    height: auto;
    flex-grow: 1;
}
.map-legend {
    background: var(--bg);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    border-top: 1px solid var(--border-light);
}
.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===== CARDS ===== */
.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-xl);
    transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--primary-bg);
    flex-shrink: 0;
}
.card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}
.card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

/* ===== GRID ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ===== SECTION ===== */
.section {
    padding: var(--space-3xl) 0;
}
.section-muted { background: var(--bg-soft); }
.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xs);
}
.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: var(--space-xl);
}

/* ===== DEPARTMENT LIST ===== */
.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-md);
}
.dept-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    color: var(--text);
}
.dept-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
    color: var(--primary);
    transform: translateY(-1px);
}
.dept-code {
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--primary-bg);
    color: var(--primary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-xs);
    min-width: 36px;
    text-align: center;
}
.dept-name { font-weight: 600; font-size: 0.9rem; flex: 1; }
.dept-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== TABLE ===== */
.table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
th {
    background: var(--bg-soft);
    font-weight: 600;
    text-align: left;
    padding: var(--space-md);
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
}
td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}
tr:hover td { background: var(--bg-soft); }
tr:last-child td { border-bottom: none; }

/* ===== BADGE ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    white-space: nowrap;
}
.badge-primary { background: var(--primary-bg); color: var(--primary); }
.badge-success { background: #ECFDF5; color: #059669; }
.badge-warning { background: #FFFBEB; color: #D97706; }
.badge-danger { background: #FEF2F2; color: #DC2626; }
.badge-violet { background: #F5F3FF; color: var(--violet); }
.badge-cyan { background: #ECFEFF; color: #0891B2; }
.badge-pink { background: #FDF2F8; color: #DB2777; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg) 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--border); }

/* ===== GUIDE / EDITORIAL ===== */
.guide-content {
    line-height: 1.8;
}
.guide-content h2 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.guide-content h3 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
    font-size: 1.15rem;
    font-weight: 600;
}
.guide-content p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}
.guide-content ul, .guide-content ol {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-xl);
}
.guide-content ul { list-style: disc; }
.guide-content ol { list-style: decimal; }
.guide-content li {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}
.guide-content strong { color: var(--text); font-weight: 600; }

.callout {
    padding: var(--space-lg);
    border-radius: var(--radius-sm);
    margin: var(--space-xl) 0;
    border-left: 4px solid;
}
.callout-info {
    background: var(--primary-bg);
    border-color: var(--primary);
}
.callout-warning {
    background: #FFFBEB;
    border-color: var(--warning);
}
.callout-danger {
    background: #FEF2F2;
    border-color: var(--danger);
}
.callout-title {
    font-weight: 700;
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
}
.callout p { margin-bottom: 0; }

/* Guide cards listing */
.guide-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}
.guide-card {
    display: block;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-xl);
    transition: var(--transition);
    color: var(--text);
}
.guide-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: var(--text);
}
.guide-card-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}
.guide-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}
.guide-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== CHART BAR (pure CSS) ===== */
.chart-bars { display: flex; flex-direction: column; gap: var(--space-sm); }
.chart-bar-row {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}
.chart-bar-label {
    min-width: 120px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: right;
}
.chart-bar-track {
    flex: 1;
    height: 28px;
    background: var(--bg-muted);
    border-radius: 100px;
    overflow: hidden;
}
.chart-bar-fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--primary), var(--violet));
    display: flex;
    align-items: center;
    padding: 0 var(--space-md);
    min-width: 40px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.chart-bar-value {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--bg-soft);
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid var(--border-light);
}
.page-header h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
}
.page-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 700px;
}

/* ===== SEARCH ===== */
.search-box {
    position: relative;
    max-width: 400px;
}
.search-input {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    padding-left: 44px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.9rem;
    font-family: var(--font);
    background: var(--bg);
    transition: var(--transition);
    outline: none;
}
.search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.1); }
.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    padding: var(--space-3xl) 0 var(--space-xl);
    margin-top: var(--space-3xl);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
}
.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: var(--space-md);
    line-height: 1.6;
}
.footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
    margin-bottom: var(--space-md);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-col a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: var(--transition);
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--primary); }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
    .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }
    .hero h1 { font-size: 1.75rem; }
    .hero { padding: var(--space-2xl) 0; }
    .section { padding: var(--space-2xl) 0; }
    .map-container { height: 350px; }
    #carte-des-radars { height: 85vh; } /* un peu moins sur mobile */
    .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ===== LEAFLET OVERRIDES ===== */
.leaflet-popup-content-wrapper {
    border-radius: var(--radius-sm) !important;
    box-shadow: var(--shadow-lg) !important;
    font-family: var(--font) !important;
}
.leaflet-popup-content {
    margin: var(--space-md) !important;
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
}
.leaflet-popup-content strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.radar-popup-type {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 4px;
}

/* Marker cluster overrides */
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large {
    background-color: rgba(99,102,241,0.15) !important;
}
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div {
    background-color: var(--primary) !important;
    color: white !important;
    font-family: var(--font) !important;
    font-weight: 700 !important;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.4s ease-out forwards; }
.fade-in-delay { animation: fadeIn 0.4s ease-out 0.1s forwards; opacity: 0; }

/* ===== HERO SPLIT ===== */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}
.hero-image { position: relative; }
.hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
}
.hero-image::after {
    content: '';
    position: absolute;
    inset: 12px -12px -12px 12px;
    border: 2px solid var(--primary-light);
    border-radius: var(--radius);
    z-index: -1;
    opacity: 0.5;
}
@media (max-width: 768px) {
    .hero-split { grid-template-columns: 1fr; gap: var(--space-xl); }
    .hero-image { order: -1; }
}

/* ===== HOW IT WORKS ===== */
.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    counter-reset: step;
}
.step-card {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-2xl) var(--space-xl) var(--space-xl);
    text-align: center;
    transition: var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.step-number {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--violet));
    color: white;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}
.step-icon { font-size: 2.5rem; margin-bottom: var(--space-md); }
.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: var(--space-sm); }
.step-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }
@media (max-width: 768px) {
    .steps-row { grid-template-columns: 1fr; }
}

/* ===== ABOUT SPLIT ===== */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}
.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    width: 100%;
}
.about-content h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: var(--space-md); letter-spacing: -0.02em; }
.about-content p { color: var(--text-secondary); margin-bottom: var(--space-md); line-height: 1.7; }
.about-features { display: flex; flex-direction: column; gap: var(--space-md); margin-top: var(--space-xl); }
.about-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}
.about-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.about-feature h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.about-feature p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }
@media (max-width: 768px) {
    .about-split { grid-template-columns: 1fr; }
}

/* ===== FAQ ACCORDION ===== */
.faq-list { display: flex; flex-direction: column; gap: var(--space-md); max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover { border-color: var(--primary-light); }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    gap: var(--space-md);
}
.faq-question:hover { color: var(--primary); }
.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
    padding: 0 var(--space-xl) var(--space-xl);
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.925rem;
}
.faq-answer-inner a { font-weight: 500; }

/* ===== TRUST BANNER ===== */
.trust-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--violet) 100%);
    color: white;
    padding: var(--space-3xl) 0;
    text-align: center;
}
.trust-banner h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: var(--space-sm); color: white; }
.trust-banner p { opacity: 0.85; font-size: 1.05rem; max-width: 600px; margin: 0 auto var(--space-xl); }
.trust-items {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: var(--space-sm); font-weight: 600; font-size: 0.95rem; }
.trust-item svg { opacity: 0.8; }

/* ===== SEO CONTENT BLOCK ===== */
.seo-content {
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}
.seo-content h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: var(--space-md); letter-spacing: -0.02em; }
.seo-content p { color: var(--text-secondary); margin-bottom: var(--space-md); }
.seo-content a { font-weight: 500; }

/* ===== IMAGE TEXT ROW ===== */
.img-text-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}
.img-text-row.reverse { direction: rtl; }
.img-text-row.reverse > * { direction: ltr; }
.img-text-row img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
@media (max-width: 768px) {
    .img-text-row, .img-text-row.reverse { grid-template-columns: 1fr; direction: ltr; }
}

/* ===== FAQ ===== */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s ease;
    margin-bottom: var(--space-xs);
}
.faq-item:hover {
    border-color: var(--primary);
}
.faq-item summary {
    padding: var(--space-md) var(--space-lg);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    background: var(--surface-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none; /* cache la flèche native */
    user-select: none;
}
.faq-item summary::-webkit-details-marker {
    display: none; /* cache la flèche sur Safari */
}
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary);
    transition: transform 0.3s ease;
    margin-left: var(--space-md);
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-answer {
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--border);
    background: var(--bg);
    animation: fadeIn 0.3s ease;
}
.faq-answer p:last-child {
    margin-bottom: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
