:root {
    --color-primary: #2bd1be;
    --color-secondary: #a66aba;

    --color-text: #303030;
    --color-white: #ffffff;

    --container-width: 1200px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--color-text);
}

.container {
    width: min(100% - 40px, var(--container-width));
    margin-inline: auto;
}

/* Header sticky */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #fff;
}

.site-header__container {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header__logo img {
    display: block;
    width: 210px;
    height: auto;
}

.site-header__menu {
    width: 50px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.site-header__menu span {
    display: block;
    width: 100%;
    height: 4px;
    background: var(--color-secondary);
}

/* Fil d'Ariane */

.cepam-breadcrumb {
    padding: 20px 0;
    background: #f8f8f8;
    border-bottom: 1px solid #eaeaea;
}

.cepam-breadcrumb__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cepam-breadcrumb__list li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.cepam-breadcrumb__list li + li::before {
    content: "›";
    color: #a66aba;
    font-size: 18px;
}

.cepam-breadcrumb__list a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cepam-breadcrumb__list a:hover {
    color: #a66aba;
}

.cepam-breadcrumb__list li[aria-current="page"] {
    color: #303030;
    font-weight: 600;
}

@media (max-width: 900px) {
    .cepam-breadcrumb {
        display: none;
    }
}

/* HERO */

.home-hero {
    position: relative;
    height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ffffff;
}

.home-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 40px;
}

.home-hero__logo {
    display: block;
    width: min(45vw, 650px);
    max-width: 100%;
    height: auto;
}

/* ABOUT */

.home-about {
    position: relative;
    min-height: 500px;
    padding: 45px 50px 100px 115px;
    background: var(--color-secondary);
    color: #ffffff;
    overflow: hidden;
}

.home-about__container {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 45px;

    max-width: 1100px;
    margin: 0 auto;
}

.home-about__heading {
    border-right: 4px solid #ffffff;
    padding-right: 25px;
}

.home-about__heading h2 {
    margin: 0;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
}

.home-about__description {
    max-width: 650px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.25;
}

.home-about__description p {
    margin: 0;
}

.home-about__illustration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 330px;
    height: auto;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .home-hero {
        height: 350px;
    }

    .home-hero__logo {
        width: min(85vw, 450px);
    }

    .home-about {
        padding: 40px 0 100px;
    }

    .home-about__container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .home-about__heading {
        border-right: none;
        border-bottom: 3px solid #ffffff;
        padding-bottom: 20px;
    }

    .home-about__heading h2 {
        font-size: 28px;
    }

    .home-about__description {
        font-size: 16px;
        line-height: 1.5;
    }

    .home-about__illustration {
        width: 200px;
        opacity: 0.2;
    }
}

.contribute {
    padding: 100px 0;
}

