/* ==========================================
   1. VARIABLES & RESET (DARK ELEGANT THEME)
   ========================================== */
:root {
    --bg-main: #0F1115;             /* Fond sombre charbon ultra chic */
    --card-bg: #181B20;             /* Cartes grises très sombres */
    --text-dark: #EDEDED;            /* Texte principal blanc chaud */
    --text-muted: #9DA4B0;          /* Texte secondaire gris doux */
    --accent-gold: #D4AF37;          /* Accent Or / Bronze raffiné */
    --accent-red: #E63946;           /* Rouge corail du bouton */
    --border-dark: rgba(212, 175, 55, 0.18);
    --radius-lg: 20px;
    --radius-md: 14px;
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   2. NAVBAR GLASSMORPHISME SOMBRE
   ========================================== */
.header-nav {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.navbar {
    background: rgba(15, 17, 21, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    padding: 12px 28px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #FFFFFF;
}

.logo .dot { color: var(--accent-gold); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: #EDEDED;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
}

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

.btn-nav {
    background-color: var(--accent-gold);
    color: #0F1115;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.btn-nav:hover {
    transform: translateY(-1px);
}

/* ==========================================
   3. HERO FULLSCREEN NET (IMAGE HD SANS FLOU)
   ========================================== */
.hero-fullscreen {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Slider de fond HD au survol de la souris */
.hero-bg-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    /* Suppression du filtre flou pour rendre l'image parfaitement nette */
    filter: none;
    transition: opacity 0.8s ease-in-out, transform 8s ease;
}

.bg-1 {
    opacity: 1;
    transform: scale(1);
}

.bg-2 {
    opacity: 0;
    transform: scale(1.03);
}

/* Au survol du Hero, l'image 2 s'affiche de manière nette et fluide */
.hero-fullscreen:hover .bg-1 {
    opacity: 0;
}

.hero-fullscreen:hover .bg-2 {
    opacity: 1;
    transform: scale(1);
}

/* Superposition sombre équilibrée pour garder l'image nette et le texte lisible */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(15, 17, 21, 0.4) 0%, rgba(15, 17, 21, 0.75) 100%);
    z-index: 2;
}

/* Contenu textuel centré */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-tag {
    background: rgba(15, 17, 21, 0.6);
    backdrop-filter: blur(8px);
    color: var(--accent-gold);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    border: 1px solid var(--border-dark);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    color: #4EA8DE; /* Bleu cyan moderne */
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.white-text {
    color: #FFFFFF;
}

.highlight-brand {
    font-style: italic;
    background: linear-gradient(90deg, #4EA8DE, #D4AF37, #E63946);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: #EDEDED;
    max-width: 650px;
    margin-bottom: 35px;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.btn-hero-primary {
    background-color: var(--accent-red);
    color: #FFFFFF;
    padding: 16px 40px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.3);
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    background-color: #d62839;
}

.scroll-indicator {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #EDEDED;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.scroll-indicator i {
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    color: var(--accent-gold);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    60% { transform: translateY(-3px); }
}

/* ==========================================
   4. SECTIONS & LAYOUT
   ========================================== */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px 100px;
}

.section-block {
    margin-bottom: 120px;
}

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

.sub-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-gold);
    letter-spacing: 2px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    color: #FFFFFF;
    margin-top: 8px;
}

/* ==========================================
   5. PRESENTATION GRID & STATS
   ========================================== */
.presentation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.scroll-gallery {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 15px;
}

.scroll-item {
    flex: 0 0 85%;
    height: 400px;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    scroll-snap-align: start;
    position: relative;
    padding: 20px;
    display: flex;
    align-items: flex-end;
    border: 1px solid var(--border-dark);
}

.img-badge {
    background: rgba(15, 17, 21, 0.85);
    backdrop-filter: blur(6px);
    color: var(--accent-gold);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border-dark);
}

.presentation-content .lead {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.presentation-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.stats-row {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
}

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================
   6. CARTES UNIFIÉES SOMBRES
   ========================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.card-image-box {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.category-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(15, 17, 21, 0.85);
    backdrop-filter: blur(6px);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-gold);
    border: 1px solid var(--border-dark);
}

.card-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.card-info h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.card-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 15px;
    font-size: 13px;
    color: var(--text-muted);
}

.status-open {
    color: var(--accent-gold);
    font-weight: 700;
}

/* ==========================================
   7. BENTO GALERIE SOMBRE
   ========================================== */
.bento-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-photo {
    height: 220px;
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-photo.item-big {
    grid-column: span 2;
    grid-row: span 2;
    height: 100%;
}

.gallery-photo:hover {
    transform: scale(1.02);
    border-color: var(--accent-gold);
}

/* ==========================================
   8. MEDIA (VIDEO + MAP)
   ========================================== */
.media-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.video-preview {
    height: 420px;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.play-trigger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--accent-gold);
    color: #0F1115;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.video-preview:hover .play-trigger {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-label {
    background: rgba(15, 17, 21, 0.85);
    backdrop-filter: blur(8px);
    color: #FFF;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    width: fit-content;
    border: 1px solid var(--border-dark);
}

.map-frame-wrapper {
    height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    filter: invert(90%) hue-rotate(180deg);
}

.map-frame {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================
   9. FOOTER CHIC
   ========================================== */
.footer-custom {
    background-color: #0A0B0E;
    color: #FFF;
    padding: 80px 20px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 400px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #181B20;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.social-circle:hover {
    background: var(--accent-gold);
    color: #0F1115;
    border-color: var(--accent-gold);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 20px;
    list-style: none;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

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