/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Variables de base strictes */
    --black: #07090b;
    --white: #B0CEE2;
    --primary: #E95D2C;
    --secondary: #45586C;

    /* Light Theme (Défaut) */
    --bg-main: var(--white);
    --text-main: var(--black);
    --text-muted: var(--secondary);
    
    --card-bg: var(--secondary);
    --card-text: var(--white);
    --card-text-muted: var(--white);
    --card-overlay-color: 7, 9, 11; /* RGB de var(--black) */
    
    --icon-box-bg: var(--black);
    --icon-stroke: var(--primary);
    
    --container-bg: rgba(176, 206, 226, 0.04); /* Ultra-minimal glass */
    --container-shadow: rgba(7, 9, 11, 0.15); /* Ombre de var(--black) */
    --glass-border: rgba(255, 255, 255, 0.2);
    
    --btn-bg: var(--primary);
    --btn-text: var(--black);
    --btn-hover: var(--secondary);
    
    --input-bg: rgba(7, 9, 11, 0.05); /* Transparence var(--black) */
    --input-border: var(--secondary);
    --input-focus: rgba(7, 9, 11, 0.1);
    --input-focus-border: var(--primary);
    
    --popup-shadow: rgba(7, 9, 11, 0.3);

    /* Animation Timing */
    --elastic-bezier: cubic-bezier(0.6, -0.28, 0.735, 0.045); /* More refined than standard elastic */
    --premium-bezier: cubic-bezier(0.23, 1, 0.32, 1);
    --transition-speed: 0.6s;
    --sig-font: 'Montserrat', sans-serif;
    --sig-weight: 800;
    --sig-transform: uppercase;
    --sig-spacing: 2px;
}

body.dark-mode {
    /* Dark Theme */
    --bg-main: var(--black);
    --text-main: var(--white);
    --text-muted: var(--secondary);
    
    --card-bg: var(--secondary);
    --card-text: var(--white);
    --card-text-muted: var(--white);
    --card-overlay-color: 7, 9, 11;
    
    --icon-box-bg: rgba(176, 206, 226, 0.1); /* Transparence var(--white) */
    --icon-stroke: var(--primary);
    
    --container-bg: rgba(7, 9, 11, 0.10); /* Ultra-minimal dark glass */
    --container-shadow: rgba(0, 0, 0, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --btn-bg: var(--primary);
    --btn-text: var(--black);
    --btn-hover: var(--white);
    
    --input-bg: rgba(176, 206, 226, 0.1); /* Transparence var(--white) */
    --input-border: var(--secondary);
    --input-focus: rgba(176, 206, 226, 0.2);
    --input-focus-border: var(--primary);
    
    --popup-shadow: rgba(0, 0, 0, 0.8);
    
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Testing Buttons UI */
.tester-btn {
    background: var(--black);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    border: 1px solid var(--secondary);
    opacity: 0.5;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(5px);
    letter-spacing: 0.5px;
}

.tester-btn:hover {
    opacity: 1;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Background Design Systems (Final: PRISM+) */

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, var(--bg-main), var(--black));
    z-index: -3;
}

.shard-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    perspective: 1200px;
    display: block;
}

.shard {
    position: absolute;
    background: linear-gradient(135deg, rgba(233, 93, 44, 0.12), rgba(176, 206, 226, 0.12));
    backdrop-filter: blur(6px); /* Reduced from 12px for better performance */
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    mix-blend-mode: color-dodge;
    box-shadow: 
        -1px -1px 5px rgba(176, 206, 226, 0.2),
        1px 1px 5px rgba(233, 93, 44, 0.2);
    will-change: transform;
}

.glint {
    position: absolute;
    width: 2px; height: 2px;
    background: white;
    box-shadow: 0 0 10px 2px white;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    will-change: opacity;
}

/* Shared Noise Overlay (Always present) */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    z-index: -1; /* Behind UI, above backgrounds */
    pointer-events: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Header */
/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6vh 60px 0;
    height: auto;
    width: 100%;
}

.header-left {
    flex: 1.2;
    display: flex;
    justify-content: flex-start;
    margin-top: 0;
}

