/* Reset et variables */
:root {
    --neon-primary: #00fff2;
    --neon-secondary: #7000ff;
    --dark-bg: #0a0a16;
    --darker-bg: #050508;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Styles de base */
body {
    background: var(--dark-bg);
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: inherit;
}
/* Animation du fond */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 30%, var(--neon-secondary) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, var(--neon-primary) 0%, transparent 50%);
    filter: blur(100px);
    opacity: 0.15;
    will-change: opacity;
}

/* Navigation */
.nav {
    position: fixed;
    width: 100%;
    padding: 1.5rem;
    background: rgba(10, 10, 22, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 10px var(--neon-primary);
    letter-spacing: 2px;
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: white;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Section Héro */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 7rem 2rem 2rem;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, white, var(--neon-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 255, 242, 0.3);
}

.hero p {
    margin-bottom: 3rem;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Section Services */
.services {
    padding: 8rem 2rem;
    background: var(--darker-bg);
    position: relative;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: white;
    text-align: center;
    text-shadow: 0 0 15px var(--neon-primary);
}

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

.service-card {
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    will-change: transform;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px var(--neon-primary);
}

.service-card h3 {
    color: var(--neon-primary);
    margin: 1rem 0;
    font-size: 1.5rem;
}

/* Boutons et CTA */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid var(--neon-primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--neon-primary);
    transition: width 0.3s ease;
    z-index: -1;
}

.cta-button:hover::before {
    width: 100%;
}

.cta-button:hover {
    color: var(--darker-bg);
    text-shadow: none;
}

/* Section Contact */
.contact {
    padding: 8rem 2rem;
    background: linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
    text-align: center;
    position: relative;
}

/* Style du formulaire */
.contact-form {
    max-width: 500px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-form:hover {
    box-shadow: 0 0 30px var(--neon-primary);
}

.contact-form h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px 8px 0 0;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--neon-primary);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='white'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-group select option {
    background: var(--dark-bg);
    color: white;
    padding: 0.5rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    text-align: center;
}

.g-recaptcha {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
}

.contact-form .cta-button {
    width: 100%;
    margin-top: 1rem;
}

/* Placeholder styling */
::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Animation des particules */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--neon-primary);
    border-radius: 50%;
    animation: float 15s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100vh) rotate(360deg); }
}

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
}

.footer-main h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px var(--neon-primary);
}

.footer-slogan {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--neon-primary);
}

.footer-services h4,
.footer-nav h4,
.footer-location h4 {
    color: var(--neon-primary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-services h4::after,
.footer-nav h4::after,
.footer-location h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--neon-primary);
    box-shadow: 0 0 10px var(--neon-primary);
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer ul a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer ul a:hover {
    color: var(--neon-primary);
    transform: translateX(5px);
}

.footer-location p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
}

.footer-areas {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Service Areas dans le Footer */
.service-areas {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
}

.service-areas li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding-left: 1.2rem;
    position: relative;
}

.service-areas li::before {
    content: '✦';
    color: var(--neon-primary);
    position: absolute;
    left: 0;
    opacity: 0.8;
    font-size: 0.8rem;
}

.service-areas li:hover {
    color: var(--neon-primary);
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .service-areas {
        text-align: center;
    }
    
    .service-areas li {
        justify-content: center;
        padding-left: 0;
    }
    
    .service-areas li::before {
        position: relative;
        margin-right: 0.5rem;
    }
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-legal {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--neon-primary);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-primary);
}

.footer-links a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 1rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-legal {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-form {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
}

/* Optimisation des performances */
@media (prefers-reduced-motion: reduce) {
    .service-card:hover {
        transform: none;
    }
    
    .particle {
        animation: none;
    }

    .cta-button::before {
        transition: none;
    }
    .feature:hover {
        transform: none;
    }
    
    .feature::before {
        display: none;
    }
    .footer ul a:hover {
        transform: none;
    }
    .testimonial-card:hover,
    .expertise-card:hover {
        transform: none;
    }
    .service-areas li:hover {
        transform: none;
    }
}
/* Section Why Us */
.why-us {
    padding: 8rem 2rem;
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.why-us h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: white;
    text-align: center;
    text-shadow: 0 0 15px var(--neon-primary);
}

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

.feature {
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px var(--neon-primary);
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 255, 242, 0.05),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature:hover::before {
    transform: translateX(100%);
}

.feature h3 {
    color: var(--neon-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.feature h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--neon-primary);
    box-shadow: 0 0 10px var(--neon-primary);
}

.feature p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
}

/* Section Témoignages */
.testimonials {
    padding: 8rem 2rem;
    background: var(--darker-bg);
    position: relative;
}

.testimonials h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: white;
    text-align: center;
    text-shadow: 0 0 15px var(--neon-primary);
}

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

.testimonial-card {
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px var(--neon-primary);
}

.testimonial-card .quote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-card .author {
    color: var(--neon-primary);
    font-weight: bold;
    text-align: right;
}

/* Section Expertise Locale */
.local-expertise {
    padding: 8rem 2rem;
    background: var(--dark-bg);
    position: relative;
}

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

.expertise-card {
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    will-change: transform;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px var(--neon-primary);
}

.expertise-card h3 {
    color: var(--neon-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.expertise-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Ajustements Media Queries */
@media (max-width: 768px) {
    .testimonials,
    .local-expertise {
        padding: 4rem 1rem;
    }

    .testimonials h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .testimonial-card,
    .expertise-card {
        padding: 1.5rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .why-us {
        padding: 4rem 1rem;
    }

    .why-us h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature {
        padding: 1.5rem;
    }
}

.footer-social {
    margin-top: 1.5rem;
}

.footer-social h4 {
    color: var(--neon-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
}

.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--neon-primary);
    box-shadow: 0 0 10px var(--neon-primary);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
}

.social-link:hover {
    color: var(--neon-primary);
    transform: translateY(-3px);
    border-color: var(--neon-primary);
    box-shadow: 0 0 15px var(--neon-primary);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    .social-links {
        justify-content: center;
    }
    
    .footer-social h4 {
        text-align: center;
    }
    
    .footer-social h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Page 404 */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7rem 2rem 2rem;
}

.error-content {
    text-align: center;
    max-width: 600px;
}

.error-content h1 {
    font-size: 8rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, white, var(--neon-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 255, 242, 0.3);
}

.error-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}
