/*
Theme : Onzly Agency
File: public.css
Description : Public css for Front
*/
@import "fonts.css";
@import "animations.css";
@import "custom_rules.css";
@import "loader.css";
@import "colors.css";

/* Global */

:root {
    --content-page-title-h1-font-size: 72px;
    --content-page-title-h1-line-height: calc(var(--title-h1-font-size) + 10px);
    --card-height: 40vw;
    --card-margin: 4vw;
    --card-top-offset: 1em;
    --numcards: 14;
    --outline-width: 0px;
    --acc-bounce: cubic-bezier(0.175, 0.885, 0.320, 1.275);
    --acc-sine: cubic-bezier(0.390, 0.575, 0.565, 1.000);
    --base-delay: 255ms;
    --variable-delay: 55ms;
}

body {
    font-family: 'Isidora Alt Regular', sans-serif;
    font-size: 22px;
    line-height: 36px;
    background-color: white;
    color: var(--color-bleu);
    overflow-x: hidden;
}

header {
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

article {
    padding-left: 0;
    padding-right: 0;
}

.smaller {
    font-size: .75em;
}

/* Header */

.desktop-logo {
    max-width: 200px;
}

.mobile-logo {
    max-width: 250px;
}

.site_wrapper {
    position: relative;
    z-index: 2;
    overflow: clip;
}

/* Menu */

#top-menu-offcanvas {
    height: 100vh;
    background-color: var(--color-bleu);
    z-index: 100001;
}

#top-menu-offcanvas .offcanvas-body {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: visible;
}

.top-menu-offcanvas-logo img {
    width: 200px;
    filter: saturate(0) brightness(5);
}

#top-menu-offcanvas .btn-close {
    --bs-btn-close-color: #fff; /* Change button close color to white */
    --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
    --bs-btn-close-opacity: 1;
}

.header_menu li a {
    font-family: 'Evergreen', sans-serif;
    font-size: 50px;
    line-height: 135%;
    padding: 1rem 0;
    color: white;
}

.menu-item {
    text-align: center;
    margin-bottom: 1rem;
}

.menu-item a {
    background-image: linear-gradient(
            to right,
            var(--color-turquoise),
            var(--color-turquoise) 50%,
            #fff 50%
    );
    background-size: 200% 100%;
    background-position: -100%;
    display: inline-block;
    padding: 5px 0;
    position: relative;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease-in-out;
}

.menu-item a:before{
    content: '';
    background: var(--color-turquoise);
    display: block;
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    transition: all 0.3s ease-in-out;
}

.menu-item a:hover {
    background-position: 0;
}

.menu-item a:hover::before{
    width: 100%;
}


/* Burger menu */
.burger-zone {
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    width: 70px;
    z-index: 5001;
}

.burger-zone:hover .burger-container {
    transform: translateX(0) !important;
}

.burger-container {
    display: flex;
    /*justify-content: center;*/
    align-items: center;
    transition: all 500ms ease;
    width: 100%;
    position: relative;
    height: 100%;
    top: 0;
    right: -20%;
}

.burger {
    /*display: flex;*/
    color: white;
    /*justify-content: center;*/
    /*align-items: center;*/
    font-size: 1.5rem;
    position: absolute;
    left: 10%;
    /*right: 0;*/
    top: calc(50% - 12px);
    transition: all 600ms ease;
    z-index: 1;
}

.burger:hover {
    color: var(--color-turquoise);
}

.burger-zone svg {
    width: 100%;
    height: 600px; /* Scale SVG to fill the container */
    transition: all 600ms ease;
    transform: matrix(1, 0, 0, 1, 0, 0);
}

.burger-zone:hover svg {
    transform: matrix(1, 0, 0, 1, 0, 0);
    transition: all 600ms ease;
}

/* Mobile burger */

.vbp-header-menu-button__svg {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transform: scaleX(-1);
}

