*, *::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;
    align-items: center;
    padding: 20px;
    position: sticky;
    top: 20px;
    background: rgba(255, 255, 255, 0.8); /* mistura azul e vermelho com transparência */
    backdrop-filter: blur(10px); /* efeito de vidro fosco */
    -webkit-backdrop-filter: blur(10px); /* para compatibilidade com Safari */
    border: 1px solid rgba(255, 255, 255, 0.2); /* linha suave */
    z-index: 1000;
    
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav li a {
    text-decoration: none;
    color: #18324E;
}


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

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

}

.hero-text h1 {
    font-size: 48px;
    font-weight: 500;
    width: 100%;
    max-width: 500px;
    margin: 32px 0;
}

.hero p {
    width: 100%;
    max-width: 402px;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    color: #66768A;
}

.features, .clients, .testimonial, .contact, .body-modal {
    padding: 50px;
    text-align: center;
    margin: 0 auto;
}

.features-body {
    width: 100%;
    max-width: 1216px;
    margin: 0 auto;
    padding-bottom: 112px;
    border-bottom: 1px solid #DD9140;
    border-radius: 20px;
}

.features-header {
    width: 100%;
    max-width: 1014px;
    margin: 42px auto 0px;
}

.features-subtitle {
    text-align: justify;
    color: #DD9140;
    margin-bottom: 16px;
}

.features-description {
    width: 100%;
    max-width: 1000px;
    margin: 0px 0 0px;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 140%;
    text-align: left;
    color: #66768A;
}

.features-text {
    width: 100%;
    max-width: 1080px;
    text-align: left;
    font-size: 48px;
    font-weight: 500;
    margin: 0 40px 0 0;
}

.feature-grid {
    width: 100%;
    max-width: 1014px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: left;
    margin: 20px auto 0;
}

.feature-grid-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    

}

.feature-grid-item {
    width: 200px;
    margin: 40px 20px;
    
}

.feature-grid img, .feature-grid h3, .feature-grid p {
    margin: 10px;
}

.feature-grid p {
    font-weight: 100;
}

.clients {
    /* background-color: #5b6166; */
    background-color: #0F2031;
}

.clients p {
    color: #DD9140;
}

.clients-header {
    width: 100%;
    max-width: 866px;
    color: #f9fafb;
    font-size: 48px;
    margin: 0 auto;
}

.client-types > div {
    border-top: 1px solid #DD9140;
    justify-content: baseline;
    margin: 0 auto;
    
}

.client-types {
    width: 100%;
    max-width: 1216px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
    margin: 60px auto 0;

}

.clients h3 {
    color: #f9fafb;
    margin: 26px 0;
}

.clients-description {
    width: 100%;
    max-width: 328px;
    color: #f9fafb;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    margin: 22px 0;
}

.clients-tabela {
    margin: 60px auto;
}

.testimonial-ceo {
    width: 100%;
    max-width: 1216px;
    margin: 60px auto 120px;
    justify-content: space-between;
    display: flex;
    flex-wrap: wrap;
}

.testimonial-ceo-content {
    width: 486px;
    text-align: left;
    padding: 30px 32px;   
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-ceo-text {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.header-ceo {
    color: #DD9140;
}

.text-ceo {
    font-size: 30px;
}

.subtitle-ceo {
    font-size: 12px;
    line-height: 140%;
    margin: 0 0 20px;
}

.testimonial-text {
    width: 100%;
    max-width: 600px;
    font-size: 48px;
    margin: 0 auto 60px;
}

.testimonial-content {
    width: 100%;
    max-width: 1216px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto 80px;
    
}

.testimonial-content-block {
    border: 1px solid #DD9140;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
    width: 350px;
    margin: 20px;
    gap: 40px
}

.testimonial-content-text {
    font-size: 1.1rem;
    line-height: 140%;
    text-align: left;
}

.testimonial-content-title {
    font-size: 1.3rem;
    font-weight: 500;
    text-align: left;
    margin: 0 0 10px;
}

.testimonial-id-block {
    position: relative;
    overflow: visible;
    display: flex;
    justify-content: space-between;
}

.testimonial-aspas {
    position: absolute;
    line-height: 1;
    bottom: 0;
    right: 0;
    font-size: 96px;
    letter-spacing: -0.5%;
    transform: translateY(50%);
}

.testimonial-content-subtitle {
    max-width: 90%;
    font-size: 0.9rem;
    font-weight: 300;
    text-align: left;
    color: #66768A;
}

.contact {
    background-color: #1f2937;
    color: white;
    text-align: center;
    padding: 20px;
}

.contact-body {
    width: 100%;
    max-width: 1216px;
    margin: 60px auto;
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-text {
    text-align: left;
    padding: 40px 0;
}

.contact-text-title {
    margin: 30px 0 20px 0;
    font-size: 40px;
}

.contact-text-subtitle {
    font-size: 12px;
}

#modal-booking {
    display: none;
}

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

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

.form-row {
    display: flex;
    flex-direction: row;
    width: 90%;
    /* max-width: 800px; */
    margin: 0 auto;
    gap: 40px;
}

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

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

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

#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 00px;
    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 img {
    margin: 0 0 40px;
}

.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, .features-text, .clients-header, .testimonial-text, .contact-text-title {
        font-size: 26px;
    }
}

/* tablets (≤768px) */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .hero-text h1, .features-text, .clients-header, .testimonial-text, .contact-text-title {
        font-size: 32px;
    }
    
    .client-types div {
        margin: 40px auto;
    }

    
    .testimonial-ceo {
        margin: 60px 0;
    }

    
    .testimonial-ceo-content img {
        margin: 50px 0 0 0;
    }
    
    footer img {
        margin: 0 0 40px;
    }

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

/* tablets grandes / laptops pequenos (≤1024px) */
@media (max-width: 1282px) {
    
    .hero {
        margin: 10px auto 0;
    }
    
    .testimonial img {
        margin: 0 auto 30px;
    }
    
    .testimonial-ceo-content {
        margin: 32px;
        margin: 50px auto 0;
    }
    
    .contact-text {
        margin-left: 40px;
    }

    .features-body {
        
        border-bottom: none;
        border-radius: 20px;
    }
    
    .features-header {
        margin: 40px 0 0 0;
    }

    .features-description {
        margin: 40px 0 0 0;
    }
    
    .feature-grid {
        justify-content: center;
    }

    .feature-grid-block {
        justify-content: center;

    }

    .feature-grid-item {        
        margin: 40px 80px;
 }

 .testimonial-content {
    justify-content: space-around;
    
}

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* 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;
    }
    
    
}
