/* ULTEAMDP - Styles modernes et dynamiques */

/* ============================================
   VARIABLES - Palette sombre avec contrastes
   ============================================ */
:root {
    /* Couleurs principales - Thème sombre */
    --dark-bg: #0a0a0a;
    --dark-secondary: #1a1a1a;
    --dark-tertiary: #2a2a2a;
    --dark-card: #1f1f1f;

    /* Couleurs d'accent - Contrastes vifs */
    --accent-primary: #ff6b35;
    --accent-secondary: #f7931e;
    --accent-gold: #ffd700;
    --accent-blue: #00d4ff;

    /* Texte */
    --text-primary: #ffffff;
    --text-secondary: #b4b4b4;
    --text-muted: #6b6b6b;

    /* États */
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;

    /* Ombres */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Typographie & UI (personnalisables via admin) */
    --font-size-base: 16px;
    --btn-radius: 50px;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base, 16px);
}

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

/* Justification globale des paragraphes */
p {
    text-align: justify;
}

/* Exceptions : garder centré pour les éléments spécifiques */
.section-header p,
.hero-content p,
.cta-content p,
.stat-item p,
.gallery-hero p,
.page-hero p,
.testimonial-text,
.btn,
.alert {
    text-align: center;
}

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

main {
    min-height: 100vh;
    padding: 0;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar {
    padding: 1.2rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: all var(--transition-normal);
}

.logo a:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transition: width var(--transition-normal);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle Button (Hamburger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
    transition: all var(--transition-normal);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================
   HERO SECTION - Page d'accueil
   ============================================ */

/* Hero Section */
.hero-wrapper {
    position: relative;
}

.hero-home {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    overflow: hidden;
}

/* Hero Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Transition slide (alternative au fade) */
.hero-slideshow.transition-slide .hero-slide {
    opacity: 1;
    transform: translateX(100%);
    transition: transform 1s ease-in-out;
}

.hero-slideshow.transition-slide .hero-slide.active {
    transform: translateX(0);
}

.hero-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.4) 50%, rgba(10, 10, 10, 0.9) 100%);
}

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

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 400;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-main {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 50%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -2px;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, var(--accent-primary), transparent);
}

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

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

/* ============================================
   SECTIONS
   ============================================ */
.services-preview,
.about-preview,
.cta-section {
    padding: 100px 0;
    position: relative;
}

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   INTRODUCTION SECTION
   ============================================ */
.intro-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.intro-content {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.3;
}

.intro-text {
    columns: 1;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.intro-text p strong {
    color: var(--accent-primary);
    font-weight: 600;
}

@media (min-width: 768px) {
    .intro-section {
        padding: 100px 0;
    }

    .intro-content h2 {
        text-align: left;
    }
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-preview {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-secondary) 50%, var(--dark-bg) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--dark-card);
    border-radius: 16px;
    position: relative;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 107, 53, 0.3);
}

.service-card.featured {
    border: 2px solid var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(247, 147, 30, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.service-icon svg {
    width: 30px;
    height: 30px;
    color: var(--accent-primary);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.service-location {
    color: var(--accent-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.service-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
}

.service-link:hover {
    gap: 1rem;
    color: var(--accent-secondary);
}

/* ============================================
   ABOUT PREVIEW
   ============================================ */
.about-preview {
    background: var(--dark-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.lead {
    font-size: 1.3rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: justify;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--dark-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

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

.about-image {
    position: relative;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--dark-tertiary), var(--dark-card));
    border-radius: 16px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-bg) 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: var(--btn-radius, 50px);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.6);
}

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

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

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

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

.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* ============================================
   FORMS
   ============================================ */
.contact-form {
    max-width: 600px;
    margin: 2rem 0;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.alert.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-color: var(--success);
}

.alert.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border-color: var(--error);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--dark-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    padding: 3rem 0;
    text-align: center;
}

/* ============================================
   CONTENT PAGES
   ============================================ */
.content {
    padding: 140px 0 80px;
    min-height: calc(100vh - 200px);
}

.content h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    text-align: justify;
}

/* ============================================
   RESPONSIVE DESIGN - Mobile First
   ============================================ */

/* Tablets */
@media (max-width: 1024px) {
    .navbar {
        padding: 1rem 0;
    }

    .navbar .container {
        justify-content: space-between !important;
        align-items: center !important;
        flex-direction: row !important;
    }

    .logo {
        text-align: left;
        width: auto;
        margin: 0;
    }

    .mobile-menu-toggle {
        display: flex !important;
        order: 2;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: var(--dark-card);
        flex-direction: column;
        gap: 0;
        padding: 80px 0 2rem 0;
        margin: 0;
        transition: right var(--transition-normal);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        overflow-y: auto;
        order: 3;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu a {
        display: block;
        padding: 1.25rem 2rem;
        text-align: left;
        font-size: 1rem;
    }

    .nav-menu a::after {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }

    .hero-home {
        height: auto;
        min-height: 100vh;
        padding: 120px 20px 60px;
    }

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

    .hero-cta .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .cta-buttons .btn {
        width: 100%;
    }

    .services-preview,
    .about-preview,
    .cta-section {
        padding: 60px 0;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .service-card {
        padding: 1.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }
}

/* ============================================
   SERVICE IMAGES & PLACEHOLDERS
   ============================================ */
.service-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    margin: -1px -1px 0 -1px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.7) 100%);
    pointer-events: none;
}

