body {
    background-color: #faf8f3;
    color: #222222;
    font-family: "Source Sans 3", sans-serif;
}

main {
    max-width: 1100px;
    margin: auto;
}
header,
footer {
    max-width: 1100px;
    margin: auto;
}
header {
    padding: 25px 0;
}
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header h1 {
    font-size: 2rem;
    margin: 0;
}
.menu {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.menu a {
    text-decoration: none;
    color: #8b1e2d;
    font-weight: 600;
    transition: color 0.3s;
}
.menu a:hover {
    color: #1d5c63;
}
.bouton {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 35px;
    background-color: #8b1e2d;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.bouton:hover {
    background-color: #1d5c63;
}

.langues {
    display: flex;
    gap: 15px;
}

.langues a {
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

.langues a:hover {
    color: #8b1e2d;
}
.hero img {
    width: 70%;
    max-width: 700px;
    display: block;
    margin: 0 auto 40px;
}
.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}
.hero {
    text-align: center;
    padding: 60px 20px;
}
.dropdown {
    position: relative;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #faf8f3;
    min-width: 230px;
    padding: 15px;

     z-index: 9999;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-content a {
    display: block;
    padding: 10px;
    color: #222;
}

header {
    position: relative;
    z-index: 9999;
}
/* ---------- ARTICLE ---------- */

.article-page{
    max-width: 760px;
    margin: 60px auto;
}

.article-page h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-top: 10px;
    margin-bottom: 15px;
}

.sous-titre{
    font-size:1.35rem;
    color:#555;
    line-height:1.6;
    margin-bottom:30px;
}

.infos-article{
    display:flex;
    gap:12px;
    color:#777;
    font-size:0.95rem;
    margin-bottom:40px;
}

.article-page img {
    width: 100%;
    border-radius: 8px;
    margin: 45px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.article-content {
    font-size: 1.15rem;
    line-height: 1.9;
}

.couleur-1 {
    color: #8b1e2d;
}

.couleur-2 {
    color: #1d5c63;
}

.couleur-3 {
    color: #24543B;
}

html {
    scroll-behavior: smooth;
}

.sous-parties {
    margin-left: 25px;
}

.sous-parties a {
    display: block;
    font-size: 0.95rem;
}

.conseils-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 30px 0;

    width: 120%;
    margin-left: -10%;
}

.conseil {
    width: 100%;
}

.conseils-grid .bouton-conseil {
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    display: block;
}

.bouton-conseil img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.conseils-grid .bouton-conseil span {
    display: flex;
    width: 100%;
    box-sizing: border-box;

    align-items: center;
    justify-content: center;
    text-align: center;

    min-height: 60px;
    padding: 15px;

    background-color: #8b1e2d;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.info-conseil {
    display: none;
    padding: 20px;
    background-color: #faf8f3;
}

.info-conseil.ouvert {
    display: block;
}

.description-conseil h3 {
    color: #8b1e2d;
}

.info-conseil {
    display: none;
    padding: 20px;
    background-color: #faf8f3;
    text-align: center;
}


/* ===== FRISE CHRONOLOGIQUE ===== */

.frise-chronologique {
    position: relative;
    margin: 50px 0;
    padding-left: 45px;
}

/* Ligne verticale */
.frise-chronologique::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background-color: #8b1e2d;
}


/* Chaque événement */
.evenement-frise {
    position: relative;
    margin-bottom: 35px;
}


/* Bouton contenant la date */
.date-frise {
    width: 100%;
    border: none;
    background: none;
    padding: 0;

    display: flex;
    align-items: center;
    gap: 15px;

    text-align: left;
    cursor: pointer;
}


/* Point sur la ligne */
.point-frise {
    position: absolute;

    left: -39px;

    width: 18px;
    height: 18px;

    background-color: #8b1e2d;
    border: 4px solid #faf8f3;

    border-radius: 50%;

    box-sizing: content-box;
}


/* Date */
.date {
    color: #8b1e2d;
    font-size: 1.25rem;
    font-weight: bold;
    min-width: 120px;
}


/* Titre de l'événement */
.titre-frise {
    font-size: 1.1rem;
    font-weight: bold;
    color: #222222;
}


/* Panneau fermé */
.contenu-frise {
    display: none;

    margin-top: 20px;
    padding: 25px;

    background-color: #faf8f3;

    border-left: 4px solid #8b1e2d;
}


/* Panneau ouvert */
.contenu-frise.ouvert {
    display: block;
}


/* Paragraphes */
.contenu-frise p {
    line-height: 1.7;
}


/* Dates internes 1840 / 1845 / etc. */
.sous-date {
    margin-bottom: 25px;
}

.sous-date strong {
    color: #8b1e2d;
    font-size: 1.1rem;
}

.sous-date p {
    margin-top: 5px;
}

.article-page p {
    text-align: justify;
    line-height: 1.7;
}

.liste-organisateurs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.organisateur {
    position: relative;
}

.carte-organisateur {
    cursor: pointer;
    overflow: hidden;
    background-color: white;
    border-radius: 8px;
}

.carte-organisateur img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    display: block;
}

.legende-organisateur {
    padding: 15px;
}

.legende-organisateur h3 {
    margin: 0 0 5px;
    color: #8b1e2d;
}

.legende-organisateur p {
    margin: 0;
}


/* BANDEROLE */

.banderole-organisateur {
    display: none;
    position: relative;

    width: 700px;
    max-width: 90vw;

    margin-top: 15px;
    padding: 25px;

    background-color: #faf8f3;
    border-left: 4px solid #8b1e2d;

    left: 50%;
    transform: translateX(-50%);
}

.banderole-organisateur.ouverte {
    display: block;
}

.fermer {
    position: absolute;
    top: 10px;
    right: 15px;
    border: none;
    background: none;
    font-size: 25px;
    cursor: pointer;
}

.info-chambre p {
    text-align: center;
    line-height: 1.6;
}

