/*
Theme Name:   belvue.fr
Description:  Thème enfant de Salient pour belvue.fr
Author:       belvue.fr
Template:     salient
Version:      1.0.0
Text Domain:  belvue-fr
*/

/* Ajoutez vos styles personnalisés ci-dessous */


/* divers */
body #header-secondary-outer .nectar-center-text{
    font-size: 14px !important;
    line-height: 18px !important;
}


#header-secondary-outer{display: block !important; }

.grecaptcha-badge { display: none !important;}

#search-results .result .title span { display: none !important;}
#header-outer { transform: translateY(0) !important; }

/* Modal popin_rappel */
#popin_rappel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#popin_rappel.active {
    opacity: 1;
    visibility: visible;
}

#popin_rappel .modal-content {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
    transform: scale(0.8) translateY(-20px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
    pointer-events: none;
}

#popin_rappel .modal-content > * {
    pointer-events: auto;
}

#popin_rappel .modal-content > * {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

#popin_rappel.active .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

#popin_rappel .modal-close {
    position: fixed;
    top: 140px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: scale(0.8);
}

#popin_rappel.active .modal-close {
    opacity: 1;
    transform: scale(1);
}

#popin_rappel.active .modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1) rotate(90deg);
}

#popin_rappel .modal-close::before,
#popin_rappel .modal-close::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
}

#popin_rappel .modal-close::before {
    transform: rotate(45deg);
}

#popin_rappel .modal-close::after {
    transform: rotate(-45deg);
}

/* Animation d'ouverture */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation de fermeture */
@keyframes modalFadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

/* Bouton CTA fixe mobile */
.belvue-mobile-fixed-cta-wrap {
    display: none;
}

@media only screen and (max-width: 690px) {
    .belvue-mobile-fixed-cta-wrap {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9990;
        padding: 12px 16px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }

    .belvue-mobile-fixed-cta-wrap .belvue-mobile-fixed-cta {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0 !important;
        text-align: center;
        visibility: visible !important;
    }

    body.belvue-has-mobile-cta {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }
}
