/* ===================================
   CRITICAL CSS (ex-inline)
   =================================== */

/* Reset et base */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:system-ui,-apple-system,sans-serif;background:#0f172a;color:#e2e8f0;overflow-x:hidden}

/* Header fixe */
.header{position:fixed;top:0;width:100%;z-index:1000;backdrop-filter:blur(10px);background:rgba(15,23,42,0.9);border-bottom:1px solid rgba(51,65,85,0.3)}
.nav-container{display:flex;justify-content:space-between;align-items:center;padding:1rem 2rem;max-width:1200px;margin:0 auto}
.logo{font-size:1.5rem;font-weight:700;color:#fff;text-decoration:none}
.nav-menu{display:flex;list-style:none;gap:2rem}
.nav-menu a{color:#f1f5f9;text-decoration:none;padding:0.5rem 1rem;border-radius:0.5rem;transition:all 0.3s;font-weight:500}
.nav-menu a:hover{background:rgba(37,99,235,0.1);color:#2563eb}
.nav-menu a.active{background:rgba(37,99,235,0.2);color:#2563eb;box-shadow:0 0 20px rgba(37,99,235,0.3)}

/* Layout principal */
main{padding-top:0}
.hero-corporate{padding-top:0}
.container{max-width:1200px;margin:0 auto;padding:0 2rem}
section{padding:6rem 0}

/* Responsive critique */
@media (max-width: 768px){
    .nav-container{padding:1rem}
    .container{padding:0 1rem}
    .nav-menu{display:none;position:fixed;top:70px;left:0;width:100%;background:rgba(15,23,42,0.98);flex-direction:column;padding:2rem;gap:0;backdrop-filter:blur(10px);border-top:1px solid rgba(51,65,85,0.3);z-index:999}
    .nav-menu.active{display:flex}
    .nav-menu a{padding:1rem;border-radius:0;border-bottom:1px solid rgba(51,65,85,0.3);width:100%;text-align:center}
    .nav-toggle{display:flex;flex-direction:column;gap:4px;background:none;border:none;cursor:pointer;padding:8px}
    .hamburger-line{width:24px;height:2px;background:#fff;transition:all 0.3s;border-radius:2px}
    .nav-toggle.active .hamburger-line:nth-child(1){transform:rotate(45deg) translate(6px,6px)}
    .nav-toggle.active .hamburger-line:nth-child(2){opacity:0}
    .nav-toggle.active .hamburger-line:nth-child(3){transform:rotate(-45deg) translate(6px,-6px)}
    section{padding:4rem 0}
}

/* Desktop - cacher le hamburger */
@media (min-width: 769px){
    .nav-toggle{display:none}
}

/* Scroll offset pour header fixe */
section[id] {
    scroll-margin-top: 100px;
}

/* Alternative pour navigateurs plus anciens */
section[id]:before {
    content: '';
    display: block;
    height: 100px;
    margin-top: -100px;
    visibility: hidden;
}

@media (max-width: 768px) {
    section[id] {
        scroll-margin-top: 80px;
    }
    
    section[id]:before {
        height: 80px;
        margin-top: -80px;
    }
}

/* ===================================
   CORPORATE DESIGN SYSTEM
   =================================== */

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #64748b;
    --accent: #0ea5e9;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #334155;
    --gray-light: #475569;
    --text: #ffffff;
    --text-muted: #e2e8f0;
    --text-hero: #e2e8f0;
    --text-main: #e2e8f0;
    --border: #334155;
    --success: #10b981;
    --spacing: 2rem;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===================================
   HERO SECTION
   =================================== */

.hero-corporate {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content-corporate {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    background: none !important;
}

.hero-corporate h1 {
    font-size: clamp(1.75rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-break: break-word;
}

.title-line {
    display: inline;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Sécurité responsive pour les title-line */
@media (max-width: 768px) {
    .title-line {
        display: inline !important;
        background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        white-space: normal !important;
        text-overflow: initial !important;
        clip-path: none !important;
        transform: none !important;
    }
    
    /* Fallback pour navigateurs non compatibles */
    @supports not (-webkit-background-clip: text) {
        .hero-corporate h1,
        .title-line {
            color: #60a5fa !important;
            background: none !important;
        }
    }
}

.hero-lead {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-hero);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   BUTTONS
   =================================== */

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(37, 99, 235, 0.4);
}

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

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ===================================
   SECTION HEADERS
   =================================== */

section {
    padding: 6rem 0;
    position: relative;
}

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

.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    color: #60a5fa;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-header h2, .section-header h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: white;
}

/* ===================================
   EXPERTISE SECTION
   =================================== */

.expertise {
    background: var(--dark-light);
}

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

.expertise-card {
    background: var(--dark);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.expertise-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.2);
}

.expertise-icon {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    letter-spacing: 0.1em;
}

.expertise-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.expertise-card p {
    color: var(--text-main);
    line-height: 1.7;
}

.expertise-profile {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.05) 100%);
    padding: 3rem;
    border-radius: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
}

.profile-image {
    display: flex;
    justify-content: center;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.tech-stack {
    margin-top: 1.5rem;
}

.tech-stack-title {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 0.3rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.profile-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.profile-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.profile-content p {
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services-corporate {
    background: var(--dark);
}

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

.service-card-corporate {
    background: var(--dark-light);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: grid;
    grid-template-rows: auto auto auto 1fr auto auto;
    gap: 1rem;
    min-height: 500px;
}

.service-card-corporate:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
}

.service-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(37, 99, 235, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
}

.service-card-corporate h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.service-card-corporate > p {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    flex-grow: 1;
    align-self: start;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-main);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.service-result {
    background: rgba(37, 99, 235, 0.05);
    border-left: 3px solid var(--primary);
    padding: 1rem;
    border-radius: 0 0.5rem 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-main);
    align-self: end;
    margin: 0;
}

.service-result strong {
    color: var(--primary);
    font-weight: 600;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--accent);
    transform: translateX(5px);
}

/* ===================================
   TECH SPECS SECTION
   =================================== */

.tech-specs {
    background: var(--dark);
}

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

.tech-category {
    background: var(--dark-light);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.tech-category:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
}

.tech-category-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(37, 99, 235, 0.2);
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.tech-item strong {
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.tech-item span {
    color: var(--text-main);
    font-size: 0.875rem;
    line-height: 1.4;
}

/* ===================================
   PORTFOLIO SECTION
   =================================== */

.portfolio-corporate {
    background: var(--dark-light);
}

.portfolio-grid-corporate {
    display: grid;
    gap: 3rem;
}

.portfolio-item-corporate {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--dark);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.portfolio-item-corporate:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
}

.portfolio-item-corporate:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.portfolio-item-corporate:nth-child(even) .portfolio-media {
    order: 2;
}

.portfolio-media {
    position: relative;
    overflow: hidden;
    background: var(--dark-light);
    aspect-ratio: 16/10;
}

.portfolio-media img,
.portfolio-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item-corporate:hover .portfolio-media img,
.portfolio-item-corporate:hover .portfolio-media video {
    transform: scale(1.05);
}

.portfolio-info-corporate {
    padding: 2.5rem;
}

.portfolio-info-corporate h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.portfolio-info-corporate p {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.portfolio-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.portfolio-tech span {
    padding: 0.4rem 0.8rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 0.3rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.portfolio-link-corporate {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.portfolio-link-corporate:hover {
    color: var(--accent);
    transform: translateX(5px);
}

/* ===================================
   PROCESS SECTION
   =================================== */

.process {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.process .section-description {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 10%, var(--primary) 90%, transparent 100%);
    transform: translateY(-50%);
    opacity: 0.3;
    z-index: 1;
}

.process-step {
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.process-step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.step-container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.step-container:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.2);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.step-container:hover .step-number {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.6);
}

.step-container:hover .step-number::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.step-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: white;
    transition: color 0.3s ease;
}

.step-container:hover .step-content h3 {
    color: var(--primary);
}

.step-subtitle {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.step-content > p {
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.step-container:hover .step-content > p {
    color: var(--text);
}

.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 0.3rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.step-container:hover .feature-tag {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

.process-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.05) 100%);
    border-radius: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.process-cta p {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-line {
        display: none;
    }
    
    .step-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        margin: 0 auto;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
    
    .process-cta {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .step-container {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
    
    .step-content h3 {
        font-size: 1.4rem;
    }
}

/* ===================================
   FAQ SECTION
   =================================== */

.faq-corporate {
    background: var(--dark-light);
}

.faq-grid {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--dark);
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 2rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(37, 99, 235, 0.05);
}

.faq-question h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.open {
    max-height: 200px;
}

.faq-answer > div {
    padding: 0 2rem 2rem 2rem;
}

.faq-answer p {
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-item {
        padding: 1.5rem;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
    }
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-corporate {
    background: var(--dark-light);
}

.contact-corporate .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-corporate .section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: white;
}

.contact-corporate .section-description {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-info h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-list li {
    padding: 0.8rem 0;
    color: var(--text-main);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 4rem 0;
    background: var(--dark);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border);
}

.contact-card {
    background: var(--dark-light);
    padding: 2.5rem 2rem;
    border-right: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 200px;
    justify-content: center;
}

.contact-card:last-child {
    border-right: none;
}

.contact-card:hover {
    background: rgba(37, 99, 235, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
    z-index: 2;
    position: relative;
}

.contact-card-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.contact-card a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--accent);
}

.contact-card span {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-main);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.contact-cta {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.05) 100%);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    text-align: center;
}

.contact-cta h3 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.contact-cta p {
    color: var(--text-main);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-buttons .btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.cta-buttons .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(37, 99, 235, 0.4);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--border);
}

.cta-buttons .btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-card {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 2rem 1.5rem;
        min-height: 180px;
    }
    
    .contact-card:nth-child(odd) {
        border-right: 1px solid var(--border);
    }
    
    .contact-card:nth-child(n+3) {
        border-bottom: none;
    }
    
    .contact-cta {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 2rem 1rem;
        min-height: 160px;
    }
    
    .contact-card:last-child {
        border-bottom: none;
    }
}

/* ===================================
   FOOTER CORPORATE
   =================================== */

.footer-corporate {
    background: var(--dark);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

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

.footer-brand h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-location {
    color: var(--primary);
    font-size: 0.95rem;
}

.footer-services h4,
.footer-contact h4 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-corporate strong {
    color: #ffffff;
    font-weight: 600;
}

.footer-services ul {
    list-style: none;
}

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

.footer-services a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary);
}

