/* =============================================
   CMH France — Feuille de style principale
   ============================================= */

/* --- Variables de couleurs (la palette du logo) --- */
:root {
    --bordeaux:     #8B1A1A;
    --rouge:        #C0392B;
    --rouge-clair:  #E05858;
    --blanc:        #FFFFFF;
    --gris-clair:   #F8F4F4;
    --gris-texte:   #2C2C2C;
    --gris-moyen:   #666666;
}

/* --- Réinitialisation de base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--gris-texte);
    background: var(--blanc);
    font-size: 16px;
    line-height: 1.6;
}

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

a:hover {
    color: var(--bordeaux);
    text-decoration: underline;
}

/* =============================================
   EN-TÊTE
   ============================================= */
.site-header {
    background: var(--blanc);
    border-bottom: 3px solid var(--bordeaux);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 220px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 210px;
    width: auto;
}

.logo:hover {
    text-decoration: none;
}

.logo-texte {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-titre {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--bordeaux);
    letter-spacing: 0.5px;
    line-height: 1.25;
}

/* Lettres C, M, H mises en valeur dans le titre */
.cmh-lettre {
    color: var(--rouge);
    font-size: 1.15em;
}

/* Le mot « France » : même couleur que les lettres C/M/H, taille normale */
.cmh-mot-france {
    color: var(--rouge);
}

.logo-site {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gris-moyen);
    letter-spacing: 0.5px;
}

/* Menu principal */
.menu-principal ul {
    list-style: none;
    display: flex;
    gap: 5px;
}

.menu-principal > ul > li > a {
    display: block;
    padding: 10px 14px;
    color: var(--gris-texte);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
    white-space: nowrap;   /* chaque entrée du menu reste sur une seule ligne */
    transition: background 0.2s, color 0.2s;
}

.menu-principal > ul > li > a:hover {
    background: var(--bordeaux);
    color: var(--blanc);
    text-decoration: none;
}

/* Sous-menus */
.has-submenu {
    position: relative;
}

.submenu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--blanc);
    border: 1px solid #ddd;
    border-top: 3px solid var(--bordeaux);
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    border-radius: 0 0 6px 6px;
    flex-direction: column;
}

.has-submenu.ouvert .submenu {
    display: flex !important;
}

.submenu li a {
    display: block;
    padding: 10px 16px;
    color: var(--gris-texte);
    font-size: 0.88rem;
    border-bottom: 1px solid #f0e8e8;
    transition: background 0.15s, color 0.15s;
}

.submenu li:last-child a {
    border-bottom: none;
}

.submenu li a:hover {
    background: var(--gris-clair);
    color: var(--bordeaux);
    text-decoration: none;
}

/* =============================================
   BANDEAU DÉFILANT (fil d'info)
   ============================================= */
.bandeau-info {
    background: var(--bordeaux);
    color: var(--blanc);
}

/* Conteneur interne : même largeur centrée que le reste du site */
.bandeau-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    overflow: hidden;          /* cache le texte qui dépasse sur les côtés */
}

.bandeau-label {
    background: var(--rouge);
    color: var(--blanc);
    padding: 8px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;            /* l'étiquette garde toujours sa taille */
}
.bandeau-label-titre {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.bandeau-label-sous {
    font-weight: 400;
    font-size: 0.65rem;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.9;
    margin-top: 1px;
}

.bandeau-zone {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.bandeau-track {
    display: inline-flex;
    white-space: nowrap;
    /* défilement : 40s pour parcourir une fois, en boucle infinie */
    animation: defile-bandeau 40s linear infinite;
}

/* On met en pause le défilement quand la souris est dessus */
.bandeau-info:hover .bandeau-track {
    animation-play-state: paused;
}

.bandeau-item {
    padding: 10px 0;
    font-size: 0.92rem;
}

/* Petite puce ronde entre chaque phrase */
.bandeau-item::after {
    content: "●";
    color: var(--rouge-clair);
    margin: 0 30px;
    font-size: 0.6rem;
    vertical-align: middle;
}

@keyframes defile-bandeau {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }  /* -50% = une série complète (le contenu est doublé) */
}

/* =============================================
   BANDEAU RÉSEAUX SOCIAUX
   ============================================= */
.reseaux-bandeau {
    background: var(--bordeaux);
    padding: 22px 20px;
}

.reseaux-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.reseaux-texte {
    color: var(--blanc);
    font-size: 1.05rem;
    font-weight: 600;
}

.reseaux-liens {
    display: flex;
    gap: 14px;
}

.reseau-lien {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: var(--blanc);
    transition: background 0.2s, transform 0.2s, color 0.2s;
}

.reseau-lien:hover {
    background: var(--blanc);
    color: var(--bordeaux);
    transform: translateY(-3px);
    text-decoration: none;
}

/* Lien "Groupe Facebook patients" */
.reseaux-groupe {
    margin-left: 20px;          /* léger écart avec les icônes, sans coller à droite */
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--blanc);
    font-weight: 600;
    font-size: 1.05rem;
    transition: opacity 0.2s, transform 0.2s;
}

