/* ================================================================
   ANRDI COPYRIGHT (c) 2026 â€” ALL RIGHTS RESERVED - AUTHOR: LYAM
================================================================ */

@font-face {
    font-family: 'Segoe UI';
    src: url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI.woff2') format('woff2'),
        url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI.woff') format('woff'),
        url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-Italic.woff2') format('woff2'),
        url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-Italic.woff') format('woff'),
        url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-Light.woff2') format('woff2'),
        url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-Light.woff') format('woff'),
        url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-SemiBold.woff2') format('woff2'),
        url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-SemiBold.woff') format('woff'),
        url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-Bold.woff2') format('woff2'),
        url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-Bold.woff') format('woff'),
        url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-BoldItalic.woff2') format('woff2'),
        url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-BoldItalic.woff') format('woff'),
        url('https://static.anrdi.fr/anrdi-pre/fonts/font/SegoeUI-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow';
    src: url('../fonts/barlow-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow';
    src: url('../fonts/barlow-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow';
    src: url('../fonts/barlow-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('../fonts/barlow-condensed-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('../fonts/barlow-condensed-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('../fonts/barlow-condensed-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('../fonts/barlow-condensed-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Serif 4';
    src: url('../fonts/source-serif4-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Serif 4';
    src: url('../fonts/source-serif4-400i.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Serif 4';
    src: url('../fonts/source-serif4-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Serif 4';
    src: url('../fonts/source-serif4-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --- Variables --- */
:root {
    --bleu: #0066CC;
    --bleu-fonce: #003366;
    --bleu-clair: #3385E0;
    --bleu-pale: #E6F0FF;
    --cyan: #00A8E8;
    --rouge: #D32F2F;
    --rouge-fonce: #B71C1C;
    --blanc: #ffffff;
    --gris-fonce: #212121;
    --gris-moyen: #616161;
    --gris-clair: #E0E0E0;
    --gris-bg: #F5F5F5;
    --border: #BDBDBD;

    --font-heading: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-serif: 'Source Serif 4', Georgia, serif;

    --radius: 3px;
    --shadow: 0 2px 12px rgba(0, 0, 20, .10);
    --shadow-lg: 0 6px 32px rgba(0, 0, 20, .14);
    --transition: .18s ease;
    --max-width: 1200px;

    /* Semantic tokens - Light Theme (default) */
    --bg-default: var(--blanc);
    --bg-alt: var(--gris-bg);
    --text-default: var(--gris-fonce);
    --text-muted: var(--gris-moyen);
    --border-default: var(--border);
    --primary: var(--bleu);
    --primary-hover: var(--bleu-clair);
    --danger: var(--rouge);
    --danger-hover: var(--rouge-fonce);
    --card-bg: var(--blanc);
    --header-bg: var(--blanc);
    --footer-bg: var(--gris-fonce);
    --footer-text: var(--blanc);
}

[data-theme="dark"] {
    --bg-default: #121212;
    --bg-alt: #1E1E1E;
    --text-default: #E0E0E0;
    --text-muted: #A0A0A0;
    --border-default: #333333;
    --primary: #3385E0;
    --primary-hover: #66A3FF;
    --danger: #EF5350;
    --danger-hover: #E53935;
    --card-bg: #1E1E1E;
    --header-bg: #1A1A1A;
    --footer-bg: #111111;
    --footer-text: #E0E0E0;
    /* Adjust specific components for dark mode */
    --shadow: 0 2px 12px rgba(0, 0, 0, .50);
    --shadow-lg: 0 6px 32px rgba(0, 0, 0, .70);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg-default: #121212;
        --bg-alt: #1E1E1E;
        --text-default: #E0E0E0;
        --text-muted: #A0A0A0;
        --border-default: #333333;
        --primary: #3385E0;
        --primary-hover: #66A3FF;
        --danger: #EF5350;
        --danger-hover: #E53935;
        --card-bg: #1E1E1E;
        --header-bg: #1A1A1A;
        --footer-bg: #111111;
        --footer-text: #E0E0E0;
        --shadow: 0 2px 12px rgba(0, 0, 0, .50);
        --shadow-lg: 0 6px 32px rgba(0, 0, 0, .70);
    }
}


/* --- Reset & base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-default);
    background: var(--bg-default);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

img,
svg {
    max-width: 100%;
    display: block;
}

a {
    color: var(--bleu);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--rouge);
}

ul {
    list-style: none;
}

/* --- Utilitaires --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.text-center {
    text-align: center;
}

.text-rouge {
    color: var(--rouge);
}

.text-bleu {
    color: var(--bleu);
}

/* --- AccessibilitÃ© --- */
.skip-link {
    position: absolute;
    top: -60px;
    left: 0;
    background: var(--bleu);
    color: var(--blanc);
    padding: 12px 24px;
    font-weight: 600;
    z-index: 9999;
    transition: top 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
    top: 0;
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--bleu);
    outline-offset: 3px;
}


.topbar {
    background: var(--bleu);
    color: rgba(255, 255, 255, .85);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .3px;
    border-bottom: 3px solid var(--rouge);
}

.topbar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 6px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-flag {
    display: flex;
    align-items: center;
}

.topbar-text {
    flex: 1;
}

.topbar-ref {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, .12);
    padding: 2px 8px;
    border-radius: 2px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    background: var(--header-bg);
    border-bottom: 4px solid var(--bleu);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0, 0, 50, .10);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 24px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 0;
}

.site-logo:hover {
    opacity: .9;
}

.logo-header-546 {
    flex-shrink: 0;
}

.logo-header-546 img {
    width: 100px;
    height: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-acronym {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--bleu);
    letter-spacing: 1.5px;
    line-height: 1;
}

.logo-fullname {
    font-family: var(--font-body);
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: .2px;
    text-transform: uppercase;
}

/* Navigation */
.main-nav {
    position: relative;
    margin-left: auto;
}

.main-nav>ul {
    display: flex;
    align-items: center;
    gap: 2px;
}

.main-nav>ul>li {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.main-nav>ul>li>a {
    display: block;
    padding: 8px 13px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--text-default);
    border-radius: var(--radius);
    white-space: nowrap;
    transition: background var(--transition), color var(--transition);
    position: relative;
}

.main-nav>ul>li>.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--text-default);
    border-radius: var(--radius);
    white-space: nowrap;
    transition: background var(--transition), color var(--transition);
    background: none;
    border: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    line-height: 1;
    position: relative;
}

.main-nav>ul>li>a::after,
.main-nav>ul>li>.nav-dropdown-toggle::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 3px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rouge), #ff7f7f);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .24s ease;
}

.main-nav>ul>li>.nav-dropdown-toggle:focus {
    outline: none;
}

.main-nav>ul>li>.nav-dropdown-toggle:focus-visible {
    outline: 2px solid var(--bleu);
    outline-offset: 2px;
}

.main-nav>ul>li>a:hover,
.main-nav>ul>li>a[aria-current="page"],
.main-nav>ul>li>.nav-dropdown-toggle:hover,
.main-nav>ul>li>.nav-dropdown-toggle[data-current="true"],
.main-nav>ul>li>.nav-dropdown-toggle[aria-expanded="true"] {
    background: var(--bleu-pale);
    color: var(--bleu);
}

.main-nav>ul>li>a:hover::after,
.main-nav>ul>li>a[aria-current="page"]::after,
.main-nav>ul>li>.nav-dropdown-toggle:hover::after,
.main-nav>ul>li>.nav-dropdown-toggle[data-current="true"]::after,
.main-nav>ul>li>.nav-dropdown-toggle[aria-expanded="true"]::after {
    transform: scaleX(1);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.has-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
}

.dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 260px;
    background: var(--bg-default);
    border: 1px solid var(--border-default);
    border-top: 3px solid var(--bleu);
    box-shadow: var(--shadow-lg);
    z-index: 200;
    border-radius: 0 0 var(--radius) var(--radius);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
    overflow: hidden;
}

.has-dropdown>.dropdown {
    display: block;
}

.has-dropdown.is-open>.dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

.dropdown li a {
    display: block;
    padding: 10px 18px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-default);
    border-bottom: 1px solid var(--gris-clair);
    transition: background var(--transition), color var(--transition), padding-left .18s ease;
    position: relative;
}

.dropdown li a::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--rouge);
    opacity: 0;
    transform: translateY(-50%) scale(.6);
    transition: opacity .18s ease, transform .18s ease;
}

