/* ============================================================
   Feuilles de la page « Nos Expertises » (services)
   ------------------------------------------------------------
   Ces règles se trouvaient dans un bloc <style> en bas du gabarit
   page-services.php. Elles sont extraites telles quelles dans un
   fichier, pour que le contenu de la page soit éditable dans
   l'éditeur. Elles ne sont chargées que sur cette page : elles
   redéfinissent .service-card, utilisé aussi sur l'accueil.
   ============================================================ */
/* === EXPERTISE CATEGORIES === */
.expertise-categories {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.expertise-category {
    padding: 3rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.expertise-category:last-of-type {
    border-bottom: none;
}

.category-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.category-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.category-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.category-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* === SERVICE CARDS GRID === */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.75rem;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.service-card-premium {
    border-color: #f59e0b;
    border-width: 2px;
    position: relative;
}

.service-card-premium::before {
    content: 'PREMIUM';
    position: absolute;
    top: -10px;
    right: 16px;
    background: #f59e0b;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.service-card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
    flex: 1;
}

.service-price-badge {
    background: #f0fdf4;
    color: #16a34a;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.service-objectif {
    color: #374151;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.service-details-short {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
    flex-grow: 1;
}

.service-details-short li {
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.4;
}

.service-details-short li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 6px;
    height: 6px;
    background: #16a34a;
    border-radius: 50%;
}

.service-note {
    font-size: 0.85rem;
    color: #6b7280;
    font-style: italic;
    margin-bottom: 1rem;
}

/* === BUTTONS === */
.btn-details-toggle {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    text-align: center;
}

.btn-details-toggle:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.btn-details-toggle.active {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}

/* === EXPERTISE DETAILS (expandable) === */
.expertise-detail {
    display: none;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1.5rem;
}

.expertise-detail.active {
    display: block;
}

.expertise-detail h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f59e0b;
}

.expertise-detail p {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.expertise-detail ul {
    margin: 0.5rem 0 1rem 1.5rem;
    color: #4b5563;
}

.expertise-detail ul li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* === CATEGORY CTA === */
.category-cta {
    text-align: center;
    margin-top: 2rem;
}

/* === DEPLACEMENT BANNER === */
.deplacement-banner {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 1.25rem 2rem;
    text-align: center;
    color: #166534;
}

.deplacement-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .service-cards-grid {
        grid-template-columns: 1fr;
    }

    .category-header h2 {
        font-size: 1.4rem;
    }

    .expertise-category {
        padding: 2rem 0;
    }

    .service-card-header {
        flex-direction: column;
        gap: 0.5rem;
    }
}
