
/* Reset et variables */
/* Variables globales Bootstrap/Projet */
:root {
    --primary-color: #0073aa;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #dddddd;
    --white: #ffffff;
    --bg-light: #f7f7f7;
    /* Couleur de texte au survol des boutons Bootstrap */
    --bs-btn-hover-color: #217bae;
    --color-blue: #3497CF;
    --color-red: #ff0000;

}

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

html {
    height: 100%;
    font-size: 16px;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: var(--text-dark);
    line-height: 2; !important;
    font-size: 1rem;
    background-color: var(--white);
    padding-top: 60px;

}
label.required:after {
    content: '\00a0*';
}
textarea.form-control {
    height: auto;
    resize: none;
}
/* Navbar */
.navbar {
    background-color: var(--white);
    padding: 10px 0;
    min-height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    width: 100%;
}

.navbar .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* Logo */
.navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar-logo {
    width: auto;
}
.container {
    max-width: 1200px;
}

/* Styles spécifiques desktop */
@media (min-width: 992px) {
    .navbar .container-fluid {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
        gap: 0;
    }

    .navbar-brand {
        order: 1;
        margin-right: 150px;
    }

    .navbar-nav.main-menu {
        order: 2;
        margin-left: 50px;
    }

    .btn-search {
        order: 3;
    }
}

/* Menu desktop */
.navbar-nav.main-menu {
    gap: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Contact Section */
.contact-section {
    padding: 20px 0 0px;

}

.contact-title {
    font-size: 2.125rem;
    font-weight: 700;
    color: #333;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 2rem;
}

#add-complementary-file-button {
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

#add-complementary-file-button:hover:not(:disabled) {
    background-color: #217bae !important;
    border-color: #217bae !important;
    color: #fff !important;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: #3497cf;
}

/* Labels à côté des champs */
.form-label-side {
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Label standard au-dessus pour le message */
.contact-form .form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: block;
}

.contact-form .form-control {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #333;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #3497cf;
    box-shadow: none;
    background: #fff;
}

.contact-textarea {
    min-height: 250px;
    resize: vertical;
}

.btn-submit {
    background: #ffa435;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background: #ff9100;
    color: #fff;
}

.btn-submit:disabled {
    opacity: 0.65;
    background: #ffa435;
    color: #fff;
}

.color-blue {
    color: var(--color-blue);
}

.color-red {
    color: var(--color-red);
}

.contact-section .btn-submit:hover {
    background: #e19011;
    color: #fff;
}

/* Breadcrumb simple */
.breadcrumb {
    font-size: 0.9rem;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #999;
    padding: 0 8px;
}

.navbar-nav .nav-item {
    display: inline-block;
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: bold;
    font-size: 0.8125rem;
    padding: 10px 15px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: block;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Dropdown menu */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) !important;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease !important;
    pointer-events: none;
    display: block !important;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto;
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    text-transform: capitalize;
    font-weight: 500;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* Bouton recherche */
.btn-search {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-left: 25px;
    z-index: 10;
}

.btn-search::before {
    content: '';
    position: absolute;
    left: 0;
    height: 24px;
    width: 1px;
    background-color: #000000;
}

.btn-search:hover {
    color: var(--primary-color);
}

.search-icon {
    font-style: normal;
}

/* Mobile navbar */
.navbar-toggler {
    border: none;
    padding: 5px 10px;
    z-index: 10;
}

.navbar-toggler:focus {
    box-shadow: none;
}


/* Styles spécifiques mobile */
@media (max-width: 991.98px) {
    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .btn-search::before {
        display: none;
    }

    .btn-search {
        padding-left: 10px;
        color: var(--text-dark);
        font-size: 1.2rem;
    }
}

/* Header */
.site-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
}

.logo-highlight {
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav .nav-link {
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.9375rem;
    padding: 8px 15px;
    text-decoration: none;
}

.main-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    width: 100%;
    min-height: 560px;
    position: relative;
    margin-bottom: 40px;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--color-blue);
}