.header-logo {
    height: 95px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.header-right {
    flex: 1.2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 0;
}

.header-right span {
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.header-right a:hover span {
    color: var(--primary);
    transform: translateY(-2px);
}

.header-right svg {
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.header-right a:hover svg {
    color: var(--primary);
    transform: translateY(-2px);
}

#theme-toggle {
    display: none !important;
}

.header-center {
    flex: 2.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform-style: preserve-3d; /* Key for child 3D depth */
    position: relative;
    z-index: 10;
    will-change: transform;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 0;
    width: 100%;
    position: relative;
}

.main-title {
    font-size: clamp(1.8rem, 5vw, 4.5rem);
    /* Lighter fluid scaling */
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0;
    margin-top: 0;
    /* Reset margin since it's in header now */
    color: var(--primary);
    position: relative;
    background: linear-gradient(90deg, var(--primary), var(--white), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: title-shimmer 4s linear infinite;
    
    /* 3D Depth */
    transform: translateZ(60px); 
    transform-style: preserve-3d;
    text-shadow: 
        1px 1px 0px rgba(var(--card-overlay-color), 0.1),
        2px 2px 0px rgba(var(--card-overlay-color), 0.08),
        3px 3px 0px rgba(var(--card-overlay-color), 0.05),
        5px 15px 25px rgba(0,0,0,0.25);
}

@keyframes title-shimmer {
    to { background-position: 200% center; }
}

.signature {
    font-family: var(--sig-font);
    font-size: clamp(0.8rem, 1.6vw, 1.4rem);
    margin-top: 5px;
    /* Pull closer to title */
    margin-bottom: 1vh;
    background: linear-gradient(90deg, var(--primary), var(--white), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: title-shimmer 4s linear infinite;
    
    font-weight: var(--sig-weight);
    text-transform: var(--sig-transform);
    letter-spacing: var(--sig-spacing);
    text-align: center;
    color: var(--primary);
    
    /* 3D Depth (Floating below title but above background) */
    transform: translateZ(30px);
}

/* Carousel */
.carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 550px;
    height: auto;
    padding: 0 0 60px 0;
    position: relative;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    padding-bottom: 60px;
    padding-top: 50px;
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.5s ease;
}

.carousel-unit {
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(30px);
    pointer-events: none; /* Disable until revealed */
}

.carousel-unit.revealed {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s var(--premium-bezier), transform 1s var(--premium-bezier);
    pointer-events: auto;
}

/* Hide separator as it is not needed in accordion design */
.carousel-separator {
    display: none;
}

.carousel-item {
    width: 80px;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: width var(--transition-speed) var(--elastic-bezier), 
                box-shadow var(--transition-speed) ease,
                transform 0.4s var(--premium-bezier);
    background-color: var(--card-bg);
    box-shadow: 0 10px 30px var(--container-shadow);
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    isolation: isolate; 
    
    /* Force GPU-accelerated clipping to prevent corner flickering */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    transform: translateZ(0);
    backface-visibility: hidden;
}

.carousel-item:hover {
    transform: translateY(-5px);
}

.carousel-item.active {
    box-shadow: 0 30px 70px rgba(var(--card-overlay-color), 0.5);
    transform: translateY(0); /* Reset hover lift on active */
}

.carousel-item.active {
    width: 350px;
    cursor: default;
}

.card-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden; /* Added to contain shifting images */
    border-radius: inherit; /* Ensure background respects parent corners */
}

.card-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) var(--premium-bezier), 
                filter 0.5s ease; /* Smooth scale and filter */
}

.video-card-bg-img {
    object-position: center 65% !important; /* Recenter vertical framing */
}

.carousel-item.active .card-background img {
    transform: scale(1.15); /* Increased zoom for movement safety margin */
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(var(--card-overlay-color), 1) 0%, rgba(var(--card-overlay-color), 0) 100%);
    transition: background 0.5s ease;
}

.carousel-item.active .card-overlay {
    background: transparent;
}

/* --- PERMANENT PHOTO STYLES --- */

/* Normal State (Soft Blur) */
.card-background img {
    filter: blur(2px) brightness(0.8);
    transform: scale(1.1);
    transition: transform var(--transition-speed) var(--premium-bezier), 
                filter var(--transition-speed) ease; /* Synchronized timing */
}

/* Active State (Clear + Dark Focus) */
.carousel-item.active .card-background img {
    filter: blur(0px) brightness(0.5);
    transform: scale(1.2);
}

.card-content-vertical {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.carousel-item.active .card-content-vertical {
    opacity: 0;
    pointer-events: none;
}

.vertical-title {
    writing-mode: vertical-rl;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--card-text);
    white-space: nowrap;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: rotate(180deg);
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--icon-box-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    flex-shrink: 0;
}

.icon-box svg {
    width: 20px; height: 20px; stroke: var(--icon-stroke) !important;
}

.card-content-horizontal {
    position: absolute;
    bottom: 0; left: 0; width: 350px; /* Fixed width to prevent wrapping jumps during expansion */
    padding: 30px;
    opacity: 0;
    transform: translateY(20px);
    /* Delayed fade-in results in a cleaner appearance once container is open */
    transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s; 
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
}

.carousel-item.active .card-content-horizontal {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.horizontal-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--card-text);
    margin-bottom: 8px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.horizontal-desc {
    font-size: 0.9rem;
    color: var(--card-text-muted);
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

.action-row {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--card-text);
}





/* About Page Styles (Inspiration styled) */
.about-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 120px 40px 60px 40px;
    overflow-y: auto;
}

.about-container {
    width: 100%;
    max-width: 1200px;
    background-color: var(--container-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 60px var(--container-shadow);
    border-radius: 24px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Pitch & Photo block */
.about-hero-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 40px;
}

.about-pitch-side {
    flex: 1.3;
    text-align: left;
}

.about-pitch-side h2 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 5px;
    letter-spacing: -0.01em;
}