.dropdown li a:hover,
.dropdown li a[aria-current="page"] {
    background: var(--bleu-pale);
    color: var(--bleu);
    padding-left: 24px;
}

.dropdown li a:hover::before,
.dropdown li a[aria-current="page"]::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.dropdown-separator {
    border-top: 2px solid var(--gris-clair);
    margin: 4px 0;
}

/* Bouton connexion */
.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--bleu);
    color: var(--blanc) !important;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: background var(--transition);
}

.btn-header:hover {
    background: var(--bleu-clair);
    color: var(--blanc) !important;
}

/* Hamburger mobile */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gris-fonce);
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-left: 4px solid currentColor;
}

.flash-success {
    background: #e8f5e9;
    color: #1b5e20;
    border-color: #2e7d32;
}

.flash-error {
    background: #ffebee;
    color: #b71c1c;
    border-color: var(--rouge);
}

.flash-warning {
    background: #fff8e1;
    color: #6d4c00;
    border-color: #f57f17;
}

.flash-info {
    background: var(--bleu-pale);
    color: var(--bleu);
    border-color: var(--bleu);
}

.flash-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: inherit;
    opacity: .6;
}

.flash-close:hover {
    opacity: 1;
}

/* ============================================================
   POPUP SITE
   ============================================================ */
.site-popup-root {
    position: fixed;
    inset: 0;
    z-index: 1600;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
}

.site-popup-root.is-visible {
    opacity: 1;
    pointer-events: auto;
}

body.site-popup-open {
    overflow: hidden;
}

.site-popup-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background:
        radial-gradient(circle at top, rgba(0, 102, 204, .16), transparent 42%),
        rgba(0, 19, 54, .58);
    backdrop-filter: blur(7px);
    cursor: pointer;
}

.site-popup-card {
    position: relative;
    width: min(100%, 580px);
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(0, 49, 137, .12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(246, 250, 255, .98) 100%);
    box-shadow: 0 26px 70px rgba(0, 24, 77, .24);
    overflow: hidden;
    transform: translateY(28px) scale(.96);
    opacity: 0;
    transition: transform .34s cubic-bezier(.2, .8, .2, 1), opacity .34s ease;
}

.site-popup-root.is-visible .site-popup-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.site-popup-card--preview {
    opacity: 1;
    transform: none;
}

.site-popup-preview-shell {
    position: relative;
    padding: 26px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, #0a2463 0%, #0066cc 58%, #7fa8ff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.site-popup-preview-shell::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .16);
    pointer-events: none;
}

.site-popup-glow {
    position: absolute;
    top: -120px;
    right: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(127, 168, 255, .35) 0%, rgba(127, 168, 255, 0) 68%);
    pointer-events: none;
}

.site-popup-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(0, 49, 137, .08);
    color: var(--bleu);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.site-popup-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rouge);
    box-shadow: 0 0 0 6px rgba(211, 47, 47, .12);
}

.site-popup-title {
    position: relative;
    margin: 0 40px 12px 0;
    color: #071b48;
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: .3px;
}

.site-popup-message {
    position: relative;
    color: #40536f;
    font-size: 15px;
    line-height: 1.8;
}

.site-popup-actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.site-popup-meta {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 18px;
    color: #61728b;
    font-size: 12px;
}

.site-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(0, 49, 137, .12);
    background: rgba(255, 255, 255, .86);
    color: #163568;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition), color var(--transition);
}

.site-popup-close:hover {
    transform: rotate(90deg);
    background: var(--bg-default);
    color: var(--rouge);
}

.site-popup-close span {
    font-size: 24px;
    line-height: 1;
}

/* ============================================================
   HERO â€” Bandeau d'accueil
   ============================================================ */
.hero {
    background: linear-gradient(135deg, var(--bleu) 0%, #001d5c 100%);
    color: var(--blanc);
    padding: 92px 24px 72px;
    min-height: 68vh;
    position: relative;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: brightness(1.08) saturate(1.08) contrast(1.04);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--rouge) 0%, #ff4444 100%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--bg-default);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

/* Motif gÃ©omÃ©trique en fond */
.hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 1;
    background:
        linear-gradient(135deg, rgba(0, 25, 77, .42) 0%, rgba(0, 29, 92, .22) 45%, rgba(12, 35, 64, .46) 100%),
        repeating-linear-gradient(45deg,
            rgba(255, 255, 255, .04) 0, rgba(255, 255, 255, .04) 1px,
            transparent 0, transparent 50%);
    background-size: auto, 20px 20px;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}

.hero-copy {
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(225, 0, 15, .2);
    border: 1px solid rgba(225, 0, 15, .4);
    color: #ff8080;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 20px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--rouge);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .5;
        transform: scale(1.3);
    }
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: .5px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    text-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}

.hero-typewriter {
    min-height: 2.5em;
}

.hero-typewriter--desc {
    min-height: 4.8em;
}

.hero-typewriter-caret::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: 0.95em;
    margin-left: 8px;
    vertical-align: -0.08em;
    background: rgba(255, 255, 255, .92);
    animation: hero-caret-blink .9s step-end infinite;
}

.hero h1::after {
    content: '';
    display: block;
    width: 132px;
    height: 4px;
    margin-top: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(127, 168, 255, .95) 45%, rgba(225, 0, 15, .88) 100%);
    box-shadow: 0 0 18px rgba(127, 168, 255, .32);
    transform-origin: left center;
    animation: hero-line-reveal 1.1s .35s ease both, hero-line-glow 4.2s 1.4s ease-in-out infinite;
}

.hero h1 em {
    font-style: normal;
    color: #7fa8ff;
    text-shadow: 0 0 18px rgba(127, 168, 255, .30);
    animation: hero-emphasis 5s ease-in-out infinite;
}

.hero-desc {
    font-size: 17px;
    opacity: .92;
    max-width: 560px;
    margin-bottom: 32px;
    line-height: 1.7;
    text-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}