.image-placeholder-card {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-tertiary), var(--dark-card));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-muted);
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.image-placeholder-card svg {
    width: 60px;
    height: 60px;
    opacity: 0.5;
}

.image-placeholder-card span {
    font-size: 0.9rem;
    text-align: center;
}

.service-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content .service-icon {
    margin-bottom: 1.5rem;
}

.service-content .service-description {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.about-image .image-placeholder {
    width: 100%;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: 100px 0;
    background: var(--dark-secondary);
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

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

.testimonial-card {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.2);
    box-shadow: var(--shadow-md);
}

.quote-icon {
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--accent-primary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.author-rating {
    color: #ffc107;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    letter-spacing: 2px;
}

.testimonials-cta {
    text-align: center;
    margin-top: 3rem;
}

.testimonials-cta .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.testimonials-cta .btn-outline::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.testimonials-cta .btn-outline:hover::after {
    transform: translateX(4px);
}

/* ============================================
   SMOOTH SCROLLING & ANIMATIONS
   ============================================ */

/* Attributs data-aos pour animations */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.6s;
    transition-timing-function: ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* Délais d'animation */
[data-aos-delay="100"] {
    transition-delay: 0.1s;
}

[data-aos-delay="200"] {
    transition-delay: 0.2s;
}

[data-aos-delay="300"] {
    transition-delay: 0.3s;
}

[data-aos-delay="400"] {
    transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================
   ACTIVITY PAGES
   ============================================ */
.activity-hero {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 150px 20px 80px;
}

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

.activity-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.activity-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.activity-breadcrumb a:hover {
    color: var(--accent-primary);
}

.activity-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.activity-tagline {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.activity-location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.activity-location svg {
    color: var(--accent-primary);
}

.activity-intro {
    padding: 100px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.intro-image {
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-offers {
    padding: 100px 0;
    background: var(--dark-secondary);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.offer-card {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
    position: relative;
}

.offer-card.featured {
    border: 2px solid var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.offer-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: var(--shadow-md);
}

.offer-duration {
    color: var(--accent-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.offer-includes {
    list-style: none;
    margin: 1.5rem 0;
}

.offer-includes li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-secondary);
}

.offer-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 700;
}

.offer-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.price-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-primary);
}

.price-unit {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.activity-info {
    padding: 100px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: var(--dark-card);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all var(--transition-normal);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.2);
}

.info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(247, 147, 30, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon svg {
    color: var(--accent-primary);
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: justify;
}

.activity-gallery {
    padding: 100px 0;
    background: var(--dark-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-grid.columns-6 { grid-template-columns: repeat(6, 1fr); }

/* Mode 1 ligne avec pagination */
.gallery-grid.columns-row {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    position: relative;
}
.gallery-grid.columns-row .gallery-item {
    min-width: calc(25% - 1.2rem);
    flex-shrink: 0;
}
.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
.gallery-pagination .gallery-page-btn {
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-pagination .gallery-page-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}
.gallery-pagination .gallery-page-btn.disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}
.gallery-pagination .gallery-page-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-normal);
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item.placeholder {
    background: linear-gradient(135deg, var(--dark-tertiary), var(--dark-card));
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
    color: var(--text-secondary);
}

.gallery-item.placeholder .gallery-overlay {
    opacity: 1;
}

.activity-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
}

/* ==========================================
   CARROUSEL SPHÉRIQUE 3D - GALERIE
   ========================================== */
.sphere-gallery-section {
    padding: 100px 0;
    background: var(--dark-bg);
    overflow: hidden;
}

.sphere-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 2000px;
    min-height: 600px;
}

.sphere-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sphere-item {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 300px;
    height: 200px;
    margin-left: -150px;
    margin-top: -100px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
    backface-visibility: visible;
    transform-style: preserve-3d;
}

.sphere-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sphere-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sphere-item:hover .sphere-item-info {
    transform: translateY(0);
}

.sphere-item-info h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin: 0 0 0.25rem;
    font-weight: 600;
}

.sphere-item-info p {
    color: var(--accent-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Contrôles */
.sphere-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.sphere-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--dark-card);
    border: 2px solid rgba(255, 107, 53, 0.3);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.sphere-btn:hover {
    background: var(--accent-primary);
    color: var(--dark-bg);
    border-color: var(--accent-primary);
    transform: scale(1.1);
}

.sphere-btn-play {
    width: 60px;
    height: 60px;
    padding-left: 6px; /* Compenser visuellement le triangle play */
    position: relative;
}

.sphere-btn.playing {
    padding-left: 0; /* Retirer le décalage pour le symbole pause */
}

.sphere-btn.playing svg polygon {
    display: none;
}

.sphere-btn.playing::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 20px;
    border-left: 3px solid currentColor;
    border-right: 3px solid currentColor;
}

/* Indicateurs */
.sphere-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.sphere-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.sphere-indicator.active {
    background: var(--accent-primary);
    transform: scale(1.3);
}

.gallery-instructions {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--dark-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.gallery-instructions p {
    margin: 0;
    color: var(--text-secondary);
}

/* Page Hero simple */
.hero-page {
    position: relative;
    padding: 150px 20px 100px;
    background: linear-gradient(135deg, var(--dark-secondary), var(--dark-bg));
    text-align: center;
}

.hero-page h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

@media (max-width: 768px) {
    .sphere-carousel-container {
        min-height: 500px;
    }

    .sphere-carousel {
        height: 450px;
    }

    .sphere-item {
        width: 260px;
        height: 190px;
        margin-left: -130px;
        margin-top: -95px;
    }

    /* Images en anneau sur mobile : toujours face à l'utilisateur */
    .sphere-item img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 16px;
    }

    /* Garder les infos toujours visibles sur mobile */
    .sphere-item-info {
        transform: translateY(0) !important;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7));
        padding: 1rem;
    }

    .sphere-item-info h3 {
        font-size: 1.1rem;
        font-weight: 600;
    }

    .sphere-item-info p {
        font-size: 0.9rem;
    }

    .sphere-controls {
        gap: 0.75rem;
        margin-top: 2.5rem;
    }

    .sphere-btn {
        width: 48px;
        height: 48px;
    }

    .sphere-btn-play {
        width: 58px;
        height: 58px;
    }

    .gallery-instructions {
        margin-top: 2rem;
        padding: 1rem;
    }
}