.about-email {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 25px;
    display: block;
}

.about-pitch-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-main);
    opacity: 0.9;
}

.about-location-bottom {
    margin-top: 30px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.about-photo-side {
    flex: 0.9;
    position: relative;
    max-width: 380px;
    display: flex;
    justify-content: center;
}

.about-photo-wrapper {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
}

.about-photo-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%) brightness(0.95);
    transition: transform 0.5s ease;
}

.about-photo-wrapper:hover img {
    transform: scale(1.04);
}

/* 3-column detailed resume sections */
.about-details-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    text-align: left;
}

.about-col-title {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 25px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(233, 93, 44, 0.15);
}

/* Column 1: Skills & Gear */
.about-skills-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.about-skill-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.about-skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}

.about-skill-bar-bg {
    width: 100%;
    height: 6px;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0px, rgba(255, 255, 255, 0.15) 4px, transparent 4px, transparent 8px);
    border-radius: 3px;
    position: relative;
}

.about-skill-bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: width 1s cubic-bezier(0.1, 0.8, 0.2, 1);
    position: relative;
}

.about-skill-bar-fill::after {
    content: "";
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--primary);
    box-shadow: 0 0 6px var(--primary);
}

/* Column 2: Timeline Experience/Education */
.about-timeline {
    position: relative;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-timeline-item {
    position: relative;
}

.about-timeline-dot {
    position: absolute;
    left: -24.5px;
    top: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--bg-main);
    box-shadow: 0 0 10px var(--primary);
}

.about-timeline-date {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.about-timeline-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 2px;
}

.about-timeline-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 6px;
}

.about-timeline-desc {
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--text-main);
    opacity: 0.75;
}

/* Column 3: Hobbies, Can Do, Personal */
.about-list-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.about-list-item {
    font-size: 0.88rem;
    color: var(--text-main);
    opacity: 0.85;
    position: relative;
    padding-left: 20px;
    line-height: 1.6;
    font-weight: 500;
}

.about-list-item::before {
    content: "■";
    color: var(--primary);
    font-size: 0.6rem;
    position: absolute;
    left: 0;
    top: 5px;
}

.about-hobbies-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.about-hobby-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.about-hobby-card:hover {
    background: rgba(233, 93, 44, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.about-hobby-card svg {
    color: var(--primary);
}

.about-hobby-card span {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-main);
}

@media (max-width: 1024px) {
    .about-details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
@media (max-width: 900px) {
    .about-hero-block {
        flex-direction: column-reverse;
        gap: 30px;
        text-align: center;
    }
    .about-pitch-side {
        text-align: center;
    }
    .about-location-bottom {
        justify-content: center;
    }
    .about-photo-side {
        max-width: 280px;
    }
}

/* Gallery Page Styles */
.gallery-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 100px 40px 40px 40px;
    /* Matching About page padding */
    overflow-y: auto;
}

.gallery-container {
    width: 95%;
    max-width: 1400px;
    background-color: var(--container-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-grid {
    column-count: 4;
    column-gap: 20px;
}

.photo-item {
    width: 100%;
    margin-bottom: 20px;
    /* Spacing between items vertically */
    break-inside: avoid;
    /* Prevent split across columns */
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.photo-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.photo-item img {
    width: 100%;
    /* height: 100%;  <-- Removing height:100% as we want auto height now */
    display: block;
    /* Fixes blue line at bottom */
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-item:hover img {
    transform: scale(1.1);
}

@media (max-width: 1200px) {
    .photo-grid {
        column-count: 3;
    }
}

@media (max-width: 850px) {
    .photo-grid {
        column-count: 2;
    }
}

@media (max-width: 500px) {
    .photo-grid {
        column-count: 1;
    }
}

/* Lightbox Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    display: block;
    max-width: 90%;
    max-height: 70vh;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    animation: zoom 0.3s;
    margin-bottom: 20px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#caption {
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: auto;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* Construction Popup */
.popup-overlay {
    display: none;
    /* Hidden by default, toggled by JS */
    position: fixed;
    z-index: 2000;
    /* Higher than lightbox */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.5s;
}

.popup-content {
    background-color: var(--container-bg);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px var(--popup-shadow);
    color: var(--text-main);
    position: relative;
    animation: slideDown 0.5s;
}

.popup-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-main);
}

.popup-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    color: var(--text-muted);
}

.popup-btn {
    background-color: var(--btn-bg);
    color: var(--btn-text);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.popup-btn:hover {
    transform: scale(1.05);
    background-color: var(--btn-hover);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Contact Page Styles */
.contact-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 50px 40px 40px 40px;
    overflow-y: auto;
}

.contact-container {
    width: 100%;
    max-width: 800px;
    background-color: var(--container-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 40px var(--container-shadow);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.contact-container h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--text-main);
    font-weight: 800;
    text-transform: uppercase;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-left: 10px;
}

.form-group input,
.form-group textarea {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background-color: rgba(255, 255, 255, 0.05); /* Very slight tint for glass consistency */
    backdrop-filter: blur(5px);
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(233, 93, 44, 0.2);
}

.submit-btn {
    margin-top: 20px;
    background-color: var(--btn-bg);
    color: var(--btn-text);
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 900;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    align-self: center;
    min-width: 200px;
}

.submit-btn:hover {
    transform: scale(1.05);
    background-color: var(--btn-hover);
}

/* Contact Info & Socials Section */
.contact-info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 40px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--glass-border);
}

.contact-or-text {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 25px;
    font-weight: 500;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.contact-info-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.contact-info-item a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--primary);
}