.hero-desc.hero-typewriter span {
    white-space: normal;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: hero-actions-float 6s ease-in-out infinite;
}

/* EmblÃ¨me SVG cÃ´tÃ© droit du hero */
.hero-emblem {
    opacity: .12;
    flex-shrink: 0;
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    border-radius: var(--radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--bleu);
    color: var(--blanc);
    border-color: var(--bleu);
}

.btn-primary:hover {
    background: var(--bleu-clair);
    color: var(--blanc);
    border-color: var(--bleu-clair);
}

.btn-danger {
    background: var(--rouge);
    color: var(--blanc);
    border-color: var(--rouge);
}

.btn-danger:hover {
    background: var(--rouge-fonce);
    color: var(--blanc);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--bleu);
    border-color: var(--bleu);
}

.btn-ghost:hover {
    background: var(--bleu-pale);
}

.btn-sm {
    padding: 7px 16px;
    font-size: 13px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn:disabled,
.btn[aria-disabled="true"] {
    background: #b9c2cf !important;
    border-color: #b9c2cf !important;
    color: rgba(255, 255, 255, .92) !important;
    cursor: not-allowed;
    box-shadow: none;
    opacity: .72;
    pointer-events: none;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-default);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-header {
    padding: 20px 24px 0;
}

.card-body {
    padding: 20px 24px;
}

.card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--gris-clair);
    background: var(--bg-alt);
}

.card-accent {
    border-top: 4px solid var(--bleu);
}

.card-accent-rouge {
    border-top: 4px solid var(--rouge);
}

/* ============================================================
   SECTIONS COMMUNES
   ============================================================ */
.section {
    padding: 64px 24px;
}

.section-alt {
    background: var(--bg-alt);
}

.section-dark {
    background: var(--bleu);
    color: var(--blanc);
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--rouge);
    margin-bottom: 10px;
    border-left: 3px solid var(--rouge);
    padding-left: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-default);
    margin-bottom: 12px;
}

.section-dark .section-title,
.section-dark .section-label {
    color: var(--blanc);
    border-color: rgba(255, 255, 255, .5);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 640px;
    margin-bottom: 40px;
}

/* Grid gÃ©nÃ©rique */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* Layouts publics */
.surface-note {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
}

.content-shell-sm {
    max-width: 760px;
    margin: 0 auto;
}

.cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.feature-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: center;
    margin-bottom: 56px;
}

.feature-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.stack-layout {
    display: grid;
    gap: 40px;
    align-items: start;
}

.stack-layout--sidebar {
    grid-template-columns: minmax(0, 1fr) 320px;
}

.stack-layout--article {
    max-width: 980px;
    margin: 0 auto;
    grid-template-columns: minmax(0, 1fr) 280px;
}

.contact-form-shell {
    padding: 36px;
}

.contact-info-list,
.helper-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 4px;
}

.article-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.article-author-card {
    margin-top: 28px;
    padding: 18px 20px;
    border: 1px solid var(--border-default);
    border-radius: 14px;
    background: var(--bg-alt);
}

.article-author-kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.article-author-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--bleu);
    margin-bottom: 4px;
}

.article-aside-card+.article-aside-card {
    margin-top: 24px;
}

/* Pages d'information */
.faq-shell {
    max-width: 940px;
}

.faq-stack {
    display: grid;
    gap: 18px;
}

.pillar-highlights {
    margin-bottom: 32px;
}

.pillar-summary-card {
    margin-bottom: 28px;
}

.pillar-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.pillar-summary-link {
    display: block;
    padding: 16px 18px;
    border: 1px solid rgba(0, 49, 137, .12);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
    color: var(--text-default);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.pillar-summary-link:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 49, 137, .26);
    box-shadow: var(--shadow);
    color: var(--bleu);
}

.pillar-summary-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--bleu-pale);
    color: var(--bleu);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.pillar-summary-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.pillar-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: start;
}

.pillar-main {
    min-width: 0;
}

.pillar-side {
    display: grid;
    gap: 18px;
}

.pillar-side .card {
    border-radius: 18px;
}

.pillar-section {
    border-radius: 22px;
}

.pillar-section+.pillar-section {
    margin-top: 20px;
}

.pillar-section .card-body {
    padding: 28px 28px 26px;
}

.pillar-section-kicker {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--rouge);
    margin-bottom: 12px;
}

.pillar-section-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 14px;
}

.pillar-section-copy {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 14px;
}

.pillar-list {
    list-style: disc;
    padding-left: 24px;
    display: grid;
    gap: 8px;
    color: var(--text-muted);
    line-height: 1.8;
}

.pillar-side-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pillar-nav {
    display: grid;
    gap: 10px;
}

.pillar-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--bg-alt);
    color: var(--bleu);
    font-weight: 600;
    border: 1px solid transparent;
}

.pillar-nav a:hover,
.pillar-nav a:focus-visible {
    border-color: rgba(0, 49, 137, .18);
    background: var(--bg-default);
}

.pillar-side-copy {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 14px;
}

/* ============================================================
   CHIFFRES / STATS
   ============================================================ */
.stat-block {
    text-align: center;
    padding: 28px 16px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 800;
    color: var(--blanc);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: .75;
}

/* ============================================================
   ACTUALITÃ‰S â€” cartes
   ============================================================ */
.news-card {
    display: flex;
    flex-direction: column;
}

.news-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: var(--gris-clair);
}

.news-category {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
    margin-bottom: 8px;
}

.cat-urgence {
    background: #ffebee;
    color: var(--rouge);
}

.cat-formation {
    background: var(--bleu-pale);
    color: var(--bleu);
}

.cat-info {
    background: #e8f5e9;
    color: #1b5e20;
}

.cat-evenement {
    background: #fff8e1;
    color: #6d4c00;
}

.news-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.news-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--text-default);
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-muted);
}

.news-content>*+* {
    margin-top: 1.15em;
}

.news-content p {
    margin: 0;
}

.news-content h2,
.news-content h3 {
    font-family: var(--font-heading);
    line-height: 1.15;
    color: var(--bleu);
}

.news-content ul,
.news-content ol {
    padding-left: 1.3em;
    list-style-position: outside;
}

.news-content ul {
    list-style-type: disc;
}

.news-content ol {
    list-style-type: decimal;
}

.news-content li+li {
    margin-top: .35em;
}

.news-content blockquote {
    margin: 1.4em 0;
    padding: 1em 1.2em;
    border-left: 4px solid var(--bleu);
    background: var(--bg-alt);
    color: var(--text-muted);
}

.news-content .btn {
    margin-top: .6em;
    margin-right: .5em;
}

