/* -------------------------------------------------
	
	01 . IMPORT CSS + FONTS
	02 . BASE
	03 . HERO
	04 . POPUP
	05 . CONTACT
	06 . xxxxxx
	
------------------------------------------------- */

/* ////////////////////////////////////////////////////////////////////////////

    01 . IMPORT CSS + FONTS

//////////////////////////////////////////////////////////////////////////// */

@import url("https://fonts.googleapis.com/css2?family=Hubot+Sans:wght@200..900&display=swap");

@import url("libs/magnific-popup.css");
@import url("libs/kenburns.css");

@import url("interface.css");
@import url("form.css");
@import url("blog.css");
@import url("services.css");
@import url("home.css");
@import url("join.css");
@import url("about.css");
@import url('rd-ajustment.css');
@font-face {
    font-family: "font-title";
    src:
        url("../fonts/Denmark.woff") format("woff"),
        url("../fonts/Denmark.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --site-width: 1480px;

    --font-text: "Hubot Sans", sans-serif;
    --font-title: "font-title", sans-serif;

    --color-dark: #111111; /* rgba(17,17,17,1); */
    --color-light: #fff; /* rgba(255,255,255,1); */

    /* --color-primary-1: #E22911; */ /* rgba(226,41,17,1); */
    --color-primary-1: #0060d4; /* rgba(226,41,17,1); */
    --color-primary-2: #f68617; /* rgba(246,134,23,1); */
    --color-primary-3: #ffe736; /* rgba(255,231,54,1); */
    --color-primary-4: #5a2981; /* rgba(90,41,129,1); */
    --color-primary-5: #0a4295; /* rgba(10,66,149,1); */
    --color-primary-6: #247fcd; /* rgba(36,127,205,1); */
    --color-primary-7: #61ad2e; /* rgba(97,173,46,1); */

    --color-grey-xdark: #080808; /* rgba(8,8,8,1); */
    --color-grey-dark: #3d3d3d; /* rgba(61,61,61,1); */
    --color-grey: #707070; /* rgba(112,112,112,1); */
    --color-grey-light: #a3a3a3; /* rgba(163,163,1638,1); */
    --color-grey-xlight: #e0e0e0; /* rgba(224,224,224,1); */
    --color-grey-xxlight: #f2f2f2; /* rgba(242,242,242,1); */

    --line-dark: rgba(20, 20, 20, 0.15);
    --line-light: rgba(255, 255, 255, 0.1);
    --line-form: rgba(20, 20, 20, 0.2);

    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-xl: 20px;
    --radius-full: 2em;

    --slope-value: 5px;
    --slope-value-1: 10px;
    --slope-value-2: calc(var(--slope-value-1) * 2.5);
    --slope-value-3: calc(var(--slope-value-1) * 5);

    --corner-top-right: polygon(
        calc(100% - var(--slope-value)) 0,
        100% var(--slope-value),
        100% 100%,
        0 100%,
        0 0
    );
    --corner-top-left: polygon(
        var(--slope-value) 0,
        100% 0,
        100% 100%,
        0 100%,
        0 var(--slope-value)
    );
    --corner-bottom-left: polygon(
        100% 0,
        100% 100%,
        var(--slope-value) 100%,
        0 calc(100% - var(--slope-value)),
        0 0
    );
    --corner-bottom-right: polygon(
        100% 0,
        100% calc(100% - var(--slope-value)),
        calc(100% - var(--slope-value)) 100%,
        0 100%,
        0 0
    );

    --corner-top-right-1: polygon(
        calc(100% - var(--slope-value-1)) 0,
        100% var(--slope-value-1),
        100% 100%,
        0 100%,
        0 0
    );
    --corner-top-left-1: polygon(
        var(--slope-value-1) 0,
        100% 0,
        100% 100%,
        0 100%,
        0 var(--slope-value-1)
    );
    --corner-bottom-left-1: polygon(
        100% 0,
        100% 100%,
        var(--slope-value-1) 100%,
        0 calc(100% - var(--slope-value-1)),
        0 0
    );
    --corner-bottom-right-1: polygon(
        100% 0,
        100% calc(100% - var(--slope-value-1)),
        calc(100% - var(--slope-value-1)) 100%,
        0 100%,
        0 0
    );

    --corner-top-right-2: polygon(
        calc(100% - var(--slope-value-2)) 0,
        100% var(--slope-value-2),
        100% 100%,
        0 100%,
        0 0
    );
    --corner-top-left-2: polygon(
        var(--slope-value-2) 0,
        100% 0,
        100% 100%,
        0 100%,
        0 var(--slope-value-2)
    );
    --corner-bottom-left-2: polygon(
        100% 0,
        100% 100%,
        var(--slope-value-2) 100%,
        0 calc(100% - var(--slope-value-2)),
        0 0
    );
    --corner-bottom-right-2: polygon(
        100% 0,
        100% calc(100% - var(--slope-value-2)),
        calc(100% - var(--slope-value-2)) 100%,
        0 100%,
        0 0
    );

    --corner-top-right-3: polygon(
        calc(100% - var(--slope-value-3)) 0,
        100% var(--slope-value-3),
        100% 100%,
        0 100%,
        0 0
    );
    --corner-top-left-3: polygon(
        var(--slope-value-3) 0,
        100% 0,
        100% 100%,
        0 100%,
        0 var(--slope-value-3)
    );
    --corner-bottom-left-3: polygon(
        100% 0,
        100% 100%,
        var(--slope-value-3) 100%,
        0 calc(100% - var(--slope-value-3)),
        0 0
    );
    --corner-bottom-right-3: polygon(
        100% 0,
        100% calc(100% - var(--slope-value-3)),
        calc(100% - var(--slope-value-3)) 100%,
        0 100%,
        0 0
    );
}

/* ////////////////////////////////////////////////////////////////////////////

    02 . BASE

//////////////////////////////////////////////////////////////////////////// */

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    background-color: var(--color-dark) !important;
}
body {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark);
    color: var(--color-light);
    font-family: var(--font-text);
    font-size: 17px;
    line-height: 1.5;
    overflow-x: hidden !important;
}
body.open {
    overflow-y: hidden !important;
    touch-action: none !important;
}

