@import url('https://fonts.googleapis.com/css2?family=Bowlby+One+SC&family=Manrope:wght@400;500;600;700;800&display=swap');


/* ==========================================
   RESET
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #0d0d0d;
    color: #ffffff;
    font-family: "Manrope", sans-serif;
    overflow-x: hidden;
}


/* ==========================================
   HEADER
========================================== */

.header {
    position: fixed;
    top: 24px;
    left: 50%;

    width: calc(100% - 48px);
    height: 76px;

    transform: translateX(-50%);

    display: flex;
    align-items: center;

    padding: 0 26px;

    z-index: 1000;

    background: rgba(15, 15, 15, .68);

    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 18px;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        transform .45s cubic-bezier(.16, 1, .3, 1),
        opacity .35s ease;
}

.header-hidden {
    transform:
        translateX(-50%)
        translateY(-130px);

    opacity: 0;
}


/* ==========================================
   BOUTON MOBILE
========================================== */

.mobile-menu-button {
    display: none;
}


/* ==========================================
   NAVIGATION
========================================== */

.nav {
    display: flex;
    align-items: center;
    gap: 36px;
    height: 100%;
}

.nav a {
    position: relative;

    display: flex;
    align-items: center;

    height: 100%;

    color: rgba(255, 255, 255, .68);

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;

    transition: color .25s ease;
}

.nav a:hover,
.nav a.active {
    color: #ffffff;
}

.nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 19px;

    width: 0;
    height: 2px;

    background: #8CB5ED;

    transition:
        width .3s cubic-bezier(.16, 1, .3, 1);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}


/* ==========================================
   DROITE HEADER
========================================== */

.header-right {
    margin-left: auto;

    height: 100%;

    display: flex;
    align-items: center;
}


/* ==========================================
   RÉSEAUX HEADER
========================================== */

.header-socials {
    display: flex;
    align-items: center;

    gap: 11px;
    margin-right: 32px;
}

.social-link {
    width: 36px;
    height: 36px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, .08);

    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;

    color: #ffffff;

    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.social-link svg {
    width: 17px;
    height: 17px;

    display: block;
    fill: #ffffff;
}

.social-link path {
    fill: #ffffff;
}

.social-link:hover {
    background: #8CB5ED;
    border-color: #8CB5ED;

    transform:
        translateY(-2px)
        scale(1.05);
}


/* ==========================================
   LOGO HEADER
========================================== */

.header-logo-link {
    display: flex;
    align-items: center;

    flex-shrink: 0;

    text-decoration: none;
}

.header-logo {
    display: block;

    width: 54px;
    height: auto;

    filter: invert(1);

    transition:
        transform .3s cubic-bezier(.16, 1, .3, 1);
}

.header-logo-link:hover .header-logo {
    transform: scale(1.06);
}


/* ==========================================
   PAGE CONTACT
========================================== */

.contact-page {
    width: 100%;
    min-height: 100vh;

    padding:
        175px
        5vw
        120px;
}


/* ==========================================
   LABEL CONTACT
========================================== */

.contact-label {
    margin-bottom: 65px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 4px;

    color: rgba(255, 255, 255, .60);
}

.contact-label-line {
    width: 45px;
    height: 2px;

    margin-top: 13px;

    background: #8CB5ED;
}


/* ==========================================
   GRILLE PRINCIPALE
========================================== */

.contact-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, .9fr)
        minmax(500px, 1.1fr);

    gap: clamp(70px, 9vw, 170px);

    align-items: start;
}

.contact-intro,
.contact-form-wrapper {
    min-width: 0;
}


/* ==========================================
   TITRE
========================================== */

.contact-intro h1 {
    max-width: 100%;

    font-family: "Bowlby One SC", sans-serif;

    font-size:
        clamp(
            48px,
            4.8vw,
            88px
        );

    font-weight: 400;

    line-height: .90;

    letter-spacing: -1px;
}

.contact-intro h1 span {
    display: block;
}

.contact-intro h1 .blue {
    color: #8CB5ED;
}


/* ==========================================
   INTRODUCTION
========================================== */

.contact-description {
    max-width: 520px;

    margin-top: 45px;

    font-size: 17px;

    line-height: 1.8;

    color: rgba(255, 255, 255, .60);
}


