   /* Reset léger pour un rendu plus homogène */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ----------------- Layout global ----------------- */
:root {
            --zen-green: #2bb673;
            --zen-blue: #1b86e3;
            --zen-dark: #10141f;
            --zen-grey: #f5f7fb;
            --zen-text: #222733;
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            color: var(--zen-text);
            background-color: white;
            line-height: 1.6;
        }

        a {
            color: var(--zen-blue);
            text-decoration: none;
        }

        a:hover {
            text-decoration: underline;
        }

        header {
            background: radial-gradient(circle at top left, var(--zen-green), var(--zen-blue));
            color: white;
            padding: 20px 0 40px;
        }

        .container {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 16px;
        }

        .topbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 32px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 700;
            letter-spacing: 0.03em;
        }

        .logo-icon {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            background: #0b1020;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
        }

        .nav-links {
            font-size: 0.95rem;
            display: flex;
            gap: 18px;
            align-items: center;
        }

        .nav-links a {
            color: rgba(255, 255, 255, 0.9);
        }

        .nav-links a.cta {
            padding: 8px 16px;
            border-radius: 999px;
            background: white;
            color: var(--zen-blue);
            font-weight: 600;
            text-decoration: none;
        }

        .nav-links a.cta:hover {
            background: #eef4ff;
        }

        .hero {
            display: grid;
            grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
            gap: 36px;
            align-items: center;
        }

        .hero-title {
            font-size: 2.4rem;
            line-height: 1.2;
            margin-bottom: 12px;
        }

        .hero-subtitle {
            font-size: 1.05rem;
            max-width: 540px;
            opacity: 0.95;
        }

        .hero-badges {
            margin: 20px 0;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .badge {
            font-size: 0.8rem;
            padding: 6px 10px;
            border-radius: 999px;
            background: rgba(0, 0, 0, 0.25);
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .hero-actions {
            margin-top: 24px;
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 11px 22px;
            border-radius: 999px;
            border: none;
            cursor: pointer;
            font-size: 0.97rem;
            font-weight: 600;
            text-decoration: none;
        }

        .btn-primary {
            background: white;
            color: var(--zen-blue);
        }

        .btn-primary:hover {
            background: #eef4ff;
        }

        .btn-outline {
            border: 1px solid var(--zen-blue);
            background: transparent;
            color: var(--zen-blue);
        }

        .btn-outline:hover {
            background: var(--zen-blue);
            color: white;
        }

        .hero-sidecard {
            background: rgba(10, 15, 30, 0.38);
            border-radius: 16px;
            padding: 18px 18px 16px;
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.18);
        }

        .sidecard-title {
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .sidecard-metric {
            font-size: 1.8rem;
            font-weight: 700;
        }

        .sidecard-metric span {
            font-size: 0.85rem;
            font-weight: 500;
            opacity: 0.9;
        }

        .sidecard-grid {
            margin-top: 12px;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 8px;
            font-size: 0.82rem;
        }

        .sidecard-item {
            padding: 6px 8px;
            border-radius: 8px;
            background: rgba(0, 0, 0, 0.25);
        }

        main {
            padding: 40px 0 60px;
        }

        section {
            margin-bottom: 40px;
        }

        h2 {
            font-size: 1.6rem;
            margin-bottom: 6px;
        }

        .section-subtitle {
            font-size: 0.97rem;
            color: #6a7082;
            margin-bottom: 18px;
        }

        .grid-3 {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 20px;
        }

        .card {
            border-radius: 14px;
            padding: 18px 16px;
            background: var(--zen-grey);
        }

        .card h3 {
            margin-top: 0;
            margin-bottom: 6px;
            font-size: 1.02rem;
        }

        .card p {
            font-size: 0.9rem;
            margin: 0;
            color: #555c6b;
        }

        .pill {
            display: inline-block;
            font-size: 0.78rem;
            padding: 3px 9px;
            border-radius: 999px;
            background: #e0f6ec;
            color: #0f6b41;
            margin-bottom: 6px;
        }

        .highlight {
            color: var(--zen-blue);
            font-weight: 600;
        }

        .list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .list li {
            font-size: 0.9rem;
            margin-bottom: 6px;
            padding-left: 18px;
            position: relative;
        }

        .list li::before {
            content: "•";
            position: absolute;
            left: 2px;
            color: var(--zen-green);
            font-weight: 700;
        }

        .cta-block {
            background: var(--zen-grey);
            border-radius: 16px;
            padding: 20px 18px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
        }

        .cta-block p {
            margin: 0;
            font-size: 0.95rem;
        }

        footer {
            border-top: 1px solid #e3e6f0;
            padding: 18px 0 24px;
            font-size: 0.85rem;
            color: #7a8090;
        }

        footer a {
            color: inherit;
        }

        .footer-flex {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        @media (max-width: 900px) {
            .hero {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 720px) {
            .grid-3 {
                grid-template-columns: 1fr;
            }

            header {
                padding-bottom: 26px;
            }

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

            .topbar {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .nav-links {
                font-size: 0.88rem;
                flex-wrap: wrap;
            }
            .flash {
                padding: 10px 15px;
                margin: 10px 0;
                border-radius: 5px;
                font-weight: bold;
            }

            /* Couleur pour les succès */
            .flash.success {
                background-color: #d4edda;
                color: #155724;
                border: 1px solid #c3e6cb;
            }
            /* Couleur pour les erreurs */
            .flash.error {
                background-color: #f8d7da;
                color: #721c24;
                border: 1px solid #f5c6cb;
            }

            /* Couleur pour les infos */
            .flash.info {
                background-color: #d1ecf1;
                color: #0c5460;
                border: 1px solid #bee5eb;
            }

            /* Couleur pour les avertissements */
            .flash.warning {
                background-color: #fff3cd;
                color: #856404;
                border: 1px solid #ffeeba;
            }
            
            /* Conteneur du dropdown */
            .dropdown {
                position: relative;
                display: inline-block;
            }

            /* Bouton du menu */
            .dropbtn {
                background: none;
                border: none;
                color: var(--zen-text);
                font-size: 16px;
                cursor: pointer;
                padding: 8px 12px;
                font-weight: 500;
            }

            /* Contenu du menu */
            .dropdown-content {
                display: none;
                position: absolute;
                right: 0;
                background-color: white;
                min-width: 160px;
                box-shadow: 0 4px 12px rgba(0,0,0,0.15);
                border-radius: 6px;
                z-index: 1000;
            }

            /* Liens du menu */
            .dropdown-content a {
                color: var(--zen-text);
                padding: 10px 14px;
                text-decoration: none;
                display: block;
                font-size: 15px;
            }

            .dropdown-content a:hover {
                background-color: var(--zen-grey-light);
            }

            .dropdown-content .logout {
                color: #d9534f;
            }

            /* Affichage au survol */
            .dropdown:hover .dropdown-content {
                display: block;
            }

            
        }

