*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0 auto;
    font-family: 'Outfit', sans-serif;
    color: #1a1a1a;
    width: 100%;
    max-width: 1444px;
    background-color: #F6F2EE;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 p {
    color: #18324E;
    margin: 0;
} 

img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.in-line {
    display: flex;
    gap: 5px;
}


.in-line div {
    font-size: 12px;
    font-weight: 400;
    line-height: 140%;
    max-width: 450px;
}

header {
    height: 80px;
    display: flex;
    justify-content: space-between;
    padding: 40px;
    top: 20px;
    z-index: 1000;
    
}


.cta-button-submit {
    background-color: #f59e0b;
    font-size: 20px;
    color: white;
    border: none;
    padding: 10px 40px;
    margin: 40px 32px;
    border-radius: 5px;
    cursor: pointer;
}

.hero {
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 50px;
}

.hero > img {
    width: 50%;
    margin-top: 60px;
    align-self: baseline;
    
}

#modal-booking {
    display: none;
}

.modal {
    text-align: left;
}

.modal-title {
        width: 85%;
        max-width: 700px;
        letter-spacing: -0.5%;
        text-align: left;
        font-size: 36px;
        font-weight: 600;
        margin: 0 80px 0 0;    
}

.modal-subtitle {
    width: 90%;
    max-width: 600px;
    line-height: 140%;
    text-align: left;
    font-size: 18PX;
    font-weight: 400;
    margin: 40px 0 40px 0;    
    color: #66768A;
}



.form-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 0 auto;
    gap: 40px;
}

.form-row div {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
    margin: 10px 0;
}

.form-row input, .content {
    width: 100%;
    line-height: 160%;
    font-size: 1rem;
    border-radius: 5px;
    padding-left: 5px;
    border-color: rgb(200, 200, 200);
    border-style:double
}

.content {
    background-color: aliceblue;
    padding: 10px;
}

li {
    color: rgb(96, 96, 96);
}

.form-row label {
    color: #18324E;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 140%;
    margin: 0 0 5px 5px;
}

#optin {
    width: 20px;
}



label div {
    font-size: 15px;
}

#advogados {
    width: 100px;
}

#error-block {
    display: none;
    color: rgb(182, 57, 57);
    text-align: left;
    margin: 10px 0 0 5%;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 0 0 0 10px;
}

#error-block div {
    display: none;
    color: rgb(182, 57, 57);
    text-align: left;
    margin: 10px 0 0 5px;
    font-weight: 400;
    font-size: 1.2rem;
    padding: 0 0 0 10px;
}

.body-modal button {
    display: flex;
    margin: 60px 0px 0 10%;
    padding: 10px 60px;
    font-size: 1.2rem;
}


footer {
    background-color: #18324E;
    text-align: center;    
}

.footer-content {
    padding: 60px 80px 100px;
    height: 100%;
}

footer img {
    margin: 0 0 30px 0px;
}

.footer-contact {
    display: flex;
    flex-direction: row;
}

.footer-contact-social {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.footer-content, .footer-content img {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}



.footer-content-contact {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* smartphones pequenos (≤480px) */
@media (max-width: 480px) {
    
    

}

/* smartphones médios (≤600px) */
@media (max-width: 600px) {
    h1 {
        font-size: 26px;
    }

    .modal-title {
        font-size: 22px;
    }

    .modal-subtitle {
        font-size: 14px;
    }
}

/* tablets (≤768px) */
@media (max-width: 768px) {
    
    section {
        padding: 0;
    }
    
.hero {
    padding: 60px 30px;
}

    .hero-text h1 {
        font-size: 32px;
    }
    
    footer img {
        margin: 0 0 40px;
    }

    .footer-contact {
        flex-direction: column;
    }

    .form-row label, .form-row{
        font-size: 1.1rem;
        width: 100%;
    }
    
}

/* tablets grandes / laptops pequenos (≤1024px) */
@media (max-width: 1282px) {
    
    .hero {
        margin: 10px auto 0;
    }
    
    .hero img {
        display: none;
    }
}

/* telas desktop largas (≤1440px ou maior) */
@media (max-width: 1440px) {

    footer > img {
        position: absolute;
        width: auto;
        height: auto;
        left: 50%;
        transform: translateX(-50%);
        max-width: none;
        overflow: visible;
        background-color: #18324E;
    }
    
    
}