.reseaux-groupe:hover {
    color: var(--blanc);
    opacity: 0.85;
    transform: translateY(-2px);
    text-decoration: none;
}

.reseaux-groupe svg {
    flex-shrink: 0;
}

/* =============================================
   HERO
   ============================================= */
.hero {
    background: linear-gradient(135deg, var(--bordeaux) 0%, var(--rouge) 60%, var(--rouge-clair) 100%);
    color: var(--blanc);
    padding: 70px 20px;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-contenu {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 520px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    object-fit: cover;
}

.hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    opacity: 0.92;
}

.hero-boutons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Boutons */
.bouton-principal {
    background: var(--blanc);
    color: var(--bordeaux);
    padding: 13px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bouton-principal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    text-decoration: none;
    color: var(--bordeaux);
}

.bouton-secondaire {
    background: transparent;
    color: var(--blanc);
    padding: 13px 28px;
    border-radius: 30px;
    border: 2px solid var(--blanc);
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
}

.bouton-secondaire:hover {
    background: var(--blanc);
    color: var(--bordeaux);
    text-decoration: none;
}

/* =============================================
   CHIFFRES CLÉS
   ============================================= */
.chiffres-cles {
    background: var(--bordeaux);
    padding: 40px 20px;
}

.chiffres-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.chiffre strong {
    display: block;
    font-size: 2.2rem;
    color: var(--blanc);
    font-weight: 700;
}

.chiffre span {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    white-space: nowrap;       /* chaque sous-titre tient sur une seule ligne */
    display: block;
    margin: 6px auto 0;
}

/* =============================================
   MEMBRE DE (logo partenaire en bas de l'accueil)
   ============================================= */
.membre-de {
    padding: 30px 20px 55px;
}
.membre-de-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.membre-de-titre {
    color: var(--bordeaux);
    font-size: 1.8rem;
    margin: 0 0 30px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--rouge-clair);
}
.membre-de-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 75px;
    margin-top: 35px;
}
.membre-de-logo {
    width: 150px;
    height: auto;
    transition: transform 0.15s ease, opacity 0.15s ease;
}
.membre-de-logo-large {
    width: 240px;
}
.membre-de-logo:hover {
    transform: scale(1.04);
    opacity: 0.9;
}

/* =============================================
   ACCÈS RAPIDE
   ============================================= */
.acces-rapide {
    padding: 70px 20px;
    background: var(--gris-clair);
}

.acces-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.acces-bloc {
    background: var(--blanc);
    border-radius: 10px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: transform 0.2s, box-shadow 0.2s;
    border-top: 4px solid var(--rouge);
}

.acces-bloc:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(139,26,26,0.15);
}

