/* ========================================
   RESET ET BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================================
   VARIABLES CSS
   ======================================== */
:root {
    --primary-color: #3d4c64;
    --primary-dark: #000000;
    --secondary-color: #f1f5f9;
    --accent-color: #334155;
    --dark-blue: #0d183a;
    --dark-purple: #290c3f;
    --dark-green: #166534;
    --dark-red: #991b1b;
    --text-dark: #000000;
    --text-light: #64748b;
    --text-color: #000000;
    --white: #ffffff;
    --black: #000000;
    --dark-bg: #1e293b;
    --border-color: #e2e8f0;
    --shadow: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-lg: 0 25px 50px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   BASE STYLES
   ======================================== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 16px;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.nav-brand h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0;
}

.nav-logo {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-menu {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    transform: translateY(-100%);
    visibility: hidden;
}
    .mobile-menu.active {
        display: flex !important;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        visibility: visible;
    }
    .mobile-menu-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }
    .mobile-menu-nav ul {
        list-style: none;
        padding: 0;
        margin: 0 0 2rem 0;
    }
    .mobile-menu-nav ul li {
        margin: 0;
        text-align: center;
    }
    /* Liens du menu mobile */
    .mobile-menu-nav ul li a {
        font-size: 1.3rem;
        color: var(--primary-color);
        font-weight: 500;
        text-decoration: none;
        padding: 0.9rem 0;
        display: block;
        border-radius: 6px;
        background: none;
        margin-bottom: 0.2rem;
        transition: color 0.2s;
    }
    .mobile-menu-nav ul li a:hover {
        color: var(--dark-blue);
        background: none;
    }
    .mobile-menu-lang {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    /* Boutons langues du menu mobile */
    .mobile-menu-lang a {
        font-size: 1rem;
        color: var(--primary-color);
        background: none;
        border: none;
        border-radius: 6px;
        padding: 6px 12px;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-decoration: none;
        font-weight: 400;
        transition: color 0.2s;
    }
    .mobile-menu-lang a.active,
    .mobile-menu-lang a:hover {
        color: var(--dark-blue);
        background: none;
    }
    /* Bouton de fermeture du menu mobile */
    .mobile-menu-close {
        position: absolute;
        top: 24px;
        right: 24px;
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--primary-color);
        cursor: pointer;
        z-index: 100000;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: color 0.2s;
    }
    .mobile-menu-close:hover {
        color: var(--dark-blue);
    }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight {
    background: linear-gradient(135deg, var(--dark-blue), var(--dark-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    animation: float 6s ease-in-out infinite;
    z-index: 10;
}

.floating-card:nth-child(1) {
    top: -80px;
    right: 10%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    bottom: 30%;
    left: 0;
    animation-delay: 2s;
}

.floating-card:nth-child(3) {
    top: 60%;
    right: 30%;
    animation-delay: 4s;
}

.floating-card i {
    color: var(--dark-blue);
    font-size: 1.5rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

section {
    padding: 5rem 0;
}

/* Services Section */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    border: 2px solid var(--dark-purple);
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--dark-purple);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Couleurs spécifiques pour chaque service */
.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-color));
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, var(--dark-purple), var(--primary-color));
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-color));
}

.service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, var(--dark-red), var(--primary-color));
}