.vbp-header-menu-button__svg line {
    stroke: #192a6b;
    stroke-dasharray: 100%;
    stroke-dashoffset: 0%;
    transition: transform 0.3s, stroke-dashoffset .4s;
    transform-origin: center;
    stroke-width: 3px;
}

.vbp-header-menu-button__svg .top {
    transform: translateY(-35%);
    -webkit-transform: translateY(-35%);
    -moz-transform: translateY(35%);
    -ms-transform: translateY(35%);
    -o-transform: translateY(35%);
}

.vbp-header-menu-button__svg .middle {
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
    transition: opacity .3s, transform .3s;
    -webkit-transition: opacity .3s, transform .3s;
    -moz-transition: opacity .3s, transform .3s;
    -ms-transition: opacity .3s, transform .3s;
    -o-transition: opacity .3s, transform .3s;

}

.vbp-header-menu-button__svg .bottom {
    transform: translateY(33%);
    -webkit-transform: translateY(33%);
    -moz-transform: translateY(33%);
    -ms-transform: translateY(33%);
    -o-transform: translateY(33%);
    stroke-dasharray: 100%;
    stroke-dashoffset: 9px;
}
.vbp-header-menu-button__svg:hover .bottom {
    stroke-dashoffset: 0%;
}
/*** Mode Croix ***/
.burger-mobile-zone.menu-open .vbp-header-menu-button__svg .top {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    stroke-linecap: round;
}

.burger-mobile-zone.menu-open .vbp-header-menu-button__svg .middle {
    transform: scaleX(0.1);
    -webkit-transform: scaleX(0.1);
    -moz-transform: scaleX(0.1);
    -ms-transform: scaleX(0.1);
    -o-transform: scaleX(0.1);
    opacity: 0;
}

.burger-mobile-zone.menu-open .vbp-header-menu-button__svg line.bottom {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    stroke-linecap: round;
}

.burger-mobile-zone.menu-open .vbp-header-menu-button__svg .bottom {
    stroke-dashoffset: 0;
}

/* Home slider */

#slider {
    min-height: calc(100vh - 150px);
}

.slider-animation {
    /*height: 8.5rem;*/
    overflow: hidden;
    text-align: center;
}

.slider-animation-end {
    margin-top: 5rem;
}

.slider-animation-end .static-text-end, .slider-animation-end img {
    opacity: 0;
    transition: all 300ms ease;
}

.slider-animations .slider-animation-end img {
    margin: -1rem auto auto;
    width: 80%;
    max-width: 300px;
}

.slider-animation .static-text, .slider-animations .static-text-end {
    font-family: 'Isidora Alt Thin', sans-serif;
    font-size: 4rem;
    line-height: 1.2;
}


.dynamic-title-item {
    font-size: 23px;
    font-family: 'Isidora Alt Bold', sans-serif;
    font-weight: 300;
    text-align: center;
    opacity: .1;
    order: 4;
}

.dynamic-title {
    height: 8.45rem;
    overflow: hidden;
    max-width: 100%;
}

.dynamic-title-listing {
    margin: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;

}

.dynamic-title-animated {
    animation: scrollUpList 100ms infinite;
}

.dynamic-title-targeted-style, .dynamic-title-targeted-style h2 {
    font-size: 62px;
    color: #24445c;
    opacity: 1 !important;
}

.dynamic-title-targeted{
    font-family: 'Isidora Alt Bold', sans-serif;
    font-weight: normal;
    opacity: .4;
    line-height: 67px;
    transition: all 300ms ease;
}

/* HOME : Storytelling */

#storytelling > .row {
    background-color: white;
    background-image: url('/wp-content/uploads/2024/09/storytelling-bg.jpg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 100% -8rem;
}

#storytelling .storytelling-intro span {
    font-family: 'Evergreen', sans-serif;
    font-size: 70px;
    font-weight: normal;
    line-height: 90px;
}

