﻿/* ========================================
   STYLES-WM.CSS - FICHIER CSS COMMUN
   Toutes les pages de la gamme WM
   ======================================== */

/* ========================================
   1. RESET & BASE
   ======================================== */
:root {
    --primary-color: #E60012;
    --text-color: #1a1a1a;
    --bg-color: #ffffff;
    --hover-bg: #fff5f5;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-deep: 0 4px 20px rgba(0,0,0,0.15);
}

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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Utility class for highlighted text */
.text-highlight {
    color: var(--primary-color);
}

.text-call-to-action {
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.click-cursor {
    cursor: pointer;
}
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-full { display: block; }
.logo-compact { display: none; }

/* ========================================
   3. NAVIGATION
   ======================================== */
.main-nav {
    display: flex;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: var(--hover-bg);
    color: var(--primary-color);
}

.nav-link.active {
    background: var(--primary-color);
    color: white;
}

/* ========================================
   4. CONTAINERS & SECTIONS
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 80px 30px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 50px;
}

/* ========================================
   5. HERO SECTIONS
   ======================================== */

/* Hero standard (page d'accueil WM) */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 30px 60px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(230,0,18,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-logo {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.hero-logo img {
    max-width: 400px;
    height: auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #64748b;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-tagline {
    font-size: 1.2rem;
    color: #E60012;
    font-weight: 600;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* Hero gamme (page présentation gamme) */
.hero-gamme {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 120px 30px 60px;
}

.hero-title-large {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-tagline-large {
    font-size: 1.5rem;
    opacity: 0.95;
}

/* Hero présentation Keyence */
.hero-presentation {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 120px 30px 60px;
    position: relative;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background: radial-gradient(circle at center, #E60012 0%, transparent 70%);
}

.hero-content-center {
    text-align: center;
    position: relative;
    z-index: 2;
}

.logo-showcase {
    margin-bottom: 30px;
}

.logo-tagline {
    font-size: 1.5rem;
    color: #E60012;
    font-weight: 600;
    font-style: italic;
}

.hero-description {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.8;
}

/* ========================================
   6. BOUTONS
   ======================================== */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #E60012;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.8s both;
    box-shadow: 0 4px 15px rgba(230,0,18,0.3);
}

.btn-hero:hover {
    background: #c4000f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230,0,18,0.4);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #E60012;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

.btn-cta.primary {
    background: #E60012;
    color: white;
}

.btn-cta.secondary {
    background: white;
    color: #E60012;
    border: 2px solid white;
}

/* ========================================
   7. SECTIONS SPÉCIFIQUES
   ======================================== */

/* Section WM */
.wm-section {
    padding: 80px 30px;
    background: white;
}

/* Section Piliers */
.pillars-section {
    padding: 80px 30px;
    background: #f8f9fa;
}

/* Section Technologies */
.tech-section {
    background: #f8f9fa;
}

/* ========================================
   8. CARTES - CHIFFRES CLÉS
   ======================================== */
.figures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.figure-card {
    background: white;
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
}

.figure-card:hover {
    border-color: #E60012;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230,0,18,0.1);
}

.figure-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.figure-number {
    font-size: 3rem;
    font-weight: 700;
    color: #E60012;
    margin-bottom: 10px;
}

.figure-label {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.4;
}

/* ========================================
   9. CARTES - PILIERS
   ======================================== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.pillar-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.pillar-badge {
    display: inline-block;
    background: #E60012;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.pillar-card h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.pillar-list {
    list-style: none;
    padding: 0;
}

.pillar-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #475569;
    font-size: 1.05rem;
}

.pillar-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #E60012;
    font-weight: bold;
    font-size: 1.3rem;
}

/* ========================================
   10. CARTES - CONFIGURATIONS
   ======================================== */
.configs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 50px 0;
}

/* Sur tablette : 2 colonnes */
@media (max-width: 1200px) {
    .configs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Sur mobile : 1 colonne */
@media (max-width: 768px) {
    .configs-grid {
        grid-template-columns: 1fr;
    }
}

.config-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.config-card:hover {
    border-color: #E60012;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230,0,18,0.15);
}

.config-badge {
    display: inline-block;
    background: #E60012;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.config-card h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.config-specs {
    margin: 20px 0;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
}

.spec-label {
    color: #64748b;
}

.spec-value {
    font-weight: 600;
    color: #1a1a1a;
}

.config-price {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #E60012;
    margin-top: 20px;
}

/* ========================================
   11. CARTES - TECHNOLOGIES
   ======================================== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.tech-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tech-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.tech-icon {
    font-size: 3rem;
}

.tech-card h3 {
    font-size: 1.8rem;
    color: #E60012;
}

.tech-features {
    list-style: none;
    margin: 20px 0;
}

.tech-features li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #475569;
}

.tech-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ========================================
   12. CARTES - APPLICATIONS
   ======================================== */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.app-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.app-card:hover {
    border-color: #E60012;
    transform: translateY(-3px);
}

.app-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.app-card h4 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.app-card p {
    color: #64748b;
    font-size: 0.95rem;
}

/* ========================================
   13. TIMELINE (Histoire KEYENCE)
   ======================================== */
.history-section {
    padding: 80px 30px;
    background: white;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: #E60012;
    border-radius: 50%;
    transform: translateX(-50%);
    border: 4px solid white;
    box-shadow: 0 0 0 4px #e2e8f0;
    z-index: 2;
}

.timeline-content {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    width: calc(100% - 60px);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: #E60012;
    box-shadow: 0 5px 20px rgba(230,0,18,0.1);
}

.timeline-year {
    display: inline-block;
    background: #E60012;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-title {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.timeline-description {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
}

.timeline-item.highlight .timeline-content {
    border-color: #E60012;
    background: #fff5f5;
}

.timeline-item.highlight .timeline-dot {
    width: 24px;
    height: 24px;
    box-shadow: 0 0 0 6px #ffe5e5;
}

/* ========================================
   14. STATS (Chiffres clés KEYENCE)
   ======================================== */
.key-stats {
    padding: 80px 30px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.section-title.light {
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(230,0,18,0.1);
    border-color: #E60012;
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #E60012;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-unit {
    font-size: 1.5rem;
    color: #E60012;
    font-weight: 600;
    margin-bottom: 15px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.4;
}

/* ========================================
   15. AVANTAGES KEYENCE
   ======================================== */
.advantages-section {
    padding: 80px 30px;
    background: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
}

.advantage-card:hover {
    border-color: #E60012;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230,0,18,0.1);
}

.advantage-card.highlight {
    background: #fff5f5;
    border-color: #E60012;
}

.advantage-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: #E60012;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.advantage-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.advantage-title {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.advantage-description {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.advantage-list {
    list-style: none;
    padding: 0;
}

.advantage-list li {
    padding: 8px 0;
    color: #475569;
    font-size: 0.95rem;
}

/* ========================================
   16. VALEURS
   ======================================== */
.values-section {
    padding: 80px 30px;
    background: #f8f9fa;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.value-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 18px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: #E60012;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230,0,18,0.1);
}

.value-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.value-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.value-description {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.88rem;
}

/* ========================================
   17. CTA
   ======================================== */
.cta-section {
    padding: 80px 30px;
    background: linear-gradient(135deg, #E60012 0%, #c4000f 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   18. FOOTER
   ======================================== */
.main-footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 30px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-logo-image {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-image img {
    height: 40px;
    width: auto;
}

.logo-dot {
    color: #E60012;
}

.footer-logo p {
    color: #94a3b8;
    line-height: 1.7;
}

.footer-links h4 {
    margin-bottom: 15px;
    color: #E60012;
}

.footer-links a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin: 8px 0;
    transition: color 0.3s ease;
}

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

.footer-contact h4 {
    margin-bottom: 15px;
    color: #E60012;
}

.footer-contact p {
    color: #94a3b8;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ========================================
   19. ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Attributs data-animate pour JavaScript */
[data-animate] {
    opacity: 0;
}

[data-animate="fade-up"] {
    animation: fadeInUp 0.8s ease forwards;
}

[data-animate="fade-down"] {
    animation: fadeInDown 0.8s ease forwards;
}

/* ========================================
   20. RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 70px;
        padding-right: 0;
    }
    
    .timeline-dot {
        left: 30px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-title-large {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .pillars-grid,
    .advantages-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .main-nav {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .figure-number,
    .stat-number {
        font-size: 2.5rem;
    }
    
    .main-nav {
        flex-direction: column;
        gap: 10px;
    }
}
/* ========================================
   21. PAGE SERVICE
   ======================================== */

/* Hero Service */
.hero-service {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); /* ✅ Fond clair */
    color: #1a1a1a; /* ✅ Texte foncé pour contraste */
    padding: 120px 30px 60px;
    position: relative;
    overflow: hidden;
}

.hero-service .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background: radial-gradient(circle at center, #E60012 0%, transparent 70%);
}

.hero-content-center {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title-large {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.hero-tagline-large {
    font-size: 1.5rem;
    opacity: 0.95;
    color: rgba(255,255,255,0.9);
}

/* Section Services */
.services-section {
    padding: 80px 30px;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* Cartes Service */
.service-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #E60012;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230,0,18,0.15);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-time {
    font-size: 1rem;
    color: #E60012;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-detail {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

.service-detail strong {
    color: #1a1a1a;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title-large {
        font-size: 2.5rem;
    }
    
    .hero-tagline-large {
        font-size: 1.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   22. IMAGES - TECHNOLOGIES
   ======================================== */
.tech-grid-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.tech-card-visual {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tech-image-container {
    margin-bottom: 25px;
    text-align: center;
    background: white;  /* ✅ Fond blanc au lieu de gris */
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;  /* ✅ Bordure subtile */
}

.tech-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ========================================
   23. IMAGES - CAMÉRAS
   ======================================== */
.camera-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 40px auto;
}

.camera-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.camera-card:hover {
    border-color: #E60012;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230,0,18,0.15);
}

.camera-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* ========================================
   24. IMAGES - APPLICATIONS
   ======================================== */
.applications-visual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.application-visual-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.application-visual-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(230,0,18,0.2);
}

.application-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.application-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 20px;
    color: white;
    z-index: 10;
    pointer-events: none;
}

.application-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.application-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ========================================
   25. IMAGES - FONCTIONNALITÉS LOGICIEL
   ======================================== */
.software-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.software-feature-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    text-align: center;
}

.software-feature-card:hover {
    border-color: #E60012;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230,0,18,0.15);
}

.software-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.software-feature-card h4 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 700;
}

.software-feature-card p {
    color: #64748b;
    font-size: 0.95rem;
}

/* ========================================
   26. IMAGES - ACCESSOIRES
   ======================================== */
.accessoires-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.accessoire-image-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.accessoire-image-card:hover {
    border-color: #E60012;
    box-shadow: 0 8px 25px rgba(230,0,18,0.15);
}

.accessoire-full-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ========================================
   27. RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .tech-grid-visual {
        grid-template-columns: 1fr;
    }
    
    .camera-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .camera-grid {
        grid-template-columns: 1fr;
    }
    
    .applications-visual-grid {
        grid-template-columns: 1fr;
    }
    
    .software-features-grid {
        grid-template-columns: 1fr;
    }
    
    .accessoires-grid {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   28. APPLICATIONS INDUSTRIELLES - 8 TUILES (2x4) 
   Avec 2 images (révélation au survol)
   ======================================== */
.applications-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.application-reveal-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    height: 300px;
}

/* Image 1 (visible par défaut) */
.reveal-image-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.6s ease;
    z-index: 1;
}

/* Image 2 (cachée par défaut, visible au survol) */
.reveal-image-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 2;
}

/* Au survol : Image 1 disparaît, Image 2 apparaît */
.application-reveal-card:hover .reveal-image-1 {
    opacity: 0;
}

.application-reveal-card:hover .reveal-image-2 {
    opacity: 1;
}

.reveal-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
    padding: 25px;
    color: white;
    z-index: 10;
    pointer-events: none;
}

.reveal-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.reveal-overlay p {
    font-size: 0.95rem;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* ========================================
   29. LOGICIEL INTUITIF - 6 TUILES (2x3) 
   Zoom augmenté pour images 708x380
   ======================================== */
.software-features-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.software-feature-card-zoom {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); /* Animation avec rebond */
    cursor: pointer;
    position: relative;
}

/* Effet zoom PLUS FORT au survol */
.software-feature-card-zoom:hover {
    border-color: #E60012;
    transform: scale(1.18); /* Agrandissement de 18% (au lieu de 8%) */
    box-shadow: 0 20px 50px rgba(230,0,18,0.3);
    z-index: 10;
}

.software-feature-card-zoom .software-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

.software-feature-card-zoom:hover .software-image {
    transform: scale(1.08); /* Légère zoom supplémentaire sur l'image */
}

.software-feature-card-zoom h4 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.software-feature-card-zoom:hover h4 {
    color: #E60012; /* Le titre devient rouge au survol */
}

.software-feature-card-zoom p {
    color: #64748b;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.software-feature-card-zoom:hover p {
    color: #1a1a1a; /* Le texte devient plus foncé au survol */
}

/* ========================================
   30. RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .applications-grid-new {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
    }
    
    .software-features-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .applications-grid-new {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
    }
    
    .software-features-grid-new {
        grid-template-columns: 1fr;
    }
    
    .application-reveal-card {
        height: 250px; /* Hauteur réduite sur mobile */
    }
    
    /* Zoom moins fort sur mobile */
    .software-feature-card-zoom:hover {
        transform: scale(1.10);
    }
}

/* ========================================
   30. RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .applications-grid-new {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
    }
    
    .software-features-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .applications-grid-new {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
    }
    
    .software-features-grid-new {
        grid-template-columns: 1fr;
    }
    
    .application-reveal-card {
        height: 250px; /* Hauteur réduite sur mobile */
    }
}

/* ========================================
   31. RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .defaut-card {
        flex-direction: column;
    }
    
    .defaut-image {
        width: 100%;
    }
    
    .software-features-grid-new {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
    }
}

@media (max-width: 768px) {
    .software-features-grid-new {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
    }
    
    .application-slide-card {
        height: 250px; /* Hauteur réduite sur mobile */
    }
}
/* ========================================
   31. LIGHTBOX (fenêtre d'agrandissement)
   ======================================== */
