/* ============================================================
   COP – STYLES GÉNÉRAUX (COP27, COP28, COP29, COP30…)
   ============================================================ */

/* Section générique COP */
.cop-section {
    width: 100%;
    margin: 2rem 0;
}

/* Conteneur interne (structure Bootstrap-like) */
.cop-section > .container,
section.cop-section.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 0 2rem 0;
    box-sizing: border-box;
}

/* Justification du texte pour tous les paragraphes COP */
/* Paragraphes COP : justification + marges latérales */
.cop-section p {
    text-align: justify;
    margin-left: 10px;
    margin-right: 20px;
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
}

/* ============================================================
   TITRES – H1 & H2
   ============================================================ */

/* H1 – Bandeau bleu COP */
.main-title {
    background-color: #005baa; /* bleu COP */
    color: #ffffff;
    padding: 14px 18px;
    border-radius: 4px;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.6rem;
    margin-top: 2rem;
    text-align: left;
    display: block;
}

/* H2 – Sous-titres */
.sub-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #002157;
    margin: 1rem 0 0.4rem 0; /* moins d'espace sous le titre */
    padding-left: 6px;
    border-left: 4px solid #005baa;
    line-height: 1.4;
    text-align: left;
}


/* ============================================================
   BLOC IMAGE + TEXTE ENROULÉ (photo-texte)
   ============================================================ */

@media (min-width: 769px) {
    .photo-texte {
        overflow: hidden; /* clearfix simple */
    }

    .photo-texte figure.image-gauche {
        float: left;
        width: 38%;
        margin: 0 20px 12px 0;
    }

    .photo-texte figure.image-gauche img {
        display: block;
        width: 100%;
        height: auto;
    }

    .photo-texte figure.image-gauche figcaption {
        margin-top: 4px;
        font-style: italic;
    }

    .photo-texte .texte-droite {
        overflow: visible;
    }
}

/* Version mobile : image au-dessus du texte */
@media (max-width: 768px) {
    .photo-texte figure.image-gauche {
        width: 100%;
        margin: 0 0 12px 0;
    }
}

/* ============================================================
   BOUTON "RETOUR EN HAUT DE PAGE"
   ============================================================ */

.retour-haut-de-page {
    width: 100%;
    text-align: right;
    margin: 20px 0;
    padding-right: 20px;
}

.retour-haut-de-page a {
    display: inline-block;
    background-color: #ffffff;
    color: #0b7a3e;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #0b7a3e;
    transition: 0.2s ease;
    font-size: 0.9em;
}

.retour-haut-de-page a:hover {
    background-color: #8b0000;
    color: #ffffff;
    border-color: #8b0000;
}

.retour-haut-de-page a:visited {
    color: #0b7a3e;
}

/* ============================================================
   SECTION "ILS ONT DIT" – CITATIONS & ANECDOTES
   ============================================================ */

.cop-quote-section {
    width: 100%;
    margin: 2rem 0 1rem 0;
    background: #ffffff;
    padding: 2rem 0;
}

.cop-quote-section * {
    box-sizing: border-box;
}

.cop-quote-container {
    width: calc(100% - 20px);
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    text-align: left;
}

/* Bandeau titre */
.cop-quote-banner {
    background-color: #005baa;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    text-align: left;
}

/* Conteneur des pavés */
.cop-quote-panel {
    background: transparent;
    padding: 0;
}

/* Grille principale : 4 colonnes desktop */
.cop-quote-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.6rem;
}

/* Pavé bleu (citation ou anecdote) */
.cop-quote-card {
    background: #002157;
    border-radius: 32px;
    padding: 1.8rem 1.4rem;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    border: none;
    box-shadow: none;
}

/* Variante pour les anecdotes (au cas où tu veux des détails différents) */
.cop-anecdotes .cop-anecdote-card {
    background: #001737;
}

/* Photo ronde */
.cop-quote-photo-wrapper {
    width: 96px;
    height: 96px;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 0.7rem;
    border: 2px solid rgba(255, 255, 255, 0.18);
}

.cop-quote-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Textes */
.cop-quote-name {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 600;
    margin: 0;
}

.cop-quote-role {
    font-size: 0.8rem;
    color: #8fa3b3;
    margin: 0;
}

.cop-quote-text {
    font-size: 0.95rem;
    color: #e3ecf4;
    line-height: 1.5;
    margin: 0.4rem 0;
    border-left: 3px solid #3cb58d;
    padding-left: 0.7rem;
}