/* ============================================================
   FORMULAIRES
   ============================================================ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-default);
    margin-bottom: 6px;
    letter-spacing: .2px;
}

.form-label .required-star {
    color: var(--rouge);
    margin-left: 3px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--text-default);
    background: var(--bg-default);
    border: 1.5px solid var(--border-default);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
}

.form-control[contenteditable="true"]:empty::before {
    content: attr(data-placeholder);
    color: #8c8c8c;
}

.form-control:focus {
    outline: none;
    border-color: var(--bleu);
    box-shadow: 0 0 0 3px rgba(0, 49, 137, .12);
}

.form-control.is-invalid {
    border-color: var(--rouge);
}

.form-error {
    font-size: 12px;
    color: var(--rouge);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235c5c5c' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-divider {
    border: none;
    border-top: 1px solid var(--gris-clair);
    margin: 28px 0;
}

/* OAuth buttons */
.btn-oauth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px 20px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    border: 1.5px solid var(--border-default);
    border-radius: var(--radius);
    background: var(--bg-default);
    color: var(--text-default);
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition);
    text-decoration: none;
}

.btn-oauth:hover {
    background: var(--bg-alt);
    box-shadow: var(--shadow);
    color: var(--text-default);
}

.btn-oauth svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-oauth.disabled {
    opacity: .45;
    pointer-events: none;
    cursor: not-allowed;
}

.btn-oauth.btn-apple {
    background: #000;
    border-color: #000;
    color: #fff;
}

.btn-oauth.btn-apple:hover {
    background: #1a1a1a;
    color: #fff;
}

/* ============================================================
   PAGE TITRE BANNER
   ============================================================ */
.page-banner {
    background: linear-gradient(135deg, #001d5c 0%, var(--bleu) 100%);
    color: var(--blanc);
    padding: 44px 24px 36px;
    border-bottom: 4px solid var(--rouge);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .02) 0, rgba(255, 255, 255, .02) 1px, transparent 0, transparent 20px);
}

.page-banner-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: .5px;
    margin-bottom: 6px;
}

.page-banner p {
    font-size: 15px;
    opacity: .8;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    opacity: .65;
    margin-bottom: 10px;
}

.breadcrumb a {
    color: inherit;
}

.breadcrumb span {
    opacity: .5;
}

/* ============================================================
   TABLE
   ============================================================ */
.table-wrapper {
    overflow-x: auto;
}

table.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table thead tr {
    background: var(--bleu);
    color: var(--blanc);
}

.data-table th {
    padding: 12px 16px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: left;
}

.data-table td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--gris-clair);
    vertical-align: middle;
}

.data-table tbody tr:hover {
    background: var(--bleu-pale);
}

.data-table tbody tr:nth-child(even) {
    background: var(--bg-alt);
}

.data-table tbody tr:nth-child(even):hover {
    background: var(--bleu-pale);
}

/* ============================================================
   BADGES RÃ”LES
   ============================================================ */
.badge-role {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
    white-space: nowrap;
}

.role-super_admin {
    background: #1a0030;
    color: #e0aaff;
}

.role-admin_regional {
    background: #003189;
    color: #a8c4ff;
}

.role-chef_unite {
    background: #003d1a;
    color: #9bffc6;
}

.role-benevole {
    background: #4a1000;
    color: #ffb899;
}

.role-membre {
    background: var(--gris-clair);
    color: #212121;
}

/* Badge statut */
.badge-status {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
}

.status-active {
    background: #e8f5e9;
    color: #1b5e20;
}

.status-pending {
    background: #fff8e1;
    color: #6d4c00;
}

.status-inactive {
    background: #ffebee;
    color: #b71c1c;
}

/* ============================================================
   DASHBOARD
   ============================================================ */
.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - 140px);
}

.dashboard-sidebar {
    background: #001d5c;
    color: var(--blanc);
    padding: 24px 0;
}

.sidebar-user {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    margin-bottom: 8px;
}

.sidebar-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bleu);
    border: 2px solid rgba(255, 255, 255, .2);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--blanc);
}

.sidebar-user-name {
    font-weight: 700;
    font-size: 15px;
}

.sidebar-user-role {
    font-size: 11px;
    opacity: .6;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, .75);
    transition: background var(--transition), color var(--transition);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(255, 255, 255, .1);
    color: var(--blanc);
}

.sidebar-nav a.active {
    border-left: 3px solid var(--rouge);
}

.sidebar-nav .sidebar-section-title {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .4;
    padding: 16px 20px 6px;
}

.dashboard-main {
    padding: 32px;
    background: var(--bg-alt);
}

.dashboard-heading {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-default);
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.dashboard-card {
    background: var(--bg-default);
    border: 1px solid var(--border-default);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.dashboard-card-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-bleu {
    background: var(--bleu-pale);
    color: var(--bleu);
}

.icon-rouge {
    background: #ffebee;
    color: var(--rouge);
}

.icon-vert {
    background: #e8f5e9;
    color: #1b5e20;
}

.icon-orange {
    background: #fff3e0;
    color: #e65100;
}

.dashboard-card-value {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: var(--text-default);
}

.dashboard-card-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============================================================
   ALERTE / URGENCE
   ============================================================ */
.alert-banner {
    background: var(--rouge);
    color: var(--blanc);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 14px;
}

.alert-banner svg {
    flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #090D16;
    color: rgba(255, 255, 255, 0.7);
    margin-top: auto;
    font-family: var(--font-body);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
    padding: 80px 24px 50px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo img {
    display: block;
    opacity: 0.95;
    transition: opacity var(--transition);
}

.footer-logo img:hover {
    opacity: 1;
}

.footer-lead {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    max-width: 38ch;
}

.footer-contact-inline {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-email:hover {
    color: var(--blanc);
}

.footer-email i {
    color: #5885ff;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 5px;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
    transition: color var(--transition), transform var(--transition);
    text-decoration: none;
    display: inline-flex;
}

.footer-socials a:hover {
    color: var(--blanc);
    transform: translateY(-2px);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blanc);
    margin-bottom: 24px;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color var(--transition), padding-left var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--blanc);
    padding-left: 4px;
}

.footer-meta-card {
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
}

.footer-meta-card p {
    margin: 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.footer-meta-card p:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.footer-meta-card strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 30px 24px;
    background: #06090F;
}

.footer-bottom .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--blanc);
}

.footer-bottom-badges {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-bottom-badges img {
    opacity: 0.7;
    transition: opacity var(--transition);
}

.footer-bottom-badges img:hover {
    opacity: 1;
}

/* ============================================================
   PARTENAIRES
   ============================================================ */
.partners-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(0, 102, 204, .08), transparent 34%),
        linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.partners-marquee {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(0, 49, 137, .10);
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 18px 44px rgba(0, 34, 96, .08);
    padding: 20px 0;
}

.partners-marquee::before,
.partners-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.partners-marquee::before {
    left: 0;
    background: linear-gradient(90deg, rgba(248, 251, 255, 1) 0%, rgba(248, 251, 255, 0) 100%);
}

.partners-marquee::after {
    right: 0;
    background: linear-gradient(270deg, rgba(248, 251, 255, 1) 0%, rgba(248, 251, 255, 0) 100%);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 36px;
    width: max-content;
    padding: 4px 18px;
    animation: partners-scroll 26s linear infinite;
}

.partners-marquee:hover .partners-track {
    animation-play-state: paused;
}

