/*--------------------------------------*
 * RÉGLAGES GÉNÉRAUX
 *--------------------------------------*/

html {
    scroll-behavior: smooth;
}

#secondary {
    display: none;
}

/* LOGOS */
#header-wrap .header-branding img,
body .site-footer .footer-logo img {
    max-height: 110px !important;
}

/* STICKY MENU */
#header-wrap .header-main.h-fixed {
    opacity: 0.9 !important;
}

@media screen and (min-width: 1200px) {
    .site-menu-right {
        display: none !important;
        flex-wrap: wrap !important;
        margin-left: 85px !important;
        align-items: center !important;
    }
}

/* Menu hover en mode sticky */
#header-main.h-fixed .primary-menu>li>a:hover {
    color: #4535fb !important;
}


/*--------------------------------------*
 * SLIDER — Animation des mots
 *--------------------------------------*/

#bloc-mots {
    position: absolute;
    width: 600px;
    height: 400px;
    top: 150px;
    left: 700px;
    pointer-events: none;
}

#bloc-mots .mot-anime-item {
    position: absolute;
    opacity: 0;
    font-family: "Raleway", sans-serif;
    font-size: 35px;
    font-weight: 300;
    color: #FFFFFF;
    letter-spacing: 2px;
    line-height: 45px;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.mot-anime {
    animation: wordAnim 3.8s cubic-bezier(0.45, 0, 0.55, 1) forwards;
}

@keyframes wordAnim {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    15% {
        opacity: 1;
        transform: scale(1);
    }

    60% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}

/*--------------------------------------*
 * BOUTON ACCUEIL
 *--------------------------------------*/
/* Bouton de base */
a.btn-custom {
    position: relative;
    display: inline-block;
    padding: 16px 40px;
    font-size: 1.2rem;
    background: transparent;
    /* Fond turquoise */
    color: #000;
    /* Texte noir */
    border-radius: 4px;
    overflow: hidden;
    transform: scale(1);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.45);
    /* Néon noir */
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
    text-decoration: none;
}

a.btn-custom span {
    color: #000;
}

/* --- Bordure autour (4 côtés) --- */
a.btn-custom::before,
a.btn-custom::after,
a.btn-custom span::before,
a.btn-custom span::after {
    content: "";
    position: absolute;
    background: #4535fb;
    /* Bordure noire */
    transition: all 0.45s ease;
    pointer-events: none;
}

/* Top border */
a.btn-custom::before {
    height: 2px;
    width: 0%;
    left: 0;
    top: 0;
}

/* Right border */
a.btn-custom::after {
    width: 2px;
    height: 0%;
    right: 0;
    top: 0;
}

/* Bottom border */
a.btn-custom span::before {
    height: 2px;
    width: 0%;
    right: 0;
    bottom: 0;
}

/* Left border */
a.btn-custom span::after {
    width: 2px;
    height: 0%;
    left: 0;
    bottom: 0;
}

/* Hover — scale + glow + bordure animée */
a.btn-custom:hover {
    transform: scale(1.15);
    box-shadow:
        0 0 10px rgba(69, 53, 251, 0.6),
        0 0 20px rgba(69, 53, 251, 0.45);
}

a.btn-custom:hover span {
    color: #4535fb !important;
}

/* Animate border around the button */
a.btn-custom:hover::before {
    width: 100%;
}

a.btn-custom:hover::after {
    height: 100%;
}

a.btn-custom:hover span::before {
    width: 100%;
}

a.btn-custom:hover span::after {
    height: 100%;
}



/*------------------
    BLOC INFOS
------------------*/

/* Icônes */
.ct-contact-info-layout3 .ct-contact-info-icon i {
    color: #4535fb !important;
}

/* Lien du bouton */
.ct-contact-info-layout3 .ct-contact-info-button a {
    color: #4535fb !important;
}

/* Si tu veux aussi changer le texte inline de la div bouton */
.ct-contact-info-layout3 .ct-contact-info-button {
    color: #4535fb !important;
}

/*------------------
    BLOC VIDEO
------------------*/

/* Enlever la bordure du bouton vidéo */
.video_section_accueil .ct-video-button {
    border: none !important;
    box-shadow: none !important;
}

#bloc_video .ct-video-button i {
    color: #000 !important;
}

/*------------------
    BLOC CONTACT
------------------*/

/* =====================================================
   BOUTON SUBMIT ORVILE — VERSION COMPLÈTE
   ===================================================== */

/* --- ÉTAT NORMAL --- */
button.btn-submit-orvile {
    position: relative;
    display: inline-flex;
    font-size: 1.1rem !important;
    /* ajusté */
    align-items: center;
    gap: 10px;
    padding: 12px 34px !important;
    /* plus fin, plus élégant */
    /* corrigé */
    font-size: 1.2rem;
    /* corrigé */


    background: #ffffff !important;
    border: 0px solid #4535fb !important;
    /* bordure noire au repos */

    border-radius: 4px;
    /* corrigé */
    color: #4535fb !important;
    /* texte bleu ciel */

    /* Soft floating shadow identique au bouton "En savoir plus" */
    box-shadow:
        0 0 12px rgba(0, 0, 0, 0.45);


    transform: scale(1);
    overflow: hidden;

    transition:
        box-shadow 0.35s ease,
        transform 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease;
}

