/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

/* Variables CSS */
:root {
    --primary-color: #3533CD;
    --secondary-color: #3533CD;
    --dark-color: #0B090B;
    --light-bg: #F4F6FC;
    --white: #FFFFFF;
    --gray: #4A5764;
    --font-primary: 'Arial', serif;
    --font-secondary: 'DM Sans', sans-serif;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
}

/* Header */
.header {
    background: var(--white);
    padding: 0rem 0;
    box-shadow: 0 2px 20px rgba(11, 9, 11, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
}

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

.header .container {
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    justify-self: flex-start;
}

.logo img {
    width: 80px;
    height: 80px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
    color: var(--dark-color);
}

.tagline {
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--gray);
    margin-top: 2px;
}

nav {
    flex: 1;
    display: flex;
    justify-self: center;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: var(--primary-color);
    background-color: rgba(53, 51, 205, 0.1);
}

.social-links {
    display: flex;
    flex: 0 0 auto;
    gap: 1rem;
    justify-self:flex-end;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-bg);
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}

.social-link.tiktok:hover {
    background: #000000;
    color: #fff;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: calc(var(--header-height) + 4rem) 0 4rem;
    background: linear-gradient(90deg, #000000, #3533CD);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--white);
}

.hero-content .highlight {
    color: #0c38fd;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    font-family: var(--font-secondary);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(53, 51, 205, 0.3);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(53, 51, 205, 0.4);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-image img {
    width: 150%;
    max-width: none;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

/* Carousel Clients */

.confiance h3{
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.carousel-container {
    padding: 4rem 0;
    background: var(--light-bg);
    overflow: hidden;
}

.carousel-track {
    display: flex;
    animation: scroll 30s linear infinite;
}

.client-slide {
    flex-shrink: 0;
    width: 300px;
    height: 150px;
    margin: 0 1rem;
    background: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(11, 9, 11, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.client-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(53, 51, 205, 0.2);
}

.client-slide img {
    width: 80%;
    height: auto;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.client-slide:hover img {
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-300px * 8 - 8rem));
    }
}

.carousel-track:hover {
    animation-play-state: paused;
}

/* Section À propos */
.about {
    padding: 6rem 0;
    background: var(--white);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark-color);
}
 .highlight {
    color: #0c38fd;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
}

/* Section Testimonials */
.testimonials {
    padding: 6rem 0;
    background: var(--light-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonials-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.testimonials h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 3rem;
}
.highlight {
    color: #0c38fd;
}


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

.testimonial {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(11, 9, 11, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(53, 51, 205, 0.15);
}

.stars {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
}

.stars img {
    width: 180px;
    height: auto;
    object-fit: contain;
}

.testimonial p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.google-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.google-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(53, 51, 205, 0.3);
}

/* Section Services */
.services {
    padding: 6rem 0;
    background: var(--white);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    box-shadow: 0 4px 15px rgba(11, 9, 11, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(53, 51, 205, 0.15);
    border-color: var(--primary-color);
}

.service-card.expanded {
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(53, 51, 205, 0.2);
}

.service-header {
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.service-icon {
    margin: 0 auto 1.5rem;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.service-card.expanded .service-header h3 {
    color: var(--primary-color);
}

.service-short {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.expand-indicator {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.service-card.expanded .expand-indicator {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(45deg);
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background: var(--light-bg);
    border-top: 1px solid rgba(53, 51, 205, 0.1);
}

.service-card.expanded .service-details {
    max-height: 500px;
    padding: 2rem;
}

.service-details-content {
    color: var(--gray);
    line-height: 1.7;
}

/* Section Process */
.process {
    padding: 6rem 0;
    background: var(--light-bg);
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.process h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: var(--dark-color);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    position: relative;
    padding: 1rem;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.step p {
    color: var(--gray);
    line-height: 1.6;
}

/* Section Contact */
.contact {
    padding: 6rem 0;
    background: linear-gradient(90deg, #000000, #3533CD);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.contact-content p {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    color: var(--dark-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
}

.contact-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.contact-btn.whatsapp:hover {
    background: #25D366;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(11, 9, 11, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 10px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    background: var(--light-bg);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(53, 51, 205, 0.1);
}

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

/* Focus states for accessibility */
.btn:focus,
.nav-menu a:focus,
.contact-btn:focus {
    outline: 3px solid rgba(53, 51, 205, 0.5);
    outline-offset: 2px;
}
/* Footer */
.footer {
    background: var(--dark-color);
    padding: 2rem 0;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer p {
    color: var(--white);
    margin: 0;
}

.privacy-link {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.privacy-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {

    .hero-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content,
    .about-content,
    .contact-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 5rem;
    }

    .cta-buttons {
        justify-content: center;
    }

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

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-image {
        order: 1;
    }

    .about-content {
        order: 2;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .container {
        padding: 0 1.5rem;
    }

    .logo img {
        width: 60px;
        height: 60px;
    }

    .company-name {
        font-size: 1rem;
    }

    .tagline {
        font-size: 0.65rem;
        letter-spacing: 2px;
    }

    .nav-wrapper {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(11, 9, 11, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        gap: 2rem;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }

    .nav-wrapper.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        padding: calc(var(--header-height) + 3rem) 0 3rem;
        min-height: auto;
    }

    .hero-container {
        padding: 0 1.5rem;
        gap: 2rem;
    }

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

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-image img {
        max-width: 350px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 100%;
    }

    .carousel-track {
        animation: scrollMobile 25s linear infinite;
    }

    .client-slide {
        width: 250px;
        height: 120px;
        margin: 0 0.5rem;
    }

    @keyframes scrollMobile {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-250px * 8 - 4rem));
        }
    }

    .about,
    .services,
    .process,
    .testimonials {
        padding: 4rem 0;
    }

    .about-container,
    .services-container,
    .process-container,
    .contact-container {
        padding: 0 1.5rem;
    }

    .about-content h2,
    .services h2,
    .process h2,
    .contact-content h2,
    .testimonials h3 {
        font-size: 2rem;
    }

    .about-image img {
        max-width: 300px;
    }

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

    .process-steps {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        flex-direction: column;
        width: 100%;
    }

    .contact-btn {
        width: 100%;
    }

    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 65px;
    }

    .container {
        padding: 0 1rem;
    }

    .logo {
        gap: 10px;
    }

    .logo img {
        width: 50px;
        height: 50px;
    }

    .company-name {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .tagline {
        font-size: 0.6rem;
        letter-spacing: 1.5px;
    }

    .hero {
        padding: calc(var(--header-height) + 2rem) 0 2rem;
    }

    .hero-container {
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-image img {
        max-width: 380px;
    }

    .carousel-container {
        padding: 3rem 0;
    }

    .client-slide {
        width: 200px;
        height: 100px;
    }

    .about,
    .services,
    .process,
    .testimonials,
    .contact {
        padding: 3rem 0;
    }

    .about-container,
    .services-container,
    .process-container,
    .contact-container,
    .testimonials-wrapper {
        padding: 0 1rem;
    }

    .about-content h2,
    .services h2,
    .process h2,
    .contact-content h2,
    .testimonials h3 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .about-content p {
        font-size: 1rem;
    }

    .about-image img {
        max-width: 250px;
    }

    .service-header {
        padding: 2rem 1.5rem 1rem;
    }

    .service-icon {
        width: 100px;
        height: 100px;
    }

    .service-header h3 {
        font-size: 1.3rem;
    }

    .expand-indicator {
        top: 1.5rem;
        right: 1.5rem;
        width: 28px;
        height: 28px;
        font-size: 1.1rem;
    }

    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.3rem;
    }

    .step h3 {
        font-size: 1.3rem;
    }

    .contact-content h2 {
        font-size: 1.75rem;
    }

    .contact-content p {
        font-size: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .company-name {
        font-size: 0.85rem;
    }

    .tagline {
        font-size: 0.55rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .client-slide {
        width: 180px;
        height: 90px;
    }
}