.partner-logo-link {
    min-width: 180px;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 6px 10px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.partner-logo-link:hover {
    transform: translateY(-2px);
    opacity: .82;
}

.partner-logo {
    max-width: 190px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 34, 96, .10));
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        display: none;
    }

    /* Menu hamburger sur mobile */
    .feature-split,
    .stack-layout--sidebar,
    .stack-layout--article,
    .pillar-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .topbar-inner {
        flex-wrap: wrap;
        justify-content: space-between;
        row-gap: 8px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-emblem {
        display: none;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .feature-stats,
    .checkbox-grid,
    .pillar-summary-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact-inline {
        flex-direction: column;
        align-items: flex-start;
    }

    .topbar-text {
        display: none;
    }

    .header-inner {
        min-height: auto;
        padding: 12px 20px;
        gap: 12px;
    }

    .logo-header-546 img {
        width: min(170px, 46vw);
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav>ul {
        display: none;
        position: absolute;
        top: 100%;
        left: auto;
        right: 0;
        width: min(100vw - 24px, 420px);
        background: var(--bg-default);
        flex-direction: column;
        border-top: 3px solid var(--bleu);
        box-shadow: var(--shadow-lg);
        padding: 8px 0;
        gap: 0;
        border-radius: 16px;
        max-height: calc(100vh - 120px);
        overflow: auto;
    }

    .main-nav>ul.open {
        display: flex;
    }

    .main-nav>ul>li {
        width: 100%;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .main-nav>ul>li>a,
    .main-nav>ul>li>.nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        text-align: left;
        white-space: normal;
        border-radius: 0;
        padding: 14px 18px;
    }

    .main-nav>ul>li>a::after,
    .main-nav>ul>li>.nav-dropdown-toggle::after {
        left: 18px;
        right: 18px;
        bottom: 8px;
    }

    .has-dropdown::after {
        display: none;
    }

    .dropdown {
        position: static;
        border: 1px solid var(--border-default);
        box-shadow: none;
        background: var(--bg-alt);
        margin: 0 10px 10px;
        border-top: 3px solid var(--bleu);
        border-radius: 12px;
    }

    .has-dropdown>.dropdown {
        display: none;
    }

    .has-dropdown.is-open>.dropdown {
        display: block;
    }

    .dropdown li a {
        padding: 12px 18px;
    }

    .dropdown li a:hover,
    .dropdown li a[aria-current="page"] {
        padding-left: 18px;
    }

    .dropdown li a::before {
        display: none;
    }

    .logo-fullname {
        display: none;
    }

    .partner-logo-link {
        min-width: 140px;
        min-height: 64px;
        padding: 4px 8px;
    }

    .partners-marquee::before,
    .partners-marquee::after {
        width: 44px;
    }

    .site-popup-root {
        padding: 16px;
    }

    .site-popup-card {
        padding: 22px 18px 18px;
        border-radius: 20px;
    }

    .site-popup-title {
        font-size: 28px;
        margin-right: 36px;
    }

    .site-popup-actions {
        flex-direction: column;
    }

    .site-popup-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .site-popup-preview-shell {
        padding: 18px;
        border-radius: 22px;
    }

    .contact-form-shell,
    .pillar-section .card-body {
        padding: 22px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 52px 20px 48px;
    }

    .section {
        padding: 44px 20px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .topbar-ref {
        width: 100%;
        text-align: center;
    }

    .article-meta-row {
        align-items: flex-start;
    }

    .site-popup-message {
        font-size: 14px;
    }

    .site-popup-close {
        top: 12px;
        right: 12px;
        width: 34px;
        height: 34px;
    }

    .site-popup-badge {
        margin-right: 32px;
    }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes partners-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes hero-line-reveal {
    from {
        opacity: 0;
        transform: scaleX(.2);
    }

    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes hero-line-glow {

    0%,
    100% {
        box-shadow: 0 0 16px rgba(127, 168, 255, .22);
    }

    50% {
        box-shadow: 0 0 26px rgba(127, 168, 255, .45);
    }
}

@keyframes hero-emphasis {

    0%,
    100% {
        color: #7fa8ff;
    }

    50% {
        color: #b5cbff;
    }
}

@keyframes hero-actions-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

@keyframes hero-caret-blink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

.animate-in {
    animation: fadeInUp .4s ease both;
}

.delay-1 {
    animation-delay: .1s;
}

.delay-2 {
    animation-delay: .2s;
}

.partners-marquee:hover .partners-track {
    animation-play-state: paused;
}

.partner-logo-link {
    min-width: 180px;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 6px 10px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.partner-logo-link:hover {
    transform: translateY(-2px);
    opacity: .82;
}

.partner-logo {
    max-width: 190px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 34, 96, .10));
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        display: none;
    }

    /* Menu hamburger sur mobile */
    .feature-split,
    .stack-layout--sidebar,
    .stack-layout--article,
    .pillar-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .topbar-inner {
        flex-wrap: wrap;
        justify-content: space-between;
        row-gap: 8px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-emblem {
        display: none;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .feature-stats,
    .checkbox-grid,
    .pillar-summary-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact-inline {
        flex-direction: column;
        align-items: flex-start;
    }

    .topbar-text {
        display: none;
    }

    .header-inner {
        min-height: auto;
        padding: 12px 20px;
        gap: 12px;
    }

    .logo-header-546 img {
        width: min(170px, 46vw);
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav>ul {
        display: none;
        position: absolute;
        top: 100%;
        left: auto;
        right: 0;
        width: min(100vw - 24px, 420px);
        background: var(--bg-default);
        flex-direction: column;
        border-top: 3px solid var(--bleu);
        box-shadow: var(--shadow-lg);
        padding: 8px 0;
        gap: 0;
        border-radius: 16px;
        max-height: calc(100vh - 120px);
        overflow: auto;
    }

    .main-nav>ul.open {
        display: flex;
    }

    .main-nav>ul>li {
        width: 100%;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .main-nav>ul>li>a,
    .main-nav>ul>li>.nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        text-align: left;
        white-space: normal;
        border-radius: 0;
        padding: 14px 18px;
    }

    .main-nav>ul>li>a::after,
    .main-nav>ul>li>.nav-dropdown-toggle::after {
        left: 18px;
        right: 18px;
        bottom: 8px;
    }

    .has-dropdown::after {
        display: none;
    }

    .dropdown {
        position: static;
        border: 1px solid var(--border-default);
        box-shadow: none;
        background: var(--bg-alt);
        margin: 0 10px 10px;
        border-top: 3px solid var(--bleu);
        border-radius: 12px;
    }

    .has-dropdown>.dropdown {
        display: none;
    }

    .has-dropdown.is-open>.dropdown {
        display: block;
    }

    .dropdown li a {
        padding: 12px 18px;
    }

    .dropdown li a:hover,
    .dropdown li a[aria-current="page"] {
        padding-left: 18px;
    }

    .dropdown li a::before {
        display: none;
    }

    .logo-fullname {
        display: none;
    }

    .partner-logo-link {
        min-width: 140px;
        min-height: 64px;
        padding: 4px 8px;
    }

    .partners-marquee::before,
    .partners-marquee::after {
        width: 44px;
    }

    .site-popup-root {
        padding: 16px;
    }

    .site-popup-card {
        padding: 22px 18px 18px;
        border-radius: 20px;
    }

    .site-popup-title {
        font-size: 28px;
        margin-right: 36px;
    }

    .site-popup-actions {
        flex-direction: column;
    }

    .site-popup-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .site-popup-preview-shell {
        padding: 18px;
        border-radius: 22px;
    }

    .contact-form-shell,
    .pillar-section .card-body {
        padding: 22px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 52px 20px 48px;
    }

    .section {
        padding: 44px 20px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .topbar-ref {
        width: 100%;
        text-align: center;
    }

    .article-meta-row {
        align-items: flex-start;
    }

    .site-popup-message {
        font-size: 14px;
    }

    .site-popup-close {
        top: 12px;
        right: 12px;
        width: 34px;
        height: 34px;
    }

    .site-popup-badge {
        margin-right: 32px;
    }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes partners-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes hero-line-reveal {
    from {
        opacity: 0;
        transform: scaleX(.2);
    }

    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes hero-line-glow {

    0%,
    100% {
        box-shadow: 0 0 16px rgba(127, 168, 255, .22);
    }

    50% {
        box-shadow: 0 0 26px rgba(127, 168, 255, .45);
    }
}

@keyframes hero-emphasis {

    0%,
    100% {
        color: #7fa8ff;
    }

    50% {
        color: #b5cbff;
    }
}

@keyframes hero-actions-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

@keyframes hero-caret-blink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

.animate-in {
    animation: fadeInUp .4s ease both;
}

.delay-1 {
    animation-delay: .1s;
}

.delay-2 {
    animation-delay: .2s;
}

.delay-3 {
    animation-delay: .3s;
}

/* Print */
@media print {

    .site-header,
    .site-footer,
    .topbar,
    .nav-toggle {
        display: none;
    }

    body {
        color: #000;
    }
}
/* Styles spécifiques pour l'interface du Design System (Documentation) */
/* Ne doit pas interférer avec les styles de anrdi.fr */

:root {
    --ds-sidebar-width: 280px;
    --ds-bg: var(--bg-default);
    --ds-sidebar-bg: var(--card-bg);
    --ds-border: var(--border-default);
    --ds-text: var(--text-default);
    --ds-text-light: var(--text-muted);
    --ds-primary: var(--primary);
    --ds-code-bg: #1e293b;
    --ds-code-text: #e2e8f0;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--ds-bg);
    display: flex;
    min-height: 100vh;
}

/* Header mobile */
.ds-mobile-header {
    display: none;
    background-color: var(--ds-sidebar-bg);
    padding: 1rem;
    border-bottom: 1px solid var(--ds-border);
    position: sticky;
    top: 0;
    z-index: 50;
    align-items: center;
    justify-content: space-between;
}

.ds-mobile-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--ds-text);
    cursor: pointer;
}

/* Sidebar */
.ds-sidebar {
    width: var(--ds-sidebar-width);
    background-color: var(--ds-sidebar-bg);
    border-right: 1px solid var(--ds-border);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    z-index: 40;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.ds-brand {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--ds-border);
}

.ds-brand h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ds-primary);
    margin: 0;
    letter-spacing: -0.5px;
}

.ds-brand p {
    font-size: 0.875rem;
    color: var(--ds-text-light);
    margin: 0.5rem 0 0 0;
}

.ds-nav {
    padding: 1.5rem 0;
    flex-grow: 1;
}

.ds-nav-group {
    margin-bottom: 1.5rem;
}

.ds-nav-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--ds-text-light);
    padding: 0 1.5rem;
    margin-bottom: 0.5rem;
}

.ds-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ds-nav-link {
    display: block;
    padding: 0.5rem 1.5rem;
    color: var(--ds-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.ds-nav-link:hover {
    background-color: rgba(0, 49, 137, 0.05);
    color: var(--ds-primary);
}

.ds-nav-link.active {
    background-color: rgba(0, 49, 137, 0.1);
    color: var(--ds-primary);
    font-weight: 600;
    border-left-color: var(--ds-primary);
}

/* Main Content */
.ds-main {
    flex-grow: 1;
    margin-left: var(--ds-sidebar-width);
    padding: 3rem 4rem;
    max-width: 1200px;
}

.ds-section {
    margin-bottom: 5rem;
    padding-top: 2rem; /* Pour le scrollspy */
}

.ds-section-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--ds-border);
}

.ds-section-title {
    font-size: 2.5rem;
    margin: 0;
    color: var(--ds-text);
}

.ds-component-preview {
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.ds-component-code {
    background: var(--ds-code-bg);
    position: relative;
}

.ds-component-code pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
    font-family: 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--ds-code-text);
    background: transparent;
}

.ds-copy-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.ds-copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Palette de couleurs */
.ds-color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

.ds-color-card {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--ds-border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.ds-color-swatch {
    height: 100px;
    width: 100%;
}

.ds-color-info {
    padding: 1rem;
    background: var(--card-bg);
}

.ds-color-name {
    font-weight: 700;
    font-size: 0.875rem;
    margin: 0 0 0.25rem 0;
}

.ds-color-hex {
    font-family: monospace;
    color: var(--ds-text-light);
    font-size: 0.75rem;
    margin: 0;
}

.ds-color-var {
    font-family: monospace;
    color: var(--ds-primary);
    font-size: 0.75rem;
    margin: 0.25rem 0 0 0;
    background: var(--ds-bg);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    display: inline-block;
}

/* Responsive */
@media (max-width: 992px) {
    .ds-main {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .ds-mobile-header {
        display: flex;
    }

    .ds-sidebar {
        transform: translateX(-100%);
        padding-top: 1rem;
    }

    .ds-sidebar.is-open {
        transform: translateX(0);
    }

    .ds-main {
        margin-left: 0;
        padding: 1.5rem;
    }

    .ds-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 30;
    }

    .ds-overlay.is-active {
        display: block;
    }
}
\n
/* ============================================================
   GRID & UTILITIES
   ============================================================ */
.ds-grid-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -12px;
    margin-left: -12px;
}
.ds-col {
    flex: 1 0 0%;
    padding-right: 12px;
    padding-left: 12px;
}
.ds-col-12 { flex: 0 0 100%; max-width: 100%; padding-right: 12px; padding-left: 12px; }
.ds-col-6 { flex: 0 0 50%; max-width: 50%; padding-right: 12px; padding-left: 12px; }
.ds-col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; padding-right: 12px; padding-left: 12px; }
.ds-col-3 { flex: 0 0 25%; max-width: 25%; padding-right: 12px; padding-left: 12px; }

@media (min-width: 768px) {
    .ds-col-md-12 { flex: 0 0 100%; max-width: 100%; }
    .ds-col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .ds-col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .ds-col-md-3 { flex: 0 0 25%; max-width: 25%; }
}

/* Spacing */
.mt-1 { margin-top: 0.25rem; } .mt-2 { margin-top: 0.5rem; } .mt-3 { margin-top: 1rem; } .mt-4 { margin-top: 1.5rem; } .mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.25rem; } .mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 1.5rem; } .mb-5 { margin-bottom: 3rem; }
.p-1 { padding: 0.25rem; } .p-2 { padding: 0.5rem; } .p-3 { padding: 1rem; } .p-4 { padding: 1.5rem; } .p-5 { padding: 3rem; }

