/*!
Theme Name: fcpe_val_theme
Theme URI: http://underscores.me/
Author: Mohamed El Mokhtari
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fcpe_val_theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/


/* =======================================
     Styles globaux
     ======================================= */
body {
    font-family: "Plus Jakarta Sans", sans-serif;
}

.navbar-collapse {
    z-index: 1000;
}

.nav-link {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: #000;
}

.logo-text {
    font-size: 0.6rem;
}

html,
body {
    overflow-x: hidden !important;
}

/* =======================================
     Boutons
     ======================================= */
.btn {
    font-size: 15px;
    line-height: 24px;
    text-transform: uppercase;
}

.btn:active {
    transform: scale(0.97);
    transition: transform 0.05s ease;
}

.btn-outline-dark {
    border: 1px solid currentColor;
    letter-spacing: 2px;
    font-size: 15px;
    line-height: 18px;
    border-radius: 0;
    transition:
            background-color 0.2s ease,
            color 0.2s ease,
            border-color 0.2s ease;
}

.btn-outline-dark:hover,
.btn-outline-dark:active {
    background-color: #293075 !important;
    color: #fff !important;
    border-color: #293075 !important;
}

.btn-outline-dark:focus {
    box-shadow: none;
}

.btn-hero {
    background-color: #293075;
    border: 1px solid #293075;
    border-radius: 0;
    padding: 16px 48px;
    font-weight: 700;
    color: #fff;
    transition:
            transform 0.1s ease,
            background-color 0.2s ease;
}

.btn-hero:hover {
    background-color: #1f2659;
}

.btn-hero:active {
    transform: scale(0.96);
}

/* =======================================
     Cartes & images
     ======================================= */
