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

.contact-page {
    position: relative;

    min-height: 100vh;

    padding:
        150px 5%
        0;

    overflow: hidden;

    background-color: #000;

    isolation: isolate;
}


/* =========================================================
   DÉCORATIONS
========================================================= */

.contact-page__circle {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    z-index: 0;
}


.contact-page__circle--one {
    width: 600px;
    height: 600px;

    top: 3%;
    right: -300px;

    border:
        1px solid
        rgba(255, 0, 0, 0.14);
}


.contact-page__circle--two {
    width: 850px;
    height: 850px;

    top: -8%;
    right: -430px;

    border:
        1px solid
        rgba(255, 255, 255, 0.04);
}


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

.contact-page__hero {
    position: relative;

    z-index: 3;

    width: min(950px, 90%);

    margin:
        0 auto
        80px;

    text-align: center;
}


.contact-page__eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin:
        0 0 24px;

    color:
        rgb(var(--couleur-rouge));

    font-family:
        var(--poppins);

    font-size: 10px;

    font-weight: 500;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}


.contact-page__eyebrow::before,
.contact-page__eyebrow::after {
    content: "";

    display: block;

    width: 28px;
    height: 1px;

    background:
        rgba(255, 0, 0, 0.6);
}


.contact-page__hero h1 {
    margin: 0;

    color: #fff;

    font-family:
        var(--merriweather);

    font-size:
        clamp(54px, 7vw, 96px);

    font-weight: 500;

    line-height: 1.03;

    letter-spacing: -0.045em;
}


/* Titre entièrement blanc */

.contact-page__hero h1 span {
    color: #fff;
}


.contact-page__intro {
    width: min(690px, 100%);

    margin:
        34px auto 0;

    color:
        rgba(217, 217, 217, 0.62);

    font-family:
        var(--poppins);

    font-size: 15px;

    line-height: 1.8;
}


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

.contact-page__form-section {
    position: relative;

    z-index: 3;

    width: min(780px, 90%);

    margin: 0 auto;
}


.contact-form {
    position: relative;

    display: flex;

    flex-direction: column;

    gap: 30px;

    padding:
        52px 52px 46px;

    border:
        1px solid
        rgba(255, 255, 255, 0.14);

    border-radius:
        32px 32px 72px 32px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018)
        );

    box-shadow:
        0 35px 100px
        rgba(0, 0, 0, 0.5);

    backdrop-filter:
        blur(16px);

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

    overflow: hidden;
}


/* =========================================================
   DÉCORATION DU FORMULAIRE
========================================================= */

.contact-form::before {

    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 150px;
    height: 150px;

    background:
        rgba(255, 0, 0, 0.08);

    clip-path:
        polygon(
            100% 0,
            100% 100%,
            0 0
        );

    pointer-events: none;
}


.contact-form::after {

    content: "";

    position: absolute;

    top: 24px;
    left: 50px;

    width: 70px;
    height: 3px;

    border-radius: 10px;

    background:
        rgb(var(--couleur-rouge));

    pointer-events: none;
}


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

.contact-form__field {
    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    gap: 10px;
}


.contact-form__field label {

    color:
        rgba(255, 255, 255, 0.72);

    font-family:
        var(--poppins);

    font-size: 10px;

    font-weight: 500;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}


/* =========================================================
   INPUTS / SELECT / TEXTAREA
========================================================= */

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {

    width: 100%;

    border: none;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.18);

    border-radius: 0;

    font-family:
        var(--poppins);

    font-size: 15px;

    outline: none;

    transition:
        border-color 0.3s ease,
        padding-left 0.3s ease,
        transform 0.3s ease;
}


/* =========================================================
   INPUTS
========================================================= */

.contact-form__field input {

    height: 52px;

    padding:
        0 5px;

    color: #fff;

    background:
        transparent;
}


.contact-form__field input::placeholder {

    color:
        rgba(217, 217, 217, 0.28);
}


