@media (min-width: 1200px) {
    .container {
        width: 100%;
        max-width: 1320px;
    }
}

.header-top__container {
    padding-top: 35px;
    padding-bottom: 10px;
}

.main-content__section {
    padding-top: 20px;
    padding-bottom: 20px; /* Réduit l'espace global en bas de la zone de contenu */
}

/* --- 2. TYPOGRAPHIE ET LISIBILITÉ --- */
.node--type-service .node__content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1.2rem; /* Réduit légèrement pour gagner de la place */
    font-family: inherit;
}

.node--type-service h2.node__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
    letter-spacing: 0.02em; 
    line-height: 1.3;
}

.node--type-service h2.node__title a {
    color: #1d1d1d;
    text-decoration: none;
    display: block;
}

/* --- 3. STYLE DU SLOGAN --- */
.site-branding__slogan {
    font-size: 1.2rem;
    font-weight: 300;
    color: #666;
    letter-spacing: 1px;
    padding-top: 8px;
    border-top: 1px solid #eee;
    display: inline-block;
}

/* --- 4. OPTIMISATION DES BLOCS (SUPPRESSION DES VIDES) --- */
.views-view-responsive-grid {
    --views-responsive-grid--layout-gap: 30px; /* Plus serré pour mobile/desktop */
    --views-responsive-grid--cell-min-width: 320px; /* Adapté aux mobiles étroits */
    align-items: flex-start !important; /* Force chaque bloc à prendre sa propre hauteur naturelle */
}

.views-view-responsive-grid__item-inner {
    padding: 30px 30px 20px 30px !important; /* Réduit le padding interne global */
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    height: auto !important; /* Annule la hauteur forcée héritée */
    display: block !important; /* Désactive le flex qui étire le contenu */
}

/* --- 5. BOUTON ET SUPPRESSION DES MARGES RESIDUELLES --- */
.node--type-service .node__links {
    padding-top: 10px;
    margin-bottom: 0 !important;
}

.node--type-service .node__links ul.links {
    margin-top: 0;
    margin-bottom: 0 !important;
    padding-bottom: 0;
}

.node--type-service .node__links a {
    background: #1d1d1d;
    color: #fff;
    padding: 10px 22px;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

/* Ajustement spécifique pour mobile (iPhone 14) */
@media (max-width: 767px) {
    .views-view-responsive-grid {
        row-gap: 20px; /* Espace minimal entre les blocs sur mobile */
    }
    .views-view-responsive-grid__item-inner {
        padding: 20px !important; /* Encore plus compact sur téléphone */
    }
}