.contact-socials {
    display: flex;
    gap: 24px;
    margin-top: 5px;
}

.contact-socials a {
    color: var(--text-main);
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-socials a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* Custom placeholder contrast for contact inputs */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.theme-toggle { background: none; border: none; cursor: pointer; color: var(--text-main); display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease, color 0.3s ease; padding: 5px; } 
.theme-toggle:hover { color: var(--primary); transform: translateY(-2px); }

#interaction-switcher:hover { opacity: 1; border-color: var(--primary); }

/* Magnetic Effect Base */
.magnetic-item {
    display: inline-block;
    transition: transform 0.2s ease-out;
    will-change: transform;
}

/* Title Tilt Base */
.header-center {
    transition: transform 0.1s ease-out;
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* Footer Styles */
.site-footer { width: 100%; padding: 30px 40px; margin-top: auto; }
.footer-content { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.footer-links { display: flex; gap: 25px; align-items: center; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.3s ease, transform 0.3s ease; display: flex; align-items: center; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }
.footer-links a:hover { color: var(--text-main); transform: translateY(-2px); }
@media (max-width: 900px) {
    header {
        padding: 15px 20px 0;
        align-items: center;
    }

    .header-left, 
    .header-right {
        margin-top: 0;
        flex: 1;
    }

    .header-center {
        flex: 3;
    }

    /* Universal Glass Containers padding reduction */
    .about-container, 
    .contact-container, 
    .gallery-container {
        padding: 25px 20px;
        width: 98%;
        border-radius: 20px;
    }

    /* About Content Stacking */
    .about-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }

    .about-image-column {
        max-width: 250px;
        margin: 0 auto;
    }

    .about-text-column {
        text-align: center;
    }
}

@media (max-width: 600px) {
    header {
        padding: 10px 15px 0;
    }

    .header-logo {
        height: 65px;
    }

    .instagram-icon svg,
    .contact-text svg {
        width: 18px;
        height: 18px;
    }

    .contact-text span {
        font-size: 0.8rem;
    }

    /* Carousel Adjustment */
    .carousel-item {
        width: 220px;
        height: 350px;
    }

    /* Footer & Controls */
    .site-footer {
        padding: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .testing-controls {
        bottom: 15px !important;
        left: 15px !important;
        scale: 0.75;
        transform-origin: bottom left;
    }
}

/* ==========================================================================
   VIDEO PAGE SLIDER (Globe Express Style)
   ========================================================================== */

.video-page-main {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Fix header for video page to float over the slider */
body:has(.video-page-main) header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

/* Hide background effects on video page — it has its own full-screen bg */
body:has(.video-page-main) .shard-container,
body:has(.video-page-main) .noise-overlay,
body:has(.video-page-main) .glint {
    display: none !important;
}

body:has(.video-page-main)::before {
    display: none;
}

/* ==========================================================================
   VIDEO PAGE NAVBAR (Globe Express Style)
   ========================================================================== */

.video-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 100%);
    border-bottom: none !important;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}

/* Left: Logo */
.vnav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.vnav-logo-img {
    height: 48px; /* Enlarged subpage logo */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.vnav-logo:hover .vnav-logo-img {
    transform: scale(1.08);
}

.vnav-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.9);
}

/* Center: Nav links */
.vnav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.vnav-links a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    padding-bottom: 4px;
    position: relative;
}

.vnav-links a:hover {
    color: rgba(255,255,255,1);
}

.vnav-links a.vnav-active {
    color: rgba(255,255,255,1);
}

.vnav-links a.vnav-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* Right: Search + User */
.vnav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    color: rgba(255,255,255,0.7);
}

.vnav-search-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 30px;
    padding: 6px 14px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.vnav-search-wrapper:focus-within {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
}

.vnav-search-icon {
    opacity: 0.6;
    flex-shrink: 0;
}

.vnav-search {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    width: 120px;
    placeholder-color: rgba(255,255,255,0.4);
}

.vnav-search::placeholder {
    color: rgba(255,255,255,0.4);
}

.vnav-user {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

.vnav-user:hover {
    color: #fff;
}

/* Adaptation de la navbar pour les pages avec fond de thème (non-vidéo) */
.site-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    background: transparent;
    border-bottom: none !important;
    padding: 18px 40px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}