.service-card:nth-child(5) .service-icon {
    background: linear-gradient(135deg, #8b5cf6, var(--primary-color));
}

.service-card:nth-child(6) .service-icon {
    background: linear-gradient(135deg, #059669, var(--primary-color));
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.service-features li::before {
    content: "✓";
    color: var(--dark-green);
    font-weight: bold;
}

.service-price {
    margin-top: 1.5rem;
    padding: 0.8rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Portfolio Section */
.portfolio {
    background: var(--white);
}

/* Statistics Section */
.stats {
    background: var(--secondary-color);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Why Us Section */
.why-us {
    background: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--dark-blue), var(--dark-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.advantage-icon i {
    color: var(--white);
    font-size: 1.8rem;
}

.advantage-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Pricing Section */
.pricing {
    background: var(--secondary-color);
    padding: 5rem 0;
}

.pricing-benefits {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.pricing-benefit {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.pricing-benefit:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--dark-green), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.pricing-benefit h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.price-highlight {
    display: flex;
    justify-content: center;
}

.price-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    max-width: 400px;
    border: 2px solid var(--dark-green);
    position: relative;
    box-shadow: var(--shadow-lg);
}

.price-card::before {
    content: "MEILLEUR PRIX";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-green);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.4rem;
}

.price {
    margin-bottom: 2rem;
}

.price-amount {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.price-note {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.price-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.price-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.price-features i {
    color: var(--dark-green);
    font-size: 0.9rem;
}

.price-card .btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-urgency {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-urgency i {
    color: #fbbf24;
    animation: pulse 2s infinite;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
}

.cta-buttons .btn i {
    margin-right: 0.5rem;
}

.cta-buttons .btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #20b954;
    color: var(--white);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 5rem;
    background: var(--white);
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h1 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.5rem;
}

.legal-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    text-align: center;
    font-style: italic;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

.legal-section h3 {
    color: var(--text-dark);
    margin: 1.5rem 0 1rem;
    font-size: 1.2rem;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.legal-section p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.legal-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.legal-section a:hover {
    color: var(--primary-dark);
}

.legal-footer {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.legal-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.legal-nav .btn {
    min-width: 200px;
}

/* Portfolio Section continues... */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.portfolio-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 41, 59, 0.9);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-link {
    background: var(--white);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: var(--transition);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-result {
    background: var(--secondary-color);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Process Section */
.process {
    background: var(--secondary-color);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    flex: 1;
    max-width: 400px;
}

.step-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.step-details {
    list-style: none;
    margin-top: 1rem;
}

.step-details li {
    padding: 0.25rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-details li::before {
    content: "→";
    color: var(--primary-color);
    font-weight: bold;
}

/* Testimonials Section */
.testimonials {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.testimonial-stars {
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: #fbbf24;
    margin-right: 0.25rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.testimonial-author strong {
    color: var(--text-dark);
    display: block;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    background: var(--secondary-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--secondary-color);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.contact-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-form {
    background: var(--secondary-color);
    padding: 2.5rem;
    border-radius: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.1);
}

.form-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-2px);
    background: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--white);
}

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 280px;
        max-width: 80vw;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem 1rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        list-style: none;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 0.5rem 0;
        width: 100%;
        display: block;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        display: block;
        width: 100%;
        color: var(--text-dark);
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
        color: var(--primary-color);
        padding-left: 1rem;
        background: rgba(61, 76, 100, 0.05);
    }
    
    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1000;
        order: 2;
    }
    
    .nav {
        padding: 1rem;
    }
    
    .nav-brand {
        flex: 1;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Overlay pour le menu mobile */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 998;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column !important;
        text-align: center;
    }
    
    .step-content {
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legal {
        order: 2;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .floating-card {
        position: static !important;
        margin: 0.5rem;
        animation: none !important;
    }
    
    .hero-visual {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .services-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-benefits {
        gap: 1.5rem;
    }
    
    .pricing-benefit {
        min-width: 280px;
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-benefits {
        gap: 1rem;
    }
    
    .pricing-benefit {
        min-width: 250px;
        padding: 1.5rem;
    }
    
    .price-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .whatsapp-float {
        bottom: 90px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
    
    .back-to-top {
        bottom: 90px;
        left: 15px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .legal-page {
        padding: 100px 0 3rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .legal-nav .btn {
        width: 100%;
        max-width: 300px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .services-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-urgency {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .advantage-icon {
        width: 60px;
        height: 60px;
    }
    
    .advantage-icon i {
        font-size: 1.5rem;
    }
    
    .pricing-benefits {
        gap: 1rem;
    }
    
    .pricing-benefit {
        min-width: 250px;
        padding: 1.5rem;
    }
    
    .price-card {
        padding: 1.5rem;
        margin: 0;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
    }
    
    .benefit-icon i {
        font-size: 1.2rem;
    }
    
    .legal-page {
        padding: 90px 0 2rem;
    }
    
    .legal-content {
        padding: 0 10px;
    }
    
    .legal-content h1 {
        font-size: 1.8rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-section ul {
        padding-left: 1.5rem;
    }
    
    .legal-nav .btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 20px;
}

.language-dropdown {
    position: relative;
}

.language-btn {
    background: rgba(69, 90, 120, 0.1);
    border: 1px solid rgba(69, 90, 120, 0.2);
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.language-btn:hover {
    background: rgba(69, 90, 120, 0.2);
    border-color: var(--primary-color);
}

.language-btn .fa-chevron-down {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.language-dropdown:hover .language-btn .fa-chevron-down {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid rgba(69, 90, 120, 0.2);
    border-radius: 8px;
    min-width: 160px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-dropdown:hover .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(69, 90, 120, 0.1);
}

.language-link:last-child {
    border-bottom: none;
}

.language-link:hover {
    background: rgba(69, 90, 120, 0.1);
    color: var(--primary-color);
}

.language-link.active {
    background: rgba(69, 90, 120, 0.2);
    color: var(--primary-color);
}

.language-link img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

/* Mobile language selector */
@media (max-width: 768px) {
    .language-selector {
        margin-left: 0;
        margin-top: 1rem;
        order: 5;
        width: 100%;
        border-top: 2px solid var(--border-color);
        padding-top: 1rem;
    }
    
    .language-dropdown .language-btn {
        background: var(--secondary-color);
        border: 1px solid var(--border-color);
        width: 100%;
        justify-content: center;
        padding: 12px;
        border-radius: 8px;
        color: var(--text-dark);
        font-weight: 500;
    }
    
    .language-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        min-width: auto;
        margin-top: 10px;
    }
    
    .language-link {
        padding: 10px 15px;
        border-radius: 6px;
        margin-bottom: 8px;
        background: var(--white);
        border: 1px solid var(--border-color);
        color: var(--text-dark);
    }
    
    .language-link:hover {
        background: var(--primary-color);
        color: var(--white);
    }
    
    .language-link.active {
        background: var(--primary-color);
        color: var(--white);
        border-color: var(--primary-color);
    }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 40px !important;
        height: 40px !important;
        cursor: pointer !important;
        z-index: 99999 !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border-radius: 4px !important;
        padding: 8px !important;
        border: 1px solid var(--border-color);
    }
    .nav-toggle span {
        background: var(--text-dark) !important;
        display: block !important;
        width: 20px !important;
        height: 2px !important;
        margin: 2px 0 !important;
        transition: all 0.3s ease !important;
        border-radius: 1px;
    }
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px) !important;
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px) !important;
    }
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 99998;
        transition: opacity 0.3s;
        overflow-y: auto;
    }
    .nav-links.active {
        display: flex;
        animation: fadeInMenu 0.3s;
    }
    @keyframes fadeInMenu {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    .nav-links li {
        margin: 0 !important;
        width: 100%;
        text-align: center;
    }
    .nav-links a {
        font-size: 2rem !important;
        padding: 1rem 0 !important;
        border: none !important;
        color: var(--primary-color) !important;
        background: none !important;
        font-weight: 600;
        transition: color 0.2s;
    }
    .nav-links a:hover {
        color: var(--dark-blue) !important;
    }
    .language-selector {
        width: 100%;
        margin-top: 2rem;
        border-top: 2px solid var(--border-color);
        padding-top: 1rem;
    }
    .language-dropdown .language-btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
        border-radius: 8px;
        color: var(--text-dark);
        font-weight: 500;
    }
    .language-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        min-width: auto;
        margin-top: 10px;
    }
    .language-link {
        padding: 10px 15px;
        border-radius: 6px;
        margin-bottom: 8px;
        background: var(--white);
        border: 1px solid var(--border-color);
        color: var(--text-dark);
    }
    .language-link:hover {
        background: var(--primary-color);
        color: var(--white);
    }
    .language-link.active {
        background: var(--primary-color);
        color: var(--white);
        border-color: var(--primary-color);
    }
    /* Bouton de fermeture du menu mobile */
    .nav-toggle.active {
        position: fixed !important;
        top: 32px !important;
        right: 32px !important;
        background: var(--white) !important;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
        z-index: 99999 !important;
    }
    body.menu-open {
        overflow: hidden !important;
    }
}

/* Desktop Navigation - Always visible */
@media (min-width: 769px) {
    .nav-toggle {
        display: none !important;
    }
    
    .nav-links {
        display: flex !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        flex-direction: row !important;
        padding: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }
    
    .nav-links li {
        margin: 0 1rem !important;
    }
    
    .nav-links a {
        padding: 0 !important;
        border: none !important;
        font-size: 16px !important;
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    gap: 2rem;
}

.cookie-text h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-text p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 600px;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 8px;
    font-weight: 500;
    white-space: nowrap;
}

.cookie-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
}

.cookie-link:hover {
    color: var(--primary-dark);
}

/* Cookie Banner Responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }
    
    .cookie-text {
        order: 1;
    }
    
    .cookie-buttons {
        order: 2;
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .cookie-buttons .btn {
        width: 100%;
        max-width: 200px;
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .cookie-link {
        font-size: 13px;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .cookie-content {
        padding: 1rem;
    }
    
    .cookie-text h4 {
        font-size: 1rem;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
    }
    
    .cookie-buttons .btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* Thank You Page */
.thank-you-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background: var(--dark-bg);
}

.thank-you-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.thank-you-content h1 {
    font-size: 2.5rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.thank-you-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    opacity: 0.9;
}

.thank-you-details {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
    text-align: left;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.detail-item strong {
    color: var(--light-text);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.detail-item p {
    color: var(--text-color);
    margin: 0;
    opacity: 0.9;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.thank-you-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    justify-content: center;
}

.thank-you-next-steps {
    text-align: left;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.thank-you-next-steps h3 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    text-align: center;
}

.thank-you-next-steps ol {
    color: var(--text-color);
    padding-left: 1.5rem;
}

.thank-you-next-steps li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.thank-you-next-steps li::marker {
    color: var(--primary-color);
    font-weight: bold;
}

/* Thank You Page - Mobile */
@media (max-width: 768px) {
    .thank-you-content h1 {
        font-size: 2rem;
    }
    
    .thank-you-icon {
        font-size: 3rem;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .thank-you-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .detail-item {
        padding: 1rem;
    }
    
    .thank-you-next-steps {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .thank-you-content {
        padding: 1rem;
    }
    
    .thank-you-content h1 {
        font-size: 1.8rem;
    }
    
    .thank-you-subtitle {
        font-size: 1.1rem;
    }
}

/* ========================================
   FORM VALIDATION STYLES
   ======================================== */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.form-group.error label {
    color: #dc2626;
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */
.skip-link:focus {
    top: 6px !important;
}

/* Focus styles for better accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --text-dark: #000000;
        --text-light: #333333;
        --border-color: #000000;
    }
    
    .btn-primary {
        background: #000000;
        color: #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-card {
        animation: none !important;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .header,
    .nav,
    .mobile-menu,
    .whatsapp-float,
    .back-to-top,
    .cookie-consent,
    .cta-banner {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000000;
        background: #ffffff;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .btn {
        border: 1px solid #000000;
        background: #ffffff;
        color: #000000;
    }
    
    a {
        color: #000000;
        text-decoration: underline;
    }
    
    .contact-form {
        display: none;
    }
}

/* ========================================
   RESPONSIVE DESIGN IMPROVEMENTS
   ======================================== */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .mobile-menu.active {
        display: flex;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .process-timeline {
        gap: 2rem;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-bottom: 1rem;
    }
    
    /* Correction des cartes flottantes sur mobile */
    .hero-visual {
        position: relative;
        min-height: 300px;
        margin-top: 2rem;
    }
    
    .floating-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 1rem auto;
        width: 100%;
        max-width: 280px;
        animation: none;
        transform: none;
        opacity: 1;
    }
    
    .floating-card:nth-child(1) {
        top: 0;
        right: auto;
        animation-delay: 0s;
    }
    
    .floating-card:nth-child(2) {
        bottom: auto;
        left: auto;
        animation-delay: 0s;
    }
    
    .floating-card:nth-child(3) {
        top: auto;
        right: auto;
        animation-delay: 0s;
    }
    
    /* Amélioration du menu mobile */
    .mobile-menu {
        padding: 1rem;
    }
    
    .mobile-menu-nav {
        gap: 2rem;
    }
    
    .mobile-menu-nav ul li a {
        font-size: 1.2rem;
        padding: 1rem 0;
    }
    
    .mobile-menu-lang {
        gap: 0.5rem;
    }
    
    .mobile-menu-lang a {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */
/* Optimize animations for better performance */
.floating-card {
    will-change: transform;
}

.hero-visual {
    will-change: transform;
}

/* Reduce paint operations */
.header {
    will-change: transform;
}

/* Optimize transitions */
.btn,
.nav-links a,
.portfolio-overlay {
    will-change: transform, opacity;
}

/* ========================================
   BROWSER SPECIFIC FIXES
   ======================================== */
/* Safari specific fixes */
@supports (-webkit-appearance: none) {
    .btn {
        -webkit-appearance: none;
    }
    
    input,
    textarea,
    select {
        -webkit-appearance: none;
        border-radius: 8px;
    }
}

/* Firefox specific fixes */
@supports (-moz-appearance: none) {
    .header {
        background: rgba(255, 255, 255, 0.98);
    }
}

/* IE11 fallbacks */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .hero .container {
        display: flex;
        flex-direction: column;
    }
    
    .services-grid {
        display: flex;
        flex-wrap: wrap;
    }
    
    .service-card {
        flex: 1 1 300px;
        margin: 1rem;
    }
}
