:root {
    --primary: #1a1a1a;
    --secondary: #2C2C2C;
    --accent: #E63946; /* Rouge subtil pour relever le tout */
    --text: #F1FAEE;
    --text-muted: #A8DADC;
    --bg-dark: #0f0f11;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.7;
    font-size: 17px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.3;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 2rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; color: #fff; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #fff; }

p { margin-bottom: 1.5rem; color: #d1d1d1; }
a { color: var(--text); text-decoration: none; transition: var(--transition); }

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(15, 15, 17, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #fff;
}

.admin-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.admin-link:hover {
    opacity: 1;
    color: var(--accent);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 5rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 15, 17, 0.4) 0%, rgba(15, 15, 17, 1) 100%);
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    z-index: 1;
    animation: fadeUp 1s ease-out;
}

.eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-top: 2rem;
    backdrop-filter: blur(5px);
}

.cta-button:hover {
    background: #fff;
    color: #000;
}

/* Intro Section */
.section-intro {
    padding: 5rem 0;
    text-align: center;
}

.text-lead {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    color: #eaeaea;
}

/* Split Section */
.section-split {
    padding: 6rem 0;
}

.split-container {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.split-image {
    flex: 1;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

.split-image:hover img {
    transform: scale(1.05);
}

.split-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15,15,17,0.3) 0%, transparent 50%);
}

.split-content {
    flex: 1;
}

.styled-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.styled-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: #d1d1d1;
}

.styled-list li::before {
    content: '•';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

/* Quote Section */
.section-quote {
    padding: 6rem 0;
    background: linear-gradient(90deg, rgba(230, 57, 70, 0.05) 0%, transparent 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
    font-style: italic;
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* Text Section */
.section-text {
    padding: 6rem 0;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 4rem;
    backdrop-filter: blur(10px);
}

.rich-text ul {
    list-style-type: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}
.rich-text li { margin-bottom: 0.5rem; color: #d1d1d1; }

/* Grid Cards */
.section-grid {
    padding: 4rem 0 8rem;
}

.grid-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.grid-layout .card {
    width: 100%;
    max-width: 900px;
}

.card {
    background: rgba(25, 25, 28, 0.6);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(35, 35, 40, 0.8);
    border-color: rgba(255,255,255,0.2);
}

/* Gallery Section */
.section-gallery {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.section-gallery h2 {
    margin-bottom: 3rem;
}

.gallery-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1.5rem; /* Espace pour la scrollbar */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    
    /* Style de scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.gallery-grid::-webkit-scrollbar {
    height: 6px;
}
.gallery-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}
.gallery-grid::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,0.3);
    border-radius: 4px;
}

.gallery-item {
    flex: 0 0 300px; /* Largeur fixe pour chaque image du slider */
    scroll-snap-align: start;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: block;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.4s ease;
    pointer-events: none;
}

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

.gallery-item:hover::after {
    background: rgba(230, 57, 70, 0.2); /* Accent color overlay */
}

/* Highlight Section */
.section-highlight {
    padding: 6rem 0;
    background: #fff;
    color: var(--primary);
}

.section-highlight h2, .section-highlight p, .section-highlight .highlight-p {
    color: var(--primary);
}

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

.highlight-p {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    margin-top: 2rem;
}

/* Info & FAQ Section */
.section-info-faq {
    padding: 8rem 0;
}

.info-faq-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.info-block {
    position: sticky;
    top: 100px;
    align-self: start;
}

.practical-list {
    list-style: none;
}

.practical-list li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.faq-item {
    margin-bottom: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--radius);
}

.faq-item h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
}

.faq-item p { margin-bottom: 0; }

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

/* Address reset */
address {
    font-style: normal;
}

.practical-list a {
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.practical-list a:hover {
    color: #fff;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .split-container {
        flex-direction: column;
    }
    .info-faq-wrapper {
        grid-template-columns: 1fr;
    }
    .info-block {
        position: static;
    }
}

@media (max-width: 768px) {
    .glass-card { padding: 2rem; }
    .section-intro, .section-split, .section-quote, .section-text, .section-grid, .section-highlight, .section-info-faq {
        padding: 4rem 0;
    }
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lightbox-overlay.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 10000;
}

.lightbox-close:hover {
    opacity: 1;
    transform: scale(1.2);
}