/* Scrolled Navbar State */
.video-navbar.navbar-scrolled {
    background: rgba(10, 10, 10, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: none !important;
    padding: 18px 40px !important;
}

.video-navbar.navbar-scrolled .vnav-name,
.video-navbar.navbar-scrolled .vnav-links a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.video-navbar.navbar-scrolled .vnav-links a:hover,
.video-navbar.navbar-scrolled .vnav-links a.vnav-active {
    color: rgba(255, 255, 255, 1) !important;
}

.video-navbar.navbar-scrolled .vnav-user,
.video-navbar.navbar-scrolled .vnav-search-icon {
    color: rgba(255, 255, 255, 0.7) !important;
}

.video-navbar.navbar-scrolled .vnav-search {
    color: #fff !important;
}

.site-navbar .vnav-logo,
.site-navbar .vnav-name {
    color: var(--text-main);
}

.site-navbar .vnav-links a {
    color: var(--text-muted);
}

.site-navbar .vnav-links a:hover {
    color: var(--text-main);
}

.site-navbar .vnav-links a.vnav-active {
    color: var(--primary);
}

.site-navbar .vnav-links a.vnav-active::after {
    background-color: var(--primary);
}

.site-navbar .vnav-right {
    color: var(--text-muted);
}

.site-navbar .vnav-search-wrapper {
    background: var(--container-bg);
    border-color: var(--glass-border);
}

.site-navbar .vnav-search {
    color: var(--text-main);
}

.site-navbar .vnav-search::placeholder {
    color: var(--text-muted);
}

.site-navbar .vnav-user {
    color: var(--text-muted);
}

.site-navbar .vnav-user:hover {
    color: var(--primary);
}

/* Padding top compensation for pages with the fixed site-navbar */
.about-section,
.gallery-section,
.contact-section,
.legal-section {
    padding-top: 80px;
}

.video-slider-container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #000;
}

/* Background Image & Overlay */
.video-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-slider-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

.video-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.1) 100%),
                linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

/* Main Content Layout */
.video-slider-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 0 5%; /* Pas de padding à droite pour coller au bord */
}

/* Left Info Panel */
.video-info {
    max-width: 500px;
    margin-top: 50px;
    animation: fadeIn 1s ease-out;
}

.video-subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.subtitle-line {
    width: 30px;
    height: 2px;
    background-color: #fff;
}

#video-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

#video-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    white-space: pre-wrap;
}

#video-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

/* Action Buttons */
.video-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn-round {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary); /* using site primary color (orange/yellow) */
    border: none;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
}

.icon-btn-round:hover {
    transform: scale(1.1);
    background-color: var(--btn-hover);
}

/* Styles pour le bouton Like interactif */
.like-btn svg {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), fill 0.3s ease, stroke 0.3s ease;
}

.like-btn.liked svg {
    fill: #fff;
    stroke: #fff;
    transform: scale(1.15);
}

@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1.15); }
}

.like-btn.liked.pop svg {
    animation: heartPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.discover-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.discover-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Right Thumbnails Row */
.video-cards-wrapper {
    display: flex;
    gap: 20px;
    padding-top: 30px; /* Espace pour permettre le hover translateY sans couper */
    padding-bottom: 20px;
    overflow: hidden;
    flex: 0 0 465px; 
    margin-top: auto;
    margin-bottom: calc(15vh - 30px); /* Ajustement pour garder la même position visuelle */
    background: transparent;
    box-shadow: none;
    border: none;
}

.video-card {
    flex: 0 0 170px; 
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: none; /* Suppression de l'ombre/contour */
    border: none;
}

.video-card:hover {
    transform: translateY(-15px);
}

.video-card.active {
    transform: translateY(-25px);
    border: 2px solid var(--primary);
}

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

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

.video-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    z-index: 2;
}

.card-sub {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 5px 0;
    text-transform: uppercase;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Bottom Navigation */
.video-slider-nav {
    position: absolute;
    bottom: 5vh;
    left: 5%;
    right: 5%;
    z-index: 20;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    pointer-events: none; /* Empêche le conteneur de bloquer les clics */
}

.video-slider-nav > * {
    pointer-events: auto; /* Réactive les clics pour la barre de progression et le numéro */
}

.nav-arrows {
    display: flex;
    gap: 15px;
}

.arrow-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.arrow-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

.nav-progress {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 300px;
}

.progress-bar-container {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
}

.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--primary);
}

#slide-number {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}

.slider-control-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
    outline: none;
}

.slider-control-btn:hover {
    color: var(--primary);
    transform: scale(1.15);
}

.slider-control-btn svg {
    display: block;
}

/* Responsive for video slider */
@media (max-width: 1024px) {
    #video-title { font-size: 3.5rem; }
    .video-cards-wrapper { display: none; }
    .video-slider-content { justify-content: center; padding: 0 10%; text-align: center; }
    .video-info { margin-top: 0; align-items: center; display: flex; flex-direction: column; }
    .subtitle-line { display: none; }
    .video-actions { justify-content: center; }
}

