/* ==========================================================================
   📦 SECTION LES SERVICES DE L'A.P.C.E.
   ========================================================================== */

.apce-services-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Style de base des gros blocs de service */
.apce-service-block {
    background-color: var(--apce-bg-card); /* Fond sombre en relief */
    border-left: 4px solid var(--apce-yellow); /* Ligne verticale jaune signature */
    border-radius: 0 8px 8px 0;
    box-shadow: var(--apce-shadow-card);
    border-top: var(--apce-border-card);
    border-right: var(--apce-border-card);
    border-bottom: var(--apce-border-card);
    overflow: hidden;
}

.apce-service-header {
    background-color: rgba(229, 230, 66, 0.04);
    padding: 20px 25px;
    border-bottom: 1px solid rgba(229, 230, 66, 0.1);
}

.apce-service-header h2 {
    color: var(--apce-yellow);
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.apce-service-content {
    padding: 25px;
    color: #f0f0f5;
}

.apce-service-content p {
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Grille interne pour le service nouveautés */
.apce-service-subgrid {
    display: flex;
    gap: 20px;
    margin: 25px 0;
}

.apce-subgrid-box {
    flex: 1;
    background: var(--apce-bg-inner);
    padding: 20px;
    border-radius: 6px;
    border: var(--apce-border-inner);
}

.apce-subgrid-box h3 {
    color: var(--apce-yellow);
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.apce-service-content ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.apce-service-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Remplacement des tirets par des petits carrés jaunes */
.apce-service-content ul li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: var(--apce-yellow);
    font-size: 0.8rem;
    top: 1px;
}

/* Système de badges pour les pays et TOM */
.apce-service-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0 15px 0;
}

.apce-badge {
    background-color: rgba(229, 230, 66, 0.1);
    color: var(--apce-yellow);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(229, 230, 66, 0.2);
}

/* Encadrés de notes informatives */
.apce-service-note {
    background-color: var(--apce-bg-inner);
    border: 1px dashed var(--apce-yellow);
    padding: 15px 20px;
    border-radius: 6px;
    margin-top: 20px;
}
.apce-service-note p {
    margin: 0;
    font-size: 0.95rem;
}
.alt-note {
    border-color: rgba(255,255,255,0.2);
    background-color: rgba(255,255,255,0.02);
}

/* Grille spécifique pour les magazines */
.apce-magazines-grid {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.apce-magazine-card {
    flex: 1;
    background: var(--apce-bg-inner);
    border: var(--apce-border-inner);
    padding: 20px;
    text-align: center;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.apce-magazine-card:hover {
    transform: translateY(-3px);
    border-color: rgba(229, 230, 66, 0.3);
}

.apce-mag-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.apce-magazine-card h4 {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
}

/* 📱 Adaptabilité Mobile */
@media screen and (max-width: 768px) {
    .apce-service-subgrid, .apce-magazines-grid {
        flex-direction: column;
    }
    .apce-service-block {
        border-left: none;
        border-top: 4px solid #FCD202;
        border-radius: 0 0 8px 8px;
    }
}