/**
 * ============================================================================
 * AMÉLIORATIONS GLOBALES - PAGES DE SERVICES
 * Applique les améliorations de présentation à tous les héros des pages
 * ============================================================================
 */

/* ===== SERVICE HERO IMPROVEMENTS ===== */
.service-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 80px;
    color: white;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(27, 28, 29, 0.85) 0%, rgba(0, 0, 0, 0.85) 100%);
}

/* Éléments décoratifs du héro */
.service-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.service-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 152, 165, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* Image de fond */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.8s ease;
}

.service-hero:hover .hero-bg-image {
    transform: scale(1.03);
}

/* Overlay amélioré */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 8, 8, 0.92) 0%, rgba(26, 68, 120, 0.90) 100%);
    z-index: 2;
}

/* Contenu du héro */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badge du héro */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.95) 0%, rgba(255, 193, 7, 0.90) 100%);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 25px;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-badge i {
    font-size: 1.1rem;
}

/* Titre du héro */
.hero-title {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

/* Sous-titre du héro */
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Caractéristiques du héro */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 45px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 500;
    padding: 8px 0;
}

.hero-feature i {
    font-size: 1.4rem;
    color: #FFD700;
    flex-shrink: 0;
}

/* Actions du héro */
.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.hero-actions .btn {
    padding: 16px 36px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hero-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Image de description */
.description-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.description-image:hover {
    box-shadow: 0 30px 60px rgba(26, 54, 93, 0.2);
    transform: translateY(-5px);
}

.description-image img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
    display: block;
}

.description-image:hover img {
    transform: scale(1.05);
}

/* Badge urgent */
.urgent-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--secondary), #C82333);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.urgent-badge i {
    font-size: 1rem;
}

/* ===== RESPONSIVE IMPROVEMENTS ===== */

@media (max-width: 1024px) {
    .service-hero {
        min-height: 70vh;
        padding: 120px 20px 70px;
    }

    .hero-features {
        gap: 25px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .service-hero {
        min-height: 65vh;
        padding: 100px 20px 60px;
        background-attachment: scroll;
    }

    .service-hero::before,
    .service-hero::after {
        display: none;
    }

    .hero-bg-image {
        opacity: 0.3;
    }

    .hero-content {
        animation: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero-features {
        gap: 20px;
        margin-top: 30px;
    }

    .hero-feature {
        font-size: 0.9rem;
    }

    .hero-feature i {
        font-size: 1.2rem;
    }

    .hero-actions {
        margin-top: 35px;
        gap: 15px;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 350px;
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .service-hero {
        min-height: 60vh;
        padding: 80px 15px 50px;
    }

    .hero-badge {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .hero-features {
        gap: 15px;
        margin-top: 20px;
    }

    .hero-feature {
        font-size: 0.85rem;
    }

    .hero-feature i {
        font-size: 1rem;
    }

    .hero-actions {
        margin-top: 30px;
    }

    .hero-actions .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}