/* ---------- FIL D'ARIANE ---------- */
.fil-ariane {
    max-width: 760px;
    margin: 40px auto 35px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ddd8cd;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.fil-ariane a {
    text-decoration: none;
    color: #777;
    transition: color 0.3s;
}

.fil-ariane a:hover {
    color: #8b1e2d;
}

.fil-ariane span {
    color: #aaa;
}

.page-actuelle {
    color: #8b1e2d !important;
    font-weight: 600;
}

.fil-ariane + .badge-media,
.fil-ariane + .badge-container {
    display: flex;
    justify-content: flex-start;
    width: fit-content;
    margin-top: 15px;
    margin-bottom: 25px;
}
/* ---------- BADGE MÉDIA ---------- */

.type-media {
    display: inline-block;
    background-color: #f1ede4;
    border: 1px solid #d9d2c3;
    color: #8b1e2d;
    padding: 8px 18px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 25px;
}
/* ---------- TYPOGRAPHIE ---------- */

h1,
h2,
h3 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ---------- AU PROGRAMME ---------- */

.au-programme {
    background: #f6f2e8;
    border: 1px solid #ddd8cd;
    border-radius: 8px;
    padding: 25px 30px;
    margin: 40px 0 50px;
}

.au-programme h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.au-programme ol {
    margin: 0;
    padding-left: 20px;
}

.au-programme li {
    margin-bottom: 12px;
}

.au-programme li:last-child {
    margin-bottom: 0;
}

.au-programme a {
    text-decoration: none;
    color: #222;
    font-weight: 600;
    transition: color 0.3s;
}

.au-programme a:hover {
    color: #8b1e2d;
}
/* ---------- CARTES DECOUVERTE ---------- */

.suite-decouverte {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #ddd8cd;
}

.suite-decouverte h2 {
    margin-bottom: 35px;
}


/* CONTENEUR DES 3 CARRÉS */
.cartes-decouverte {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}


/* CHAQUE CARRÉ INDIVIDUEL */
.carte-decouverte {
    position: relative;

    width: 300px;
    height: 300px;

    overflow: hidden;
    border-radius: 10px;

    text-decoration: none;
    color: white;

    cursor: pointer;
}

.carte-decouverte img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;

}

.overlay {

    position: absolute;

    inset: 0;

    padding: 25px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    background:
    linear-gradient(
        transparent,
        rgba(0,0,0,0.75)
    );

}

.carte-decouverte:hover img {

    transform: scale(1.05);

}


.overlay h3 {

    color: white;

    margin: 15px 0 10px;

    font-size: 1.5rem;

}


.overlay p {

    margin: 0;

    color: white;

}


.badge-media {
    display: inline-block;
    align-self: flex-start;

    padding: 8px 16px;

    background: rgba(255,255,255,0.9);
    color: #8b1e2d;

    border-radius: 4px;

    font-size: 0.85rem;

    font-weight: bold;
    letter-spacing: 1px;
}