.contribute h1 {
    font-size: 42px;
    margin-bottom: 30px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.site-nav a, .site-nav button {
    position: relative;
    color: var(--color-text);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Soulignement animé */
.site-nav a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.25s ease;
}

.site-nav a:hover, .site-nav button:hover {
    color: var(--color-secondary);
}

.site-nav a:hover::after, .site-nav button:hover::after {
    width: 100%;
}

/* Page active */
.site-nav .current-menu-item > a,
.site-nav a[aria-current="page"] {
    color: var(--color-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .site-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}


/* NAVIGATION ET SOUS-MENUS */
/* ==========================================
   CEPAM — NAVIGATION PRINCIPALE
========================================== */

.site-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* ========================================
   NAVIGATION - DESKTOP
======================================== */

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav__item {
    position: relative;
    display: flex;
    align-items: center;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav__item--dropdown {
    gap: 8px;
}

.site-nav__parent {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    color: var(--color-text);
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.site-nav__parent:hover {
    color: var(--color-text);
}

.site-nav__parent,
.site-nav__link {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav__parent:hover,
.site-nav__link:hover,
.site-nav__item--dropdown:hover .site-nav__parent,
.site-nav__item--dropdown.is-open .site-nav__parent {
    transform: translateY(-3px);
}

.site-nav__chevron {
    display: inline-block;
    font-size: 20px;
    line-height: 1;
    transform: translateY(-5px);
    transition: transform 0.2s ease;
}

/* Sous-menus */

.site-nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1001;
    display: none;
    flex-direction: column;
    gap: 10px;
    min-width: 300px;
    padding: 12px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.site-nav__dropdown a {
    display: block;
    padding: 12px 14px;
    border-radius: 6px;
    color: #303030;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    white-space: normal;
}

.site-nav__dropdown a:hover,
.site-nav__dropdown a:focus-visible {
    background: #f0faf8;
    color: #218c7e;
}

.site-nav__item--dropdown:hover .site-nav__dropdown,
.site-nav__item--dropdown:focus-within .site-nav__dropdown,
.site-nav__item--dropdown.is-open .site-nav__dropdown {
    display: flex;
}

/* Burger masqué sur desktop */

.site-header__burger {
    display: none;
}


/* ========================================
   NAVIGATION - MOBILE
======================================== */

@media (max-width: 900px) {

    /* Header */

    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: #fff;
        overflow: visible;
        isolation: isolate;
    }

    .site-header__container {
        position: relative;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        min-height: 76px;
        padding-top: 12px;
        padding-bottom: 12px;
        gap: 12px;
        overflow: visible;
    }

    .site-header__logo {
        display: block;
        flex: 0 1 auto;
        min-width: 0;
    }

    .site-header__logo img {
        display: block;
        width: 100%;
        max-width: 200px;
        height: auto;
    }

    /* Burger */

    .site-header__burger {
        display: flex;
        flex: 0 0 44px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 44px;
        height: 44px;
        padding: 0;
        border: none;
        background: transparent;
        cursor: pointer;
    }

    .site-header__burger span {
        display: block;
        width: 28px;
        height: 3px;
        background: #a66aba;
        border-radius: 2px;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .site-header__burger.is-active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .site-header__burger.is-active span:nth-child(2) {
        opacity: 0;
    }

    .site-header__burger.is-active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Menu flottant */

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;

        width: 100%;
        max-height: calc(100dvh - 100px);
        overflow-y: auto;

        padding: 16px 24px 24px;
        box-sizing: border-box;

        background: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    }

    .site-nav.is-mobile-open {
        display: flex;
    }

    /* Liens et boutons parents */

    .site-nav__item--dropdown {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
    }

    .site-nav__parent {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 12px 0;
    }

    .site-nav > .site-nav__link {
        display: block;
        padding: 12px 0;
    }

    /* Sous-menus */

    .site-nav__dropdown {
        position: static;
        display: none;
        flex-direction: column;
        width: 100%;
        min-width: 0;
        margin: 4px 0 12px;
        padding: 8px;
        box-sizing: border-box;

        background: #f7f2fa;
        border: 1px solid #eee5f2;
        border-radius: 8px;
        box-shadow: none;
        gap: 2px;
    }

    .site-nav__dropdown a {
        display: block;
        padding: 10px 12px;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.5;
        color: #654578;
        white-space: normal;
    }

    .site-nav__dropdown a:hover,
    .site-nav__dropdown a:focus-visible {
        background: #eee2f3;
        color: #654578;
    }


    .site-nav__item--dropdown.is-open > .site-nav__parent {
        color: #a66aba;
        font-weight: 600;
    }

    /* Pas d'ouverture automatique au survol */

    .site-nav__item--dropdown:hover .site-nav__dropdown,
    .site-nav__item--dropdown:focus-within .site-nav__dropdown {
        display: none;
    }

    /* Ouverture uniquement au clic */

    .site-nav__item--dropdown.is-open .site-nav__dropdown {
        display: flex;
    }
}

.home-domains {
    min-height: 350px;
    padding: 80px 0;
    background: #ffffff;
}

.home-domains__container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 190px;
}

.home-domains h2 {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    color: var(--color-secondary);
    text-align: center;
}

/* APPEL À CONTRIBUTION */

.home-contribute {
    position: relative;
    overflow: hidden;
    background: var(--color-primary);
    padding: 100px 0;
}

.home-contribute__container {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 300px;
}

.home-contribute__content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.home-contribute__eyebrow {
    display: inline-block;
    margin-bottom: 22px;
    color: #174c47;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.home-contribute h2 {
    margin: 0 0 25px;
    color: #ffffff;
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 700;
    line-height: 1.1;
}

.home-contribute p {
    max-width: 610px;
    margin: 0 0 35px;
    color: #174c47;
    font-size: 18px;
    line-height: 1.6;
}

.home-contribute__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 17px 28px;
    background: var(--color-secondary);
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    border-radius: 15px;
    transition: background 0.25s ease,
                transform 0.25s ease;
}

.home-contribute__button:hover {
    background: #8d50a3;
    transform: translateY(-3px);
}

.home-contribute__button span {
    font-size: 22px;
    font-weight: 400;
    font-family: Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.home-contribute__decoration {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 420px;
    height: 420px;
    pointer-events: none;
}

.home-contribute__decoration span {
    position: absolute;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.home-contribute__decoration span:nth-child(1) {
    inset: 0;
}

.home-contribute__decoration span:nth-child(2) {
    inset: 65px;
}

.home-contribute__decoration span:nth-child(3) {
    inset: 130px;
}

@media (max-width: 768px) {
    .home-domains {
        min-height: 250px;
        padding: 50px 0;
    }

    .home-domains h2 {
        font-size: 28px;
    }

    .home-contribute {
        padding: 70px 0;
    }

    .home-contribute h2 {
        font-size: 36px;
    }

    .home-contribute p {
        font-size: 16px;
    }

    .home-contribute__decoration {
        right: -250px;
        opacity: 0.4;
    }

    .home-contribute__button {
        padding: 15px 22px;
        font-size: 14px;
    }
}


/* ACCÈS AUX RUBRIQUES */

.home-sections {
    padding: 100px 0;
    background: #ffffff;
}

.home-sections__header {
    margin-bottom: 45px;
}

.home-sections__eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--color-secondary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.home-sections__header h2 {
    margin: 0;
    color: #303030;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
}

.home-sections__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.home-section-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 290px;
    padding: 35px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    isolation: isolate;
    transition: transform 0.25s ease;

    flex: 1 1 calc(50% - 12px);
    min-width: 0;
}

/* Les cartes retournables portent leur décoration sur le recto */

.home-section-card--flip::before {
    display: none;
}

.home-section-card--flip .home-section-card__front {
    overflow: hidden;
}

.home-section-card--flip {
    position: relative;
    perspective: 1200px;
    -webkit-perspective: 1200px;
    overflow: visible;
}

.home-section-card:hover {
    transform: translateY(-5px);
}

.home-section-card > * {
    position: relative;
    z-index: 1;
}

.home-section-card:nth-child(4n + 1), 
.home-section-card:nth-child(4n + 1) .home-section-card__front,
.home-section-card:nth-child(4n + 1) .home-section-card__back {
    background-color: var(--color-secondary);
}

.home-section-card:nth-child(4n + 2),
.home-section-card:nth-child(4n + 2) .home-section-card__front,
.home-section-card:nth-child(4n + 2) .home-section-card__back {
    background-color: #337f86;
}

.home-section-card:nth-child(4n + 3),
.home-section-card:nth-child(4n + 3) .home-section-card__front,
.home-section-card:nth-child(4n + 3) .home-section-card__back {
    background-color: #277d74;
}

.home-section-card:nth-child(4n + 4),
.home-section-card:nth-child(4n + 4) .home-section-card__front,
.home-section-card:nth-child(4n + 4) .home-section-card__back {
    background-color: #70538f;
}

.home-section-card__content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.home-section-card h3 {
    margin: 0 0 12px;
    font-size: 27px;
    font-weight: 700;
}

.home-section-card p {
    max-width: 360px;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.home-section-card__arrow {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 30px;
    transition: transform 0.2s ease;
}

.home-section-card:hover .home-section-card__arrow {
    transform: translate(4px, -4px);
}

.home-section-card:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 4px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .home-sections {
        padding: 60px 0;
    }

    .home-section-card {
        min-height: 230px;
        height: 230px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        flex: none;
    }

    .home-section-card h3 {
        font-size: 23px;
    }

    .home-section-card--flip {
        height: 230px;
        min-height: 230px;
        padding: 0;
    }

    .home-section-card--flip .home-section-card__inner {
        position: relative;
        height: 100%;
        min-height: 0;
    }

    .home-section-card--flip .home-section-card__front,
    .home-section-card--flip .home-section-card__back {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .home-section-card--flip .home-section-card__back-link {
        min-height: 0;
        box-sizing: border-box;
        padding: 16px 20px;
    }
}


/* Cartes retournables */

.home-section-card--flip {
    display: block;
    position: relative;
    perspective: 1200px;
    padding: 0;
    overflow: visible;
    cursor: default;
}

.home-section-card--flip::before {
    display: none;
}

.home-section-card__inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 260px;
    transform-style: preserve-3d;
    transition: transform 0.65s ease;

    -webkit-transform-style: preserve-3d;
    transition: transform 0.65s ease;
}

.home-section-card--flip:hover .home-section-card__inner {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}

.home-section-card__front,
.home-section-card__back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: inherit;
    overflow: hidden;
    transform-style: flat;
    -webkit-transform-style: flat;
}

.home-section-card__front {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: rotateY(0deg);
    
    -webkit-transform: rotateY(0deg);
    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.15s ease,
        visibility 0s linear 0.15s;
}

.home-section-card__front .home-section-card__content {
    width: 100%;
    height: 100%;
}

.home-section-card__back {
    display: flex;
    flex-direction: column;
    transform: rotateY(180deg);

    -webkit-transform: rotateY(180deg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.15s ease 0.25s,
        visibility 0s linear 0.4s;
}

.home-section-card__back-link {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease;
    position: relative;
    width: 100%;
    z-index: 2;
    cursor: pointer;
}

.home-section-card__back-link + .home-section-card__back-link {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.home-section-card__back-link:hover,
.home-section-card__back-link:focus-visible {
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
}

/* Accessibilité : réduire les animations si demandé */

@media (prefers-reduced-motion: reduce) {
    .home-section-card__inner {
        transition: none;
    }
}

/* Rétablir le positionnement du recto */


.home-section-card--flip .home-section-card__front {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: auto;
}

.home-section-card--flip .home-section-card__front .home-section-card__content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    padding: 32px;
    box-sizing: border-box;
}

.home-section-card--flip .home-section-card__front h3 {
    margin: 0;
}

.home-section-card--flip .home-section-card__front .home-section-card__arrow {
    position: absolute;
    right: 32px;
    bottom: 32px;
}

/* Empêcher le recto invisible de bloquer les clics */


.home-section-card--flip .home-section-card__back {
    pointer-events: none;
}

/* Quand la carte est retournée */

.home-section-card--flip .home-section-card__front {
    pointer-events: auto;
}

.home-section-card--flip .home-section-card__back {
    pointer-events: none;
}

.home-section-card--flip:hover .home-section-card__front {
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.15s ease 0.25s,
        visibility 0s linear 0.4s;
}

.home-section-card--flip:hover .home-section-card__back {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
        opacity 0.25s ease 0.28s,
        visibility 0s linear 0.28s;
}

/* Garantir que les liens occupent toute leur zone */


/* ACTUALITÉS */

.home-news {
    padding: 90px 0;
    background: #f5f5f5;
}

.home-news__eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--color-secondary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.home-news__header h2 {
    margin: 0 0 35px;
    font-size: clamp(30px, 4vw, 44px);
    color: #303030;
}

.home-news__placeholder {
    padding: 45px;
    background: #ffffff;
    border-left: 5px solid var(--color-primary);
}

.home-news__placeholder p {
    margin: 0;
    color: #555555;
    font-size: 18px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .home-news {
        padding: 60px 0;
    }

    .home-news__placeholder {
        padding: 25px;
    }
}

/* TITRES PARTAGÉS */
.cepam-page__section-title {
    font-family: "Work Sans", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: #303030;
    margin: 0 0 32px;
}


/* INTRODUCTION */

.cepam-intro {
    padding: 90px 0;
    background: #ffffff;
}

.cepam-intro h1 {
    margin: 0 0 40px;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--color-secondary);
}

.cepam-intro__description {
    max-width: 950px;
    font-size: 19px;
    line-height: 1.7;
    color: #303030;
}

.cepam-intro__description p {
    margin: 0 0 20px;
}

/* PRINCIPES */

.cepam-intro__principles {
    margin-top: 70px;
    padding: 45px;
    background: #f5f5f5;
    border-left: 5px solid var(--color-primary);
}

.cepam-intro__principles h2 {
    margin: 0 0 25px;
    font-size: 32px;
    color: var(--color-secondary);
}

.cepam-intro__principles p {
    font-size: 18px;
    line-height: 1.7;
    color: #303030;
}

.cepam-intro__principles ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-left: 24px;
    margin: 20px 0 0;
}

.cepam-intro__principles li {
    line-height: 1.6;
    margin: 0;
}

.cepam-intro__principles li p {
    margin: 0;
}

@media (max-width: 768px) {
    .cepam-intro {
        padding: 50px 0;
    }

    .cepam-intro__principles {
        margin-top: 40px;
        padding: 25px;
    }
}

/* MISSIONS ET ACTIVITÉS */

.cepam-missions {
    padding: 90px 0;
    background: #f8f9fa;
}

.cepam-missions h2 {
    margin: 0 0 35px;
    font-size: clamp(30px, 4vw, 44px);
    color: var(--color-secondary);
}

.cepam-missions__intro {
    max-width: 950px;
    margin-bottom: 50px;
    font-size: 19px;
    line-height: 1.7;
}

/* LES QUATRE MISSIONS */

.cepam-missions__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.cepam-missions__item {
    padding: 35px;
    background: #fff;
    border-radius: 12px;
    border-top: 4px solid var(--color-primary);
}

.cepam-missions__item h3 {
    margin: 0 0 20px;
    font-size: 23px;
    color: var(--color-secondary);
}

.cepam-missions__text {
    font-size: 17px;
    line-height: 1.7;
    color: #303030;
}

.cepam-missions__text p:last-child {
    margin-bottom: 0;
}

/* RAPPORT ANNUEL */

.cepam-missions__publications {
    margin-top: 50px;
    padding: 40px;
    background: #fff;
    border-left: 5px solid var(--color-primary);
    font-size: 18px;
    line-height: 1.7;
}

.cepam-missions__publications h3 {
    margin: 0 0 20px;
    font-size: 27px;
    color: var(--color-secondary);
}

.cepam-missions__publications a {
    display: inline-block;
    margin-top: 15px;
    color: var(--color-secondary);
    font-weight: 700;
    text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .cepam-missions {
        padding: 50px 0;
    }

    .cepam-missions__list {
        grid-template-columns: 1fr;
    }

    .cepam-missions__item,
    .cepam-missions__publications {
        padding: 25px;
    }
}

/* FONCTIONNEMENT ET COMPOSITION */

.cepam-governance {
    padding: 90px 0;
    background: #fff;
}

.cepam-governance h2 {
    margin: 0 0 35px;
    font-size: clamp(30px, 4vw, 44px);
    color: var(--color-secondary);
}

.cepam-governance__intro {
    max-width: 950px;
    margin-bottom: 60px;
    font-size: 19px;
    line-height: 1.7;
}

/* CONSEIL SCIENTIFIQUE ET COLLÈGE EXPÉRIENTIEL */

.cepam-governance__section {
    margin-bottom: 50px;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 12px;
}

.cepam-governance__section:last-child {
    margin-bottom: 0;
}

.cepam-governance__section h3 {
    margin: 0 0 30px;
    font-size: clamp(25px, 3vw, 32px);
    color: var(--color-secondary);
}

.cepam-governance__section h4 {
    margin: 0 0 20px;
    font-size: 23px;
    color: #303030;
}

/* TEXTES */

.cepam-governance__text,
.cepam-governance__composition,
.cepam-governance__dialogue {
    font-size: 17px;
    line-height: 1.8;
    color: #303030;
}

.cepam-governance__text {
    margin-bottom: 35px;
}

/* MISSIONS DU CONSEIL SCIENTIFIQUE */

.cepam-governance__missions {
    margin: 35px 0;
    padding: 30px;
    background: #fff;
    border-left: 5px solid var(--color-primary);
    border-radius: 6px;
}

.cepam-governance__missions ul,
.cepam-governance__composition ul {
    padding-left: 25px;
    margin: 15px 0;
}

.cepam-governance__missions li,
.cepam-governance__composition li {
    margin-bottom: 12px;
    line-height: 1.7;
}

/* AUTONOMIE SCIENTIFIQUE */

.cepam-governance__independence {
    margin-top: 35px;
    padding: 30px;
    background: #eafaf7;
    border-radius: 8px;
    font-size: 17px;
    line-height: 1.8;
}

/* COLLÈGE EXPÉRIENTIEL */

.cepam-governance__composition {
    margin: 35px 0;
}

.cepam-governance__dialogue {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .cepam-governance {
        padding: 50px 0;
    }

    .cepam-governance__intro {
        margin-bottom: 40px;
    }

    .cepam-governance__section {
        padding: 25px;
        margin-bottom: 25px;
    }

    .cepam-governance__missions,
    .cepam-governance__independence {
        padding: 20px;
    }
}

/* PRÉSIDENT DU CEPAM */

.cepam-president {
    padding: 90px 0;
    background: #f8f9fa;
}

.cepam-president__content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.cepam-president__image {
    flex: 0 0 35%;
}

.cepam-president__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.cepam-president__info {
    flex: 1;
    min-width: 0;
}

.cepam-president__info h2 {
    margin: 0 0 15px;
    font-size: clamp(30px, 4vw, 42px);
    color: var(--color-secondary);
}

.cepam-president__role {
    margin-bottom: 25px;
    font-size: 19px;
    font-weight: 600;
    color: var(--color-primary);
}

.cepam-president__bio {
    font-size: 17px;
    line-height: 1.8;
    color: #303030;
}

@media (max-width: 768px) {
    .cepam-president {
        padding: 50px 0;
    }

    .cepam-president__content {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }
}

/* MEMBRES DU CEPAM */

.cepam-members {
    padding: 70px 0;
    background: #fff;
}

.cepam-members + .cepam-members {
    background: #f8f9fa;
}

.cepam-members h2 {
    margin: 0 0 35px;
    font-size: clamp(30px, 4vw, 42px);
    color: var(--color-secondary);
}

/* GRILLE ADAPTATIVE */

.cepam-members__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

/* CARTES */

.cepam-members__card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    transition: border-color 0.2s ease;
}

