/* ========================================
   SERVICES — page Services (pages/services.html) : une carte cliquable par service ; et
   les étapes de la page Home staging (pages/home_staging.html), dont le formulaire reprend
   contact.css. Chargé par ces deux pages via {% block extra_css %}.
   ======================================== */

.services {
    padding: 0 0 clamp(40px, 6vw, 72px);
}

/* ---------- Cartes de services ---------- */
.services__grille {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    list-style: none;
}

.carte-service {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--color-bg);
    box-shadow: var(--shadow-card);
    color: var(--color-text);
    transition: transform 0.15s var(--ease);
}

.carte-service:hover {
    transform: translateY(-2px);
}

/* Icône seule, en trait orange : 3:1 suffit (WCAG 1.4.11), jamais une couleur de texte */
.carte-service__icone {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
    stroke: var(--color-primary);
}

.carte-service__titre {
    font-size: var(--font-size-lg);
    font-weight: 700;
    line-height: 1.25;
}

.carte-service__texte {
    flex-grow: 1;
    font-size: var(--font-size-sm);
    line-height: 1.55;
    color: var(--color-text-light);
}

.carte-service__action {
    margin-top: 8px;
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.services__autre {
    margin-top: 32px;
    text-align: center;
    color: var(--color-text-light);
}

.services__autre a {
    color: var(--color-text);
    font-weight: 700;
    text-decoration: underline;
}

/* ---------- Étapes du home staging ---------- */
.services__etapes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    list-style: none;
}

.etape-service {
    padding: 24px;
    border: 1px solid var(--color-surface-2);
    border-radius: var(--radius-lg);
}

.etape-service__numero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--color-dark);
    color: var(--color-on-dark);
    font-weight: 700;
}

.etape-service__titre {
    font-size: var(--font-size-md);
    font-weight: 700;
}

.etape-service__texte {
    margin-top: 6px;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}
