* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #fff;
    color: #222;
    line-height: 1.6;
    overflow-x: hidden;
}

.maintitle {
    color: #5a9ba0;
    font-size: 36px;
    font-weight: 600;
    padding-bottom: 5%;
    text-align: center;
    padding-top: 25px;
    font-family: "Heebo", sans-serif;
}

/*==========================================*/

h1, h2, h3 {
    font-weight: bold;
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

[data-animate] {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

/* --- SECTION PRESENTATION --- */
.about-section {
    max-width: 1200px;
    margin: 80px auto;
    margin-top: -1rem;
    margin-bottom: -1rem;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-section2 {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1 1 500px;
}

.about-text h2 {
    color: #81C3C9;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 15px;
}

.about-text p {
    color: #555;
    margin-bottom: 15px;
    font-size: 16px;
}

.about-image {
    flex: 1 1 500px;
    text-align: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* --- VALEURS --- */
.values {
    background-color: #F6FCFD;
    padding: 60px 20px;
    text-align: center;
}

.values h2 {
    color: #81C3C9;
    margin-bottom: 40px;
    font-size: 28px;
}

.values-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.value-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    width: 300px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.value-card .cards-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 15px;
}

.value-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.value-card p {
    font-size: 15px;
    color: #555;
}

/* --- CHIFFRES --- */

.stats {
    max-width: 1000px;
    margin: 80px auto;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 20px;
    flex-wrap: wrap;
}

.stat {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    width: 220px;
}

.stat h3 {
    font-size: 28px;
    color: #81C3C9;
    margin-bottom: 5px;
}

.stat span {
    font-size: 15px;
    color: #555;
}

/* --- ÉQUIPE --- */
.team {
    max-width: 1200px;
    margin: 60px auto;
    text-align: center;
}

.team h2 {
    color: #81C3C9;
    font-size: 28px;
    margin-bottom: 40px;
}

.team-members {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.member {
    width: 220px;
    text-align: center;
}

.member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.member h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.member span {
    color: #777;
    font-size: 14px;
}

/* --- BOUTON --- */

.ctabis {
    background-color: #81C3C9;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    margin-top: 80px;
    border-radius: 20px 20px 0 0;
}

.ctabis h2 {
    font-size: 26px;
    margin-bottom: 15px;
}

.ctabis a {
    display: inline-block;
    background-color: #fff;
    color: #81C3C9;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.ctabis a:hover {
    background-color: #e6f7f9;
}

/* --- RESPONSIVE --- */

@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .values-cards,
    .stats,
    .team-members {
        flex-direction: column;
        align-items: center;
    }
}

/* ==================== */
/* ---- Responsive ---- */
/* ==================== */

@media screen and (max-width: 1098px) {
    .about-section h3,
    .about-section2 h3 {
        font-size: 31px;
    }
}

@media screen and (max-width: 1079px) {
    .about-section h3,
    .about-section2 h3 {
        font-size: 32px;
    }
}

@media screen and (max-width: 962px) {
    .about-section h3,
    .about-section2 h3 {
        font-size: 31px;
    }
}

@media screen and (max-width: 933px) {
    .about-section h3,
    .about-section2 h3 {
        font-size: 30px;
    }
}

@media screen and (max-width: 905px) {
    .about-section h3,
    .about-section2 h3 {
        font-size: 29px;
    }
}

@media screen and (max-width: 876px) {
    .about-section h3,
    .about-section2 h3 {
        font-size: 28px;
    }
}

@media screen and (max-width: 847px) {
    .about-section h3,
    .about-section2 h3 {
        font-size: 27.5px;
    }
}

@media screen and (max-width: 832px) {
    .about-section h3,
    .about-section2 h3 {
        font-size: 27px;
    }
}

@media screen and (max-width: 818px) {
    .about-section h3,
    .about-section2 h3 {
        font-size: 26px;
    }
}

@media screen and (max-width: 789px) {
    .about-section h3,
    .about-section2 h3 {
        font-size: 25px;
    }
}

@media screen and (max-width: 768px) {
    .about-section h3,
    .about-section2 h3 {
        font-size: 32px;
    }

    .about-section {
        flex-direction: column;
        text-align: center;
        margin: 40px auto;
        gap: 20px;
    }

    .about-text, .about-image {
        flex: none;
        width: 100%;
    }

    .about-image img {
        max-width: 90%;
        height: auto;
        margin: 0 auto;
    }
}

@media screen and (max-width: 549px) {
    .about-section h3,
    .about-section2 h3 {
        font-size: 31px;
    }
}

@media screen and (max-width: 533px) {
    .about-section h3,
    .about-section2 h3 {
        font-size: 30px;
    }
}

@media screen and (max-width: 517px) {
    .about-section h3,
    .about-section2 h3 {
        font-size: 29px;
    }
}

@media screen and (max-width: 501px) {
    .about-section h3,
    .about-section2 h3 {
        font-size: 28px;
    }
}

@media screen and (max-width: 485px) {
    .about-section h3,
    .about-section2 h3 {
        font-size: 27px;
    }
}

@media screen and (max-width: 469px) {
    .about-section h3,
    .about-section2 h3 {
        font-size: 26px;
    }
}

@media screen and (max-width: 453px) {
    .about-section h3,
    .about-section2 h3 {
        font-size: 25px;
    }
}

@media screen and (max-width: 437px) {
    .about-section h3,
    .about-section2 h3 {
        font-size: 24px;
    }
}

@media screen and (max-width: 340px) {
    .value-card {
        width: 100%;
    }
}
