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

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #f4f4f4;
    color: #1a1a1a;
    line-height: 1.5;
}

/* ===== EN-TÊTE AVEC MENU DISCRET ===== */
.site-header {
    padding: 1.5rem 2rem;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 30;
}

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

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.header-brand h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0a2e4d;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

/* Titre arabe PLUS GROS */
.brand-sub {
    font-size: 1.8rem;
    font-weight: 600;
    color: #0a2e4d;
    font-family: system-ui, -apple-system, 'Segoe UI', 'Arial', sans-serif;
    margin-top: 0.2rem;
    line-height: 1.3;
}

/* ===== MENU DISCRET BILINGUE ===== */
.header-nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    padding: 0.5rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 40px;
    transition: all 0.2s;
    background: transparent;
    border: 1px solid transparent;
    text-align: center;
    line-height: 1.3;
}

.nav-link-ar {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 2px;
}

.nav-link:hover {
    background: #f0f4f8;
    color: #0a2e4d;
}

.nav-link--highlight {
    background: #0a2e4d;
    color: white;
    border: 1px solid #0a2e4d;
}

.nav-link--highlight .nav-link-ar {
    color: rgba(255,255,255,0.9);
}

.nav-link--highlight:hover {
    background: #154a6e;
    color: white;
}

.header-bottom {
    margin-top: 0.25rem;
}

/* Sous-titre allégé - uniquement le span */
.biais-tag {
    display: inline-block;
    background: #e2e8f0;
    padding: 0.35rem 1.5rem;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: 0.3px;
}

/* Adaptation mobile pour le menu */
@media (max-width: 750px) {
    .site-header {
        padding: 1rem 1.2rem;
    }
    
    .header-top {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-brand h1 {
        font-size: 1.4rem;
    }
    
    .brand-sub {
        font-size: 1.5rem;
    }
    
    .header-nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .nav-link {
        padding: 0.4rem 0.9rem;
        font-size: 0.85rem;
    }
    
    .nav-link-ar {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .brand-sub {
        font-size: 1.3rem;
    }
    
    .nav-link {
        padding: 0.35rem 0.7rem;
    }
}

/* ===== CARROUSEL COMPACT ===== */
.fullscreen-carousel {
    width: 100%;
    padding: 2rem 0 1rem 0;
    background: #f4f4f4;
}

.carousel-viewport {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 35px -8px rgba(0,0,0,0.15), 0 5px 10px -4px rgba(0,0,0,0.05);
    background: #000;
}

.carousel-track {
    display: flex;
    height: 550px;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
    touch-action: pan-y pinch-zoom;
}

@media (max-width: 768px) {
    .carousel-track {
        height: 450px;
    }
}

@media (max-width: 480px) {
    .carousel-track {
        height: 380px;
    }
}

/* ===== SLIDE ===== */
.carousel-slide {
    flex: 0 0 100%;
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

.carousel-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

/* ===== LÉGENDE CLIQUABLE ===== */
.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 750px;
    padding: 2rem 2rem 1.8rem 2rem;
    z-index: 10;
    text-decoration: none;
    color: white;
    display: block;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: auto;
}

.slide-caption:hover {
    transform: translateY(-6px);
}

.slide-caption:hover .caption-arrow {
    transform: translateX(8px);
}

.caption-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.35rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 0.5px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.slide-caption h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
    letter-spacing: -0.02em;
}

.caption-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    opacity: 0.95;
}

.caption-arrow {
    font-size: 1.8rem;
    font-weight: 300;
    transition: transform 0.2s;
    line-height: 1;
}

@media (max-width: 600px) {
    .slide-caption {
        padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    }
    .slide-caption h2 {
        font-size: 1.5rem;
    }
    .caption-meta {
        font-size: 0.9rem;
    }
}

/* ===== FLÈCHES ===== */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 40;
    color: #0a2e4d;
    transition: all 0.25s;
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

.carousel-arrow:hover {
    background: white;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    transform: translateY(-50%) scale(1.05);
}

.carousel-arrow--left {
    left: 20px;
}

.carousel-arrow--right {
    right: 20px;
}

@media (max-width: 600px) {
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
    .carousel-arrow--left { left: 12px; }
    .carousel-arrow--right { right: 12px; }
}

/* ===== DOTS ===== */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 45;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.dot.active {
    background: white;
    width: 28px;
    box-shadow: 0 0 12px rgba(255,255,255,0.5);
}

/* Compteur */
.carousel-counter {
    position: absolute;
    bottom: 20px;
    right: 25px;
    z-index: 45;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: white;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 0.4rem 1rem;
    border-radius: 40px;
    border: 0.5px solid rgba(255,255,255,0.2);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

@media (max-width: 600px) {
    .carousel-counter {
        bottom: 15px;
        right: 15px;
        font-size: 0.75rem;
    }
    .carousel-dots {
        bottom: 15px;
    }
}

/* ===== SECTION CONTENU ===== */
.content-section {
    max-width: 1300px;
    margin: 2rem auto;
    padding: 0 2rem 3rem 2rem;
    color: #1e1e1e;
}

.content-section h2 {
    color: #0a2e4d;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.content-section p {
    font-size: 1.1rem;
    color: #334155;
    max-width: 800px;
}