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

/* Thèmes (conservés du fichier original) */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --accent-color: #d4af37;
    --text-primary: #f5f5dc;
    --text-secondary: #c9c9a8;
    --border-color: #4a4a3a;
    --hover-color: #f4d03f;
    --bg-pattern: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Georgia', 'Times New Roman', serif;
}

body.theme-pioneers {
    --primary-color: #0a0e27;
    --secondary-color: #1a1f3a;
    --accent-color: #ff6b35;
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --border-color: #2a3a5a;
    --hover-color: #ff8c5a;
    --bg-pattern: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    --font-family: 'Arial', sans-serif;
}

body.theme-saul-bass {
    --primary-color: #000000;
    --secondary-color: #1a1a1a;
    --accent-color: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --border-color: #333333;
    --hover-color: #cccccc;
    --bg-pattern: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
    --font-family: 'Helvetica', 'Arial', sans-serif;
}

body.theme-motion-graphics {
    --primary-color: #2a1f3e;
    --secondary-color: #3a2f5e;
    --accent-color: #ff6b9d;
    --text-primary: #ffffff;
    --text-secondary: #e8d5e8;
    --border-color: #6a5a8a;
    --hover-color: #ff8fb3;
    --bg-pattern: radial-gradient(circle at 20% 20%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
                  radial-gradient(circle at 80% 80%, rgba(64, 196, 255, 0.1) 0%, transparent 50%);
    --font-family: 'Arial', 'Helvetica', sans-serif;
}

body.theme-futuristic {
    --primary-color: #000428;
    --secondary-color: #004e92;
    --accent-color: #00d4ff;
    --text-primary: #ffffff;
    --text-secondary: #66e0ff;
    --border-color: #0066cc;
    --hover-color: #33e0ff;
    --bg-pattern: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    --font-family: 'Arial', 'Helvetica', sans-serif;
}

body.theme-cinematic {
    --primary-color: #2a1f1a;
    --secondary-color: #3d2f28;
    --accent-color: #d4a574;
    --text-primary: #f5e6d3;
    --text-secondary: #c9b8a8;
    --border-color: #5a4a3a;
    --hover-color: #e8c49a;
    --bg-pattern: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.15'/%3E%3C/svg%3E");
    --font-family: 'Arial', sans-serif;
}

body.theme-flash {
    --primary-color: #1a0033;
    --secondary-color: #330066;
    --accent-color: #ff00cc;
    --text-primary: #ffffff;
    --text-secondary: #ff99ff;
    --border-color: #4d0099;
    --hover-color: #ff33dd;
    --bg-pattern: radial-gradient(circle at 30% 30%, rgba(255, 0, 204, 0.2) 0%, transparent 50%),
                  radial-gradient(circle at 70% 70%, rgba(0, 255, 255, 0.2) 0%, transparent 50%);
    --font-family: 'Arial', sans-serif;
}

body.theme-modern {
    --primary-color: #0f1419;
    --secondary-color: #1a2332;
    --accent-color: #00d9ff;
    --text-primary: #ffffff;
    --text-secondary: #a0b8c8;
    --border-color: #2a3a4a;
    --hover-color: #33e0ff;
    --bg-pattern: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, transparent 50%);
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

body.theme-today {
    --primary-color: #0a0a0a;
    --secondary-color: #1a1a1a;
    --accent-color: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --border-color: #333333;
    --hover-color: #cccccc;
    --bg-pattern: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Inter', sans-serif;
}

body {
    font-family: var(--font-family);
    background: var(--primary-color);
    background-image: var(--bg-pattern);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    transition: background-color 0.8s ease, color 0.8s ease;
    padding-top: 80px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    border-bottom: 2px solid var(--border-color);
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: background-color 0.8s ease, border-color 0.8s ease;
}

@supports (backdrop-filter: blur(10px)) {
    .site-header {
        background: rgba(45, 45, 45, 0.85);
        backdrop-filter: blur(10px);
    }
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.site-title {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
}

.site-title:hover {
    background: var(--border-color);
}

.title-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1.2;
    transition: var(--transition);
}

.title-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: 0.25rem;
    opacity: 0.8;
    transition: var(--transition);
}

.site-title:hover .title-text {
    transform: translateX(5px);
    text-shadow: 0 0 10px var(--accent-color);
}

.site-title:hover .title-subtitle {
    opacity: 1;
    color: var(--accent-color);
}

/* Menu latéral responsive */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--secondary-color);
    border-left: 2px solid var(--border-color);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

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

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    background: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0;
}

.nav-close {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

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

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

.nav-list {
    list-style: none;
    padding: 1rem 0;
    margin: 0;
    flex: 1;
}

.nav-list li {
    margin: 0;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
    border-left: 3px solid transparent;
    position: relative;
}

.nav-link:hover {
    background: var(--border-color);
    border-left-color: var(--accent-color);
    padding-left: 1.75rem;
}

.nav-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.nav-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.nav-year,
.nav-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    opacity: 0.8;
    transition: var(--transition);
}