/* PHOTO */

.cepam-members__image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #eafaf7;
}

.cepam-members__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

/* INFORMATIONS */

.cepam-members__content {
    padding: 25px;
}

.cepam-members__content h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: var(--color-secondary);
}

.cepam-members__role {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #287f76;
}

.cepam-members__bio {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.7;
    color: #303030;
}

.cepam-members__bio p:last-child {
    margin-bottom: 0;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
    .cepam-members__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .cepam-members {
        padding: 50px 0;
    }

    .cepam-members__grid {
        grid-template-columns: 1fr;
    }

    .cepam-members__content {
        padding: 22px;
    }
}

/* ========================================
   PAGE SOUTENIR LA RECHERCHE
======================================== */

.support-page {
    color: #303030;
}

.support-page .container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.support-page h1,
.support-page h2,
.support-page p {
    overflow-wrap: break-word;
}

/* INTRODUCTION */

.support-hero {
    padding: 100px 0;
    background: #f2faf8;
}

.support-hero__eyebrow,
.support-section-label {
    display: block;
    margin-bottom: 18px;
    color: #218c7e;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.support-hero h1 {
    margin: 0 0 35px;
    color: var(--color-secondary);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.15;
}

.support-hero__intro {
    max-width: 850px;
    font-size: 20px;
    line-height: 1.8;
}