.acces-icone {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.acces-bloc h3 {
    color: var(--bordeaux);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.acces-bloc p {
    color: var(--gris-moyen);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.lien-bloc {
    color: var(--rouge);
    font-weight: 600;
    font-size: 0.9rem;
}

.lien-bloc strong {
    color: var(--bordeaux);
}

.lien-bloc:hover {
    color: var(--bordeaux);
}

/* =============================================
   ACTUALITÉS
   ============================================= */
.actualites {
    padding: 70px 20px;
    background: var(--blanc);
}

.actualites-inner {
    max-width: 1100px;   /* largeur de contenu unifiée pour tout le site */
    margin: 0 auto;
}

.actualites h2 {
    color: var(--bordeaux);
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--rouge-clair);
}

.news-liste {
    margin-bottom: 30px;
}

.news-item {
    padding: 16px 0;
    border-bottom: 1px solid #eedede;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-size: 0.82rem;
    color: var(--rouge);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-item h4 {
    margin-top: 5px;
    font-size: 1rem;
    font-weight: 500;
}

.news-item h4 a {
    color: var(--gris-texte);
}

.news-item h4 a:hover {
    color: var(--bordeaux);
    text-decoration: none;
}

.actualites-grille {
    display: grid;
    /* minmax(0, 1fr) force 3 colonnes strictement égales (sinon une colonne au
       contenu plus long s'élargit et déséquilibre les autres) */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-bottom: 20px;
    align-items: stretch;
}

.news-bloc {
    background: var(--gris-clair);
    border-radius: 10px;
    padding: 25px;
    border-top: 4px solid var(--rouge);
    display: flex;
    flex-direction: column;
}

.news-bloc .news-liste {
    flex-grow: 1;
}

.news-bloc h3 {
    color: var(--bordeaux);
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.news-vide {
    color: var(--gris-moyen);
    font-size: 0.9rem;
    font-style: italic;
}

/* Tablette : 2 colonnes */
@media (max-width: 1000px) {
    .actualites-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Mobile : 1 colonne */
@media (max-width: 640px) {
    .actualites-grille { grid-template-columns: 1fr; }
}

/* =============================================
   ARCHIVES ACTUALITÉS
   ============================================= */
.archives-header {
    background: linear-gradient(135deg, var(--bordeaux), var(--rouge));
    color: var(--blanc);
    padding: 40px 20px;
}

.archives-header-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.fil-ariane {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 12px;
}

.fil-ariane a {
    color: rgba(255,255,255,0.75);
}

.fil-ariane a:hover {
    color: var(--blanc);
    text-decoration: none;
}

.archives-header h1 {
    font-size: 2rem;
    margin-bottom: 6px;
}

.archives-header p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.archives-contenu {
    padding: 50px 20px;
    background: var(--gris-clair);
}

.archives-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* Onglets */
.archives-onglets {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.onglet {
    padding: 8px 20px;
    border-radius: 25px;
    background: var(--blanc);
    color: var(--gris-texte);
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid #ddd;
    transition: all 0.2s;
}

.onglet:hover {
    border-color: var(--rouge);
    color: var(--rouge);
    text-decoration: none;
}

.onglet.actif {
    background: var(--bordeaux);
    color: var(--blanc);
    border-color: var(--bordeaux);
}

/* Articles */
.archives-liste {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.archive-article {
    background: var(--blanc);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    gap: 25px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
    transition: transform 0.2s, box-shadow 0.2s;
}

.archive-article:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(139,26,26,0.12);
}

.archive-date {
    min-width: 55px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--bordeaux);
    line-height: 1.1;
    padding-top: 3px;
}

.archive-date span {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--rouge);
}

.archive-texte h2 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.archive-texte h2 a {
    color: var(--gris-texte);
}

.archive-texte h2 a:hover {
    color: var(--bordeaux);
    text-decoration: none;
}

.archive-texte p {
    font-size: 0.9rem;
    color: var(--gris-moyen);
    margin-bottom: 10px;
}

.lire-suite {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--rouge);
}

.badge-categorie {
    background: rgba(255,255,255,0.2);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.82rem;
}

/* Page article complet */
.article-contenu {
    padding: 50px 20px;
    background: var(--gris-clair);
}

.article-inner {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--blanc);
    border-radius: 10px;
    padding: 50px 60px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}

@media (min-width: 2000px) {
    .article-inner {
        max-width: 1100px;
        padding: 60px 80px;
        font-size: 1.15rem;
    }
    .archives-inner  { max-width: 1100px; }
    .archives-header-inner { max-width: 1100px; }
}

.article-corps {
    font-size: 1rem;
    line-height: 1.8;
    overflow-wrap: break-word;
    color: var(--gris-texte);
    margin-bottom: 35px;
}

.article-corps h2 { color: var(--bordeaux); font-size: 1.3rem; margin: 25px 0 10px; }
.article-corps h3 { color: var(--rouge); font-size: 1.1rem; margin: 20px 0 8px; }
.article-corps ul, .article-corps ol { padding-left: 25px; margin: 10px 0; }
.article-corps li { margin-bottom: 5px; }
.article-corps a { color: var(--rouge); text-decoration: underline; }
.article-corps img { max-width: 100%; border-radius: 8px; margin: 15px 0; display: block; }
.article-corps img.img-petite  { width: 30%; }
.article-corps img.img-moyenne { width: 60%; }
.article-corps img.img-grande  { width: 100%; }

/* Galerie côte à côte — wrapper flex injecté par JS dans actualite.php */
.article-corps .galerie-wrapper {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 15px 0;
}
.article-corps .galerie-wrapper img {
    flex: 1 1 0;
    min-width: 120px;
    max-width: 100%;
    border-radius: 8px;
    margin: 0;
    display: block;
    align-self: flex-start;
}
.article-corps strong { color: var(--gris-texte); }

/* Lightbox : fenêtre image plein écran */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.88);
    justify-content: center;
    align-items: center;
    padding: 30px;
    box-sizing: border-box;
}
.lightbox.ouvert {
    display: flex;
}
.lightbox-image {
    max-width: 95%;
    max-height: 90vh;
    border-radius: 6px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    cursor: default;
}
.lightbox-fermer {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 48px;
    height: 48px;
    font-size: 2.2rem;
    line-height: 1;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}
.lightbox-fermer:hover {
    background: rgba(255, 255, 255, 0.28);
}

.bouton-retour {
    display: inline-block;
    color: var(--rouge);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 0;
    border-top: 1px solid #eee;
    width: 100%;
}

.bouton-retour:hover {
    color: var(--bordeaux);
    text-decoration: none;
}

.archives-vide {
    text-align: center;
    color: var(--gris-moyen);
    font-style: italic;
    padding: 40px;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 35px;
    flex-wrap: wrap;
}

.page-lien {
    padding: 8px 14px;
    border-radius: 6px;
    background: var(--blanc);
    color: var(--gris-texte);
    font-size: 0.9rem;
    border: 1px solid #ddd;
    transition: all 0.2s;
}

.page-lien:hover {
    border-color: var(--rouge);
    color: var(--rouge);
    text-decoration: none;
}

