/**
* 2007-2024 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2024 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/
/* Sections et bouton désactivés (rendus masqués dans l'aperçu pour être réaffichés en direct) */
.fa-banner-section[hidden],
.fa-banner-section [hidden] {
    display: none !important;
}

.content_banner_2 .info_sec .text p:last-child {
    margin-bottom: 0;
}

#banner_oj {
    display: flex;
    max-width: 100%;
    align-items: stretch;
    gap: 80px;
    margin: 60px 0;
}

#banner_oj img {
    height: auto;
    max-width: 100%;
}

#banner_oj .title_zone {
    max-width: 70%;
    position: relative;
}

#banner_oj .txt {
    max-width: 30%;
}

#banner_oj .title img {
    position: absolute;
    max-width: 130px;
    z-index: 0;
    top: 0;
    left: 0;
}

#banner_oj .title .title_txt {

    z-index: 1;
    position: relative;
    padding: 50px 65px
}

#banner_oj .title .title_txt h5 {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 4px;
}

.content_banner_2 .info_sec h1,
#banner_oj .title .title_txt h1 {
    font-weight: 300;
    z-index: 1;
    font-size: 48px;
    color: var(--secondary);
}

#banner_oj .txt {
    display: flex;
    flex-direction: column;

}

#banner_oj .txt .description {
    display: flex;
    align-items: center;
    flex: 1;
    text-align: justify;
}

.image_1 {
    position: relative;
    overflow: hidden;
}

.image_2 {
    position: relative;
    overflow: hidden;
}

.image_1 img {
    transform: scale(1.4);
    transition: 8s cubic-bezier(0.1, 1, 0.3, 1);
}

.image_2 img {
    transform: scale(1.4);
    transition: 8s cubic-bezier(0.1, 1, 0.3, 1);
}

.image_1.active img {
    transform: scale(1);
}

.image_2.active img {
    transform: scale(1);
}

/* Révélation par clip-path (pas de cache blanc : évite les liserés sur les tailles fractionnaires) */
.image_1,
.image_2 {
    transition: clip-path 8s cubic-bezier(0.1, 1, 0.3, 1);
}

.image_1 {
    clip-path: inset(0 100% 0 0);
}

.image_2 {
    clip-path: inset(0 0 0 100%);
}

.image_1.active,
.image_2.active {
    clip-path: inset(0);
}

.content_banner_2 {
    display: flex;
    padding: 40px 0;
    gap: 25px;
    align-items: center;
}

.content_banner_2 .img_sec {
    width: 35%;
    overflow: hidden;
}

.content_banner_2 .img_sec.active img {
    transform: scale(1) translateX(0);
}

.content_banner_2 .img_sec img {
    max-width: 100%;
    height: auto;
    transition: 8s cubic-bezier(0.1, 1, 0.3, 1);
    transform: scale(1.4) translateX(-63px);
}
.content_banner_2 .info_sec .btn.btn-primary{
    max-width: max-content;
    padding: .5rem 1.25rem;
}
.content_banner_2 .info_sec {
    width: 65%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Les coffrets du moment */
#banner-coffrets {
    margin-top: 80px;
    margin-bottom: 80px;
}

.content_banner_coffrets {
    display: flex;
    align-items: center;
    gap: 80px;
}

.content_banner_coffrets .info_sec {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.content_banner_coffrets .info_sec .title {
    font-weight: 300;
    font-size: 48px;
    color: var(--secondary);
    position: relative;
    margin-bottom: 25px;
}

.content_banner_coffrets .info_sec .title::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    left: 0;
    bottom: -20px;
    transition: 0.6s ease-in-out 0.5s;
}

.content_banner_coffrets .info_sec.active .title::after {
    width: 15%;
}

.content_banner_coffrets .info_sec p {
    margin: 0;
}

.content_banner_coffrets .info_sec .text p + p {
    margin-top: 20px;
}

.content_banner_coffrets .info_sec .btn.btn-primary {
    max-width: max-content;
    padding: .5rem 1.25rem;
    margin-top: 10px;
}