.hero-content {
    background-image: url('../images/bandeau-cmfm.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 561px;
    padding: 100px 20px 120px 20px;
    width: 100%;
}

.hero-content > * {
    max-width: 800px;
}

.hero-title {
    color: var(--white);
    font-weight: 900;
    font-size: 3rem;
    margin: 0 0 18px 0;
    letter-spacing: 2px;
    line-height: 51px;

}

.hero-text {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 400;
    margin: 0 0 40px 0;
    max-width: 360px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    width: auto;
    justify-content: center;
}

.hero-buttons_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hero-buttons .btn {
    height: 45px;
    width: auto;
    min-width: 180px;
    padding: 0 30px;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 4px;
}

.hero-buttons .btn-primary {
    background-color: var(--primary-color);
    font-weight: bold;
    color: var(--white);
}

.hero-buttons .btn-secondary {
    background-color: #FFA435;
    font-weight: bold;
    color: var(--white);
}

.hero-buttons .btn-primary:hover {
    background-color: #005a87;
}

.hero-buttons .btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-secondary {
    background-color: #FFA435;
    color: var(--white);
    border: none;
}

.btn-secondary:hover {
    background-color: #e68f1a;
    color: var(--white);
}

/* Typography */
h3,
.decorated {
    font-size: 2.125rem;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

h3::after,
.decorated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

h4 {
    font-weight: bold;
    font-size: 1.375rem;
}

.info-section .article h4 {
    margin-top: 0;
}

/* Info Section */
.info-section {
    padding: 40px 0;
    margin-top: 20px;
    margin-bottom: 20px;
}

.info-section .row {
    --bs-gutter-x: 0.2rem;
}

.info-section .article {
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-section .article > div:not(.section-description) {
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 100%;
    justify-content: space-between;
}

.info-section .article > div > * {
    margin: 0;
}

.info-section .article img {
    width: 100%;
    max-width: 370px;
    height: auto;
    object-fit: cover;
    align-self: flex-start;
    margin-top: 0;
    margin-bottom: 20px;
}

.info-section .btn-primary {
    width: 152px;
    padding-top: 15px;
    padding-bottom: 17px;
    align-self: flex-start;
    font-weight: 900;
    background-color: var(--color-blue);
}


.btn-primary {
    background-color: #3497CF;
    --bs-btn-hover-bg: #217bae;
    --bs-btn-hover-border-color: #217bae;
    --bs-btn-hover-color: #fff;
    border: none;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #217bae;
    border-color: #217bae;
    color: #fff;
}

.info-section .article .btn-secondary {
    height: 39px;
    align-self: flex-start;
    margin-top: 15px;
    padding: 0 35px;
}

.info-box {
    background-color: var(--white);
    border: 1px solid var(--border-color);
}

.info-text {
    max-width: 400px;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 2;
}

.info-text:last-child {
    margin-bottom: 0;
}

.info-link {
    color: #000000;
    text-decoration: underline;
    font-weight: bold;
}

.info-link:hover {
    text-decoration: underline;
}

.section-description {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1.9;
    display: block;
    text-align: left;
}

/* Cards Section */
.cards-section {
    padding: 0;
    background-color: #EBE4E2;
    margin-bottom: 20px;
}

.cards-wrapper {
    display: flex;
    gap: 0;
    min-height: 240px;
}

.side-image-container {
    flex: 0 0 auto;
    min-width: 380px;
    width: 35vw;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.side-image-container .side-image {
    width: 100%;
    height: 550px;
    display: block;
    object-fit: cover;
}

.reports-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 100px;
    padding: 25px 60px 25px 40px;
}

.cards-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

.cards-section .container {
    padding-left: 0;
    margin-left: 0;
}

.cards-section .row {
    margin-left: 0;
    margin-right: -10px;
}

.cards-section .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 10px;
}

.cards-section article img {
    width: 100%;
    max-width: 220px;
    height: auto;
}

.btn-card {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    font-size: 0.9375rem;
    border: none;
}

.btn-card:hover {
    background-color: #005a87;
    color: var(--white);
}

/* Highlight text */
.highlight-text {
    text-align: center;
    color: #000000;
    margin: 30px 15px;
    line-height: 2;
}

.highlight-text.highlight-blue {
    color: var(--primary-color);
}

.highlight-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.highlight-link:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background-color: white;
    color: #333;
    padding: 20px 15px;
    border-top: 1px solid grey;
    margin: 0;
}

.footer-item {
    font-size: 0.875rem;
    color: #333;
    margin: 0;
    padding: 8px 10px;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: color 0.3s ease;
}

a.footer-item:hover {
    color: var(--primary-color);
}

.footer-separator {
    color: #888;
    padding: 0 10px;
    font-size: 0.875rem;
}

.navbar-brand-center {
    text-align: center;
}

/* Offcanvas mobile menu */
.offcanvas {
    max-width: 100% !important;
    width: 100% !important;
}

.offcanvas.offcanvas-start {
    width: 100vw !important;
    max-width: 100vw !important;
    border: none !important;
    box-shadow: none !important;
}

.offcanvas-header {
    border-bottom: none;
    padding: 30px 20px 20px 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 40px;
}

.offcanvas-title {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    margin: 0 auto;
}

.offcanvas-title .navbar-logo {
    max-width: 200px;
    height: auto;
}

.offcanvas .btn-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 1.5rem;
}

