/* STYLE GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #263449;
    background: #ffffff;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1150px;
    margin: auto;
}

/* EN-TETE */
header {
    background: rgba(255, 255, 255, 0.97);
    padding: 15px 0;
    border-bottom: 1px solid #eeeeee;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 12px rgba(18, 52, 90, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}


.logo-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #12345a;
    color: white;
    font-size: 30px;
    font-weight: bold;
}

.logo-name {
    color: #12345a;
    font-size: 25px;
    font-weight: bold;
}

.logo-name small {
    display: block;
    color: #13a6a0;
    font-size: 12px;
    letter-spacing: 4px;
    text-align: center;
}

nav a {
    color: #263449;
    text-decoration: none;
    margin-left: 25px;
    font-weight: bold;
}

nav a:hover {
    color: #13a6a0;
}

/* BANNIERE PRINCIPALE */
.hero {
    background: linear-gradient(135deg, #12345a, #176b83);
    color: white;
    text-align: center;
    padding: 110px 20px;
}

.hero h1 {
    font-size: 46px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 21px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: #16b3aa;
    color: white;
    padding: 13px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.btn:hover {
    background: #0e948e;
}

/* SECTIONS */
section {
    padding: 75px 0;
}

.section-title {
    text-align: center;
    color: #12345a;
    font-size: 32px;
    margin-bottom: 40px;
}

/* CARTES */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    padding: 35px 25px;
    background: #ffffff;
    border: 1px solid #e8eef2;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(18, 52, 90, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-7px);
        box-shadow: 0 12px 28px rgba(18, 52, 90, 0.12);
        background-color: #13a6a0; /* Change la couleur de fond (ici un léger gris-bleu) */
    }

.card h3 {
    color: #12345a;
    margin-bottom: 15px;
    font-size: 21px;
}

.card p {
    color: #586779;
}
/* PRESENTATION */
.presentation {
    background: #f5f8fa;
}

.presentation p {
    max-width: 850px;
    margin: auto;
    text-align: center;
    font-size: 18px;
}

/* CONTACT */
.contact {
    text-align: center;
    background: #f5f8fa;
}

.contact p {
    margin-bottom: 15px;
}

/* PIED DE PAGE */
footer {
    background: #12345a;
    color: white;
    text-align: center;
    padding: 25px;
}

/* ADAPTATION TELEPHONE */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    nav a {
        margin: 0;
    }

    .hero {
        padding: 75px 15px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .cards {
        grid-template-columns: 1fr;
    }
}

/* MENU MOBILE */
.menu-toggle {
    display: none;
    background: #12345a;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 5px;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {

    .header-content {
        position: relative;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background: #ffffff;
        padding: 15px;
        border-top: 1px solid #eeeeee;
    }

        nav.active {
            display: flex;
        }

        nav a {
            padding: 10px;
        }

    .header-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
}

/* SECTION PARTENAIRES - Experiences */
.partners {
    background: #ffffff; /*#f5f8fa;*/
}

.partners-intro {
    text-align: center;
    color: #586779;
    margin-bottom: 35px;
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.partner-placeholder {
    min-height: 120px;
    background: #ffffff;
    border: 1px solid #e8eef2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8291a0;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(18, 52, 90, 0.05);
}

@media (max-width: 768px) {
    .partners-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ASSOCIATION AU SERVICE DE TOUS */

.association-service {
    background: #ffffff;
    padding: 75px 0;
}

.association-heading .eyebrow {
    display: block;
    color: #176b83;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.association-heading h2 {
    color: #12345a;
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
}

.association-heading > p {
    color: #586779;
    font-size: 17px;
    margin-bottom: 40px;
}

/* CARTES ASSOCIATION */

.association-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.association-item {
    padding: 35px 25px;
    background: #ffffff;
    border: 1px solid #e8eef2;
    border-radius: 14px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(18, 52, 90, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .association-item:hover {
        transform: translateY(-7px);
        box-shadow: 0 12px 28px rgba(18, 52, 90, 0.12);
        background-color: #2cc2df; /* Change la couleur de fond  */
    }

.association-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    margin-bottom: 18px;
}

.association-icon.green {
    background: #13b98b;
}

.association-icon.blue {
    background: #2196df;
}

.association-icon.purple {
    background: #7040bd;
}

.association-item h3 {
    color: #12345a;
    font-size: 21px;
    margin-bottom: 10px;
}

.association-item p {
    color: #586779;
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .association-heading h2 {
        font-size: 27px;
    }

    .association-grid {
        grid-template-columns: 1fr;
    }
}
