/* =======================
   SECTION : SERVICES
======================= */
.services {
    padding: 1rem 1rem 1rem;
    text-align: center;
}

.services h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: #1e293b;
}

/* Grille responsive */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* toujours 3 colonnes */
    gap: 2rem;
    /* justify-items: center;  inutile ici */
}

/* Carte de service */
.service-card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Icône */
.service-icon {
    font-size: 2.5rem;
    background: linear-gradient(to bottom right, #2563eb, #5295fd);
    color: #ffffff;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
}

/* Titre */
.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

/* Description */
.service-card p {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Bouton principal */
.service-card .btn-primary {
    background: linear-gradient(to right, #2563eb, #5295fd);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(82, 149, 253, 0.4);
}

.service-card .btn-primary:hover {
    transform: scale(1.05);
    background: linear-gradient(to right, #1e40af, #2563eb);
}

/* Responsive ajustements */
/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
    }
}