/* Accueil — alignement du titre et du sous-titre */
@media screen and (min-width: 701px) {

    .hero h1,
    .hero p {
        text-align: center !important;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

}

/* Réduire les cartes découvertes — mobile uniquement */
@media screen and (max-width: 768px) {

    .cartes-decouverte {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .cartes-decouverte .carte-decouverte {
        width: 250px;
        height: 250px;
        max-width: 90%;
        box-sizing: border-box;
    }

    .carte-decouverte img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carte-decouverte .overlay {
        padding: 15px;
    }

    .carte-decouverte .overlay h3 {
        font-size: 1.1rem;
        margin: 10px 0 5px;
    }

}

/* ---------- LE SAVAIS-TU ? ---------- */

.savais-tu {

    margin: 50px 0;

    padding: 25px 30px;

    background-color: #f6f2e8;

    border-left: 4px solid #8b1e2d;

}


.savais-tu h3 {

    margin-top: 0;

    margin-bottom: 15px;

    font-size: 1.5rem;

}


.savais-tu p {

    margin: 0;

    line-height: 1.8;

}

/* ---------- INTERVIEW ---------- */

.interview p {
    text-align: justify;
    line-height: 1.7;
    margin-bottom: 20px;
}

.questions-reponses {

    margin-top: 60px;

}

.question {

    margin-bottom: 60px;

}

.question h3 {

    color: #8b1e2d;

    font-size: 1.6rem;

    margin-bottom: 20px;

}

.question p {

    line-height: 1.9;

    font-size: 1.1rem;

}

.citation-interview {

    margin: 80px auto;

    max-width: 700px;

    text-align: center;

    font-family: "Cormorant Garamond", serif;

    font-size: 2.2rem;

    font-style: italic;

    color: #8b1e2d;

    line-height: 1.5;

}

.question {
    text-align: justify;
    margin-bottom: 5px;
}

.question > h3 {
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
}

.question > p {
    margin: 0 !important;
    padding: 0 !important;
}

.article-page .question > h3 {
    font-size: 1.5rem !important;
}

.article-page .question > p {
    font-size: 1.25rem !important;
    line-height: 1.7;
}
/* =========================
   DICTIONNAIRE
   ========================= */

.dictionnaire {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.dictionnaire h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.dictionnaire .sous-titre {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 50px;
}

.liste-mots {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.entree {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
}

.definition {
    flex: 1;
}

.definition h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #8b1e2d;
}

.definition p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.illustration {
    width: 250px;
    height: 180px;
    flex-shrink: 0;
}

.illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
@media (max-width: 700px) {

    .entree {
        flex-direction: column;
        align-items: flex-start;
    }

    .illustration {
        width: 100%;
        height: 220px;
    }

}

/* Alignement du badge et du titre — ordinateur et mobile */

    .article-page:has(.dictionnaire) .badge-container {
        margin-left: 0;
        padding-left: 0;
    }

    .article-page:has(.dictionnaire) .badge-media {
        margin-left: 0;
    }

    .article-page .dictionnaire {
        margin-left: 0;
        padding-left: 0;
    }


/* Images du dictionnaire — ordinateur et mobile */
.dictionnaire img {
    max-width: 100%;
    max-height: 250px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Rapprocher le badge du titre — ordinateur et mobile */

    .article-page:has(.dictionnaire) .badge-container {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .article-page .dictionnaire {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .article-page .dictionnaire h2 {
        margin-top: 0 !important;
    }



/* =========================
   DÉCOUVRIR LA ROMANDIE
========================= */

.decouvrir-romandie {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
}

.decouvrir-romandie h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.intro-romandie {
    max-width: 750px;
    margin: 0 auto 50px;
    text-align: justify;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #555;
}

img {
    max-width: 100%;
    height: auto;
}

#pourquoi-ce-site {
    scroll-margin-top: 100px;
}

/* GRILLE DES CANTONS */

.cantons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


/* CHAQUE CANTON */

.canton {
    width: 100%;
}


/* DRAPEAU */

.drapeau-canton {
    width: 100%;
    border: none;
    background: #faf8f3;
    cursor: pointer;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.drapeau-canton:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.drapeau-canton img {
    width: 150px;
    height: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto 12px;
}

.drapeau-canton span {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #8b1e2d;
}


/* BANNIÈRE D'INFORMATION */

.info-canton {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
    overflow: hidden;
    width: 220%;
    margin-left: -20%;
}

.info-canton.ouvert {
    grid-template-rows: 1fr;
}

.info-contenu {
    min-height: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: center;
    padding: 0 20px;
    background: #f1eee7;
    border-radius: 0 0 10px 10px;
}

.info-canton.ouvert .info-contenu {
    padding: 25px 20px;
}


.description-canton h3 {
    color: #8b1e2d;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.description-canton p {
    line-height: 1.6;
    color: #444;
    margin: 0;
    text-align: justify;
}


/* IMAGE DE LOCALISATION */

.info-contenu img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}


/* VERSION MOBILE */

@media (max-width: 700px) {

    .cantons-grid {
        grid-template-columns: 1fr;
    }

    .info-contenu {
        grid-template-columns: 1fr;
    }

    .info-contenu img {
        height: 200px;
    }

}
/* Canton dans la colonne du milieu */
.canton:nth-child(3n + 2) .info-canton {
    margin-left: -60%;
}

/* Canton dans la colonne de gauche */
.canton:nth-child(3n + 1) .info-canton {
    margin-left: 0;
}

/* Canton dans la colonne de droite */
.canton:nth-child(3n) .info-canton {
    margin-left: -120%;
}
.info-contenu img {
    width: 100%;
    height: auto;
}
.pourquoi-site p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align : justify;
}
html {
    scroll-behavior: smooth;
}
.hero-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #8b1e2d;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}
.hero-button:hover {
    background-color: #1d5c63;
}

.carte {
    position: relative;
    width: 65%;
    max-width: 850px;
    margin: -100px auto 40px;
}

.carte img {
    width: 100%;
    height: auto;
    display: block;
}

.point {
    position: absolute !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    border: 1px solid #faf8f3;
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.point.ville {
    background-color: #000;
}

.point.animation {
    background-color: #1d5c63;
}

.point::after {
    content: attr(aria-label);
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    
    background-color: #faf8f3;
    color: #8b1e2d;
    padding: 5px 8px;
    border-radius: 4px;
    
    font-size: 0.8rem;
    white-space: nowrap;
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    
    pointer-events: none;
    z-index: 30;
}

.point:hover::after {
    opacity: 1;
    visibility: visible;
}

.photo-principale img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.photo-principale h3 {
    margin-top: 25px;
    margin-bottom: 20px;
}

.tableau-tarifs {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.tableau-tarifs th,
.tableau-tarifs td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.tableau-tarifs th {
    background-color: #8b1e2d;
    color: white;
    font-weight: bold;
}

.tableau-tarifs td:last-child {
    font-weight: bold;
}

/* Lieux à découvrir — textes justifiés sur ordinateur */
@media screen and (min-width: 701px) {

    .info-lieu p:not(.plus-informations) {
        text-align: justify !important;
        text-align-last: left !important;

        hyphens: auto !important;
        -webkit-hyphens: auto !important;

        word-spacing: normal !important;
        letter-spacing: normal !important;
        overflow-wrap: break-word;
    }

    /* Exception : Pour plus d'informations */
    .info-lieu p.plus-informations {
        text-align: left !important;
        text-align-last: left !important;
        word-spacing: normal !important;
        letter-spacing: normal !important;
    }
}

/* POSITION DES VILLES */

#lausanne {
    left: 37.5%;
    top: 66%;
}

#vevey {
    left: 48%;
    top: 68%;
}

#gruyeres {
    left: 59%;
    top: 63.2%;
}

#loeche {
    left: 87%;
    top: 72.3%;
}

/* POSITION DES ANIMATIONS */

#villars-tiercelin {
    left: 40.5%;
    top: 62%;
}

#parc-aigle {
    left: 56%;
    top: 76%;
}

#mine-bex {
    left: 57%;
    top: 78.5%;
}

#aquaparc {
    left: 48%;
    top: 71.3%;
}

/* BANNIERE */

.info-lieu {
    position: absolute;
    width: 300px;
    padding: 20px;
    background-color: #faf8f3;
    border-top: 3px solid #8b1e2d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 20;
}

.info-lieu.cachee {
    display: none;
}

.lieu-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.lieu-header img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.lieu-header h3 {
    margin: 0;
    font-size: 3.5rem;
}

#info-lausanne {
    left: 13.3%;
    top: 66.8%;
}

#info-vevey {
    left: 23.4%;
    top: 68.8%;
}

#info-gruyeres {
    left: 34.4%;
    top: 64%;
}

#info-loeche {
    left: 61.4%;
    top: 73.1%;
}

#info-villars-tiercelin {
    left: 16.4%;
    top: 62.80%;
}

#info-parc-aigle {
    left: 32.4%;
    top: 76.8%;
}

#info-mine-bex {
    left: 33.4%;
    top: 79.3%;
}

#info-aquaparc {
    left: 25.4%;
    top: 72.1%;
}

