/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8fafc;
}

/* Layout principal avec CSS Grid */
.main-container {
    display: grid;
    grid-template-areas:
        "header"
        "hero"
        "services"
        "about"
        "process"
        "testimonials"
        "contact"
        "footer";
    gap: 0;
    min-height: 100vh;
}

/* Header / Navigation */
.header {
    grid-area: header;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 2rem;
}

.nav-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #64748b;
    border-radius: 50px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #006fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.bridge-icon {
    width: 30px;
    height: 20px;
    position: relative;
    color: #006fff;
}

.bridge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 2px;
    background: currentColor;
}

.bridge::before,
.bridge::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 15px;
    background: currentColor;
    border-radius: 2px;
    top: -12px;
}

.bridge::before { left: 3px; }
.bridge::after { right: 3px; }

.nav-wrapper {
    display: grid;
}

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

.nav-menu a {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #006fff;
}

.cta-button {
    background: #006fff;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
}

.cta-button:hover {
    background: #0056cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 111, 255, 0.3);
}

/* Hero Section */
.hero {
    grid-area: hero;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 2rem;
}

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

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.025em;
}

.hero-content .subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #006fff;
}

/* Services Section */
.services {
    grid-area: services;
    padding: 5rem 2rem;
    background: white;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #006fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 111, 255, 0.3);
}

.service-card h3 {
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #006fff;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

/* About Section */
.about {
    grid-area: about;
    padding: 5rem 2rem;
    background: #f8fafc;
}

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

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.02em;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
}

.checked-item {
    color: limegreen;
}

/* Process Section */
.process {
    grid-area: process;
    padding: 5rem 2rem;
    background: white;
}

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

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 1200px) {
    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step h3 {
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #006fff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Testimonials Section */
.testimonials {
    grid-area: testimonials;
    padding: 5rem 2rem;
    background: #f8fafc;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.testimonial-content {
    font-style: italic;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: #e2e8f0;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Section */
.contact {
    grid-area: contact;
    padding: 5rem 2rem;
    background: white;
}

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

.contact-content h2 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    color: #1e293b;
    letter-spacing: -0.02em;
}

.contact-info h3 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    color: #1e293b;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #006fff;
    box-shadow: 0 0 0 3px rgba(0, 111, 255, 0.1);
}

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

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #006fff;
}

/* Footer */
.footer {
    grid-area: footer;
    background: #1e293b;
    color: white;
    padding: 3rem 2rem 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #006fff;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #374151;
    color: #94a3b8;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 200;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #006fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    z-index: 200;
}

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

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

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

.mobile-cta {
    display: none !important;
}

.desktop-cta {
    display: block;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .hero-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .about-content h2 {
        font-size: 2rem;
    }

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

/* Responsive - iPad Portrait */
@media (max-width: 820px) {
    /* Header */
    .header {
        position: sticky;
        top: 0;
        z-index: 100;
        padding: 1rem 0.5rem;
    }

    .nav-container {
        grid-template-columns: auto 1fr;
        gap: 1rem;
        padding: 0.75rem 1rem;
        margin: 0 auto;
        max-width: 100%;
    }

    .logo img {
        max-height: 35px;
        height: 35px;
    }

    /* Containers */
    .hero-container,
    .services-container,
    .about-container,
    .process-container,
    .testimonials-container,
    .contact-container,
    .footer-container {
        max-width: 100%;
        padding: 0;
    }

    .mobile-menu-toggle {
        display: flex;
        justify-self: end;
        z-index: 200;
    }

    .desktop-cta {
        display: none;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.6);
        transform: translateX(-100%);
        transition: transform 0.3s ease, visibility 0s 0.3s;
        z-index: 100;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 95vh;
        min-height: 95dvh;
        visibility: hidden;
        border-radius: 30px;
    }

    .nav-wrapper.active {
        transform: translateX(0);
        visibility: visible;
        transition: transform 0.3s ease;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 2rem;
        flex: 1;
        display: flex;
        justify-content: center;
        background: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid #64748b;
        border-radius: 30px;
    }

    .nav-menu li {
        border-bottom: 1px solid #e2e8f0;
    }

    .nav-menu a {
        display: block;
        padding: 1.5rem 0;
        font-size: 1.25rem;
        color: #1e293b;
        font-weight: 500;
    }

    .mobile-cta {
        display: flex !important;
        margin: 2rem 2rem 3rem 2rem;
        padding: 1rem 2rem;
        width: calc(100% - 4rem);
        justify-content: center;
        font-size: 1.125rem;
    }

    /* Sections */
    .hero,
    .services,
    .about,
    .process,
    .testimonials,
    .contact {
        padding: 3.5rem 2rem;
    }

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

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

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

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

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

    .hero-visual div,
    .hero-visual img,
    .about-visual div,
    .about-visual img {
        height: 350px !important;
        max-width: 100%;
    }

    /* Footer */
    .footer {
        padding: 2.5rem 2rem 1rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    /* Header mobile */
    .header {
        position: sticky;
        top: 0;
        z-index: 100;
        padding: 1rem;
    }

    .nav-container {
        grid-template-columns: auto 1fr;
        gap: 1rem;
        padding: 0.75rem 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
        justify-self: end;
        z-index: 200;
    }

    .desktop-cta {
        display: none;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.6);
        transform: translateX(-100%);
        transition: transform 0.3s ease, visibility 0s 0.3s;
        z-index: 100;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 95vh;
        min-height: 95dvh;
        visibility: hidden;
        border-radius: 30px;
    }

    .nav-wrapper.active {
        transform: translateX(0);
        visibility: visible;
        transition: transform 0.3s ease;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 2rem;
        flex: 1;
        display: flex;
        justify-content: center;
        background: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid #64748b;
        border-radius: 30px;
    }

    .nav-menu li {
        border-bottom: 1px solid #e2e8f0;
    }

    .nav-menu a {
        display: block;
        padding: 1.5rem 0;
        font-size: 1.25rem;
        color: #1e293b;
        font-weight: 500;
    }

    .mobile-cta {
        display: flex !important;
        margin: 2rem 2rem 3rem 2rem;
        padding: 1rem 2rem;
        width: calc(100% - 4rem);
        justify-content: center;
        font-size: 1.125rem;
    }

    /* Hero mobile */
    .hero {
        padding: 3rem 1.5rem;
    }

    .hero-container {
        gap: 2rem;
    }

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

    .hero-content .subtitle {
        font-size: 1.125rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual div {
        height: 300px !important;
    }

    .hero-visual img {
        height: 300px !important;
    }

    /* Services mobile */
    .services {
        padding: 3rem 1.5rem;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }

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

    /* About mobile */
    .about {
        padding: 3rem 1.5rem;
    }

    .about-container {
        gap: 2rem;
    }

    .about-content h2 {
        font-size: 1.875rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .about-visual {
        order: -1;
    }

    .about-visual div {
        height: 300px !important;
    }

    .about-visual img {
        height: 300px !important;
    }

    /* Process mobile */
    .process {
        padding: 3rem 1.5rem;
    }

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

    /* Testimonials mobile */
    .testimonials {
        padding: 3rem 1.5rem;
    }

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

    /* Contact mobile */
    .contact {
        padding: 3rem 1.5rem;
    }

    .contact-container {
        gap: 2rem;
    }

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

    .contact-info h3 {
        font-size: 1.25rem;
    }

    /* Footer mobile */
    .footer {
        padding: 2rem 1.5rem 1rem;
    }

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

/* Responsive - Small mobile */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

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

    .stat-number {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 0.65rem 1.25rem;
        font-size: 0.95rem;
    }
}