.actualites .card {
    border-radius: 16px;
    overflow: hidden;
    transition:
            transform 0.3s ease,
            box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.actualites .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.actualites .card-img-top {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.apropos img,
.img-carree {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
}

/* =======================================
     Statistiques
     ======================================= */
.stat-number {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(32px, 8vw, 64px);
    font-weight: 700;
    color: #198754;
    word-break: break-all;
}

.stat-label {
    font-size: 18px;
    font-weight: 500;
    margin-top: 8px;
}

.stats .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem; /* espace horizontal et vertical */
    margin: 0; /* neutralise les margins Bootstrap */
}

/* ========= Box minimaliste pour chaque stat ========= */
.stats .stat-block {
    flex: 1 1 220px; /* chaque bloque fait au moins 220px, puis grandit */
    max-width: 280px;
    padding: 1.5rem; /* espace interne plus régulier */
    background: #f9f9f9; /* légère nuance pour délimiter */
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    position: relative;
    text-align: center;
}

.stats .stat-number {
    word-break: normal;
}

/* ========== Ajustements mobiles ========== */
@media (max-width: 767px) {
    .stats .stat-block {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .stats .row {
        gap: 1rem;
    }
}
/* Supprime les bordures “start” collantes */
.stats .stat-block.border-start {
    border-left: none !important;
}

@media (max-width: 767px) {
    .stat-number {
        font-size: 48px;
    }
    .stat-block,
    .stats .row {
        border: none !important;
        padding-right: 0;
        row-gap: 2rem;
    }
}

/* =======================================
     Engagement & Citations
     ======================================= */
.engagement-section {
    background-color: #000;
}

.barre-bleue {
    width: 60px;
    height: 3px;
    background-color: #293075;
}

.btn-rejoindre {
    background-color: #293075;
    color: #fff;
    padding: 16px 36px;
    font-size: 15px;
    border: 1px solid #293075;
    border-radius: 0;
    transition:
            transform 0.2s ease,
            background-color 0.2s ease;
}

.btn-rejoindre:hover {
    background-color: #1f2659;
    border-color: #1f2659;
}

.btn-rejoindre:active {
    transform: scale(0.96);
}

/* =======================================
     Pied de page
     ======================================= */
.footer {
    background-color: #2a2f73;
    font-size: 15px;
}

.footer p,
.footer-link {
    color: #fff;
    text-decoration: none;
}

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

.footer ul {
    padding-left: 0;
}

.footer img {
    object-fit: contain;
}

hr.border-success-subtle {
    border-top: 2px solid #b2e1c5;
}

.icon-white {
    fill: #fff;
}

/* =======================================
     Slider "Nos valeurs"
     ======================================= */
.nos-valeurs-wrapper {
    width: 100%;
    overflow: hidden !important;
    overflow-x: hidden !important;
    overscroll-behavior-x: contain;
}

#valuesSlider {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.nos-valeurs-wrapper .slide {
    flex: 0 0 calc(100% / 3);
    max-width: calc(100% / 3);
    box-sizing: border-box;
    padding: 0 0.5rem;
    min-height: 500px; /* ajuste ici pour la hauteur souhaitée */
}

/* Cartes Apple-style */
.card-apple {
    background-color: #fff;
    border-radius: 24px;
    box-shadow: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-apple .overflow-hidden img {
    display: block;
    width: 100%;
    height: auto;
}

.card-apple .card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.caption-inline {
    font-size: 1rem;
    font-weight: 500;
    color: #111;
    margin: 0 0 1rem;
    line-height: 1.3;
}

.card-apple .card-title {
    margin-bottom: 0.5rem;
}

.card-apple .card-text {
    flex: 1;
    color: #444;
}

@media (max-width: 768px) {
    .card-apple {
        border-radius: 16px;
    }
    .nos-valeurs-wrapper .slide {
        flex: 0 0 100%;
        max-width: 100%;
        min-height: auto;
    }
}
@media (max-width: 768px) {
    .actions-list .list-group-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .actions-list .action-icon {
        margin-bottom: 0.4em;
    }
}

/* =======================================
     Effets généraux
     ======================================= */
.bg-frosted {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-hover {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.object-fit-cover {
    object-fit: cover;
}

.pin-top-left {
    position: absolute;
    top: 0;
    left: 0;
}
.pin-offset {
    padding: 1rem; /* décale un peu du bord */
}
.caption {
    color: #fff; /* texte blanc */
    font-size: 1.125rem; /* 18px */
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    max-width: 80%; /* évite de déborder */
    line-height: 1.3;
}
.caption sup {
    font-size: 0.75em;
    vertical-align: super;
    margin-left: 0.2em;
}
.caption sup a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}
@media (max-width: 768px) {
    .nos-valeurs-wrapper .slide {
        flex: 0 0 100%;
        max-width: 100%;
        min-height: auto;
        display: flex; /* active le flex layout */
        justify-content: center; /* centre horizontalement la carte */
        padding: 0; /* tu peux supprimer le padding si besoin */
    }
}
.carousel-toggle {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.carousel-toggle:hover {
    background: rgba(0, 0, 0, 0.7);
}
.values-dotnav .dotnav-items {
    display: flex;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.values-dotnav .dotnav-link {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: none;
    background: var(--dotnav-bg, rgba(29, 29, 31, 0.13));
    box-shadow: 0 0 0 1.5px var(--dotnav-shadow, rgba(0, 0, 0, 0.07));
    cursor: pointer;
    transition:
            background 0.2s,
            box-shadow 0.25s;
    position: relative;
    outline: none;
    z-index: 1;
}

.values-dotnav .dotnav-link[aria-selected="true"] {
    background: var(--dotnav-active, #293075);
    box-shadow: 0 2px 10px 0px rgba(41, 48, 117, 0.2);
}

.values-dotnav .dotnav-link:hover,
.values-dotnav .dotnav-link:focus-visible {
    background: var(--dotnav-hover, #353e84);
    box-shadow: 0 2px 16px 0px rgba(41, 48, 117, 0.27);
}

@media (prefers-color-scheme: dark) {
    .values-dotnav .dotnav-link {
        background: var(--dotnav-bg-dark, rgba(232, 232, 237, 0.12));
        box-shadow: 0 0 0 1.5px var(--dotnav-shadow-dark, rgba(0, 0, 0, 0.19));
    }
    .values-dotnav .dotnav-link[aria-selected="true"] {
        background: var(--dotnav-active-dark, #fff);
        box-shadow: 0 2px 10px 0px rgba(255, 255, 255, 0.15);
    }
}

.nos-valeurs {
    background-color: rgba(237, 237, 237, 0.7);
}
.etablissements-section h2 {
    color: #293075;
    letter-spacing: 1px;
}

.etablissements-section table {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
}

.etablissements-section th,
.etablissements-section td {
    vertical-align: middle;
    font-size: 16px;
    padding: 1rem;
}

.etablissements-section a {
    color: #293075;
    text-decoration: underline;
    word-break: break-all;
}

.etablissements-section a:hover {
    color: #198754;
    text-decoration: underline;
}
.etablissements-cards-section h2 {
    color: #293075;
    letter-spacing: 1px;
}

.etab-card {
    border-radius: 1.5rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    transition:
            box-shadow 0.25s,
            transform 0.2s;
}
.etab-card:hover {
    box-shadow: 0 8px 28px 0 rgba(41, 48, 117, 0.14);
    transform: translateY(-3px) scale(1.01);
}

.etab-card-header {
    border-bottom: 1px solid #f0f0f3;
    font-size: 1.13rem;
    font-weight: 600;
}
.etab-icon svg {
    display: block;
    opacity: 0.85;
}

.etab-card-body {
    flex: 1;
}

.etab-card a.btn {
    border-radius: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition:
            background 0.18s,
            color 0.18s,
            border 0.18s;
}
.etab-card a.btn:hover {
    filter: brightness(0.92);
}
/* ==========================
   Section Représentation
   ========================== */
.representations-section {
    background: #f8f9fb;
    /* ou essaye: background: linear-gradient(180deg,#f8f9fb,#e9ecef 80%); */
    border-radius: 24px;
    box-shadow: 0 3px 24px rgba(41, 48, 117, 0.03);
    margin-bottom: 3rem;
}

.representations-section h2,
.representations-section h3 {
    color: #293075;
    letter-spacing: 0.5px;
}

.representations-section .table {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 0;
}

.representations-section .table thead th {
    background: #e7eaf6;
    color: #293075;
    border-bottom: 2px solid #d2d7e6;
    font-weight: 600;
    font-size: 1.08rem;
}

.representations-section .table tbody td {
    font-size: 1rem;
    color: #212529;
    background: #fff;
    border-top: none;
}

.representations-section .table-responsive {
    border-radius: 1.3rem;
    box-shadow: 0 3px 18px rgba(41, 48, 117, 0.08);
    padding: 0;
    background: #fff;
}

.representations-section ul {
    padding-left: 1.4rem;
}

.representations-section ul li {
    margin-bottom: 0.3rem;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .representations-section {
        border-radius: 12px;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }
    .representations-section .table-responsive {
        border-radius: 10px;
    }
}

/* Pour varier subtilement les backgrounds, tu peux aussi jouer avec ces classes :
.bg-light { background: #f8f9fb !important; }
.bg-white { background: #fff !important; }
*/
/* ========== Section Représentation Modernisée ========== */
.representations-section-2024 {
    background: linear-gradient(180deg, #f8f9fb 50%, #eef4fa 100%);
    border-radius: 32px;
    margin-bottom: 3rem;
}
.rep-card {
    background: #fff;
    border-radius: 2rem;
    box-shadow:
            0 6px 32px rgba(41, 48, 117, 0.07),
            0 1.5px 8px rgba(41, 48, 117, 0.08);
    transition:
            box-shadow 0.3s,
            transform 0.2s;
    padding: 2.2rem 2rem 1.5rem 2rem;
    margin-bottom: 0;
    position: relative;
}
.rep-card:hover {
    box-shadow:
            0 12px 36px rgba(41, 48, 117, 0.12),
            0 4px 18px rgba(41, 48, 117, 0.11);
    transform: translateY(-3px) scale(1.01);
}
.rep-bg-blue {
    background: linear-gradient(120deg, #e3eafc 80%, #f7fafd 100%);
}
.rep-bg-frosted {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(7px);
    border: 1.5px solid #e7eaf6;
}
.rep-bg-white {
    background: #fff;
}
.rep-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}
.rep-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.3rem;
    background: rgba(41, 48, 117, 0.08);
    width: 54px;
    height: 54px;
    box-shadow: 0 2px 8px rgba(41, 48, 117, 0.07);
    flex-shrink: 0;
}
.rep-card-header h3 {
    font-size: 1.42rem;
    font-weight: 700;
    margin: 0;
    color: #293075;
    letter-spacing: 0.5px;
}
.rep-card-body {
    font-size: 1.06rem;
}
.rep-card ul {
    padding-left: 1.1rem;
    margin-bottom: 1.15rem;
}
.rep-card ul li {
    margin-bottom: 0.3rem;
    line-height: 1.7;
}
.rep-table-modern {
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    margin-bottom: 0;
    font-size: 1rem;
}
.rep-table-modern thead th {
    background: #f1f6ff;
    color: #293075;
    border-bottom: 2px solid #e4eafd;
    font-weight: 600;
    font-size: 1.03rem;
}
.rep-table-modern tbody td {
    background: #fff;
    border-top: none;
    vertical-align: middle;
}
.rep-table-modern tr:hover td {
    background: #f3f7ff;
}
.rep-table-modern .badge {
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 1rem;
    margin-right: 0.45em;
}
@media (max-width: 991px) {
    .rep-card {
        padding: 1.5rem 1rem 1rem 1rem;
        border-radius: 1.1rem;
    }
    .rep-card-header h3 {
        font-size: 1.1rem;
    }
    .rep-card-header {
        gap: 0.65rem;
    }
    .rep-icon {
        width: 38px;
        height: 38px;
        border-radius: 0.8rem;
    }
}
@media (max-width: 767px) {
    .representations-section-2024 {
        border-radius: 1rem;
        margin-bottom: 2rem;
    }
    .rep-card {
        padding: 1.2rem 0.5rem;
    }
}
@media (max-width: 991px) {
    .rep-card {
        margin-bottom: 1.2rem; /* espace entre les cartes */
    }
    .rep-card:not(:last-child)::after {
        content: "";
        display: block;
        margin: 1.2rem auto 0 auto;
        width: 80%;
        border-bottom: 1.5px solid #e1e6f2;
        opacity: 0.75;
    }
}

.gratuit-section {
    background: linear-gradient(110deg, #f7faff 60%, #f2f6fc 100%);
    border-radius: 24px;
    box-shadow: 0 2px 18px rgba(41, 48, 117, 0.04);
    margin-bottom: 3rem;
}

.actions-list .list-group-item {
    border: none;
    background: transparent;
    font-size: 1.09rem;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0.65em;
    padding-bottom: 0.65em;
    display: flex;
    align-items: center;
    gap: 0.6em;
}
.action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.22em;
    color: #30b36b;
    width: 2em;
}
.avantages-row {
    margin-top: 1.4rem;
}
.avantage-mini-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 1.2em;
    padding: 1.2em 0.5em;
    box-shadow: 0 2px 10px rgba(41, 48, 117, 0.05);
    transition:
            box-shadow 0.2s,
            transform 0.16s;
}
.avantage-mini-card:hover {
    box-shadow: 0 6px 22px rgba(41, 48, 117, 0.11);
    transform: scale(1.03);
}
.avantage-icon {
    font-size: 2em;
    color: #198754;
    margin-bottom: 0.25em;
}
.avantage-label {
    font-size: 1.06em;
    font-weight: 600;
    color: #293075;
    text-align: center;
}
@media (max-width: 991px) {
    .gratuit-section {
        border-radius: 1.2em;
        margin-bottom: 2em;
    }
    .avantage-mini-card {
        border-radius: 0.8em;
        padding: 1em 0.3em;
    }
}
.vie-associative-section {
    background: linear-gradient(120deg, #f5faff 70%, #f6fbfe 100%);
    border-radius: 28px;
    margin-bottom: 3rem;
}
.vie-icon img {
    display: block;
    filter: drop-shadow(0 2px 8px rgba(41, 108, 145, 0.12));
}
.vie-help-block {
    background: rgba(230, 244, 255, 0.77);
    border-left: 5px solid #146c91;
    margin-top: 2.5rem;
}
.vie-help-block:focus {
    outline: 2.5px solid #146c91;
    outline-offset: 2px;
}
@media (max-width: 767px) {
    .vie-associative-section {
        border-radius: 14px;
        margin-bottom: 1.3rem;
    }
    .vie-help-block {
        border-radius: 11px;
        padding: 1.4rem 1rem;
    }
}

.actions-etab-section {
    background: linear-gradient(120deg, #f7fcf7 70%, #f5fafe 100%);
    border-radius: 24px;
    margin-bottom: 2.5rem;
}
.action-card {
    border-radius: 1.5rem;
    background: #fff;
    padding: 2.2rem 1.3rem 1.6rem 1.3rem;
    box-shadow: 0 6px 32px rgba(48, 179, 107, 0.06);
    transition:
            box-shadow 0.18s,
            transform 0.16s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.action-card:hover {
    box-shadow: 0 18px 44px rgba(48, 179, 107, 0.11);
    transform: translateY(-4px) scale(1.03);
}
.action-icon {
    background: #e8fbf3;
    border-radius: 50%;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(48, 179, 107, 0.07);
}
.action-title {
    font-size: 1.18rem;
    color: #293075;
}
.action-desc {
    margin-top: 0.3rem;
    font-size: 1rem;
}
@media (max-width: 767px) {
    .actions-etab-section {
        border-radius: 1rem;
        padding-left: 0.2em;
        padding-right: 0.2em;
    }
    .action-card {
        padding: 1.4rem 0.7rem;
        border-radius: 1rem;
    }
}
/* Bloc aide/encadré accompagnement : mobile-friendly + look moderne */
.vie-help-block {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.2rem;
    border-left: 5px solid #146c91;
    background: rgba(230, 244, 255, 0.92);
    border-radius: 16px;
    margin-top: 2.5rem;
    position: relative;
    padding: 1.7rem 1.3rem 1.7rem 1.7rem;
    min-height: 70px;
}
.vie-help-block .badge {
    position: absolute !important;
    left: 30px;
    top: -19px;
    z-index: 3;
    font-size: 1.04rem;
    padding: 0.45em 1.1em;
    box-shadow: 0 2px 8px rgba(41, 108, 145, 0.08);
}
.vie-help-block img {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    margin-top: 0.18em;
    filter: drop-shadow(0 2px 8px rgba(41, 108, 145, 0.13));
}
.vie-help-block a {
    color: #146c91;
    text-decoration: underline;
    font-weight: 600;
}
.vie-help-block a:hover {
    color: #30b36b;
    text-decoration: underline;
}
.vie-help-block span.d-flex {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.1rem;
}

/* Responsive fix : stack verticalement sur mobile, badge recentré */
@media (max-width: 600px) {
    .vie-help-block {
        flex-direction: column;
        align-items: stretch;
        padding: 1.2rem 0.7rem 1.4rem 1.1rem;
        border-radius: 10px;
        min-height: 0;
        gap: 0.8rem;
    }
    .vie-help-block .badge {
        left: 50%;
        transform: translateX(-50%);
        top: -17px;
        font-size: 1rem;
        padding: 0.38em 0.9em;
    }
    .vie-help-block img {
        width: 34px;
        height: 34px;
        margin-top: 0.05em;
    }
    .vie-help-block span.d-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }
}
@media (max-width: 600px) {
    .vie-help-block .badge {
        font-size: 0.92rem;
        padding: 0.29em 0.7em;
        left: 50%;
        transform: translateX(-50%);
        min-width: 0;
        max-width: 90vw;
        white-space: nowrap;
    }
    .vie-help-block {
        padding: 1.15rem 0.4rem 1.15rem 0.8rem;
    }
}
@media (max-width: 600px) {
    .vie-help-block .badge {
        left: 50% !important;
        transform: translateX(-50%) !important;
        right: auto !important;
    }
}
/* =======================================
   Section “Une équipe engagée” (Apple-style)
   ======================================= */
.team-section__title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #111;
    margin-bottom: 0.75rem;
}

.team-section__underline {
    width: 3rem;
    height: 0.25rem;
    background-color: #293075;
    border-radius: 2px;
}

.team-card {
    background-color: #f9f9f9;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition:
            transform 0.3s ease,
            box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.team-card__icon {
    width: 48px;
    height: 48px;
    fill: #198754;
    margin-bottom: 1rem;
}

.team-card__text {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive : stack sur mobile */
@media (max-width: 767px) {
    .team-section__intro {
        padding: 0 1rem;
    }
    .team-card {
        padding: 1.5rem 1rem;
    }
}
/* =======================================
   Section “Devenir bénévole”
   ======================================= */
.volunteer-section {
    background-color: #f8f9fb;
}

.volunteer-title {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
    font-weight: 700;
    color: #293075;
    margin-bottom: 0.5rem;
}

.volunteer-intro {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 2rem;
}

.volunteer-block {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    transition:
            transform 0.3s ease,
            box-shadow 0.3s ease;
}

.volunteer-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.volunteer-block--accent {
    border: 2px solid #198754;
    background: #eaf8ee;
}

.block-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #198754;
    margin-bottom: 1rem;
}

.volunteer-list {
    list-style: none;
    padding-left: 0;
}

.volunteer-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    font-size: 1rem;
    color: #333;
}

.volunteer-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.volunteer-note {
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 767px) {
    .volunteer-block {
        padding: 1.5rem;
    }
}