.lightbox {
    display: none; /* Caché par défaut */
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #E60012;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
/* ========================================
   32. HERO SERVICE - Logo inline dans le titre
   ======================================== */
.hero-title-service {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a; /* ✅ Texte foncé (au lieu de blanc) */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.hero-logo-inline {
    height: 60px;
    width: auto;
    vertical-align: middle;
}

/* Responsive : Logo plus petit sur mobile */
@media (max-width: 768px) {
    .hero-title-service {
        font-size: 2.5rem;
        gap: 15px;
    }
    
    .hero-logo-inline {
        height: 45px;
    }
}
/* ========================================
   33. ANIMATIONS AU SCROLL
   ======================================== */

/* État initial des éléments à animer */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* État après animation */
[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* Variantes d'animation */
[data-animate="fade-up"].animated {
    animation: fadeInUp 0.8s ease forwards;
}

[data-animate="fade-down"].animated {
    animation: fadeInDown 0.8s ease forwards;
}

[data-animate="fade-left"].animated {
    animation: fadeInLeft 0.8s ease forwards;
}

[data-animate="fade-right"].animated {
    animation: fadeInRight 0.8s ease forwards;
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Header au scroll */
.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Transition douce pour les cartes */
.figure-card,
.pillar-card,
.stat-card,
.value-card,
.advantage-card,
.service-card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Animation des chiffres */
.stat-number {
    transition: all 0.3s ease;
}
/* ========================================
   METROLOGY LINEUP
   ======================================== */
.metrology-lineup {
    padding: 80px 30px;
    background: #f8f9fa;
}

.instruments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.instrument-group {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
}

.instrument-title {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 600;
}

.instrument-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.instrument-images img {
    max-width: 150px;
    height: auto;
    object-fit: contain;
}

.instrument-images.single img {
    max-width: 200px;
}

/* Flèche de transformation */
.transformation-arrow {
    text-align: center;
    margin: 40px 0;
}

.arrow-circle {
    width: 80px;
    height: 80px;
    background: #E60012;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    animation: bounce 2s infinite;
}

.arrow-icon {
    font-size: 2.5rem;
    color: white;
}

.arrow-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #E60012;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Solutions KEYENCE */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.solution-card {
    background: white;
    border: 3px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.solution-card:hover {
    border-color: #E60012;
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(230,0,18,0.2);
}

.solution-card img {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.solution-card h3 {
    font-size: 1.5rem;
    color: #E60012;
    margin-bottom: 10px;
}

.solution-card p {
    color: #64748b;
    line-height: 1.6;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-card:hover .play-overlay {
    opacity: 1;
}

.play-icon-large {
    font-size: 4rem;
    color: #E60012;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.tooltip-footer {
    font-size: 0.85rem;
    color: #E60012;
    font-weight: 600;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .instruments-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   HERO VIDÉO (Page Gamme WM)
   ======================================== */
.hero-video-section {
    padding: 120px 30px 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    text-align: center;
}

/* Titre principal */
.hero-video-section .hero-title-large {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a; /* ✅ TEXTE FONCÉ sur fond clair */
}

/* Sous-titre */
.hero-video-section .hero-tagline-large {
    font-size: 1.5rem;
    opacity: 0.95;
    color: #64748b; /* ✅ TEXTE GRIS sur fond clair */
    margin-bottom: 40px;
}

/* Conteneur vidéo */
.video-showcase-large {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.video-showcase-large video {
    width: 100%;
    height: auto;
    display: block;
}
/* ========================================
   GAMME MÉTROLOGIE COMPLÈTE (IM-X, XM, WM)
   ======================================== */
.metrology-family-section {
    padding: 80px 30px;
    background: white;
}

.family-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.family-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.family-card:hover {
    border-color: #E60012;
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(230,0,18,0.15);
}

.family-card.highlight {
    border-color: #E60012;
    background: #fff5f5;
}

.family-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #E60012;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.family-card img {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.family-card h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 700;
}

.family-range {
    font-size: 1rem;
    color: #E60012;
    font-weight: 600;
    margin-bottom: 15px;
}

.family-description {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.family-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.family-features li {
    padding: 8px 0;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .family-grid {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   SECTION CONCEPT / STORYTELLING
   ======================================== */
.concept-section {
    padding: 80px 30px;
    background: #f8f9fa;
}

.concept-story {
    max-width: 1400px;
    margin: 50px auto 0;
}

.story-step {
    background: white;
    border-left: 4px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.story-step:hover {
    border-left-color: #E60012;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transform: translateX(5px);
}

.story-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: #f8f9fa;
}

.story-icon.success {
    background: #d1fae5;
}

.story-icon.request {
    background: #dbeafe;
}

.story-icon.research {
    background: #fef3c7;
}

.story-icon.innovation {
    background: #fce7f3;
}

.story-content {
    flex: 1;
}

.story-content h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.story-content p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Benchmark spécifique */
.story-step.benchmark {
    flex-direction: column;
}

.benchmark-split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.benchmark-col {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.benchmark-col.traditional {
    border-left: 4px solid #dc2626;
}

.benchmark-col.digital {
    border-left: 4px solid #f59e0b;
}

.benchmark-col h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.benchmark-col ul {
    list-style: none;
    padding: 0;
}

.benchmark-col li {
    padding: 8px 0;
    color: #475569;
    line-height: 1.6;
}

.benchmark-conclusion {
    background: #fff5f5;
    border-left: 4px solid #E60012;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

/* Solution spécifique */
.story-step.solution {
    border-left-color: #10b981;
    background: #f0fdf4;
}

.solution-list {
    list-style: none;
    padding: 0;
}

.solution-list li {
    padding: 10px 0;
    padding-left: 35px;
    position: relative;
    color: #475569;
    line-height: 1.7;
}

.solution-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .story-step {
        flex-direction: column;
    }
    
    .benchmark-split {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   ZONES DE MESURE WM
   ======================================== */
.measurement-zones-wm {
    padding: 80px 30px;
    background: #f8f9fa;
}

.zones-grid-wm {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.zone-card-wm {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.zone-card-wm:hover {
    border-color: #E60012;
    box-shadow: 0 10px 30px rgba(230,0,18,0.15);
    transform: translateY(-5px);
}

.zone-card-wm h3 {
    font-size: 1.8rem;
    color: #E60012;
    margin-bottom: 10px;
    font-weight: 700;
}

.zone-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 25px;
}

.zone-card-wm img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.zone-card-wm img:hover {
    transform: scale(1.05);
}

.zone-specs {
    text-align: left;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f1f5f9;
}

.zone-specs p {
    padding: 8px 0;
    color: #475569;
    line-height: 1.6;
}

.zone-specs strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* Mobilité */
.mobility-section {
    margin-top: 50px;
    padding: 40px;
    background: white;
    border-radius: 16px;
}

.mobility-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.mobility-grid img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobility-grid img:hover {
    border-color: #E60012;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(230,0,18,0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .zones-grid-wm {
        grid-template-columns: 1fr;
    }
    
    .mobility-grid {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   LIGHTBOX VIDÉO
   ======================================== */
.video-lightbox {
    display: none; /* Caché par défaut */
    position: fixed;
    z-index: 10000; /* Au-dessus de tout */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.video-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.video-lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    cursor: default; /* Pas de pointeur sur la vidéo */
}

.video-lightbox-content video {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.video-lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001;
}

.video-lightbox-close:hover {
    color: #E60012;
}

.video-lightbox-caption {
    text-align: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .video-lightbox-close {
        font-size: 40px;
        right: 20px;
        top: 10px;
    }
    
    .video-lightbox-caption {
        font-size: 1.2rem;
    }
}
/* ========================================
   SECTION INTERACTIVE UNIFIÉE
   ======================================== */
.interactive-config-section {
    padding: 80px 30px;
}

/* SÉLECTEUR DE MODÈLE */
.model-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 50px 0 40px;
}

.model-card {
    background: white;
    border: 3px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.model-card:hover {
    border-color: #E60012;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230,0,18,0.15);
}

.model-card.active {
    border-color: #E60012;
    background: #fff5f5;
    box-shadow: 0 8px 25px rgba(230,0,18,0.2);
}

.model-badge {
    display: inline-block;
    background: #64748b;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.model-card.active .model-badge {
    background: #E60012;
}

.model-card h3 {
    font-size: 1.6rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.model-quick-spec {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* ZONE D'AFFICHAGE DYNAMIQUE */
.dynamic-content {
    margin-top: 50px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* PANEL SPÉCIFICATIONS */
.specs-panel {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
}

.specs-panel h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 25px;
    text-align: center;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.spec-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #E60012;
}

.spec-label {
    font-weight: 600;
    color: #64748b;
    font-size: 0.95rem;
}

.spec-value {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.05rem;
}

/* PANEL TECHNOLOGIES */
.tech-panel {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    border: 2px solid #e2e8f0;
}

.tech-panel h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
}

.tech-cards-dynamic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.tech-card-compact {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.tech-image-compact {
    flex-shrink: 0;
    width: 150px;
}

.tech-image-compact img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.tech-content-compact h4 {
    font-size: 1.3rem;
    color: #E60012;
    margin-bottom: 15px;
}

.tech-features-compact {
    list-style: none;
    padding: 0;
}

.tech-features-compact li {
    padding: 6px 0;
    padding-left: 25px;
    position: relative;
    color: #475569;
    font-size: 0.9rem;
}

.tech-features-compact li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* PANEL CHAMPS DE TRAVAIL */
.workfield-panel {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
}

.workfield-panel h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 25px;
    text-align: center;
}

/* Images fixes (Z5 et D10) côte à côte */
.workfield-fixed-images {
    margin-bottom: 40px;
}

.workfield-double-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.workfield-image-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.workfield-image-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.workfield-image-item img:hover {
    transform: scale(1.02);
}

.workfield-caption {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
}

/* Section avec onglets (uniquement modèles 25m) */
.workfield-tabs-section {
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.workfield-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.workfield-tab {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.workfield-tab:hover {
    border-color: #E60012;
    color: #E60012;
}

.workfield-tab.active {
    background: #E60012;
    border-color: #E60012;
    color: white;
}

.workfield-image-container {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 12px;
}

.workfield-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.workfield-image-container img:hover {
    transform: scale(1.02);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .workfield-double-images {
        grid-template-columns: 1fr;
    }
    
    .workfield-tabs {
        flex-direction: column;
    }
    
    .workfield-tab {
        width: 100%;
    }
}

/* CTA CONFIGURATEUR */
.config-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-config {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #E60012;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230,0,18,0.3);
}

.btn-config:hover {
    background: #c4000f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230,0,18,0.4);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .model-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-cards-dynamic {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .model-selector {
        grid-template-columns: 1fr;
    }
    
    .tech-card-compact {
        flex-direction: column;
        text-align: center;
    }
    
    .tech-image-compact {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .workfield-tabs {
        flex-direction: column;
    }
    
    .workfield-tab {
        width: 100%;
    }
}
/* ========================================
   LIGHTBOX DÉTAILS MODÈLE
   ======================================== */
.model-details-lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    overflow-y: auto;
    cursor: pointer;
}

.model-details-lightbox.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    padding: 50px 20px;
}

.model-details-container {
    background: white;
    border-radius: 16px;
    max-width: 1200px;
    width: 100%;
    padding: 50px;
    position: relative;
    cursor: default;
    animation: slideUp 0.4s ease;
    margin: auto;
}

.model-details-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #1a1a1a;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.model-details-close:hover {
    color: #E60012;
}

.model-details-title {
    font-size: 2.5rem;
    color: #E60012;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

.model-details-section {
    margin-bottom: 50px;
}

.model-details-section h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
}

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

/* Responsive */
@media (max-width: 768px) {
    .model-details-container {
        padding: 30px 20px;
    }
    
    .model-details-title {
        font-size: 2rem;
    }
    
    .model-details-close {
        font-size: 35px;
        right: 15px;
        top: 15px;
    }
}
/* ========================================
   CARROUSELS BENCHMARK
   ======================================== */
.benchmark-carousel {
    margin-bottom: 25px;
    position: relative;
}

.benchmark-images {
    position: relative;
    width: 100%;
    height: 250px;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    padding: 15px;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: #94a3b8;
    transform: scale(1.2);
}

.carousel-dot.active {
    background: #E60012;
    width: 30px;
    border-radius: 5px;
}

/* Fleches de navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.88);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    color: #E60012;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.carousel-btn:hover {
    background: #E60012;
    color: #fff;
    transform: translateY(-50%) scale(1.12);
}
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

/* Responsive */
@media (max-width: 768px) {
    .benchmark-images {
        height: 200px;
    }
}

/* ========================================
   SECTION AVANTAGES SCANNER 3D
   ======================================== */

.scanner-advantages-section {
    padding: 80px 0;
}

/* ========================================
   SHOWCASE DOUBLE TECHNOLOGIE
   ======================================== */
.dual-technology-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 50px 0;
}

.technology-showcase-column {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.technology-showcase-column.tactile {
    border-color: rgba(59, 130, 246, 0.3);
}

.technology-showcase-column.scanner {
    border-color: rgba(230, 0, 18, 0.3);
}

.technology-showcase-column:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tech-header {
    text-align: center;
    margin-bottom: 30px;
}

.tech-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 15px;
}

.tech-header h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.tech-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0;
}

/* Galerie d'exemples */
.examples-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.example-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    transition: all 0.3s ease;
}

.example-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.example-card:hover img {
    transform: scale(1.1);
}

.example-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 15px 10px 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.example-card:hover .example-overlay {
    transform: translateY(0);
}

.example-overlay span {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    text-align: center;
}

/* Bénéfices technologie */
.tech-benefits {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
}

.tech-benefits h4 {
    color: #10b981;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.tech-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-benefits ul li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-benefits ul li:last-child {
    border-bottom: none;
}

/* ========================================
   GRILLE AVANTAGES
   ======================================== */
.scanner-advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.scanner-advantage-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scanner-advantage-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.advantage-icon-large {
    font-size: 4rem;
    margin-bottom: 20px;
    text-align: center;
}

.scanner-advantage-card h3 {
    color: #E60012;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.advantage-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.advantage-comparison {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comparison-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid transparent;
}

.comparison-item.bad {
    border-left-color: #dc2626;
}

.comparison-item.good {
    border-left-color: #10b981;
}

.comparison-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.comparison-badge.bad {
    background: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
}

.comparison-badge.good {
    background: rgba(16, 185, 129, 0.2);
    color: #86efac;
}

.comparison-item p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.advantage-benefits {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.advantage-benefits li {
    padding: 10px 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.advantage-benefits li:last-child {
    border-bottom: none;
}

/* Bloc récapitulatif */
.scanner-summary {
    background: linear-gradient(135deg, rgba(230, 0, 18, 0.1) 0%, rgba(230, 0, 18, 0.05) 100%);
    border: 2px solid rgba(230, 0, 18, 0.3);
    border-radius: 16px;
    padding: 40px;
    margin-top: 50px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

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

.summary-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #E60012;
    margin-bottom: 10px;
    line-height: 1;
}

.summary-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Comparaison avant/après */
.before-after-container {
    margin-top: 60px;
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.before-after-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.before-after-card.before {
    border-color: rgba(220, 38, 38, 0.3);
}

.before-after-card.after {
    border-color: rgba(16, 185, 129, 
}
/* ========================================
   OPTIMISATION ECRAN 15 POUCES / OFFLINE
   ======================================== */
@media screen and (min-width: 1280px) {
    html {
        font-size: 18px; /* Augmentation de la taille de police de base */
    }
    
    .container {
        max-width: 95%; /* Utiliser plus de largeur d'�cran */
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .figure-card {
        padding: 25px; /* Optimiser l'espace interne */
    }
    
    .figure-label {
        font-size: 1.1rem;
        line-height: 1.4;
        word-wrap: break-word; /* Eviter que le texte ne sorte */
    }
    
    /* Pour le texte long sp�cifique */
    .figure-label {
        hyphens: auto; /* Coupure de mots si n�cessaire */
    }
}

/* ========================================
   STYLES-WM.CSS - FICHIER CSS COMMUN
   Toutes les pages de la gamme WM
   ======================================== */

/* ========================================
   1. RESET & BASE
   ======================================== */
:root {
    --primary-color: #E60012;
    --text-color: #1a1a1a;
    --bg-color: #ffffff;
    --hover-bg: #fff5f5;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-deep: 0 4px 20px rgba(0,0,0,0.15);
}

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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Utility class for highlighted text */
.text-highlight {
    color: var(--primary-color);
}

.text-call-to-action {
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.click-cursor {
    cursor: pointer;
}
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-full { display: block; }
.logo-compact { display: none; }

/* ========================================
   3. NAVIGATION
   ======================================== */
.main-nav {
    display: flex;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: var(--hover-bg);
    color: var(--primary-color);
}

.nav-link.active {
    background: var(--primary-color);
    color: white;
}

/* ========================================
   4. CONTAINERS & SECTIONS
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 80px 30px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 50px;
}

/* ========================================
   5. HERO SECTIONS
   ======================================== */

/* Hero standard (page d'accueil WM) */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 30px 60px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(230,0,18,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-logo {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.hero-logo img {
    max-width: 400px;
    height: auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #64748b;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-tagline {
    font-size: 1.2rem;
    color: #E60012;
    font-weight: 600;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* Hero gamme (page présentation gamme) */
.hero-gamme {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 120px 30px 60px;
}

.hero-title-large {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-tagline-large {
    font-size: 1.5rem;
    opacity: 0.95;
}

/* Hero présentation Keyence */
.hero-presentation {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 120px 30px 60px;
    position: relative;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background: radial-gradient(circle at center, #E60012 0%, transparent 70%);
}

.hero-content-center {
    text-align: center;
    position: relative;
    z-index: 2;
}

.logo-showcase {
    margin-bottom: 30px;
}

.logo-tagline {
    font-size: 1.5rem;
    color: #E60012;
    font-weight: 600;
    font-style: italic;
}

.hero-description {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.8;
}

/* ========================================
   6. BOUTONS
   ======================================== */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #E60012;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.8s both;
    box-shadow: 0 4px 15px rgba(230,0,18,0.3);
}

.btn-hero:hover {
    background: #c4000f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230,0,18,0.4);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #E60012;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

.btn-cta.primary {
    background: #E60012;
    color: white;
}

.btn-cta.secondary {
    background: white;
    color: #E60012;
    border: 2px solid white;
}

/* ========================================
   7. SECTIONS SPÉCIFIQUES
   ======================================== */

/* Section WM */
.wm-section {
    padding: 80px 30px;
    background: white;
}

/* Section Piliers */
.pillars-section {
    padding: 80px 30px;
    background: #f8f9fa;
}

/* Section Technologies */
.tech-section {
    background: #f8f9fa;
}

/* ========================================
   8. CARTES - CHIFFRES CLÉS
   ======================================== */
.figures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.figure-card {
    background: white;
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
}

.figure-card:hover {
    border-color: #E60012;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230,0,18,0.1);
}

.figure-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.figure-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #E60012;
    margin-bottom: 10px;
}

.figure-label {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.4;
}

/* ========================================
   9. CARTES - PILIERS
   ======================================== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.pillar-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.pillar-badge {
    display: inline-block;
    background: #E60012;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.pillar-card h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.pillar-list {
    list-style: none;
    padding: 0;
}

.pillar-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #475569;
    font-size: 1.05rem;
}

.pillar-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #E60012;
    font-weight: bold;
    font-size: 1.3rem;
}

/* ========================================
   10. CARTES - CONFIGURATIONS
   ======================================== */
.configs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 50px 0;
}

/* Sur tablette : 2 colonnes */
@media (max-width: 1200px) {
    .configs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Sur mobile : 1 colonne */
@media (max-width: 768px) {
    .configs-grid {
        grid-template-columns: 1fr;
    }
}

.config-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.config-card:hover {
    border-color: #E60012;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230,0,18,0.15);
}

.config-badge {
    display: inline-block;
    background: #E60012;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.config-card h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.config-specs {
    margin: 20px 0;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
}

.spec-label {
    color: #64748b;
}

.spec-value {
    font-weight: 600;
    color: #1a1a1a;
}

.config-price {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #E60012;
    margin-top: 20px;
}

/* ========================================
   11. CARTES - TECHNOLOGIES
   ======================================== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.tech-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tech-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.tech-icon {
    font-size: 3rem;
}

.tech-card h3 {
    font-size: 1.8rem;
    color: #E60012;
}

.tech-features {
    list-style: none;
    margin: 20px 0;
}

.tech-features li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #475569;
}

.tech-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ========================================
   12. CARTES - APPLICATIONS
   ======================================== */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.app-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.app-card:hover {
    border-color: #E60012;
    transform: translateY(-3px);
}

.app-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.app-card h4 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.app-card p {
    color: #64748b;
    font-size: 0.95rem;
}

/* ========================================
   13. TIMELINE (Histoire KEYENCE)
   ======================================== */
.history-section {
    padding: 80px 30px;
    background: white;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: #E60012;
    border-radius: 50%;
    transform: translateX(-50%);
    border: 4px solid white;
    box-shadow: 0 0 0 4px #e2e8f0;
    z-index: 2;
}

.timeline-content {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    width: calc(100% - 60px);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: #E60012;
    box-shadow: 0 5px 20px rgba(230,0,18,0.1);
}

.timeline-year {
    display: inline-block;
    background: #E60012;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-title {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.timeline-description {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
}

.timeline-item.highlight .timeline-content {
    border-color: #E60012;
    background: #fff5f5;
}

.timeline-item.highlight .timeline-dot {
    width: 24px;
    height: 24px;
    box-shadow: 0 0 0 6px #ffe5e5;
}

/* ========================================
   14. STATS (Chiffres clés KEYENCE)
   ======================================== */
.key-stats {
    padding: 80px 30px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.section-title.light {
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(230,0,18,0.1);
    border-color: #E60012;
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #E60012;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-unit {
    font-size: 1.5rem;
    color: #E60012;
    font-weight: 600;
    margin-bottom: 15px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.4;
}

/* ========================================
   15. AVANTAGES KEYENCE
   ======================================== */
.advantages-section {
    padding: 80px 30px;
    background: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
}

.advantage-card:hover {
    border-color: #E60012;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230,0,18,0.1);
}

.advantage-card.highlight {
    background: #fff5f5;
    border-color: #E60012;
}

.advantage-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: #E60012;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.advantage-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.advantage-title {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.advantage-description {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.advantage-list {
    list-style: none;
    padding: 0;
}

.advantage-list li {
    padding: 8px 0;
    color: #475569;
    font-size: 0.95rem;
}

/* ========================================
   16. VALEURS
   ======================================== */
.values-section {
    padding: 80px 30px;
    background: #f8f9fa;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.value-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 18px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: #E60012;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230,0,18,0.1);
}

.value-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.value-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.value-description {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.88rem;
}

/* ========================================
   17. CTA
   ======================================== */
.cta-section {
    padding: 80px 30px;
    background: linear-gradient(135deg, #E60012 0%, #c4000f 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   18. FOOTER
   ======================================== */
.main-footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 30px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-logo-image {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-image img {
    height: 40px;
    width: auto;
}

.logo-dot {
    color: #E60012;
}

.footer-logo p {
    color: #94a3b8;
    line-height: 1.7;
}

.footer-links h4 {
    margin-bottom: 15px;
    color: #E60012;
}

.footer-links a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin: 8px 0;
    transition: color 0.3s ease;
}

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

.footer-contact h4 {
    margin-bottom: 15px;
    color: #E60012;
}

.footer-contact p {
    color: #94a3b8;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ========================================
   19. ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Attributs data-animate pour JavaScript */
[data-animate] {
    opacity: 0;
}

[data-animate="fade-up"] {
    animation: fadeInUp 0.8s ease forwards;
}

[data-animate="fade-down"] {
    animation: fadeInDown 0.8s ease forwards;
}

/* ========================================
   20. RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 70px;
        padding-right: 0;
    }
    
    .timeline-dot {
        left: 30px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-title-large {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .pillars-grid,
    .advantages-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .main-nav {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .figure-number,
    .stat-number {
        font-size: 2.5rem;
    }
    
    .main-nav {
        flex-direction: column;
        gap: 10px;
    }
}
/* ========================================
   21. PAGE SERVICE
   ======================================== */

/* Hero Service */
.hero-service {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); /* ✅ Fond clair */
    color: #1a1a1a; /* ✅ Texte foncé pour contraste */
    padding: 120px 30px 60px;
    position: relative;
    overflow: hidden;
}

.hero-service .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background: radial-gradient(circle at center, #E60012 0%, transparent 70%);
}

.hero-content-center {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title-large {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.hero-tagline-large {
    font-size: 1.5rem;
    opacity: 0.95;
    color: rgba(255,255,255,0.9);
}

/* Section Services */
.services-section {
    padding: 80px 30px;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* Cartes Service */
.service-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #E60012;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230,0,18,0.15);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-time {
    font-size: 1rem;
    color: #E60012;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-detail {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

.service-detail strong {
    color: #1a1a1a;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title-large {
        font-size: 2.5rem;
    }
    
    .hero-tagline-large {
        font-size: 1.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   22. IMAGES - TECHNOLOGIES
   ======================================== */
.tech-grid-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.tech-card-visual {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tech-image-container {
    margin-bottom: 25px;
    text-align: center;
    background: white;  /* ✅ Fond blanc au lieu de gris */
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;  /* ✅ Bordure subtile */
}

.tech-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ========================================
   23. IMAGES - CAMÉRAS
   ======================================== */
.camera-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 40px auto;
}

.camera-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.camera-card:hover {
    border-color: #E60012;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230,0,18,0.15);
}

.camera-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* ========================================
   24. IMAGES - APPLICATIONS
   ======================================== */
.applications-visual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.application-visual-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.application-visual-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(230,0,18,0.2);
}

.application-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.application-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 20px;
    color: white;
    z-index: 10;
    pointer-events: none;
}

.application-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.application-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ========================================
   25. IMAGES - FONCTIONNALITÉS LOGICIEL
   ======================================== */
.software-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.software-feature-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    text-align: center;
}

.software-feature-card:hover {
    border-color: #E60012;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230,0,18,0.15);
}

.software-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.software-feature-card h4 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 700;
}

.software-feature-card p {
    color: #64748b;
    font-size: 0.95rem;
}

/* ========================================
   26. IMAGES - ACCESSOIRES
   ======================================== */
.accessoires-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.accessoire-image-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.accessoire-image-card:hover {
    border-color: #E60012;
    box-shadow: 0 8px 25px rgba(230,0,18,0.15);
}

.accessoire-full-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ========================================
   27. RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .tech-grid-visual {
        grid-template-columns: 1fr;
    }
    
    .camera-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .camera-grid {
        grid-template-columns: 1fr;
    }
    
    .applications-visual-grid {
        grid-template-columns: 1fr;
    }
    
    .software-features-grid {
        grid-template-columns: 1fr;
    }
    
    .accessoires-grid {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   28. APPLICATIONS INDUSTRIELLES - 8 TUILES (2x4) 
   Avec 2 images (révélation au survol)
   ======================================== */
.applications-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.application-reveal-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    height: 300px;
}

/* Image 1 (visible par défaut) */
.reveal-image-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.6s ease;
    z-index: 1;
}

/* Image 2 (cachée par défaut, visible au survol) */
.reveal-image-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 2;
}

/* Au survol : Image 1 disparaît, Image 2 apparaît */
.application-reveal-card:hover .reveal-image-1 {
    opacity: 0;
}

.application-reveal-card:hover .reveal-image-2 {
    opacity: 1;
}

.reveal-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
    padding: 25px;
    color: white;
    z-index: 10;
    pointer-events: none;
}

.reveal-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.reveal-overlay p {
    font-size: 0.95rem;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* ========================================
   29. LOGICIEL INTUITIF - 6 TUILES (2x3) 
   Zoom augmenté pour images 708x380
   ======================================== */
.software-features-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.software-feature-card-zoom {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); /* Animation avec rebond */
    cursor: pointer;
    position: relative;
}

/* Effet zoom PLUS FORT au survol */
.software-feature-card-zoom:hover {
    border-color: #E60012;
    transform: scale(1.18); /* Agrandissement de 18% (au lieu de 8%) */
    box-shadow: 0 20px 50px rgba(230,0,18,0.3);
    z-index: 10;
}

.software-feature-card-zoom .software-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

.software-feature-card-zoom:hover .software-image {
    transform: scale(1.08); /* Légère zoom supplémentaire sur l'image */
}

.software-feature-card-zoom h4 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.software-feature-card-zoom:hover h4 {
    color: #E60012; /* Le titre devient rouge au survol */
}

.software-feature-card-zoom p {
    color: #64748b;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.software-feature-card-zoom:hover p {
    color: #1a1a1a; /* Le texte devient plus foncé au survol */
}

/* ========================================
   30. RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .applications-grid-new {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
    }
    
    .software-features-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .applications-grid-new {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
    }
    
    .software-features-grid-new {
        grid-template-columns: 1fr;
    }
    
    .application-reveal-card {
        height: 250px; /* Hauteur réduite sur mobile */
    }
    
    /* Zoom moins fort sur mobile */
    .software-feature-card-zoom:hover {
        transform: scale(1.10);
    }
}

/* ========================================
   30. RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .applications-grid-new {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
    }
    
    .software-features-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .applications-grid-new {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
    }
    
    .software-features-grid-new {
        grid-template-columns: 1fr;
    }
    
    .application-reveal-card {
        height: 250px; /* Hauteur réduite sur mobile */
    }
}

/* ========================================
   31. RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .defaut-card {
        flex-direction: column;
    }
    
    .defaut-image {
        width: 100%;
    }
    
    .software-features-grid-new {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
    }
}

@media (max-width: 768px) {
    .software-features-grid-new {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
    }
    
    .application-slide-card {
        height: 250px; /* Hauteur réduite sur mobile */
    }
}
/* ========================================
   31. LIGHTBOX (fenêtre d'agrandissement)
   ======================================== */
.lightbox {
    display: none; /* Caché par défaut */
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #E60012;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
/* ========================================
   32. HERO SERVICE - Logo inline dans le titre
   ======================================== */
.hero-title-service {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a; /* ✅ Texte foncé (au lieu de blanc) */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.hero-logo-inline {
    height: 60px;
    width: auto;
    vertical-align: middle;
}

/* Responsive : Logo plus petit sur mobile */
@media (max-width: 768px) {
    .hero-title-service {
        font-size: 2.5rem;
        gap: 15px;
    }
    
    .hero-logo-inline {
        height: 45px;
    }
}
/* ========================================
   33. ANIMATIONS AU SCROLL
   ======================================== */

/* État initial des éléments à animer */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* État après animation */
[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* Variantes d'animation */
[data-animate="fade-up"].animated {
    animation: fadeInUp 0.8s ease forwards;
}

[data-animate="fade-down"].animated {
    animation: fadeInDown 0.8s ease forwards;
}

[data-animate="fade-left"].animated {
    animation: fadeInLeft 0.8s ease forwards;
}

[data-animate="fade-right"].animated {
    animation: fadeInRight 0.8s ease forwards;
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Header au scroll */
.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Transition douce pour les cartes */
.figure-card,
.pillar-card,
.stat-card,
.value-card,
.advantage-card,
.service-card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Animation des chiffres */
.stat-number {
    transition: all 0.3s ease;
}
/* ========================================
   METROLOGY LINEUP
   ======================================== */
.metrology-lineup {
    padding: 80px 30px;
    background: #f8f9fa;
}

.instruments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.instrument-group {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
}

.instrument-title {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 600;
}

.instrument-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.instrument-images img {
    max-width: 150px;
    height: auto;
    object-fit: contain;
}

.instrument-images.single img {
    max-width: 200px;
}

/* Flèche de transformation */
.transformation-arrow {
    text-align: center;
    margin: 40px 0;
}

.arrow-circle {
    width: 80px;
    height: 80px;
    background: #E60012;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    animation: bounce 2s infinite;
}

.arrow-icon {
    font-size: 2.5rem;
    color: white;
}

.arrow-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #E60012;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Solutions KEYENCE */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.solution-card {
    background: white;
    border: 3px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.solution-card:hover {
    border-color: #E60012;
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(230,0,18,0.2);
}

.solution-card img {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.solution-card h3 {
    font-size: 1.5rem;
    color: #E60012;
    margin-bottom: 10px;
}

.solution-card p {
    color: #64748b;
    line-height: 1.6;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-card:hover .play-overlay {
    opacity: 1;
}

.play-icon-large {
    font-size: 4rem;
    color: #E60012;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.tooltip-footer {
    font-size: 0.85rem;
    color: #E60012;
    font-weight: 600;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .instruments-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   HERO VIDÉO (Page Gamme WM)
   ======================================== */
.hero-video-section {
    padding: 120px 30px 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    text-align: center;
}

/* Titre principal */
.hero-video-section .hero-title-large {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a; /* ✅ TEXTE FONCÉ sur fond clair */
}

/* Sous-titre */
.hero-video-section .hero-tagline-large {
    font-size: 1.5rem;
    opacity: 0.95;
    color: #64748b; /* ✅ TEXTE GRIS sur fond clair */
    margin-bottom: 40px;
}

/* Conteneur vidéo */
.video-showcase-large {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.video-showcase-large video {
    width: 100%;
    height: auto;
    display: block;
}
/* ========================================
   GAMME MÉTROLOGIE COMPLÈTE (IM-X, XM, WM)
   ======================================== */
.metrology-family-section {
    padding: 80px 30px;
    background: white;
}

.family-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.family-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.family-card:hover {
    border-color: #E60012;
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(230,0,18,0.15);
}

.family-card.highlight {
    border-color: #E60012;
    background: #fff5f5;
}

.family-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #E60012;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.family-card img {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.family-card h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 700;
}

.family-range {
    font-size: 1rem;
    color: #E60012;
    font-weight: 600;
    margin-bottom: 15px;
}

.family-description {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.family-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.family-features li {
    padding: 8px 0;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .family-grid {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   SECTION CONCEPT / STORYTELLING
   ======================================== */
.concept-section {
    padding: 80px 30px;
    background: #f8f9fa;
}

.concept-story {
    max-width: 1400px;
    margin: 50px auto 0;
}

.story-step {
    background: white;
    border-left: 4px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.story-step:hover {
    border-left-color: #E60012;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transform: translateX(5px);
}

.story-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: #f8f9fa;
}

.story-icon.success {
    background: #d1fae5;
}

.story-icon.request {
    background: #dbeafe;
}

.story-icon.research {
    background: #fef3c7;
}

.story-icon.innovation {
    background: #fce7f3;
}

.story-content {
    flex: 1;
}

.story-content h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.story-content p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Benchmark spécifique */
.story-step.benchmark {
    flex-direction: column;
}

.benchmark-split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.benchmark-col {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.benchmark-col.traditional {
    border-left: 4px solid #dc2626;
}

.benchmark-col.digital {
    border-left: 4px solid #f59e0b;
}

.benchmark-col h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.benchmark-col ul {
    list-style: none;
    padding: 0;
}

.benchmark-col li {
    padding: 8px 0;
    color: #475569;
    line-height: 1.6;
}

.benchmark-conclusion {
    background: #fff5f5;
    border-left: 4px solid #E60012;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

/* Solution spécifique */
.story-step.solution {
    border-left-color: #10b981;
    background: #f0fdf4;
}

.solution-list {
    list-style: none;
    padding: 0;
}

.solution-list li {
    padding: 10px 0;
    padding-left: 35px;
    position: relative;
    color: #475569;
    line-height: 1.7;
}

.solution-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .story-step {
        flex-direction: column;
    }
    
    .benchmark-split {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   ZONES DE MESURE WM
   ======================================== */
.measurement-zones-wm {
    padding: 80px 30px;
    background: #f8f9fa;
}

.zones-grid-wm {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.zone-card-wm {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.zone-card-wm:hover {
    border-color: #E60012;
    box-shadow: 0 10px 30px rgba(230,0,18,0.15);
    transform: translateY(-5px);
}

.zone-card-wm h3 {
    font-size: 1.8rem;
    color: #E60012;
    margin-bottom: 10px;
    font-weight: 700;
}

.zone-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 25px;
}

.zone-card-wm img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.zone-card-wm img:hover {
    transform: scale(1.05);
}

.zone-specs {
    text-align: left;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f1f5f9;
}

.zone-specs p {
    padding: 8px 0;
    color: #475569;
    line-height: 1.6;
}

.zone-specs strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* Mobilité */
.mobility-section {
    margin-top: 50px;
    padding: 40px;
    background: white;
    border-radius: 16px;
}

.mobility-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.mobility-grid img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobility-grid img:hover {
    border-color: #E60012;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(230,0,18,0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .zones-grid-wm {
        grid-template-columns: 1fr;
    }
    
    .mobility-grid {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   LIGHTBOX VIDÉO
   ======================================== */
.video-lightbox {
    display: none; /* Caché par défaut */
    position: fixed;
    z-index: 10000; /* Au-dessus de tout */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.video-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.video-lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    cursor: default; /* Pas de pointeur sur la vidéo */
}

.video-lightbox-content video {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.video-lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001;
}

.video-lightbox-close:hover {
    color: #E60012;
}

.video-lightbox-caption {
    text-align: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .video-lightbox-close {
        font-size: 40px;
        right: 20px;
        top: 10px;
    }
    
    .video-lightbox-caption {
        font-size: 1.2rem;
    }
}
/* ========================================
   SECTION INTERACTIVE UNIFIÉE
   ======================================== */
.interactive-config-section {
    padding: 80px 30px;
}

/* SÉLECTEUR DE MODÈLE */
.model-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 50px 0 40px;
}

.model-card {
    background: white;
    border: 3px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.model-card:hover {
    border-color: #E60012;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230,0,18,0.15);
}

.model-card.active {
    border-color: #E60012;
    background: #fff5f5;
    box-shadow: 0 8px 25px rgba(230,0,18,0.2);
}

.model-badge {
    display: inline-block;
    background: #64748b;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.model-card.active .model-badge {
    background: #E60012;
}

.model-card h3 {
    font-size: 1.6rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.model-quick-spec {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* ZONE D'AFFICHAGE DYNAMIQUE */
.dynamic-content {
    margin-top: 50px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* PANEL SPÉCIFICATIONS */
.specs-panel {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
}

.specs-panel h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 25px;
    text-align: center;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.spec-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #E60012;
}

.spec-label {
    font-weight: 600;
    color: #64748b;
    font-size: 0.95rem;
}

.spec-value {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.05rem;
}

/* PANEL TECHNOLOGIES */
.tech-panel {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    border: 2px solid #e2e8f0;
}

.tech-panel h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
}

.tech-cards-dynamic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.tech-card-compact {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.tech-image-compact {
    flex-shrink: 0;
    width: 150px;
}

.tech-image-compact img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.tech-content-compact h4 {
    font-size: 1.3rem;
    color: #E60012;
    margin-bottom: 15px;
}

.tech-features-compact {
    list-style: none;
    padding: 0;
}

.tech-features-compact li {
    padding: 6px 0;
    padding-left: 25px;
    position: relative;
    color: #475569;
    font-size: 0.9rem;
}

.tech-features-compact li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
}

/* PANEL CHAMPS DE TRAVAIL */
.workfield-panel {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
}

.workfield-panel h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 25px;
    text-align: center;
}

/* Images fixes (Z5 et D10) côte à côte */
.workfield-fixed-images {
    margin-bottom: 40px;
}

.workfield-double-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.workfield-image-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.workfield-image-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.workfield-image-item img:hover {
    transform: scale(1.02);
}

.workfield-caption {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
}

/* Section avec onglets (uniquement modèles 25m) */
.workfield-tabs-section {
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.workfield-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.workfield-tab {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.workfield-tab:hover {
    border-color: #E60012;
    color: #E60012;
}

.workfield-tab.active {
    background: #E60012;
    border-color: #E60012;
    color: white;
}

.workfield-image-container {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 12px;
}

.workfield-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.workfield-image-container img:hover {
    transform: scale(1.02);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .workfield-double-images {
        grid-template-columns: 1fr;
    }
    
    .workfield-tabs {
        flex-direction: column;
    }
    
    .workfield-tab {
        width: 100%;
    }
}

/* CTA CONFIGURATEUR */
.config-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-config {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #E60012;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230,0,18,0.3);
}

.btn-config:hover {
    background: #c4000f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230,0,18,0.4);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .model-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-cards-dynamic {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .model-selector {
        grid-template-columns: 1fr;
    }
    
    .tech-card-compact {
        flex-direction: column;
        text-align: center;
    }
    
    .tech-image-compact {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .workfield-tabs {
        flex-direction: column;
    }
    
    .workfield-tab {
        width: 100%;
    }
}
/* ========================================
   LIGHTBOX DÉTAILS MODÈLE
   ======================================== */
.model-details-lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    overflow-y: auto;
    cursor: pointer;
}

.model-details-lightbox.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    padding: 50px 20px;
}

.model-details-container {
    background: white;
    border-radius: 16px;
    max-width: 1200px;
    width: 100%;
    padding: 50px;
    position: relative;
    cursor: default;
    animation: slideUp 0.4s ease;
    margin: auto;
}

.model-details-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #1a1a1a;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.model-details-close:hover {
    color: #E60012;
}

.model-details-title {
    font-size: 2.5rem;
    color: #E60012;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

.model-details-section {
    margin-bottom: 50px;
}

.model-details-section h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
}

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

/* Responsive */
@media (max-width: 768px) {
    .model-details-container {
        padding: 30px 20px;
    }
    
    .model-details-title {
        font-size: 2rem;
    }
    
    .model-details-close {
        font-size: 35px;
        right: 15px;
        top: 15px;
    }
}
/* ========================================
   CARROUSELS BENCHMARK
   ======================================== */
.benchmark-carousel {
    margin-bottom: 25px;
    position: relative;
}

.benchmark-images {
    position: relative;
    width: 100%;
    height: 250px;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    padding: 15px;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: #94a3b8;
    transform: scale(1.2);
}

.carousel-dot.active {
    background: #E60012;
    width: 30px;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .benchmark-images {
        height: 200px;
    }
}

/* ========================================
   SECTION AVANTAGES SCANNER 3D
   ======================================== */

.scanner-advantages-section {
    padding: 80px 0;
}

/* ========================================
   SHOWCASE DOUBLE TECHNOLOGIE
   ======================================== */
.dual-technology-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 50px 0;
}

.technology-showcase-column {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.technology-showcase-column.tactile {
    border-color: rgba(59, 130, 246, 0.3);
}

.technology-showcase-column.scanner {
    border-color: rgba(230, 0, 18, 0.3);
}

.technology-showcase-column:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tech-header {
    text-align: center;
    margin-bottom: 30px;
}

.tech-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 15px;
}

.tech-header h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.tech-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0;
}

/* Galerie d'exemples */
.examples-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.example-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    transition: all 0.3s ease;
}

.example-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.example-card:hover img {
    transform: scale(1.1);
}

.example-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 15px 10px 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.example-card:hover .example-overlay {
    transform: translateY(0);
}

.example-overlay span {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    text-align: center;
}

/* Bénéfices technologie */
.tech-benefits {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
}

.tech-benefits h4 {
    color: #10b981;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.tech-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-benefits ul li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-benefits ul li:last-child {
    border-bottom: none;
}

/* ========================================
   GRILLE AVANTAGES
   ======================================== */
.scanner-advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.scanner-advantage-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scanner-advantage-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.advantage-icon-large {
    font-size: 4rem;
    margin-bottom: 20px;
    text-align: center;
}

.scanner-advantage-card h3 {
    color: #E60012;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.advantage-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.advantage-comparison {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comparison-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid transparent;
}

.comparison-item.bad {
    border-left-color: #dc2626;
}

.comparison-item.good {
    border-left-color: #10b981;
}

.comparison-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.comparison-badge.bad {
    background: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
}

.comparison-badge.good {
    background: rgba(16, 185, 129, 0.2);
    color: #86efac;
}

.comparison-item p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.advantage-benefits {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.advantage-benefits li {
    padding: 10px 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.advantage-benefits li:last-child {
    border-bottom: none;
}

/* Bloc récapitulatif */
.scanner-summary {
    background: linear-gradient(135deg, rgba(230, 0, 18, 0.1) 0%, rgba(230, 0, 18, 0.05) 100%);
    border: 2px solid rgba(230, 0, 18, 0.3);
    border-radius: 16px;
    padding: 40px;
    margin-top: 50px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

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

.summary-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #E60012;
    margin-bottom: 10px;
    line-height: 1;
}

.summary-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Comparaison avant/après */
.before-after-container {
    margin-top: 60px;
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.before-after-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.before-after-card.before {
    border-color: rgba(220, 38, 38, 0.3);
}

.before-after-card.after {
    border-color: rgba(16, 185, 129, 
}
/* ========================================
   OPTIMISATION ECRAN 15 POUCES / OFFLINE
   ======================================== */
@media screen and (min-width: 1280px) {
    html {
        font-size: 18px; /* Augmentation de la taille de police de base */
    }
    
    .container {
        max-width: 95%; /* Utiliser plus de largeur d'�cran */
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .figure-card {
        padding: 25px; /* Optimiser l'espace interne */
    }
    
    .figure-label {
        font-size: 1.1rem;
        line-height: 1.4;
        word-wrap: break-word; /* Eviter que le texte ne sorte */
    }
    
    /* Pour le texte long sp�cifique */
    .figure-label {
        hyphens: auto; /* Coupure de mots si nécessaire */
    }
}

/* ========================================
   CARROUSEL APPLICATIONS INDUSTRIELLES
   ======================================== */
.apps-carousel-section {
    background: #0f172a;
    padding: 80px 0;
}

.apps-carousel-section .section-title,
.apps-carousel-section .section-subtitle {
    color: white;
}

.apps-carousel-section .section-subtitle {
    color: #94a3b8;
}

.apps-carousel {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 620px;
    margin: 50px auto 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    background: #000;
}

.apps-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.apps-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
}

.apps-slide.active {
    display: block;
    animation: apps-fadein 0.6s ease;
}

@keyframes apps-fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.apps-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.apps-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
}

.apps-slide-caption span {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* Flèches */
.apps-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.25s, transform 0.25s;
    backdrop-filter: blur(4px);
}

.apps-carousel-btn:hover {
    background: rgba(230,0,18,0.75);
    border-color: #E60012;
    transform: translateY(-50%) scale(1.1);
}

.apps-prev { left: 16px; }
.apps-next { right: 16px; }

/* Compteur */
.apps-carousel-counter {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    z-index: 10;
}

/* Points */
.apps-carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.apps-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, transform 0.25s;
}

.apps-dot.active {
    background: #E60012;
    transform: scale(1.4);
}

.apps-dot:hover {
    background: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
    .apps-carousel {
        height: 260px;
    }
    .apps-carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}


