/* ***********************************************************************************************************|
                                                 PAGE CONTACT                                                   |
   Reprise du modÃ¨le fourni : formulaire + contact direct et carte, FAQ en accordÃ©on, rÃ©fÃ©rences clients.     |
   Couleurs du site : --primary-color (orange #fd6f02), --second-color (bleu #022659).                         |
   BanniÃ¨re, alertes et messages de formulaire : interne.css      Responsive : responsive-contact.css         |
**************************************************************************************************************/


/* ***********************************************************************************************************|
                                                   utilitaires                                                |
**************************************************************************************************************/
.bi-titre .title-color1 {
    color: var(--primary-color);
}


/* ***********************************************************************************************************|
                                                   formulaire et contact direct                               |
**************************************************************************************************************/
.wrapper-contact {
    position: relative;
    padding: 60px 0 80px;
    overflow: hidden;
    scroll-margin-top: 20px;
}

.wrapper-contact .container {
    position: relative;
    z-index: 1;
    padding: 0 15px;
}

.wrapper-contact .section-title.center {
    margin-bottom: 40px;
}

.wrapper-contact .title-texte {
    font-family: var(--primary-font);
    max-width: 64ch;
    margin: 14px auto 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--texte-doux);
}

.wrapper-contact .title-texte a {
    color: var(--primary-color);
    font-weight: 700;
    border-bottom: 1px solid currentColor;
}


/* ***********************************************************************************************************|
                                                   formes dÃ©coratives                                         |
**************************************************************************************************************/
.shape-form {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.shape-form.shape-1 {
    border: 1px solid #e5e5e5;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    top: -133px;
    left: -133px;
}

.shape-form.shape-2 {
    border: 1px solid #e5e5e5;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    right: -133px;
    bottom: -133px;
}

.shape-form.shape-3 {
    left: 50%;
    top: 51%;
    animation: spin 15s normal infinite linear;
}

.shape-form.shape-4 {
    right: 2px;
    top: 33%;
    animation: float-bob-y 2s normal infinite linear;
}

.shape-form.shape-5 {
    right: 0;
    bottom: 0;
    animation: float-bob-x 2s normal infinite linear;
}

.actualites-shape-1,
.actualites-shape-2 {
    position: absolute;
    width: auto;
    z-index: 0;
    pointer-events: none;
}

.actualites-shape-2 {
    right: 0;
    top: -170px;
}

.actualites-shape-1 {
    bottom: -46px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes float-bob-y {
    0% {
        transform: translateY(-20px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(-20px);
    }
}

@keyframes float-bob-x {
    0% {
        transform: translateX(-30px);
    }
    50% {
        transform: translateX(-10px);
    }
    100% {
        transform: translateX(-30px);
    }
}

@keyframes moveHorizontal {
    0% {
        transform: translateZ(0);
    }
    50% {
        transform: translate3d(15px, 0, 0);
    }
    100% {
        transform: translateZ(0);
    }
}


/* ***********************************************************************************************************|
                                                   mise en page                                               |
**************************************************************************************************************/
.contact-layout {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: start;
}

.contact-form-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 40px 32px;
    width: 65%;
    box-shadow: 0 0 15px #0000001a;
}

.quick-contact-box {
    width: 35%;
}


/* ***********************************************************************************************************|
                                                   champs du formulaire                                       |
**************************************************************************************************************/
.cf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.cf-grid.full {
    grid-template-columns: 1fr;
}

.cf-field label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--second-color);
    margin-bottom: 8px;
}

.cf-field input,
.cf-field select,
.cf-field textarea {
    width: 100%;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 15px;
    font-family: var(--primary-font);
    color: var(--texte);
    background: #f7f8fa;
    transition: border-color .3s, background-color .3s;
}

.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
    border-color: var(--primary-color);
    background: #fff;
}

.cf-field [aria-invalid="true"] {
    border-color: #c62828;
    background: #fdf6f6;
}

.cf-field textarea {
    display: block;
    min-height: 140px;
    resize: vertical;
}

.cf-field .champ-erreur {
    margin-top: 6px;
}

.cf-accord {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 24px;
}

.cf-accord input {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary-color);
}

.cf-accord label {
    flex: 1;
    font-size: 14px;
    line-height: 1.55;
    color: var(--texte-doux);
    cursor: pointer;
}

.cf-accord .champ-erreur {
    flex-basis: 100%;
    padding-left: 28px;
}

.contact-form-box .primary-btn {
    border: none;
    cursor: pointer;
    font-family: var(--primary-font);
}

.contact-form-box .primary-btn svg {
    width: 26px;
    height: 20px;
    fill: currentColor;
}

.contact-form-box .primary-btn:disabled {
    opacity: .7;
    cursor: wait;
}


/* ***********************************************************************************************************|
                                                   contact direct et carte                                    |
**************************************************************************************************************/
.quick-contact {
    position: relative;
    background:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 30px 30px,
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 30px 30px,
        var(--second-color);
    border-radius: 18px;
    padding: 22px 28px;
    color: #fff;
    margin-bottom: 15px;
    overflow: hidden
}
.quick-contact::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(253, 111, 2, .45), transparent 70%);
    pointer-events: none;
}
.quick-contact h3 {
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 20px;
}

.quick-contact .qc-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.quick-contact .qc-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex: none;
}

.quick-contact .qc-label {
    font-size: 12.5px;
    color: #c4cddb;
    margin-bottom: 3px;
}

.quick-contact .qc-value {
    font-size: 14.5px;
    font-weight: 600;
    color: #fff;
    word-break: break-word;
}

.quick-contact .qc-value a {
    color: #fff;
}

.quick-contact .qc-value a:hover {
    color: var(--primary-color);
}

.qc-legal {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    font-size: 12.5px;
    color: #c4cddb;
}

.map-box {
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #eef1f6, #dde3ec);
    height: 220px;
}

.map-box iframe {
    display: block;
    width: 100%;
    height: 100%;
}


/* ***********************************************************************************************************|
                                                   rÃ©fÃ©rences clients                                         |
   Bandeau fixe (les styles des logos sont dans header-footer.css, comme sur l'accueil).                    |
**************************************************************************************************************/
.wrapper-partenaire .wrap-partenaire {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.wrapper-partenaire .item-partenaire {
    width: calc(100% / 7);
}


/* ***********************************************************************************************************|
                                                   mouvements rÃ©duits                                         |
**************************************************************************************************************/
@media (prefers-reduced-motion: reduce) {

    .shape-form,
    .faq-img-pricipale {
        animation: none !important;
    }

}
