/* Reset et base */
:root {
    /* Palette de couleurs thème sombre */
    --color-black: #0a0a0a;
    --color-dark-grey: #1a1a1a;
    --color-medium-grey: #2d2d2d;
    --color-light-grey: #404040;
    --color-very-light-grey: #525252;
    --color-white: #f5f5f5;
    --color-text-primary: #e5e5e5;
    --color-text-secondary: #a3a3a3;
    --color-accent: #6366f1;
    --color-accent-rgb: 99, 102, 241;
    --color-accent-light: #818cf8;
    --color-accent-dark: #4f46e5;
    --color-accent-hover: #5b21b6;
    --color-blue: #3b82f6;
    --color-blue-hover: #2563eb;
    --color-blue-light: #60a5fa;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    
    /* Ombres pour thème sombre */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 15px rgba(0, 0, 0, 0.4);
    --shadow-heavy: 0 8px 25px rgba(0, 0, 0, 0.6);
    --shadow-accent: 0 4px 15px rgba(99, 102, 241, 0.4);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
    --shadow-blue: 0 4px 15px rgba(59, 130, 246, 0.4);
    --shadow-blue-glow: 0 0 20px rgba(59, 130, 246, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-black);
    overflow-x: hidden;
    text-align: justify;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--color-blue);
    color: var(--color-white);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background: var(--color-blue-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-blue-glow);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.01);
    transition: all 0.1s ease;
}

.btn-outline {
    background: transparent;
    color: var(--color-blue);
    border: 2px solid var(--color-blue);
    box-shadow: var(--shadow-light);
}

.btn-outline:hover {
    background: var(--color-blue);
    color: var(--color-white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-blue-glow);
}

.btn-outline:active {
    transform: translateY(-1px) scale(1.01);
    transition: all 0.1s ease;
}

.btn-dark {
    background: var(--color-dark-grey);
    color: var(--color-text-primary);
    box-shadow: var(--shadow-light);
}

.btn-dark:hover {
    background: var(--color-medium-grey);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.btn-dark:active {
    transform: translateY(-1px) scale(1.01);
    transition: all 0.1s ease;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-medium-grey);
    box-shadow: var(--shadow-medium);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-text-primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.logo-image {
    height: 40px;
    width: auto;
    transition: filter 0.3s ease;
}

.logo-image:hover {
    filter: brightness(1.1);
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--color-accent);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
}

.logo-icon:hover {
    transform: rotate(5deg) scale(1.1);
    box-shadow: var(--shadow-accent);
}

.logo-icon span {
    color: var(--color-white);
    font-weight: bold;
    font-size: 1.25rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--color-text-primary);
    transition: color 0.3s ease;
}