/* ==========================================
   LIGHTBOX - AFFICHAGE PLEIN ÉCRAN MOBILE
   ========================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1;
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 107, 53, 0.8);
    border-color: var(--accent-primary);
    transform: rotate(90deg);
}

.lightbox-info {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.lightbox-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--accent-primary);
}

.lightbox-caption {
    font-size: 1rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.lightbox-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.lightbox-prev,
.lightbox-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-prev:active,
.lightbox-next:active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: scale(0.95);
}

/* ==========================================
   MINI SPHÈRE 3D PREVIEW - PAGE ACCUEIL
   ========================================== */
.gallery-preview-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-bg), var(--dark-secondary));
    position: relative;
    overflow: hidden;
}

.gallery-preview-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.gallery-preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.gallery-preview-text {
    position: relative;
    z-index: 2;
}

.preview-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--dark-bg);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.gallery-preview-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.preview-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.preview-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

.preview-features li svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.mini-sphere-container {
    position: relative;
    perspective: 1000px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-sphere-link {
    display: block;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    pointer-events: auto;
}

.mini-sphere {
    position: relative;
    width: 350px;
    height: 350px;
    transform-style: preserve-3d;
    animation: miniSphereRotate 20s linear infinite;
    pointer-events: none; /* Les clics passent au lien parent */
}

.mini-sphere:hover {
    animation-play-state: paused;
}

@keyframes miniSphereRotate {
    from {
        transform: rotateY(0deg) rotateX(10deg);
    }
    to {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

.mini-sphere-item {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 200px;
    height: 150px;
    margin-left: -100px;
    margin-top: -75px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    backface-visibility: visible;
    pointer-events: none; /* Les clics passent au lien parent */
}

.mini-sphere-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mini-sphere-item[data-index="0"] {
    transform: translateZ(175px);
}

.mini-sphere-item[data-index="1"] {
    transform: rotateY(90deg) translateZ(175px);
}

.mini-sphere-item[data-index="2"] {
    transform: rotateY(180deg) translateZ(175px);
}

.mini-sphere-item[data-index="3"] {
    transform: rotateY(270deg) translateZ(175px);
}

.mini-sphere-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.mini-sphere-text {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none; /* Les clics passent au lien parent */
}

.mini-sphere-link:hover .mini-sphere-text {
    opacity: 1;
    bottom: -40px;
}

.mini-sphere-link:hover .mini-sphere {
    transform: scale(1.05) rotateX(0deg);
}

@media (max-width: 1024px) {
    .gallery-preview-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .mini-sphere-container {
        height: 350px;
    }

    .mini-sphere {
        width: 300px;
        height: 300px;
    }

    .mini-sphere-item {
        width: 180px;
        height: 130px;
        margin-left: -90px;
        margin-top: -65px;
    }

    .mini-sphere-item[data-index="0"] {
        transform: translateZ(150px);
    }

    .mini-sphere-item[data-index="1"] {
        transform: rotateY(90deg) translateZ(150px);
    }

    .mini-sphere-item[data-index="2"] {
        transform: rotateY(180deg) translateZ(150px);
    }

    .mini-sphere-item[data-index="3"] {
        transform: rotateY(270deg) translateZ(150px);
    }
}

@media (max-width: 768px) {
    .gallery-preview-section {
        padding: 60px 0;
    }

    .mini-sphere-container {
        height: 300px;
    }

    .mini-sphere {
        width: 250px;
        height: 250px;
    }

    .mini-sphere-item {
        width: 150px;
        height: 110px;
        margin-left: -75px;
        margin-top: -55px;
    }

    .mini-sphere-item[data-index="0"] {
        transform: translateZ(125px);
    }

    .mini-sphere-item[data-index="1"] {
        transform: rotateY(90deg) translateZ(125px);
    }

    .mini-sphere-item[data-index="2"] {
        transform: rotateY(180deg) translateZ(125px);
    }

    .mini-sphere-item[data-index="3"] {
        transform: rotateY(270deg) translateZ(125px);
    }

    .preview-features {
        margin-bottom: 1.5rem;
    }
}

/* ==========================================
   FOOTER STYLES
   ========================================== */
.footer {
    background: var(--dark-secondary);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.footer-nav ul,
.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li,
.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-nav ul li a,
.footer-links li a,
.footer-contact li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-nav ul li a:hover,
.footer-links li a:hover,
.footer-contact li a:hover {
    color: var(--accent-primary);
    transform: translateX(5px);
}

.footer-contact li {
    color: var(--text-secondary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-secondary);
    margin: 0 0 10px;
    font-size: 0.9rem;
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

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

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

.footer-legal-links span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-legal {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-legal-text {
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.7;
}

.footer-legal-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .activity-hero {
        min-height: 350px;
        padding: 120px 20px 60px;
    }

    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
    .gallery-grid.columns-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .gallery-grid.columns-row {
        display: flex;
        flex-wrap: nowrap;
    }
    .gallery-grid.columns-row .gallery-item {
        min-width: calc(50% - 0.75rem);
    }
}

/* ==========================================
   SECTION BLOG - PAGE D'ACCUEIL
   ========================================== */
.blog-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
}

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

.blog-card {
    background: var(--dark-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
    background: var(--dark-secondary);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-secondary), var(--dark-tertiary));
    color: var(--text-muted);
}

.blog-card-content {
    padding: 24px;
}

.blog-card-category {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--accent-primary);
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
    color: var(--accent-primary);
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-card-meta time {
    font-size: 12px;
    color: var(--text-muted);
}

.blog-card-read {
    font-size: 13px;
    color: var(--accent-primary);
    font-weight: 600;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-read {
    transform: translateX(5px);
}

.blog-cta {
    text-align: center;
    margin-top: 50px;
}

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

@media (max-width: 768px) {
    .blog-section {
        padding: 60px 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
    }

    .blog-card-image {
        height: 180px;
    }

    .blog-card-content {
        padding: 20px;
    }

    .blog-card-title {
        font-size: 18px;
    }
}

/* ============================================
   PAGE SERVICES - Design Spectaculaire
   ============================================ */

/* Hero Services - Plein écran immersif */
.services-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.services-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.services-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.services-hero-slide.active {
    opacity: 1;
}

.services-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.9) 100%
    );
    z-index: 2;
}

.services-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
}