/* ============================================================
   TUILES (TILES)
   ============================================================ */
.ds-tile {
    background: var(--card-bg);
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: var(--text-default);
    transition: var(--transition);
    height: 100%;
}
.ds-tile:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    transform: translateY(-2px);
    color: var(--text-default);
}
.ds-tile-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}
.ds-tile-desc {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ============================================================
   ACCORDEONS
   ============================================================ */
.ds-accordion {
    border-bottom: 1px solid var(--border-default);
}
.ds-accordion:first-child {
    border-top: 1px solid var(--border-default);
}
.ds-accordion-header {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 16px 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-default);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ds-accordion-header:hover {
    color: var(--primary);
}
.ds-accordion-header i {
    transition: transform var(--transition);
}
.ds-accordion-header[aria-expanded="true"] i {
    transform: rotate(180deg);
}
.ds-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.ds-accordion-content {
    padding: 0 0 16px 0;
    color: var(--text-muted);
}

/* ============================================================
   ONGLETS (TABS)
   ============================================================ */
.ds-tabs {
    display: flex;
    flex-direction: column;
}
.ds-tab-list {
    display: flex;
    border-bottom: 2px solid var(--border-default);
    gap: 16px;
    margin-bottom: 16px;
    overflow-x: auto;
}
.ds-tab {
    background: transparent;
    border: none;
    padding: 12px 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
    white-space: nowrap;
}
.ds-tab:hover {
    color: var(--primary);
}
.ds-tab[aria-selected="true"] {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.ds-tab-panel {
    display: none;
}
.ds-tab-panel[aria-hidden="false"] {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================================
   MODALES
   ============================================================ */
.ds-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.ds-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.ds-modal {
    background: var(--bg-default);
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}
.ds-modal-overlay.is-open .ds-modal {
    transform: translateY(0);
}
.ds-modal-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-default);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ds-modal-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}
.ds-modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}
.ds-modal-close:hover {
    color: var(--danger);
}
.ds-modal-body {
    padding: 24px;
    overflow-y: auto;
}
.ds-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-default);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* ============================================================
   TAGS
   ============================================================ */
