/**
 * Home page — banner hero, counters, CTA
 */

/* ── Hero banners ────────────────────────────────────────── */
.hero-section.hero-banners {
    background: #0b1638;
}

.hero-section.hero-banners .hero-banner-slide {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #0b1638;
    min-height: 0;
    padding: 0;
}

.hero-section.hero-banners .hero-banner-slide::before {
    display: none;
}

.hero-section.hero-banners .hero-banner-media {
    position: relative;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    background: #0b1638;
}

.hero-section.hero-banners .hero-banner-zoom {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.hero-section.hero-banners .hero-banner-media img,
.hero-slider.owl-carousel .owl-item .hero-banner-media img {
    display: block;
    width: 100% !important;
    max-width: none;
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    transition: transform .35s ease;
}

.hero-section.hero-banners .hero-banner-zoom:hover img {
    transform: scale(1.02);
}

/* Focus points par composition */
.hero-banner-slide[data-focus="left"] .hero-banner-media img {
    object-position: left center;
}
.hero-banner-slide[data-focus="right"] .hero-banner-media img {
    object-position: right center;
}
.hero-banner-slide[data-focus="center"] .hero-banner-media img {
    object-position: center center;
}

.hero-section.hero-banners .hero-banner-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 16px;
    padding: 20px 24px 64px;
    background: linear-gradient(180deg, #0b1638 0%, #14245c 100%);
}

.hero-section.hero-banners .hero-banner-cta .theme-btn {
    white-space: nowrap;
}

.hero-section.hero-banners .hero-banner-cta .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-slider.owl-theme .owl-dots .owl-dot span {
    background: rgba(255, 255, 255, .45);
}

.hero-slider.owl-theme .owl-dots .owl-dot:hover span {
    background: rgba(255, 255, 255, .75);
}

.hero-slider.owl-theme .owl-dots .owl-dot.active span {
    background-color: #FFD700;
}

.hero-section.hero-banners .hero-slider.owl-theme .owl-dots {
    bottom: 18px;
}

.hero-section.hero-banners .hero-slider.owl-theme .owl-nav [class*=owl-] {
    background: rgba(20, 36, 92, .72);
}

/* ── Desktop : bannière compacte (~420px) ────────────────── */
@media (min-width: 992px) {
    .hero-section.hero-banners .hero-banner-media {
        height: 420px;
    }

    .hero-section.hero-banners .hero-banner-media img,
    .hero-slider.owl-carousel .owl-item .hero-banner-media img {
        width: 100% !important;
        height: 420px !important;
        object-fit: cover;
    }

    .hero-section.hero-banners .hero-banner-cta {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
        padding: 56px 32px 52px;
        background: linear-gradient(180deg, transparent 0%, rgba(11, 22, 56, .75) 40%, rgba(11, 22, 56, .95) 100%);
    }

    .hero-section.hero-banners .hero-slider.owl-theme .owl-dots {
        bottom: 18px;
    }
}

/* ── Tablette / mobile : carte inset propre ──────────────── */
@media (max-width: 991px) {
    .hero-section.hero-banners {
        padding: 12px 12px 8px;
        background: #0f1a3d;
    }

    .hero-section.hero-banners .hero-banner-slide {
        border-radius: 18px;
        overflow: hidden;
        background: #0b1638;
        box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
    }

    .hero-section.hero-banners .hero-banner-media {
        aspect-ratio: 16 / 10;
        max-height: 260px;
        background: #e8f4f8;
    }

    .hero-section.hero-banners .hero-banner-media img,
    .hero-slider.owl-carousel .owl-item .hero-banner-media img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }

    .hero-section.hero-banners .hero-banner-cta {
        padding: 14px 14px 52px;
        gap: 10px;
        background: #0b1638;
    }

    .hero-section.hero-banners .hero-banner-cta .theme-btn {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
        padding: 10px 14px;
        font-size: 13px;
        justify-content: center;
        text-align: center;
    }

    .hero-slider.owl-theme .owl-nav {
        display: none;
    }

    .hero-section.hero-banners .hero-slider.owl-theme .owl-dots {
        bottom: 14px;
    }
}

