/* =====================================================
   RESET
===================================================== */

:root {

    --black: #070a09;
    --black-soft: #0b100e;

    --navy: #101d2d;
    --navy-light: #17283b;

    --white: #f4f7f1;

    --gray: #98a49d;
    --gray-dark: #657069;

    --green: #b8ed55;
    --orange: #ef8b4c;

    --border:
        rgba(244, 247, 241, 0.11);

    --accent: var(--green);

}


* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    min-height: 100vh;

    overflow-x: hidden;

    background:
        var(--black);

    color:
        var(--white);

    font-family:
        "Manrope",
        sans-serif;

}


/* =====================================================
   BACKGROUND
===================================================== */

.background-grid {

    position: fixed;

    inset: 0;

    z-index: -5;

    pointer-events: none;

    opacity: .25;

    background-image:

        linear-gradient(
            rgba(255, 255, 255, .035) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255, 255, 255, .035) 1px,
            transparent 1px
        );

    background-size:
        70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 90%
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 90%
        );

}


.orb {

    position: fixed;

    width: 800px;
    height: 800px;

    border-radius: 50%;

    pointer-events: none;

    z-index: -4;

    opacity: .22;

}


.orb-one {

    top: -320px;
    right: -280px;

    background:
        radial-gradient(
            circle at 50% 50%,
            var(--green) 0%,
            rgba(184, 237, 85, 0) 68%
        );

}


.orb-two {

    bottom: -360px;
    left: -320px;

    background:
        radial-gradient(
            circle at 50% 50%,
            var(--navy-light) 0%,
            rgba(23, 40, 59, 0) 68%
        );

}


@media (max-width: 899px) {

    .orb {
        width: 460px;
        height: 460px;
    }

}


/* =====================================================
   HEADER
===================================================== */

.header {

    width: 100%;

    border-bottom:
        1px solid var(--border);

    background:
        rgba(7, 10, 9, .88);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

}


.header-inner {

    width:
        min(
            calc(100% - 48px),
            1180px
        );

    min-height: 82px;

    margin:
        0 auto;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

}


.logo {
    display: flex;

    align-items: center;

    gap: 11px;

    flex-shrink: 0;
}


.logo-mark {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 1px solid var(--accent);

    color: var(--accent);

    font-family: "DM Mono", monospace;

    font-size: 17px;

    transform: rotate(-8deg);
}


.logo-text {
    display: flex;

    flex-direction: column;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: -0.02em;
}


.logo-text small {
    color: var(--gray);

    font-size: 9px;

    font-family: "DM Mono", monospace;

    font-weight: 400;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    margin-top: 2px;
}


.back-link {

    color:
        var(--gray);

    font-family:
        "DM Mono",
        monospace;

    font-size: 9px;

    text-decoration:
        none;

    transition:
        color .25s ease;

}


.back-link:hover {

    color:
        var(--green);

}


/* =====================================================
   MAIN
===================================================== */

.main {

    width:
        min(
            calc(100% - 48px),
            1180px
        );

    margin:
        0 auto;

    padding:
        100px 0 120px;

}


.layout {

    display: grid;

    grid-template-columns:
        .75fr 1.25fr;

    gap: 90px;

    align-items:
        start;

}


/* =====================================================
   INTRO
===================================================== */

.eyebrow {

    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom:
        25px;

    color:
        var(--gray);

    font-family:
        "DM Mono",
        monospace;

    font-size: 9px;

    letter-spacing: .09em;

    text-transform:
        uppercase;

}


.eyebrow-dot {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        var(--green);

}


.intro h1 {

    max-width:
        650px;

    font-size:
        clamp(
            48px,
            6vw,
            78px
        );

    line-height:
        .95;

    letter-spacing:
        -.065em;

}


.intro h1 span {

    display: block;

    color:
        var(--green);

}


.intro-text {

    max-width:
        470px;

    margin-top:
        28px;

    color:
        var(--gray);

    font-size:
        14px;

    line-height:
        1.9;

}


.intro-note {

    margin-top:
        50px;

    padding-top:
        20px;

    border-top:
        1px solid var(--border);

    max-width:
        420px;

    color:
        var(--gray-dark);

    font-family:
        "DM Mono",
        monospace;

    font-size:
        9px;

    line-height:
        1.8;

}


/* =====================================================
   FORM
===================================================== */

.form-wrapper {

    padding:
        35px;

    border:
        1px solid var(--border);

    border-radius:
        18px;

    background:
        rgba(255, 255, 255, .015);

}