#storytelling .storytelling-intro p {
    font-family: "Isidora Alt Regular", sans-serif;
    font-size: 50px;
    line-height: 61px;
}

.storytelling-card {
    border-radius: 35px;
    max-width: 530px;
    background-color: white;
    padding: 3% 8%;
}

.storytelling-card-1 {
    font-family: "Isidora Alt Regular", sans-serif;
    font-size: 30px;
    line-height: 37px;
    max-height: 270px;
}

.storytelling-card-1 span {
    font-size: 47px;
    line-height: 106px;
    font-family: "Bittersweet", sans-serif;
}

.storytelling-card-2 {
    padding: 9% 8%;
    margin-top: -8%;
}

.storytelling-card-2 p {
    font-size: 25px;
    line-height: 30px;
    max-width: 320px;
}

.animated-btn-yellow .button__text {
    color: var(--color-bleu);
}

.animated-btn-yellow:hover .button__text {
    color: var(--color-bleu) !important;
}

.animated-btn.animated-btn-yellow::before,
.animated-btn.animated-btn-yellow::after,
.animated-btn-yellow .button__text::before,
.animated-btn-yellow .button__text::after {
    background: var(--color-bleu);
}

.animated-btn-yellow .button__line::before {
    border: solid 3px var(--color-bleu);
}

.animated-btn-yellow .button__text:hover {
    color: white;
}


.animated-btn i {
    transform: translateX(15px);
    display: flex;
}

.fa-chevron-right:before {
    font-size: 16px;
}

.animated-btn:hover i {
    transform: translateX(20px);
    transition: all 300ms ease;
}

/* HOME : Discover Us */

.discoverUs a {
    font-family: Evergreen, sans-serif;
    font-size: 3rem;
    line-height: 5rem;
    font-weight: 700;
}

/* HOME : Works */

#works {
    background-image : url("/wp-content/themes/exaequo/assets/images/bgs/fond-sowhite.jpg");
    background-repeat: repeat;
}

#works .works-intro .works-intro-title, #works .works-intro-2 .works-intro-title {
    font-family: 'Isidora Alt Medium', sans-serif;
    font-size: 40px;
    line-height: 48px;
}

#works .works-intro-2 h3.works-intro-title {
    font-family: 'Isidora Alt SemiBold', sans-serif;
    font-size: 30px;
    line-height: 37px;
}

#works .works-intro img {
    width: 315px;
    margin-top: -30px;
}

.works-intro-content {
    font-family: 'Isidora Alt Regular', sans-serif;
    font-size: 30px;
    line-height: 37px;
}

.works-item-card {
    position: relative;
    width: 94%;
    height: auto;
    max-width: 460px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    background-color: var(--color-bleu);
}

.works-item-card .works-item-card-img img {
    width: 100%;
    height: 100%;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    object-fit: cover;
}