/* SCROLLBAR */
body::-webkit-scrollbar {
    width: 10px;
    background: #ddd;
}
body::-webkit-scrollbar-thumb {
    background: #000;
    border-radius: 10px;
}

/* LIENS */
a {
    color: var(--color-dark);
    text-decoration: none;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent !important;
}
.no-touch a:hover {
    color: var(--color-dark);
    outline: 0;
    text-decoration: none;
}

a[href^="tel"] {
    color: inherit !important;
    text-decoration: inherit !important;
    font-size: inherit !important;
    font-style: inherit !important;
    font-weight: inherit !important;
}

/* TEXTE */
br {
    font-size: 0;
    line-height: 0;
}
strong,
b {
    font-weight: 600;
}

/* IMAGE */
img {
    position: relative;
    max-width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
    -ms-interpolation-mode: bicubic;
    vertical-align: middle;
}

/* LISTES */
ol,
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* PARAGRAPHES */
p {
    margin: 0 0 10px 0;
    padding: 0;
}
p:last-child {
    margin: 0;
}

/* TITRES */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-text);
    line-height: 1;
    margin: 0;
    padding: 0;
    font-weight: normal;
}

/* PADDING */
.no-padding {
    padding: 0;
}

/* ////////////////////////////////////////////////////////////////////////////

	03 . HERO

//////////////////////////////////////////////////////////////////////////// */

.hero_dual {
    position: relative;
    color: var(--color-dark);
    overflow: inherit;
    margin-top: 120px;
}

.hero_dual .section-inner {
    position: relative;
    z-index: 0;
    overflow: hidden;
    display: flex;
    width: calc(100% - 60px);
    height: calc(100% - 30px);
    border-radius: var(--radius-lg);
    margin: 15px 30px;
}
/* .hero_dual .section-inner::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,rgba(255,255,255,1) 15%, rgba(255,255,255,.95) 35%, rgba(255,255,255,0) 100%);
} */

