 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: linear-gradient(145deg, #eef5e2 0%, #d8e2c3 100%);
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
            line-height: 1.5;
            color: #1e2f1c;
            padding: 2rem 1.5rem;
        }

        /* Conteneur principal élégant */
        .container {
            max-width: 1280px;
            margin: 0 auto;
            background: rgba(255, 255, 245, 0.92);
            backdrop-filter: blur(1px);
            border-radius: 3rem;
            box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,240,0.8);
            overflow: hidden;
            transition: all 0.2s ease;
        }

        /* Hero / en-tête avec photo depuis dossier images */
        .hero {
            position: relative;
            background-color: #2c5e2a;
            min-height: 320px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            border-bottom: 6px solid #e9b35f;
            overflow: hidden;
        }

        /* Image de fond locale (dossier images/) */
        .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 35%;
            z-index: 0;
            filter: brightness(0.55) contrast(1.05);
            transition: transform 0.4s ease;
        }

        .hero:hover .hero-bg {
            transform: scale(1.02);
        }

        /* Contenu texte par dessus la photo - SANS FOND */
        .hero-content {
            position: relative;
            z-index: 2;
            padding: 2.5rem 2rem;
            max-width: 850px;
            background: transparent;
            backdrop-filter: none;
            margin: 1.5rem;
            text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
        }

        .hero h1 {
            font-size: 2.7rem;
            font-weight: 700;
            letter-spacing: -0.5px;
            color: #fef7cf;
            text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
            margin-bottom: 0.5rem;
            background: transparent;
        }

        .hero p {
            font-size: 1.2rem;
            color: #fff3cf;
            max-width: 600px;
            margin: 0 auto;
            background: transparent;
            padding: 0.2rem 0;
            text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
            font-weight: 500;
        }

        /* section présentation projet */
        .presentation {
            padding: 2.5rem 2rem 1.8rem;
            border-bottom: 1px solid #cfdec0;
        }

        .presentation h2 {
            font-size: 2rem;
            font-weight: 600;
            color: #2a4b24;
            border-left: 8px solid #e9b35f;
            padding-left: 1rem;
            margin-bottom: 1.2rem;
            background: transparent;
        }

        /* Zone description : layout avec largeur contrôlée pour le bloc de droite */
        .description-projet {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            margin-top: 0.8rem;
            align-items: flex-start;
        }

        .texte-projet {
            flex: 1;  /* prend l'espace restant */
            min-width: 240px;
            font-size: 1.1rem;
            background: #fefcf0;
            padding: 1.3rem 1.8rem;
            border-radius: 2rem;
            box-shadow: 0 5px 12px rgba(0,0,0,0.03);
            border: 1px solid #e1eccd;
        }

        .texte-projet p {
            margin-bottom: 1rem;
        }

        /* Bloc de droite : maximum un tiers de la largeur parent */
        .mini-infos {
            flex: 0 0 auto;
            width: auto;
            max-width: 33%;           /* Pas plus d'un tiers de la largeur du conteneur parent */
            background: #e7f0da;
            border-radius: 2rem;
            padding: 1.3rem 1.6rem;
            border-left: 5px solid #7a9f5a;
            /* Assure que le contenu ne dépasse pas et reste lisible */
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .mini-infos h3 {
            font-size: 1.3rem;
            color: #2d5726;
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            gap: 8px;
            background: transparent;
            white-space: normal;      /* autorise le retour à la ligne si nécessaire */
        }

        .mini-infos ul {
            list-style: none;
            padding-left: 0.25rem;
        }

        .mini-infos li {
            margin: 0.6rem 0;
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 500;
            white-space: normal;      /* le texte peut passer à la ligne, mais le bloc reste contenu */
        }

        .mini-infos p {
            white-space: normal;
            font-size: 0.9rem;
        }

        hr {
            margin: 0.5rem 0;
            border: 0;
            height: 2px;
            background: linear-gradient(to right, #d0e2b6, transparent);
        }

/* ========== CULS-DE-LAMPE (ornements) ========== */
        .cul-de-lampe {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.8rem;
            margin: 1.8rem 0 1rem;
            font-size: 1.4rem;
            color: #7a9f5a;
            opacity: 0.7;
            transition: opacity 0.2s ease;
        }
        .cul-de-lampe:hover {
            opacity: 1;
        }
        .cul-de-lampe-simple {
            font-size: 1.8rem;
            letter-spacing: 6px;
        }
        .cul-de-lampe-fleur {
            font-family: 'Segoe UI', 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
        }
        /* Variante avec trait décoratif */
        .cul-de-lampe-trait {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
        }
        .cul-de-lampe-trait span {
            font-size: 1.3rem;
        }
        .trait-gauche, .trait-droit {
            width: 40px;
            height: 2px;
            background: #b9d2a2;
            border-radius: 2px;
        }
        /* Petit séparateur pour les sections internes */
        .sep-leaf {
            text-align: center;
            font-size: 1.2rem;
            color: #8bb56a;
            margin: 1rem 0;
            letter-spacing: 4px;
        }

        /* Grille des sites (cards) */
        .sites-section {
            padding: 1.5rem 2rem 2.8rem;
        }

        .sites-section h2 {
            font-size: 1.9rem;
            font-weight: 600;
            color: #2a4b24;
            text-align: center;
            margin-bottom: 0.5rem;
            background: transparent;
        }

        .sous-titre {
            text-align: center;
            color: #4f6b3c;
            margin-bottom: 2rem;
            font-style: italic;
            font-size: 1.05rem;
            background: transparent;
        }

        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.8rem;
            margin-top: 1rem;
        }

        .card {
            background: white;
            border-radius: 2rem;
            overflow: hidden;
            transition: transform 0.25s ease, box-shadow 0.3s;
            box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
            border: 1px solid #dde9ce;
            display: flex;
            flex-direction: column;
        }

        .card:hover {
            transform: translateY(-6px);
            box-shadow: 0 22px 28px -12px rgba(0, 0, 0, 0.2);
            border-color: #c0daa5;
        }

        .card-header {
            background: #f8f6e5;
            padding: 1.2rem 1.2rem 0.7rem;
            border-bottom: 3px solid;
        }

        .card-1 .card-header { border-bottom-color: #4c8b3c; }
        .card-2 .card-header { border-bottom-color: #b07d4b; }
        .card-3 .card-header { border-bottom-color: #88b04b; }
        .card-4 .card-header { border-bottom-color: #5e8c6a; }
        .card-5 .card-header { border-bottom-color: #b5651e; }

        .card-header h3 {
            font-size: 1.6rem;
            font-weight: 700;
            color: #2b4223;
            margin-bottom: 0.3rem;
            background: transparent;
        }

        .card-header p {
            color: #556b3e;
            font-size: 0.85rem;
            font-weight: 500;
            background: transparent;
        }

        .card-content {
            padding: 1.2rem 1.2rem 1.5rem;
            flex-grow: 1;
        }

        .card-content p {
            margin-bottom: 1rem;
            color: #2f3e2a;
        }

        .card-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #e9f0df;
            padding: 0.5rem 1.2rem;
            border-radius: 60px;
            text-decoration: none;
            font-weight: 600;
            color: #2a5a22;
            transition: background 0.2s, transform 0.1s;
            margin-top: 0.5rem;
            border: 1px solid #c2d6aa;
        }

        .card-link:hover {
            background: #d2e4be;
            color: #1a4215;
            transform: scale(0.98);
        }

        .footer-note {
            background: #dbeacd;
            padding: 1.5rem 2rem;
            text-align: center;
            font-size: 0.9rem;
            border-top: 1px solid #bcd19b;
            color: #3a5532;
        }

        .footer-note a {
            color: #2a6230;
            text-decoration: underline;
            font-weight: 500;
        }

        /* Responsive : quand l'écran est trop petit, le bloc de droite peut prendre plus d'espace (mais jamais au-delà de 100%) */
        @media (max-width: 780px) {
            .description-projet {
                flex-direction: column;
            }
            .mini-infos {
                max-width: 100%;    /* sur mobile, il prend toute la largeur disponible */
                width: 100%;
            }
        }

        @media (max-width: 680px) {
            body {
                padding: 1rem;
            }
            .hero h1 {
                font-size: 1.9rem;
            }
            .hero-content {
                padding: 1.2rem;
                margin: 1rem;
            }
            .presentation h2, .sites-section h2 {
                font-size: 1.6rem;
            }
            .cards-grid {
                gap: 1.2rem;
            }
            .card-header h3 {
                font-size: 1.4rem;
            }
        }

        .badge-icon {
            font-size: 1.3rem;
        }
        /* Gestion des listes imbriquées avec différents tirets */
ul {
    list-style: none;
    padding-left: 1.5em;
}

ul li {
    position: relative;
    margin-bottom: 0.3em;
}

ul li::before {
    content: "—";
    position: absolute;
    left: -1.5em;
}

/* Deuxième niveau : double tiret */
ul ul li::before {
    content: "——";
    left: -2em;
}

/* Troisième niveau : tiret avec point */
ul ul ul li::before {
    content: "—•";
    left: -1.8em;
}