.works-item-card:hover {
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.works-item-card-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: var(--color-bleu);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.works-item-card:hover .works-item-card-content {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 1;
}

.works-item-card-title {
    margin: 0;
    font-size: 29px;
    line-height: 35px;
    font-family: 'Isidora Alt SemiBold', sans-serif;
    text-align: center;
}

.works-item-card-description {
    font-family: 'Isidora Alt Light', sans-serif;
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 27px;
}

.works-item-card:hover img {
    scale: 0;
    transform: rotate(-45deg);
}

/* Scroll to dwn */

.scroll-down-container {
    display: block;
    position: absolute;
    bottom: 0;
    width: 60px;
    height: 150px;
    z-index: 101;
    opacity: 1;
}

.scroll-down-container canvas {
    width: 60px;
}

/* Footer */

footer {
    position: relative;
}

footer a, .footer-socials a:hover svg path {
    transition: all 300ms ease;
}

footer a:hover, .footer-socials a:hover {
    text-decoration: none;
    color: var(--color-turquoise);
}

.footer-logo {
    max-width: 300px;
}

.footer-socials a {
    display: inline-block;
    margin: auto 35px auto 0;
}

.footer-socials a:hover svg path {
    fill: var(--color-turquoise);
}

.footer-social-item {
    position: relative;
}

.footer-social-item .tooltip {
    position: absolute;
    top: 0;
    font-size: 12px;
    background: #fff;
    color: var(--color-bleu);
    padding: 5px 8px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.footer-social-item .tooltip::before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background: #fff;
    bottom: -3px;
    left: 17%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.footer-social-item:hover .tooltip {
    top: -36px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.footer-contact-us, .footer-book {
    color: white;
    font-family: 'Isidora Alt Light', sans-serif;
    font-size: 26px;
    line-height: 31px;
}

.footer-book h3 span {
    font-family: 'Isidora Alt Light', sans-serif;
}

.footer-contact-us a {
    text-decoration: underline;
    font-family: 'Isidora Alt Medium', sans-serif;
}

.footer-contact-us a, .footer-book h3 span {
    font-size: 21px;
    line-height: 25px;
}

footer .legal-links a {
    line-height: 1.3;
}

/* Back tp Top */

.backToTop-zone {
    font-family: 'Isidora Alt Light', sans-serif;
    width: 100vw;
    height: 100px;
    position: fixed;
    bottom: 0;
    left: 0;
}

.backToTop-container {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 500ms ease;
    width: 100vw;
    position: absolute;
    height: 100px;
    bottom: 0;
    transform: translateY(100px);
}

.backToTop {
    display: flex;
    color: white;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transition: all 600ms ease;
    z-index: 1;
    font-size: 14px;
    letter-spacing: 2px;
}

.backToTop-zone svg {
    width: 100px;
    height: auto;
    transition: all 600ms ease;
    transform: rotate(90deg);
}

.backToTop a {
    color: var(--color-bleu);
    font-size: 20px;
    font-family: 'Isidora Alt Light', sans-serif;
    transition: all 300ms ease;
}

.backToTop a:hover {
    font-weight: 700;
    color: var(--color-bleu);
}


/*** Footer CUP ***/
.rotative-btn {
    width: 170px;
    height: 170px;
}

.rotative-btn .rotative-btn-text {
    animation: rotate 28s linear infinite;
}

.rotative-btn:hover .rotative-btn-text {
    animation-play-state: paused;
}

.rotative-btn img {
    width: 100%;
}

/*** Footer Book ***/

.animated-btn-container {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.animated-btn:not(:last-child) {
    margin-bottom: 64px;
}

.animated-btn .type--A {
    --line_color: #555555;
    --back_color: #ffecf6;
}

.animated-btn .type--B {
    --line_color: #1b1919;
    --back_color: #e9ecff;
}

.animated-btn .type--C {
    --line_color: #00135c;
    --back_color: #defffa;
}

.animated-btn {
    position: relative;
    z-index: 0;
    width: 100%;
    max-width: 450px;
    height: 56px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    color: white;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}
.button__text {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

main .button__text {
    font-size: 25px;
    line-height: 30px;
    font-family: 'Isidora Alt Thin', sans-serif;
}

.animated-btn::before,
.animated-btn::after,
.button__text::before,
.button__text::after {
    content: "";
    position: absolute;
    height: 3px;
    border-radius: 2px;
    background: white;
    transition: all 0.5s ease;
}
.animated-btn::before {
    top: 0;
    left: 54px;
    width: calc(100% - 56px * 2 - 16px);
}
.animated-btn::after {
    top: 0;
    right: 54px;
    width: 8px;
}
.button__text::before {
    bottom: 0;
    right: 54px;
    width: calc(100% - 56px * 2 - 16px);
}
.button__text::after {
    bottom: 0;
    left: 54px;
    width: 8px;
}
.button__line {
    position: absolute;
    top: 0;
    width: 56px;
    height: 100%;
    overflow: hidden;
}
.button__line::before {
    content: "";
    position: absolute;
    top: 0;
    width: 150%;
    height: 100%;
    box-sizing: border-box;
    border-radius: 300px;
    border: solid 3px white;
}
.button__line:nth-child(1),
.button__line:nth-child(1)::before {
    left: 0;
}
.button__line:nth-child(2),
.button__line:nth-child(2)::before {
    right: 0;
}
.animated-btn:hover {
    letter-spacing: 3px;
    color: white;
}
.animated-btn:hover::before,
.animated-btn:hover .button__text::before {
    width: 8px;
}
.animated-btn:hover::after,
.animated-btn:hover .button__text::after {
    width: calc(100% - 56px * 2 - 16px);
}
.button__drow1,
.button__drow2 {
    position: absolute;
    z-index: -1;
    border-radius: 16px;
    transform-origin: 16px 16px;
    margin-left: 6%;
}
.button__drow1 {
    top: -16px;
    left: 40px;
    width: 32px;
    height: 0;
    transform: rotate(30deg);
}
.button__drow2 {
    top: 44px;
    left: 77px;
    width: 32px;
    height: 0;
    transform: rotate(-127deg);
}
.button__drow1::before,
.button__drow1::after,
.button__drow2::before,
.button__drow2::after {
    content: "";
    position: absolute;
}
.button__drow1::before {
    bottom: 0;
    left: 0;
    width: 0;
    height: 32px;
    border-radius: 16px;
    transform-origin: 16px 16px;
    transform: rotate(-60deg);
}
.button__drow1::after {
    top: -10px;
    left: 45px;
    width: 0;
    height: 32px;
    border-radius: 16px;
    transform-origin: 16px 16px;
    transform: rotate(69deg);
}
.button__drow2::before {
    bottom: 0;
    left: 0;
    width: 0;
    height: 32px;
    border-radius: 16px;
    transform-origin: 16px 16px;
    transform: rotate(-146deg);
}
.button__drow2::after {
    bottom: 26px;
    left: -40px;
    width: 0;
    height: 32px;
    border-radius: 16px;
    transform-origin: 16px 16px;
    transform: rotate(-262deg);
}
.button__drow1,
.button__drow1::before,
.button__drow1::after,
.button__drow2,
.button__drow2::before,
.button__drow2::after {
    background: var(--color-turquoise);
}
.animated-btn-yellow .button__drow1,
.animated-btn-yellow .button__drow1::before,
.animated-btn-yellow .button__drow1::after,
.animated-btn-yellow .button__drow2,
.animated-btn-yellow .button__drow2::before,
.animated-btn-yellow .button__drow2::after {
    background: var(--color-or);
}

.animated-btn:hover .button__drow1 {
    animation: drow1 ease-in 0.06s;
    animation-fill-mode: forwards;
}
.animated-btn:hover .button__drow1::before {
    animation: drow2 linear 0.08s 0.06s;
    animation-fill-mode: forwards;
}
.animated-btn:hover .button__drow1::after {
    animation: drow3 linear 0.03s 0.14s;
    animation-fill-mode: forwards;
}
.animated-btn:hover .button__drow2 {
    animation: drow4 linear 0.06s 0.2s;
    animation-fill-mode: forwards;
}
.animated-btn:hover .button__drow2::before {
    animation: drow3 linear 0.03s 0.26s;
    animation-fill-mode: forwards;
}
.animated-btn:hover .button__drow2::after {
    animation: drow5 linear 0.06s 0.32s;
    animation-fill-mode: forwards;
}


/* Pages */
#content-page-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.content-page-title {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-top: 20vh;
    height: calc(100vh - 150px); /*150px header's height*/
}

.content-page-title h1, .content-page-title h2 {

    font-family: 'Isidora Alt Thin', sans-serif;
    font-size: var(--content-page-title-h1-font-size);
    /*line-height: var(--content-page-title-h1-line-height);*/
}

.content-page-title h1 span, .content-page-title h2 span {
    font-family: 'Isidora Alt Bold', sans-serif;
    font-size: 75px;
    line-height: 95px;
}



.content-page-intro {
    font-family: 'Isidora Alt Regular', sans-serif;
    font-size: 25px;
    line-height: 30px;
}

.content-page-intro-title {
    font-family: 'Isidora Alt Bold', sans-serif;
    font-size: 30px;
    line-height: 37px;
}

h3.content-page-subtile-title {
    font-family: 'Isidora Alt Thin', sans-serif;
    font-size: 60px;
    line-height: 72px;
}

/* Services */
.service-item-card-title {
    font-family: 'Isidora Alt Bold', sans-serif;
}

.service-item-card-subtitle {
    font-size: 20px;
    line-height: 30px;
}

/** Service Cards **/

#card-[data-order] {
    --index: attr(data-order);
}

.service-card {
    position: sticky;
    top: 15vh;
    outline: var(--outline-width) solid hotpink;
}

#services-cards {
    list-style: none;
    outline: calc(var(--outline-width) * 10) solid blue;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(var(--numcards), var(--card-height));
    gap: var(--card-margin);
    margin-bottom: var(--card-margin);
}

.service-card-content {
    background: rgb(255, 255, 255);
    color: inherit;
    border-radius: 1em;
    overflow: hidden;
    display: grid;
    grid-template-areas: "text img";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    align-items: stretch;
    outline: var(--outline-width) solid lime;
    min-height: 520px;
}

.service-card-content > div {
    grid-area: text;
    width: 80%;
    place-self: center;
    text-align: left;
    display: grid;
    gap: 1em;
    place-items: start;
}

.service-card-content > figure {
    grid-area: img;
    overflow: hidden;
}

.service-card-content > figure > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* Credos */

#credo {
    overflow: hidden;
}

.credo-card .credo-card-content {
    position: relative;
}

#credo img {
    filter: contrast(1.15);
}

