/* Fonts préchargées localement pour optimiser LCP */

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

:root {
    /* Palette principale uniforme - TEAL UNIQUE */
    --primary: #00CEC8;
    --primary-dark: #00A8A3;
    --primary-light: #00CEC8;
    --accent: #00CEC8;
    --accent-dark: #00A8A3;
    --accent-secondary: #00CEC8;
    
    /* Arrière-plans */
    --bg-primary: #000000;
    --bg-secondary: #1A1A1A;
    --bg-tertiary: #2A2A2A;
    
    /* Texte */
    --text-primary: #FFFFFF;
    --text-secondary: #A8A8A8;
    --text-muted: #707070;
    
    /* Suppression de tous les dégradés */
    --gradient-1: #00CEC8;
    --gradient-2: #00CEC8;
    --gradient-3: #00CEC8;
    
    --secondary: #0A0A0A;
    --text-light: #6A6A6A;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --gradient-1: #00CEC8;
    --gradient-2: #00CEC8;
    --gradient-3: #00CEC8;
}

[data-theme="dark"] {
    --primary: #00CEC8;
    --primary-light: #00CEC8;
    --primary-dark: #00A8A3;
    --secondary: #FFFFFF;
    --accent: #00CEC8;
    --accent-secondary: #00CEC8;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-light: #8A8A8A;
    --bg-primary: #000000;
    --bg-secondary: #1A1A1A;
    --bg-tertiary: #2A2A2A;
    --glass-bg: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
}

[data-theme="green"] {
    --primary: #00CC66;
    --primary-light: #00E673;
    --primary-dark: #00A855;
    --secondary: #FFFFFF;
    --accent: #00CCCC;
    --accent-secondary: #66CC00;
    --text-primary: #FFFFFF;
    --text-secondary: #B0FFB0;
    --text-light: #80FF80;
    --bg-primary: #000000;
    --bg-secondary: #1A1A1A;
    --bg-tertiary: #2A2A2A;
    --glass-bg: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(0, 204, 102, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --gradient-1: #00CEC8;
    --gradient-2: #00CEC8;
    --gradient-3: #00CEC8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    cursor: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Loader */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    position: relative;
}

.loader-text {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s ease-in-out infinite;
}

.loader-bar {
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    animation: loadingBar 2s ease-in-out infinite;
}

@keyframes loadingBar {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(0.98); }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
}

nav.scrolled {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(180deg) scale(1.1);
    border-radius: 50%;
}

.logo-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ✅ BEM : .nav-menu supprimé - Remplacé par .mobile-nav (BEM) */

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-actions {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.theme-toggle:hover {
    background: var(--gradient-1);
    transform: rotate(180deg);
}

.contact-btn {
    background: var(--gradient-1);
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 150%;
    height: 150%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.contact-btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 94, 0, 0.3);
}

/* ✅ BEM : Ancien système mobile supprimé - Utilise désormais mobile-menu-bem.css */

/* Page Container */
.page {
    display: none;
    min-height: 100vh;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(10, 10, 10, 0.4) 0%, 
        rgba(10, 10, 10, 0.2) 50%, 
        rgba(10, 10, 10, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    margin-bottom: 2rem;
    animation: slideInDown 0.8s ease-out;
}

.hero-badge-icon {
    width: 8px;
    height: 8px;
    background: #00FF00;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.5rem;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero h1 span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: colorShift 10s ease-in-out infinite;
}

@keyframes colorShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 94, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 94, 0, 0.4);
}

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

