/* ==========================================================================
   IQ2 — Pages Elementor (hero carousel, galerie, lightbox, etc.)
   ========================================================================== */

/* ===== HERO CAROUSEL ===== */
.iq2-hero-carousel-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    max-height: 1080px;
    overflow: hidden;
    color: #fff;
}
.iq2-hero-carousel {
    position: absolute;
    inset: 0;
}
.iq2-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.iq2-hero-slide.active {
    opacity: 1;
}
.iq2-hero-fallback {
    background: linear-gradient(135deg, #0E1320 0%, #1A2236 100%);
}
.iq2-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(14, 19, 32, 0.4) 0%, rgba(14, 19, 32, 0.85) 100%);
}
.iq2-hero-content-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}
.iq2-hero-content-wrap {
    max-width: 800px;
}
.iq2-hero-content-wrap .iq2-section-eyebrow {
    color: var(--iq2-gold);
    margin-bottom: 25px;
}
.iq2-hero-content-wrap .iq2-section-eyebrow:before,
.iq2-hero-content-wrap .iq2-section-eyebrow:after {
    background: var(--iq2-gold);
}
.iq2-hero-content-overlay .iq2-hero-title {
    color: #fff;
    font-size: 76px;
    line-height: 1.05;
    margin: 0 0 25px;
    font-weight: 300;
}
.iq2-hero-content-overlay .iq2-hero-title em {
    color: var(--iq2-gold);
    font-style: italic;
}
.iq2-hero-content-overlay .iq2-hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 45px;
    max-width: 700px;
}
.iq2-hero-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Carousel nav */
.iq2-hero-nav {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}
.iq2-hero-prev,
.iq2-hero-next {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border-radius: 50%;
    backdrop-filter: blur(8px);
}
.iq2-hero-prev:hover,
.iq2-hero-next:hover {
    background: var(--iq2-gold);
    border-color: var(--iq2-gold);
    color: var(--iq2-navy);
}
.iq2-hero-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}
.iq2-hero-dot {
    width: 30px;
    height: 3px;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}
.iq2-hero-dot.active {
    background: var(--iq2-gold);
    width: 50px;
}

/* ===== PAGE HERO avec bg image ===== */
.iq2-page-hero .iq2-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.iq2-hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 19, 32, 0.85) 0%, rgba(14, 19, 32, 0.7) 100%);
}
.iq2-breadcrumb-hero {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}
.iq2-breadcrumb-hero a {
    color: var(--iq2-gold);
}
.iq2-breadcrumb-hero a:hover {
    color: #fff;
}
.iq2-breadcrumb-hero i {
    margin: 0 12px;
    font-size: 10px;
}

/* ===== GALERIE ===== */
.iq2-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.iq2-gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
}
.iq2-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.iq2-gallery-item:hover img {
    transform: scale(1.06);
}
.iq2-gallery-zoom {
    position: absolute;
    inset: 0;
    background: rgba(14, 19, 32, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.iq2-gallery-zoom i {
    color: var(--iq2-gold);
    font-size: 36px;
}
.iq2-gallery-item:hover .iq2-gallery-zoom {
    opacity: 1;
}

/* Lightbox */
.iq2-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.iq2-lightbox.open {
    display: flex;
}
.iq2-lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.iq2-lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.iq2-lightbox-close:hover {
    background: var(--iq2-gold);
    color: var(--iq2-navy);
}

/* ===== VISITE VIRTUELLE ===== */
.iq2-virtual-tour {
    background: #000;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}
.iq2-tour-iframe-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}
.iq2-tour-iframe-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.iq2-tour-placeholder {
    padding: 100px 40px;
    text-align: center;
    background: var(--iq2-navy-light);
    color: #fff;
}
.iq2-tour-placeholder i.fas.fa-vr-cardboard {
    font-size: 64px;
    color: var(--iq2-gold);
    margin-bottom: 25px;
    display: block;
}
.iq2-tour-placeholder h3 {
    color: #fff;
    font-size: 28px;
    margin: 0 0 15px;
}
.iq2-tour-placeholder p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

/* ===== CHIFFRES IQ1 (dark) ===== */
.iq2-number-dark .iq2-number-value {
    color: var(--iq2-gold);
}
.iq2-number-dark .iq2-number-label {
    color: rgba(255, 255, 255, 0.7);
}
.iq2-number-dark .iq2-number-value small {
    font-size: 0.4em;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 4px;
}
.iq2-number-value small {
    font-size: 0.4em;
    color: var(--iq2-text-muted);
    margin-left: 4px;
}

/* ===== IQ1 FEATURES ===== */
.iq2-iq1-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.iq2-iq1-feature {
    background: #fff;
    padding: 35px 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border-left: 3px solid var(--iq2-gold);
    transition: transform 0.3s;
}
.iq2-iq1-feature:hover {
    transform: translateY(-5px);
}
.iq2-iq1-feature i {
    font-size: 28px;
    color: var(--iq2-gold);
    flex-shrink: 0;
    margin-top: 5px;
}
.iq2-iq1-feature h4 {
    font-size: 18px;
    margin: 0 0 8px;
    color: var(--iq2-text);
}
.iq2-iq1-feature p {
    font-size: 13px;
    color: var(--iq2-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ===== CONTACT ITEMS ===== */
.iq2-contact-items {
    margin-top: 30px;
}
.iq2-contact-items .iq2-contact-item {
    margin-bottom: 28px;
}

/* ===== Resp ===== */
@media (max-width: 1024px) {
    .iq2-hero-content-overlay .iq2-hero-title {
        font-size: 50px;
    }
    .iq2-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .iq2-iq1-features-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .iq2-hero-carousel-section {
        min-height: 600px;
    }
    .iq2-hero-content-overlay .iq2-hero-title {
        font-size: 36px;
    }
    .iq2-gallery-grid {
        grid-template-columns: 1fr;
    }
    .iq2-hero-nav {
        bottom: 20px;
    }
}