.credo-card .credo-card-content:before {
    content: attr(data-order);
    font-family: 'Isidora Alt Bold', sans-serif;
    font-size: 600px;
    color: #24445c1a;
    position: absolute;
    bottom: -30%;
    left: 2%;
    line-height: 600px;
}

.credo-card p {
    font-size: 20px;
    line-height: 24px;
}

.credo-item-card-title {
    font-family: 'Isidora Alt Thin', sans-serif;
    font-size: 50px;
    line-height: 61px;
}

.credo-card figure {
    height: 100%;
}

.credo-item-card-image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.credo-card .credo-card-content[data-order='1']:before {
    transform: translateY(-0.85%);
}

.credo-card .credo-card-content[data-order='2']:before {
    transform: translateY(-6.2%);
}

.credo-card .credo-card-content[data-order='3']:before {
    transform: translateY(-2.6%);
}

.credo-card .credo-card-content[data-order='4']:before {
    transform: translateY(-7.9%);
}

.credo-card .credo-card-content[data-order='5']:before {
    transform: translateY(-9.2%);
}

.credo-card .credo-card-content[data-order='6']:before {
    transform: translateY(-2.5%);
}

.credo-card .credo-card-content[data-order='7']:before {
    transform: translateY(-2.6%);
}

.credo-card .credo-card-content[data-order='8']:before {
    transform: translateY(-7.5%);
}

