
* {
    border: 0;
    margin: 0;
    padding: 0;

    resize: none;
    outline: none;

    background: transparent;
    box-sizing: border-box;

    border-radius: 0;
}

html,
body {
    display: flex;

    font-size: 10px;
    line-height: 10px;

    min-height: 100vh;
    min-height: -webkit-fill-available;
}

body {
    width: 100%;
    flex-direction: column;
}


.wrapper {
    margin: auto;
    max-width: 1210px;
    padding-left: 20px;
    padding-right: 20px;
}

.for-display {
    speak: none;
}

.for-sreader {
    overflow: hidden;

    width: 0;
    height: 0;

    font-size: 14px;
    text-indent: -50000px;
}


.header {
    padding: 4.4rem 0;

    background: url(images/bg-header.jpg);
    background-size: cover;
    background-position: center;
}

.header .logo {
    width: 35.5rem;
    height: 18.0rem;
    margin-left: 8.3333%;
    margin-right: auto;
}

.header .slogan {
    color: #2e394f;

    font-size: 5.5rem;
    font-weight: 700;
    line-height: 6.0rem;
    font-family: 'bebas-neue-by-fontfabric', sans-serif;

    letter-spacing: 0.015em;
    text-transform: uppercase;

    margin-left: auto;
    margin-right: 8.3333%;
}

.header .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.form {
    padding: 9.0rem 0 8.0rem;

    overflow: hidden;
    position: relative;

    background: url(images/bg-form.jpg);
    background-size: cover;
    background-position: center;
}

.form .text {
    width: 25%;
    color: #ffffff;

    font-size: 2.8rem;
    font-weight: 600;
    line-height: 3.8rem;
    font-family: 'bebas-neue-by-fontfabric', sans-serif;

    letter-spacing: 0.019em;
    text-transform: uppercase;
}

.form .text span:after {
    content: 'ao lado';
    display: inline;
}

.form .fields {
    width: 50%;
    color: #ffffff;

    font-size: 1.6rem;
    font-weight: 700;
    line-height: 2.8rem;
    font-family: 'bebas-neue-by-fontfabric', sans-serif;

    letter-spacing: 0.140em;
    text-transform: uppercase;
}

.form .fields > div {
    margin: 0 auto 2.5rem;
    position: relative;
    max-width: 47.0rem;
}

.form .fields > div label {
    top: 0;
    left: 0;
    position: absolute;
}

.form .fields > div input {
    width: 100%;
    color: #ffffff;
    padding-left: 8.0rem;
    border-bottom: 2px solid #ffffff;
}

.form .fields > div input,
.form .fields > div input::placeholder {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 2.8rem;
    font-family: 'bebas-neue-by-fontfabric', sans-serif;
}

.form .fields button {
    cursor: pointer;
    display: block;

    width: 100%;
    margin: 4.5rem auto 0;
    max-width: 47.0rem;

    color: #384459;
    background: #fdfaf5;

    font-size: 1.6rem;
    font-weight: 400;
    line-height: 3.2rem;
    font-family: 'bebas-neue-by-fontfabric', sans-serif;

    text-align: center;
    letter-spacing: 0.240em;
    text-transform: uppercase;
}

.form .fields .message.error {
    color: #ffffff;

    display: none;
    padding: 4px 5px;

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

    background: rgba(99,0,0, 0.5);
}

.form .fields .message.error,
.form .fields .message.success {
    color: #ffffff;

    display: none;
    padding: 4px 5px;

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

    background: rgba(99,0,0, 0.5);
}

.form .fields .message.success {
    background: rgba(0,255,0, 0.5);
}

.form .fields .message.error.visible,
.form .fields .message.success.visible {
    display: block;
}

.form .topology {
    color: #fefefe;

    line-height: 1;
    font-weight: 700;
    font-family: 'bebas-neue-by-fontfabric', sans-serif;

    text-align: center;
    letter-spacing: 0.019em;
    text-transform: uppercase;

    margin-left: auto;
}

.form .topology {
    margin-left: 0;
    margin-right: auto;
}

.form .topology div:nth-child(1) {
    font-size: 6.0rem;

    margin: 0 0 1.0rem;
    padding: 1.0rem 0 0;

    border-bottom: 2px solid #fefefe;
}

.form .topology div:nth-child(1) {
    padding: 0;
    font-size: 8.0rem;
}