.cop-quote-context {
    font-size: 0.78rem;
    font-style: italic;
    color: #9ba9b5;
    margin: 0.2rem 0 0;
}

/* Espacement sous le bloc */
.cop-quote-section {
    margin-bottom: 0;
    padding-bottom: 0;
}

.cop-quote-section + .cop-section {
    margin-top: 0;
    padding-top: 0;
}

/* ============================================================
   TABLEAUX – DESIGN UNIFIÉ POUR TOUTES LES PAGES COP
   ============================================================ */

.cop-section table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden; /* arrondis visibles */
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    font-size: 0.95rem;
}

/* En-tête coloré COP */
.cop-section table thead {
    background: #F08080; /* orange COP actuel */
    color: #ffffff;
}

.cop-section table thead th {
    padding: 12px 14px;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
}

/* Corps du tableau */
.cop-section table tbody tr:nth-child(odd) {
    background: #e8eef5;   /* bleu très clair accentué */
}

.cop-section table tbody tr:nth-child(even) {
    background: #ffffff;
}

.cop-section table td {
    padding: 10px 14px;
    border-bottom: 1px solid #dde3ec;
    vertical-align: top;
}

.cop-section table tbody tr:last-child td {
    border-bottom: none;
}

/* Liens dans les tableaux */
.cop-section table a {
    color: #005baa;
    font-weight: 600;
    text-decoration: underline;
}

/* ============================================================
   RESPONSIVE – GRILLE CITATIONS & ANECDOTES
   ============================================================ */

/* Tablettes : 2 colonnes */
@media (max-width: 1100px) {
    .cop-quote-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobiles : 2 colonnes serrées */
@media (max-width: 640px) {
    .cop-quote-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.2rem;
    }
}