.logo-link:hover .logo-text {
    color: var(--color-accent-light);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0.375rem;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(99, 102, 241, 0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover {
    color: var(--color-accent-light);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1002;
    position: relative;
}

@media (max-width: 767px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

.mobile-menu-toggle:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: scale(1.05);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-medium-grey);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--color-blue);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: var(--color-blue);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
    z-index: 1000;
    padding: 6rem 2rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: auto;
    min-width: 80px;
    height: 40px;
    padding: 0 15px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.mobile-close-button:hover, .mobile-close-button:active {
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Augmenter la zone de toucher pour mobile */
.mobile-close-button::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    bottom: -10px;
    left: -10px;
    z-index: -1;
}

.mobile-close-hint {
    position: absolute;
    top: 70px;
    right: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    text-align: right;
    max-width: 150px;
    line-height: 1.3;
    animation: fadeIn 1s ease-in-out;
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Afficher le message d'aide uniquement sur les petits écrans */
@media (max-width: 767px) {
    .mobile-close-hint {
        display: block;
    }
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.mobile-nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    transform: translateX(50px);
    opacity: 0;
    animation: slideInMobile 0.5s ease forwards;
}

.mobile-nav-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-link:nth-child(2) { animation-delay: 0.2s; }
.mobile-nav-link:nth-child(3) { animation-delay: 0.3s; }
.mobile-nav-link:nth-child(4) { animation-delay: 0.4s; }
.mobile-nav-link:nth-child(5) { animation-delay: 0.5s; }

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.mobile-nav-cta {
    margin-top: 2rem;
    transform: translateY(30px);
    opacity: 0;
    animation: slideUpMobile 0.5s ease forwards 0.5s;
}

.mobile-nav-cta .btn {
    width: 100%;
    background: var(--color-accent);
    color: var(--color-white);
    font-weight: 700;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.mobile-nav-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

@keyframes slideInMobile {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideUpMobile {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark-grey) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    height: 110%;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
    animation: heroFloat 20s ease-in-out infinite;
    transform: translate(-5%, -5%);
}

@keyframes heroFloat {
    0%, 100% {
        transform: translate(-5%, -5%) scale(1);
    }
    50% {
        transform: translate(-3%, -3%) scale(1.02);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(26, 26, 26, 0.4) 100%);
    z-index: -1;
    animation: overlayPulse 15s ease-in-out infinite;
}

@keyframes overlayPulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.7;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--color-white);
    max-width: 4xl;
    animation: heroContentFadeIn 1.5s ease-out;
}

@keyframes heroContentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: bold;
    margin-bottom: 2rem;
    line-height: 1.1;
    animation: titleSlideIn 1s ease-out 0.3s both;
    color: var(--color-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.typewriter {
    color: var(--color-blue);
    font-weight: 800;
    position: relative;
    display: inline-block;
    min-width: 200px;
    text-align: left;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.typewriter::after {
    content: '|';
    color: var(--color-accent-light);
    animation: blink 1s infinite;
    font-weight: 800;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes titleSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    animation: subtitleSlideIn 1s ease-out 0.6s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes subtitleSlideIn {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.typing-text {
    color: var(--color-accent);
    font-weight: 600;
    position: relative;
}

.typing-cursor {
    animation: blink 1s infinite;
    color: var(--color-accent);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 3rem;
    max-width: 3xl;
    line-height: 1.6;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    animation: ctaFadeIn 1s ease-out 0.9s both;
}

@keyframes ctaFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--color-dark-grey), var(--color-black));
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.2);
    color: var(--color-accent-light);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.divider {
    width: 4rem;
    height: 2px;
    background: var(--color-accent);
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-text .lead {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.about-text strong {
    color: var(--color-accent-light);
    font-weight: 600;
}

.about-text p {
    color: var(--color-text-secondary);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.stat-item:nth-child(1) {
    background: rgba(99, 102, 241, 0.2);
    color: var(--color-accent-light);
}

.stat-item:nth-child(2) {
    background: var(--color-medium-grey);
    color: var(--color-text-primary);
}

.service-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--color-very-light-grey);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.05);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.2);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.stat-item:nth-child(3) {
    background: rgba(37, 99, 235, 0.05);
    color: var(--color-blue-dark);
}

.stat-item:hover {
    transform: translateY(-2px);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}



/* Content Sections */
.content-sections {
    padding: 5rem 0;
    background: var(--color-black);
}

.content-section {
    margin-bottom: 5rem;
}

.content-section.alt {
    background: var(--color-dark-grey);
    padding: 4rem 0;
    border-radius: 1.5rem;
    margin: 0 1rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-section.alt .content-grid {
    grid-template-columns: 1fr 1fr;
}

.content-text h2 {
    font-size: clamp(1.875rem, 4vw, 2.25rem);
    font-weight: bold;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.content-text p {
    font-size: 1.125rem;
    color: var(--color-white);
    line-height: 1.6;
}

.visual-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 1rem;
    height: 20rem;
    position: relative;
    overflow: hidden;
}

.visual-card.evenements-card {
    background-image: url('images/Événements sur mesure.jpg');
}

.visual-card.materiel-card {
    background-image: url('images/Galerie/scene.jpg');
}

.visual-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    background: var(--color-very-light-grey);
}

.map-header {
    text-align: center;
    margin-bottom: 3rem;
}

.map-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.map-header p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.map-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .map-section {
        padding: 3rem 0;
    }
    
    .map-header h2 {
        font-size: 2rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

/* Contact Page Styles */
.contact-hero {
    position: relative;
    background-image: url('images/Matériel professionnel.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-white);
    padding: 8rem 0 4rem;
    text-align: center;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(26, 26, 26, 0.5) 100%);
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.contact-section {
    padding: 5rem 0;
    background: var(--color-black);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-map {
    position: sticky;
    top: 2rem;
}

.map-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

.contact-info {
    background: var(--color-dark-grey);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-light);
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.25rem;
    width: 2rem;
    text-align: center;
}

.contact-item strong {
    display: block;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--color-medium-grey);
    margin: 0;
}

.contact-item a {
    color: var(--color-accent-light);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form-container {
    background: var(--color-dark-grey);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-light);
}

.contact-form-container h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.contact-form-container > p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--color-medium-grey);
    border-radius: 0.5rem;
    font-size: 1rem;
    background: var(--color-black);
    color: var(--color-text-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row !important;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--color-medium-grey);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    margin-top: 1rem;
}

.nav-link.active {
    color: var(--color-accent-light);
    font-weight: 600;
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 6rem 0 3rem;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-map {
        position: static;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding: 1.5rem;
    }

    /* About Page Mobile Styles */
    .about-hero {
        padding: 80px 0 60px;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .about-hero .hero-subtitle {
        font-size: 1.1rem;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .story-content h2 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-values h2 {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        padding: 2rem;
    }

    .about-team h2 {
        font-size: 2rem;
    }

    .org-chart {
        padding: 0 1rem;
    }

    .org-level.level-2 {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .org-level.level-3 {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .org-member {
        min-width: 280px;
        max-width: 300px;
    }

    .org-connector,
    .org-connector.level-2 {
        display: none;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    background: var(--color-black);
    color: var(--color-text-primary);
    padding: 4rem 0;
    border-top: 1px solid var(--color-medium-grey);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
}

.footer-main h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-main p {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    max-width: 24rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.footer-logo-image:hover {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transform: scale(1.05);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--color-dark-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-link img {
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

.social-link:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-text-primary);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.contact-icon {
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-item p {
    color: var(--color-text-secondary);
    margin: 0;
}

.contact-item a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--color-text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--color-medium-grey);
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.copyright {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.copyright p {
    margin: 0.25rem 0;
}

.developer-credit {
    font-size: 0.85rem;
    opacity: 0.8;
}

.developer-credit strong {
    color: var(--color-accent-light);
    font-weight: 600;
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(45, 45, 45, 0.9) 100%), url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
}

.about-hero .hero-content {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero .hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

.about-story {
    padding: 80px 0;
    background: var(--color-dark-grey);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--color-accent);
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--color-medium-grey);
    border-radius: 12px;
    border: 1px solid var(--color-light-grey);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-values {
    padding: 80px 0;
    background: var(--color-black);
}

.about-values h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-accent);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--color-dark-grey);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--color-medium-grey);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.value-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Organigramme Styles */
.about-team {
    padding: 80px 0;
    background: var(--color-dark-grey);
}

.about-team h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.team-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 4rem;
}

.org-chart {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.org-level {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.org-level.level-2 {
    justify-content: space-around;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.org-level.level-3 {
    justify-content: space-around;
    max-width: 900px;
    margin: 0 auto;
}

.org-member {
    background: var(--color-medium-grey);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 2px solid var(--color-light-grey);
    transition: all 0.3s ease;
    min-width: 180px;
}

.org-member.director {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-color: var(--color-accent);
    color: white;
}

.org-member.manager {
    background: var(--color-light-grey);
    border-color: var(--color-accent);
}

.org-member.employee {
    background: var(--color-dark-grey);
    border-color: var(--color-very-light-grey);
    min-width: 160px;
}

.org-member:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.member-avatar {
    width: 60px;
    height: 60px;
    background: var(--color-light-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--color-accent);
}

.member-avatar.small {
    width: 40px;
    height: 40px;
}

.org-member.director .member-avatar {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.member-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.member-info h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--color-text-primary);
}

.member-info p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin: 0;
}

.org-member.director .member-info p {
    color: rgba(255, 255, 255, 0.8);
}

/* Connecteurs d'organigramme */
.org-connector {
    position: relative;
    height: 40px;
    margin: 0 auto;
    width: 600px;
}

.connector-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: var(--color-accent);
}

.connector-hub {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 2px;
    background: var(--color-accent);
}

.connector-branches {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    display: flex;
    justify-content: space-between;
}

.branch {
    width: 2px;
    height: 20px;
    background: var(--color-accent);
}

.org-connector.level-2 {
    height: 60px;
    width: 800px;
}

.connector-branches-bottom {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    display: flex;
    justify-content: space-around;
}

.branch-bottom {
    width: 2px;
    height: 20px;
    background: var(--color-accent);
}

.connector-line-bottom {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: var(--color-accent);
}

.connector-hub-bottom {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 2px;
    background: var(--color-accent);
}

.connector-branches-final {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    display: flex;
    justify-content: space-around;
}

.branch-final {
    width: 2px;
    height: 20px;
    background: var(--color-accent);
}

/* Section Développeur */
.about-developer {
    padding: 20px 0;
    background: var(--color-dark-grey);
    border-top: 1px solid var(--color-medium-grey);
}

.developer-content {
    text-align: center;
}

.developer-content p {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin: 0;
    opacity: 0.7;
}

.developer-link {
    color: var(--color-accent-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
}

.developer-link:hover {
    color: var(--color-accent);
    text-decoration: underline;
    opacity: 1;
}

.about-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark-grey) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design - Mobile First Approach */

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 5rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Services Section Mobile */
    .services-cards-section {
        padding: 5rem 0;
        background: var(--color-black);
    }
    
    .services-cards-section h2 {
        font-size: clamp(2.2rem, 6vw, 2.8rem);
        line-height: 1.2;
        margin-bottom: 1rem;
        padding: 0 1.5rem;
    }
    
    .services-cards-section p {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
        line-height: 1.6;
        margin-bottom: 3rem;
        padding: 0 1.5rem;
    }
    
    /* Services Cards Small Mobile */
    .services-cards-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0 1rem;
        padding: 0;
    }
    
    .service-card-expand {
        display: grid;
        grid-template-columns: 90px 1fr;
        padding: 1.5rem;
        min-height: 140px;
        gap: 1rem;
        background: linear-gradient(135deg, var(--color-dark-grey) 0%, rgba(26, 26, 26, 0.9) 100%);
        border: 1px solid rgba(99, 102, 241, 0.2);
        border-radius: 16px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .service-card-expand::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .service-card-expand:hover::before {
        opacity: 1;
    }
    
    .service-card-expand img {
        width: 90px;
        height: 90px;
        object-fit: cover;
        border-radius: 12px;
        transition: all 0.3s ease;
    }
    
    .service-card-expand__content {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .service-card-expand__head {
        font-size: clamp(1.1rem, 4vw, 1.3rem);
        font-weight: 700;
        color: var(--color-white);
        margin-bottom: 0.75rem;
        letter-spacing: 0.3px;
        line-height: 1.2;
    }
    
    .service-card-expand__text {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
        line-height: 1.4;
        color: var(--color-text-secondary);
    }
    
    .service-card-expand__text p {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }
    
    .service-card-expand__text strong {
        font-size: clamp(0.9rem, 3.2vw, 1rem);
        color: var(--color-white);
        font-weight: 600;
    }
    
    /* Gallery Small Mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    /* Stats Small Mobile */
    .stats {
        gap: 1rem;
        margin: 1.5rem auto 0;
    }
    
    .stat-item {
        padding: 1.25rem 0.75rem;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .nav,
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo-text {
        display: none;
    }
    
    .hero {
        padding: 8rem 0 5rem;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        padding: 0 1.5rem;
        max-width: 100%;
        width: 100%;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 7vw, 3.2rem);
        line-height: 1.1;
        margin-bottom: 1rem;
        letter-spacing: -0.02em;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: clamp(1.1rem, 4vw, 1.4rem);
        margin-bottom: 1.5rem;
        text-align: center;
        opacity: 0.95;
    }
    
    .hero-description {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
        line-height: 1.6;
        margin-bottom: 3rem;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        color: rgba(255, 255, 255, 0.9);
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 12px;
        transition: all 0.3s ease;
        text-align: center;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-buttons .btn-primary {
        background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
        border: none;
        box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    }
    
    .hero-buttons .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    }
    
    .hero-buttons .btn-outline {
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.3);
        color: var(--color-white);
        backdrop-filter: blur(10px);
    }
    
    .hero-buttons .btn-outline:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: var(--color-accent);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
    }
    
    /* About Section Mobile */
    .about {
        padding: 5rem 0;
        background: var(--color-dark-grey);
    }
    
    .about .section-header {
        text-align: center;
        margin-bottom: 3rem;
        padding: 0 1.5rem;
    }
    
    .about .section-header h2 {
        font-size: clamp(2.2rem, 6vw, 2.8rem);
        line-height: 1.2;
        margin-bottom: 1.5rem;
        color: var(--color-white);
        font-weight: 700;
    }
    
    .about .divider {
        width: 80px;
        height: 4px;
        background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
        margin: 0 auto 2rem;
        border-radius: 2px;
    }
    
    .about-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
        padding: 0 1.5rem;
    }
    
    .about-text {
        max-width: 100%;
    }
    
    .about-text .lead {
        font-size: clamp(1.1rem, 4vw, 1.3rem);
        line-height: 1.6;
        margin-bottom: 2rem;
        color: var(--color-white);
        font-weight: 500;
    }
    
    .about-text p {
        font-size: clamp(1rem, 3.5vw, 1.1rem);
        line-height: 1.7;
        color: var(--color-text-secondary);
        margin-bottom: 1.5rem;
    }
    
    /* Stats Mobile */
    .stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
        margin: 0 auto;
        padding: 0;
    }
    
    .stat-item {
        padding: 2rem 1.5rem;
        border-radius: 16px;
        background: linear-gradient(135deg, var(--color-black) 0%, rgba(26, 26, 26, 0.9) 100%);
        border: 1px solid rgba(99, 102, 241, 0.2);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        transform: translateY(0);
        transition: all 0.3s ease;
        text-align: center;
        position: relative;
        overflow: hidden;
    }
    
    .stat-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    }
    
    .stat-item:hover {
        transform: translateY(-5px);
        border-color: var(--color-accent);
        box-shadow: 0 12px 35px rgba(99, 102, 241, 0.2);
    }
    
    .stat-number {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        font-weight: 700;
        color: var(--color-accent);
        margin-bottom: 0.5rem;
        line-height: 1;
    }
    
    .stat-label {
        font-size: clamp(1rem, 3vw, 1.2rem);
        color: var(--color-white);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    /* Services Mobile */
    .services-section {
        padding: 3rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        border-radius: 16px;
        text-align: center;
        margin-bottom: 0;
        background: var(--color-medium-grey);
        border: 1px solid var(--color-light-grey);
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 1rem;
    }
    
    /* Content Sections Mobile */
    .content-sections {
        background: var(--color-dark-grey);
    }
    
    .content-section {
        padding: 5rem 0;
    }
    
    .content-section.alt {
        background: var(--color-black);
    }
    
    .content-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
        padding: 0 1.5rem;
        align-items: center;
    }
    
    .content-text {
        order: 1;
        max-width: 100%;
    }
    
    .content-text h2 {
        font-size: clamp(2rem, 6vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 2rem;
        color: var(--color-white);
        font-weight: 700;
    }
    
    .content-text p {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
        line-height: 1.7;
        color: var(--color-text-secondary);
        max-width: 100%;
        margin: 0 auto;
    }
    
    .content-visual {
        order: 2;
        padding: 0;
    }
    
    .visual-card {
        width: 100%;
        height: 250px;
        border-radius: 16px;
        background-size: cover;
        background-position: center;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .visual-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(192, 132, 252, 0.1) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .visual-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    }
    
    .visual-card:hover::before {
        opacity: 1;
    }
    
    .evenements-card {
        background-image: url('images/Événements sur mesure.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 220px;
        border-radius: 16px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .evenements-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(192, 132, 252, 0.1) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .evenements-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    }
    
    .evenements-card:hover::before {
        opacity: 1;
    }
    
    .materiel-card {
        background-image: url('images/Matériel professionnel.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 220px;
        border-radius: 16px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .materiel-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(192, 132, 252, 0.1) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .materiel-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    }
    
    .materiel-card:hover::before {
        opacity: 1;
    }
    
    /* Alternate layout for second section - Mobile redesign */
    .content-section.alt {
        padding: 4rem 0;
    }
    
    .content-section.alt .content-grid {
        display: block;
        text-align: center;
        padding: 0 1.5rem;
    }
    
    .content-section.alt .content-visual {
        margin-bottom: 2rem;
        order: 1;
    }
    
    .content-section.alt .content-text {
        order: 2;
    }
    
    .content-section.alt .content-text h2 {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
        line-height: 1.3;
        margin-bottom: 1.5rem;
        color: var(--color-white);
        font-weight: 700;
    }
    
    .content-section.alt .content-text p {
        font-size: clamp(1rem, 3.5vw, 1.1rem);
        line-height: 1.7;
        color: var(--color-text-secondary);
        max-width: 100%;
        margin: 0 auto;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-logo-image {
        height: 50px;
    }
    
    .footer-section h3 {
        margin-bottom: 1.5rem;
        font-size: 1.25rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Gallery Section Mobile */
    .gallery-section {
        padding: 5rem 0;
        background: var(--color-black);
    }
    
    .gallery-section h2 {
        font-size: clamp(2.2rem, 6vw, 2.8rem);
        line-height: 1.2;
        margin-bottom: 1rem;
        padding: 0 1.5rem;
    }
    
    .gallery-section p {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
        line-height: 1.6;
        margin-bottom: 3rem;
        padding: 0 1.5rem;
    }
    
    /* Gallery Mobile */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1.5rem;
        margin-top: 2rem;
    }
    
    .gallery-item {
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        aspect-ratio: 1;
        cursor: pointer;
        transition: all 0.3s ease;
        background: var(--color-dark-grey);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .gallery-item:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 12px 30px rgba(99, 102, 241, 0.3);
    }
    
    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all 0.3s ease;
    }
    
    .gallery-item:hover img {
        transform: scale(1.05);
        filter: brightness(1.1);
    }
    
    .gallery-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, rgba(192, 132, 252, 0.8) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .gallery-item:hover .gallery-overlay {
        opacity: 1;
    }
    
    .gallery-icon {
        font-size: 2rem;
        color: var(--color-white);
        transform: scale(0.8);
        transition: transform 0.3s ease;
    }
    
    .gallery-item:hover .gallery-icon {
        transform: scale(1);
    }
    
    /* Gallery Modal Mobile */
    .gallery-modal {
        z-index: 9999;
        padding: 1rem;
    }
    
    .gallery-modal-content {
        max-width: 95vw;
        max-height: 90vh;
        margin: 2rem auto;
        border-radius: 16px;
        overflow: hidden;
        position: relative;
    }
    
    .gallery-modal-image {
        width: 100%;
        height: auto;
        max-height: 70vh;
        object-fit: contain;
    }
    
    .gallery-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
        pointer-events: none;
    }
    
    .gallery-prev,
    .gallery-next {
        background: var(--color-accent);
        color: var(--color-white);
        border: none;
        padding: 1rem;
        border-radius: 50%;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.3s ease;
        min-width: 48px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: auto;
        z-index: 10001;
    }
    
    .gallery-prev:hover,
    .gallery-next:hover {
        background: var(--color-accent-light);
        transform: scale(1.1);
    }
    
    .gallery-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: rgba(0, 0, 0, 0.8);
        color: var(--color-white);
        border: none;
        padding: 0.75rem;
        border-radius: 50%;
        font-size: 1.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10001;
    }
    
    .gallery-close:hover {
        background: var(--color-accent);
        transform: scale(1.1);
    }
    
    /* Contact Page Mobile */
    .contact-hero {
        padding: 6rem 0 3rem;
    }
    
    .contact-hero h1 {
        font-size: clamp(2.5rem, 8vw, 3rem);
        margin-bottom: 1rem;
    }
    
    .contact-hero p {
        font-size: clamp(1rem, 4vw, 1.25rem);
    }
    
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        order: 2;
        text-align: center;
        width: 95%;
        margin: 0 auto;
    }
    
    .contact-form-container {
        order: 1;
        padding: 2rem 1.5rem;
        margin: 0 auto;
        width: 95%;
        border-radius: 20px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }
    
    .contact-form-container h2 {
        font-size: clamp(1.75rem, 6vw, 2rem);
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .contact-form-container > p {
        text-align: center;
        margin-bottom: 2rem;
        font-size: 1rem;
    }
    
    /* Form Mobile Optimizations */
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-group {
        gap: 0.75rem;
    }
    
    .form-group label {
        font-size: 1rem;
        font-weight: 600;
        color: var(--color-dark-grey);
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 12px;
        border: 2px solid var(--color-very-light-grey);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        background: var(--color-very-light-grey);
        width: 100%;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-color: var(--color-accent);
        background: var(--color-black);
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
        transform: translateY(-2px);
    }
    
    .form-group textarea {
        min-height: 140px;
        resize: none;
    }
    
    .contact-form .btn {
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
        font-weight: 700;
        border-radius: 12px;
        margin-top: 1rem;
        box-shadow: var(--shadow-accent);
    }
    
    .contact-form .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    }
    
    /* Contact Info Mobile */
    .contact-info h2 {
        font-size: clamp(1.75rem, 6vw, 2rem);
        margin-bottom: 1.5rem;
    }
    
    .contact-details {
        gap: 2rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-item {
        padding: 1.5rem;
        background: linear-gradient(135deg, var(--color-dark-grey) 0%, rgba(26, 26, 26, 0.9) 100%);
        border-radius: 16px;
        border: 1px solid rgba(99, 102, 241, 0.2);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        text-align: left;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
    }
    
    .contact-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 35px rgba(99, 102, 241, 0.2);
        border-color: var(--color-accent);
    }
    
    .contact-icon {
        font-size: 1.5rem;
        color: var(--color-accent-light);
        margin-right: 1rem;
        min-width: 2rem;
        text-align: center;
    }
    
    .contact-item strong {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        color: var(--color-white);
    }
    
    .contact-item p,
    .contact-item a {
        font-size: 1rem;
        line-height: 1.5;
        color: var(--color-text-secondary);
    }
    
    .contact-item a {
        color: var(--color-accent-light);
    }
    
    .contact-item a:hover {
        color: var(--color-accent);
    }
    
    /* Map Mobile */
    .map-container {
        margin-top: 2rem;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .map-container iframe {
        height: 250px;
        width: 100%;
        border-radius: 12px;
    }
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .logo-text {
        display: block;
    }
}

