/**
* 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.
*/
.top-wrapper-index-welcome {
    background: rgb(234, 153, 153);
    padding: 15px;
    max-width: 500px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 10px;

}
.top-wrapper-index-welcome > span {
    display: block;
}

.top-wrapper-index-welcome .top-wrapper-index-welcome-title {
    font-weight: 900;
    font-size: 3rem;
    line-height: 3rem;
}
.top-wrapper-index-welcome .top-wrapper-index-welcome-customer {
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.5rem;
}

body#index #wrapper,
body#category #wrapper {
    padding-top: 0 !important;
}

.blockreassurance_product {
    display: flex;
}
.blockreassurance_product > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Bloc statique d'images en une seule ligne (début du hook) */
.icustom-home-tiles-container {
    margin: 40px auto 20px !important;
    padding: 0 20px !important;
    width: 100% !important;
    max-width: 1400px !important;
    box-sizing: border-box !important;
}

.icustom-home-tiles {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.icustom-home-tile {
    flex: 1 1 0 !important;
    max-width: 220px !important;
    min-width: 140px !important;
    /*aspect-ratio: 300 / 248 !important;*/
    overflow: hidden !important;
    background: #ffffff !important;
    transform: translateY(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    animation: fadeInUp 0.6s ease-out forwards !important;
    text-decoration: none !important;
    display: block !important;
    will-change: transform;
    padding: 10px;
}

.icustom-home-tile img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transform: scale(1);
    transition: transform 0.35s ease;
    transform-origin: center;
}

.icustom-home-tile:hover {
    transform: translateY(-6px) scale(1.03);
}

.icustom-home-tile:hover img {
    transform: scale(1.12);
}

.icustom-home-tile:nth-child(1) { animation-delay: 0.1s !important; }
.icustom-home-tile:nth-child(2) { animation-delay: 0.2s !important; }
.icustom-home-tile:nth-child(3) { animation-delay: 0.3s !important; }
.icustom-home-tile:nth-child(4) { animation-delay: 0.4s !important; }
.icustom-home-tile:nth-child(5) { animation-delay: 0.5s !important; }
.icustom-home-tile:nth-child(6) { animation-delay: 0.6s !important; }

@media (max-width: 992px) {
    .icustom-home-tiles {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    .icustom-home-tile {
        flex: 0 0 calc(33.333% - 12px) !important;
        max-width: none !important;
        min-width: 0 !important;
    }
}

@media (max-width: 768px) {
    .icustom-home-tile {
        flex: 0 0 calc(33.333% - 12px) !important;
    }
}

@media (max-width: 480px) {
    .icustom-home-tiles-container {
        padding: 0 10px !important;
    }
    .icustom-home-tile {
        flex: 0 0 calc(50% - 12px) !important;
        max-width: none !important;
        min-width: 0 !important;
    }
}

/* Bloc statique animé avec cartes */
.icustom-animated-cards-container {
    margin: 60px auto !important;
    padding: 40px 20px !important;
    width: 100% !important;
    max-width: 1400px !important;
    overflow: visible !important;
    clear: both !important;
    box-sizing: border-box !important;
}

.icustom-animated-cards {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.icustom-card {
    position: relative !important;
    width: 200px !important;
    min-width: 180px !important;
    height: 160px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    /* Forme arrondie asymétrique : top-left et bottom-right très arrondis, top-right et bottom-left pointus */
    box-sizing: border-box !important;
}


.icustom-card-content {
    text-align: center !important;
    padding: 15px 20px !important;
    z-index: 1 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.icustom-card-title {
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    line-height: 1.1 !important;
    margin-bottom: 10px !important;
    text-transform: lowercase !important;
    letter-spacing: -1px !important;
    display: block !important;
    margin-top: 0 !important;
    font-family: sans-serif !important;
}

.icustom-card-subtitle {
    font-size: 1rem !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    line-height: 1.3 !important;
    text-transform: lowercase !important;
    opacity: 0.95 !important;
    display: block !important;
    margin-bottom: 0 !important;
    font-family: sans-serif !important;
}

/* Animation au survol */
.icustom-card:hover {
    transform: translateY(-8px) scale(1.03);
}

.icustom-card:hover .icustom-card-title {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.icustom-card:hover .icustom-card-subtitle {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Animation d'apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .icustom-card {
        width: calc(33.333% - 15px) !important;
        min-width: 160px !important;
        height: 150px !important;
    }
    
    .icustom-card-title {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 768px) {
    .icustom-animated-cards-container {
        padding: 30px 15px !important;
    }
    
    .icustom-card {
        width: calc(50% - 10px) !important;
        min-width: 150px !important;
        height: 140px !important;
    }
    
    .icustom-card-title {
        font-size: 1.6rem !important;
    }
    
    .icustom-card-subtitle {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .icustom-card {
        width: 100% !important;
        max-width: 200px !important;
        height: 130px !important;
    }
    
    .icustom-animated-cards {
        gap: 12px !important;
    }
    
    .icustom-card-title {
        font-size: 1.4rem !important;
    }
    
    .icustom-card-subtitle {
        font-size: 0.85rem !important;
    }
}