/* =========================================================
   SELECT — TYPE DE PROJET
========================================================= */

.contact-form__field select {

    height: 52px;

    padding:
        0 5px;

    color: #fff;

    background-color: #000;

    color-scheme: dark;

    appearance: auto;

    cursor: none;
}


.contact-form__field select option {

    color: #fff;

    background-color: #000;
}


.contact-form__field select option:checked {

    color: #fff;

    background-color: #000;
}


.contact-form__field select:invalid {

    color:
        rgba(217, 217, 217, 0.28);
}


/* =========================================================
   TEXTAREA
========================================================= */

.contact-form__field textarea {

    min-height: 170px;

    padding:
        14px 5px;

    color: #fff;

    background:
        transparent;

    resize: vertical;
}


.contact-form__field textarea::placeholder {

    color:
        rgba(217, 217, 217, 0.28);
}


/* =========================================================
   FOCUS
========================================================= */

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {

    border-color:
        rgb(var(--couleur-rouge));

    padding-left: 12px;

    transform:
        translateX(3px);
}


/* =========================================================
   PETIT INDICATEUR
========================================================= */

.contact-form__field::before {

    content: "";

    position: absolute;

    left: -18px;
    top: 31px;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background:
        rgba(255, 0, 0, 0.6);

    opacity: 0;

    transform:
        scale(0);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}


.contact-form__field:focus-within::before {

    opacity: 1;

    transform:
        scale(1);
}


/* =========================================================
   BOUTON ENVOYER
========================================================= */

.contact-form__submit {

    position: relative;

    z-index: 2;

    min-width: 210px;
    height: 52px;

    align-self: center;

    margin-top: 8px;

    padding:
        0 26px;

    display: flex;

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

    gap: 16px;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.42);

    border-radius: 30px;

    background:
        rgba(255, 255, 255, 0.07);

    color: #fff;

    font-family:
        var(--poppins);

    font-size: 10px;

    font-weight: 500;

    letter-spacing: 0.08em;

    cursor: none;

    transition:
        transform 0.35s cubic-bezier(.22, 1, .36, 1),
        background-color 0.35s ease,
        border-color 0.35s ease;
}


.contact-form__submit::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        rgb(var(--couleur-rouge));

    transform:
        translateX(-101%);

    transition:
        transform 0.4s cubic-bezier(.22, 1, .36, 1);

    z-index: 0;
}


.contact-form__submit span,
.contact-form__submit img {

    position: relative;

    z-index: 2;
}


.contact-form__submit img {

    width: 8px;

    height: auto;

    transition:
        transform 0.3s ease;
}


.contact-form__submit:hover {

    transform:
        translateY(-3px);

    background:
        rgba(255, 255, 255, 0.12);

    border-color:
        rgba(255, 255, 255, 0.75);
}


.contact-form__submit:hover::before {

    transform:
        translateX(0);
}


.contact-form__submit:hover img {

    transform:
        translateX(5px);
}


.contact-form__submit:disabled {

    opacity: 0.7;

    pointer-events: none;
}


/* =========================================================
   CONTACT DIRECT
========================================================= */

.contact-page__direct {

    position: relative;

    z-index: 3;

    margin-top: 90px;

    text-align: center;
}


.contact-page__direct > p {

    margin:
        0 0 14px;

    color:
        rgba(217, 217, 217, 0.42);

    font-family:
        var(--poppins);

    font-size: 10px;

    font-weight: 500;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}


.contact-page__email {

    position: relative;

    display: inline-block;

    color: #fff;

    font-family:
        var(--merriweather);

    font-size:
        clamp(20px, 2.4vw, 30px);

    text-decoration: none;

    transition:
        color 0.3s ease;
}


.contact-page__email::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 100%;
    height: 1px;

    background:
        rgb(var(--couleur-rouge));

    transform:
        scaleX(0);

    transform-origin: right;

    transition:
        transform 0.4s cubic-bezier(.22, 1, .36, 1);
}


