/* ===============================
   SERVICES — PAGES DÉDIÉES
================================ */

.service-section {
    margin: var(--space-lg) 0;
}

.service-intro {
    font-size: 1.25rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-md);
}
	
/* Grille 3 colonnes premium */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    align-items: stretch; /* égalise les hauteurs */
}
/* Bordure premium SADSO31 */
.service-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;

    /* Bordure premium */
    border: 1px solid transparent;
    background-image:
        linear-gradient(#ffffff, #ffffff),
        linear-gradient(135deg, var(--violet), var(--rose));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.service-item p {
    flex-grow: 1; /* équilibre le texte */
}


.service-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

/* Encadrés */
.service-box {
    background: #f9f9f9;
    border-left: 5px solid var(--bleu);
    padding: 30px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.service-signature {
    margin-top: 20px;
    text-align: right;
    font-style: italic;
}

.service-section {
    padding: 0 20px; /* marge latérale */
}

/* ===============================
   LISTE DES SERVICES — prestations.html
================================ */

.s31-services {
    max-width: 1200px;
    margin: var(--space-lg) auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
}

.s31-service-card {
    text-align: center;
}

.s31-service-illu {
    height: 150px;
    margin-bottom: 15px;
}

.s31-service-card h3 {
    font-family: var(--font-titre);
    font-size: 22px;
    font-weight: 700;
    color: var(--bleu);
    margin-bottom: 12px;
}

/* Blocs larges de services (si utilisés) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    align-items: stretch;
    margin: 0 auto; /* important pour centrer */
    max-width: 1200px; /* évite que ça colle aux bords */
}


@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 28px;
    }
}