.support-hero__intro p {
    margin: 0 0 20px;
}

/* BOUTONS */

.support-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 30px;
    padding: 17px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.support-button:hover {
    transform: translateY(-2px);
}

.support-button--primary {
    background: var(--color-secondary);
    color: #fff;
}

.support-button--primary:hover {
    background: #8e529f;
    color: #fff;
}

.support-button--light {
    background: #fff;
    color: #814795;
}

.support-button--light:hover {
    background: #f2faf8;
    color: #814795;
}

/* POURQUOI SOUTENIR */

.support-why {
    padding: 100px 0;
    background: #fff;
}

.support-why__content {
    max-width: 900px;
}

.support-why h2,
.support-impact h2 {
    margin: 0 0 35px;
    color: var(--color-secondary);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
}

.support-why__text {
    font-size: 19px;
    line-height: 1.85;
}

.support-why__text p {
    margin: 0 0 22px;
}

/* IMPACT DU SOUTIEN */

.support-impact {
    padding: 100px 0;
    background: #f8f9fa;
}

.support-impact__content {
    max-width: 1000px;
    font-size: 18px;
    line-height: 1.8;
}

.support-impact__content > p {
    margin-bottom: 25px;
}

.support-impact__content ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.support-impact__content li {
    position: relative;
    padding: 30px 30px 30px 55px;
    background: #fff;
    border: 1px solid #e5eae9;
    border-radius: 10px;
}

