* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rockford Sans';
}

body {
    overflow-x: hidden;
}

.container {
    display: flex;
    min-height: 100vh;
}

.lado-esquerdo {
    flex: 1;
    background: #FFFFFF;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.detalhe-superior {
    position: absolute;
    top: -25px;
    left: -36px;
    width: 350px;
    height: auto;
    z-index: 1;
}

.detalhe-inferior {
    position: absolute;
    bottom: 0px;
    left: -54px;
    width: 850px;
    height: auto;
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    padding: 40px 60px 80px 120px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    margin-left: -74px;
}

.pin-icon {
    width: 64px;
    height: 64px;
    margin-top: 4px;
}

.location h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.2;
    color: #333;
    text-transform: uppercase;
}

.title-section {
    margin-bottom: 16px;
}

.title-section h2 {
    font-size: 2.5em;
    font-weight: 700;
    letter-spacing: 10px;
    line-height: 1.2;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 10px;

    span {
        font-weight: 100;
    }
}

.viver-melhor {
    max-width: 450px;
    height: auto;
    /* margin-top: 10px; */
}

.description {
    max-width: 400px;
    font-size: 1.2em;
    line-height: 1.6;
    color: #333;
    margin-bottom: 24px;
    font-weight: 300;
}

.description strong {
    font-weight: 700;
}

.form-section {
    max-width: 450px;
}

.form-header-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.form-header {
    background: #F39C12;
    padding: 8px 12px;
    border-radius: 8px 8px 0 0;
    display: flex;
    flex-direction: column;
    /* gap: 5px; */
}

.form-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.form-subtitle {
    font-weight: 500;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

form input {
    padding: 15px 20px;
    border: none;
    background: #F5F5F5;
    font-size: 14px;
    font-family: inherit;
    border-bottom: 1px solid #E0E0E0;
    z-index: 1;
}

form input:first-of-type {
    border-radius: 0px 8px 0 0;
}

form input:last-of-type {
    border-bottom: 1px solid #E0E0E0;
}

.form-section:not(.preenchido) form input:last-of-type {
    border-radius: 0 0 8px 8px;
    border-bottom: none;
}

form input::placeholder {
    color: #666;
}

form input:focus {
    outline: none;
    background: #EFEFEF;
}

.lado-direito {
    flex: 1;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

#background-img {
    position: fixed;
    top: -48px;
    right: -24px;
    height: calc(100dvh + 48px);
    /* bottom: 0px; */
}

.badge {
    position: absolute;
    top: 120px;
    right: 80px;
    background: #F39C12;
    padding: 15px 40px;
    transform: rotate(0deg);
    z-index: 3;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}

.badge-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #333;
    text-transform: uppercase;
    line-height: 1.3;
    display: block;
}

.logo {
    position: fixed;
    /* top: calc(82dvh - 180px); */
    right: 150px;
    bottom: 150px;
    width: 350px;
    height: auto;
    z-index: 2;
    /* position: relative; */
}

button {
    padding: 16px 16px 20px 16px;
    border-radius: 0px 0px 8px 8px;
    border: 0px;
    text-align: left;
    font-weight: 700;
    background: #f39c12;
    color: #fff;
    transition: 0.4s;
    cursor: pointer;
    font-size: 1.15em;
    line-height: 1em;

    &:hover {
        filter: brightness(1.15);
    }
}

#btn-enviar {
    z-index: 0;
    translate: 0px -56px;
}

.form-section.preenchido #btn-enviar {
    translate: 0px 0px;
}


@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }

    .content {
        padding: 60px 40px;
    }

    .title-section h2 {
        font-size: 36px;
    }

    .right-side {
        min-height: 400px;
    }

    .badge {
        top: 40px;
        right: 40px;
    }

    .logo {
        width: 280px;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 12px;
    }

    .content {
        padding: 60px 30px;
    }

    .location h1 {
        font-size: 1.5em;
    }

    .title-section h2 {
        font-size: 1.75em;
    }

    .viver-melhor {
        width: 220px;
    }

    .description {
        font-size: 1.1em;
    }

    .detalhe-superior {
        width: 400px;
        top: -30px;
    }

    .detalhe-inferior {
        display: none;
    }

    .logo {
        position: unset;
        max-width: 250px;
    }

    #background-img {
        display: none;
    }

    .form-title {
        font-size: 1.1em;
    }

    .form-subtitle {
        font-size: 0.9em;
    }

    .lado-direito {
        flex: 1;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #404041;
        padding: 24px;
    }

    .location {
        margin-left: -8px;
    }

    .pin-icon {
        width: 48px;
        height: 48px;
        margin-top: 4px;
    }
}