.page-lien.actif {
    background: var(--bordeaux);
    color: var(--blanc);
    border-color: var(--bordeaux);
}

/* =============================================
   PIED DE PAGE
   ============================================= */
.site-footer {
    background: var(--bordeaux);
    color: rgba(255,255,255,0.85);
    padding: 50px 20px 0;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

/* Première colonne du footer (logo + description) : tout centré */
.footer-col:first-child {
    text-align: center;
}

.footer-logo {
    height: 160px;
    display: block;
    margin: 0 auto 15px;   /* centre le logo horizontalement dans sa colonne */
    background: white;
    border-radius: 50%;
    padding: 4px;
}

.footer-col p {
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--blanc);
    font-size: 1rem;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.25);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--blanc);
    text-decoration: none;
}

.footer-bas {
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    padding: 18px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
}

/* =============================================
   PAGE CONTACT
   ============================================= */
.contact-section {
    padding: 50px 20px;
    background: var(--gris-clair);
}

.contact-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form-bloc {
    background: var(--blanc);
    border-radius: 10px;
    padding: 35px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}

/* Champs de formulaire (page publique) */
.contact-form-bloc .champ {
    margin-bottom: 18px;
}

.contact-form-bloc label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--gris-texte);
}

.contact-form-bloc input,
.contact-form-bloc textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--gris-texte);
}

.contact-form-bloc input:focus,
.contact-form-bloc textarea:focus {
    outline: none;
    border-color: var(--rouge);
    box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}

.contact-form-bloc textarea {
    resize: vertical;
}

.contact-form-bloc .bouton-principal {
    border: none;
    cursor: pointer;
    margin-top: 5px;
}

/* Encadré coordonnées */
.contact-infos {
    background: var(--blanc);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}

.contact-infos h3 {
    color: var(--bordeaux);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gris-clair);
}