/* ==========================================
   COORDONNÉES
========================================== */

.contact-details {
    margin-top: 75px;

    border-top:
        1px solid
        rgba(255, 255, 255, .13);
}

.contact-detail {
    min-width: 0;

    padding: 27px 0;

    border-bottom:
        1px solid
        rgba(255, 255, 255, .13);
}

.detail-label {
    display: block;

    margin-bottom: 14px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 4px;

    color: #8CB5ED;
}

.contact-detail > a {
    display: inline-block;

    max-width: 100%;

    color: #ffffff;

    text-decoration: none;

    font-size:
        clamp(
            16px,
            1.3vw,
            21px
        );

    font-weight: 600;

    overflow-wrap: anywhere;

    transition:
        color .25s ease,
        transform .25s ease;
}

.contact-detail > a:hover {
    color: #8CB5ED;

    transform: translateX(4px);
}


/* ==========================================
   RÉSEAUX CONTACT
========================================== */

.contact-social-links {
    display: flex;
    flex-wrap: wrap;

    gap: 22px;
}

.contact-social-links a {
    color: #ffffff;

    text-decoration: none;

    font-size:
        clamp(
            14px,
            1.3vw,
            17px
        );

    font-weight: 600;

    transition:
        color .25s ease,
        transform .25s ease;
}

.contact-social-links a:hover {
    color: #8CB5ED;

    transform: translateY(-2px);
}


/* ==========================================
   FORMULAIRE
========================================== */

.contact-form-wrapper {
    width: 100%;

    padding:
        50px
        50px
        55px;

    background: #111111;

    border:
        1px solid
        rgba(255, 255, 255, .11);

    border-radius: 14px;
}

.contact-form {
    width: 100%;
    min-width: 0;
}

.form-row {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 22px;
}

.form-group {
    width: 100%;
    min-width: 0;

    margin-bottom: 27px;
}

.form-group label {
    display: block;

    margin-bottom: 11px;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 2.5px;

    color: rgba(255, 255, 255, .65);
}


/* ==========================================
   CHAMPS
========================================== */

.form-group input,
.form-group select,
.form-group textarea {
    display: block;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    padding:
        17px
        18px;

    border:
        1px solid
        rgba(255, 255, 255, .14);

    border-radius: 7px;

    outline: none;

    background: #0c0c0c;

    color: #ffffff;

    font-family: "Manrope", sans-serif;

    font-size: 14px;

    -webkit-appearance: none;
    appearance: none;

    transition:
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.form-group input,
.form-group select {
    height: 56px;
}

.form-group textarea {
    min-height: 175px;

    resize: vertical;

    line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, .28);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #8CB5ED;

    background: #101010;

    box-shadow:
        0 0 0 3px
        rgba(140, 181, 237, .08);
}


/* ==========================================
   DATE
========================================== */

input[type="date"] {
    width: 100%;
    min-width: 0;
    max-width: 100%;

    color-scheme: dark;

    text-align: left;
}

input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
}


/* ==========================================
   SELECT
========================================== */

.form-group select {
    cursor: pointer;

    padding-right: 42px;

    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            rgba(255, 255, 255, .65) 50%
        ),
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .65) 50%,
            transparent 50%
        );

    background-position:
        calc(100% - 19px) 24px,
        calc(100% - 14px) 24px;

    background-size:
        5px 5px,
        5px 5px;

    background-repeat: no-repeat;
}


/* ==========================================
   BOUTON ENVOI
========================================== */

.submit-button {
    width: 100%;
    height: 66px;

    margin-top: 7px;

    padding: 0 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    border: none;
    border-radius: 7px;

    background: #8CB5ED;

    color: #101010;

    font-family: "Manrope", sans-serif;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2.5px;

    cursor: pointer;

    transition:
        background .3s ease,
        transform .3s cubic-bezier(.16, 1, .3, 1);
}

.submit-arrow {
    flex-shrink: 0;

    font-size: 25px;

    transition:
        transform .3s cubic-bezier(.16, 1, .3, 1);
}

.submit-button:hover {
    background: #9CC2F3;

    transform: translateY(-2px);
}

.submit-button:hover .submit-arrow {
    transform: translateX(7px);
}