.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(5px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.8s both;
    margin-top: auto;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

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

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Sections */
section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* ✅ CLASSES POUR ESPACEMENT RÉDUIT - Résolution du problème d'espacement excessif */
.section-compact {
    padding: 1rem 0 !important;
}

.section-tight {
    padding: 0.5rem 0 !important;
}

.section-no-top {
    padding-top: 0 !important;
}

.section-no-bottom {
    padding-bottom: 0 !important;
}

.section-reduced-spacing {
    padding: 2rem 0 1rem !important;
}

.section-minimal-spacing {
    padding: 1rem 0 0.5rem !important;
}

/* Classe spécifique pour la zone entre l'encadré Belinda et Présentation */
.section-bridge {
    padding: 0 0 1rem !important;
    margin-top: -1rem;
}

/* ✅ SYSTÈME D'AJUSTEMENT PRÉCIS - Espacements intermédiaires */
.section-bridge-xs {
    padding: 0 0 0.5rem !important;
    margin-top: -0.5rem;
}

.section-bridge-sm {
    padding: 0 0 1rem !important;
    margin-top: -0.75rem;
}

.section-bridge-md {
    padding: 0 0 1.5rem !important;
    margin-top: -0.5rem;
}

.section-bridge-lg {
    padding: 2rem 0 2rem !important;
    margin-top: -0.25rem;
}

.section-bridge-xl {
    padding: 0.5rem 0 2.5rem !important;
    margin-top: 0;
}

/* ✅ SYSTÈME D'OPTIMISATION 32PX - Classes standardisées */
.section-optimized {
    padding: 32px 0 !important;
}

.section-optimized-top {
    padding-top: 32px !important;
}

.section-optimized-bottom {
    padding-bottom: 32px !important;
}

/* 🎯 CLASSE SPÉCIALE - Transition Héros → Première section */
.section-hero-transition {
    padding: 4rem 0 32px !important;
}

/* 📱 Mobile - Espacement encore plus réduit sur mobile */
@media (max-width: 768px) {
    .section-hero-transition {
        padding: 2rem 0 32px !important;
    }
}

.content-padding-optimized {
    padding: 32px !important;
}

.content-padding-optimized-vertical {
    padding: 32px 0 !important;
}

.content-padding-optimized-horizontal {
    padding: 0 32px !important;
}

/* Classes pour éléments de contenu */
.content-box-optimized {
    padding: 32px !important;
}

.content-box-compact {
    padding: 24px !important;
}

.content-box-minimal {
    padding: 16px !important;
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--primary);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
}

.section-title span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 94, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
    border-color: var(--primary);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    text-align: left;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(-10deg) scale(1.1);
    border-radius: 50%;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Stats Section */
.stats-section {
    background: var(--gradient-1);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,96C1248,96,1344,128,1392,144L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
}

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

.service-card {
    text-align: center;
    position: relative;
    cursor: pointer;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-3);
    opacity: 0;
    border-radius: 24px;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover::after {
    opacity: 0.1;
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Portfolio */
.portfolio-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--bg-tertiary);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

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

.portfolio-item {
    cursor: pointer;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-secondary);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px var(--shadow-color);
}

/* ✅ DÉFINITION CONSOLIDÉE - Portfolio image avec ratio naturel et hover effects */
.portfolio-image {
    position: relative;
    width: 100%;
    /* SUPPRESSION de height: 280px pour permettre le ratio naturel */
    overflow: hidden;
    background: transparent !important;
    border-radius: 18px; /* 📐 Coins plus arrondis pour cohérence avec photo-image */
    border: none; /* 🚫 Suppression explicite des bordures */
}

.portfolio-image video {
    /* Retour au comportement naturel pour respecter le ratio vidéo */
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Fusionné depuis ligne 2268 : Overlay hover effect */
.portfolio-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: all 0.3s ease;
    pointer-events: none;
}

/* ✅ RÈGLE HOVER CORRIGÉE - Fusionnée depuis ligne 2286 */
.portfolio-item:hover .portfolio-image::after {
    background: rgba(0, 0, 0, 0.3);
}

.portfolio-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-play {
    transform: translate(-50%, -50%) scale(1);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #00CEC8;
}