.contact-infos p {
    margin-bottom: 16px;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Messages de confirmation / erreur (page publique) */
.alerte-succes,
.alerte-erreur {
    padding: 14px 16px;
    border-radius: 6px;
    margin-bottom: 22px;
    font-size: 0.92rem;
}

.alerte-succes {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}

.alerte-erreur {
    background: #fdecea;
    border: 1px solid #f5c6c0;
    color: #c0392b;
}

/* =============================================
   PAVÉ ESSAIS CLINIQUES (accueil)
   ============================================= */
.essais {
    padding: 70px 20px;
    background: var(--gris-clair);
}

.essais-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.essais h2 {
    color: var(--bordeaux);
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.essais-icone {
    font-size: 1.6rem;
    vertical-align: -2px;
    margin-left: 6px;
}

.essais-intro {
    color: var(--gris-moyen);
    margin-bottom: 30px;
    font-size: 0.98rem;
}

.essais-liste {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Un groupe = une molécule (gauche) + ses études (droite) */
.essai-groupe {
    display: flex;
    gap: 26px;
    background: var(--blanc);
    border-radius: 12px;
    padding: 24px 26px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    border-left: 4px solid var(--rouge-clair);
}

/* Colonne gauche : molécule + labo */
.essai-molecule-bloc {
    flex: 0 0 210px;
    border-right: 1px solid var(--gris-clair);
    padding-right: 22px;
}

.molecule-nom {
    color: var(--bordeaux);
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.molecule-labo {
    font-size: 0.92rem;
    color: var(--gris-moyen);
    margin-bottom: 10px;
}

.molecule-compte {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--rouge);
    background: var(--gris-clair);
    padding: 3px 10px;
    border-radius: 20px;
    margin: 0;
}

/* Colonne droite : les petits pavés d'études */
.essai-etudes {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.etude-pave {
    background: var(--gris-clair);
    border-radius: 10px;
    padding: 12px 16px;
}

.etude-entete {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.etude-titre-pays {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.etude-nom {
    font-weight: 700;
    color: var(--bordeaux);
}

.etude-drapeaux {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.etude-drapeaux .fi {
    width: 22px;
    height: 16px;
    border-radius: 2px;
    box-shadow: 0 0 1px rgba(0,0,0,0.4);
}

.etude-nom a {
    color: var(--bordeaux);
}

.etude-nom a:hover {
    color: var(--rouge);
    text-decoration: underline;
}

.etude-phase-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--rouge);
    white-space: nowrap;
}

.etude-description {
    font-size: 0.85rem;
    color: var(--gris-moyen);
    line-height: 1.5;
    margin: 0 0 8px;
}

/* Les 4 fleurs de progression */
.etude-stades {
    display: flex;
    gap: 22px;
    align-items: flex-end;
}

.etude-stade {
    font-size: 1.3rem;
    opacity: 0.3;
    filter: grayscale(70%);
    transition: opacity 0.2s, transform 0.2s;
}

.etude-stade.atteint {
    opacity: 1;
    filter: none;
}

.etude-stade.actuel {
    transform: scale(1.3);
    animation: pousse 2s ease-in-out infinite;
}

@keyframes pousse {
    0%, 100% { transform: scale(1.3); }
    50%      { transform: scale(1.45); }
}

/* =============================================
   PAGE ANNUAIRE / CARTE DES CENTRES
   ============================================= */
.annuaire {
    padding: 45px 20px;
    background: var(--gris-clair);
}

.annuaire-inner {
    max-width: 1100px;
    margin: 0 auto;
}

#carte-centres {
    width: 100%;
    height: 520px;
    border-radius: 12px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.12);
    z-index: 1;   /* reste sous le menu déroulant du header */
}

/* Marqueurs personnalisés (pastilles rondes colorées) */
.marqueur-centre span {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.annuaire-legende {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin: 18px 0 30px;
    font-size: 0.92rem;
    color: var(--gris-texte);
    flex-wrap: wrap;
}

.annuaire-legende span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pastille {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.pastille-reference  { background: var(--bordeaux); }
.pastille-competence { background: var(--rouge); }

.annuaire-source {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gris-moyen);
    margin: -12px 0 25px;
}

.annuaire-source a {
    color: var(--rouge);
    text-decoration: underline;
}

/* Liste des fiches centres */
.annuaire-liste {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.centre-fiche {
    background: var(--blanc);
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
    border-top: 4px solid var(--rouge);
}

.centre-fiche.centre-reference {
    border-top-color: var(--bordeaux);
}

.centre-fiche h3 {
    color: var(--bordeaux);
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.centre-label {
    font-size: 0.85rem;
    color: var(--gris-texte);
    margin-bottom: 8px;
    line-height: 1.5;
}

.centre-tel {
    font-size: 0.88rem;
    color: var(--rouge);
    font-weight: 600;
    margin: 0;
}

/* =============================================
   PAGE QUI SOMMES-NOUS
   ============================================= */
.presentation {
    padding: 55px 20px;
    background: var(--blanc);
}

.presentation-inner {
    max-width: 1100px;
    margin: 0 auto;
    line-height: 1.8;
}

.presentation-inner h2 {
    color: var(--bordeaux);
    font-size: 1.4rem;
    margin: 38px 0 16px;
}

.presentation-inner p {
    margin-bottom: 16px;
}

.presentation-citation {
    margin: 28px 0;
    padding: 22px 30px;
    background: var(--gris-clair);
    border-left: 5px solid var(--rouge);
    border-radius: 0 10px 10px 0;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--bordeaux);
    line-height: 1.5;
}

/* Grille des 3 missions */
.mission-grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 24px 0 10px;
}

.mission-carte {
    background: var(--gris-clair);
    border-radius: 12px;
    padding: 26px 22px;
    text-align: center;
}

.mission-icone {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.mission-carte h3 {
    color: var(--bordeaux);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.mission-carte p {
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* Appel à l'action en bas de page */
.presentation-cta {
    text-align: center;
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid var(--gris-clair);
}

.presentation-cta p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gris-texte);
    margin-bottom: 18px;
}

.presentation-cta .bouton-principal {
    display: inline-block;
    background: var(--bordeaux);
    color: var(--blanc);
}

.presentation-cta .bouton-principal:hover {
    color: var(--blanc);
}

/* =============================================
   PAGES LÉGALES (mentions, confidentialité)
   ============================================= */
.contenu-legal {
    padding: 50px 20px;
    background: var(--blanc);
}

.contenu-legal-inner {
    max-width: 1100px;
    margin: 0 auto;
    line-height: 1.8;
}

.contenu-legal-inner h2 {
    color: var(--bordeaux);
    font-size: 1.25rem;
    margin: 32px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gris-clair);
}

.contenu-legal-inner p {
    margin-bottom: 14px;
}

.contenu-legal-inner ul {
    margin: 0 0 16px 22px;
}

.contenu-legal-inner li {
    margin-bottom: 8px;
}

/* Case de consentement RGPD (formulaire contact) */
.champ-consentement label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.5;
    cursor: pointer;
}

.champ-consentement input {
    width: auto;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Disclaimer médical en pied de page */
.footer-disclaimer {
    max-width: 1100px;
    margin: 0 auto 14px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

.footer-bas a {
    color: rgba(255,255,255,0.85);
    text-decoration: underline;
}

.footer-bas a:hover {
    color: var(--blanc);
}

/* =============================================
   PAGE TÉMOIGNAGES
   ============================================= */
.temoignages-section {
    padding: 55px 20px;
    background: var(--gris-clair);
}

.temoignages-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.temoignages-vide {
    text-align: center;
    color: var(--gris-moyen);
    padding: 40px 0;
}

/* Encart "Envie de partager votre témoignage ?" */
.temoignages-appel {
    text-align: center;
    background: var(--blanc);
    border: 2px dashed var(--rouge-clair);
    border-radius: 12px;
    padding: 26px 24px;
    margin-bottom: 10px;
}

.temoignages-appel-titre {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bordeaux);
    margin-bottom: 8px;
}

.temoignages-appel-texte {
    font-size: 1.02rem;
    color: var(--gris-texte);
    margin: 0;
}

.temoignages-appel-texte a {
    font-weight: 600;
}

.temoignage-carte {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

/* Avatar rond à gauche */
.temoignage-avatar {
    flex-shrink: 0;
    padding-top: 6px;
}

.temoignage-avatar img,
.temoignage-initiale {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(139,26,26,0.18);
    border: 3px solid var(--blanc);
}

.temoignage-initiale {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanc);
    font-size: 2.2rem;
    font-weight: 700;
}

/* Encadré texte à droite */
.temoignage-contenu {
    position: relative;
    flex: 1;
    background: var(--blanc);
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.08);
    transition: transform 0.25s, box-shadow 0.25s;
}

.temoignage-carte:hover .temoignage-contenu {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(139,26,26,0.15);
}

/* Petite flèche qui pointe vers l'avatar */
.temoignage-contenu::before {
    content: "";
    position: absolute;
    left: -11px;
    top: 28px;
    width: 22px;
    height: 22px;
    background: var(--blanc);
    transform: rotate(45deg);
    box-shadow: -3px 3px 6px rgba(0,0,0,0.04);
}

/* En-tête cliquable (prénom + chevron) */
.temoignage-entete {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.temoignage-prenom {
    color: var(--bordeaux);
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* Petit chevron qui pivote à l'ouverture */
.temoignage-chevron {
    color: var(--rouge);
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: transform 0.25s;
}

.temoignage-carte.ouvert .temoignage-chevron {
    transform: rotate(180deg);
}

.temoignage-age {
    color: var(--gris-moyen);
    font-weight: 400;
    font-size: 0.95rem;
}

/* Texte caché par défaut, affiché quand la carte est ouverte */
.temoignage-texte {
    position: relative;
    margin: 0;
    color: var(--gris-texte);
    font-size: 1rem;
    line-height: 1.75;
    font-style: italic;
    display: none;
}

.temoignage-carte.ouvert .temoignage-texte {
    display: block;
    margin-top: 14px;
}

/* Grand guillemet décoratif */
.temoignage-texte::before {
    content: "\201C";
    font-size: 2.6rem;
    color: var(--rouge-clair);
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 4px;
    font-style: normal;
}

/* =============================================
   RESPONSIVE (mobile)
   ============================================= */
@media (max-width: 768px) {
    .hero h1 { font-size: 1.7rem; }
    .hero-inner { flex-direction: column-reverse; text-align: center; gap: 30px; }
    .hero-boutons { justify-content: center; }
    .header-inner { flex-direction: column; height: auto; padding: 15px; gap: 10px; }
    .menu-principal > ul { flex-wrap: wrap; justify-content: center; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .chiffres-inner { flex-direction: column; align-items: center; }
    .chiffre span { white-space: normal; }   /* sur mobile, on autorise le retour à la ligne */
    .contact-inner { grid-template-columns: 1fr; }
    .mission-grille { grid-template-columns: 1fr; }
    .presentation-citation { font-size: 1.1rem; padding: 18px 22px; }
    .annuaire-liste { grid-template-columns: 1fr; }
    #carte-centres { height: 380px; }
    .essai-groupe { flex-direction: column; gap: 16px; }
    .essai-molecule-bloc {
        flex-basis: auto;
        border-right: none;
        border-bottom: 1px solid var(--gris-clair);
        padding-right: 0;
        padding-bottom: 14px;
    }
    /* Témoignages : photo centrée au-dessus du texte */
    .temoignage-carte { flex-direction: column; align-items: center; text-align: center; }
    .temoignage-contenu::before { display: none; }  /* on masque la flèche en mode vertical */
}

@media (max-width: 480px) {
    .footer-inner { grid-template-columns: 1fr; }
}

/* =============================================
   BOUTON "NOUVELLEMENT DIAGNOSTIQUÉ"
   ============================================= */
.cta-diagnostic {
    background: var(--blanc);
    text-align: center;
    padding: 40px 20px 10px;
}

.bouton-diagnostic {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FF1E2D;                /* rouge vif, bien visible */
    color: var(--blanc);
    font-weight: 700;
    font-size: 1.2rem;
    padding: 16px 36px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.9);  /* liseré blanc pour ressortir sur le hero rouge */
    box-shadow: 0 0 14px 3px rgba(255,30,45,0.55);
    /* Halo lumineux qui « respire » doucement (1,8 s = ~0,55 Hz, très en dessous du
       seuil de risque pour l'épilepsie photosensible). Pas de clignotement franc. */
    animation: halo-diagnostic 1.8s ease-in-out infinite;
}

.bouton-diagnostic:hover {
    background: #E2001A;
    color: var(--blanc);
    text-decoration: none;
    transform: scale(1.03);
}

.bouton-diagnostic-coeur {
    font-size: 1.25rem;
    line-height: 1;
}

/* Variante du bouton diagnostic placée dans le hero : police réduite comme les 2 autres boutons */
.bouton-diagnostic-hero {
    font-size: 1rem;
    padding: 12px 26px;
    margin-top: 15px;
}
.bouton-diagnostic-hero .bouton-diagnostic-coeur {
    font-size: 1.05rem;
}

@keyframes halo-diagnostic {
    0%, 100% { box-shadow: 0 0 12px 2px rgba(255,30,45,0.55); }
    50%      { box-shadow: 0 0 34px 11px rgba(255,30,45,0.95); }
}

/* Accessibilité : on coupe l'animation si le visiteur a demandé à réduire les
   mouvements (réglage système anti-épilepsie / confort visuel). */
@media (prefers-reduced-motion: reduce) {
    .bouton-diagnostic { animation: none; }
}

@media (max-width: 480px) {
    .bouton-diagnostic { font-size: 1.05rem; padding: 14px 24px; }
}

/* =============================================
   PAGE "NOUVEAU PATIENT" (parcours en étapes)
   ============================================= */
.parcours {
    list-style: none;
    counter-reset: etape;
    margin: 28px 0;
    padding: 0;
}

.parcours > li {
    position: relative;
    padding: 0 0 26px 64px;
    margin: 0;
}

.parcours > li::before {
    counter-increment: etape;
    content: counter(etape);
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bordeaux), var(--rouge));
    color: var(--blanc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.15rem;
}

.parcours > li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 21px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: #e6d4d4;
}

.parcours h3 {
    color: var(--bordeaux);
    font-size: 1.1rem;
    margin: 6px 0 6px;
}

.parcours p { margin: 0; }

/* Encadré "pensez à votre famille" */
.accueil-rappel {
    background: #FDF3F2;
    border-left: 5px solid var(--rouge-clair);
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 30px 0;
}

.accueil-rappel p { margin: 0; }
.accueil-rappel strong { color: var(--bordeaux); }

/* Encadré "bon pronostic / on vit bien" */
.encadre-espoir {
    display: flex;
    align-items: center;
    gap: 26px;
    background: linear-gradient(135deg, var(--bordeaux), var(--rouge));
    color: var(--blanc);
    border-radius: 14px;
    padding: 26px 32px;
    margin: 32px 0;
}

.encadre-espoir-chiffre {
    flex-shrink: 0;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

.encadre-espoir-chiffre span {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.85;
    margin-top: 4px;
}

.encadre-espoir-texte {
    font-size: 0.98rem;
    line-height: 1.65;
}

.encadre-espoir-texte strong { color: var(--blanc); }

@media (max-width: 600px) {
    .encadre-espoir { flex-direction: column; text-align: center; gap: 16px; }
}

/* Mention de source en bas de page */
.sources-simple {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--gris-clair);
    font-size: 0.85rem;
    color: var(--gris-moyen);
}

.sources-simple p { margin: 0; }

/* =============================================
   ARTICLE DE CONTENU (pages "La CMH")
   ============================================= */
.article-medical {
    padding: 50px 20px 60px;
    background: var(--blanc);
}

.article-inner {
    max-width: 1100px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-lead {
    font-size: 1.15rem;
    color: var(--gris-moyen);
    line-height: 1.7;
    margin-bottom: 30px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--gris-clair);
}

.article-inner h2 {
    color: var(--bordeaux);
    font-size: 1.5rem;
    margin: 44px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gris-clair);
    scroll-margin-top: 240px;   /* compense l'en-tête collant (lien de sommaire) */
}

.article-inner h3 {
    color: var(--rouge);
    font-size: 1.15rem;
    margin: 28px 0 10px;
}

.article-inner p { margin-bottom: 16px; }
.article-inner ul, .article-inner ol { margin: 0 0 18px 6px; padding-left: 22px; }
.article-inner li { margin-bottom: 9px; }
.article-inner strong { color: var(--gris-texte); }

/* Les 4 stades d'évolution (boutons cliquables + panneaux) */
.stades { margin: 28px 0 32px; }
.stades-intro { margin-bottom: 10px; }
.stades-consigne { margin: 0 0 18px; }
.stades-source {
    margin: 16px 0 0;
    font-size: 0.85rem;
    color: var(--gris-moyen);
}

.stades-boutons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
.stade-btn {
    flex: 1 1 150px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--blanc);
    border: 2px solid #e3d6d6;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: border-color .15s, background .15s;
}
.stade-btn:hover { border-color: var(--rouge-clair); }
.stade-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ece2e2;
    color: var(--gris-texte);
    font-weight: 700;
    font-size: 0.95rem;
}
.stade-nom {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gris-texte);
    line-height: 1.2;
}