.fermer {
    position: absolute;
    top: 10px;
    right: 15px;
    border: none;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.carte-romandie h2 {
    position: relative;
    left: 171px;
}
/* TOP 10 */
.top10 {
    width: 90%;
    max-width: 1100px;
    margin: 60px auto;
    text-align:justify;
}

.classement-produit {
    border-top: 1px solid #8b1e2d;
    padding: 40px 0;
}

.produit-entete {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 30px;
    align-items: start;
}

.produit-titre {
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.rang {
    font-size: 3rem;
    font-weight: bold;
    color: #8b1e2d;
}

.produit-titre h2 {
    margin: 0;
    font-size: 1.8rem;
}

.produit-infos p,
.produit-origine p {
    margin: 5px 0;
}

.produit-origine {
    text-align: right;
}

.produit-contenu {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    margin-top: 30px;
    align-items: center;
}

.produit-description {
    line-height: 1.7;
}

.produit-photo img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    display: block;
}


/* ADAPTATION MOBILE */

@media (max-width: 768px) {

    .produit-entete {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .produit-origine {
        text-align: left;
    }

    .produit-contenu {
        grid-template-columns: 1fr;
    }

    .produit-photo img {
        height: auto;
    }
}

/* Quiz */
.quiz-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.fil-ariane {
    font-family: "Source Sans 3", sans-serif;
    font-size: 0.9rem;
    margin-bottom: 35px;
}

.fil-ariane a {
    color: #8b1e2d;
    text-decoration: none;
}

.fil-ariane span {
    margin: 0 5px;
}

.type-media {
    display: inline-block;

    padding: 5px 12px;

    border: 1px solid #8b1e2d;
    border-radius: 4px;

    color: #8b1e2d;

    font-family: "Source Sans 3", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;

    margin-bottom: 15px;
}

.intro-quiz h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: 3rem;
    margin: 0 0 20px;
    color: #222222;
}

.phrase-intro {
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 35px;
}

.image-quiz {
    display: block;

    width: 65%;
    max-width: 500px;
    height: auto;

    margin: 70px auto 5px auto;
}

.quiz {
    width: 90%;
    max-width: 650px;

    margin: 5px auto 60px auto;
}

.question {
    width: 100%;
    padding: 35px;
    box-sizing: border-box;
    margin-bottom: 60px;
}

.question h2 {
    width: 75%;
    margin: 0 auto 25px auto;
    text-align: left;
    font-size: 2.5rem;
}

.choix-reponses {
    width: 75%;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 12px;
}

.choix {
    width: 100%;
}

.choix:hover {
    background-color: #8b1e2d;
    color: white;
}

.reponse-explication {
    display: none;
    margin-top: 25px;

    font-family: "Source Sans 3", sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
}

.reponse-explication.correct {
    display: block;
    color: #2e7d32;
}

.reponse-explication.faux {
    display: block;
    color: #b3261e;
}

.symbole-reponse {
    font-size: 1.3rem;
    font-weight: bold;
    margin-right: 8px;
}

.reponse-choisie {
    font-weight: 700;
}

.choix-reponses {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.choix {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 15px 20px;

    border: 1px solid #8b1e2d;
    border-radius: 5px;

    cursor: pointer;
}

.choix input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.bouton-repondre {
    margin-top: 25px;
    padding: 12px 30px;

    background-color: #8b1e2d;
    color: white;

    border: none;
    border-radius: 5px;

    font-family: "Source Sans 3", sans-serif;
    font-size: 1rem;

    cursor: pointer;
}

.bouton-repondre:hover {
    background-color: #1d5c63;
}

.reponse-explication {
    display: block;
    margin-top: 25px;
}

.resultat-correct {
    color: green;
    margin-bottom: 20px;
}

.resultat-faux {
    color: red;
    margin-bottom: 20px;
}

.resultat-correct p,
.resultat-faux p {
    margin: 5px 0 0;
    line-height: 1.6;
}

.aucune-reponse {
    color: #222222;
}

.boutons-quiz {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
}

.bouton-repondre {
    margin-top: 0;
}

.bouton-reset {
    width: 42px;
    height: 42px;

    border: 1px solid #8b1e2d;
    border-radius: 50%;

    background-color: transparent;
    color: #8b1e2d;

    font-size: 1.5rem;
    cursor: pointer;

    display: none;
    align-items: center;
    justify-content: center;

    transition: 0.2s;
}

.bouton-reset:hover {
    background-color: #8b1e2d;
    color: white;
    transform: rotate(-30deg);
}

.image-question {
    display: block;
    width: 70%;
    max-width: 340px;
    height: auto;

    margin: 20px auto 30px auto;

    border-radius: 6px;
}

/* VIDEO */
.video-conteneur {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
}

.video-conteneur video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: 10px;
}
/* Dictionnaire */
.illustration-lexique {
    width: 250px !important;
    height: 200px !important;

    object-fit: contain !important;
    object-position: center !important;

    display: block;
    overflow: hidden;
    border-radius: 10px;
}

/* Pour plus d'informations — version ordinateur */
@media screen and (min-width: 701px) {

    .plus-informations {
        text-align: left !important;
        word-spacing: normal !important;
        letter-spacing: normal !important;
    }

    .plus-informations a {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

}

/* ==========================================================
   LA ROMANDIE POUR LES DÉBUTANTS — CSS RESPONSIVE
   À placer après le CSS principal.
   Organisation par type de contenu ; aucun HTML à modifier.
   ========================================================== */

/* ==========================================================
   1. PARAMÈTRES GÉNÉRAUX — TABLETTES ET MOBILES
   ========================================================== */
@media (max-width: 1024px) {
  header, footer, main {
    width: 100%;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #DED5E5;
  }

  html, body { background-color: #DED5E5; }
}

@media (max-width: 700px) {
  html { overflow-x: clip; }
  html, body { background-color: #DED5E5 !important; }
  body {
    margin: 0;
    overflow-wrap: break-word;
    text-align: justify !important;
  }
  header, footer, main { padding-left: 16px; padding-right: 16px; }
  .header-top { flex-wrap: wrap; gap: 12px; }
  header h1 { font-size: 1.6rem; }
  .langues { gap: 12px; margin-left: auto; }
  .menu { gap: 8px 16px; margin-top: 18px; }
  .menu a { display: inline-block; padding: 8px 2px; }
  .dropdown-content {
    min-width: 0;
    width: min(260px, 85vw);
    box-sizing: border-box;
  }
  .dropdown:focus-within .dropdown-content { display: block; }

  /* Textes communs à plusieurs formats */
  .article-page p, .article-content p, .interview p,
  .question p, .intro-romandie, .description-canton p,
  .pourquoi-site p, .produit-description, .definition p,
  .info-contenu p, .info-lieu p {
    text-align: justify !important;
    line-height: 1.7;
    overflow-wrap: break-word !important;
  }

  .article-page h1, .article-page h2, .article-page h3,
  .question h2, .produit-titre h2 { overflow-wrap: break-word; }

  /* Fond des sections : priorité sur le CSS ordinateur */
  .article-page, .quiz-page, .dictionnaire, .top10,
  .carte-romandie, .decouvrir-romandie {
    background-color: #DED5E5 !important;
  }
}

/* ==========================================================
   2. ACCUEIL ET CARTES DE DÉCOUVERTE
   ========================================================== */
@media (max-width: 700px) {
  .hero { padding: 35px 0; }
  .hero img { width: 100%; max-width: 100%; margin-bottom: 24px; }
  .hero h2, .decouvrir-romandie h2 { font-size: 1.85rem; }
  .hero p, .intro-romandie { font-size: 1rem; }
  .hero, .hero h2, .hero p, .decouvrir-romandie h2 {
    text-align: center !important;
  }

  .cartes-decouverte { justify-content: center; gap: 18px; }
  .carte-decouverte {
    width: min(100%, 340px);
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .overlay { padding: 18px; }
  .overlay h3 { font-size: 1.35rem; }

/* Couleur des bannières des cantons — mobile */
.info-canton .info-contenu {
    background: #D4C5DC !important;
}

/* Couleur des boutons des cantons — mobile */
.drapeau-canton {
    background: #D4C5DC !important;
}

/* Position uniforme de toutes les bannières — mobile */

.canton {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.canton .drapeau-canton {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.canton .info-canton {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 0 !important;
    box-sizing: border-box;
}

.canton .info-canton .info-contenu {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    grid-template-columns: minmax(0, 1fr);
}

}

/* ==========================================================
   3. ARTICLES — TEXTE, SOMMAIRE ET ENCADRÉS
   ========================================================== */
@media (max-width: 1024px) {
  .article-page, .fil-ariane { max-width: 760px; }
  .conseils-grid { width: 100%; margin-left: 0; }
}

@media (max-width: 700px) {
  .article-page { width: 100%; margin: 30px auto; }
  .article-page h1 { font-size: 2.2rem; }
  .sous-titre { font-size: 1.1rem; }
  .article-content { font-size: 1.05rem; line-height: 1.7; }
 }
/* =========================================
   SOMMAIRE SPÉCIAL MOBILE
========================================= */

/* Sur ordinateur : masquer le sommaire mobile */
.programme-mobile {
    display: none;
}

/* Sur téléphone */
@media screen and (max-width: 700px) {

    /* Masquer l'ancien sommaire */
    .programme-ordinateur {
        display: none !important;
    }

    /* Afficher le nouveau sommaire */
    .programme-mobile {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;

        background: #D4C5DC !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 10px;

        padding: 25px 20px;
        margin: 0 auto;
    }

    /* Titre */
    .programme-mobile h2 {
        font-size: 1.8rem;
        color: #222;
        margin: 0 0 20px;
    }

    /* Liste */
    .programme-mobile ol {
        margin: 0;
        padding-left: 22px;
    }

    .programme-mobile li {
        margin-bottom: 12px;
        line-height: 1.5;
    }

    /* Liens */
    .programme-mobile a {
        color: #222;
        text-decoration: none;
        font-weight: 600;
        overflow-wrap: anywhere;
    }

    /* Sous-parties */
    .programme-mobile .sous-parties-mobile {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 12px 0 5px 8px;
    }

    .programme-mobile .sous-parties-mobile a {
        font-size: 0.9rem;
        font-weight: 500;
    }
}

/* Boutons et bannières des chambres — mobile */

.info-chambre {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.info-chambre .bouton-conseil {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Réglages communs aux deux chambres */
.info-chambre .info-conseil {
    position: relative !important;
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
    min-width: 0;
    margin: 0 !important;
    box-sizing: border-box;
}

/* Conseil national — bannière vers la gauche */
.chambre-national .info-conseil {
    position: relative !important;
    left: 100% !important;
    right: auto !important;
    transform: translateX(-100%) !important;
    margin: 0 !important;
}

/* Conseil national — texte justifié avec césure */
.chambre-national .description-conseil p {
    text-align: justify !important;
    text-align-last: left !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
    overflow-wrap: break-word;
}

/* Conseil des États — ouverture vers la droite */
.chambre-etats .info-conseil {
    left: 0 !important;
    right: auto !important;
    transform: none !important;

    background-color: #faf8f3 !important;
    padding: 20px !important;
    box-sizing: border-box;
}

.info-chambre .info-contenu {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    grid-template-columns: minmax(0, 1fr);
    padding-left: 16px;
    padding-right: 16px;
}

/* Même encadrement pour les deux chambres */
.chambre-national .info-conseil,
.chambre-etats .info-conseil {
    background-color: #faf8f3 !important;
    padding: 20px !important;
    box-sizing: border-box;
}

/* Fond beige identique pour les deux chambres */
.chambre-national .info-contenu,
.chambre-etats .info-contenu {
    background-color: #f1eee7 !important;
}

.info-chambre .description-conseil p {
    font-size: 1rem;
    line-height: 1.7;
}

.info-chambre .description-conseil {
    min-width: 0;
    max-width: 100%;
}

/* Tableaux adaptés à la largeur de la bannière */

.info-chambre .tableau-tarifs {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    box-sizing: border-box;
    font-size: 0.8rem;
}

.info-chambre .tableau-tarifs th,
.info-chambre .tableau-tarifs td {
    padding: 7px 4px;
    overflow-wrap: anywhere;
    white-space: normal;
    box-sizing: border-box;
}

/* Tableaux des articles — version mobile */
.article-page table {
    width: 100%;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    border-collapse: collapse;
    table-layout: fixed;
    box-sizing: border-box;
}

/* Cellules des tableaux */
.article-page table th,
.article-page table td {
    padding: 8px 5px;
    font-size: 0.8rem;
    text-align: center;
    overflow-wrap: anywhere;
    white-space: normal;
    box-sizing: border-box;

    /* Fines lignes horizontales */
    border-bottom: 1px solid #222222;
}

/* Évite que les tableaux dépassent */
.article-page {
    max-width: 100%;
    box-sizing: border-box;
}

/* Encadrés Le savais-tu ? — version mobile */
.savais-tu {
    background-color: #D4C5DC !important;
}

/* Montreux Jazz — organisateurs sur mobile */
@media screen and (max-width: 700px) {

    .liste-organisateurs {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        justify-items: center !important;
        width: 100%;
        box-sizing: border-box;
    }

    .liste-organisateurs .organisateur {
        width: 100%;
        max-width: 320px;
        min-width: 0;
        box-sizing: border-box;
    }

    .liste-organisateurs .carte-organisateur {
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        box-sizing: border-box;
    }

    .liste-organisateurs .legende-organisateur {
        text-align: center;
        padding: 15px;
    }

    .liste-organisateurs .legende-organisateur h3 {
        margin: 0;
        font-size: 1.1rem;
        line-height: 1.4;
        overflow-wrap: normal;
        word-break: normal;
    }
}

/* =========================================
  4. MENU BURGER — VERSION MOBILE
========================================= */

/* Masquer le bouton sur ordinateur */
.menu-burger {
    display: none;
}

/* VERSION MOBILE */
@media screen and (max-width: 700px) {

    /* Alignement du titre et du bouton */
    .header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }

    /* Bouton burger */
    .menu-burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding: 10px;
        background: transparent;
        border: none;
        cursor: pointer;
        flex-shrink: 0;
    }

    /* Les trois barres */
    .menu-burger span {
        display: block;
        width: 36px;
        height: 4px;
        background-color: #8b1e2d;
        border-radius: 3px;
    }

    /* Menu fermé par défaut */
    .menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
        margin-top: 15px;
    }

    /* Menu ouvert après le clic */
    .menu.menu-ouvert {
        display: flex;
    }

    /* Liens principaux */
    .menu > a,
    .menu > .dropdown > a {
        display: block;
        padding: 14px 10px;
        text-align: left;
    }

    .menu .dropdown {
        width: 100%;
    }

    /* Sous-menus fermés par défaut */
    .menu .dropdown-content {
        display: none;
        position: static;
        width: 100%;
        min-width: 0;
        box-shadow: none;
        background-color: #DED5E5;
        padding: 5px 12px;
        box-sizing: border-box;
    }

    /* Sous-menus ouverts */
    .menu .dropdown.sous-menu-ouvert .dropdown-content,
    .menu .dropdown.sous-menu-ouvert:hover .dropdown-content,
    .menu .dropdown.sous-menu-ouvert:focus-within .dropdown-content {
        display: block;
    }

    /* Empêcher l'ouverture automatique au survol */
    .menu .dropdown:not(.sous-menu-ouvert):hover .dropdown-content,
    .menu .dropdown:not(.sous-menu-ouvert):focus-within .dropdown-content {
        display: none;
    }

    /* Liens des sous-menus */
    .menu .dropdown-content a {
        display: block;
        padding: 12px 10px;
        text-align: left;
    }
}

/* =========================================
 5.  MOBILE — BURGER À GAUCHE, TITRE À DROITE
========================================= */

@media screen and (max-width: 700px) {

    .header-top {
        position: relative;
        display: flex;
        align-items: center;
        padding-left: 56px;
        padding-right: 0;
    }

    .header-top h1 {
        width: 100%;
        min-width: 0;
        margin: 0;
        text-align: left;
        font-size:  2 rem;
        line-height: 1.2;
    }

    .menu-burger {
        position: absolute;
        left: 0;
        right: auto;
        top: 50%;
        transform: translateY(-50%);
        gap: 7px;
    }
}

/* =========================================
  6. LIEUX À DÉCOUVRIR — VERSION MOBILE
========================================= */

/* Masquer les listes sur ordinateur */
.lieux-mobile {
    display: none !important;
}

@media screen and (max-width: 700px) {

    /* Masquer la carte interactive */
    .carte-romandie {
        display: none !important;
    }

    /* Afficher les listes de lieux */
    .lieux-mobile {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
        padding: 20px 15px;
        width: 100%;
        box-sizing: border-box;
        background-color: #D4C5DC;
    }

    /* Bannières fermées par défaut */
    .contenu-lieu-mobile {
        display: none !important;
    }

    /* Bannière ouverte après un clic */
    .contenu-lieu-mobile.ouvert {
        display: block !important;
    }
}

/* =========================================
 7.  LIEUX — STYLE DES LISTES MOBILES
========================================= */

@media screen and (max-width: 700px) {

    .lieux-mobile {
        background-color: #DED5E5;
        padding: 25px 18px;
        gap: 14px;
    }

    .lieux-mobile h2 {
        color: #8b1e2d;
        text-align: center;
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .lieux-mobile h3 {
        color: #8b1e2d;
        font-size: 1.5rem;
        margin: 25px 0 10px;
    }

    /* Boutons des villes et attractions */
    .bouton-lieu-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        padding: 17px 20px;

        background-color: #D4C5DC;
        color: #302a26;

        border: 1px solid #d4c5dc;
        border-radius: 10px;

        font-family: "Source Sans 3", sans-serif;
        font-size: 1.05rem;
        font-weight: 500;
        text-align: left;

        cursor: pointer;
        transition: background-color 0.2s ease,
                    border-color 0.2s ease;
    }

    /* Petite flèche à droite */
    .bouton-lieu-mobile::after {
        content: "⌄";
        font-size: 1.5rem;
        color: #8b1e2d;
        line-height: 1;
        margin-left: 15px;
        transition: transform 0.2s ease;
    }

    /* Bouton sélectionné */
    .bouton-lieu-mobile[aria-expanded="true"] {
        border-color: #8b1e2d;
        color: #8b1e2d;
        background-color: #fffaf5;
    }

    /* Flèche tournée lorsque la bannière est ouverte */
    .bouton-lieu-mobile[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }

   /* Bannière alignée sur le bouton */

.lieux-mobile .banniere-mobile {
    display: block;
    position: static !important;

    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;

    margin: 0 !important;
    padding: 20px;

    background-color: #D4C5DC;
    border-top: 2px solid #8b1e2d;
    border-radius: 0 0 10px 10px;

    line-height: 1.7;
    overflow: hidden;
}

/* Conteneur de la bannière */
.lieux-mobile .contenu-lieu-mobile {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

    .lieux-mobile .banniere-mobile p {
        text-align: justify !important;
        hyphens: auto;
        line-height: 1.7;
    }

/* Tableaux adaptés aux bannières sur mobile */

.lieux-mobile .banniere-mobile table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    box-sizing: border-box;
    font-size: 0.85rem;
}

.lieux-mobile .banniere-mobile th,
.lieux-mobile .banniere-mobile td {
    padding: 8px 5px;
    overflow-wrap: anywhere;
    white-space: normal;
    box-sizing: border-box;
}

/* Photos des bannières — version mobile */

.lieux-mobile .banniere-mobile {
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.lieux-mobile .banniere-mobile img:not(.lieu-header img) {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    margin: 20px auto;
    box-sizing: border-box;
}
}

/* Interviews — texte justifié sur mobile */
@media screen and (max-width: 700px) {

    .question h3,
    .question p {
        text-align: justify !important;
        text-align-last: left !important;
        hyphens: auto !important;
        -webkit-hyphens: auto !important;
        word-spacing: normal !important;
        letter-spacing: normal !important;
        overflow-wrap: break-word;
    }

}

/* Pour plus d'informations — version mobile */
@media screen and (max-width: 700px) {

    p.plus-informations {
        display: block !important;
        width: 100%;
        max-width: 100%;
        text-align: left !important;
        text-align-last: left !important;
        word-spacing: normal !important;
        letter-spacing: normal !important;
        box-sizing: border-box;
    }

    p.plus-informations strong {
        white-space: normal !important;
    }

    p.plus-informations a {
        display: inline !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
 }
 }

/* Lieux à découvrir — masquer la version mobile sur ordinateur */
@media screen and (min-width: 701px) {
    .lieux-mobile {
        display: none !important;
    }

    .bouton-lieu-mobile,
    .contenu-lieu-mobile {
        display: none !important;
    }
}

/* Alignement des titres — mobile uniquement */
@media screen and (max-width: 768px) {

    /* Titres des articles, vidéos, podcasts, etc. */
    .article-page h1,
    .article-page h2,
    .article-page h3 {
        text-align: left !important;
    }

/* Alignement des titres — mobile uniquement */
@media screen and (max-width: 768px) {

    /* Tous les titres alignés à gauche */
    h1, h2, h3 {
        text-align: left !important;
    }

    /* Exception : Lieux à découvrir */
    .carte-romandie h1,
    .carte-romandie h2,
    .carte-romandie h3 {
        text-align: justify !important;
    }

} 
} 

/* ---------- FIL D'ARIANE MOBILE ---------- */
@media screen and (max-width: 768px) {

    .fil-ariane {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: baseline;

        gap: 4px 6px;

        width: 100%;
        max-width: 100%;
        box-sizing: border-box;

        text-align: left !important;
        font-size: 0.85rem;
    }

    .fil-ariane a,
    .fil-ariane span {
        display: inline;
        width: auto;
        margin: 0;
        padding: 0;
        text-align: left !important;
        flex: 0 0 auto;
    }

}

/* Justification avec coupure automatique des mots */
/* Ordinateur et mobile */

p, li {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
}


/* ========== FOOTER ÉDITORIAL ========== */

.footer-site {
    background-color: #f1eee7;
    width: 100%;
    box-sizing: border-box;
    margin-top: 70px;
    padding: 45px 30px 22px;
    border-top: 1px solid #d6d0c6;
}

.footer-conteneur {
    max-width: 1150px;
    margin: 0 auto;
}

/* ---------- IDENTITÉ ---------- */

.footer-identite {
    padding-bottom: 30px;
}

.footer-identite h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.3rem;
    font-weight: 600;
    line-height: 1.15;
    color: #222222;
    text-align: left;
    margin: 0 0 7px;
}

.footer-identite p {
    font-family: "Source Sans 3", sans-serif;
    font-size: 0.95rem;
    font-style: italic;
    color: #666666;
    text-align: left;
    margin: 0;
}

/* ---------- NAVIGATION ---------- */

.footer-colonnes {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.3fr 0.8fr;
    gap: 35px;
    padding: 30px 0 35px;
    border-top: 1px solid #d6d0c6;
    border-bottom: 1px solid #d6d0c6;
}

.footer-colonne {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.footer-colonne h3 {
    font-family: "Source Sans 3", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #222222;
    text-align: left;
    margin: 0 0 8px;
}

.footer-colonne a {
    font-family: "Source Sans 3", sans-serif;
    font-size: 0.9rem;
    line-height: 1.45;
    font-weight: 400;
    color: #555555;
    text-decoration: none;
    text-align: left;
    overflow-wrap: break-word;
    transition: color 0.2s ease;
}

.footer-colonne a:hover {
    color: #8b1e2d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-colonne a:focus-visible {
    outline: 2px solid #1d5c63;
    outline-offset: 4px;
}

/* ---------- BAS DU FOOTER ---------- */

.footer-bas {
    padding-top: 20px;
}

.footer-bas p {
    font-family: "Source Sans 3", sans-serif;
    font-size: 0.8rem;
    color: #777777;
    text-align: left;
    margin: 0;
}

/* ========== FOOTER TABLETTE ========== */

@media (max-width: 900px) {

    .footer-colonnes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 25px;
    }

}

/* ========== FOOTER MOBILE ========== */

@media (max-width: 600px) {

    .footer-site {
        margin-top: 50px;
        padding: 35px 22px 22px;
    }

    .footer-identite {
        padding-bottom: 25px;
    }

    .footer-identite h2 {
        font-size: 1.9rem;
        line-height: 1.2;
        text-align: left;
    }

    .footer-identite p {
        font-size: 0.85rem;
        line-height: 1.5;
        text-align: left;
    }

    .footer-colonnes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 18px;
        padding: 25px 0 30px;
    }

    .footer-colonne {
        gap: 9px;
    }

    .footer-colonne h3 {
        font-size: 0.9rem;
        line-height: 1.35;
        text-align: left;
        margin-bottom: 5px;
    }

    .footer-colonne a {
        font-size: 0.85rem;
        line-height: 1.5;
        text-align: left;
    }

    .footer-bas p {
        font-size: 0.75rem;
        line-height: 1.5;
        text-align: left;
    }

}

/* PETITS TÉLÉPHONES */

@media (max-width: 360px) {

    .footer-colonnes {
        grid-template-columns: 1fr;
        gap: 25px;
    }

}
/* ---------- FOOTER PLEINE LARGEUR ---------- */

.footer-site {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
    background-color: #f1eee7;
}


/* ---------- FOOTER : DÉCOUVRIR ---------- */

.footer-decouvrir {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

/* Rubriques dépliantes */
.footer-sous-menu {
    width: 100%;
}

/* Titres des rubriques */
.footer-sous-menu summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    cursor: pointer;
    list-style: none;
    color: #8b1e2d;
    font-family: "Source Sans 3", sans-serif;
}

/* Suppression du triangle natif */
.footer-sous-menu summary::-webkit-details-marker {
    display: none;
}

/* Flèche */
.footer-sous-menu summary::after {
    content: "⌄";
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

/* Rotation à l'ouverture */
.footer-sous-menu[open] summary::after {
    transform: rotate(180deg);
}

/* Liste des articles */
.footer-sous-menu-contenu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

    padding: 12px 0 5px 15px;
}

/* Liens vers les articles */
.footer-sous-menu-contenu a {
    color: #8b1e2d;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Survol */
.footer-sous-menu summary:hover,
.footer-sous-menu-contenu a:hover {
    color: #1d5c63;
}


/* ---------- FOOTER : UNIFORMISER LES COULEURS ---------- */

.footer-decouvrir > a,
.footer-decouvrir > .footer-sous-menu > summary {
    color: #333;
    text-decoration: none;
}

/* Même couleur au survol */
.footer-decouvrir > a:hover,
.footer-decouvrir > .footer-sous-menu > summary:hover {
    color: #1d5c63;
}

/* ========== PAGE SOURCES ET RÉFÉRENCES ========== */

.page-sources {
    max-width: 850px;
    width: calc(100% - 40px);
    margin: 65px auto 90px;
    font-family: "Source Sans 3", sans-serif;
    box-sizing: border-box;
}

/* ---------- EN-TÊTE ---------- */

.sources-entete {
    text-align: center;
    margin-bottom: 65px;
}

.sources-entete h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: 3.2rem;
    font-weight: 600;
    color: #222222;
    margin: 0 0 20px;
    text-align: center;
}

.sources-entete p {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555555;
    text-align: center;
}

/* ---------- CATÉGORIES ---------- */

.sources-categorie {
    margin-bottom: 55px;
}

.sources-categorie h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #222222;
    margin: 0 0 20px;
    text-align: left;
    border-bottom: 1px solid #ddd8cd;
    padding-bottom: 12px;
}

/* ---------- BLOCS DÉPLIABLES ---------- */

.source-bloc {
    border-bottom: 1px solid #e1ddd5;
    scroll-margin-top: 100px;
}

.source-bloc summary {
    position: relative;
    display: block;
    cursor: pointer;
    padding: 17px 35px 17px 0;
    color: #444444;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    list-style: none;
}

.source-bloc summary::-webkit-details-marker {
    display: none;
}

.source-bloc summary::after {
    content: "+";
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: #8b1e2d;
    font-size: 1.4rem;
    font-weight: 400;
}

.source-bloc[open] summary::after {
    content: "−";
}

.source-bloc summary:hover {
    color: #8b1e2d;
}

.source-bloc summary:focus-visible {
    outline: 2px solid #1d5c63;
    outline-offset: 3px;
}

/* ---------- CONTENU DES SOURCES ---------- */

.source-contenu {
    background-color: #f1eee7;
    padding: 20px 25px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.source-contenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.source-contenu li {
    margin-bottom: 17px;
}

.source-contenu li:last-child {
    margin-bottom: 0;
}

.source-contenu a {
    display: inline-block;
    color: #8b1e2d;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.source-contenu a:hover {
    color: #1d5c63;
    text-decoration: underline;
}

.source-contenu span {
    display: block;
    color: #666666;
    font-size: 0.9rem;
    margin-top: 4px;
}

.source-contenu p {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

/* ---------- MOBILE ---------- */

@media (max-width: 768px) {

    .page-sources {
        width: calc(100% - 36px);
        margin: 40px auto 60px;
    }

    .sources-entete {
        margin-bottom: 45px;
    }

    .sources-entete h1 {
        font-size: 2.5rem;
    }

    .sources-entete p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .sources-categorie {
        margin-bottom: 40px;
    }

    .sources-categorie h2 {
        font-size: 1.9rem;
    }

    .source-bloc summary {
        font-size: 0.95rem;
        padding: 15px 30px 15px 0;
    }

    .source-contenu {
        padding: 17px 15px;
    }

    .source-contenu a {
        font-size: 0.9rem;
    }

    .source-contenu span {
        font-size: 0.85rem;
    }

}

/* ---------- LIEN VERS LES SOURCES ---------- */

.article-references {
    margin: 35px 0 25px;
    text-align: left;
}

.article-references a {
    color: #8b1e2d;
    font-family: "Source Sans 3", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #c8a5ab;
    padding-bottom: 3px;
}

.article-references a:hover {
    color: #1d5c63;
    border-bottom-color: #1d5c63;
}

/* SOUS-CATÉGORIES DES SOURCES */

.sources-categorie h3 {
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #8b1e2d;
    text-align: left;
    margin: 30px 0 12px;
}

@media (max-width: 768px) {
    .sources-categorie h3 {
        font-size: 1rem;
        margin: 25px 0 10px;
    }
}


/* ========== INFORMATIONS LÉGALES ========== */

.page-legale {
    max-width: 900px;
    margin: 50px auto 80px;
    padding: 0 25px;
    color: #222;
}

.page-legale h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    color: #222;
}

.legale-introduction {
    text-align: center;
    color: #555;
    line-height: 1.7;
    margin-bottom: 55px;
}

.legale-section {
    margin-bottom: 65px;
    scroll-margin-top: 30px;
}

.legale-section h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.3rem;
    color: #8b1e2d;
    border-bottom: 1px solid #ddd8cd;
    padding-bottom: 12px;
    margin-bottom: 30px;
}

.legale-section h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.65rem;
    color: #222;
    margin: 30px 0 12px;
}

.legale-section p {
    font-family: "Source Sans 3", sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
    hyphens: auto;
    margin-bottom: 15px;
}

.legale-section a {
    color: #8b1e2d;
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.legale-section a:hover {
    color: #1d5c63;
}

/* VERSION MOBILE */

@media (max-width: 700px) {

    .page-legale {
        margin: 30px auto 55px;
        padding: 0 20px;
    }

    .page-legale h1 {
        font-size: 2.4rem;
    }

    .legale-introduction {
        text-align: left;
        margin-bottom: 40px;
    }

    .legale-section h2 {
        font-size: 2rem;
    }

    .legale-section h3 {
        font-size: 1.5rem;
    }
}