/* ==========================================================================
   VIDEO CATALOGUE SECTION
   ========================================================================== */

.video-catalogue {
    background: #0d0d0d;
    color: #fff;
    padding: 60px 5%;
    min-height: 50vh;
}

.catalogue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.catalogue-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    position: relative;
    padding-left: 18px;
}

.catalogue-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
    background: var(--primary);
    border-radius: 2px;
}

/* Filter Buttons */
.catalogue-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.5);
    padding: 8px 20px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Catalogue Grid */
.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.catalogue-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 9/13;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.catalogue-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}

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

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

.catalogue-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 60px 18px 18px; /* Padding à droite augmenté pour le bouton like */
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
    z-index: 2;
}

.catalogue-card-category {
    font-size: 0.65rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 6px 0;
    font-weight: 600;
}

.catalogue-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.2;
    color: #fff;
}

/* Bouton Like sur les miniatures */
.card-like-btn {
    position: absolute;
    bottom: 18px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary);
    border: none;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 5;
    transition: transform 0.3s, background-color 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.card-like-btn:hover {
    transform: scale(1.1);
    background-color: var(--btn-hover);
}

.card-like-btn svg {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), fill 0.3s ease, stroke 0.3s ease;
}

.card-like-btn.liked svg {
    fill: #fff;
    stroke: #fff;
    transform: scale(1.15);
}

.card-like-btn:active svg {
    transform: scale(0.85);
}



/* Hidden class for filtering */
.catalogue-card.hidden {
    display: none;
}

/* Style de l'état vide des favoris */
.catalogue-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 20px 0;
    animation: fadeIn 0.5s ease-out;
}

.catalogue-empty-state .empty-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: pulseHeart 1.5s infinite;
}

.catalogue-empty-state p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.catalogue-empty-state span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0.8;
}

@keyframes pulseHeart {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Style de l'affichage vidéo (Modal Preview) */
.video-preview-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Plus clair et immersif */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-preview-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.video-preview-modal-content {
    position: relative;
    width: 94%;
    max-width: 1150px;
    max-height: 90vh;
    background: #0b0b0b;
    border-radius: 24px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8);
    display: block;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.video-preview-modal-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.video-preview-hero {
    position: relative;
    width: 100%;
    height: 520px;
    display: flex;
    align-items: flex-end;
    padding: 0 8% 50px;
    overflow: hidden;
}

.video-preview-specs {
    padding: 45px 8% 55px;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.video-preview-specs h3 {
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin: 0 0 25px 0;
}
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-preview-modal-overlay.active .video-preview-modal-content {
    transform: scale(1);
}

.video-preview-modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.video-preview-modal-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(90deg);
}

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

.video-preview-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%); /* Dégradé diagonal ultra-pro */
}

.video-preview-info {
    position: relative;
    z-index: 2;
    max-width: 550px;
    color: #fff;
}

.video-preview-info #preview-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    color: #fff;
    white-space: pre-wrap;
}

.video-preview-info #preview-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

/* Luminosité accrue pour les fonds sombres */
.brighten-bg-high {
    filter: brightness(1.75) contrast(1.02);
}

.brighten-bg-medium {
    filter: brightness(1.35) contrast(1.03);
}

/* =========================================================================
   STYLES SECTION DÉVELOPPEMENT WEB (E-COMMERCE)
   ========================================================================= */

/* ---- Corps de la page ---- */
.web-shop-body {
    background-color: var(--bg-main);
    color: #fff;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
}

/* ---- Hero Banner compact ---- */
.shop-hero-banner {
    padding: 140px 6% 60px;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, var(--bg-main) 100%),
                url('assets/web_dev.jpg') center/cover no-repeat;
    background-color: var(--bg-main);
    border-bottom: none;
    box-shadow: inset 0 -15px 15px var(--bg-main);
}

.shop-hero-inner {
    max-width: 700px;
}

.shop-hero-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.shop-hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 16px 0;
    color: #fff;
}

.shop-hero-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* ---- Zone principale (toolbar + grille) ---- */
.shop-page-wrapper {
    max-width: 1260px;
    margin: 0 auto;
    padding: 40px 5% 80px;
}

/* ---- Barre filtres + tri ---- */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.shop-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.web-filter-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.65);
    padding: 9px 18px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.web-filter-btn:hover {
    border-color: var(--primary);
    color: #fff;
}

.web-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(233,93,44,0.35);
}

.shop-toolbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.shop-count {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
}

.shop-sort-select {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8);
    padding: 9px 16px;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: border-color 0.25s ease;
}

.shop-sort-select:focus {
    border-color: var(--primary);
}

/* ---- Grille de produits : 3 colonnes ---- */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ---- Carte produit ---- */
.web-product-card {
    background: #151515;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
                border-color 0.35s ease,
                box-shadow 0.35s ease;
}