.contact-page__email:hover {

    color:
        rgb(var(--couleur-rouge));
}


.contact-page__email:hover::after {

    transform:
        scaleX(1);

    transform-origin: left;
}


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

.contact-page__socials {

    margin-top: 32px;

    display: flex;

    justify-content: center;

    gap: 12px;
}


.contact-page__socials a {

    width: 44px;
    height: 44px;

    display: flex;

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

    border:
        1px solid
        rgba(255, 255, 255, 0.16);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.025);

    transition:
        transform 0.35s cubic-bezier(.22, 1, .36, 1),
        border-color 0.3s ease,
        background-color 0.3s ease;
}


.contact-page__socials a:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(255, 0, 0, 0.65);

    background:
        rgba(255, 0, 0, 0.08);
}


.contact-page__socials img {

    width: 17px;
    height: 17px;

    object-fit: contain;

    filter:
        brightness(0)
        invert(1);
}


.contact-page__socials a:hover img {

    filter:
        brightness(0)
        invert(1);
}


/* =========================================================
   RETOUR AU PORTFOLIO
========================================================= */

.contact-page__back {

    position: relative;

    z-index: 3;

    margin-top: 90px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;
}


.contact-page__back img {

    width: 9px;

    height: auto;

    transition:
        transform 0.3s ease;
}


.contact-page__back a {

    color:
        rgba(255, 255, 255, 0.52);

    font-family:
        var(--poppins);

    font-size: 11px;

    font-weight: 500;

    letter-spacing: 0.1em;

    text-decoration: none;

    transition:
        color 0.3s ease;
}


.contact-page__back:hover img {

    transform:
        translateX(-5px);
}


.contact-page__back a:hover {

    color: #fff;
}


/* =========================================================
   IMAGE FINALE
========================================================= */

.final-image {

    position: relative;

    width: 100vw;

    max-width: none;

    margin-top: 120px;

    margin-left:
        calc(50% - 50vw);

    margin-right:
        calc(50% - 50vw);

    padding: 0;

    overflow: hidden;

    background-color: #000;

    isolation: isolate;
}


.final-image .interactive-layer {

    position: absolute;

    inset: 0;

    width: 100%;

    z-index: 1;
}


.final-image img {

    position: relative;

    z-index: 3;

    width: 100vw;

    max-width: none;

    height: auto;

    display: block;
}


/* =========================================================
   RESPONSIVE — 700
========================================================= */

@media (max-width: 700px) {

    .contact-page {

        padding:
            120px 5%
            0;
    }


    .contact-page__hero {

        width: 94%;

        margin-bottom: 55px;
    }


    .contact-page__hero h1 {

        font-size:
            clamp(43px, 12vw, 65px);
    }


    .contact-page__intro {

        font-size: 14px;
    }


    .contact-form {

        padding:
            45px 28px 32px;

        border-radius:
            26px 26px 55px 26px;
    }


    .contact-form::before {

        width: 110px;
        height: 110px;
    }


    .contact-form::after {

        left: 28px;
        top: 20px;
    }


    .contact-form__field::before {

        display: none;
    }


    .contact-page__circle--one {

        width: 400px;
        height: 400px;

        right: -250px;
    }


    .contact-page__circle--two {

        width: 600px;
        height: 600px;

        right: -370px;
    }


    .contact-page__back {

        margin-top: 70px;
    }


    .final-image {

        margin-top: 80px;

        width: 100vw;

        margin-left:
            calc(50% - 50vw);

        margin-right:
            calc(50% - 50vw);
    }


    .final-image img {

        width: 100vw;
    }

}


/* =========================================================
   RESPONSIVE — 500
========================================================= */

