/* ============================================
   CORRECTIONS CONTRASTE + SEO GOOGLE
   Conforme WCAG 2.2 Niveau AA
   ============================================ */

/* 1. Titres de sections - Contraste amélioré */
.gs-subtitle {
  color: #9b2226 !important;
  font-weight: 600;
}

/* 2. Textes descriptifs - Contraste 9.73:1 */
.gs-service-desc,
.gs-section-subtitle,
.gs-block-intro,
.gs-why-desc {
  color: #444 !important;
}

/* 3. LIENS - Double indication (couleur + poids) */
.gs-service-desc a,
.gs-service-card a:not(.gs-btn),
.gs-block-intro a,
.gs-intro a {
    color: #9b2226 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    transition: all 0.2s ease;
    position: relative;
}

/* Survol - Triple indication (couleur + gras + soulignement) */
.gs-service-desc a:hover,
.gs-service-card a:not(.gs-btn):hover,
.gs-block-intro a:hover,
.gs-intro a:hover {
    color: #6d171b !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

/* Focus clavier - Obligatoire WCAG 2.4.7 */
.gs-service-desc a:focus,
.gs-service-card a:not(.gs-btn):focus,
.gs-block-intro a:focus,
.gs-intro a:focus {
    outline: 2px solid #9b2226;
    outline-offset: 2px;
    text-decoration: underline;
    background-color: rgba(155, 34, 38, 0.1);
}

/* 4. Bouton blanc - Contraste 4.76:1 */
.gs-btn-white {
    background: white !important;
    color: #3f51b5 !important;
    padding: 15px 40px;
    border: 2px solid #3f51b5;
    font-weight: 600;
}

.gs-btn-white:hover {
    background: #3f51b5 !important;
    color: white !important;
}

/* 5. Liens d'identification */
#idservices a,
a[href="identification.php"],
a[href*="identification"] {
    color: #9b2226 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

#idservices a:hover {
    color: #6d171b !important;
    text-decoration: underline !important;
}

/* 6. Bouton écologique - Contraste amélioré */
.gs-eco-cta .gs-btn,
a[href="/environnement.php"].gs-btn {
    background: #2e7d32 !important;
    color: white;
    font-weight: 600;
}

.gs-eco-cta .gs-btn:hover {
    background: #1b5e20 !important;
}

/* 7. Titres de cartes produits */
.gs-featured-item h4 {
    color: #111 !important;
    font-weight: 600;
}

.gs-featured-item:hover h4 {
    color: #9b2226 !important;
}

/* 8. Descriptions de cartes */
.gs-featured-item p {
    color: #555 !important; /* Acceptable pour petit texte */
}

/* ============================================
   AMÉLIORATION MOBILE
   ============================================ */
@media (max-width: 768px) {
    /* Zones de toucher plus grandes */
    .gs-service-desc a,
    .gs-block-intro a {
        padding: 2px 0;
        display: inline-block;
    }
    
    /* Focus plus visible sur mobile */
    .gs-service-desc a:focus,
    .gs-block-intro a:focus {
        outline-width: 3px;
    }
}