.hero_dual .container {
    position: relative;
    z-index: 1;
    max-width: calc((var(--site-width) + 30px));
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
}
.hero_dual .container .row {
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 992px) {
    .hero_dual {
        overflow: hidden;
        margin-top: 65px;
    }
    .hero_dual::after {
        background: linear-gradient(
            15deg,
            rgba(255, 255, 255, 1) 25%,
            rgba(255, 255, 255, 0) 100%
        );
    }
    .hero_dual .section-inner {
        width: calc(100% - 30px);
        margin: 15px;
    }
}

/* CONTENT */
.hero_dual-caption {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 50px;
    height: calc(100vh - 150px);
    /* min-height: 525px; */
    padding: 0 0 50px 50px;
}
.hero_dual-caption h1 {
    width: 100%;
    font-size: clamp(2.25rem, -0.0366rem + 7.3171vw, 4.5rem);
    line-height: 1.05;
    font-weight: 200;
}
.hero_dual-caption h1 strong {
    display: inline;
    font-weight: 700;
    background-color: var(--color-dark, #007bff);
    background-image: linear-gradient(
        -45deg,
        transparent 0%,
        transparent 35%,
        rgba(255, 255, 255, 0.75) 50%,
        transparent 65%,
        transparent 100%
    );
    background-size: 300% 100%;
    background-repeat: no-repeat;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-position: 150% 0%;
}

.hero_dual-caption .hero_sub {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}
/* .hero_dual-caption .hero_sub::before {
    font-family: "Ionicons";
    content: '\f137';
} */

.hero_dual-caption .hero_sub::before {
    content: "";
    position: relative;
    width: 38px;
    height: 22px;
    border-radius: 2em;
    background-size: 300% 100%;
    background-image: linear-gradient(
        to right,
        #feea01,
        #f68617,
        #e22911,
        #623089,
        #0a4295,
        #247fcd,
        #61ad2e
    );
}
.hero_dual-caption .hero_sub::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 19px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
}

.hero_dual-caption .hero_sub.sub-about::before {
    background-image: linear-gradient(
        to right,
        #25aae1,
        #40e495,
        #30dd8a,
        #2bb673
    );
}
.hero_dual-caption .hero_sub.sub-services::before {
    background-image: linear-gradient(
        to right,
        #f5ce62,
        #e43603,
        #fa7199,
        #e85a19
    );
}
.hero_dual-caption .hero_sub.sub-blog::before {
    background-image: linear-gradient(
        to right,
        #0ba360,
        #3cba92,
        #30dd8a,
        #2bb673
    );
}
.hero_dual-caption .hero_sub.sub-join::before {
    background-image: linear-gradient(
        to right,
        #6253e1,
        #852d91,
        #a3a1ff,
        #f24645
    );
}
.hero_dual-caption .hero_sub.sub-contact::before {
    background-image: linear-gradient(
        to right,
        #ed6ea0,
        #ec8c69,
        #f7186a,
        #fbb03b
    );
}

@media only screen and (max-width: 992px) {
    .hero_dual-caption {
        gap: 25px;
        height: calc(100vh - 95px) !important;
        min-height: 450px;
        padding: 175px 25px 25px 25px;
    }
    .hero_dual-caption .hero_sub {
        font-size: 12px;
    }
    .hero_dual-caption .hero_sub::before {
        width: 30px;
        height: 16px;
    }
    .hero_dual-caption .hero_sub::after {
        top: 3px;
        left: 17px;
        width: 10px;
        height: 10px;
    }
}

/* Image : Effet de rideau vertical */
.anim-reveal {
    position: relative;
    overflow: hidden;
    clip-path: inset(100% 0% 0% 0%); /* Fermé par le bas */
}
.anim-reveal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.4) translateY(20%); /* Pré-positionné pour la parallaxe */
}
/* Texte : Apparition fluide */
.anim-text,
.anim-fade {
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
}

