/* --- HERO SECTION --- */
.hero-section {
    padding-top: 130px;
    padding-bottom: 160px;
    background: url("../img/hero.webp") no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}
.hero-badge {
    display: inline-block;
    background: #eef2ff;
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(37, 117, 252, 0.1);
}
.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
/* Hero Image Container */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-img {
    max-height: 300px;
    z-index: 10;
}
.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}
.fb-1 { top: -5%; left: 0; animation-delay: 0s; }
.fb-2 { bottom: -20%; right: 0; animation-delay: 2.5s; }
.fb-3 { top: 50%; right: -20px; animation-delay: 1s; }

/* --- NEW iKIDS 5 XS SECTION --- */
.new-model-section {
    background-color: #fff;
    padding: 80px 0;
}
.highlight-box {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 5px solid var(--secondary-color);
}

/* Styles spécifiques pour le Slider Slick */
.infinitewatch-glide-iphone {
    width: 100%;
    position: relative;
    .infinitewatch-slick-slider {
        position: relative;
        cursor: pointer;
        transition: transform 0.3s;

        &:hover {
            transform: translateY(-5px);
        }

        &::after {
            content: "\f055"; /* FontAwesome Plus Icon */
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            position: absolute;
            right: 15px;
            bottom: 15px;
            font-size: 24px;
            color: white;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }
        .infinitewatch-slick-slider-title {
            position: absolute;
            top: 20px;
            left: 20px;
            color: black;
            z-index: 2;
        }
    }
}
.infinitewatch-slick-arrow {
    .prev,
    .next {
        width: 45px;
        height: 45px;
        background-color: #f8f9fa;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: 0.3s all;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        &:hover {
            background-color: var(--primary-color, #337ab7);
            color: white;
        }
    }
    .slick-disabled {
        opacity: 0.5;
        cursor: default;
    }
}

/* Modal Custom */
#infinitewatch-modal-slider {
    border-radius: 28px;
    overflow: hidden;
    padding-right: 0 !important;

    .close-custom {
        background: #fe0203;
        border: none;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .modal-header {
        position: sticky;
        top: 0;
        z-index: 9999;
        border: none;
        justify-content: end;
        margin: 20px;
    }
    .modal-body {
        padding: 0 70px 50px 70px;
    }
    .container-gray {
        background: #f5f5f7;
        border-radius: 28px;
        box-sizing: border-box;
        height: 100%;
        min-height: 560px;
        overflow: hidden;
        position: relative;
        will-change: transform;
        margin-top: 60px;

        > div {
            flex-wrap: nowrap;
        }
    }
    .infinitewatch-modal-slider-title {
        h1 {
            font-size: 56px;
            margin-bottom: 0;
        }

        h2 {
            color: gray;
        }
    }
    .infinitewatch-modal-slider-texte {
        padding: 64px 0 64px 56px;
        width: 90%;
        font-size: 18px;
    }
    .infinitewatch-modal-slider-img {
        margin: 0 86px;

        img {
            width: 100%;
        }

        .img-responsive {
            width: 70% !important;
        }
    }
}

#badge-app {
    font-size: 0.6rem;
}

/* --- RESPONSIVE MOBILE (Max 768px) --- */
@media (max-width: 768px) {
    .hero-section {
        background: url("../img/hero-mobile.webp") no-repeat center center;
        background-size: cover;
        aspect-ratio: 4 / 5;
        .hero-img {
            visibility: hidden;
        }
    }
    #iw-reassurance {
        padding-top: 120px;
        #iw-reassurance-img {
            justify-content: center;
            position: absolute;
            top: -90px;
            right: 0;
            left: 0;
        }
    }
    #infinitewatch-modal-slider {
        border-radius: 15px;
        .modal-header {
            margin: 0;
        }
        .modal-body {
            padding: 0 15px 30px 15px;
        }
        .infinitewatch-modal-slider-title {
            text-align: start;
            h1 {
                font-size: 32px;
                line-height: 1.2;
            }
            h2 {
                font-size: 16px;
                margin-top: 5px;
            }
        }
        .container-gray {
            margin-top: 20px;
            min-height: auto;
            padding-bottom: 0;
            border-radius: 20px;
            > div {
                flex-wrap: wrap !important;
                flex-direction: column !important;
                align-items: center !important;
            }
        }

        .infinitewatch-modal-slider-texte {
            padding: 30px 20px !important;
            width: 100% !important;
            font-size: 15px;
            text-align: start;
        }
        .infinitewatch-modal-slider-img {
            margin: 0 auto 0 auto !important;
            width: 100% !important;
            display: flex;
            justify-content: center;

            img,
            .img-responsive {
                width: 100% !important;
                height: auto;
            }
        }
    }
}

@media (max-width: 991px) {
    .hero-title { font-size: 1.7rem; }
    .hero-section { text-align: center; padding-top: 30px; padding-bottom: 20px; p {font-size: 0.85rem;text-align: justify;} }
    .hero-img { margin-top: 0; max-height: 180px; }
}