.support-impact__content li::before {
    content: "✓";
    position: absolute;
    top: 30px;
    left: 25px;
    color: #218c7e;
    font-weight: 700;
}

/* APPEL AU DON */

.support-cta {
    padding: 90px 0;
    background: var(--color-secondary);
    color: #fff;
    text-align: center;
}

.support-cta__content {
    max-width: 850px;
    margin: 0 auto;
}

.support-cta h2 {
    margin: 0 0 25px;
    color: #fff;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
}

.support-cta__text {
    font-size: 19px;
    line-height: 1.8;
}

.support-cta__text p {
    margin: 0 0 20px;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    .support-hero,
    .support-why,
    .support-impact,
    .support-cta {
        padding: 60px 0;
    }

    .support-page .container {
        width: calc(100% - 36px);
    }

    .support-hero__intro,
    .support-why__text,
    .support-impact__content,
    .support-cta__text {
        font-size: 17px;
    }

    .support-impact__content ul {
        grid-template-columns: 1fr;
    }

    .support-impact__content li {
        padding: 25px 25px 25px 50px;
    }

    .support-impact__content li::before {
        top: 25px;
        left: 22px;
    }

    .support-button {
        width: 100%;
        max-width: 320px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .support-button {
        transition: none;
    }

    .support-button:hover {
        transform: none;
    }
}

/* ========================================
   ESPACE PRESSE
======================================== */

.press-page {
    color: #303030;
}

.press-page .container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.press-label {
    display: block;
    margin-bottom: 16px;
    color: #218c7e;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.press-page h1,
.press-page h2 {
    color: var(--color-secondary);
}

/* INTRODUCTION */

.press-hero {
    padding: 100px 0;
    background: #f2faf8;
}

.press-hero h1 {
    margin: 0 0 30px;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.15;
}

.press-hero__intro {
    max-width: 850px;
    font-size: 20px;
    line-height: 1.8;
}

.press-hero__intro p:last-child {
    margin-bottom: 0;
}

/* TITRES DES SECTIONS */

.press-section-heading {
    margin-bottom: 40px;
}

.press-releases h2,
.press-resources h2,
.press-contact h2 {
    margin: 0 0 30px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
}

/* COMMUNIQUÉS */

.press-releases {
    padding: 90px 0;
    background: #fff;
}

.press-releases__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.press-release {
    display: flex;
    align-items: flex-start;
    gap: 35px;
    padding: 35px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    transition: border-color 0.2s ease;
}

.press-release:hover {
    border-color: var(--color-primary);
}

/* DATE */

.press-release__date {
    display: flex;
    flex-direction: column;
    flex: 0 0 105px;
    padding: 15px;
    background: #f2faf8;
    border-radius: 8px;
    text-align: center;
}

.press-release__day {
    color: var(--color-secondary);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.press-release__month {
    color: #218c7e;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
}

/* CONTENU */

.press-release__content {
    flex: 1;
    min-width: 0;
}

.press-release__content h3 {
    margin: 0 0 15px;
    color: var(--color-secondary);
    font-size: 24px;
    line-height: 1.35;
}

.press-release__description {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
}

.press-release__description p:last-child {
    margin-bottom: 0;
}

.press-release__download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #218c7e;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.press-release__download:hover {
    text-decoration: underline;
}

.press-empty {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

/* RESSOURCES */

.press-resources {
    padding: 90px 0;
    background: #f8f9fa;
}

.press-resource {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 35px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
}

.press-resource__info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.press-resource__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 65px;
    width: 65px;
    height: 65px;
    border-radius: 12px;
    background: #eafaf7;
    color: #218c7e;
    font-size: 32px;
    font-weight: 700;
}

.press-resource__info h3 {
    margin: 0 0 10px;
    color: var(--color-secondary);
    font-size: 23px;
}

.press-resource__info p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.press-resource__button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: var(--color-secondary);
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.press-resource__button:hover {
    background: #8e529f;
    color: #fff;
}

/* CONTACT PRESSE */

.press-contact {
    padding: 90px 0;
    background: #fff;
}

.press-contact__box {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 50px;
    background: #f2faf8;
    border-radius: 14px;
}

.press-contact__heading h2 {
    margin-bottom: 20px;
}

.press-contact__heading p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
}

.press-contact__details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
}