/* ----- services ----- */
.hero_dual.hero_services .hero_dual-caption {
    gap: 2px;
    height: calc(90vh - 150px);
}
.hero_dual.hero_services .hero_dual-caption h1 {
    font-size: clamp(2.25rem, -1.0528rem + 10.5691vw, 5.5rem);
    line-height: 1.05;
    font-weight: 700;
    display: inline-block;
    font-weight: 700;
    background-color: var(--color-dark, #007bff);
    background-image: linear-gradient(
        -45deg,
        transparent 0%,
        transparent 35%,
        rgba(255, 255, 255, 0.75) 50%,
        transparent 65%,
        transparent 100%
    );
    background-size: 300% 100%;
    background-repeat: no-repeat;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-position: 150% 0%;
}
.hero_dual.hero_services .hero_dual-caption h2 {
    font-size: clamp(1.675rem, -0.6563rem + 6.5vw, 3rem);
    line-height: 1.05;
    font-weight: 200;
}
.hero_dual.hero_services .hero_dual-caption .hero_sub {
    margin: 0 0 40px 0;
}

/* ----- home ----- */
.hero_dual.hero_home .hero_dual-caption {
    gap: 15px;
    text-align: center;
    align-items: center;
}
.hero_dual.hero_home .hero_dual-caption h1 {
    font-size: clamp(3rem, 1.4375rem + 5vw, 4.25rem);
    line-height: 1.05;
    font-weight: 700;
    opacity: 0;
}
.hero_dual.hero_home .hero_dual-caption h2 {
    font-size: clamp(2rem, 1.375rem + 2vw, 2.5rem);
    line-height: 1.1;
    font-weight: 200;
    will-change: transform, opacity;
    opacity: 0;
}

.hero_cta {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    margin: 25px 0 0 0;
    will-change: transform, opacity;
    opacity: 0;
}
.hero_cta a {
    display: flex;
    align-self: flex-start;
    flex-shrink: 0;
}

@media only screen and (max-width: 992px) {
    .hero_dual.hero_home .hero_dual-caption {
        gap: 10px;
        text-align: left;
        align-items: flex-start;
        padding: 175px 15px 30px 15px;
    }
    .hero_cta {
        margin: 0 0 0 0;
        transform: scale(0.8);
        transform-origin: left bottom;
    }
}

/* ----- blog ----- */
.hero_dual.blog .container {
    max-width: 1000px;
}
.hero_dual.blog .hero_dual-caption {
    gap: 0;
}
.hero_dual.blog.work .hero_dual-caption {
    gap: 50px;
}
.hero_dual.blog .hero_dual-caption h1 {
    font-size: clamp(1.875rem, 0.6047rem + 4.065vw, 3.125rem);
    line-height: 1.1;
    font-weight: 500;
}
.hero_date {
    transform: scale(0.9);
    transform-origin: top left;
    margin: 0 0 15px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    gap: 2px;
    font-size: 30px;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 600;
    width: 70px;
    height: 70px;
    background-color: var(--color-dark);
    color: var(--color-light);
    border-radius: var(--radius-md);
}
.hero_date div {
    font-size: 50%;
    font-weight: 500;
    letter-spacing: 1px;
}
@media only screen and (max-width: 992px) {
    .hero_date {
        transform: scale(0.84);
    }
    .hero_dual.blog.work .hero_dual-caption {
        gap: 25px;
    }
}

/* IMAGE */
.hero_dual-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100%);
    overflow: hidden;
    overflow: hidden;
    clip-path: inset(105% 0% 0% 0%);
}
.hero_dual-img::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 1) 15%,
        rgba(255, 255, 255, 0.95) 35%,
        rgba(255, 255, 255, 0) 100%
    );
}
.hero_dual-img img {
    position: relative;
    display: flex;
    width: calc(100%);
    height: 100%;
    object-fit: cover;
    object-position: top right;
    filter: brightness(110%) saturate(110%);
    transform: scale(1.1);
}

/* VIDEO */
.hero_dual > .videoHero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.hero_dual > .videoHero::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 1) 15%,
        rgba(255, 255, 255, 0.95) 35%,
        rgba(255, 255, 255, 0) 100%
    );
}
.videoHero > video {
    display: flex;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    background-size: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: var(--radius-lg);
}

/* ////////////////////////////////////////////////////////////////////////////

	04 . POPUP

//////////////////////////////////////////////////////////////////////////// */