.ds-tags-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ds-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 16px;
    background: var(--bg-alt);
    color: var(--text-default);
    border: 1px solid var(--border-default);
    white-space: nowrap;
}
.ds-tag-blue { background: var(--bleu-pale); color: var(--bleu); border-color: var(--bleu-clair); }
.ds-tag-red { background: #FFEBEE; color: var(--rouge-fonce); border-color: #EF9A9A; }
[data-theme="dark"] .ds-tag-blue { background: rgba(0, 102, 204, 0.2); border-color: var(--bleu-clair); }
[data-theme="dark"] .ds-tag-red { background: rgba(211, 47, 47, 0.2); border-color: var(--rouge); }

/* Theme switcher button */
.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--border-default);
    color: var(--text-default);
    padding: 8px 12px;
    border-radius: var(--radius);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}
.theme-toggle-btn:hover {
    background: var(--bg-alt);
}


/* ============================================================
   FIXES FOR DEMO COMPONENTS
   ============================================================ */
.ds-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 0.5rem 0;
}

.ds-section-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin: 0;
}

.ds-component-block {
    background: var(--card-bg);
    border: 1px solid var(--border-default);
    border-radius: 8px;
    margin-bottom: 2.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.ds-component-header {
    padding: 1rem 1.5rem;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-default);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ds-component-title {
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
    color: var(--text-default);
}


/* ============================================================
   DARK MODE UI FIXES FOR HEADER
   ============================================================ */
[data-theme="dark"] {
    --bleu-pale: rgba(51, 133, 224, 0.15);
}
[data-theme="dark"] .site-logo img {
    filter: brightness(0) invert(1);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bleu-pale: rgba(51, 133, 224, 0.15);
    }
    :root:not([data-theme="light"]) .site-logo img {
        filter: brightness(0) invert(1);
    }
}


/* ============================================================
   NEW COMPONENTS: BREADCRUMB, PAGINATION, STEPPER, TOGGLE
   ============================================================ */

/* Breadcrumb */
.ds-breadcrumb {
    font-size: 0.875rem;
    color: var(--text-muted);
}
.ds-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    align-items: center;
}
.ds-breadcrumb li {
    display: inline-flex;
    align-items: center;
}
.ds-breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: var(--border-default);
}
.ds-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.ds-breadcrumb a:hover {
    color: var(--primary);
    text-decoration: underline;
}
.ds-breadcrumb [aria-current="page"] {
    color: var(--text-default);
    font-weight: 600;
}

/* Pagination */
.ds-pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.25rem;
    align-items: center;
}
.ds-pagination-link,
.ds-pagination-prev,
.ds-pagination-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-default);
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}
.ds-pagination-link:hover,
.ds-pagination-prev:not(.disabled):hover,
.ds-pagination-next:not(.disabled):hover {
    background: var(--bg-alt);
}
.ds-pagination-link.active {
    background: var(--primary);
    color: #fff;
}
.ds-pagination-prev.disabled,
.ds-pagination-next.disabled {
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.5;
}
.ds-pagination-ellipsis {
    color: var(--text-muted);
    padding: 0 0.5rem;
}

/* Stepper */
.ds-stepper {
    width: 100%;
    max-width: 400px;
}
.ds-stepper-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-default);
    margin: 0 0 0.25rem 0;
}
.ds-stepper-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0 0 0.75rem 0;
}
.ds-stepper-steps {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}
.ds-stepper-steps::before {
    content: "";
    flex: 1;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}
.ds-stepper-steps[data-current="2"]::before { flex: 2; }
.ds-stepper-steps[data-current="3"]::before { flex: 3; }
.ds-stepper-steps[data-current="4"]::before { flex: 4; }
.ds-stepper-steps::after {
    content: "";
    flex: 2;
    height: 4px;
    background: var(--border-default);
    border-radius: 2px;
}
.ds-stepper-steps[data-current="3"]::after { flex: 1; }
.ds-stepper-steps[data-current="4"]::after { display: none; }

