/* HERO */
.services-hero {
    height: 420px;
    position: relative;
}

.hero-overlay {
    background: rgba(40, 120, 165, 0.85); /* bleu comme image */
    height: 95%;
    width: 30%;
    margin-left: 2%;
    margin-right: 40%;
    margin-top: 0;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 620px;
    padding: 40px;
    color: #fff;
}

.hero-content h1 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.hero-btn {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.hero-btn:hover {
    background: #fff;
    color: #0b56bf;
}

/* SERVICES */
.services-section {
    padding: 80px 0;
    background: #fff;
}

.services-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.services-text {
    width: 55%;
}

.services-text h2 {
    color: #0b3bbf;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
}

.services-text p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.services-image {
    width: 45%;
}

.services-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================= */
/* TABLETTE */
/* ============================= */

@media (max-width: 992px) {

    .hero-overlay {
        width: 50%;
        margin-left: 5%;
    }

    .services-container {
        flex-direction: column;
        text-align: center;
    }

    .services-text,
    .services-image {
        width: 100%;
    }
}


/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 768px) {

    .services-hero {
        height: auto;
        padding: 60px 0;
    }

    .hero-overlay {
        width: 100%;
        margin: 0;
        padding: 20px;
    }

    .hero-content {
        padding: 20px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .services-section {
        padding: 50px 15px;
    }

    .services-container {
        gap: 30px;
    }

    .services-text h2 {
        font-size: 22px;
    }
}