.portfolio-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.portfolio-tag {
    padding: 0.3rem 1rem;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Testimonials */
.testimonials-slider {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
}

.testimonial-card {
    background: #00a49f;
    color: white;
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 8rem;
    opacity: 0.2;
    font-family: serif;
}

.testimonial-text {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

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

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.testimonial-info {
    text-align: left;
}

.testimonial-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-role {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.team-card {
    text-align: center;
    position: relative;
    cursor: pointer;
}

.team-avatar {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    border: none; /* 🚫 Suppression explicite des bordures */
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
    border-radius: 20px;
}

.team-avatar-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.process-step {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem 2rem 2rem 5rem;
    position: relative;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.process-step::before {
    content: attr(data-step);
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
}

.process-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.process-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.value-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.value-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    margin-bottom: 1rem;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-tertiary);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

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

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

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Equipment */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.equipment-card {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.equipment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.equipment-header {
    background: var(--gradient-1);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.equipment-title {
    font-size: 1.8rem;
    font-weight: 700;
}

.equipment-content {
    padding: 2rem;
}

.equipment-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.equipment-features {
    display: grid;
    gap: 1rem;
}

.equipment-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.equipment-feature-icon {
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Innovations */
.innovation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.innovation-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
}

.innovation-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-1);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: all 0.3s ease;
}

.innovation-card:hover .innovation-icon {
    transform: rotate(10deg) scale(1.1);
    border-radius: 50%;
}

.innovation-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Client Logos */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.client-card {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.client-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.client-name {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.client-card:hover .client-name {
    opacity: 1;
}

/* Case Studies */
.case-studies-grid {
    display: grid;
    gap: 2rem;
    margin-top: 4rem;
}

.case-study-card {
    background: var(--bg-secondary);
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.case-study-image {
    height: 300px;
    background: var(--gradient-3);
    border-radius: 16px; /* 📐 Coins arrondis pour cohérence */
    border: none; /* 🚫 Suppression explicite des bordures */
    position: relative;
    overflow: hidden; /* 🎯 Assurer que le contenu respecte le border-radius */
}

.case-study-content {
    padding: 3rem;
}

.case-study-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.case-study-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--bg-primary);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 94, 0, 0.1);
}

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

.form-submit {
    width: 100%;
}

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

.contact-card {
    background: var(--gradient-1);
    color: white;
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

.contact-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-card-info {
    opacity: 0.9;
    line-height: 1.6;
}

/* Social Links */
.social-grid {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-link:hover {
    background: white;
    transform: translateY(-5px);
    color: var(--primary);
}

/* Map */
.map-container {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    margin-top: 4rem;
}

.map-placeholder {
    height: 400px;
    background: var(--gradient-3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    color: var(--text-primary);
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

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

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

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

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

    .case-study-card {
        grid-template-columns: 1fr;
    }

    .case-study-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    /* ✅ NETTOYAGE : Styles .nav-menu, .nav-link, .mobile-close-wrapper déplacés vers src/css/modules/mobile-menu.css */

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .features-grid,
    .services-grid,
    .portfolio-grid,
    .team-grid,
    .client-grid {
        grid-template-columns: 1fr;
    }

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

    .hero h1 {
        font-size: 3rem;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Hide cursor on touch devices */
@media (hover: none) {
    .cursor,
    .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }

    * {
        cursor: auto !important;
    }
}
/* Styles pour les vidéos */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    opacity: 0.8;
    /* Optimisations de performance */
    will-change: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Style de débogage pour forcer la visibilité */
.hero-background video {
    display: block !important;
    visibility: visible !important;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(10, 10, 10, 0.4) 0%, 
        rgba(10, 10, 10, 0.2) 50%, 
        rgba(10, 10, 10, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.portfolio-video {
    width: 100%;
    height: auto; /* Hauteur automatique pour respecter le ratio naturel */
    object-fit: contain; /* Contenir la vidéo au lieu de la couper */
    border-radius: inherit;
    display: block;
}

.studio-overview-video {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.studio-overview-video:hover {
    transform: scale(1.02);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio-item .portfolio-video {
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-video {
    transform: scale(1.05);
}

/* ✅ DÉFINITION SUPPRIMÉE - DOUBLON CONSOLIDÉ DANS LA DÉFINITION PRINCIPALE (ligne 785) */

@media (max-width: 768px) {
    .hero-video {
        opacity: 0.5;
        /* Optimisation mobile - réduit la qualité pour accélérer le chargement */
        transform: translate(-50%, -50%) scale(1.1);
    }
    
    .studio-overview-video {
        border-radius: 10px;
    }
}

/* Glass button style */
.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-glass::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-glass:hover::before {
    width: 300px;
    height: 300px;
}

@media (max-width: 768px) {
    .btn-glass {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Light mode overrides */
.light-mode .light-only {
    /* Styles for light mode only */
}

/* Showreel Section Styles */
.showreel-section {
    position: relative;
    z-index: 1;
}

.showreel-video {
    transition: all 0.3s ease;
    cursor: pointer;
}

.showreel-video:hover {
    transform: scale(1.02);
}

.showreel-video-container:hover .showreel-overlay {
    opacity: 1;
}

.showreel-overlay:hover {
    pointer-events: auto;
}

.showreel-overlay:hover div {
    transform: scale(1);
    background: rgba(255, 255, 255, 1);
}

/* Responsive Showreel */
@media (max-width: 768px) {
    .showreel-video {
        max-height: 60vh;
    }
    
    .showreel-video-container {
        padding: 0 1rem 3rem !important;
    }
    
    .showreel-overlay div {
        width: 60px;
        height: 60px;
    }
    
    .showreel-overlay span {
        font-size: 1.5rem;
    }
}

/* Performance optimizations */
.showreel-video {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.light-mode .light-only {
    /* Styles for light mode only */
}

/* Sticky Chat Bubble Styles */
.chat-bubble-sticky {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #00CEC8;
    border-radius: 50%;
    padding: 20px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 206, 200, 0.3), 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: bubble-appear 0.6s ease-out 2s both, bubble-float 3s ease-in-out infinite;
    transform-origin: bottom right;
    width: 70px;
    height: 70px;
}

.chat-bubble-sticky:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 206, 200, 0.4), 0 8px 20px rgba(0, 0, 0, 0.25);
}

.chat-bubble-sticky:active {
    transform: scale(0.95);
}

.chat-bubble-icon {
    width: 30px;
    height: 30px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-bubble-text {
    display: none;
}

.chat-bubble-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #00FF88;
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    animation: notification-pulse 2s ease-in-out infinite;
}

/* Animations */
@keyframes bubble-appear {
    0% {
        opacity: 0;
        transform: scale(0) translateY(100px);
    }
    50% {
        transform: scale(1.1) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes bubble-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes icon-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes notification-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .chat-bubble-sticky {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        padding: 15px;
    }
    
    .chat-bubble-icon {
        width: 24px;
        height: 24px;
    }
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    .chat-bubble-notification {
        border-color: #0a0a0a;
    }
}

/* ===== NOUVEAUX TAGS PROFESSIONNELS ===== */
/* Remplacement des emojis par un système de tags moderne */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    gap: 0.5rem;
    transition: all 0.3s ease;
    background: #E5E5E5;
    color: #666666;
}

.tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #D0D0D0;
}

/* Style uniforme gris sobre pour tous les tags */
.tag-tv,
.tag-radio,
.tag-digital,
.tag-production,
.tag-motion,
.tag-3d,
.tag-interview,
.tag-macro,
.tag-packshot,
.tag-saisonnier,
.tag-automobile,
.tag-mode,
.tag-jingle,
.tag-lifestyle,
.tag-corporate,
  .tag-b2b,
  .tag-luxe,
  .tag-horlogerie,
  .tag-premium,
  .tag-entertainment,
  .tag-m6,
  .tag-retail,
  .tag-seasonal,
  .tag-fashion,
  .tag-lifestyle,
  .tag-music,
  .tag-creative,
  .tag-artistic {
      background: #E5E5E5;
      color: #666666;
}

/* Hover state uniforme */
.tag-tv:hover,
.tag-radio:hover,
.tag-digital:hover,
.tag-production:hover,
.tag-motion:hover,
.tag-3d:hover,
.tag-interview:hover,
.tag-macro:hover,
.tag-packshot:hover,
.tag-saisonnier:hover,
.tag-automobile:hover,
.tag-mode:hover,
.tag-jingle:hover,
.tag-lifestyle:hover,
.tag-corporate:hover,
  .tag-b2b:hover,
  .tag-luxe:hover,
  .tag-horlogerie:hover,
  .tag-premium:hover,
  .tag-entertainment:hover,
  .tag-m6:hover,
  .tag-retail:hover,
  .tag-seasonal:hover,
  .tag-fashion:hover,
  .tag-lifestyle:hover,
  .tag-music:hover,
  .tag-creative:hover,
  .tag-artistic:hover {
      background: #D0D0D0;
      color: #444444;
}

/* Mobile close wrapper - hidden on desktop */
.mobile-close-wrapper {
    display: none;
}

/* ===== MODAL VIDÉO ===== */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.video-modal.active {
    opacity: 1;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1800px;
    max-height: 90vh;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.video-modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #333;
    line-height: 1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.video-modal video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    background: #000;
    border-radius: 15px 15px 0 0;
}

.video-modal-info {
    padding: 2rem;
    background: #00CEC8;
    color: white;
    display: none !important;
}

.video-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.video-modal-description {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Mobile adaptations pour le modal */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 10px;
    }
    
    .video-modal-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 24px;
    }
    
    .video-modal video {
        max-height: 60vh;
    }
    
    .video-modal-info {
        padding: 1.5rem;
    }
    
    .video-modal-title {
        font-size: 1.3rem;
    }
    
    .video-modal-description {
        font-size: 1rem;
    }
}

/* Prévenir le scroll de la page quand le modal est ouvert */
body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
}

/* ===== PORTFOLIO ITEMS - AMÉLIORATION HOVER ===== */
.portfolio-item {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-item .portfolio-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 206, 200, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.portfolio-item:hover .portfolio-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* ✅ DÉFINITION SUPPRIMÉE - FUSIONNÉE DANS LA DÉFINITION PRINCIPALE (ligne 785) */

/* Mobile : styles simplifiés pour les interactions */
@media (max-width: 768px) {
    .portfolio-item .portfolio-play {
        opacity: 1;
        background: rgba(0, 206, 200, 0.8);
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .portfolio-item:hover .portfolio-play {
        transform: translate(-50%, -50%);
    }
    
    .portfolio-item:hover {
        transform: none;
        box-shadow: none;
    }
    
    /* ✅ RÈGLE HOVER MOBILE - Déjà définie dans la section principale */
    .portfolio-item:hover .portfolio-image::after {
        background: rgba(0, 0, 0, 0.2);
    }
}

/* ===== GALERIE PHOTOS STYLE INSTAGRAM - ESPACEMENT MINIMAL ===== */

.backstage-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.25rem; /* 📸 Gap réduit style Instagram - Desktop (6x moins d'espace) */
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
    /* 🚀 Optimisations GPU pour scroll fluide */
    will-change: scroll-position;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.photo-item {
    position: relative;
    border-radius: 16px; /* 📐 Conteneur plus arrondi pour desktop */
    overflow: hidden;
    background: linear-gradient(135deg, var(--glass-bg, rgba(255, 255, 255, 0.08)) 0%, var(--glass-bg, rgba(255, 255, 255, 0.03)) 100%);
    border: none; /* 🚫 Suppression complète des bordures */
    cursor: pointer;
    /* 🎯 Optimisations GPU pour animations ultra-fluides */
    will-change: transform, box-shadow;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* 🎬 Animation d'apparition pour images critiques */
.photo-item.critical {
    animation: photoFadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.photo-item.loaded {
    transform: translateY(0) translateZ(0);
}

/* 🎯 Hover ultra-fluide avec optimisations GPU */
.photo-item:hover {
    transform: translateY(-8px) scale(1.02) translateZ(0);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18), 
                0 0 0 1px rgba(0, 206, 200, 0.1);
    /* ✅ Suppression border-color car plus de bordure */
}

.photo-item:active {
    transform: translateY(-4px) scale(1.01) translateZ(0);
    transition-duration: 0.15s;
}

.photo-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px; /* 📐 Coins plus arrondis pour desktop */
    border: none; /* 🚫 Suppression explicite des bordures */
    display: block;
    /* 🚀 Optimisations GPU pour zoom fluide */
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-item:hover .photo-image {
    transform: scale(1.05) translateZ(0);
}

/* 🎬 Animation keyframes optimisée GPU */
@keyframes photoFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px) translateZ(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

/* 🔄 Loading state avec shimmer effect */
.photo-item.loading .photo-image {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: photoShimmer 1.5s infinite;
}

@keyframes photoShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ===== STYLES PROGRESSIVE GALLERY ===== */

/* Classes de priorité pour chargement progressif */
.photo-mobile-core {
    /* Photos toujours visibles (1-6) - mobile et desktop */
    display: block !important;
}

.photo-desktop-plus {
    /* Photos visibles sur desktop seulement (7-12) */
    display: block !important;
}

.photo-expandable {
    /* Photos cachées par défaut (13+) */
    display: none !important;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 🔥 SPÉCIFICITÉ MAXIMALE pour forcer l'affichage des expanded */
.backstage-gallery .photo-expandable.expanded {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Bouton "Voir plus" */
.btn-expand-gallery {
    position: relative;
    overflow: hidden;
}

.btn-expand-gallery::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 150%;
    height: 150%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.btn-expand-gallery:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.btn-expand-gallery:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 206, 200, 0.4);
}

.btn-expand-gallery:active {
    transform: translateY(0);
    transition-duration: 0.1s;
}

/* Responsive design optimisé */
@media (max-width: 1200px) {
    .backstage-gallery {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 0.2rem; /* 📸 Gap réduit style Instagram - Tablettes */
    }
}

@media (max-width: 768px) {
    .backstage-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.3rem; /* 📸 Gap doublé style Instagram - Mobile */
        padding: 0.8rem; /* 📸 Padding doublé pour optimiser l'espace photo */
    }
    
    .photo-item {
        border-radius: 14px; /* 📐 Conteneur plus arrondi mobile */
        border: none; /* 🚫 Pas de bordure sur le conteneur */
    }
    
    .photo-image {
        height: 200px;
        border-radius: 12px; /* 📐 Coins plus arrondis pour mobile */
        border: none; /* 🚫 Suppression explicite des bordures mobile */
    }
    
    /* Progressive Gallery Mobile : Cacher les photos desktop-plus */
    .backstage-gallery .photo-desktop-plus {
        display: none !important;
    }
    
    /* Mobile : Bouton "Voir plus" adapté */
    .btn-expand-gallery {
        padding: 0.8rem 2rem !important;
        font-size: 0.9rem !important;
    }
    
    .gallery-expand-container {
        margin-top: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .backstage-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.24rem; /* 📸 Gap doublé style Instagram - Petits mobiles */
        padding: 0.6rem; /* 📸 Padding doublé pour équilibrer l'espace photo */
    }
    
    .photo-image {
        height: 180px;
        border-radius: 12px; /* 📐 Maintenir coins arrondis sur très petits écrans */
        border: none; /* 🚫 Pas de bordure sur très petits écrans */
    }
}

/* Performance et accessibilité */
@media (prefers-reduced-motion: reduce) {
    .photo-item,
    .photo-image {
        transition: none;
    }
    
    .photo-item:hover {
        transform: none;
    }
}

@media (hover: none) and (pointer: coarse) {
    .photo-item:hover {
        transform: none;
        box-shadow: none;
    }
    
    .photo-item:hover .photo-image {
        transform: none;
    }
}

/* ===== GALERIE PAGE D'ACCUEIL - SANS BORDS ARRONDIS ===== */

/* 🎯 Spécifique à la galerie backstage de la page d'accueil */
.backstage-gallery .photo-item {
    border-radius: 0 !important; /* 📐 Suppression des bords arrondis galerie accueil */
}

.backstage-gallery .photo-image {
    border-radius: 0 !important; /* 📐 Suppression des bords arrondis galerie accueil */
}

/* 📱 Responsive - Maintenir absence de bords arrondis sur mobile */
@media (max-width: 768px) {
    .backstage-gallery .photo-item {
        border-radius: 0 !important;
    }
    
    .backstage-gallery .photo-image {
        border-radius: 0 !important;
    }
}

@media (max-width: 480px) {
    .backstage-gallery .photo-image {
        border-radius: 0 !important;
    }
}

/* ===== LIGHTBOX BELINDA PROFESSIONNEL AVEC ZOOM ===== */

/* 🚀 Overlay optimisé GPU */
.belinda-lightbox-overlay {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    /* Optimisations GPU pour overlay */
    will-change: opacity;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* 🎯 Container optimisé pour animations fluides */
.belinda-lightbox-container {
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* 🔍 Image wrapper avec zoom optimisé GPU */
.belinda-lightbox-image-wrapper {
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.belinda-lightbox-image-wrapper.zoomed {
    cursor: grab;
}

.belinda-lightbox-image-wrapper.zoomed:active {
    cursor: grabbing;
}

/* 📸 Image avec optimisations zoom */
.belinda-lightbox-image {
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: opacity 0.3s ease;
    transform-origin: center center;
}

/* 🎛️ Contrôles de zoom ultra-fluides - SUPPRIMÉS */
.belinda-zoom-controls {
    display: none !important; /* ❌ SUPPRESSION COMPLÈTE DES CONTRÔLES DE ZOOM */
}

.belinda-zoom-controls button {
    display: none !important; /* ❌ BOUTONS DE ZOOM SUPPRIMÉS */
}

/* 🎯 Navigation avec focus amélioré */
.belinda-lightbox-nav:focus,
.belinda-lightbox-close:focus,
.belinda-zoom-controls button:focus {
    outline: 2px solid #00CEC8;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 206, 200, 0.2);
}

.belinda-lightbox-counter {
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* 📱 Optimisations mobiles avancées */
@media (max-width: 768px) {
    .belinda-lightbox-close {
        width: 45px !important;
        height: 45px !important;
        font-size: 20px !important;
        top: 15px !important;
        right: 15px !important;
    }
    
    .belinda-lightbox-counter {
        font-size: 12px !important;
        padding: 6px 12px !important;
        top: 15px !important;
    }
    
    /* Contrôles zoom adaptés mobile */
    .belinda-zoom-controls {
        bottom: 80px !important; /* Éviter zone navigation mobile */
        right: 15px !important;
    }
    
    .belinda-zoom-controls button {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
    
    /* Réduire animations pour performances mobiles */
    .photo-item:hover {
        transform: translateY(-4px) scale(1.01) translateZ(0);
    }
    
    .photo-item:hover .photo-image {
        transform: scale(1.03) translateZ(0);
    }
}

/* 📱 Optimisations très petits écrans */
@media (max-width: 480px) {
    .belinda-zoom-controls {
        bottom: 70px !important;
        right: 10px !important;
    }
    
    .belinda-zoom-controls button {
        width: 35px !important;
        height: 35px !important;
        font-size: 14px !important;
    }
}

/* ⚡ Mode haute performance pour connexions lentes */
@media (prefers-reduced-motion: reduce) {
    .photo-item,
    .photo-image,
    .belinda-zoom-controls button,
    .belinda-lightbox-overlay,
    .belinda-lightbox-container,
    .belinda-lightbox-image-wrapper,
    .belinda-lightbox-image {
        transition: none !important;
        animation: none !important;
        will-change: auto !important;
    }
    
    .photo-item:hover,
    .photo-item:hover .photo-image {
        transform: none !important;
    }
}

/* 🖱️ Optimisations pour devices tactiles uniquement */
@media (hover: none) and (pointer: coarse) {
    .photo-item:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
    
    .photo-item:hover .photo-image {
        transform: none;
    }
    
    .belinda-zoom-controls button:hover {
        transform: none !important;
    }
}

/* ✅ NETTOYAGE : Section UX MOBILE PHASE 4 supprimée - remplacée par src/css/modules/mobile-menu.css */

/* ===== OPTIMISATIONS PERFORMANCE (fusionnées depuis critical.css) ===== */

/* Import fonts sécurisé via Google Fonts API */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ===== OPTIMISATIONS GPU ===== */
.hero,
nav,
.loader,
.nav-menu,
.logo-icon,
.portfolio-video {
    will-change: transform;
    transform: translateZ(0);
}

/* Optimisations critiques pour interaction */
.nav-link:hover::before,
.contact-btn::before,
.logo-icon {
    will-change: transform, opacity;
}

/* Optimisations mémoire - retirer will-change après animation */
.hero.loaded,
.loader.hidden {
    will-change: auto;
}

/* Optimisations animations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== ACCESSIBILITÉ AVANCÉE ===== */

/* Screen reader only - Texte accessible mais invisible */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Focus visible amélioré pour l'accessibilité */
*:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6) !important;
    outline-offset: 2px !important;
}

*:focus:not(:focus-visible) {
    outline: none !important;
}

/* Focus spécifique pour les liens de navigation */
.nav-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6) !important;
    outline-offset: 2px !important;
    border-radius: 4px;
}

.nav-link:focus:not(:focus-visible) {
    outline: none !important;
}

/* Focus pour le bouton hamburger */
/* ✅ BEM : .mobile-menu-toggle supprimé - Remplacé par .hamburger-btn (BEM) */

/* Focus pour le logo */
.logo:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6) !important;
    outline-offset: 2px !important;
    border-radius: 8px;
}

.logo:focus:not(:focus-visible) {
    outline: none !important;
}

/* Focus pour les boutons */
.contact-btn:focus-visible,
.btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8) !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2) !important;
}

.contact-btn:focus:not(:focus-visible),
.btn:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

/* ===== DARK MODE SYSTÈME ===== */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #FFFFFF;
        --text-secondary: #B0B0B0;
        --bg-primary: #000000;
        --bg-secondary: #1A1A1A;
        --glass-bg: rgba(20, 20, 20, 0.7);
        --glass-border: rgba(255, 255, 255, 0.1);
        --shadow-color: rgba(0, 0, 0, 0.3);
    }
    
    /* Amélioration du contraste pour les éléments focus */
    .contact-btn:focus-visible,
    .btn:focus-visible {
        outline: 2px solid rgba(255, 255, 255, 0.8) !important;
        outline-offset: 2px !important;
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3) !important;
    }
    
    .contact-btn:focus:not(:focus-visible),
    .btn:focus:not(:focus-visible) {
        outline: none !important;
        box-shadow: none !important;
    }
}

/* 🚫 DÉSACTIVATION ZOOM NATIF MOBILE - NOUVELLE SECTION */

/* Désactiver pinch-to-zoom sur le lightbox */
.belinda-lightbox-overlay {
    touch-action: none; /* Bloquer tous les gestes natifs */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.belinda-lightbox-image-wrapper {
    touch-action: pan-x; /* Seul pan horizontal autorisé */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.belinda-lightbox-image {
    touch-action: none; /* Pas de zoom sur l'image */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none; /* Pas d'interaction directe avec l'image */
}

/* 🔄 ANIMATIONS DE GLISSEMENT AMÉLIORÉES */

/* Animation de transition fluide entre images */
.belinda-lightbox-image {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Animation de feedback visuel pendant swipe */
.belinda-lightbox-image-wrapper {
    transition: opacity 0.2s ease-out;
}

/* ===== VIDÉOS MOBILE - PLEINE LARGEUR SANS BORDS ARRONDIS ===== */

/* 📱 Mobile : Vidéos pleine largeur sans bordures arrondies */
@media (max-width: 768px) {
    /* Grille portfolio - optimisée pour vidéos pleine largeur */
    .portfolio-grid {
        padding: 0 !important; /* 🎯 Suppression padding pour pleine largeur */
        margin: 0 !important;
        gap: 0.2rem !important; /* 🎯 Gap minimal pour lisibilité entre vidéos */
    }
    
    /* Portfolio vidéos - sans bords arrondis et pleine largeur */
    .portfolio-video {
        border-radius: 0 !important; /* 🚫 Suppression bords arrondis mobile */
        width: 100% !important;
    }
    
    .portfolio-image {
        border-radius: 0 !important; /* 🚫 Suppression bords arrondis conteneur */
        margin: 0 !important;
        padding: 0 !important; /* 🎯 Suppression padding interne */
    }
    
    .portfolio-image video {
        border-radius: 0 !important; /* 🚫 Suppression bords arrondis vidéo */
        width: 100% !important;
    }
    
    /* Container portfolio - pleine largeur */
    .portfolio-item {
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 0 !important; /* 🎯 Suppression padding pour pleine largeur */
        width: 100% !important;
    }
    
    /* Section conteneurs avec vidéos - permettre pleine largeur */
    section:has(.portfolio-video) .container,
    section:has(.showreel-video) .container,
    section:has(.hero-video) .container {
        padding: 0 !important; /* 🎯 Suppression padding container pour vidéos pleine largeur */
        max-width: 100% !important;
    }
    
    /* Fallback pour navigateurs ne supportant pas :has() */
    .showreel-section .container,
    .portfolio-section .container,
    .hero .container {
        padding: 0 !important; /* 🎯 Suppression padding container pour vidéos pleine largeur */
        max-width: 100% !important;
    }
    
    /* Video modal - pleine largeur mobile */
    .video-modal video {
        border-radius: 0 !important; /* 🚫 Suppression bords arrondis modal mobile */
        width: 100% !important;
    }
    
    .video-modal-content {
        border-radius: 0 !important; /* 🚫 Suppression bords arrondis conteneur modal */
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Studio overview video - sans bords arrondis */
    .studio-overview-video {
        border-radius: 0 !important; /* 🚫 Suppression bords arrondis studio mobile */
    }
    
    /* Showreel vidéos - sans bords arrondis */
    .showreel-video {
        border-radius: 0 !important; /* 🚫 Suppression bords arrondis showreel mobile */
    }
    
    /* Hero video - sans bords arrondis */
    .hero-video {
        border-radius: 0 !important; /* 🚫 Suppression bords arrondis hero mobile */
    }
    
    .hero-background video {
        border-radius: 0 !important; /* 🚫 Suppression bords arrondis hero background mobile */
    }
}

/* 📱 Très petits écrans - maintenir sans bords arrondis */
@media (max-width: 480px) {
    .portfolio-video,
    .portfolio-image video,
    .video-modal video,
    .studio-overview-video,
    .showreel-video,
    .hero-video,
    .hero-background video {
        border-radius: 0 !important; /* 🚫 Maintenir suppression bords arrondis très petits écrans */
    }
    
    .portfolio-item,
    .portfolio-image,
    .video-modal-content {
        border-radius: 0 !important; /* 🚫 Conteneurs sans bords arrondis très petits écrans */
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* 📱 OPTIMISATIONS MOBILES SPÉCIFIQUES */

@media (hover: none) and (pointer: coarse) {
    /* Sur dispositifs tactiles uniquement */
    .belinda-lightbox-overlay {
        backdrop-filter: blur(2px); /* Réduire blur pour performances */
        -webkit-backdrop-filter: blur(2px);
    }
    
    .belinda-lightbox-container {
        transform: scale(1); /* Pas d'animation de scale sur mobile */
    }
    
    /* Adapter la taille des éléments pour faciliter les interactions */
    .belinda-lightbox-close {
        width: 50px !important;
        height: 50px !important;
        font-size: 22px !important;
    }
    
    .belinda-lightbox-counter {
        font-size: 14px !important;
        padding: 10px 16px !important;
    }
}