.form-top {

    display: flex;

    justify-content:
        space-between;

    align-items:
        center;

    padding-bottom:
        22px;

    margin-bottom:
        28px;

    border-bottom:
        1px solid var(--border);

}


.form-top strong {

    font-size:
        13px;

}


.form-top span {

    color:
        var(--gray-dark);

    font-family:
        "DM Mono",
        monospace;

    font-size:
        8px;

}


.form-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        18px;

}


.field {

    display:
        flex;

    flex-direction:
        column;

    gap:
        8px;

}


.field.full {

    grid-column:
        1 / -1;

}


label {

    color:
        var(--gray);

    font-family:
        "DM Mono",
        monospace;

    font-size:
        8px;

    letter-spacing:
        .07em;

    text-transform:
        uppercase;

}


/* =====================================================
   INPUTS / TEXTAREA
===================================================== */

input,
textarea {

    width:
        100%;

    border:
        1px solid var(--border);

    border-radius:
        8px;

    outline:
        none;

    background:
        rgba(255, 255, 255, .025);

    color:
        var(--white);

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        12px;

    transition:
        border-color .25s ease,
        background .25s ease;

}


input {

    height:
        50px;

    padding:
        0 14px;

}


textarea {

    min-height:
        170px;

    resize:
        vertical;

    padding:
        14px;

    line-height:
        1.7;

}


input::placeholder,
textarea::placeholder {

    color:
        var(--gray-dark);

}


input:focus,
textarea:focus {

    border-color:
        rgba(
            184,
            237,
            85,
            .55
        );

    background:
        rgba(
            184,
            237,
            85,
            .025
        );

}


.field-hint {

    color:
        var(--gray-dark);

    font-size:
        8px;

    line-height:
        1.5;

}


/* =====================================================
   AUTOFILL
===================================================== */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {

    -webkit-text-fill-color:
        var(--white) !important;

    -webkit-box-shadow:
        0 0 0 1000px
        rgba(255, 255, 255, .025)
        inset !important;

    box-shadow:
        0 0 0 1000px
        rgba(255, 255, 255, .025)
        inset !important;

    border-color:
        var(--border) !important;

    caret-color:
        var(--white);

    transition:
        background-color
        9999s
        ease-in-out
        0s;

}


/* =====================================================
   DROPDOWN PERSONALIZADO
===================================================== */

.custom-select {

    position:
        relative;

    width:
        100%;

}


/* =====================================================
   BOTÃO DO DROPDOWN
===================================================== */

.custom-select-trigger {

    width:
        100%;

    height:
        50px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    padding:
        0 14px;

    border:
        1px solid var(--border);

    border-radius:
        8px;

    outline:
        none;

    background:
        rgba(255, 255, 255, .025);

    color:
        var(--white);

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        12px;

    text-align:
        left;

    cursor:
        pointer;

    transition:
        border-color .25s ease,
        background .25s ease;

}


.custom-select-trigger:hover {

    border-color:
        rgba(
            255,
            255,
            255,
            .20
        );

}


.custom-select.open
.custom-select-trigger {

    border-color:
        rgba(
            184,
            237,
            85,
            .55
        );

    background:
        rgba(
            184,
            237,
            85,
            .025
        );

}


/* =====================================================
   TEXTO DO DROPDOWN
===================================================== */

.custom-select-value {

    color:
        var(--white);

}


.custom-select-value.placeholder {

    color:
        var(--gray-dark);

}


/* =====================================================
   SETA
===================================================== */

.custom-select-arrow {

    color:
        var(--gray);

    font-family:
        "DM Mono",
        monospace;

    font-size:
        11px;

    transition:
        transform .2s ease,
        color .2s ease;

}


.custom-select.open
.custom-select-arrow {

    transform:
        rotate(180deg);

    color:
        var(--green);

}


/* =====================================================
   MENU
===================================================== */

.custom-select-options {

    position:
        absolute;

    top:
        calc(100% + 7px);

    left:
        0;

    right:
        0;

    z-index:
        1000;

    padding:
        6px;

    border:
        1px solid
        rgba(
            244,
            247,
            241,
            .11
        );

    border-radius:
        10px;

    background:
        #0b100e;

    box-shadow:
        0 20px 45px
        rgba(
            0,
            0,
            0,
            .40
        );

    opacity:
        0;

    visibility:
        hidden;

    pointer-events:
        none;

    transform:
        translateY(-7px)
        scale(.985);

    transform-origin:
        top;

    transition:
        opacity .16s ease,
        visibility .16s ease,
        transform .16s ease;

}


.custom-select.open
.custom-select-options {

    opacity:
        1;

    visibility:
        visible;

    pointer-events:
        auto;

    transform:
        translateY(0)
        scale(1);

}


