/* ==========================================================================
   PORTAIL D'IMMERSION DANS LA CAMÉRA DU DRONE — IMMERSION DIRECTE 4K SANS ESPACE VIDE
   Instants Magiques de Michel Hartmann
   ========================================================================== */

:root {
    --gold-primary: #e6b860;
    --gold-light: #f7d58b;
    --gold-glow: rgba(230, 184, 96, 0.4);
    --gold-gradient: linear-gradient(135deg, #f7d58b 0%, #e6b860 50%, #b8862d 100%);
    --bg-dark-glass: rgba(10, 14, 20, 0.85);
    --border-gold-subtle: rgba(230, 184, 96, 0.35);
    --text-ivory: #ffffff;
}

/* 1. Zoom dans l'optique au scroll */
#lens-zoom-overlay {
    position: fixed;
    inset: 0;
    z-index: 999990;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    background: radial-gradient(circle at center, rgba(230, 184, 96, 0.3) 0%, rgba(8, 12, 16, 0.95) 60%, #000 100%);
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#lens-zoom-overlay.diving {
    opacity: 1;
    visibility: visible;
}

.iris-zoom-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%) scale(1);
    border-radius: 50%;
    border: 3px solid var(--gold-primary);
    box-shadow: 0 0 50px var(--gold-primary), inset 0 0 30px var(--gold-primary);
    transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.6s ease;
}

#lens-zoom-overlay.diving .iris-zoom-circle {
    transform: translate(-50%, -50%) scale(50);
    opacity: 0;
}

/* 2. Théâtre Plein Écran du Paysage 4K (Occupe 100% de la vision, Zéro Espace Vide) */
#landscape-portal-world {
    position: fixed;
    inset: 0;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
    background: #000000;
    overflow: hidden;
}

#landscape-portal-world.active {
    opacity: 1;
    visibility: visible;
}

/* Image 4K Plein Écran Vivante avec Dérive Cinématographique */
.landscape-image-stage {
    position: absolute;
    inset: -4%;
    width: 108%;
    height: 108%;
    overflow: hidden;
}

.landscape-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform 0.2s cubic-bezier(0.1, 0.9, 0.2, 1), opacity 0.5s ease;
    will-change: transform;
}

.landscape-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.45) 85%, rgba(0, 0, 0, 0.8) 100%);
}

/* 3. Barre Supérieure — DA Luxe Or & Verre */
.landscape-top-bar {
    position: absolute;
    top: 28px;
    left: 36px;
    right: 36px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.landscape-top-bar * {
    pointer-events: auto;
}

.landscape-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-dark-glass);
    border: 1px solid var(--border-gold-subtle);
    padding: 10px 22px;
    border-radius: 30px;
    backdrop-filter: blur(20px);
    color: var(--text-ivory);
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.brand-emblem-gold {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #05080c;
    font-size: 0.85rem;
}

.landscape-btn-exit {
    background: var(--bg-dark-glass);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    backdrop-filter: blur(20px);
    transition: all 0.25s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.landscape-btn-exit:hover {
    background: var(--gold-gradient);
    color: #05080c;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px var(--gold-glow);
}

/* 4. HUD Inférieur du Paysage — DA Or & Typographie Noble */
.landscape-hud-bottom {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    width: 90%;
    max-width: 760px;
    background: rgba(10, 14, 20, 0.88);
    border: 1px solid var(--border-gold-subtle);
    backdrop-filter: blur(24px);
    padding: 24px 36px;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 35px var(--gold-glow);
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    transition: all 0.35s ease;
}

.landscape-hud-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landscape-tag {
    font-family: 'Cinzel', serif;
    font-size: 0.82rem;
    color: var(--gold-primary);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.landscape-counter {
    font-family: 'Plus Jakarta Sans', monospace;
    font-size: 0.85rem;
    color: var(--gold-light);
    font-weight: 700;
}

.landscape-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.25;
}

.landscape-desc {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    font-style: italic;
}

.landscape-nav-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #94a3b8;
    border-top: 1px solid rgba(230, 184, 96, 0.2);
    padding-top: 10px;
    margin-top: 6px;
}

.landscape-nav-hint span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.landscape-nav-hint i {
    color: var(--gold-primary);
}

/* 5. Flèches de Défilement */
.landscape-arrows {
    position: absolute;
    top: 50%;
    left: 28px;
    right: 28px;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.landscape-arrow-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bg-dark-glass);
    border: 1px solid var(--border-gold-subtle);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    backdrop-filter: blur(15px);
    pointer-events: auto;
    transition: all 0.25s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.landscape-arrow-btn:hover {
    background: var(--gold-gradient);
    color: #05080c;
    border-color: transparent;
    box-shadow: 0 0 25px var(--gold-primary);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .landscape-hud-bottom {
        bottom: 20px;
        padding: 18px 20px;
    }

    .landscape-title {
        font-size: 1.35rem;
    }

    .landscape-top-bar {
        left: 18px;
        right: 18px;
    }

    .landscape-arrows {
        display: none;
    }
}