@media (max-width: 500px) {

    .contact-page__eyebrow {

        font-size: 9px;
    }


    .contact-page__eyebrow::before,
    .contact-page__eyebrow::after {

        width: 18px;
    }


    .contact-form {

        gap: 24px;

        padding:
            42px 20px 26px;

        border-radius:
            22px 22px 42px 22px;
    }


    .contact-form__submit {

        width: 100%;

        min-width: 0;
    }


    .contact-page__back {

        gap: 10px;
    }


    .contact-page__back a {

        font-size: 9px;
    }


    .contact-page__email {

        font-size: 17px;

        word-break: break-word;
    }

}
/* =========================================================
   COHÉRENCE DA — CONTACT V2
========================================================= */
.contact-page {
    padding-top: clamp(145px, 12vw, 178px);
    background: var(--surface-dark);
}

.contact-page__hero {
    width: min(calc(100% - (var(--content-gutter) * 2)), 980px);
    margin-bottom: clamp(64px, 7vw, 92px);
}

.contact-page__eyebrow {
    letter-spacing: .16em;
}

.contact-page__hero h1 {
    font-size: clamp(62px, 8vw, 112px);
    line-height: .94;
    letter-spacing: -.05em;
}

.contact-page__intro {
    max-width: 650px;
    font-size: var(--body-regular);
}

.contact-page__form-section {
    width: min(calc(100% - (var(--content-gutter) * 2)), 900px);
}

.contact-form {
    gap: 34px;
    padding: clamp(36px, 4vw, 56px);
    border-radius: 0;
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .025);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.contact-form::before {
    display: none;
}

.contact-form::after {
    top: 0;
    left: 0;
    width: 90px;
    height: 2px;
    border-radius: 0;
}

.contact-form__field::before {
    border-radius: 0;
}

.contact-form__submit {
    border-radius: 0;
    min-width: 230px;
}

.contact-page__socials a {
    border-radius: 0;
}

.contact-page__direct {
    margin-top: clamp(78px, 8vw, 110px);
}

@media (max-width: 650px) {
    .contact-page__hero h1 {
        font-size: clamp(48px, 14vw, 70px);
        line-height: 1;
    }

    .contact-form {
        padding: 30px 22px;
    }
}

/* =========================================================
   FINITION DA — CONTACT V3
========================================================= */
.contact-page__circle {
    border-radius: 0;
    transform: rotate(45deg);
}

.contact-page__hero {
    text-align: left;
    width: min(calc(100% - (var(--content-gutter) * 2)), var(--content-width));
}

.contact-page__eyebrow {
    justify-content: flex-start;
}

.contact-page__eyebrow::before {
    width: 48px;
}

.contact-page__eyebrow::after {
    display: none;
}

.contact-page__hero h1 {
    max-width: 980px;
}

.contact-page__intro {
    width: min(650px, 100%);
    margin-left: 0;
    margin-right: 0;
}

.contact-page__form-section {
    width: min(calc(100% - (var(--content-gutter) * 2)), var(--content-width));
}

.contact-form {
    max-width: 900px;
    margin-left: auto;
    margin-right: 0;
}

.contact-page__direct {
    width: min(calc(100% - (var(--content-gutter) * 2)), var(--content-width));
    margin-left: auto;
    margin-right: auto;
    padding-top: 38px;
    border-top: 1px solid rgba(255,255,255,.12);
}

@media (max-width: 800px) {
    .contact-form {
        margin-inline: auto;
    }
}


/* =========================================================
   FINITION V4 — COMPOSITION CENTRALE CONTACT
========================================================= */
.contact-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-inline: var(--content-gutter);
}

.contact-page__circle {
    display: none;
}

.contact-page__hero,
.contact-page__form-section,
.contact-page__direct {
    width: min(100%, 860px);
    margin-inline: auto;
}

.contact-page__hero {
    margin-bottom: clamp(52px, 6vw, 76px);
    text-align: center;
}

.contact-page__hero h1 {
    max-width: 850px;
    margin-inline: auto;
}

