* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Work Sans', sans-serif;
    line-height: 1.7;
    color: #2D3748;
    overflow-x: hidden;
    padding-top: 80px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-fixed {
    background: linear-gradient(135deg, #0EA5E9 0%, #1E40AF 50%, #1E3A8A 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    overflow: visible;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    gap: 1rem;
    height: 70px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    overflow: visible;
}

.navbar-logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.navbar-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

.navbar-cta {
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Work Sans', sans-serif;
    border-radius: 50px;
    cursor: pointer;
    margin-left: 1rem;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.navbar-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(14, 165, 233, 0.6);
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
}

.navbar-mobile {
    display: none;
}

.nav-toggle {
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
}
.navbar-logo .nav-link:hover {
    background: transparent;
    color: inherit;
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .navbar-content {
        height: 70px;
    }

    .navbar-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 100%);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }

    .navbar-mobile {
        display: block;
    }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.75) 0%, rgba(55, 65, 81, 0.75) 100%),
                url('images/imprimante.jpg') center / cover no-repeat;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-logo {
    height: 450px;
    width: auto;
    margin-bottom: 1.2rem;
    margin-left: 75px;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.8));
}

.hero-content h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 400;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-weight: 300;
    max-width: 650px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.cta-button {
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(14, 165, 233, 0.6);
}

.cta-button:hover::before {
    left: 100%;
}

/* ============================================================
   SECTIONS - structure générale
   ============================================================ */

/* .section : contenu centré avec max-width */
.section {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section h2 {
    font-weight: 700;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
}

/* .section-alt : fond coloré pleine largeur */
.section-alt {
    background: #ffffff;
    padding: 8rem 2rem;
    width: 100%;
}

/* .section-inner : contenu centré à l'intérieur d'un .section-alt */
.section-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.section-inner h2 {
    font-weight: 700;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
}

/* .form-section : fond blanc pleine largeur */
.form-section {
    background: #ffffff;
    padding: 8rem 2rem;
    width: 100%;
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 1.5rem;
    }

    .section-alt {
        padding: 4rem 1.5rem;
    }

    .form-section {
        padding: 4rem 1.5rem;
    }

    .hero-content {
        padding: 0 1.5rem;
    }
}

/* ============================================================
   POUR QUI - 3 cartes
   ============================================================ */
.client-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 900px) {
    .client-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .client-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.client-feature {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: visible;
}

.client-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0EA5E9 0%, #1E3A8A 100%);
    border-radius: 24px 24px 0 0;
}

.client-feature:hover {
    transform: translateY(-8px);
    box-shadow:
        0 35px 70px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.3);
}

.client-feature h3 {
    font-weight: 700;
    font-size: 1.6rem;
    color: #1E3A8A;
    margin-bottom: 1rem;
}

.client-feature p {
    color: #4B5563;
    font-weight: 400;
    line-height: 1.6;
}

.details-btn {
    background: linear-gradient(135deg, #0EA5E9, #0284C7);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Work Sans', sans-serif;
    cursor: pointer;
    margin: 1rem auto 0;
    display: block;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(14, 165, 233, 0.6);
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
}

/* ============================================================
   ARTICLES DÉTAILS
   ============================================================ */
.card-details {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 2.5rem 3rem;
    margin-top: 2rem;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    border-top: 5px solid #0EA5E9;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.article-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #E5E7EB;
}

.article-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 1rem;
}

.article-header p {
    color: #4B5563;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.article-section {
    margin-bottom: 2rem;
}

.article-section h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid #0EA5E9;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.article-card {
    background: #F8FAFC;
    border-radius: 16px;
    padding: 1.5rem;
    border-left: 3px solid #0EA5E9;
}

.article-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 0.8rem;
}

.article-card p {
    color: #4B5563;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.article-footer {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #0EA5E9, #0284C7);
    border-radius: 16px;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

.article-footer p {
    margin: 0;
    color: white;
}

/* ============================================================
   POURQUOI - 5 features
   ============================================================ */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .features {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.feature {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0EA5E9, #1E3A8A);
}

.feature:hover {
    transform: translateY(-12px) rotateX(2deg);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.3);
}

.feature h3 {
    font-weight: 700;
    font-size: 1.5rem;
    color: #1E3A8A;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .feature {
        padding: 2rem 1.5rem;
    }
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 769px) and (max-width: 1100px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.process-step {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 4.5rem 2.5rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: visible;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    margin-bottom: 1rem;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #0EA5E9 0%, #1E3A8A 100%);
    border-radius: 24px 24px 0 0;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow:
        0 35px 70px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.3);
}

.step-number {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.5);
    z-index: 10;
    transition: transform 0.4s ease;
}

.process-step:hover .step-number {
    transform: translateX(-50%) scale(1.1);
}

.process-step h3 {
    font-weight: 700;
    font-size: 1.5rem;
    color: #1E3A8A;
    margin: 1.5rem 0 1rem;
}

/* ============================================================
   FORMULAIRE
   ============================================================ */
.form-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3rem;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .form-container {
        padding: 2.5rem 2rem;
        margin: 0 1rem;
    }
}

.form-container input,
.form-container select,
.form-container textarea {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    font-family: 'Work Sans', sans-serif;
    width: 100%;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease;
}

.form-container input:focus,
.form-container select:focus,
.form-container textarea:focus {
    outline: none;
    border-color: #0EA5E9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-container button[type="submit"] {
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    color: white;
    border: none;
    padding: 1.3rem;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Work Sans', sans-serif;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.form-container button[type="submit"]:hover {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    transform: translateY(-2px);
}

.file-wrapper {
    margin-bottom: 1.5rem;
}

.file-input {
    display: none;
}

.file-label {
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    color: white;
    border: none;
    padding: 1.3rem;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Work Sans', sans-serif;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.file-label:hover {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    transform: translateY(-2px);
}

.file-formats {
    display: block;
    color: #9CA3AF;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    padding-left: 0.5rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.faq-question {
    padding: 2rem 2.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(14, 165, 233, 0.05);
}

.faq-question h3 {
    font-weight: 600;
    font-size: 1.2rem;
    color: #1E3A8A;
    margin: 0;
}

.faq-toggle {
    font-size: 2rem;
    font-weight: 300;
    color: #0EA5E9;
    transition: transform 0.3s ease;
    user-select: none;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #F9FAFB;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 0 2.5rem 2.5rem;
    color: #4B5563;
    font-weight: 400;
    line-height: 1.7;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem 2.5rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .faq-question {
        padding: 1.5rem 2rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-banner {
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 50%, #0EA5E9 100%);
    color: white;
    padding: 2rem;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

.footer-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.footer-logo h3 {
    font-weight: 800;
    font-size: 2rem;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #E2E8F0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text p {
    margin: 0.2rem 0;
    font-weight: 400;
    opacity: 0.95;
}

.footer-rights p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 300;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-logo h3 {
        font-size: 1.6rem;
    }
}
.footer-text a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-text a:hover {
    opacity: 1;
    text-decoration: underline;
}