.nav-link:hover .nav-text,
.nav-link.active .nav-text {
    color: var(--accent-color);
}

.nav-link:hover .nav-year,
.nav-link:hover .nav-desc,
.nav-link.active .nav-year,
.nav-link.active .nav-desc {
    color: var(--accent-color);
    opacity: 1;
}

.nav-link.active {
    background: rgba(var(--accent-color-rgb, 212, 175, 55), 0.1);
    border-left-color: var(--accent-color);
    border-left-width: 4px;
}

.nav-link.active .nav-text {
    font-weight: 700;
    color: var(--accent-color);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
    z-index: 1001;
}

.menu-toggle:hover {
    background: var(--border-color);
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--accent-color);
    transition: var(--transition);
    border-radius: 2px;
    display: block;
}

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

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

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

/* Main Content */
.site-main {
    min-height: calc(100vh - 80px);
    padding: 2rem 0;
}

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

/* Page Content */
.page-content {
    animation: fadeIn 0.6s ease;
}

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

.section-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section-year {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--accent-color);
    opacity: 0.3;
    line-height: 1;
    text-shadow: 0 0 30px var(--accent-color);
}

.text-content {
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.text-content p {
    margin-bottom: 1.5rem;
}

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

.text-content em {
    color: var(--accent-color);
    font-style: italic;
}

.text-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.text-content li {
    margin-bottom: 0.75rem;
}

/* Home Content */
.home-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 0;
}

.page-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.intro-text p {
    margin-bottom: 1.5rem;
}

/* Content Alternate - Texte et vidéos alternés */
.content-alternate {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.text-block {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    padding: 2rem;
    background: var(--secondary-color);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    box-shadow: var(--shadow);
}

.text-block p {
    margin-bottom: 1rem;
}

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

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

.text-block em {
    color: var(--accent-color);
    font-style: italic;
}

/* Videos Section */
.videos-section {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.video-item {
    background: var(--secondary-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.video-item h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.video-meta {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.video-meta strong {
    color: var(--accent-color);
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/9;
}

/* Video Poster Container - État initial avec poster */
.video-poster-container {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: #000;
    overflow: hidden;
}

.video-poster-container:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.7);
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0;
    margin: 0;
    pointer-events: auto;
}

.video-play-button:hover {
    background: rgba(0, 0, 0, 0.85);
    border-color: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 0 40px var(--accent-color), 0 0 20px rgba(255, 255, 255, 0.3);
}

.video-play-button:active {
    transform: translate(-50%, -50%) scale(1.05);
}

.video-play-button svg {
    width: 36px;
    height: 36px;
    fill: white;
    margin-left: 4px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* État avec vidéo en lecture */
.video-poster-container.playing .video-poster,
.video-poster-container.playing .video-play-button {
    display: none;
}

.video-poster-container.playing video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.video-poster-container.playing .video-play-button {
    display: none;
}

/* Images Gallery */
.images-gallery {
    background: var(--secondary-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    max-width: 900px;
    margin: 0 auto;
}

.images-gallery h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.images-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Image Section */
.image-section {
    max-width: 900px;
    margin: 3rem auto;
    text-align: center;
}

.content-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    display: block;
}

/* Quote Section */
.quote-section {
    max-width: 800px;
    margin: 4rem auto;
    text-align: center;
}

.quote {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    padding: 2rem;
    border-left: 4px solid var(--accent-color);
    background: var(--secondary-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.quote cite {
    display: block;
    margin-top: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-style: normal;
    font-weight: 400;
}

/* Footer */
.site-footer {
    background: var(--secondary-color);
    border-top: 2px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
    color: var(--text-secondary);
    transition: background-color 0.8s ease, border-color 0.8s ease;
}

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.8);
    cursor: default;
}

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

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.lightbox-close::before {
    content: '×';
    line-height: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-list {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .header-container {
        padding: 1rem;
    }
    
    .site-title {
        padding: 0.5rem;
    }
    
    .title-text {
        font-size: 1.25rem;
    }
    
    .title-subtitle {
        font-size: 0.7rem;
    }
    
    .main-nav {
        max-width: 100%;
        width: 85%;
    }
    
    .nav-header {
        padding: 1.25rem 1rem;
    }
    
    .nav-title {
        font-size: 1.25rem;
    }
    
    .nav-link {
        padding: 1rem 1.25rem;
    }
    
    .nav-text {
        font-size: 0.95rem;
    }
    
    .nav-year,
    .nav-desc {
        font-size: 0.8rem;
    }
    
    .page-container {
        padding: 0 1rem;
    }
    
    .text-content {
        font-size: 1rem;
    }
    
    .video-item {
        padding: 1.5rem;
    }
    
    .images-container {
        grid-template-columns: 1fr;
    }
}

