/* Section Hero - Compatible PrestaShop Classic */
#customhero.customhero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    padding: 0;
}

.customhero-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Image Hero */
.customhero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

/* Overlay optionnel pour assombrir l'image */
.customhero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Container du contenu - Compatible avec grid Classic */
.customhero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customhero-content .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.customhero-content .row {
    width: 100%;
    margin: 0;
}

.customhero-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 0;
    color: #fff;
    text-align: left;
}

/* Titre */
.customhero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

/* Description */
.customhero-description {
    font-size: 1.125rem;
    margin: 0 0 2rem 0;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

/* Bouton CTA */
.customhero-btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

.customhero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

/* Responsive Desktop */
@media (max-width: 1200px) {
    .customhero-title {
        font-size: 3rem;
    }

    .customhero-description {
        font-size: 1.125rem;
    }
}

/* Responsive Tablette */
@media (max-width: 992px) {
    .customhero-title {
        font-size: 2.5rem;
    }

    .customhero-description {
        font-size: 1rem;
    }

    .customhero-inner {
        padding: 1.5rem 0;
    }
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .customhero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .customhero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .customhero-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .customhero-inner {
        padding: 1rem 0;
    }
}

/* Responsive très petits écrans */
@media (max-width: 576px) {
    .customhero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .customhero-description {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .customhero-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
}


