:root {
    --axe-recherche-grey: #66727c;
    /*--axe-recherche-border: #e5e8eb;*/
}


/* ==========================================================
   GLOBAL
========================================================== */

.axe-recherche-page {
    position: relative;
    background: #fff;
}

.axe-recherche-page .container {
    width: min(calc(100% - 80px), 1280px);
    margin: auto;
}


/* ==========================================================
   MENU STICKY
========================================================== */

.axe-recherche-nav {
    position: sticky;
    top: 70px;
    z-index: 100;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.axe-recherche-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    list-style: none;
    padding: 25px 0;
    margin: 0;
}

.axe-recherche-nav li {
    flex: 0 0 auto;
}

.axe-recherche-nav a {
    position: relative;
    color: var(--ecox-bleu);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.axe-recherche-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--ecox-rouge);
    transition: width .25s ease;
}

.axe-recherche-nav a:hover::after,
.axe-recherche-nav a.active::after {
    width: 100%;
}


/* ==========================================================
   PRESENTATION
========================================================== */

.axe-recherche-presentation {
    padding: 40px 0;
}

.axe-recherche-content {
    font-size: 19px;
    line-height: 1.9;
}

.axe-recherche-content h2 {
    margin: 0 0 50px;
    font-size: 58px;
    font-weight: 500;
    color: var(--ecox-bleu);
    text-transform: uppercase;
}

.axe-recherche-description {
    width: 100%;
    font-size: 19px;
    line-height: 1.9;
}

.axe-recherche-description-text p,
.axe-recherche-description-text li {
    color: var(--ecox-color-text);
}

/* ==========================================================
   RESPONSABLE
========================================================== */

.director-card {
    float: right;
    width: 340px;
    margin: 0 0 40px 60px;
    border-left: 3px solid var(--ecox-rouge);
    padding-left: 25px;
}

.director-card .material-symbols-outlined {
    font-size: 1.2rem!important;
    color: var(--ecox-rouge);
}

.director-image {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 6px;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,.85);
    box-shadow:
            0 10px 25px rgba(0,0,0,.08),
            0 25px 55px rgba(0,0,0,.14),
            0 45px 90px rgba(0,0,0,.18);
}

.director-label {
    display: block;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 11px;
    color: var(--ecox-rouge);
}

.director-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform .35s ease;
    transform-origin: center center;
}

.director-card:hover img {
    transform: scale(1.05);
}

.director-card h3 {
    margin: 0 0 10px;
    font-size: 40px;
    font-weight: 500;
    letter-spacing: .2em;
    color: var(--ecox-bleu);
}

.director-card p {
    margin: 8px 0;
    letter-spacing: .2em;
    color: var(--axe-recherche-grey);
}

.director-card a {
    color: var(--ecox-bleu);
    text-decoration: none;
    transition: color .25s ease;
}

.director-card a:hover {
    color: var(--ecox-rouge);
}


/* ==========================================================
   SECTIONS EQUIPES
========================================================== */

.axe-recherche-team-section {
    padding: 60px 0;
    /*border-top: 1px solid var(--axe-recherche-border);*/
    border-top: 1px solid rgba(0,0,0,.08);
}

.section-header {
    margin-bottom: 40px;
}

.section-header span {
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 12px;
    color: var(--ecox-rouge);
}

.section-header h2 {
    margin: 0;
    font-size: 58px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: var(--ecox-bleu);
}


/* =====================================================
   ACCORDEON EQUIPES
===================================================== */

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-icon {
    font-size: 42px!important;
    font-weight: 600;
    color: var(--ecox-rouge);
    transition: transform .3s ease;
}

.axe-recherche-team-section.collapsed .accordion-icon {
    transform: rotate(-90deg);
}

.team-content {
    overflow: hidden;
    max-height: 5000px;
    opacity: 1;
    transition: max-height .5s ease, opacity .3s ease;
}

.axe-recherche-team-section.collapsed .team-content {
    max-height: 0;
    opacity: 0;
}

.section-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
}

.section-count {
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 14px;
    color: var(--ecox-rouge);
}


/* ==========================================================
   RESPONSIVE TABLETTE
========================================================== */

@media(max-width:991px) {

    .director-card {
        width: 300px;
    }

    .axe-recherche-nav ul {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        scroll-behavior: smooth;
        padding: 25px 20px;
        gap: 25px;
        scrollbar-width: none;
    }

    .axe-recherche-nav ul::-webkit-scrollbar {
        display: none;
    }
}


/* ==========================================================
   RESPONSIVE MOBILE
========================================================== */

@media(max-width:768px) {

    .axe-recherche-page .container {
        width: calc(100% - 40px);
    }

    .axe-recherche-nav a {
        white-space: nowrap;
    }

    .axe-recherche-presentation {
        padding: 70px 0;
    }

    .axe-recherche-content h2 {
        font-size: 42px;
    }

    .axe-recherche-description {
        display: flex;
        flex-direction: column;
    }

    .director-card {
        order: 1;
        float: none;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 50px;
        padding-left: 20px;
    }

    .axe-recherche-description-text {
        order: 2;
    }

    .axe-recherche-team-section {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 42px;
    }
}


/* ==========================================================
   REDUCTION DES ANIMATIONS
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .axe-recherche-nav a::after,
    .director-card img,
    .director-card a,
    .accordion-icon,
    .team-content {
        transition: none !important;
    }

    .axe-recherche-nav ul {
        scroll-behavior: auto;
    }
}