@media (min-width: 768px) {
    .nav,
    .nav-cta {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .mobile-close-button {
        display: none;
    }
}

/* Gallery Section */
.gallery-section {
    background: var(--color-black);
    padding: 5rem 0;
    color: var(--color-white);
}

.gallery-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.gallery-section p {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-white);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--color-dark-grey);
    aspect-ratio: 4/3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(192, 132, 252, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    font-size: 2rem;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-blue-light), var(--color-blue));
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-icon {
    transform: scale(1.2);
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.gallery-modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-image {
    max-width: 100%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.gallery-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.gallery-close:hover {
    background: rgba(192, 132, 252, 0.8);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.gallery-prev,
.gallery-next {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: linear-gradient(135deg, var(--color-blue-light), var(--color-blue));
    transform: scale(1.1);
}

/* Mini Gallery for Homepage */
.mini-gallery {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
    gap: 2rem;
}

@media (min-width: 768px) {
    .mini-gallery {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1000px;
        gap: 2.5rem;
    }
}

.gallery-cta {
    text-align: center;
    margin-top: 3rem;
}

.gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: var(--color-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    border: 2px solid transparent;
}

.gallery-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
    border-color: rgba(255, 255, 255, 0.2);
}

.gallery-btn svg {
    transition: transform 0.3s ease;
}

.gallery-btn:hover svg {
    transform: translateX(3px);
}

/* Gallery Responsive */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .mini-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 600px;
    }
    
    .gallery-section {
        padding: 3rem 0;
    }
    
    .gallery-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .gallery-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .gallery-nav {
        padding: 0 1rem;
    }
    
    .gallery-prev,
     .gallery-next {
         width: 40px;
         height: 40px;
         font-size: 1.2rem;
     }
 }