.input-filled {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Texte & icône au repos */
button.btn-submit-orvile span,
button.btn-submit-orvile i {
    color: #000 !important;
}


/* =====================================================
   BORDURE ANIMÉE (4 CÔTÉS) — NOIR
   ===================================================== */
button.btn-submit-orvile::before,
button.btn-submit-orvile::after,
button.btn-submit-orvile span::before,
button.btn-submit-orvile span::after {
    content: "";
    position: absolute;
    background: #4535fb;
    /* noir */
    transition: all 0.45s ease;
    pointer-events: none;
}

/* Top */
button.btn-submit-orvile::before {
    height: 2px;
    width: 0%;
    left: 0;
    top: 0;
}

/* Right */
button.btn-submit-orvile::after {
    width: 2px;
    height: 0%;
    right: 0;
    top: 0;
}

/* Bottom */
button.btn-submit-orvile span::before {
    height: 2px;
    width: 0%;
    right: 0;
    bottom: 0;
}

/* Left */
button.btn-submit-orvile span::after {
    width: 2px;
    height: 0%;
    left: 0;
    bottom: 0;
}


/* =====================================================
   HOVER — GLOW BLEU + SCALE + TEXTE BLEU
   ===================================================== */
button.btn-submit-orvile:hover {
    border-color: #4535fb !important;
    /* bordure noire */
    color: #4535fb !important;
    /* texte noir */
    transform: scale(1.12);

    /* Glow noir */
    box-shadow:
        0 0 10px rgba(69, 53, 251, 0.6),
        0 0 20px rgba(69, 53, 251, 0.45);
}

/* Texte + icône noir */
button.btn-submit-orvile:hover span,
button.btn-submit-orvile:hover i {
    color: #4535fb !important;
}

/* Animation border run */
button.btn-submit-orvile:hover::before {
    width: 100%;
}

button.btn-submit-orvile:hover::after {
    height: 100%;
}

button.btn-submit-orvile:hover span::before {
    width: 100%;
}

button.btn-submit-orvile:hover span::after {
    height: 100%;
}


/*--------------------------------------*
 * PAGE POUR QUI? POUR QUOI?
 *--------------------------------------*/


ct-banner-layout1:before {

    background-color: rgba(69, 53, 251, 0.7) !important;
}

/*--------------------------------------*
 * PAGE TARIFS
 *--------------------rgba(17, 15, 32, 0.6)

/* -----------------------------------------
   STYLE NORMAL (fond blanc + bordure + pilule)
   ----------------------------------------- */

#bouton_card_tarifs a {
    transition: all 0.45s ease !important;
    border: 2px solid #4535fb;
    color: #4535fb;
}

/* Hover avec remplissage progressif */
#bouton_card_tarifs a:hover {
    box-shadow:
        inset 60px 0 0 0 #4535fb,
        inset -60px 0 0 0 #4535fb !important;

    background-color: #4535fb !important;
    color: #ffffff !important;
    border-color: #4535fb !important;
}

#bouton_card_tarifs a:hover i {
    color: #ffffff !important;
}



/*--------------------------------------*
 * PAGE CONTACT
 *--------------------------------------*/

#coordonnees_section #rangee_coordonnee .ct-contact-info-layout1 {
    box-shadow: 0 8px 18px rgba(69, 53, 251, 0.32) !important;
}

/* Hover boutons contact */
.coordonnees_card_one:hover .ct-contact-info-button,
.coordonnees_card_two:hover .ct-contact-info-button,
.coordonnees_card_three:hover .ct-contact-info-button {
    background-color: #4535fb !important;
}

.coordonnees_card_one:hover .ct-contact-info-button a,
.coordonnees_card_two:hover .ct-contact-info-button a,
.coordonnees_card_three:hover .ct-contact-info-button a {
    color: #FFFFFF !important;
}

/* Image contact */
#contact_img_right img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

#contact_img_right {
    height: 100% !important;
}

.vc_row.equal-height {
    align-items: stretch !important;
}

/*--------------------------------------*
 * TABS
 *--------------------------------------*/

.vc_tta-tab .vc_tta-title-text {
    position: relative;
    padding-left: 20px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.2em;
    cursor: pointer;
    color: #4535fb;
    transition: color 0.3s ease;
}

.vc_tta-tab:hover .vc_tta-title-text,
.vc_tta-tab.vc_active .vc_tta-title-text {
    color: #4535fb !important;
}

.vc_tta-tab .vc_tta-title-text::before {
    content: "\f061";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    position: absolute;
    left: 0;
    opacity: 0;
    color: #4535fb;
    transform: translateX(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.vc_tta-tab:hover .vc_tta-title-text::before,
.vc_tta-tab.vc_active .vc_tta-title-text::before {
    opacity: 1;
    transform: translateX(0);
}

/*--------------------------------------*
 * PAGE TARIFS
 *--------------------------------------*/

.vc_do_pricing_table {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.25);
    padding: 24px;
    transition: transform 0.3s ease;
}

.vc_do_pricing_table:hover {
    transform: translateY(-4px);
}

.vc_do_pricing_table .vc_btn3-size-md {
    font-weight: 500;
}



/*--------------------------------------*
 * MEDIA QUERIES
 *--------------------------------------*/

@media (max-width: 479px) {
    .ct-contact-info-layout3 .contact-info-inner {
        box-shadow: 0 14px 28px #4535fb;
    }
}

@media (min-width: 480px) and (max-width: 777px) {
    #image_hero_wrapper {
        display: none !important;
    }

    .bottom-footer .bottom-copyright p {
        margin-bottom: 0 !important;
    }
}

@media (min-width: 778px) and (max-width: 1023px) {
    #image_hero_wrapper {
        display: none !important;
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    #image_hero_wrapper {
        transform: translate(150px, 0px) !important;
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
    #image_hero_wrapper {
        transform: translate(50px, 0) !important;
    }
}

@media (max-width: 767px) {
    .wpb_single_image img {
        max-width: 500px !important;
    }

    #ct-space-68eabe70471fd,
    #ct-space-68eabe70471fd .ct-space {
        height: 60px !important;
    }
}