.contact {
    background-color: var(--medium-grey);
}

.contact .letter-container,
.contact .other-container {
    opacity: 0;
    display: none;
}

.contact .cross-btn {
    z-index: 10;
    display: none;
}

.contact__file {
    position: relative;
    background-color: rgba(240, 99, 167, .2);
    border: 1px solid var(--pink-peaks);
    border-radius: 1em;
    width: 8em;
    height: 2em;
    cursor: pointer;
    overflow: hidden;
    background-image: url("../dist/f115512ebfbe882486d0.svg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 1.2em;
}

.contact__file:hover {
    border: 2px solid var(--pink-peaks);
}

.contact .input-file-container--active {
    border: 0;
    background-image: none;
}

.contact__file * {
    cursor: pointer;
}

.contact__file:focus-within {
    outline: 2px solid var(--black);
    outline-offset: 0;
}

.contact__file input {
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
    position: relative;
}

.contact__file p {
    margin: 0;
}

.contact__file .wpcf7-form-control-wrap {
    position: relative;
}

.contact__file-name {
    position: absolute;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.9rem;
    color: var(--body-colour);
    overflow: hidden;
    bottom: 0.2em;
    left: 0.6em;
    width: calc(100% - 3em)
}

.contact__files-container {
    display: flex;
    gap: var(--base-gutter);
    width: 100%;
    border: 1px solid var(--dark-grey);
    border-radius: 0.4rem;
    background-color: var(--light-grey);
    color: var(--body-colour);
    padding: 0.6rem;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.2;
    margin: 0 0 var(--base-margin-small) 0
}

.contact__file-btn-cross {
    position: absolute;
    cursor: pointer;
    background: url("../img/btn-cross-charge.svg") center center no-repeat;
    border: 1px solid var(--pink-peaks);
    border-radius: 50%;
    text-indent: -999em;
    overflow: hidden;
    top: 0.2em;
    right: 0.2em;
    width: 2em;
    height: 2em;
}

.contact__file-btn-cross:focus {
    outline: 2px solid var(--black);
    outline-offset: -2px;
}

.contact__file-btn-cross:hover {
    border: 2px solid var(--pink-peaks);
}

.contact .btn-container {
  cursor: pointer;
  padding: 10px 0;
}

.header {
    color: var(--blue-marine);
    background: var(--white);
    border-radius: 1rem;
    padding: var(--base-gutter);
}

.header__title {
    color: var(--pink-peaks);
}

.agencies .agencies_slider .slide .top {
    background-color: var(--blue-marine);
    position: relative;
}

.agencies__container {
    display: flex;
    align-items: center;
    height: 400px;
    position: relative;

    @media (max-width: 1024px) {
        align-items: flex-start;
    }

    @media (max-width: 950px) {
        align-items: flex-start;
        flex-direction: column-reverse;
        height: auto;
        padding-top: calc(var(--base-margin-large) * 2);
    }
}

.agencies__info {
    width: 50%;
    display: flex;
    flex-direction: column;

    @media (max-width: 1024px) {
        padding-top: 1rem;
    }

    @media (max-width: 950px) {
        padding-top: 0;
        margin-bottom: 2.8rem;
        width: 100%;
        text-align: center;
    }
}

.agencies__title {
    color: var(--pink-peaks);
    font-weight: 900;
    margin-bottom: 0;
    
    @media (max-width: 950px) {
        align-self: center;
        margin: 1rem 0 0.8rem 0;
        text-align: center;
    }
}

.agencies__title span {
    display: block;
}

.agencies__subtitle {
    font-size: 35px;
    margin-bottom: 0.8rem;
    color: var(--white);

    @media (max-width: 950px) {
        align-self: center;
        text-align: center;
    }
}

.agencies__address a {
    color: var(--white);
}

.agencies__tel {
    margin-bottom: calc(var(--base-gutter));

    @media (max-width: 950px) {
        align-self: center;
        text-align: center;
    }
}

.agencies__tel a {
    color: var(--white);
}

.agencies__button {
    width: 80%;
    margin: 0;
    
    @media (max-width: 950px) {
        align-self: center;
        text-align: center;
        width: auto;
    }
}

.agencies__image {
    position: absolute;
    right: 156px;
    clip-path: polygon(20% 0%, 100% 0, 100% 100%, 0% 100%);
    
    @media (max-width: 950px) {
        clip-path: none;
        position: static;
        right: auto;
        width: 100%;
        text-align: center;
    }
}

.agencies__image img {
    height: 400px;
    
    @media (max-width: 950px) {
        border-radius: 0.4rem;
        margin: 0 auto;
        max-width: 400px;
        width: 100%;
        height: auto;
    }
}

.agencies__container::after {
    content: "";
    background-image: url("../img/groupe_7942.svg");
    background-repeat: no-repeat;
    width: 230px;
    height: 100%;
    position: absolute;
    right: 0;
    background-position: 0 0;
    background-size: 100% 100%;

    @media (max-width: 950px) {
        display: none;
    }
}

.agencies .agencies_slider .splide__pagination {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: auto;
}

@media (max-width: 1400px) {
    .splide {
        overflow: visible !important;
    }
}

.splide__arrow {
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    z-index: 1;
}