/* Services Cards Section */
.services-cards-section {
    background: #000;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
}

/* Default text visibility for desktop */
.service-card-expand__text .desktop-text {
    display: block;
}

.service-card-expand__text .mobile-text {
    display: none;
}

.services-cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5vmin;
    overflow: hidden;
    transform: skew(5deg);
    max-width: 1200px;
    width: 100%;
}

.service-card-expand {
    flex: 1;
    transition: all 1s ease-in-out;
    height: 50vmin;
    position: relative;
    margin-right: 1em;
}

.service-card-expand:last-child {
    margin-right: 0;
}

.service-card-expand__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transition: all 0.5s ease-in-out;
}

.service-card-expand__head {
    color: white;
    background: var(--color-blue);
    padding: 0.5em;
    transform: rotate(-90deg);
    transform-origin: 0% 0%;
    transition: all 0.5s ease-in-out;
    min-width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 1em;
    white-space: nowrap;
    font-weight: bold;
    letter-spacing: 1px;
}

.service-card-expand__text {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out 0.2s;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(30, 30, 30, 0.9));
    backdrop-filter: blur(15px);
    border-radius: 0.8rem;
    margin: 1rem;
    position: absolute;
    bottom: 4rem;
    left: 0;
    right: 0;
    border: 1px solid rgba(192, 132, 252, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.service-card-expand__text p {
    color: var(--color-white);
    margin: 0 0 1rem 0;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
    font-weight: 400;
}

.service-card-expand__text strong {
    color: var(--color-blue-light);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.service-card-expand__text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card-expand__text li {
    color: var(--color-very-light-grey);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.4rem;
    padding-left: 1.2rem;
    position: relative;
}

.service-card-expand__text li::before {
    content: "▸";
    color: var(--color-blue-light);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.service-card-expand:hover {
    flex-grow: 10;
}

.service-card-expand:hover img {
    filter: grayscale(0);
}

.service-card-expand:hover .service-card-expand__head {
    text-align: center;
    top: 1rem;
    bottom: auto;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    font-size: 1.5em;
    transform: rotate(0deg) skew(-5deg);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(192, 132, 252, 0.3);
    left: 1rem;
    right: 1rem;
    min-width: auto;
    width: auto;
    border-radius: 0.5rem;
}

.service-card-expand:hover .service-card-expand__text {
    opacity: 1;
    transform: translateY(0);
}

.service-card-expand img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1s ease-in-out;
    filter: grayscale(100%);
    border-radius: 0.5rem;
}

/* Services Cards Responsive */
@media (max-width: 1024px) {
    .services-cards-container {
        margin: 5vmin;
        transform: skew(3deg);
    }
    
    .service-card-expand {
        height: 60vmin;
    }
    
    .service-card-expand__head {
        font-size: 0.9em;
    }
    
    .service-card-expand:hover .service-card-expand__head {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .services-cards-section {
        padding: 2rem 0;
        min-height: auto;
        background: var(--color-black);
    }
    
    .services-cards-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0 1rem;
        transform: none;
        max-width: 100%;
    }
    
    .service-card-expand {
        display: grid;
        grid-template-columns: 120px 1fr;
        gap: 1rem;
        background: var(--color-dark-grey);
        border-radius: 12px;
        padding: 1.5rem;
        border: 1px solid var(--color-medium-grey);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        height: auto;
        min-height: 140px;
        align-items: center;
        position: relative;
        overflow: visible;
        margin: 0;
    }
    
    .service-card-expand img {
        width: 100%;
        height: 100px;
        object-fit: cover;
        border-radius: 8px;
        filter: brightness(0.9);
        transition: all 0.3s ease;
    }
    
    .service-card-expand__content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: static;
    }
    
    .service-card-expand__head {
        font-size: 1.1rem;
        font-weight: bold;
        color: var(--color-accent-light);
        margin-bottom: 0.5rem;
        transform: none;
        position: static;
        background: none;
        padding: 0;
        text-align: left;
        letter-spacing: 0.3px;
        z-index: auto;
    }
    
    .service-card-expand__text {
        opacity: 1;
        transform: none;
        position: static;
        margin: 0;
        padding: 0;
        background: none;
        backdrop-filter: none;
        color: var(--color-text-secondary);
        font-size: 0.85rem;
        line-height: 1.4;
        transition: none;
        z-index: auto;
        overflow: visible;
        display: block;
    }
    
    .service-card-expand__text .desktop-text {
        display: none;
    }
    
    .service-card-expand__text .mobile-text {
        display: block;
    }
    
    .service-card-expand__text p {
        margin: 0 0 0.75rem 0;
        font-size: 0.85rem;
        line-height: 1.4;
        color: var(--color-text-secondary);
    }
    
    .service-card-expand__text strong {
        color: var(--color-white);
        font-size: 0.9rem;
        font-weight: 600;
        display: inline;
        margin: 0;
    }
    
    .service-card-expand__text ul {
        display: none;
    }
    
    .service-card-expand:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
        border-color: var(--color-accent);
    }
    
    .service-card-expand:hover img {
        filter: brightness(1.1);
        transform: scale(1.02);
    }
    
    .service-card-expand:hover .service-card-expand__head {
        color: var(--color-accent);
    }
    
    .service-card-expand:hover .service-card-expand__text {
        color: var(--color-white);
    }
}