/* Très petits écrans : 1 colonne */
@media (max-width: 360px) {
    .cop-quote-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   RESPONSIVE GLOBAL – MARGES & DÉBORDEMENTS
   ============================================================ */



/* Mobile : marges propres et pas de débordement horizontal */
@media (max-width: 768px) {

    html,
    body,
    .cop-section,
    .cop-quote-section {
        overflow-x: hidden;
    }

    .cop-section,
    section.cop-section.container {
        margin: 0;
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .cop-section img,
    .cop-quote-section img {
        max-width: 100%;
        height: auto;
        display: block;
    }
}

/* ============================================================
   LOGO + TITRE – CENTRAGE SUR MOBILE (title-wrapper)
   ============================================================ */

@media (max-width: 780px) {

    .title-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .title-wrapper picture,
    .title-wrapper .logo-title {
        margin: 0 auto;
        display: block;
    }

    .main-title {
        text-align: center;
        width: 100%;
    }
}
/* ============================================================
   PAVÉ "MESSAGE CLÉ" – VERDICT FINAL COP30
   ============================================================ */

.cop-key-message-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 24px 0 10px 0;
    padding: 16px 18px;
    border-radius: 10px;
    border: 2px solid #005baa;          /* bleu COP */
    background: #e8f0fb;                /* bleu très clair */
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.cop-key-message-icon {
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.cop-key-message-content {
    font-size: 0.95rem;
    color: #002157;
}

.cop-key-message-title {
    margin: 0 0 6px 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #002157;
}

.cop-key-message-content ul {
    margin: 0;
    padding-left: 18px;
}

.cop-key-message-content li {
    margin-bottom: 6px;
    text-align: justify;
}

/* Mobile : pavé 100% largeur, icône au-dessus si nécessaire */
@media (max-width: 600px) {
    .cop-key-message-box {
        flex-direction: row;
        align-items: flex-start;
        padding: 14px 14px;
    }

    .cop-key-message-icon {
        font-size: 1.6rem;
    }
}
/* ============================================================
   FIGCAPTION – Couleur uniforme pour toutes les pages COP
   ============================================================ */

.cop-section figcaption,
.cop-section .image-gauche figcaption,
.photo-texte figure figcaption {
    color: #005baa !important;   /* Bleu COP */
    font-style: italic;
    font-size: 0.90rem;
}
/* Uniformisation des marges pour le bandeau "Ils ont dit" */
.cop-quote-banner {
    margin-left: 30px !important;
    margin-right: 30px !important;
    width: calc(100% - 60px) !important;
    box-sizing: border-box !important;
}


/* ===== TITRES COP (logo + titre sur la même ligne) ===== */

.cop-section .title-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;              /* espace entre le logo et le titre */
  margin-bottom: 0px;    /* espace sous le bloc titre */
}

/* S'assurer que le logo ne passe pas au-dessus du titre */
.cop-section .title-wrapper picture,
.cop-section .title-wrapper .logo-title {
  display: block;
}

.cop-section .title-wrapper .logo-title {
  max-height: 70px;       /* ajuste si tu veux un logo plus grand/petit */
  width: auto;
}

/* =========================
   Badge COP mobile dans le titre
   ========================= */

.cop-mobile-badge {
  display: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: #00324d;
  background: #e1f3ec;
  border-radius: 999px;
  padding: 4px 10px;
  margin-top: 6px;
  width: fit-content;
}

/* Visible uniquement sur mobile */
@media (max-width: 780px) {
  .cop-mobile-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* =========================
   Bandeau sticky COP – mobile
   ========================= */

.cop-sticky-flag {
  display: none; /* par défaut, uniquement mobile */
}

/* Visible et sticky sur mobile (version finale) */
@media (max-width: 780px) {
  .cop-sticky-flag {
    position: sticky;
    top: 0;
    z-index: 900;
    display: flex;
    flex-direction: column;      /* logo au-dessus, texte en dessous */
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
    background: #f5f8fb;
    border-bottom: 1px solid #d0dde8;
    font-size: 0.9rem;
    font-weight: 600;
    color: #00324d;
    text-align: center;
  }

  .cop-sticky-flag img {
    height: 26px;
    width: auto;
    display: block;
  }

  .cop-sticky-flag span {
    white-space: normal;   /* texte peut passer à la ligne */
  }
}

/* Logo COP30 "hero" caché sur mobile (pour éviter le doublon avec la pastille) */
@media (max-width: 780px) {
  .cop30-logo-hero {
    display: none;
  }
}

/* ============================================
   MOBILE : cacher le grand logo dans le titre
   et ne garder que la pastille flottante
   (COP30, COP29, COP28, COP27)
   ============================================ */
@media (max-width: 780px) {
  .cop-section .title-wrapper picture,
  .cop-section .title-wrapper .logo-title {
    display: none !important;
  }

  /* On garde le titre bien centré */
  .cop-section .title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cop-section .title-wrapper .main-title {
    width: 100%;
    text-align: center;
  }
}

/* ============================================
   ESPACEMENTS BANNIÈRE / BLOC2 / TITRE
   ============================================ */

/* Petit espace entre la bannière (.site-header) et le bloc2 (.cop-mini-nav) */
.site-header + .cop-mini-nav {
    margin-top: 15px !important; /* déjà utilisé chez toi, on garde */
}

/* Bloc2 : marge contrôlée sous la nav COP
   (→ garde la distance actuelle bloc2 ↔ titre) */
.cop-mini-nav {
    margin-top: 0 !important;
    margin-bottom: 4px !important;   /* NE PAS CHANGER si tu veux même distance */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Si un drapeau sticky vient juste après bloc2 */
.cop-mini-nav + .cop-sticky-flag {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Drapeau sticky : marge contrôlée au-dessus et en dessous */
.cop-sticky-flag {
    margin-top: 0 !important;
    margin-bottom: 6px !important;   /* légère respiration sous le drapeau */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Si la première section vient directement après le drapeau */
.cop-sticky-flag + .cop-section,
.cop-sticky-flag + section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Si le titre vient directement après bloc2 (sans drapeau) */
.cop-mini-nav + h1,
.cop-mini-nav + .main-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Si le titre vient juste après le drapeau */
.cop-sticky-flag + h1,
.cop-sticky-flag + .main-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Titre principal : on annule toute marge haute définie ailleurs */
.cop-section .main-title:first-child,
.main-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Tout ce qui suit bloc2 : pas de marge haute par défaut */
.cop-mini-nav ~ * {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Et on vise les titres à l’intérieur pour être sûrs */
.cop-mini-nav ~ * h1,
.cop-mini-nav ~ * h2,
.cop-mini-nav ~ * .main-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* SUPPRIMER L’ESPACE entre bloc2 et drapeau */
.cop-mini-nav + .cop-sticky-flag {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* SUPPRIMER L’ESPACE entre drapeau et titre */
.cop-sticky-flag {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* SUPPRIMER L’ESPACE au-dessus du titre */
.cop-sticky-flag + h1,
.cop-sticky-flag + .main-title,
.main-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

 

/* =======================================================
   Ligne d'en-tête COP : titre à gauche, bloc2 à droite
   ======================================================= */
@media (min-width: 781px) {

    .cop-header-row {
        display: flex;
        justify-content: space-between;
        align-items: center;      /* aligne parfaitement le titre et bloc2 */
        gap: 20px;
        margin-top: 10px;         /* réduit espace sous bannière */
        margin-bottom: 20px;      /* réduit espace avant le contenu */
    }

    .cop-header-left {
        flex: 1 1 auto;
    }

    .cop-header-right {
        flex: 0 0 auto;
    }

    .cop-header-right .cop-mini-nav {
        margin: 0;                /* enlève marges parasites */
        padding: 0;
    }

    /* réduit encore l'espace global haut */
    .cop-section:first-of-type {
        margin-top: 0;
        padding-top: 0;
    }
}

/* Mobile : titre en haut, bloc2 dessous */
@media (max-width: 780px) {
    .cop-header-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .cop-header-right {
        width: 100%;
        text-align: center;
    }
}

/* Listes dans les pages COP : marges cohérentes avec les paragraphes */
.cop-section ul {
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 0.3rem;
    margin-bottom: 0.6rem;
    padding-left: 18px; /* indentation des puces */
}

.cop-section li {
    margin-bottom: 0.2rem;
    text-align: justify;
}
/* =======================
   OVERRIDES FINAUX COP
   ======================= */

/* Paragraphes & listes : texte justifié + marges 10px / 20px */
.cop-section p,
.cop-section li {
    text-align: justify !important;
    margin-left: 10px !important;
    margin-right: 20px !important;
    margin-top: 0.35rem !important;
    margin-bottom: 0.35rem !important;
}

/* Listes : pas de énorme bloc vide avant/après */
.cop-section ul {
    margin-top: 0.2rem !important;
    margin-bottom: 0.6rem !important;
    padding-left: 22px !important; /* pour garder les puces bien visibles */
}

/* Sous-titres (H2 / .sub-title) : rapprocher du texte suivant */
.cop-section h2,
.cop-section .sub-title {
    margin-top: 0.9rem !important;
    margin-bottom: 0.35rem !important;
}

/* Réduire un peu l'espace vertical entre les sections COP */
.cop-section {
    margin: 1.2rem 0 !important;
}
/* =======================
   OVERRIDES POUR article-section
   ======================= */

.article-section p,
.article-section li {
    text-align: justify !important;
    margin-left: 10px !important;
    margin-right: 20px !important;
    margin-top: 0.35rem !important;
    margin-bottom: 0.35rem !important;
}

.article-section h2,
.article-section .sub-title {
    margin-top: 1rem !important;
    margin-bottom: 0.35rem !important;
}

.article-section ul {
    margin-top: 0.2rem !important;
    margin-bottom: 0.6rem !important;
    padding-left: 22px !important;
}
/* ===== Corrections spécifiques pour le bloc "Conférences des Parties (COP)" ===== */

/* Paragraphe dans la colonne texte à droite de la photo */
.photo-texte .texte-droite p {
    text-align: justify !important;
    margin-left: 10px !important;
    margin-right: 20px !important;
    margin-top: 0.35rem !important;
    margin-bottom: 0.35rem !important;
}

/* On réduit aussi un peu l'espace global autour du bloc image + texte */
.photo-texte {
    margin-top: 0.6rem !important;
    margin-bottom: 0.8rem !important;
}
/* ===== Écraser tous les espaces verticaux du bloc texte COP ===== */

/* 1. Réduire l'espace entre les paragraphes de .texte-droite */
.photo-texte .texte-droite p {
    margin-top: 0.15rem !important;
    margin-bottom: 0.15rem !important;
}

/* 2. Supprimer l'espace autour du bloc texte + photo */
.photo-texte {
    margin-top: 0.2rem !important;
    margin-bottom: 0.2rem !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* 3. Réduire les marges/paddings de l'image à gauche */
.photo-texte .image-gauche {
    margin: 0 !important;
    padding: 0 !important;
}

/* 4. Éliminer les marges excessives dans les figures */
.photo-texte figure {
    margin: 0 !important;
    padding: 0 !important;
}

/* 5. Neutraliser les marges de accompagnement du layout */
.cop-section .container > * {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
}
.cop-mini-link img[src*="logo27"] {
    height: 60px !important;
}
/* =========================================================
   BLOC INTRO COP – MODULE SPÉCIFIQUE (sans conflit)
   ========================================================= */

.cop-intro-module {
  position: relative;
  margin: 24px auto 26px auto;
  padding: 18px 20px 20px 20px;
  max-width: 1100px;
  background: linear-gradient(135deg, #f5fbff 0%, #e7f4ef 45%, #ffffff 100%);
  border-radius: 14px;
  border: 1px solid rgba(0, 90, 170, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* Liseré vertical décoratif à gauche */
.cop-intro-module::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0b7a3e, #005baa);
}

/* En-tête */
.cop-intro-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.cop-intro-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  padding: 3px 10px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(11, 122, 62, 0.09);
  color: #0b7a3e;
  font-weight: 600;
}

.cop-intro-title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.4;
  color: #002157;
  font-weight: 700;
}

/* Corps du texte */
.cop-intro-body {
  margin-top: 4px;
}

.cop-intro-text {
  margin: 0.35rem 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: #03324d;
  text-align: justify;
}

.cop-intro-ccnucc {
  font-weight: 600;
}

/* Liste d&eacute;di&eacute;e &agrave; l’intro */
.cop-intro-list {
  margin: 0.2rem 0 0.6rem 1.4rem;
  padding-left: 0.6rem;
  font-size: 0.95rem;
  color: #03324d;
}

.cop-intro-list li {
  margin-bottom: 0.2rem;
  text-align: justify;
}

/* Encadr&eacute; "Pour aller plus loin" */
.cop-intro-links-hint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 90, 170, 0.04);
  border: 1px dashed rgba(0, 90, 170, 0.35);
}

.cop-intro-links-icon {
  font-size: 1.4rem;
  line-height: 1;
  margin-top: 2px;
}

.cop-intro-links-text {
  font-size: 0.9rem;
  color: #03324d;
}

.cop-intro-links-text p {
  margin: 2px 0 0 0;
  text-align: justify;
}

.cop-intro-links-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: #005baa;
  margin-bottom: 2px;
}

/* Responsive */
@media (max-width: 780px) {
  .cop-intro-module {
    margin: 18px 10px 20px 10px;
    padding: 14px 14px 16px 14px;
  }

  .cop-intro-module::before {
    top: 10px;
    bottom: 10px;
  }

  .cop-intro-title {
    font-size: 1.08rem;
  }

  .cop-intro-links-hint {
    flex-direction: row;
    align-items: flex-start;
  }
}
/* === Correction marge image-gauche pour éviter que le texte colle === */
@media (min-width: 769px) {
    .photo-texte figure.image-gauche {
        float: left !important;
        width: 38% !important;
        margin: 0 10px 10px 0 !important; /* marge droite = 10px */
        padding: 0 !important;
    }

    .photo-texte figure.image-gauche img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
    }
}
/* === Marge à droite du bloc2 (mini-nav COP) sur desktop === */
@media (min-width: 781px) {
    .cop-header-right .cop-mini-nav-inner {
        margin-right: 10px !important;
    }
}
/* ===== HUB COP ===== */
.cop-hub-module {
  margin: 24px 0 32px;
  padding: 18px 18px 20px;
  background: #f4fbff;           /* bleu très clair comme le bloc du dessus */
  border: 1px solid #d3e8f7;
  border-radius: 10px;
}

.cop-hub-title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: #004d80;
}

.cop-hub-desc {
  margin: 0 0 16px;
  color: #234;
  line-height: 1.5;
  font-size: 0.96rem;
}

.cop-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.cop-hub-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #dfe7f0;
  padding: 12px 13px 14px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.cop-hub-card h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: #004d80;
}

.cop-hub-card p {
  margin: 0 0 8px;
  font-size: 0.93rem;
  line-height: 1.4;
  color: #333;
}

.cop-hub-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #007a4d;
  text-decoration: none;
}

.cop-hub-link:hover {
  text-decoration: underline;
}



/* Corriger les sous-sections (H3) : bandeau vert */
h3.sub-title {
  background: #f0fff8;
  padding: 10px 14px;
  border-left: 4px solid #28a45e;
  border-radius: 4px;
  font-size: 1.1rem;
  color: #005c33;
  margin: 22px 0 10px;
}
/* Variante pour les titres de sections COP (H2) */
.main-title--section {
    font-size: 1.35rem;        /* un peu plus petit que le H1 principal si tu veux */
    margin-top: 2rem;
    margin-bottom: 1.4rem;
}

/* ==== H2 bandeau bleu : largeur réduite ==== */
.main-title--section {
    max-width: 900px;     /* 🔧 AJUSTE LA LONGUEUR ICI */
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* ==== H2 bandeau bleu : largeur réduite + aligné à gauche ==== */
.main-title--section {
    max-width: 900px !important;   /* garder ta largeur idéale */
    margin-left: 0 !important;     /* aligné à gauche */
    margin-right: 0 !important;
    display: block !important;
}