/* animation zoom */
.mfp-zoom-in .mfp-with-anim {
    opacity: 0;
    transition: all 0.2s ease-in-out;
    transform: scale(0.9);
}
.mfp-zoom-in.mfp-bg {
    opacity: 0;
    transition: all 0.2s ease-out;
}
.mfp-zoom-in.mfp-ready .mfp-with-anim {
    opacity: 1;
    transform: scale(1);
}
.mfp-zoom-in.mfp-ready.mfp-bg {
    opacity: 0.95;
}
.mfp-zoom-in.mfp-removing .mfp-with-anim {
    transform: scale(0.9);
    opacity: 0;
}
.mfp-zoom-in.mfp-removing.mfp-bg {
    opacity: 0;
}

/* ----- popup ----- */
.popup {
    position: relative;
    background: var(--color-light);
    color: var(--color-dark);
    padding: 0;
    width: auto;
    max-width: 800px;
    margin: 10px auto;
    border-radius: var(--radius-md);
}
.popup-inner {
    padding: 25px;
}
.popup-header {
    display: flex;
    align-items: center;
}
.popup-title {
    position: relative;
    font-size: 26px;
    line-height: 1.05;
    font-weight: 700;
    color: var(--color-dark);
    padding: 0 60px 0 0;
}
.popup-close {
    position: absolute;
    z-index: 1;
    top: 18px;
    right: 20px;
    color: var(--color-dark);
    width: 40px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 72px;
    line-height: 1;
    cursor: pointer;
}
.popup-close i {
    position: relative;
}
.popup-content {
    margin: 25px 0 0 0;
    /* font-size: 15px;
    line-height: 1.55; */
}
.popup-content h2 {
    font-size: 25px;
    line-height: 1.25;
    font-weight: 600;
    margin-bottom: 10px;
}
.popup-content h3 {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 10px;
}

/* ////////////////////////////////////////////////////////////////////////////

	05 . CONTACT

//////////////////////////////////////////////////////////////////////////// */

.contact_form {
    background-color: var(--color-grey-xdark);
    border-radius: var(--radius-lg);
    padding: 25px;
}

.contact_form-title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 600;
    margin: 0 0 35px 0;
}

@media only screen and (max-width: 992px) {
    .contact_form {
        padding: 15px;
    }
    .contact_form-title {
        font-size: 22px;
        margin: 75px 0 25px 0;
    }
}

/* ----- blocks ----- */
.contact_block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact_block-item {
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-grey-xlight);
}
.contact_block-item:last-child {
    padding: 0;
    margin: 0;
    border-bottom: none;
}
.contact_block-item img {
    display: block;
    height: 90px;
    margin: 0 0 12px 0;
}
.contact_block-item small {
    display: inline-block;
    font-size: 15px;
    line-height: 1.3;
    color: var(--color-light);
    opacity: 0.65;
    margin: 0 0 40px 0;
}
.contact_block-item.client {
    margin: 15px 0 0 0;
}
.contact_block-item.client a {
    display: flex;
    align-items: center;
    gap: 9px;
    -webkit-font-smoothing: antialiased;
    font-size: 21px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
    color: var(--color-light) !important;
    margin: 0 0 15px 0 !important;
}
.contact_block-item.client a i {
    position: relative;
    top: -0.025em;
}
.contact_block-item.client div {
    margin: 15px 0 0 0;
    font-size: 14px;
    line-height: 1.4;
}

@media only screen and (max-width: 1200px) {
    .contact_block {
        max-width: 90%;
    }
}

@media only screen and (max-width: 992px) {
    .contact_block {
        max-width: 100%;
    }
    .contact_block-item.client h2 {
        font-size: 20px;
    }
}

/* ----- cta ----- */
.contact_block-item.join {
    margin: 50px 0 0 0;
}
.contact_cta {
    position: relative;
}
.contact_cta a {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.contact_cta-img {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: var(--radius-md);
}
.contact_cta-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%);
    transition:
        transform 0.35s,
        filter 0.35s;
    transform: scale(1.01);
    border-radius: var(--radius-md);
}
.no-touch .contact_block-item.join:hover .contact_cta-img img {
    transform: scale(1.04);
    filter: brightness(70%);
}
.contact_cta span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    /* font-family: var(--font-title); */
    font-size: 18px;
    line-height: 1.15;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-light);
}
.contact_cta span::after {
    position: relative;
    top: 0.025em;
    font-family: "Ionicons";
    content: "\f30f";
    margin: 0 0 0 10px;
}