.content_banner_coffrets .info_sec > * {
    transform: translateY(40px);
    opacity: 0;
    transition:
        transform 1s cubic-bezier(0.23, 1, 0.32, 1),
        opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.2s ease-in-out;
}

.content_banner_coffrets .info_sec.active > * {
    transform: translateY(0);
    opacity: 1;
}

.content_banner_coffrets .info_sec.active > .btn.btn-primary:hover {
    transform: translateY(-2px);
}

.content_banner_coffrets .info_sec > *:nth-child(2) {
    transition-delay: 0.1s, 0.1s, 0s;
}

.content_banner_coffrets .info_sec > *:nth-child(3) {
    transition-delay: 0.2s, 0.2s, 0s;
}

.content_banner_coffrets .info_sec > *:nth-child(4) {
    transition-delay: 0.3s, 0.3s, 0s;
}

.content_banner_coffrets .info_sec > *:nth-child(5) {
    transition-delay: 0.4s, 0.4s, 0s;
}

.content_banner_coffrets .info_sec > .btn.btn-primary:hover {
    transition-delay: 0s;
}

.content_banner_coffrets .visual_sec {
    width: 55%;
    padding: 24px 24px 0 0;
}

/* Cadre fin terracotta décalé derrière le visuel */
.content_banner_coffrets .img_frame {
    position: relative;
    width: 66%;
    margin-left: auto;
}

.content_banner_coffrets .img_frame::before {
    content: "";
    position: absolute;
    top: -24px;
    right: -24px;
    bottom: 24px;
    left: 24px;
    border: 1px solid var(--secondary);
    opacity: 0;
    transform: translate(-24px, 24px);
    transition:
        transform 1.6s cubic-bezier(0.23, 1, 0.32, 1) 0.6s,
        opacity 1.6s cubic-bezier(0.23, 1, 0.32, 1) 0.6s;
}

.content_banner_coffrets .visual_sec.active .img_frame::before {
    opacity: 1;
    transform: translate(0, 0);
}

.content_banner_coffrets .img_main {
    position: relative;
    z-index: 1;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    /* Révélation par clip-path (pas de cache blanc : évite les liserés sur les tailles fractionnaires) */
    clip-path: inset(0 100% 0 0);
    transition: clip-path 8s cubic-bezier(0.1, 1, 0.3, 1) 0.2s;
}

.content_banner_coffrets .visual_sec img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.4);
    transition: transform 8s cubic-bezier(0.1, 1, 0.3, 1) 0.2s;
}

.content_banner_coffrets .visual_sec.active .img_main {
    clip-path: inset(0);
}

.content_banner_coffrets .visual_sec.active img {
    transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .content_banner_coffrets .info_sec > *,
    .content_banner_coffrets .info_sec .title::after,
    .content_banner_coffrets .img_frame::before,
    .content_banner_coffrets .visual_sec img,
    .content_banner_coffrets .img_main {
        transition: none;
    }
}

@media (max-width: 991px) {
    .content_banner_coffrets {
        gap: 40px;
    }

    .content_banner_coffrets .info_sec .title {
        font-size: 38px;
    }
}

@media (max-width: 767px) {
    #banner-coffrets {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .content_banner_coffrets {
        flex-direction: column;
    }

    .content_banner_coffrets .info_sec,
    .content_banner_coffrets .visual_sec {
        width: 100%;
    }

    .content_banner_coffrets .visual_sec {
        padding: 14px 14px 0 0;
    }

    .content_banner_coffrets .img_frame {
        width: 78%;
    }

    .content_banner_coffrets .img_frame::before {
        top: -14px;
        right: -14px;
        bottom: 14px;
        left: 14px;
    }

    .content_banner_coffrets .img_main {
        aspect-ratio: 1 / 1;
    }

    #banner_oj {
       flex-direction: column;
       gap: 0;
    }

    #banner_oj .title_zone {
        max-width: 100%;
        position: relative;
    }

    #banner_oj .txt {
        max-width: 100%;
        gap: 40px;
    }
    .image_1 {
        display: none;
    }
    .content_banner_2 {
        flex-direction: column;
    }
    .content_banner_2 .img_sec,
    .content_banner_2 .info_sec {
        width: 100%;
    }
}