/* About Page Mobile Responsive */
@media (max-width: 768px) {
    .about-hero {
        padding: 100px 0 80px;
        min-height: 60vh;
        display: flex;
        align-items: center;
    }
    
    .about-hero .container {
        width: 100%;
    }
    
    .about-hero .hero-content {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .about-hero h1 {
        font-size: clamp(2.2rem, 7vw, 2.8rem);
        line-height: 1.2;
        margin-bottom: 1.5rem;
        letter-spacing: -0.02em;
    }
    
    .about-hero .hero-subtitle {
        font-size: clamp(1.1rem, 4vw, 1.3rem);
        line-height: 1.4;
        max-width: 90%;
        margin: 0 auto;
        opacity: 0.9;
    }
    
    .about-story {
        padding: 80px 0;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .story-content {
        order: 1;
        padding: 0 1rem;
    }
    
    .story-content h2 {
        font-size: clamp(2rem, 6vw, 2.5rem);
        margin-bottom: 2rem;
        line-height: 1.2;
    }
    
    .story-content p {
        font-size: clamp(1rem, 3.5vw, 1.1rem);
        line-height: 1.6;
        margin-bottom: 1.5rem;
        max-width: 100%;
        color: var(--color-text-secondary);
    }
    
    .story-image {
        order: 2;
        padding: 0 1rem;
    }
    
    .story-image img {
        width: 100%;
        max-width: 400px;
        height: auto;
        border-radius: 16px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
        margin: 0 auto;
        display: block;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .stat-item {
        background: var(--color-medium-grey);
        border: 1px solid var(--color-light-grey);
        border-radius: 16px;
        padding: 2rem 1.5rem;
        text-align: center;
        transition: all 0.3s ease;
    }
    
    .stat-item:hover {
        transform: translateY(-3px);
        border-color: var(--color-accent);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
    }
    
    .stat-number {
        font-size: clamp(2.5rem, 8vw, 3rem);
        font-weight: 700;
        color: var(--color-accent);
        margin-bottom: 0.5rem;
        line-height: 1;
    }
    
    .stat-label {
        font-size: clamp(0.9rem, 3vw, 1rem);
        color: var(--color-text-secondary);
        font-weight: 500;
    }
    
    .about-values {
        padding: 80px 0;
    }
    
    .about-values .container {
        padding: 0 1rem;
    }
    
    .about-values h2 {
        font-size: clamp(2rem, 6vw, 2.5rem);
        text-align: center;
        margin-bottom: 3rem;
        line-height: 1.2;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .value-card {
        background: var(--color-medium-grey);
        border: 1px solid var(--color-light-grey);
        border-radius: 20px;
        padding: 2.5rem 2rem;
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .value-card:hover {
        transform: translateY(-5px);
        border-color: var(--color-accent);
        box-shadow: 0 8px 30px rgba(99, 102, 241, 0.2);
    }
    
    .value-icon {
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        transition: all 0.3s ease;
    }
    
    .value-card:hover .value-icon {
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    }
    
    .value-icon svg {
        width: 40px;
        height: 40px;
        color: var(--color-white);
    }
    
    .value-card h3 {
        font-size: clamp(1.3rem, 4vw, 1.5rem);
        font-weight: 600;
        color: var(--color-white);
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .value-card p {
        font-size: clamp(0.95rem, 3vw, 1rem);
        line-height: 1.6;
        color: var(--color-text-secondary);
        margin: 0;
    }
    
    .about-team {
        padding: 80px 0;
    }
    
    .about-team .container {
        padding: 0 1rem;
    }
    
    .about-team h2 {
        font-size: clamp(2rem, 6vw, 2.5rem);
        text-align: center;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .team-intro {
        text-align: center;
        font-size: clamp(1rem, 3.5vw, 1.1rem);
        color: var(--color-text-secondary);
        margin-bottom: 3rem;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .org-chart {
        padding: 0;
        max-width: 100%;
    }
    
    .org-level {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .org-level.level-1 {
        margin-bottom: 2rem;
    }
    
    .org-level.level-2 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
        margin: 0 auto 2rem;
    }
    
    .org-level.level-3 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .org-member {
        background: var(--color-medium-grey);
        border: 1px solid var(--color-light-grey);
        border-radius: 16px;
        padding: 1.5rem;
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .org-member:hover {
        transform: translateY(-3px);
        border-color: var(--color-accent);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
    }
    
    .org-member.director {
        background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
        border-color: var(--color-accent);
        color: var(--color-white);
    }
    
    .org-member.manager {
        background: var(--color-dark-grey);
        border-color: var(--color-medium-grey);
    }
    
    .org-member.employee {
        background: var(--color-medium-grey);
        border-color: var(--color-light-grey);
    }
    
    .member-avatar {
        width: 60px;
        height: 60px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
        transition: all 0.3s ease;
    }
    
    .org-member:hover .member-avatar {
        transform: scale(1.1);
    }
    
    .member-avatar.small {
        width: 50px;
        height: 50px;
    }
    
    .member-avatar svg {
        color: var(--color-accent-light);
    }
    
    .org-member.director .member-avatar svg {
        color: var(--color-white);
    }
    
    .member-info h3 {
        font-size: clamp(1.1rem, 3.5vw, 1.2rem);
        font-weight: 600;
        color: var(--color-white);
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    
    .member-info h4 {
        font-size: clamp(1rem, 3vw, 1.1rem);
        font-weight: 600;
        color: var(--color-white);
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    
    .member-info p {
        font-size: clamp(0.85rem, 2.5vw, 0.9rem);
        color: var(--color-text-secondary);
        margin: 0;
        line-height: 1.3;
    }
    
    .org-member.director .member-info p {
        color: rgba(255, 255, 255, 0.8);
    }
    
    /* Masquer tous les connecteurs sur mobile */
    .org-connector,
    .org-connector.level-2,
    .connector-line,
    .connector-hub,
    .connector-branches,
    .branch,
    .connector-branches-bottom,
    .branch-bottom,
    .connector-line-bottom,
    .connector-hub-bottom,
    .connector-branches-final,
    .branch-final {
        display: none;
    }
    
    .about-cta {
        padding: 80px 0;
    }
    
    .about-cta .container {
        padding: 0 1rem;
    }
    
    .cta-content {
        text-align: center;
        max-width: 500px;
        margin: 0 auto;
        padding: 3rem 2rem;
        background: var(--color-medium-grey);
        border: 1px solid var(--color-light-grey);
        border-radius: 24px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    }
    
    .cta-content h2 {
        font-size: clamp(2rem, 6vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 1.5rem;
        background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .cta-content p {
        font-size: clamp(1rem, 3.5vw, 1.1rem);
        line-height: 1.6;
        color: var(--color-text-secondary);
        margin-bottom: 2rem;
    }
    
    .cta-content .btn {
        padding: 1rem 2.5rem;
        font-size: clamp(1rem, 3vw, 1.1rem);
        font-weight: 600;
        border-radius: 12px;
        min-width: 200px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    }
    
    .cta-content .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    }
}

/* FAQ Section Styles */
.faq-section {
    padding: 80px 0;
    background: var(--color-dark-grey);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-medium-grey);
    border: 1px solid var(--color-light-grey);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-accent);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.faq-question:hover {
    background: var(--color-light-grey);
}

.faq-item.active .faq-question {
    background-color: var(--color-light-grey);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
    line-height: 1.4;
    flex: 1;
    padding-right: 1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-accent);
    transition: transform 0.4s ease-in-out;
    min-width: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    height: 30px;
    width: 30px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background-color: rgba(var(--color-accent-rgb), 0.1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    background-color: var(--color-bg-secondary);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* La hauteur max est maintenant définie dynamiquement par JavaScript */

.faq-item.active .faq-answer {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Mobile FAQ Styles */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0 40px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        padding: 0 1rem;
        text-align: center;
    }
    
    .section-header p {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 1rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .faq-container {
        padding: 0 1rem;
        width: 100%;
    }
    
    .faq-item {
        margin-bottom: 1rem;
        border-radius: 10px;
    }
    
    .faq-question {
        padding: 1.2rem;
        align-items: flex-start;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 0.8rem;
        line-height: 1.4;
    }
    
    .faq-toggle {
        font-size: 1.3rem;
        min-width: 24px;
        margin-top: 0.1rem;
    }
    
    .faq-answer p {
        padding: 0 1.2rem 1.2rem;
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Extra Small Mobile FAQ Styles */
@media (max-width: 480px) {
    .faq-section {
        padding: 40px 0 30px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        padding: 0 0.5rem;
        margin-bottom: 0.8rem;
    }
    
    .section-header .divider {
        margin-bottom: 1rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .faq-container {
        padding: 0 0.5rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
        padding-right: 0.5rem;
    }
    
    .faq-toggle {
        font-size: 1.2rem;
        min-width: 20px;
    }
    
    .faq-answer p {
        padding: 0 1rem 1rem;
        font-size: 0.9rem;
        line-height: 1.5;
    }
}