/* StoryTelling */

#stories-cards {
    /*overflow: hidden;*/
    height: 100vh;
    max-height: 870px;
}

.story-slide-content-container {
    min-height: 50%;
}

.story-slide-image {
    height: 50%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.story-slide-floating-image img {
    max-width: 400px;
}
.story-slide h2.story-slide-title {
    font-family: 'Isidora Alt Bold', sans-serif;
    font-size: 50px;
    line-height: 61px;
    margin: auto 5%;
}

.story-slide h2.story-slide-title span {
    display: block;
    font-family: 'Isidora Alt Thin', sans-serif;
    font-size: 75px;
    line-height: 95px;
}

.stories-slider-nav {
    display: flex;
    z-index: 5001;
    opacity: 0;
    transition: all 1200ms ease;
    /*right: 0;*/
}

.stories-slider-nav-arrow {
    color: white;
    transition: all 300ms ease;
}
.stories-slider-nav-arrow:hover {
    color: #c5c5c5;
    background-color: #24445cd4;
    cursor: pointer;
}

.story-slide {
    display: none;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.story-slide.active-slide {
    display: block;
}

.story-slide-content {
    /*max-width: 50%;*/
    margin: auto 5%;
}

.story-slide-content-container, .story-slide-image, .story-slide-floating-image {
    transform: translateY(300%);
    transition: all 1000ms ease;
}

.story-slide.active-slide .story-slide-content-container,
.story-slide.active-slide .story-slide-image
.story-slide.active-slide .story-slide-floating-image
{
    transform: translateY(0);
}

.story-slide-floating-image {
    position: absolute;
    top: 105%;
    width: 45%;
    max-width: 30%;
    right: 3%;
    animation: 2.5s linear 0s infinite alternate moving3D;
    z-index: 3;
    transition: all 800ms ease;
}

.story-slide-floating-image:hover {
    animation-play-state: paused;
}

/* Devis form */

.form-link {
    font-weight: 700;
    text-decoration: underline;
}

::placeholder {
    font-weight: bold !important;
    opacity: 0.85 !important;
    color: #24445C !important;
}

#wpforms-127-field_8-container:after {
    content: 'Contact';
    position: relative;
    left: 0;
    top: 1.5rem;
}

.contact_form_send_btn {
    background: white !important;
    color: var(--color-bleu) !important;
    border: solid 2px var(--color-bleu) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    margin-left: auto !important;
    border-radius: 0% !important;
    width: 235px !important;
    height: 55px !important;
    transition: all 300ms ease;
}

.contact_form_send_btn:hover {
    background: var(--color-bleu) !important;
    color: white !important;
}

div.wpforms-container-full .ebook-btn {
    background-color: var(--color-bleu);
    border-radius: 8px;
    font-size: 16px;
    display: block;
}

div.wpforms-container-full .wpforms-confirmation-container-full {
    background: white !important;
    border: 1px solid var(--color-bleu) !important;
}

div.wpforms-container-full .wpforms-form textarea:focus, div.wpforms-container-full input[type=text]:focus {
    border-color: var(--color-bleu) !important;
    box-shadow: 0 0 0 1px var(--color-bleu), 0 1px 2px rgba(0, 0, 0, 0.15) !important;
}

#wpforms-127-field_13-container {
    border-top: solid 2px var(--color-bleu);
    margin-top: 2rem;
}