.offcanvas-body {
    padding: 0 20px 20px 20px;
}

/* Menu mobile cloné */
.mobile-menu {
    gap: 0;
    width: 100%;
    flex-direction: column !important;
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu .nav-item {
    width: 100%;
    border-bottom: none;
}

.mobile-menu .nav-link {
    padding: 8px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: none;
    letter-spacing: 0;
    transition: color 0.3s;
    display: block;
}

.mobile-menu .nav-link:hover {
    color: var(--primary-color);
    background-color: transparent;
}

.mobile-menu .nav-item:first-child .nav-link {
    color: var(--primary-color);
}

.mobile-menu .submenu {
    list-style: none;
    padding-left: 20px;
    margin: 0;
    display: flex !important;
    flex-direction: column;
    margin-top: 0;
}

.mobile-menu .submenu li {
    margin: 0;
}

.mobile-menu .submenu-link {
    padding: 6px 0 !important;
    font-size: 0.9375rem !important;
    font-weight: bold !important;
    display: block !important;
}

.mobile-menu .parent-link {
    font-weight: bold !important;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Contrôle de la hauteur des bannières par breakpoint pour éviter une image trop haute sur desktop
   et trop longue sur mobile, avec un recadrage propre via object-fit */
@media (max-width: 575.98px) { /* Téléphones */
    .banner-image {
        transform: none;
        width: 100%;
        height: 44vw; /* hauteur visuelle contenue */
        object-fit: cover;
        object-position: center;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) { /* Petites tablettes */
    .banner-image {
        transform: none;
        width: 100%;
        height: 40vw;
        object-fit: cover;
        object-position: center;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) { /* Tablettes & petits laptops */
    .banner-image {
        transform: none;
        width: 100%;
        height: 34vw;
        object-fit: cover;
        object-position: center;
    }
}

@media (min-width: 1200px) { /* Desktop */
    .banner-image {
        transform: none;
        width: 100%;

        object-fit: cover;
        object-position: center;
    }
}

.arrow-icon {
    font-size: 1.5rem;
    color: var(--color-blue);
    flex-shrink: 0;
    margin-right: 15px;
    margin-top: 30px;
}

.list-unstyled li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.list-unstyled li span.arrow-icon {
    flex-shrink: 0;
    margin-right: 15px;
    margin-top: 4px;
}

.list-unstyled + p,
p + .list-unstyled {
    margin-bottom: 1.5rem;
}

.list-title {
    padding-left: 2.2rem;
}


.btn-custom-size {
    padding: 16px 26px 18px 26px;
    font-size: 1rem;
    font-weight: bold;
    border: none;

}

.text-content {
    line-height: 1.4;
}

.text-content p {
    line-height: 2;
}

.professional-text {
    line-height: 2;
}

/* Section En savoir plus */
.savoir-plus-section {
    padding: 40px 0;
    line-height: 1.6;
}

/* Titre avec séparateurs */
.section-title-divider {
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: bold;
    font-size: 1rem;
}

.section-title-divider::before,
.section-title-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--color-blue);
    margin: 0 1.5rem;
}

/* Items avec icônes */
.info-item {
    display: flex;
    align-items: flex-start;
    line-height: 1.8;
    margin-bottom: 0;
}

.info-icon {
    color: var(--color-blue);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 5px;
    margin-right: 40px;
    -webkit-text-stroke: 1px var(--color-blue);
}

.info-link:hover {
    text-decoration: underline;
}

.info-item span:last-child {
    flex: 1;
}


/* Appliquer le fond + largeur seulement dans la section Médiation humaniste */
.mediators-humaniste .mediators-content,
.grey-block {
    max-width: 1000px;
    padding: 2rem 15%;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: #f1f1f1;
}

.icon-pdf {
    display: inline-block;
    width: 23px;
    height: 27px;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAbCAYAAACX6BTbAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4VpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDkuMS1jMDAxIDc5LjE0NjI4OTk3NzcsIDIwMjMvMDYvMjUtMjM6NTc6MTQgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6YWM0MmFiYTQtZDVkMC00MjQzLTgzMzUtYzkxZWUzOGViNTgyIiB4bXBNTTpEb2N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iGKPpQhiXi/QBgPQRmPKaGRwEHKVdXAcNut2A+NypcAKa2tBQdMQfvw45fFWgNfBEYoLLJsXfvZsnbepKUguLaW8FQUBEoHAL20cak7gRHn5HcHnuyDif5Sfn9rkVlak5AGSgpKSIu1LHFZXP8oFXPaF7oSUlZX1yb5Qp9N5eHJyMn+7BmRLa2ho6GIwGHxnNBonN54JCwu0uLqafs2KI0eiiKaFrMEzSay5uRc4riid4/Lye3ktLW93BBxpNGMYnE6v9+//khMtmUT8+tUMgrArvQ4GJeo+yzY7+Ify/4JnxTn35k2JMDdXghNJ4j5E/VGaDHM48eABbkiFq5TV6vu9LLMDd7tPCTMzt2QTvLTUwOEPt4s56vz5S0DTiYzgSqWSHR8fr7Lb7QUkSfJdXV2viGvXjooMc1HWOkGsKC9fvtHd23twenr6EJ6lFJ5IBbKcd3R0vMBDOuLz+Yyzs7PGUCikVDkcnThkj8z448kzZ26SZnPI4/GUSncCgcCxmpqa2zk1Lv7Dh6K40/kc8JRPV4RO14kND2y7WojTp8OUxXJDmgEpp4uLX24GvKVSpBobvcTx462Yok8SVZl0fwgwAKZ+V+EcgSwRAAAAAElFTkSuQmCC");
    float: right;
    margin: 0 10px;
}

/* Texte multi-paragraphes — largeur réduite et centrée uniquement dans cette section */
.mediators-humaniste .mediators-text {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

/* Texte multi-paragraphes — variante plus large que le conteneur gris ci-dessus */
.mediators-humaniste .mediators-text-wide {
    /* Le bloc au-dessus (.mediators-content) est à 860px → on passe légèrement au-dessus */
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

/* Liste avec icônes check - plus étroite */
.mediator-list {
    padding-left: 0;
    max-width: 700px; /* Liste plus étroite */
    margin: 0 auto 3rem auto; /* Centrée */
}

.mediator-list li {
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    text-align: left;
}

/* Espacement accru entre les paragraphes uniquement dans la section consommateurs */
.consumer-section p + p {
    margin-top: 1.5rem;
}

/* Bloc texte consommateurs: le conteneur gère l'espacement interne */
.consumer-text-block {
    display: flex;
    flex-direction: column;
    row-gap: 1.25rem; /* espacement par défaut entre les éléments du bloc */
}



.consumer-text-block > p {
    margin: 0;
}

.consumer-text-block p + p {
    margin-top: 0;
}

.links-gap {
    gap: 3.5rem;
}

@media (min-width: 768px) {
    .links-gap {
        gap: 4rem; /* élargi sur tablette */
    }
}

@media (min-width: 1200px) {
    .links-gap {
        gap: 5rem; /* élargi sur desktop large */
    }
}

.check-icon {
    color: var(--color-blue);
    font-size: 1.5rem;
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 4px;
    -webkit-text-stroke: 1px var(--color-blue);
}

/* =============================
   Bloc exclusions (liste orange)
   ============================= */
.exclusions-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.exclusions-title {
    color: #ffa435;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.4px;
    font-size: 1.5rem;
    line-height: 1.5;
    margin: 1.25rem auto 0.75rem;
    max-width: 720px;
}

@media (min-width: 768px) {
    .exclusions-title {
        font-size: 1.5rem;
        margin: 1.5rem auto 1rem;
    }
}

.exclusions-list {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.exclusions-list li {
    display: flex;
    align-items: baseline;
    font-weight: 400;
    gap: 6px;
    line-height: 1.5;
    margin-bottom: 0.15rem; /* réduit l'espace vertical entre chaque li */
}

/* Pas d'espace après le dernier item */
.exclusions-list li:last-child {
    margin-bottom: 0;
}


.exclusions-section .exclusions-list > li {
    margin-bottom: 0.15rem;
}
.exclusions-section .exclusions-list > li:last-child {
    margin-bottom: 0;
}

.exclusion-icon {
    color: #ffa435 !important;
    font-size: 2.1rem;
    margin-right: 0;
    margin-top: 0;
    flex-shrink: 0;
    -webkit-text-stroke: 1.75px #ffa435;
    transform: translateY(7px);
}

.exclusion-number{
    color: #ffa435;
}

.exclusions-list li > .exclusion-icon {
    line-height: 1;
}

.exclusions-list li > span:last-child {
    flex: 1 1 auto;
    line-height: 1.35; /* réduit l'interligne du texte des items */
}

.item-number {
    font-weight: 700;
    margin-right: 6px;
}

.btn-orange {
    background-color: #ffa435;
    border-color: #ffa435;
    color: #fff;
}

.btn-pdf {
    background-color: var(--color-blue);
    border: 1px solid var(--color-blue);
    color: white;
    position: relative;
    overflow: hidden;
    padding-left: 75px;
}
.btn-pdf:hover {
    border: 1px solid var(--color-blue);
    color: var(--color-blue);
}
.btn-pdf::before {
    position: absolute;
    width: 58px;
    height: 100%;
    content: '';
    left: 0;
    top: 0;
    border-right: 1px solid var(--color-blue);
    background:white url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAbCAYAAACX6BTbAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4VpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDkuMS1jMDAxIDc5LjE0NjI4OTk3NzcsIDIwMjMvMDYvMjUtMjM6NTc6MTQgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6YWM0MmFi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JAIF584BffIkYMPw/fVrEHleuk9mCk6tVgt1dXXLNpstRBAEm1amT5wAYvduiGKPpQhiXi/QBgPQRmPKaGRwEHKVdXAcNut2A+NypcAKa2tBQdMQfvw45fFWgNfBEYoLLJsXfvZsnbepKUguLaW8FQUBEoHAL20cak7gRHn5HcHnuyDif5Sfn9rkVlak5AGSgpKSIu1LHFZXP8oFXPaF7oSUlZX1yb5Qp9N5eHJyMn+7BmRLa2ho6GIwGHxnNBonN54JCwu0uLqafs2KI0eiiKaFrMEzSay5uRc4riid4/Lye3ktLW93BBxpNGMYnE6v9+//khMtmUT8+tUMgrArvQ4GJeo+yzY7+Ify/4JnxTn35k2JMDdXghNJ4j5E/VGaDHM48eABbkiFq5TV6vu9LLMDd7tPCTMzt2QTvLTUwOEPt4s56vz5S0DTiYzgSqWSHR8fr7Lb7QUkSfJdXV2viGvXjooMc1HWOkGsKC9fvtHd23twenr6EJ6lFJ5IBbKcd3R0vMBDOuLz+Yyzs7PGUCikVDkcnThkj8z448kzZ26SZnPI4/GUSncCgcCxmpqa2zk1Lv7Dh6K40/kc8JRPV4RO14kND2y7WojTp8OUxXJDmgEpp4uLX24GvKVSpBobvcTx462Yok8SVZl0fwgwAKZ+V+EcgSwRAAAAAElFTkSuQmCC") center center no-repeat;
}

.btn-orange:hover,
.btn-orange:focus {
    background-color: #ff970f;
    border-color: #ff970f;
    color: #fff;
}

/* =============================
   Bouton "Nous contacter" — Les professionnels
   Augmente le padding et fige la couleur var(--color-blue)
   ============================= */
.mediators-section .btn.btn-primary {
    background-color: var(--color-blue);
    border-color: var(--color-blue);
    color: #fff;
    padding: 0.95rem 4.5rem;
    font-weight: 600;
}

.mediators-section .btn.btn-primary:hover,
.mediators-section .btn.btn-primary:focus,
.mediators-section .btn.btn-primary:active {
    background-color: var(--color-blue); /* conserve la même couleur sur interaction */
    border-color: var(--color-blue);
    color: #fff;
}

/* Grid des cartes - plus large */
.mediators-grid {
    max-width: 820px;
    margin: 0 auto;
    --bs-gutter-y: 0.5rem;
    --bs-gutter-x: 0.75rem;
}

/* Aligne le titre avec le conteneur gris (section Médiation humaniste) */
.mediators-humaniste .info-title {
    max-width: 860px; /* même largeur que .mediators-content */
    margin-left: auto;
    margin-right: auto;
    text-align: left; /* titre aligné à gauche */
}

/* Cartes des médiateurs - dimensions fixes */
.mediator-card {
    background-color: white;
    padding: 20px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: box-shadow 0.3s ease;
    width: 375px;
    height: 132px;
    max-width: 100%;
    /* Réduction de l'espacement sous chaque carte */
    margin: 0 0 25px 0;
}


.mediator-photo {
    width: 80px; /* Agrandi pour mieux remplir la carte */
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.mediator-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* Responsive */
@media (max-width: 767.98px) {
    .mediator-card {
        width: 100%; /* Pleine largeur sur mobile */
        height: auto; /* Hauteur automatique sur mobile */
        min-height: 100px;
    }

    .mediators-grid {
        max-width: 100%;
    }
}

/* Annual Reports Section */
.annual-reports-section {
    padding: 0;
    background-color: #EBE4E2;
    margin-bottom: 0; /* Supprimez la marge */
    flex: 1; /* Prend tout l'espace disponible */
    display: flex; /* Active flexbox */
}

.annual-reports-wrapper {
    display: flex;
    gap: 0;
    min-height: 100%; /* Prend toute la hauteur du parent */
    width: 100%; /* Prend toute la largeur */
}

.annual-reports-sidebar {
    flex: 0 0 auto;
    width: 35vw;
    max-width: 550px;
    min-width: 380px;
    background-image: url('../images/serrer-la-main.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.annual-reports-content {

    display: flex;
    flex-direction: column;
    padding: 50px 60px;
}

/* Responsive */
@media (max-width: 767.98px) {
    .annual-reports-wrapper {
        flex-direction: column;
        min-height: auto; /* Hauteur automatique sur mobile */
    }

    .annual-reports-sidebar {
        min-height: 300px; /* Hauteur minimum sur mobile */
        width: 100%;
    }

    .annual-reports-content {
        padding: 40px 20px;
    }
}

.annual-reports-content .info-title {
    font-size: 2.125rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 2rem;
}

.annual-reports-content .info-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 767.98px) {
    .annual-reports-wrapper {
        flex-direction: column;
    }

    .annual-reports-content {
        padding: 40px 20px;
    }
}



.max-w-800 {
    max-width: 800px;
}


.exclusion-icon {
    color: #dc3545;
    margin-right: 0.5rem;
    min-width: 20px;
    text-align: center;
}

.highlight-link {
    color: #0d6efd;
    text-decoration: none;
}

.highlight-link:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {


    .exclusions-section {
        padding: 1.25rem;
    }
}

/* Footer Styles */
.site-footer {
    padding: 20px 0;
    margin-top: auto;
    border-top: 1px solid black;
    width: 100%;
    position: relative;
    bottom: 0;
}

.footer-item {
    color: black;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.875rem;
}

.footer-item:hover {
    color: #0056b3;
    text-decoration: none;
}

.footer-copyright {
    color: black;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.875rem;
    padding: 8px 10px;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.footer-separator {
    color: #6c757d;
    margin: 0 5px;
}
/* =========================
   Forms styles
   ========================= */

.bg-blue-row{
    background-color: #3497CF;
    padding: 10px 0;
}
.bg-orange-row{
    background-color: #ffa435;
    padding: 10px 0;
}
.bg-grey-row{
    background-color: #f1f1f1;
    padding: 10px 0;
}
.text-orange{
    color: #ffa435;
}
.text-blue{
    color: var(--color-blue);
}
.font-size-26 {
    font-size: 1.625rem;
}
#suggestions-list li:hover{color: #3497CF;}
#general_mediation_conformityObject{max-width: 270px;}
.bg-light-blue{background-color: #ebf4fb;}
.bg-light-grey{background-color: #f9f9f9;}


/* Legal Section - Ajustements spécifiques */
.legal-section {
    padding: 1rem 0 4rem; /* Réduit le padding-top de 2rem à 1rem */
    background-color: #fff;
}

/* Réduire l'espace entre breadcrumb et titre */
.legal-section .info-title {
    margin-top: 2rem; /* Réduit de 5 (mt-5) à 2rem */
    margin-bottom: 3rem; /* Réduit de 5 (mb-5) à 3rem */
}

/* Breadcrumb avec moins d'espace en bas */
.legal-section .breadcrumb {
    margin-bottom: 0.5rem; /* Réduit l'espace sous le breadcrumb */
}



.legal-content p {
    color: #333;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.legal-subtitle {
    font-size: 1.125rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.legal-content a.highlight-link {
    color: #3497cf;
    text-decoration: none;
}

.legal-content a.highlight-link:hover {
    text-decoration: underline;
}

.legal-content strong {
    font-weight: 600;
}

.privacy-content{
    line-height: 2;
}

/* Classe pour les liens hypertextes standard */
.link-text {
    color: #3497cf;
    font-weight: bold;
    text-decoration: underline;
}

.link-text:hover {
    color: #000;
    font-weight: bold;
    text-decoration: underline;
}

/* Tooltip personnalisé - icône numéro de dossier */
.tooltip-dossier {
    color: #3497CF;
    cursor: pointer;
    font-size: 1.6rem;
    margin-left: 4px;
}

.tooltip-custom .tooltip-inner {
    background-color: #3497CF;
    max-width: 320px;
    white-space: normal;
}

.tooltip-custom {
    --bs-tooltip-bg: #3497CF;
}

.tooltip-custom .tooltip-arrow::before {
    border-top-color: #3497CF;
}