.contact-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.footer-cta-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.footer-cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-copyright p {
    color: var(--text-main);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-corporate {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
}

/* ===================================
   RESPONSIVE
   =================================== */

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

    section {
        padding: 4rem 0;
    }

    .hero-corporate {
        min-height: 90vh;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }

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

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

    .portfolio-item-corporate {
        grid-template-columns: 1fr !important;
    }

    .portfolio-item-corporate:nth-child(even) .portfolio-media {
        order: 1;
    }

    .portfolio-info-corporate {
        padding: 1.5rem;
    }

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

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .expertise-profile {
        padding: 2rem;
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .profile-photo {
        width: 100px;
        height: 100px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

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

    .hero-content-corporate {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-corporate h1 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero-lead {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .section-header h2 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .btn-primary, .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        width: auto;
    }

    .hero-content-corporate {
        padding: 1rem;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content-corporate {
    animation: fadeInUp 0.8s ease-out;
}

/* ===================================
   LEGAL PAGES
   =================================== */

.legal-page {
    background: var(--dark-light);
    padding: 8rem 0 4rem;
    min-height: 100vh;
}

.legal-page h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.legal-page h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.legal-page p {
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.legal-page strong {
    color: white;
}

/* ===================================
   ACCESSIBILITY
   =================================== */

.btn-primary:focus,
.btn-secondary:focus,
.service-link:focus,
.portfolio-link-corporate:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Optimisations performances mobile */
@media (max-width: 768px) {
    /* Réduction des animations coûteuses */
    .expertise-card:hover,
    .service-card-corporate:hover,
    .portfolio-item-corporate:hover {
        transform: none;
        box-shadow: none;
    }
    
    /* Simplification des gradients */
    .hero-corporate {
        background: var(--dark);
    }
    
    /* Réduction des ombres */
    .btn-primary {
        box-shadow: none;
    }
    
    .btn-primary:hover {
        box-shadow: none;
    }
    
    /* Optimisation des transitions */
    * {
        transition-duration: 0.2s !important;
    }
}

/* Réduction du motion pour les appareils faibles */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* ===================================
   OPTIMISATIONS PERFORMANCES MOBILE
   =================================== */

/* Will-change pour éléments animés */
#hero-canvas {
    will-change: transform;
}

.hero-content-corporate {
    will-change: transform;
}

/* Optimisation GPU pour les cartes */
.expertise-card,
.service-card-corporate,
.portfolio-item-corporate {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Réduction de la complexité sur mobile */
@media (max-width: 768px) {
    /* Désactivation des filtres coûteux */
    .header {
        backdrop-filter: none;
        background: rgba(15,23,42,0.95);
    }
    
    /* Simplification des dégradés */
    .expertise-profile,
    .process-cta,
    .contact-cta {
        background: var(--dark-light);
    }
    
    /* Réduction des ombres portées */
    .profile-photo,
    .step-number,
    .footer-cta-btn {
        box-shadow: none;
    }
    
    /* Optimisation des vidéos */
    .portfolio-media video {
        transform: none !important;
    }
    
    .portfolio-item-corporate:hover .portfolio-media video {
        transform: none !important;
    }
}

/* Optimisation pour connexions lentes - via CSS seulement */
@media (max-width: 480px) {
    /* Réduction de l'opacité du canvas pour alléger visuellement */
    #hero-canvas {
        opacity: 0.6;
        transform: scale(0.8);
    }
    
    /* Simplification maximale */
    .step-container {
        backdrop-filter: none;
        background: var(--dark-light);
    }
}

/* Desktop garde tous les effets */
@media (min-width: 769px) {
    #hero-canvas {
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Tous les effets visuels actifs sur desktop */
    .header {
        backdrop-filter: blur(10px) !important;
    }
    
    .expertise-profile,
    .process-cta,
    .contact-cta {
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.05) 100%) !important;
    }
}