@media (max-width: 767px) {
    .hero-slider .owl-stage {
        display: flex;
    }

    .hero-slider .owl-item {
        display: flex;
    }

    .hero-slider .owl-item .hero-banner-slide {
        width: 100%;
    }

    .hero-section.hero-banners {
        padding: 10px 10px 6px;
    }

    .hero-section.hero-banners .hero-banner-slide {
        border-radius: 14px;
    }

    .hero-section.hero-banners .hero-banner-media {
        aspect-ratio: 4 / 3;
        max-height: 220px;
    }

    .hero-section.hero-banners .hero-banner-cta {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 12px 48px;
        gap: 8px;
    }

    .hero-section.hero-banners .hero-banner-cta .theme-btn {
        flex: 1 1 auto;
        width: 100%;
        font-size: 13px;
        padding: 11px 14px;
    }

    .about-area.py-120 {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .tigsi-feature-highlight {
        padding: 56px 0;
    }

    .tigsi-feature-highlight .theme-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
}

.tigsi-feature-highlight {
    background: var(--theme-bg-light);
    padding: 80px 0;
}

/* ── Compteurs (stats) — responsive ─────────────────────── */
.counter-area .row {
    row-gap: 24px;
}
.counter-box {
    height: 100%;
}
.counter-box > div {
    min-width: 0;
}
.counter-box .counter {
    display: inline-block;
}
.counter-box .counter + span {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-dark);
}
@media (max-width: 991px) {
    .counter-box {
        gap: 14px;
        padding: 22px 16px;
    }
    .counter-box .counter {
        font-size: 36px;
    }
    .counter-box .counter + span {
        font-size: 22px;
    }
}
@media (max-width: 767px) {
    .counter-area.py-120 {
        padding-top: 64px;
        padding-bottom: 64px;
    }
    .counter-area .row {
        --bs-gutter-x: 12px;
        row-gap: 12px;
    }
    .counter-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        padding: 18px 10px;
    }
    .counter-box i {
        font-size: 26px;
        color: var(--theme-color);
    }
    .counter-box .counter {
        font-size: 28px;
    }
    .counter-box .counter + span {
        font-size: 18px;
    }
    .counter-box h6 {
        font-size: 13px;
        margin-bottom: 0;
    }
}

/* ── CTA téléchargement app ─────────────────────────────── */
.cta-area-two {
    padding: 60px 0 100px;
}
.cta-area-two .cta-wrapper {
    padding: 56px 48px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(20, 36, 92, .25);
}
.cta-area-two .cta-content {
    text-align: left;
}
.cta-area-two .cta-content h5 {
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}
.cta-area-two .cta-content h2 {
    color: var(--color-white);
    font-size: 34px;
    line-height: 1.25;
    margin-bottom: 0;
}
.cta-area-two .cta-btn img {
    transition: transform .3s ease;
}
.cta-area-two .cta-btn a:hover img {
    transform: translateY(-3px);
}
@media (max-width: 991px) {
    .cta-area-two .cta-content {
        text-align: center;
        margin-bottom: 28px;
    }
    .cta-area-two .cta-btn {
        justify-content: center;
    }
}
@media (max-width: 767px) {
    .cta-area-two {
        padding: 40px 0 72px;
    }
    .cta-area-two .cta-wrapper {
        padding: 36px 22px;
        border-radius: 18px;
    }
    .cta-area-two .cta-content h5 {
        font-size: 13px;
        letter-spacing: 1.5px;
    }
    .cta-area-two .cta-content h2 {
        font-size: 24px;
    }
    .cta-area-two .cta-btn img {
        height: 48px !important;
    }
}