.services-hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid var(--accent-primary);
    border-radius: 50px;
    color: var(--accent-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease forwards;
}

.services-hero-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.services-hero-title .line-1,
.services-hero-title .line-2,
.services-hero-title .line-3 {
    display: block;
    font-weight: 800;
    line-height: 1.1;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.services-hero-title .line-1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--text-primary);
    animation-delay: 0.2s;
}

.services-hero-title .line-2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-secondary);
    font-weight: 400;
    animation-delay: 0.4s;
}

.services-hero-title .line-3 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.6s;
}

.services-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 50px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.services-hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1s forwards;
}

.services-hero-scroll span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--accent-primary);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

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

/* Service Showcase - Sections plein écran */
.service-showcase {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.showcase-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.showcase-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.service-showcase:hover .showcase-image {
    transform: scale(1.05);
}

.showcase-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(10, 10, 10, 0) 0%,
        rgba(10, 10, 10, 0.7) 70%,
        rgba(10, 10, 10, 1) 100%
    );
}

/* Version inversée */
.service-showcase.showcase-reverse .showcase-image-wrapper {
    left: auto;
    right: 0;
}

.service-showcase.showcase-reverse .showcase-image-overlay {
    background: linear-gradient(
        -90deg,
        rgba(10, 10, 10, 0) 0%,
        rgba(10, 10, 10, 0.7) 70%,
        rgba(10, 10, 10, 1) 100%
    );
}