.web-product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(233,93,44,0.35);
    box-shadow: 0 18px 40px rgba(0,0,0,0.55);
}

/* Image de la carte */
.web-product-img-wrapper {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #000;
}

.web-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.web-product-card:hover .web-product-img {
    transform: scale(1.06);
}

/* Badge catégorie */
.web-product-badge {
    position: absolute;
    top: 13px;
    left: 13px;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Bouton hover sur l'image */
.web-product-actions-hover {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.38);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.web-product-card:hover .web-product-actions-hover {
    opacity: 1;
}

.web-action-btn {
    background: var(--primary);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(233,93,44,0.45);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.web-action-btn:hover {
    transform: scale(1.15);
}

/* Infos texte de la carte */
.web-product-info {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.web-product-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: #fff;
}

.web-product-desc {
    font-size: 0.87rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.55);
    margin: 0 0 16px 0;
    flex-grow: 1;
}

/* Tags technos */
.web-product-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
}

.tech-tag {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    color: rgba(255,255,255,0.75);
    padding: 4px 10px;
    font-size: 0.72rem;
    border-radius: 6px;
    font-weight: 600;
}

/* Pied de carte : prix + bouton */
.web-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 16px;
    margin-top: auto;
}

.web-product-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.web-product-price .old-price {
    font-size: 0.75rem;
    text-decoration: line-through;
    color: rgba(255,255,255,0.3);
}

.web-product-price .current-price {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--primary);
}

.web-buy-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: #fff;
    padding: 9px 18px;
    border-radius: 9px;
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.web-buy-btn:hover {
    background: var(--primary);
    box-shadow: 0 4px 14px rgba(233,93,44,0.35);
}

/* ---- Icône panier dans la navbar ---- */
.vnav-cart-wrapper {
    position: relative;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.25s ease;
    margin-right: 8px;
}

.vnav-cart-wrapper:hover {
    border-color: var(--primary);
}

.vnav-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================================
   STYLES PAGE FICHE PRODUIT (web-product.html)
   ========================================================================= */

.product-sheet-main {
    max-width: 1260px;
    margin: 0 auto;
    padding: 120px 5% 80px;
}

/* Bouton de retour dans la fiche produit */
.product-back-nav {
    margin-bottom: 25px;
    display: flex !important;
    justify-content: flex-start !important;
    width: 100%;
}

.back-to-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.back-to-shop-btn:hover {
    color: #fff;
    border-color: var(--primary);
    background: rgba(233, 93, 44, 0.08);
    transform: translateX(-4px);
}

.back-to-shop-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.back-to-shop-btn:hover svg {
    transform: translateX(-2px);
}

/* Split layout galerie + infos */
.product-split-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    margin-bottom: 40px; /* Reduced from 80px */
}

/* Galerie */
.product-gallery-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-main-img-wrapper {
    width: 100%;
    height: 460px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.09);
    background: #111;
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}

.product-main-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-main-img-wrapper:hover img { transform: scale(1.03); }

.product-thumbs-row {
    display: flex;
    gap: 12px;
}

.thumb-item {
    flex: 1;
    height: 85px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.55;
    background: #111;
    transition: all 0.25s ease;
}

.thumb-item img { width: 100%; height: 100%; object-fit: cover; }
.thumb-item:hover, .thumb-item.active { opacity: 1; }
.thumb-item.active { border-color: var(--primary); }

/* Colonne infos produit */
.product-details-column {
    display: flex;
    flex-direction: column;
}

.product-category-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
    display: block;
}

.product-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin: 0 0 14px 0;
    line-height: 1.1;
    color: #fff;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.rating-stars { color: #ff9800; font-size: 1rem; letter-spacing: 2px; }
.rating-score { font-size: 0.9rem; font-weight: 700; color: #fff; }
.rating-count { font-size: 0.82rem; color: rgba(255,255,255,0.4); }

.product-price-block {
    display: flex;
    align-items: baseline;
    gap: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 14px 22px;
    border-radius: 14px;
    margin-bottom: 30px;
    width: fit-content;
}

.product-price-block .old-price {
    font-size: 1rem;
    text-decoration: line-through;
    color: rgba(255,255,255,0.35);
}

.product-price-block .current-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.product-desc-block {
    margin-bottom: 30px;
}

.product-desc-block h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    margin: 0 0 12px 0;
}