div.wpforms-container-full .wpforms-field-label-inline, .wp-core-ui div.wpforms-container-full .wpforms-field-label-inline {
    color: var(--color-bleu) !important;
    font-family: 'Isidora Alt Light', sans-serif !important;
    font-size: 20px !important;
    line-height: 24px !important;
}

div.wpforms-container-full input[type=checkbox]:before {
    content: url('/wp-content/themes/exaequo/assets/images/icons/icon_checkbox.svg') !important;
}

div.wpforms-container-full input[type=checkbox]:checked:before {
    content: url('/wp-content/themes/exaequo/assets/images/icons/icon_checkbox_checked.svg') !important;
}

.wpforms-container input[type=checkbox], .wpforms-container input[type=radio], .wp-core-ui div.wpforms-container input[type=checkbox], .wp-core-ui div.wpforms-container input[type=radio] {
    width: 28px !important;
    height: 28px !important;
}

div.wpforms-container-full input[type=checkbox]:before, div.wpforms-container-full input[type=checkbox]:after, div.wpforms-container-full input[type=radio]:before, div.wpforms-container-full input[type=radio]:after {
    width: 28px !important;
    height: 28px !important;
}

div.wpforms-container-full .wpforms-field.wpforms-field-checkbox ul li, div.wpforms-container-full .wpforms-field.wpforms-field-radio ul li, div.wpforms-container-full .wpforms-field.wpforms-field-payment-checkbox ul li, div.wpforms-container-full .wpforms-field.wpforms-field-payment-multiple ul li, div.wpforms-container-full .wpforms-field.wpforms-field-gdpr-checkbox ul li {
    align-items: center !important;
}