/* Toggle */
.ds-toggle {
    display: inline-flex;
    align-items: center;
    position: relative;
}
.ds-toggle-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.ds-toggle-label {
    position: relative;
    padding-left: 3rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-default);
    line-height: 1.5rem;
    display: inline-flex;
    align-items: center;
}
.ds-toggle-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 1.25rem;
    background: var(--border-default);
    border-radius: 1rem;
    transition: background 0.3s;
}
.ds-toggle-label::after {
    content: "";
    position: absolute;
    left: 0.125rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.ds-toggle-input:checked + .ds-toggle-label::before {
    background: var(--primary);
}
.ds-toggle-input:checked + .ds-toggle-label::after {
    transform: translate(1.25rem, -50%);
}
.ds-toggle-input:focus-visible + .ds-toggle-label::before {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}


/* ============================================================
   SCROLLBAR AND COLOR-SCHEME FIXES
   ============================================================ */
:root {
    color-scheme: light dark;
}
[data-theme="dark"] {
    color-scheme: dark;
}
[data-theme="light"] {
    color-scheme: light;
}

/* Hide scrollbar for tab list but keep it scrollable */
.ds-tab-list {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.ds-tab-list::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}


/* ============================================================
   RGPD & COOKIE BANNER
   ============================================================ */
.ds-cookie-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-default);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    box-shadow: var(--shadow);
    width: 100%;
}
.ds-cookie-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    color: var(--text-default);
}
.ds-cookie-content p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.ds-cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
    background-color: var(--bleu-fonce);
    color: #fff;
    padding: 0 1rem;
    height: 40px;
    font-size: 0.8125rem;
    font-weight: 500;
}
.topbar-flag {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.topbar-ref {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-size: 0.6875rem;
}
.notif-badge {
    background: var(--rouge);
    color: #fff;
    font-size: 0.625rem;
    padding: 0.1rem 0.3rem;
    border-radius: 10px;
    position: absolute;
    top: -5px;
    right: -10px;
}

/* ============================================================
   PAGE BANNER
   ============================================================ */
.page-banner {
    background: linear-gradient(135deg, var(--bleu-fonce) 0%, var(--primary) 100%);
    color: #fff;
    padding: 3rem 2rem;
    border-radius: 0 0 16px 16px;
    margin-bottom: 2rem;
}
.page-banner .section-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.page-banner .section-title {
    color: #fff;
    margin: 0 0 0.5rem 0;
    font-size: 2.25rem;
}
.page-banner .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin: 0;
    max-width: 600px;
}

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.flash i {
    margin-right: 0.5rem;
    font-size: 1.125rem;
}
.flash-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.5;
    padding: 0 0.5rem;
}
.flash-close:hover {
    opacity: 1;
}
.flash-success {
    background: rgba(46, 125, 50, 0.1);
    color: var(--vert);
    border: 1px solid rgba(46, 125, 50, 0.2);
}
.flash-error {
    background: rgba(211, 47, 47, 0.1);
    color: var(--rouge);
    border: 1px solid rgba(211, 47, 47, 0.2);
}
.flash-info {
    background: rgba(0, 102, 204, 0.1);
    color: var(--bleu);
    border: 1px solid rgba(0, 102, 204, 0.2);
}
[data-theme="dark"] .flash-success { color: #81c784; background: rgba(129, 199, 132, 0.1); }
[data-theme="dark"] .flash-error { color: #e57373; background: rgba(229, 115, 115, 0.1); }
[data-theme="dark"] .flash-info { color: #64b5f6; background: rgba(100, 181, 246, 0.1); }


/* ============================================================
   MARKDOWN BODY
   ============================================================ */
.markdown-body h1, .markdown-body h2, .markdown-body h3 {
    color: var(--text-default);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-default);
    padding-bottom: 0.3em;
}
.markdown-body p {
    color: var(--text-muted);
}
.markdown-body pre {
    background: #111;
    color: #e0e0e0;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
}
.markdown-body code {
    background: var(--border-default);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: monospace;
    font-size: 85%;
}
.markdown-body pre code {
    background: transparent;
    padding: 0;
}


/* ============================================================
   SPINNERS & LOADERS
   ============================================================ */
.spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 3px solid rgba(0, 102, 204, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: ds-spin 1s ease-in-out infinite;
}
.spinner-sm { width: 1.25rem; height: 1.25rem; border-width: 2px; }
.spinner-lg { width: 3rem; height: 3rem; border-width: 4px; }
@keyframes ds-spin {
    to { transform: rotate(360deg); }
}

/* ============================================================
   SKELETON SCREENS
   ============================================================ */
.skeleton {
    background: #e0e0e0;
    background: linear-gradient(90deg, var(--border-default) 25%, var(--gris-bg) 50%, var(--border-default) 75%);
    background-size: 200% 100%;
    animation: ds-skeleton-loading 1.5s infinite;
    border-radius: 4px;
}
[data-theme="dark"] .skeleton {
    background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
    background-size: 200% 100%;
}
@keyframes ds-skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.skeleton-text { width: 100%; height: 1rem; margin-bottom: 0.5rem; }
.skeleton-text.short { width: 60%; }
.skeleton-avatar { width: 3rem; height: 3rem; border-radius: 50%; }
.skeleton-card { height: 150px; border-radius: 8px; }

/* ============================================================
   AVATARS & PROFILS
   ============================================================ */
.avatar {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    overflow: visible;
}
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.avatar-sm { width: 32px; height: 32px; font-size: 0.875rem; }
.avatar-lg { width: 64px; height: 64px; font-size: 1.5rem; }

.avatar-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--vert);
    border: 2px solid var(--card-bg);
}
.avatar-status.offline { background-color: var(--gris-moyen); }
.avatar-status.busy { background-color: var(--rouge); }
.avatar-status.away { background-color: #F57F17; }

/* ============================================================
   EMPTY STATES & 404
   ============================================================ */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px dashed var(--border-default);
}
.empty-state-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}
.empty-state-title {
    font-size: 1.5rem;
    color: var(--text-default);
    margin-bottom: 0.75rem;
    font-weight: 700;
}
.empty-state-desc {
    color: var(--text-muted);
    max-width: 400px;
    margin-bottom: 2rem;
}

/* ============================================================
   TOOLTIPS
   ============================================================ */
[data-tooltip] {
    position: relative;
    cursor: help;
}
[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 0.5rem 0.75rem;
    background: var(--text-default);
    color: var(--card-bg);
    font-size: 0.75rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    pointer-events: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
[data-tooltip]::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: var(--text-default) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    pointer-events: none;
}
[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-2px);
}
[data-tooltip]:hover::after {
    transform: translateX(-50%) translateY(4px);
}

/* ============================================================
   FORMULAIRES AVANCES (UPLOAD & RANGE)
   ============================================================ */
.upload-zone {
    border: 2px dashed var(--border-default);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    background: var(--bg-alt);
    transition: all 0.2s ease;
    cursor: pointer;
}
.upload-zone:hover {
    border-color: var(--primary);
    background: var(--bleu-pale);
}
.upload-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.form-range {
    width: 100%;
    height: 6px;
    background: var(--border-default);
    border-radius: 3px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ============================================================
   PROGRESS BARS
   ============================================================ */
.progress {
    width: 100%;
    height: 8px;
    background-color: var(--border-default);
    border-radius: 4px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background-color: var(--primary);
    border-radius: 4px;
    transition: width 0.3s ease;
}
.progress-bar.success { background-color: var(--vert); }
.progress-bar.danger { background-color: var(--rouge); }

/* ============================================================
   SIDENAV (MENU LATERAL)
   ============================================================ */
.sidenav {
    width: 250px;
    background: var(--card-bg);
    border-right: 1px solid var(--border-default);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.sidenav-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-default);
    font-weight: 700;
    font-size: 1.125rem;
}
.sidenav-menu {
    list-style: none;
    padding: 1rem 0;
    margin: 0;
}
.sidenav-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-default);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}
.sidenav-item i {
    width: 24px;
    margin-right: 0.5rem;
    color: var(--text-muted);
}
.sidenav-item:hover, .sidenav-item.active {
    background: var(--bg-alt);
    color: var(--primary);
    border-right: 3px solid var(--primary);
}
.sidenav-item:hover i, .sidenav-item.active i {
    color: var(--primary);
}
