/* ==================================================================
  14. STYLES POUR LES PAGES DE SERVICE DÉTAILLÉES
================================================================== */

/* Ajustement pour les cartes de service cliquables */
a.service-card {
    display: block; /* Important pour que le <a> prenne tout l'espace */
    text-decoration: none; /* Enlève le soulignement bleu */
    color: var(--text-light); /* Hérite la couleur de la section sombre */
}

a.service-card p {
    color: var(--text-light); /* Force la couleur du paragraphe */
    opacity: 0.8;
}

a.service-card:hover {
    color: var(--text-light); /* Garde la couleur au survol */
    opacity: 1;
    transform: translateY(-8px); /* Conserve l'animation de survol */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* En-tête des pages de service (ex: soft-landing.php) */
.service-detail-header {
    padding: 10rem 0 5rem 0; /* Plus de padding en haut à cause du header fixe */
    background: var(--primary-blue);
    text-align: center;
}

.service-detail-header p {
    color: var(--primary-orange);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.service-detail-header h1 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.3;
}

/* Contenu principal des pages de service */
.service-detail-content {
    padding: 5rem 0;
    background: var(--bg-light);
}

.service-detail-content .container {
    max-width: 900px; /* Style "article", plus étroit et lisible */
    margin: 0 auto;
}

.service-detail-content h2 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    font-weight: 900;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-detail-content p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Grille pour les items de service */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 colonnes */
    gap: 2rem;
    margin-top: 2rem;
}

.service-detail-item {
    background: var(--bg-grey);
    padding: 2rem;
    border-radius: 8px;
    border-bottom: 3px solid var(--primary-orange);
}

.service-detail-item i {
    font-size: 2rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.service-detail-item h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.service-detail-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}


/* Bouton de retour */
.cta-button-reverse {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    margin-top: 3rem;
    background: transparent;
    color: var(--primary-orange) !important;
    border: 2px solid var(--primary-orange);
    transition: all 0.3s ease;
}

.cta-button-reverse:hover {
    background: var(--primary-orange);
    color: var(--text-light) !important;
    transform: translateY(-3px);
    opacity: 1;
}


/* --- Ajustements Responsive pour les nouvelles pages --- */
@media (max-width: 768px) {
    .service-detail-header {
        padding: 8rem 0 3rem 0;
    }
    .service-detail-header h1 {
        font-size: 2.2rem;
    }
    
    .service-detail-content {
        padding: 3rem 0;
    }
    .service-detail-content h2 {
        font-size: 1.5rem;
    }
    .service-detail-content p, 
    .service-detail-content li {
        font-size: 0.95rem;
    }

    .service-detail-grid {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
    }
}