/* =====================================================
   OPÇÕES
===================================================== */

.custom-option {

    width:
        100%;

    min-height:
        42px;

    display:
        flex;

    align-items:
        center;

    padding:
        0 12px;

    border:
        0;

    border-radius:
        7px;

    outline:
        none;

    background:
        transparent;

    color:
        var(--gray);

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        12px;

    text-align:
        left;

    cursor:
        pointer;

    transition:
        background .15s ease,
        color .15s ease;

}


.custom-option:hover {

    background:
        rgba(
            184,
            237,
            85,
            .08
        );

    color:
        var(--white);

}


.custom-option.selected {

    background:
        rgba(
            184,
            237,
            85,
            .06
        );

    color:
        var(--green);

}


/* =====================================================
   SELECT REAL
===================================================== */

.custom-select-native {

    position:
        absolute;

    width:
        1px;

    height:
        1px;

    padding:
        0;

    margin:
        -1px;

    overflow:
        hidden;

    clip:
        rect(
            0,
            0,
            0,
            0
        );

    white-space:
        nowrap;

    border:
        0;

    opacity:
        0;

}


/* =====================================================
   BUTTON
===================================================== */

.submit-area {

    margin-top:
        25px;

    padding-top:
        25px;

    border-top:
        1px solid var(--border);

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

}


.submit-note {

    max-width:
        260px;

    color:
        var(--gray-dark);

    font-size:
        9px;

    line-height:
        1.6;

}


.submit-button {

    min-height:
        50px;

    padding:
        0 23px;

    border:
        none;

    border-radius:
        999px;

    background:
        var(--green);

    color:
        #10140e;

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        11px;

    font-weight:
        800;

    cursor:
        pointer;

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


.submit-button:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 30px
        rgba(
            184,
            237,
            85,
            .15
        );

}


.submit-button:disabled {

    opacity:
        .6;

    cursor:
        wait;

    transform:
        none;

}


/* =====================================================
   SUCCESS
===================================================== */

.success-message {

    display:
        none;

    margin-top:
        20px;

    padding:
        15px;

    border:
        1px solid
        rgba(
            184,
            237,
            85,
            .25
        );

    border-radius:
        8px;

    background:
        rgba(
            184,
            237,
            85,
            .05
        );

    color:
        var(--green);

    font-family:
        "DM Mono",
        monospace;

    font-size:
        9px;

    line-height:
        1.7;

}


.success-message.show {

    display:
        block;

}


/* =====================================================
   FOOTER
===================================================== */

.footer {

    border-top:
        1px solid var(--border);

    padding:
        28px 0;

}


.footer-inner {

    width:
        min(
            calc(100% - 48px),
            1180px
        );

    margin:
        0 auto;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

}


.footer span {

    color:
        var(--gray-dark);

    font-family:
        "DM Mono",
        monospace;

    font-size:
        8px;

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .layout {

        grid-template-columns:
            1fr;

        gap:
            55px;

    }


    .intro h1 {

        max-width:
            700px;

    }

}


@media (max-width: 600px) {

    .header-inner,
    .main,
    .footer-inner {

        width:
            calc(100% - 32px);

    }


    .header-inner {

        min-height:
            72px;

    }


    .back-link {

        font-size:
            8px;

    }


    .main {

        padding:
            70px 0 80px;

    }


    .intro h1 {

        font-size:
            48px;

    }


    .form-wrapper {

        padding:
            22px;

    }


    .form-grid {

        grid-template-columns:
            1fr;

    }


    .field.full {

        grid-column:
            auto;

    }


    .submit-area {

        flex-direction:
            column;

        align-items:
            stretch;

    }


    .submit-note {

        max-width:
            none;

    }


    .submit-button {

        width:
            100%;

    }


    .footer-inner {

        flex-direction:
            column;

        align-items:
            flex-start;

    }

}


/* =========================
   SCROLLBAR DO TEXTBOX
   ========================= */

   .field textarea {
    scrollbar-width: thin;
    scrollbar-color: rgba(184, 237, 85, 0.55) transparent;
}

/* Chrome, Edge, Safari */
.field textarea::-webkit-scrollbar {
    width: 8px;
}

.field textarea::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 999px;
}

.field textarea::-webkit-scrollbar-thumb {
    background: rgba(184, 237, 85, 0.45);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.field textarea::-webkit-scrollbar-thumb:hover {
    background: rgba(184, 237, 85, 0.75);
    border: 2px solid transparent;
    background-clip: padding-box;
}