:root {
    /* Palette professionnelle et sobre */
    --primary: #0055A4;       /* Bleu institutionnel (comme AFNIC) */
    --primary-light: #E8F2FD; /* Fond clair pour les accents */
    --primary-dark: #003A70;  /* Bleu foncé pour les survols */
    --secondary: #2E86AB;     /* Bleu secondaire pour les accents */
    --dark: #1E1E1E;          /* Noir profond pour le texte */
    --light: #FFFFFF;         /* Blanc pur */
    --gray: #6B7280;          /* Gris moyen pour le texte secondaire */
    --gray-light: #F3F4F6;    /* Gris très clair pour les fonds */
    --border: #E5E7EB;        /* Bordure discrète */
    --radius: 6px;            /* Bordures légèrement arrondies */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05); /* Ombre légère */
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07); /* Ombre moyenne */
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1); /* Ombre pour les cartes */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset et base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--light);
    color: var(--dark);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* --- Header (Topbar) --- */
.topbar {
    background: var(--light);
    border-bottom: 1px solid var(--border);
    padding: 0 48px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: 800;
    font-size: 14px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.01em;
}

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.topbar-nav a {
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.topbar-nav a:hover,
.topbar-nav a.active {
    color: var(--primary);
}

.topbar-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-link {
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
}

.topbar-link:hover {
    color: var(--primary);
}

/* --- Contenu principal --- */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 48px;
}

.hero-public {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.hero-copy,
.hero-preview {
    background: var(--light);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 4px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-copy h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-copy p {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.7;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

/* --- Stats --- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.stat-box {
    background: var(--light);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-box .num {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-box .lbl {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

/* --- Boutons --- */
.btn {
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--light);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

/* --- Footer --- */
.footer-simple {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 40px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: var(--gray);
    font-size: 14px;
    border-top: 1px solid var(--border);
}

.footer-links-inline {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links-inline a {
    color: var(--gray);
    font-weight: 500;
}

.footer-links-inline a:hover {
    color: var(--primary);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-public {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .topbar {
        padding: 0 24px;
        height: 64px;
    }
    .topbar-nav {
        display: none;
    }
    .content {
        padding: 60px 24px;
    }
    .hero-copy h1 {
        font-size: 36px;
    }
    .stats-row {
        grid-template-columns: 1fr;
    }
    .footer-simple {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .hero-copy h1 {
        font-size: 28px;
    }
    .btn {
        width: 100%;
        padding: 12px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .stat-box .num {
        font-size: 36px;
    }
}