/* ==========================================
   MESSAGE FORMULAIRE
========================================== */

.form-status {
    min-height: 20px;

    margin-top: 18px;

    font-size: 12px;

    line-height: 1.6;

    color: #8CB5ED;
}


/* ==========================================
   FOOTER
========================================== */

.footer {
    position: relative;

    padding:
        55px
        5vw
        25px;

    background: #090909;

    border-top:
        1px solid
        rgba(255, 255, 255, .10);
}

.footer-main {
    width: 100%;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 80px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: block;

    width: 100px;
    height: auto;

    filter: invert(1);
}

.footer-brand p {
    margin-top: 22px;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 3px;

    color: rgba(255, 255, 255, .42);
}

.footer-links {
    display: flex;

    gap:
        clamp(
            55px,
            7vw,
            120px
        );
}

.footer-column {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 12px;
}

.footer-label {
    margin-bottom: 10px;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 3px;

    color: #8CB5ED;
}

.footer-column a {
    width: fit-content;
    max-width: 100%;

    color: rgba(255, 255, 255, .72);

    text-decoration: none;

    font-size: 13px;
    font-weight: 500;

    overflow-wrap: anywhere;

    transition:
        color .25s ease,
        transform .25s ease;
}

.footer-column a:hover {
    color: #ffffff;

    transform: translateX(4px);
}

.footer-bottom {
    width: 100%;

    margin-top: 45px;

    padding-top: 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top:
        1px solid
        rgba(255, 255, 255, .09);

    font-size: 8px;
    font-weight: 600;

    letter-spacing: 2px;

    color: rgba(255, 255, 255, .28);
}


/* ==========================================
   ANIMATIONS CONTACT
========================================== */

.contact-label {
    opacity: 0;

    transform: translateY(12px);

    transition:
        opacity .3s ease,
        transform .4s cubic-bezier(.16, 1, .3, 1);
}

.contact-label.contact-visible {
    opacity: 1;

    transform: translateY(0);
}


.contact-label-line {
    transform: scaleX(0);

    transform-origin: left center;

    transition:
        transform .4s cubic-bezier(.16, 1, .3, 1) .05s;
}

.contact-label.contact-visible .contact-label-line {
    transform: scaleX(1);
}


.contact-intro h1 span {
    opacity: 0;

    transform: translateX(-35px);

    transition:
        opacity .4s ease,
        transform .5s cubic-bezier(.16, 1, .3, 1);
}

.contact-intro h1 span:nth-child(1) {
    transition-delay: .02s;
}

.contact-intro h1 span:nth-child(2) {
    transition-delay: .07s;
}

.contact-intro h1 span:nth-child(3) {
    transition-delay: .12s;
}

.contact-intro.contact-visible h1 span {
    opacity: 1;

    transform: translateX(0);
}


.contact-description {
    opacity: 0;

    transform: translateY(12px);

    transition:
        opacity .35s ease .15s,
        transform .45s cubic-bezier(.16, 1, .3, 1) .15s;
}

.contact-intro.contact-visible .contact-description {
    opacity: 1;

    transform: translateY(0);
}


.contact-details {
    opacity: 0;

    transform: translateY(15px);

    transition:
        opacity .4s ease .20s,
        transform .5s cubic-bezier(.16, 1, .3, 1) .20s;
}

.contact-intro.contact-visible .contact-details {
    opacity: 1;

    transform: translateY(0);
}


.contact-detail {
    opacity: 0;

    transform: translateY(8px);

    transition:
        opacity .3s ease,
        transform .4s cubic-bezier(.16, 1, .3, 1);
}

.contact-detail:nth-child(1) {
    transition-delay: .24s;
}

.contact-detail:nth-child(2) {
    transition-delay: .29s;
}

.contact-detail:nth-child(3) {
    transition-delay: .34s;
}

.contact-intro.contact-visible .contact-detail {
    opacity: 1;

    transform: translateY(0);
}


.contact-form-wrapper {
    opacity: 0;

    transform:
        translateY(25px)
        scale(.99);

    transition:
        opacity .45s ease .05s,
        transform .55s cubic-bezier(.16, 1, .3, 1) .05s;
}

.contact-form-wrapper.contact-visible {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}


