/* --- SECTION SERVICES --- */
.services-section {
    padding: 60px 0;
    background: #f8fafc;
}

/* Structure de chaque ligne */
.service-row {
    display: flex;
    flex-direction: column; /* Par défaut sur mobile : l'un sous l'autre */
    gap: 30px;
    margin-bottom: 60px;
    align-items: flex-start;
}

/* --- IMAGE --- */
.service-image {
    width: 100%;
}

.service-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
    display: block;
}

/* --- CONTENU TEXTUEL --- */
.service-content {
    width: 100%;
}

.service-number {
    font-family: 'Anton', sans-serif;
    font-size: 50px;
    color: rgba(15, 23, 42, 0.05); /* Effet de numéro fantôme en arrière-plan */
    line-height: 1;
    display: block;
}

.service-tag {
    color: var(--orange);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.service-title {
    font-family: 'Anton', sans-serif;
    font-size: 1.8rem;
    margin: 10px 0;
    color: var(--dark-bg);
    text-transform: uppercase;
    line-height: 1.2;
}

.service-description {
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
    border-left: 4px solid var(--orange);
    padding-left: 15px;
    margin-bottom: 25px;
}

/* --- BOUTON ET PANNEAU DE DÉTAILS --- */
.btn-details {
    background: var(--dark-bg);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-details:hover {
    background: var(--orange);
    transform: translateY(-2px);
}

.details-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    margin-top: 15px;
    border-radius: 8px;
}

.details-panel.active {
    max-height: 300px;
    opacity: 1;
    padding: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* --- RESPONSIVE TABLETTE & DESKTOP (850px et +) --- */
@media (min-width: 850px) {
    .services-section {
        padding: 100px 0;
    }

    .service-row {
        flex-direction: row; /* Aligne image et texte côte à côte */
        gap: 80px;
        margin-bottom: 120px;
        align-items: center;
    }

    /* L'effet "Reverse" pour alterner gauche/droite */
    .service-row.reverse {
        flex-direction: row-reverse;
    }

    .service-image, 
    .service-content {
        width: 50%; /* 50% de large chacun */
    }

    .service-image img {
        height: 450px; /* Plus grand sur PC */
    }

    .service-title {
        font-size: 2.8rem;
    }
}