:root {
    --primary: #81C3C9;
    --secondary: #fff;
    --text: #1d1d1f;
    --muted: #6c757d;
    --radius: 14px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", sans-serif; /* à remplacer peut etre par     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */ 
    margin:0;
    background:#f9fafb;
    color: var(--text);
    line-height: 1.7;
}

section {
    max-width: 1180px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

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

/* ==================================================================== */
h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--muted);
}


.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service {
    background: var(--secondary);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.service:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    background: #ffffff;
}

.service h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service p {
    color: #444;
    margin-bottom: 1rem;
}

.service ul {
    list-style: none;
}

.service ul li {
    padding-left: 1.4rem;
    margin-bottom: 0.6rem;
    position: relative;
    color: #555;
}

.service ul li::before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.text-service {
    margin-top: 2rem;
    font-size: 1.1rem;
    text-align: center;
    color: #333;
}

/* --- CALL TO ACTION --- */
.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 screen and (max-width: 632px) {
    .h3 {
        font-size: 1.9rem;
    }
}

@media screen and (max-width: 492px) {
    .subtitle {
        font-size: 0.994rem;
    }
}

@media screen and (max-width: 397px) {
    .h3 {
        font-size: 1.7rem;
    }

    .subtitle {
        font-size: 0.98rem;
    }
}

@media screen and (max-width: 368px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service {
        padding: 1.2rem;
    }
}

@media screen and (max-width: 361px) {
    .h3 {
        font-size: 1.6rem;
    }

    .subtitle {
        font-size: 0.97rem;
    }
}

@media screen and (max-width: 342px) {
    .h3 {
        font-size: 1.5rem;
    }
    .subtitle {
        font-size: 0.96rem;
    }
}

@media screen and (max-width: 339px) {
    .service h3 {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 331px) {
    .service p {
        font-size: 0.99rem;
    }

    .service li {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 328px) {
    .service h3 {
        font-size: 1.24rem;
    }

    .service p {
        font-size: 0.95rem;
    }
}