.contact-form .form-group,
.contact-form .submit-button {
    opacity: 0;

    transform: translateY(8px);

    transition:
        opacity .3s ease,
        transform .4s cubic-bezier(.16, 1, .3, 1);
}


.contact-form-wrapper.contact-visible
.contact-form > .form-group:nth-child(1) {
    opacity: 1;

    transform: translateY(0);

    transition-delay: .10s;
}


.contact-form-wrapper.contact-visible
.contact-form > .form-row:nth-child(2)
.form-group {
    opacity: 1;

    transform: translateY(0);

    transition-delay: .15s;
}


.contact-form-wrapper.contact-visible
.contact-form > .form-group:nth-child(3) {
    opacity: 1;

    transform: translateY(0);

    transition-delay: .20s;
}


.contact-form-wrapper.contact-visible
.contact-form > .form-row:nth-child(4)
.form-group {
    opacity: 1;

    transform: translateY(0);

    transition-delay: .25s;
}


.contact-form-wrapper.contact-visible
.contact-form > .form-group:nth-child(5) {
    opacity: 1;

    transform: translateY(0);

    transition-delay: .30s;
}


.contact-form-wrapper.contact-visible
.submit-button {
    opacity: 1;

    transform: translateY(0);

    transition-delay: .35s;
}


/* ==========================================
   TABLETTE
========================================== */