.form .topology div:nth-child(1) i,
.form .topology div:nth-child(3) i {
    font-size: 0.6em;
    font-style: normal;
}

.form .topology div:nth-child(2) {
    font-size: 3.6rem;
}

.form .topology div:nth-child(2) {
    font-size: 4.8rem;
}

.form .topology div:nth-child(3) {
    margin: 3.5rem 0 0;
    font-size: 3.0rem;
}

.form .topology div:nth-child(4) {
    font-size: 7.2rem;
}

.form .watermark {
    color: #ffffff;

    top: 50%;
    left: 0%;
    opacity: 0.08;
    position: absolute;
    transform: translateY(-50%);

    font-size: 14.0rem;
    font-weight: 700;
    line-height: 13.0rem;
    font-family: 'bebas-neue-by-fontfabric', sans-serif;

    user-select: none;
    letter-spacing: 0.015em;
    text-transform: uppercase;

    pointer-events: none;
}

.form .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.moodboard {
    height: auto;
    min-height: 50.0rem;

    flex-grow: 1;
    flex-shrink: 1;

    overflow: hidden;
    position: relative;
}

.moodboard .bg {
    z-index: 1;

    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;

    object-fit: cover;
    object-position: top left;
}

.moodboard .boy,
.moodboard .chair,
.moodboard .surfer {
    z-index: 2;
    position: absolute;

    top: 0;
    right: -30px;
    width: auto;
    height: 65%;

    object-fit: cover;
    object-position: center;
}

.moodboard .boy {
    z-index: 1;

    top: auto;
    left: 8.3333%;
    width: 58%;
    right: auto;
    height: 51%;
    bottom: 0;
}

.moodboard .chair {
    z-index: 3;

    top: 8%;
    left: 100%;
    right: auto;
    height: 60%;

    aspect-ratio: 37 / 43;
}

.moodboard .surfer {
    width: 40%;
}

.moodboard .wrapper {
    z-index: 2;
    height: 100%;
    position: relative;
}


@media (max-width: 1470px) {
    .moodboard .chair { display: none; }
}

@media (max-width: 1170px) {
    html, body {
        font-size: 8px;
        line-height: 8px;
    }

    .form .fields > div {
        max-width: 55rem;
    }

    .form .fields > div label,
    .form .fields > div input,
    .form .fields > div input::placeholder {
        font-size: 14px;
        line-height: 28px;
    }

    .form .fields button {
        font-size: 14px;
        line-height: 32px;
        max-width: 55rem;
    }
}

@media (max-width: 870px) {
    .form .wrapper,
    .header .wrapper {
        flex-direction: column;
    }

    .header .wrapper .logo,
    .header .wrapper .slogan {
        margin-left: auto;
        margin-right: auto;
    }

    .header .wrapper .logo {
        margin-bottom: 40px;
    }

    .form .text,
    .form .fields,
    .form .topology {
        margin-left: auto;
        margin-right: auto;
    }

    .form .text,
    .form .fields {
        width: auto;
    }

    .form .text {
        margin: 40px auto 20px;
        max-width: 240px;
        text-align: center;
    }

    .form .text span:after {
        content: 'abaixo';
    }

    .form .text br {
        display: none;
    }

    .form .fields {
        width: 100%;
    }

    .form .topology {
        order: -2;
    }

    .form .watermark {
        top: 0;
        transform: none;
    }

}

@media  (max-width: 576px) {
    html, body {
        font-size: 6px;
        line-height: 6px;
    }

    .form .fields > div input {
        padding-left: 10rem;
    }

    .moodboard {
        min-height: 70rem;
    }

    .moodboard .bg {
        height: 60%;
    }

    .moodboard .boy {
        left: 0%;
        width: 50%;
        height: 40%;
    }

    .moodboard .surfer {
        top: 60%;
        right: 0%;
        width: 50%;
        height: 40%;
    }
}

@supports (text-stroke: 1px #2e394f) or (-webkit-text-stroke: 1px #2e394f) {
    .header .slogan strong {
        color: rgba(0,0,0,0);
        -webkit-text-stroke: 1px #2e394f;
                text-stroke: 1px #2e394f;
    }

    .form .watermark strong {
        color: rgba(0,0,0,0);
        -webkit-text-stroke: 1px #ffffff;
                text-stroke: 1px #ffffff;
    }
}