.showcase-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 100px 0;
}

.showcase-grid {
    display: flex;
    justify-content: flex-end;
}

.service-showcase.showcase-reverse .showcase-grid {
    justify-content: flex-start;
}

.showcase-info {
    max-width: 600px;
    padding: 40px;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-badge-popular {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 20px;
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.showcase-number {
    display: block;
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.3) 0%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.showcase-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--accent-primary);
    margin-bottom: 15px;
}

.showcase-location svg {
    flex-shrink: 0;
}

.showcase-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.showcase-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
}

.showcase-description strong {
    color: var(--text-primary);
}

.showcase-description em {
    color: var(--accent-primary);
    font-style: normal;
    font-weight: 600;
}

.showcase-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.showcase-features li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 10px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.feature-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.showcase-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.showcase-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.showcase-cta svg {
    transition: transform 0.3s ease;
}

.showcase-cta:hover svg {
    transform: translateX(5px);
}

/* CTA Final */
.services-final-cta {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
    text-align: center;
}

.final-cta-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

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

.final-cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Responsive Services Page */
@media (max-width: 1200px) {
    .showcase-image-wrapper {
        width: 50%;
    }

    .showcase-info {
        max-width: 550px;
    }
}

@media (max-width: 992px) {
    .service-showcase {
        min-height: auto;
        flex-direction: column;
    }

    .showcase-image-wrapper {
        position: relative;
        width: 100%;
        height: 50vh;
        min-height: 400px;
    }

    .showcase-image-overlay {
        background: linear-gradient(
            180deg,
            rgba(10, 10, 10, 0) 0%,
            rgba(10, 10, 10, 0.8) 80%,
            rgba(10, 10, 10, 1) 100%
        ) !important;
    }

    .showcase-content {
        padding: 60px 0;
    }

    .showcase-grid,
    .service-showcase.showcase-reverse .showcase-grid {
        justify-content: center;
    }

    .showcase-info {
        max-width: 100%;
        margin-top: -100px;
    }

    .showcase-number {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    .services-hero {
        min-height: 600px;
    }

    .showcase-features {
        grid-template-columns: 1fr;
    }

    .showcase-info {
        padding: 30px 20px;
    }

    .services-final-cta {
        padding: 80px 0;
    }

    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .final-cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* ============================================
   PAGES LÉGALES (Mentions légales, Confidentialité)
   ============================================ */

/* Hero compact pour pages légales */
.page-hero-small {
    padding: 150px 0 80px;
    background: linear-gradient(180deg, var(--dark-secondary) 0%, var(--dark-bg) 100%);
    text-align: center;
}

.page-hero-small h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-small .page-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Contenu légal */
.legal-content {
    padding: 80px 0;
    background: var(--dark-bg);
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
    display: inline-block;
}

.legal-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 25px 0 15px;
}

.legal-section p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.legal-section p strong {
    color: var(--text-primary);
}

.legal-section a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.legal-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
}

.legal-list li strong {
    color: var(--text-primary);
}

