/* CUSTOM */

.header-social {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.header-social a {
    display: block;
    width: 33px;
    height: 33px;
    margin: 0;
    padding: 0;
    line-height: 33px;
    text-align: center;
    border-radius: 10px 10px 10px 0;
    background: var(--color-white);
    color: var(--theme-color);
    transition: var(--transition);
    font-size: 13px;
}

.header-social a:hover {
    background: var(--theme-color);
    color: var(--color-white);
}

/* ------------------------
Line Drop Animation
------------------------*/
.lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    margin: auto;
    width: 90vw;
    z-index: -1
}

.lines .line {
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    left: 50%;
    background: rgba(119, 118, 118, 0.1); /*rgba(255, 255, 255, 0.1);*/
    overflow: hidden;
}

.lines .line:nth-child(1) {
    margin-left: -50%;
}

.lines .line:nth-child(3) {
    margin-left: 50%;
}

.lines .line::after {
    content: "";
    display: block;
    position: absolute;
    height: 15vh;
    width: 100%;
    top: -50%;
    left: 0;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), color-stop(75%, rgb(38 132 243)), to(rgb(32 132 250)));
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #318df8 75%, #328efa 100%);
    -webkit-animation: run 7s 0s infinite;
    animation: run 7s 0s infinite;
    animation-timing-function: ease;
    animation-delay: 0s;
    animation-fill-mode: none;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
    animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
}

.lines .line:nth-child(1)::after {
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
}

.lines .line:nth-child(3)::after {
    -webkit-animation-delay: 2.5s;
    animation-delay: 2.5s;
}

@keyframes run {
    0% {
        top: -50%;
    }
    100% {
        top: 110%;
    }
}

/* ------------------------
contact transition
------------------------*/
.branch-phone-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    min-height: 30px;
    overflow: hidden;
}

.branch-phone-item {
    display: none !important;
    align-items: center;
    white-space: nowrap;
    color: white;
    justify-content: center;

}

.branch-phone-item.active {
    display: flex !important;
}

/* Animation des numéros */
.branch-phone-item.active:not(.branch-city) {
    animation: phoneSlideIn 0.7s ease forwards;
}

@keyframes phoneSlideIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation des villes */
.branch-phone-item.active.branch-city {
    animation: cityZoomIn 0.9s ease forwards;
}

@keyframes cityZoomIn {
    0% {
        opacity: 0;
        transform: scale(0.75);
    }
    60% {
        opacity: 0.8;
        transform: scale(1.08);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ------------------------
email transition------------------------*/

.branch-email-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 30px;
    overflow: hidden;
}

.branch-email-item {
    display: none !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    color: white;
}

.branch-email-item.active {
    display: flex !important;
}

.branch-email-item.branch-city {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.branch-email-item.active:not(.branch-city) {
    animation: emailSlideIn 0.7s ease forwards;
}

@keyframes emailSlideIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.branch-email-item.active.branch-city {
    animation: emailZoomIn 0.9s ease forwards;
}

@keyframes emailZoomIn {
    0% {
        opacity: 0;
        transform: scale(0.75);
    }

    60% {
        opacity: 0.8;
        transform: scale(1.08);
    }

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


/* email transition deux

   .branch-email-wrapper {
       display: flex;
       align-items: center;
       white-space: nowrap;
   }

.branch-email-wrapper > i {
    flex-shrink: 0;
    margin-right: 6px;
}

.branch-email-slider {
    display: block;
    width: 190px;
    overflow: hidden;
    white-space: nowrap;
}

.branch-email-track {
    display: inline-flex;
    align-items: center;
    width: max-content;
    animation: branchEmailMarquee 45s linear infinite;
}

.branch-email-slider:hover .branch-email-track {
    animation-play-state: paused;
}

.branch-email-group {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.branch-email-item {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
    padding-right: 15px;
    color: #bcbaba;
    font-weight: 600;
}

.branch-email-item:hover {
    text-decoration: none;
}

.branch-email-item i {
   color: #fff;
    font-size: 13px;
}

@keyframes branchEmailMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-20%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .branch-email-track {
        animation: none;
    }
}
*/

/* FOOTER ADDRESS TRANSITION */

.branch-address-slider {
    position: relative;
    min-height: 110px;
    overflow: hidden;
}

.branch-address-item {
    display: none;
    opacity: 0;
    transform: translateY(15px);
}

.branch-address-item.active {
    display: block;
    animation: addressFadeIn 0.8s ease forwards;
}

@keyframes addressFadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.branch-address-item strong {
    display: inline-block;
    animation: addressCityZoom 0.9s ease forwards;
}

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

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

    100% {
        transform: scale(1);
    }
}

/* aside address */

.branch-contact-slider {
    position: relative;
    min-height: 250px;
    overflow: hidden;
}

.branch-contact-item {
    display: none;
}

.branch-contact-item.active {
    display: block;
    animation: branchContactIn 0.8s ease forwards;
}

.branch-city-title {
    margin-bottom: 15px;
    font-weight: 700;
    text-align: left;
    opacity: 0;
    transform: scale(0.8);
}

.branch-contact-item.active .branch-city-title {
    animation: branchCityZoom 0.8s ease 0.1s forwards;
}

.branch-contact-item.active li {
    opacity: 0;
    transform: translateX(25px);
}

.branch-contact-item.active li:nth-child(1) {
    animation: branchInfoIn 0.6s ease 0.2s forwards;
}

.branch-contact-item.active li:nth-child(2) {
    animation: branchInfoIn 0.6s ease 0.35s forwards;
}

.branch-contact-item.active li:nth-child(3) {
    animation: branchInfoIn 0.6s ease 0.5s forwards;
}

@keyframes branchContactIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

@keyframes branchInfoIn {
    from {
        opacity: 0;
        transform: translateX(25px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* end aside address */
