/* Styles spécifiques pour la page des services */

/* Section Hero Services */
.services-hero {
    position: relative;
    padding: 6rem 1rem 4rem;
    background: radial-gradient(circle at center, #071b1f 0%, #0a0a0a 100%);
    color: white;
    text-align: center;
    overflow: hidden;
    min-height: 300px;
}

.services-hero .container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.services-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 10px rgba(79, 209, 197, 0.3);
    margin-bottom: 1rem;
}

.services-hero p {
    font-size: 1.25rem;
    max-width: 720px;
    margin: 0 auto 1.5rem;
    color: #aaa;
}

.services-hero .svg-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Section Services Grid */
.services-grid {
    padding: 5rem 2rem;
    background: #0a0a0a;
}

.services-grid .service-features {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 2.25rem 0;
}

.services-grid .service-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

.services-grid .service-features .check-icon {
    color: #4fd1c5;
    margin-right: 0.75rem;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.services-grid .service-cta {
    margin-top: auto;
    color: #4fd1c5;
    font-weight: 600;
    display: flex;
    align-items: center;
    padding-top: 1.5rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.services-grid .service-cta .arrow {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.services-grid .service-card:hover .service-cta .arrow {
    transform: translateX(6px);
}

.services-grid .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.services-grid .service-card {
    background: #0a0a0a;
    border: 1px solid #222;
    padding: 2.25rem;
    border-radius: 1rem;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-top: 1px solid #333;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.services-grid .service-card:hover {
    background: #111;
    box-shadow: 0 10px 25px rgba(79, 209, 197, 0.12);
    transform: translateY(-8px);
    border-color: #333;
}

.services-grid .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(79, 209, 197, 0.8), rgba(236, 72, 153, 0.8));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.services-grid .service-card:hover::before {
    transform: scaleX(1);
}

.services-grid .service-card .icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(79, 209, 197, 0.9), rgba(236, 72, 153, 0.9));
    margin-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(79, 209, 197, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 28px;
}

.services-grid .service-card:hover .icon {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(79, 209, 197, 0.3);
}

.services-grid .service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
    color: white;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.services-grid .service-card p {
    color: #aaa;
    font-size: 0.95rem;
    margin: 0 0 1.25rem 0;
    line-height: 1.6;
}

/* Section Call To Action */
.cta-section {
    text-align: center;
    background: linear-gradient(90deg, #071b1f, #0a0a0a);
    color: white;
    padding: 5rem 2rem;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.cta-section .container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-section .btn-primary {
    display: inline-block;
    font-size: 1.1rem;
    padding: 1rem 2.25rem;
    border-radius: 8px;
    background: linear-gradient(to right, #4fd1c5, #ec4899);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(79, 209, 197, 0.3);
}

.cta-section .btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(79, 209, 197, 0.4);
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .services-hero h1 {
        font-size: 2.5rem;
    }
    
    .services-hero p {
        font-size: 1.1rem;
    }
    
    .services-grid .container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media screen and (max-width: 480px) {
    .services-hero {
        padding: 4rem 1rem 3rem;
    }
    
    .services-hero h1 {
        font-size: 2rem;
    }
    
    .services-hero p {
        font-size: 1rem;
    }
    
    .services-grid {
        padding: 3rem 1rem;
    }
    
    .cta-section {
        padding: 3rem 1rem;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
}