.contact-page__intro {
    max-width: 620px;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 34px;
    row-gap: 34px;
    padding: clamp(38px, 4vw, 54px);
    background: rgba(255,255,255,.018);
    border-top: 1px solid rgba(255,255,255,.18);
    border-bottom: 1px solid rgba(255,255,255,.18);
    border-left: 0;
    border-right: 0;
}

.contact-form__field:nth-child(3),
.contact-form__field:nth-child(4),
.contact-form__submit {
    grid-column: 1 / -1;
}

.contact-form__submit {
    justify-self: center;
    min-width: 270px;
    margin-top: 6px;
}

.contact-page__direct {
    margin-top: clamp(62px, 7vw, 90px);
    padding: 38px 0 0;
    border-top: 1px solid rgba(255,255,255,.14);
    text-align: center;
}

.contact-page__email {
    display: inline-block;
    margin-top: 10px;
}

.contact-page__socials {
    justify-content: center;
}

@media (max-width: 700px) {
    .contact-form {
        grid-template-columns: 1fr;
        padding-inline: 0;
    }

    .contact-form__field,
    .contact-form__field:nth-child(3),
    .contact-form__field:nth-child(4),
    .contact-form__submit {
        grid-column: 1;
    }

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

/* =========================================================
   FINITION V5 — CONTACT CENTRAL / ÉDITORIAL
========================================================= */
.contact-page { padding-top: clamp(138px, 12vw, 178px); }
.contact-page__hero { width: min(100%, 980px); margin-bottom: clamp(58px, 6vw, 82px); }
.contact-page__eyebrow { justify-content: center; }
.contact-page__eyebrow::before,
.contact-page__eyebrow::after { display: block; width: 34px; }
.contact-page__hero h1 { max-width: 930px; font-size: clamp(66px, 7.6vw, 108px); }
.contact-page__intro { max-width: 650px; margin-inline: auto; }
.contact-page__form-section { width: min(100%, 940px); }
.contact-form {
    width: 100%;
    padding: clamp(42px, 5vw, 64px);
    column-gap: 46px;
    row-gap: 38px;
    background: #050505;
    border: 1px solid rgba(255,255,255,.13);
}
.contact-form::after { width: 110px; }
.contact-form__submit { min-width: 290px; height: 56px; }
.contact-page__direct { width: min(100%, 940px); margin-top: clamp(72px, 7vw, 100px); padding-top: 34px; }
.contact-page__email { font-family: var(--merriweather); letter-spacing: -.02em; }

@media (max-width: 700px) {
    .contact-page { padding-top: 118px; }
    .contact-page__eyebrow::before,
    .contact-page__eyebrow::after { width: 20px; }
    .contact-form { border-left: 0; border-right: 0; padding-inline: 0; }
}

/* =========================================================
   FINITION V6 — CONTACT : CENTRAGE + CADRE LISIBLE
========================================================= */
.contact-page__hero,
.contact-page__form-section,
.contact-page__direct {
    align-self: center;
    margin-left: auto !important;
    margin-right: auto !important;
}

.contact-page__form-section {
    display: flex;
    justify-content: center;
}

.contact-form {
    position: relative;
    width: min(100%, 940px);
    margin-inline: auto;
    border: 1px solid rgba(255,255,255,.30) !important;
    background: rgba(255,255,255,.022);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}

.contact-form::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 92px;
    height: 2px;
    background: rgb(var(--couleur-rouge));
}

@media (max-width: 700px) {
    .contact-form {
        padding: 32px 22px;
        border-left: 1px solid rgba(255,255,255,.30) !important;
        border-right: 1px solid rgba(255,255,255,.30) !important;
    }
}

/* =========================================================
   V12 — MOBILE : CONTENU IMMÉDIATEMENT VISIBLE
========================================================= */
@media (max-width: 800px) {
    .contact-page,
    .contact-page * {
        scroll-behavior: auto;
    }

    .contact-page [class*="reveal"],
    .contact-page .is-visible {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
        animation: none !important;
    }
}

.site-admin-shortcut{display:none!important;}