.product-desc-block p {
    font-size: 0.93rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* Bouton visiter */
.product-actions-block {
    margin-bottom: 40px;
}

.product-buy-btn {
    width: 100%;
    background: var(--primary);
    border: none;
    color: #fff;
    padding: 17px 28px;
    border-radius: 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(233,93,44,0.4);
    transition: all 0.3s ease;
}

.product-buy-btn:hover {
    background: #ff6b3d;
    box-shadow: 0 8px 24px rgba(233,93,44,0.5);
    transform: translateY(-2px);
}

/* Fiche technique */
.product-specs-block h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    margin: 0 0 12px 0;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.specs-table tr {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.specs-table tr:last-child { border-bottom: none; }

.specs-table th {
    text-align: left;
    padding: 11px 0;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    width: 36%;
}

.specs-table td {
    padding: 11px 0;
    color: #fff;
    font-weight: 500;
}

/* Section recommandations */
.related-products-section {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 30px; /* Reduced from 55px */
}

.related-products-section .section-title {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #fff;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.related-product-card {
    background: #151515;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(233,93,44,0.25);
}

.related-img-wrapper {
    height: 150px;
    position: relative;
    overflow: hidden;
}

.related-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.8);
    padding: 4px 9px;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    color: var(--primary);
}

.related-info { padding: 18px; }

.related-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #fff;
}

.related-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 0 14px 0;
}

.related-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.25s ease;
}

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

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

@media (max-width: 768px) {
    .shop-hero-title { font-size: 2rem; }

    .shop-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .shop-toolbar-right {
        width: 100%;
        justify-content: space-between;
    }

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

    .product-split-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .product-title { font-size: 2rem; }

    .related-products-grid {
        grid-template-columns: 1fr;
    }
}

/* Boutons de navigation et styles additionnels pour la visionneuse produit */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    z-index: 1002;
    border-radius: 50%;
}

.lightbox-arrow:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(233, 93, 44, 0.4);
}

.lightbox-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

#product-caption {
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: auto;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.05em;
    font-weight: 500;
}

@media (max-width: 768px) {
    .lightbox-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    .lightbox-prev {
        left: 15px;
    }
    .lightbox-next {
        right: 15px;
    }
}

/* Section Avis Clients */
.product-reviews-section {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px; /* Reduced from 55px */
    margin-bottom: 30px; /* Reduced from 60px */
}

.reviews-summary-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 30px;
    border-radius: 18px;
    margin-bottom: 40px;
    align-items: center;
}

.summary-score-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding-right: 20px;
}

.summary-score-column .large-score {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.summary-score-column .rating-stars.font-large {
    font-size: 1.2rem;
    color: #ff9800;
    margin-bottom: 8px;
}

.summary-score-column .summary-count {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.summary-details-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.bar-row span:first-child {
    width: 70px;
    text-align: right;
}

.bar-row span:last-child {
    width: 35px;
}

.progress-bar-bg {
    position: relative;
    flex-grow: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
}

/* Liste des avis */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 24px;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.review-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.08);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-author {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.review-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.review-rating {
    color: #ff9800;
    font-size: 0.85rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

@media (max-width: 768px) {
    .reviews-summary-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .summary-score-column {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding-right: 0;
        padding-bottom: 20px;
    }
}

/* ==========================================================================
   RESPONSIVE NAVBAR (HAMBURGER DRAWER)
   ========================================================================== */
@media (max-width: 850px) {
    .video-navbar {
        padding: 14px 24px;
    }
    
    .site-navbar {
        padding: 12px 24px;
    }

    .video-navbar.navbar-scrolled {
        padding: 14px 24px !important;
    }
    
    .site-navbar.navbar-scrolled {
        padding: 12px 24px !important;
    }

    /* Hide standard nav links and set as drawer */
    .vnav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(14, 14, 14, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 199;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
        padding: 40px 0;
        margin: 0;
    }

    .vnav-links.active {
        right: 0;
    }

    .vnav-links a {
        font-size: 0.95rem;
        letter-spacing: 2px;
        padding: 8px 16px;
        display: block;
    }

    .vnav-links a.vnav-active::after {
        bottom: 0px;
    }

    /* Adjust navbar item ordering/hiding */
    .vnav-search-wrapper {
        display: none !important; /* Hide search bar on small screens to save space */
    }

    /* Hamburger icon container */
    .vnav-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 22px;
        height: 16px;
        cursor: pointer;
        z-index: 201; /* Above mobile drawer */
        order: 3;
    }

    .vnav-hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #fff;
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* Adapt color for non-video pages (light/dark mode main navbar) */
    .site-navbar .vnav-hamburger span {
        background-color: var(--text-main);
    }

    /* Hamburger animation states */
    .vnav-hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .vnav-hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .vnav-hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* ==========================================================================
   MENTIONS LÉGALES (LEGAL PAGE)
   ========================================================================== */
.legal-section {
    min-height: 100vh;
    background-color: var(--bg-main);
    color: var(--text-main);
    padding: 120px 6% 80px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.legal-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 60px var(--container-shadow);
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 40px 0;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 15px;
}

.legal-block {
    margin-bottom: 35px;
    text-align: left;
}

.legal-block:last-child {
    margin-bottom: 0;
}

.legal-block h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 15px 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.legal-block p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0 0 12px 0;
}

.legal-block p:last-child {
    margin-bottom: 0;
}

.legal-block strong {
    color: #fff;
}

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

.legal-block a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-container {
        padding: 30px;
    }
    
    .legal-title {
        font-size: 2rem;
    }
}