.stade-panneau {
    display: none;
    border: 1px solid #ece2e2;
    border-left: 5px solid var(--bordeaux);
    border-radius: 0 10px 10px 0;
    padding: 20px 24px;
    background: var(--gris-clair);
}
.stade-panneau.actif { display: block; }
.stade-entete {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.stade-entete h3 { margin: 0; }
.stade-pct {
    background: var(--bordeaux);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 5px 14px;
    border-radius: 20px;
    white-space: nowrap;
}
.stade-carac { margin: 12px 0 0 0; }

/* Code couleur par stade : bleu -> vert -> orange -> rouge (progression) */
.stade-btn.s1.actif { border-color: #2A6FD1; background: #eef4fc; }
.stade-btn.s1.actif .stade-num { background: #2A6FD1; color: #fff; }
.stade-panneau.s1 { border-left-color: #2A6FD1; }
.stade-pct.s1 { background: #2A6FD1; }

.stade-btn.s2.actif { border-color: #2E7D32; background: #eef6ee; }
.stade-btn.s2.actif .stade-num { background: #2E7D32; color: #fff; }
.stade-panneau.s2 { border-left-color: #2E7D32; }
.stade-pct.s2 { background: #2E7D32; }

.stade-btn.s3.actif { border-color: #E67E22; background: #fdf3e9; }
.stade-btn.s3.actif .stade-num { background: #E67E22; color: #fff; }
.stade-panneau.s3 { border-left-color: #E67E22; }
.stade-pct.s3 { background: #E67E22; }

.stade-btn.s4.actif { border-color: #C0392B; background: #fbecea; }
.stade-btn.s4.actif .stade-num { background: #C0392B; color: #fff; }
.stade-panneau.s4 { border-left-color: #C0392B; }
.stade-pct.s4 { background: #C0392B; }

/* Cartes en grille (symptômes, examens…) */
.symptomes-liste,
.examens-liste {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 22px 0 10px;
}
.symptome-carte,
.examen-carte {
    background: var(--gris-clair);
    border: 1px solid #ece2e2;
    border-left: 5px solid var(--rouge);
    border-radius: 0 10px 10px 0;
    padding: 16px 18px;
}
.symptome-carte h3,
.examen-carte h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
}
.symptome-carte p,
.examen-carte p {
    margin: 0;
    font-size: 0.95rem;
}
.symptome-emoji,
.examen-emoji { margin-right: 4px; }

/* Sommaire (ancres internes) */
.sommaire {
    background: var(--gris-clair);
    border-left: 5px solid var(--rouge);
    border-radius: 0 10px 10px 0;
    padding: 22px 26px;
    margin-bottom: 36px;
}

.sommaire-titre {
    font-weight: 700;
    color: var(--bordeaux);
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.sommaire ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 30px; }
.sommaire li { margin-bottom: 8px; }
.sommaire a { color: var(--gris-texte); font-size: 0.95rem; }
.sommaire a:hover { color: var(--bordeaux); text-decoration: none; }
.sommaire a::before { content: "\203A"; color: var(--rouge); font-weight: 700; margin-right: 8px; }

/* Encadrés thématiques */
.encadre { border-radius: 12px; padding: 20px 24px; margin: 26px 0; line-height: 1.65; }
.encadre .encadre-titre { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 8px; font-size: 1.05rem; }
.encadre p:last-child, .encadre ul:last-child { margin-bottom: 0; }
.encadre-info   { background: #FDF3F2; border-left: 5px solid var(--rouge-clair); }
.encadre-info .encadre-titre { color: var(--rouge); }
.encadre-cle    { background: var(--gris-clair); border-left: 5px solid var(--bordeaux); }
.encadre-cle .encadre-titre { color: var(--bordeaux); }
.encadre-alerte { background: #FCEDEC; border-left: 5px solid var(--rouge); }
.encadre-alerte .encadre-titre { color: var(--bordeaux); }

/* Liste "points clés" avec coches */
.points-cles { list-style: none; margin: 0 0 18px; padding: 0; }
.points-cles li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.points-cles li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--rouge); font-weight: 700; font-size: 1.05rem; }

/* Figure / schéma SVG */
.schema { margin: 32px 0; text-align: center; }
.schema-cadre { background: var(--gris-clair); border: 1px solid #ece2e2; border-radius: 14px; padding: 26px 20px 18px; }
.schema svg { max-width: 100%; height: auto; }
.schema figcaption { font-size: 0.86rem; color: var(--gris-moyen); margin-top: 14px; font-style: italic; }

/* Grille 2 cartes (formes de la maladie, etc.) */
.duo-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 26px 0; }
.duo-carte { background: var(--gris-clair); border-radius: 12px; padding: 22px 24px; border-top: 4px solid var(--rouge); }
.duo-carte-icone { font-size: 1.9rem; margin-bottom: 8px; }
.duo-carte h3 { color: var(--bordeaux); margin: 0 0 8px; font-size: 1.08rem; }
.duo-carte p { font-size: 0.95rem; margin: 0; line-height: 1.6; }

@media (max-width: 768px) {
    .sommaire ul { columns: 1; }
    .duo-grille { grid-template-columns: 1fr; }
    .article-inner h2 { scroll-margin-top: 320px; }
}
