/*# sourceMappingURL=custom-cj.css.map */

/* ------------------------------- */
/* COLORS */
/* ------------------------------- */
:root {
    --bleu: #35A8E0;
    --violet: #8D35E0;
    --rose: #E0359C;
    --rouge: #E03538;
    --jaune: #E0C635;
    --white: #ffffff;
    --text: #242628;
}

/* GENERAL */
.subtitle {
    color: var(--bleu);
}

.bloc_box-shadow {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.bloc_5couleurs {
    position: relative;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    background-color: var(--white);
}

/*
.bloc_5couleurs::before {
    z-index: -1;
    content: "" !important;
    position: absolute !important;
    left: -10px !important;
    background: linear-gradient(
        180deg,
        var(--bleu) 0%,
        var(--violet) 25%,
        var(--rose) 50%,
        var(--rouge) 75%,
        var(--jaune) 100%
    );
}*/

.bloc_5couleurs::before {
    z-index: -1;
    content: "" !important;
    position: absolute !important;
    top: 0;
    left: -10px !important;
    width: 100%;
    height: 100%;

    /* Dégradé principal + glow */
    background:
        linear-gradient(to top, transparent 40%, rgba(255, 255, 255, 0.5) 50%, transparent 60%),
        linear-gradient(180deg, var(--bleu) 0%, var(--violet) 25%, var(--rose) 50%, var(--rouge) 75%, var(--jaune) 100%);
    background-repeat: no-repeat;
    background-size: 100% 200%, 100% 100%;
    background-position: 0 100%, 0 0;
    animation: glowScan 3s linear infinite;
}

@keyframes glowScan {
    0% { background-position: 0 -120%, 0 0;}
    100% {background-position: 0 120%, 0 0;}
}

.elementor-element p a, div.page-content p a {
    color: var(--rose);
    text-decoration: underline;
}

a.elementor-button {
    transition: all 0.5s ease-in-out !important;
    /* background: linear-gradient( 50deg, var(--bleu) 0%, var(--violet) 25%, var(--rose) 50%, var(--rouge) 75%, var(--jaune) 100%) !important; */
}

a.elementor-button:hover, form input[type="submit"]:hover {
    transform: rotate(1deg) scale(1.05) !important;
    background: linear-gradient( 135deg, var(--bleu) 0%, var(--violet) 25%, var(--rose) 50%, var(--rouge) 75%, var(--jaune) 100%) !important;
}

/*****************/
/* PAGE L'AGENCE */
/*****************/
.btn_tertiary a.elementor-button {
    color: var(--bleu) !important;
    background-color: unset;
    padding: 0;
    font-size: 12px !important;
}

.btn_tertiary a.elementor-button span.elementor-button-text {
    position: relative;
}

.btn_tertiary:hover a.elementor-button:hover {
    background: unset !important;
}

.btn_tertiary:hover a.elementor-button:hover span.elementor-button-text {
    background: -webkit-linear-gradient(135deg, var(--bleu) 0%, var(--violet) 25%, var(--rose) 50%, var(--rouge) 75%, var(--jaune) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn_tertiary a.elementor-button span.elementor-button-text::after {
    content: "→" !important;
    position: absolute !important;
    color: var(--bleu) !important;
    font-size: 16px;
    right: -24px;
}

.btn_tertiary:hover a.elementor-button:hover span.elementor-button-text::before {
    content: "" !important;
    position: absolute !important;
    background: linear-gradient(
        135deg,
        var(--bleu) 0%,
        var(--violet) 25%,
        var(--rose) 50%,
        var(--rouge) 75%,
        var(--jaune) 100%
    );
}

.btn_tertiary:hover a.elementor-button:hover span.elementor-button-text::after {
    content: "→" !important;
    position: absolute !important;
    background: -webkit-linear-gradient(135deg,
        var(--bleu) 0%,
        var(--violet) 25%,
        var(--rose) 50%,
        var(--rouge) 75%,
        var(--jaune) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.membre {
    cursor: default;
}

.membre:hover div.img2::after {
    content: "" !important;
    background: linear-gradient( 135deg, var(--bleu) 0%, var(--violet) 25%, var(--rose) 50%, var(--rouge) 75%, var(--jaune) 100%) !important;
    filter: blur(40px) !important;
    opacity: 0.3;
    height: 200px;
    display: flex;
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: -1;
}

.membre .img2 {
    display: none;
}

.membre:hover .img1 {
    display: none;
}

.membre:hover .img2 {
    display: block;
}

.card_partenaire:hover .elementor-background-slideshow__slide__image {
    background-size: 120%;
}

/*****************/
/* PAGE NOS EXPERTISES */
/*****************/
.cpt-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes égales */
    gap: 20px;
}

.cpt-list-card {
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.cpt-list-card-img {
    overflow: hidden;
    height: 240px !important;
}

.cpt-list-card img {
    object-fit: cover;
}

.cpt-list-card:hover img {
    scale: 1.2;
}

.cpt-list-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cpt-list-card-content a {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cpt-list-card-content p {
    margin: 0;
}

.cpt-list-card-content_extrait {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.cpt-list-card span.elementor-button-content-wrapper {
    justify-content: left !important;
}


/*****************/
/* PAGE CONTACT */
/*****************/
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

form p {
    margin: 0;
}

.form_2col {
    display: flex;
    align-items: center;
    gap: 20px;
}

.form_champ {
    position: relative;
}

label {
    width: fit-content;
    background-color: var(--white);
    border-radius: 5px;
    padding: 6px 10px;
    position: absolute;
    z-index: 4;
    left: 10px;
    top: 8px;
    transition: all 0.2s ease;
}

.form_champ:has(input:focus) > label,
.form_champ:has(textarea:focus) > label,
.form_champ:has(input:not(:placeholder-shown)) > label,
.form_champ:has(textarea:not(:placeholder-shown)) > label {
    top: -16px !important;
    left: 20px;
}

form input, form textarea {
    color: var(--white) !important;
    -webkit-text-fill-color: var(--white) !important;
}

form input:focus, form textarea:focus {
    outline: 2px solid var(--rose) !important;
}

.form_champ:has(input:focus) > input,
.form_champ:has(textarea:focus) > input,
.form_champ:has(input:not(:placeholder-shown)) > input,
.form_champ:has(textarea:not(:placeholder-shown)) > input,
.form_champ:has(input:focus) > textarea,
.form_champ:has(textarea:focus) > textarea,
.form_champ:has(input:not(:placeholder-shown)) > textarea,
.form_champ:has(textarea:not(:placeholder-shown)) > textarea {
    color: var(--text) !important;
    -webkit-text-fill-color: var(--text) !important;
}

form input[type="submit"] {
    border: none;
    margin-top: 20px;
}

form textarea {
    border-radius: 25px !important;
}

.form_acceptance span, .form_acceptance label {
    font-weight: 400;
    background-color: unset;
    width: 100%;
    position: static;
    padding: 0;
    margin: 0;
    font-size: 12px;
    line-height: 14px;
}

.form_info {
    font-size: 10px;
}

[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
}

[type="checkbox"]:checked {
    accent-color: var(--bleu);
}

.wpcf7-acceptance label {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ERROR MESSAGE FORM */
.wpcf7 form .wpcf7-response-output {
    border-color: transparent !important;
    margin: 2em 1em;
    padding: 1em 2em;
    border-radius: 5px;
    color: var(--white);
}
/* VERT */
.wpcf7 form.sent .wpcf7-response-output {
    background-color: #009b3d;
}
/* ROUGE */
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    background-color: #cc1c00;
}
/* ORANGE */
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background-color: #e55c21;
}


/* FOOTER */
footer {
    max-width: 980px;
    margin: 0 auto;
    font-size: 12px;
    line-height: 18px;
    padding: 20px;
}

footer p {
    margin: 0;
}

footer .subtitle {
    margin-bottom: 8px;
}

footer ul {
    padding: 0;
}

footer li {
    list-style: none;
}

footer.site-footer .site-branding {
    width: 100%;
    display: flex;
    flex-direction: row !important;
    gap: 60px;
}

footer img.custom-logo {
    max-width: 150px !important;
}

.footer_cols {
    width: 100%;
    display: flex;
    gap: 40px;
    justify-content: space-between;
    margin-top: 30px;
}

.footer_col-contact ul li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer_col-contact ul li svg {
    width: 12px;
    color: var(--bleu);
}

.footer_col-socials {
    display: flex;
    gap: 10px;
}

.footer_col-socials svg {
    width: 16px;
    color: var(--bleu);
}

.footer_col-socials a {
    cursor: pointer !important;
}

.footer_baseline {
    font-size: 10px;
    padding: 16px 0 0 0; 
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    position: relative;
    text-transform: uppercase;
}

.footer_baseline::before {
    z-index: -1;
    content: "";
    position: absolute;
    top: 0px;
    background: linear-gradient(
        135deg,
        var(--bleu) 0%,
        var(--violet) 25%,
        var(--rose) 50%,
        var(--rouge) 75%,
        var(--jaune) 100%
    );
    display: flex;
    width: 100%;
    height: 1px;
}

.footer_baseline a {
    display: flex;
    align-items: center;
    padding: 0 !important;
}

.footer_baseline-left nav ul {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer_baseline-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer_baseline-right a img {
    max-height: 20px;
}


/*********************/
/* MAX-WIDTH : 1024px */
/*********************/
@media screen and (max-width: 1024px) {
    .bloc_5couleurs::before {
        left: -7.5px !important;
    }

    .cpt-list {
        grid-template-columns: repeat(2, 1fr); 
    }
}

/*********************/
/* MAX-WIDTH : 769px */
/*********************/
@media screen and (max-width: 769px) {
    .custom-header {
        padding: 80px 0;
    }

    .custom-header:not(.is-sticky) .header-bar .header-center .header-logo #imageLogo {
        transform: scale(3);
    }

    .bloc_5couleurs::before {
        left: -5px !important;
    }

    .cpt-list {
        grid-template-columns: repeat(1, 1fr); 
    }

    .form_2col {
        flex-direction: column;
        gap: 20px;
    }

    [type="checkbox"] {
        width: 14px !important;
        height: 14px !important;
    }

    /* FOOTER */
    footer {
        padding: 0;
    }

    img.custom-logo {
        margin: 0 auto;
    }

    .footer_cols {
        flex-direction: column;
        gap: 40px;
    }

    .footer_cols div {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .footer_col-contact li {
        justify-content: center;
    }

    .footer_col-socials {
        flex-direction: row !important;
    }

    .footer_baseline {
        width: 90%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        margin-top: 20px;
        flex-direction: column;
        gap: 20px;
    }

    .footer_baseline p {
        font-size: 10px;
        line-height: 14px;
    }

    .footer_baseline-left, .footer_baseline-right {
        display: flex;
        flex-direction: column;
    }

    .footer_baseline-left ul.menu {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
}