@media (max-width: 1050px) {

    .contact-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        gap: 55px;
    }

    .contact-form-wrapper {
        padding: 40px 35px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

    /* HEADER */

    .header {
        top: 10px;
        left: 10px;

        width: calc(100% - 20px);
        height: 62px;

        transform: none;

        padding: 0 16px;

        border-radius: 14px;
    }

    .header-hidden {
        transform: translateY(-100px);

        opacity: 0;
    }


    /* HAMBURGER */

    .mobile-menu-button {
        position: relative;

        width: 42px;
        height: 42px;

        flex-shrink: 0;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 5px;

        padding: 0;

        border: 0;

        background: transparent;

        cursor: pointer;

        z-index: 1002;
    }

    .mobile-menu-button span {
        display: block;

        width: 23px;
        height: 2px;

        border-radius: 999px;

        background: #ffffff;

        transition:
            transform .3s cubic-bezier(.16, 1, .3, 1),
            opacity .2s ease;
    }

    .header.menu-open
    .mobile-menu-button span:nth-child(1) {
        transform:
            translateY(7px)
            rotate(45deg);
    }

    .header.menu-open
    .mobile-menu-button span:nth-child(2) {
        opacity: 0;
    }

    .header.menu-open
    .mobile-menu-button span:nth-child(3) {
        transform:
            translateY(-7px)
            rotate(-45deg);
    }


    /* MENU DÉROULANT */

    .nav {
        position: fixed;

        top: 72px;
        left: 0;

        width: 100%;
        height: auto;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 12px;

        background: rgba(12, 12, 12, .97);

        border:
            1px solid
            rgba(255, 255, 255, .11);

        border-radius: 14px;

        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);

        box-shadow:
            0 18px 50px
            rgba(0, 0, 0, .45);

        opacity: 0;
        visibility: hidden;

        pointer-events: none;

        transform: translateY(-10px);

        transition:
            opacity .25s ease,
            visibility .25s ease,
            transform .3s cubic-bezier(.16, 1, .3, 1);
    }

    .header.menu-open .nav {
        opacity: 1;
        visibility: visible;

        pointer-events: auto;

        transform: translateY(0);
    }

    .nav a {
        width: 100%;
        height: auto;

        display: block;

        padding: 16px 14px;

        border-radius: 8px;

        font-family:
            "Bowlby One SC",
            sans-serif;

        font-size: 20px;
        font-weight: 400;

        line-height: 1;

        letter-spacing: 0;

        color:
            rgba(255, 255, 255, .70);
    }

    .nav a.active {
        color: #8CB5ED;
    }

    .nav a:hover {
        color: #ffffff;

        background:
            rgba(255, 255, 255, .05);
    }

    .nav a::after {
        display: none;
    }


    /* HEADER DROITE */

    .header-right {
        margin-left: auto;
    }

    .header-socials {
        display: none;
    }

    .header-logo {
        width: 42px;
    }


    /* PAGE */

    .contact-page {
        padding:
            125px
            20px
            75px;
    }

    .contact-label {
        margin-bottom: 44px;
    }

    .contact-grid {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 65px;
    }

    .contact-intro {
        width: 100%;
        min-width: 0;
    }


    /* TITRE MOBILE */

    .contact-intro h1 {
        width: 100%;
        max-width: 100%;

        font-size:
            clamp(
                40px,
                11.7vw,
                62px
            );

        line-height: .91;

        letter-spacing: -1px;
    }

    .contact-intro h1 span {
        max-width: 100%;
    }


    /* DESCRIPTION */

    .contact-description {
        max-width: 100%;

        margin-top: 30px;

        font-size: 14px;

        line-height: 1.7;
    }


    /* COORDONNÉES */

    .contact-details {
        width: 100%;

        margin-top: 50px;
    }

    .contact-detail {
        width: 100%;

        padding: 25px 0;
    }

    .detail-label {
        font-size: 11px;

        letter-spacing: 3px;
    }

    .contact-detail > a {
        max-width: 100%;

        font-size: 16px;

        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .contact-social-links {
        gap:
            14px
            20px;
    }

    .contact-social-links a {
        font-size: 14px;
    }


    /* FORMULAIRE */

    .contact-form-wrapper {
        width: 100%;
        min-width: 0;

        padding:
            28px
            18px
            32px;

        border-radius: 12px;
    }

    .contact-form {
        width: 100%;
        min-width: 0;
    }

    .form-row {
        width: 100%;

        grid-template-columns:
            minmax(0, 1fr);

        gap: 0;
    }

    .form-group {
        width: 100%;
        min-width: 0;

        margin-bottom: 23px;
    }

    .form-group label {
        font-size: 8px;

        letter-spacing: 2px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        min-width: 0;
        max-width: 100%;

        font-size: 16px;
    }

    .form-group input,
    .form-group select {
        height: 54px;
    }

    .form-group textarea {
        min-height: 155px;
    }


    /* DATE IPHONE */

    .form-group input[type="date"] {
        display: block;

        width: 100%;
        min-width: 0;
        max-width: 100%;

        height: 54px;

        padding:
            0
            14px;

        line-height: 54px;

        font-size: 16px;

        -webkit-appearance: none;
        appearance: none;
    }

    input[type="date"]::-webkit-date-and-time-value {
        min-height: 1.2em;

        text-align: left;
    }


    /* BOUTON */

    .submit-button {
        height: 60px;

        padding:
            0
            18px;

        font-size: 10px;

        letter-spacing: 1.4px;
    }


    /* FOOTER */

    .footer {
        padding:
            45px
            20px
            22px;
    }

    .footer-main {
        flex-direction: column;

        gap: 55px;
    }

    .footer-logo {
        width: 85px;
    }

    .footer-links {
        width: 100%;

        display: grid;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        gap:
            45px
            25px;
    }

    .footer-column:last-child {
        grid-column:
            1 / -1;
    }

    .footer-column a {
        overflow-wrap: anywhere;
    }

    .footer-bottom {
        margin-top: 40px;

        gap: 20px;

        font-size: 7px;
    }

}


/* ==========================================
   TRÈS PETITS MOBILES
========================================== */

@media (max-width: 380px) {

    .contact-page {
        padding-left: 16px;
        padding-right: 16px;
    }

    .contact-intro h1 {
        font-size:
            clamp(
                36px,
                11.2vw,
                43px
            );

        letter-spacing: -1px;
    }

    .contact-form-wrapper {
        padding:
            25px
            14px
            28px;
    }

    .contact-email {
        font-size: 14px !important;
    }

    .contact-social-links {
        gap: 12px 16px;
    }

    .contact-social-links a {
        font-size: 13px;
    }

}


/* ==========================================
   ACCESSIBILITÉ
========================================== */

@media (prefers-reduced-motion: reduce) {

    .contact-label,
    .contact-label-line,
    .contact-intro h1 span,
    .contact-description,
    .contact-details,
    .contact-detail,
    .contact-form-wrapper,
    .contact-form .form-group,
    .contact-form .submit-button {

        opacity: 1;

        transform: none;

        transition: none;
    }

}