.press-contact__name {
    margin: 0;
    color: var(--color-secondary);
    font-size: 20px;
    font-weight: 700;
}

.press-contact__details a {
    color: #218c7e;
    font-size: 17px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    .press-page .container {
        width: calc(100% - 36px);
    }

    .press-hero,
    .press-releases,
    .press-resources,
    .press-contact {
        padding: 55px 0;
    }

    .press-hero__intro {
        font-size: 17px;
    }

    .press-release {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }

    .press-release__date {
        flex: none;
        width: auto;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .press-release__day {
        font-size: 26px;
    }

    .press-resource {
        flex-direction: column;
        align-items: stretch;
        padding: 25px;
    }

    .press-resource__info {
        align-items: flex-start;
        gap: 15px;
    }

    .press-resource__icon {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
    }

    .press-resource__button {
        justify-content: center;
    }

    .press-contact__box {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px;
    }

    .press-contact__details {
        padding: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .press-release {
        transition: none;
    }
}


/* HERO */

.president-hero {
    padding: 90px 0;
    background: #f7f5f9;
}

.president-hero__container {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: center;
    gap: 80px;
}

.president-hero__eyebrow {
    display: block;
    margin-bottom: 24px;
    color: #a66aba;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.president-hero h1 {
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.15;
    margin-bottom: 20px;
}

.president-hero__role {
    color: #a66aba;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 30px;
}

.president-hero__intro {
    font-size: 17px;
    line-height: 1.8;
}

.president-hero__photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

/* CONTENU */

.president-section {
    padding: 85px 0;
}

.president-section--highlight {
    background: #f7f5f9;
    border-top: 4px solid #2bd1be;
}

.president-section__container {
    max-width: 900px;
}

.president-section h2 {
    font-size: clamp(26px, 3vw, 36px);
    margin-bottom: 30px;
}

.president-section__text {
    font-size: 17px;
    line-height: 1.85;
}

.president-section__text p + p {
    margin-top: 24px;
}

/* PODCAST */

.president-podcast {
    padding: 75px 0;
}

.president-podcast__container {
    max-width: 900px;
}

.president-podcast h2 {
    margin-bottom: 20px;
}

.president-podcast__link {
    display: inline-block;
    margin-top: 24px;
    padding: 15px 28px;
    background: #a66aba;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.25s ease;
}

.president-podcast__link:hover {
    background: #87529b;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .president-hero {
        padding: 55px 0;
    }

    .president-hero__container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .president-hero__photo {
        max-width: 340px;
    }

    .president-section {
        padding: 55px 0;
    }
}