div.wpforms-container-full .wpforms-field.wpforms-field-checkbox ul li input+label, div.wpforms-container-full .wpforms-field.wpforms-field-radio ul li input+label, div.wpforms-container-full .wpforms-field.wpforms-field-payment-checkbox ul li input+label, div.wpforms-container-full .wpforms-field.wpforms-field-payment-multiple ul li input+label, div.wpforms-container-full .wpforms-field.wpforms-field-gdpr-checkbox ul li input+label {
    padding-inline-start: 3px !important;
    margin: 0 1rem 0 .25rem !important;
}

.wpforms-container .wpforms-form .wpforms-field-label, #wpforms-127-field_8-container:after {
    font-family: 'Isidora Alt Light', sans-serif;
    font-weight: normal;
    font-size: 30px;
    line-height: 35px;
    color: var(--color-bleu);
    margin: 0 0 1rem 0;
}

.wpforms-required-label {
    display: none;
}

div.wpforms-container-full input[type=checkbox]:before, div.wpforms-container-full input[type=radio]:before {
    border-width: 0 !important;
    border-style: none;
    border-color: transparent;
    background-color: transparent;
    background-clip: padding-box;
    background-image: none;
    border-radius: 0;
}

div.wpforms-container-full input[type=checkbox]:checked:after {
    /*content: url('/wp-content/themes/exaequo/assets/images/icons/icon_checkbox_checked.svg') !important;*/
    border-top: none !important;
    border-right: none !important;
    height: calc(var(--wpforms-field-size-checkbox-size)* 0.6);
    border-left: none !important;
    border-bottom: none !important;
    background-color: transparent !important;
    transform: none !important;
    left: calc(-4px + var(--wpforms-field-border-size, 1px));
    top: calc(-3px + var(--wpforms-field-border-size, 1px));
}

div.wpforms-container-full input[type=checkbox]:checked:before, div.wpforms-container-full input[type=radio]:checked:before {
    /*content: url('/wp-content/themes/exaequo/assets/images/icons/icon_checkbox_checked.svg') !important;*/
    margin: 0;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none;
}

div.wpforms-container-full input[type=checkbox]:focus:before, div.wpforms-container-full input[type=radio]:focus:before {
    border-width:  0 !important;
    border-style: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none;
}

/* Prank */

.page-template-page-prank .content-page-title {
    height: auto;
    min-height: unset;
}

.page-template-page-prank .content-page-title h1 {
    font-family: 'Isidora Alt Bold', sans-serif;
    font-size: 60px;
}

.prank-page-content {
    font-family: 'Isidora Alt Regular', sans-serif;
    font-size: 30px;
    line-height: 37px;
}

.page-template-page-prank .animated-btn-container-prank .animated-btn {
    max-width: 660px;
    width: 80%;
}

.page-template-page-prank .small p {
    font-size: 21px;
    line-height: 25px;
}

.page-template-page-prank .animated-btn-container-prank .animated-btn .button__text {
    font-size: 21px;
    line-height: 31px;
    font-family: 'Isidora Alt Thin', sans-serif;
}

.page-template-page-prank .prank-img {
    max-height: 650px;
    object-fit: cover;
}