/* Responsive pages légales */
@media (max-width: 768px) {
    .page-hero-small {
        padding: 120px 0 60px;
    }

    .legal-content {
        padding: 50px 0;
    }

    .legal-section {
        margin-bottom: 35px;
        padding-bottom: 35px;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }
}

/* ============================================
   GALERIE - Hero Section
   ============================================ */
.gallery-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 100px;
}

.gallery-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-secondary) 50%, var(--dark-tertiary) 100%);
}

.gallery-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

.gallery-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

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

.gallery-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

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

/* ============================================
   COVERFLOW 3D
   ============================================ */
.coverflow-section {
    padding: 80px 0 100px;
    background: var(--dark-bg);
    overflow: hidden;
}

.coverflow-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.coverflow-section .section-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.coverflow-section .section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.coverflow-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.coverflow {
    position: relative;
    height: 500px;
    perspective: 1500px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.coverflow-item {
    position: absolute;
    width: 400px;
    height: 300px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    cursor: pointer;
}

.coverflow-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.coverflow-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.coverflow-item.active img {
    transform: scale(1.02);
}

.coverflow-item.active .coverflow-item-inner {
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(255, 107, 53, 0.2);
}

.coverflow-reflection {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, transparent 40%);
    pointer-events: none;
}

.coverflow-caption {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.coverflow-item.active .coverflow-caption {
    opacity: 1;
}

.coverflow-category {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 25px;
}

/* Navigation Coverflow */
.coverflow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.coverflow-nav:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-50%) scale(1.1);
}

.coverflow-prev {
    left: 0;
}

.coverflow-next {
    right: 0;
}

/* Indicateurs Coverflow */
.coverflow-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 80px;
}

.coverflow-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.coverflow-indicator:hover {
    background: rgba(255, 255, 255, 0.4);
}

.coverflow-indicator.active {
    background: var(--accent-primary);
    transform: scale(1.3);
}

/* ============================================
   MASONRY GRID
   ============================================ */
.masonry-section {
    padding: 100px 0;
    background: var(--dark-secondary);
}

.masonry-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.masonry-section .section-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.masonry-section .section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Filtres Masonry */
.masonry-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 28px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.filter-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    color: white;
}

/* Grille Masonry */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
}

.masonry-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.masonry-item.tall {
    grid-row: span 2;
}

.masonry-item.wide {
    grid-column: span 2;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.masonry-item:hover img {
    transform: scale(1.08);
}

.masonry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.2) 40%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.masonry-item:hover .masonry-overlay {
    opacity: 1;
}

.masonry-category {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 107, 53, 0.9);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.masonry-zoom {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.masonry-item:hover .masonry-zoom {
    background: var(--accent-primary);
    transform: scale(1.1);
}

/* ============================================
   LIGHTBOX GALERIE
   ============================================ */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 1rem;
    text-align: center;
}

/* ============================================
   CTA SECTION GALERIE
   ============================================ */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.8rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

/* ============================================
   GALERIE RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .masonry-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .coverflow-item {
        width: 350px;
        height: 260px;
    }
}

@media (max-width: 992px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .coverflow {
        height: 400px;
    }

    .coverflow-item {
        width: 300px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .gallery-hero {
        min-height: 40vh;
        padding-top: 80px;
    }

    .gallery-hero h1 {
        font-size: 2rem;
    }

    .coverflow-section {
        padding: 60px 0 80px;
    }

    .coverflow-section .section-header h2 {
        font-size: 1.8rem;
    }

    .coverflow {
        height: 350px;
    }

    .coverflow-item {
        width: 260px;
        height: 200px;
    }

    .coverflow-nav {
        width: 44px;
        height: 44px;
    }

    .coverflow-nav svg {
        width: 24px;
        height: 24px;
    }

    .coverflow-indicators {
        margin-top: 60px;
    }

    .masonry-section {
        padding: 60px 0;
    }

    .masonry-section .section-header h2 {
        font-size: 1.8rem;
    }

    .masonry-filters {
        gap: 8px;
        margin-bottom: 30px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        grid-auto-rows: 180px;
    }

    .masonry-item.wide {
        grid-column: span 1;
    }

    .lightbox-close {
        top: -40px;
        right: 0;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .coverflow {
        height: 300px;
    }

    .coverflow-item {
        width: 220px;
        height: 170px;
    }

    .coverflow-container {
        padding: 0 40px;
    }

    .masonry-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .masonry-item.tall {
        grid-row: span 1;
    }
}
