/**
 * Hero Services - Services Section
 * Theme: Hello Elementor Child
 * Version: 1.0.0
 */

.hero-services {
    position: relative;
    width: 100%;
    min-height: 90vh;
    background: #ffffff;
    overflow: hidden;
}

/* Dégradé doux en haut */
.hero-srv-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: linear-gradient(180deg, #f5f5f7 0%, transparent 100%);
}

/* Lignes décoratives */
.hero-srv-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
}

.hero-srv-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #c1a35f 50%, transparent 100%);
    width: 100%;
}

.hero-srv-line:nth-child(1) { top: 20%; animation: lineMove 15s infinite ease-in-out; }
.hero-srv-line:nth-child(2) { top: 50%; animation: lineMove 20s infinite ease-in-out reverse; }
.hero-srv-line:nth-child(3) { top: 80%; animation: lineMove 25s infinite ease-in-out; }

@keyframes lineMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(30px); }
}

.hero-srv-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
    z-index: 2;
}

/* Header Section */
.hero-srv-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-srv-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(193, 163, 95, 0.1);
    border: 2px solid #c1a35f;
    border-radius: 30px;
    color: #c1a35f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-srv-title {
    font-size: 68px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1a1a1a;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-srv-title-accent {
    background: linear-gradient(135deg, #c1a35f 0%, #d4b76f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-srv-subtitle {
    font-size: 20px;
    color: #666666;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

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

/* Services Grid */
.hero-srv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.hero-srv-card {
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out backwards;
}

.hero-srv-card:nth-child(1) { animation-delay: 0.5s; }
.hero-srv-card:nth-child(2) { animation-delay: 0.6s; }
.hero-srv-card:nth-child(3) { animation-delay: 0.7s; }
.hero-srv-card:nth-child(4) { animation-delay: 0.8s; }
.hero-srv-card:nth-child(5) { animation-delay: 0.9s; }

/* Effet glow au hover */
.hero-srv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(193, 163, 95, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.hero-srv-card:hover {
    transform: translateY(-10px);
    border-color: #c1a35f;
    box-shadow: 0 20px 60px rgba(193, 163, 95, 0.15);
}

.hero-srv-card:hover::before {
    opacity: 1;
}

.hero-srv-card-icon-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin-bottom: 24px;
}

.hero-srv-card-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(193, 163, 95, 0.1) 0%, rgba(193, 163, 95, 0.05) 100%);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-srv-card:hover .hero-srv-card-icon-bg {
    background: linear-gradient(135deg, #c1a35f 0%, #d4b76f 100%);
    transform: rotate(5deg);
}

.hero-srv-card-icon {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    transition: all 0.4s;
    z-index: 2;
}

.hero-srv-card:hover .hero-srv-card-icon {
    transform: scale(1.1);
}

.hero-srv-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    position: relative;
}

.hero-srv-card-text {
    font-size: 15px;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 24px;
    position: relative;
}

.hero-srv-card-features {
    position: relative;
}

.hero-srv-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #666666;
}

.hero-srv-feature-icon {
    color: #c1a35f;
    font-weight: 700;
    flex-shrink: 0;
}

.hero-srv-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c1a35f;
    font-weight: 600;
    font-size: 15px;
    margin-top: 16px;
    transition: all 0.3s;
    position: relative;
}

.hero-srv-card-cta svg {
    transition: transform 0.3s;
}

.hero-srv-card:hover .hero-srv-card-cta {
    gap: 12px;
}

.hero-srv-card:hover .hero-srv-card-cta svg {
    transform: translateX(5px);
}

/* Section Contact */
.hero-srv-contact {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 1s backwards;
}

.hero-srv-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(193, 163, 95, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(193, 163, 95, 0.1) 0%, transparent 50%);
}

.hero-srv-contact-content {
    position: relative;
    z-index: 2;
}

.hero-srv-contact-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.hero-srv-contact-text {
    font-size: 18px;
    color: #cccccc;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-srv-contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-srv-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-srv-btn-primary {
    background: #c1a35f;
    color: #ffffff;
    border: 2px solid #c1a35f;
}

.hero-srv-btn-primary:hover {
    background: #ffffff;
    color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(193, 163, 95, 0.4);
}

.hero-srv-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-srv-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-srv-container {
        padding: 60px 30px;
    }

    .hero-srv-title {
        font-size: 48px;
    }

    .hero-srv-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-srv-contact {
        padding: 50px 30px;
    }

    .hero-srv-contact-title {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .hero-services {
        min-height: auto;
    }

    .hero-srv-container {
        padding: 40px 20px;
    }

    .hero-srv-header {
        margin-bottom: 50px;
    }

    .hero-srv-title {
        font-size: 36px;
    }

    .hero-srv-subtitle {
        font-size: 16px;
    }

    .hero-srv-card {
        padding: 30px 25px;
    }

    .hero-srv-contact {
        padding: 40px 25px;
    }

    .hero-srv-contact-title {
        font-size: 24px;
    }

    .hero-srv-contact-text {
        font-size: 16px;
    }

    .hero-srv-contact-buttons {
        flex-direction: column;
    }

    .hero-srv-btn {
        width: 100%;
        justify-content: center;
    }
}
