@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');

#home-bl1.home-bl1-bg { position: relative; width: 100%; height: 100vh; min-height: 600px; overflow: hidden; padding: 0; }

#home-bl1.home-bl1-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; margin-top: 9%; }

#home-bl1 .home-bl1 { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; display: flex; align-items: center; }

#home-bl1 .home-bl1-content { width: 100%; padding-left: 50px; }

#home-bl1 .home-bl1-content h1 { font-size: 3.5rem; line-height: 1.2; color: #ffffff!important; text-align: left; margin: 0; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); font-weight: 400; }

#home-bl1 .home-bl1-content h1 strong { color: #AC7644; font-family: 'Raleway', sans-serif; font-weight: 700; }

#home-bl1.home-bl1-bg .home-bl1-img { display: block; }

.on-767{display: none;}
.off-767{display: block;}

@media (max-width: 767.5px) {
    
    #home-bl1.home-bl1-bg { min-height: 450px; }
    #home-bl1.home-bl1-bg img { margin-top: 25%; }
    #home-bl1 .home-bl1-content { padding-left: 25px; padding-right: 25px; }
    #home-bl1 .home-bl1-content h1 { font-size: 1.9rem; }
    #home-bl2.home-bl2-bg { padding: 35px 15px; margin-top: -90px; z-index: 10; position: relative; }
    #home-bl2 .home-bl2-text h1 { font-size: 1.6rem; }
    #home-bl2 .home-bl2-text p { font-size: 0.95rem; }
    #home-bl2 .btn-home-bl2 { width: 60%; padding: 10px 18px; font-size: 0.85rem; }
    #home-bl3.home-bl3-bg { padding: 40px 15px; margin-top: 25px; background: linear-gradient(to bottom, #ffffff 45%, #354452 45%); }
    #home-bl3 .home-bl3-content > div { padding: 30px; border-radius: 12px; }
    #home-bl3 .home-bl3-content h1 { font-size: 1.6rem; margin-bottom: 30px!important; }
    #home-bl3 .especialidades { grid-template-columns: 1fr; gap: 20px; }
    #home-bl3 .especialidade { padding: 30px 25px; }
    #home-bl3 .especialidade img { width: 150px; height: 150px; }
    #home-bl3 .especialidade h3 { font-size: 1.15rem; }
    #home-bl4.home-bl4-bg { padding: 40px 15px; }
    #home-bl4 .home-bl4 { margin-top: 3%; }
    #home-bl4 .home-bl4-logo { max-width: 200px; margin-bottom: 25px; }
    #home-bl4 .home-bl4-form-container { padding: 18px; border-radius: 8px; }
}

#home-bl1 .home-bl1-content h1 br { line-height: 0; }

#home-bl1.home-bl1-bg::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%); z-index: 1; }


#home-bl2.home-bl2-bg { padding: 60px 0; margin-top: 60px; }

#home-bl2 .home-bl2 { width: 100%; max-width: 1000px; margin: 0 auto; }

#home-bl2 .home-bl2-content { display: flex; align-items: center; min-height: 350px; gap: 40px; }

#home-bl2 .home-bl2-image { display: flex; justify-content: center; align-items: center; flex: 0 0 50%; }

#home-bl2 .home-bl2-image img { width: 100%; height: auto; max-width: 100%; }

#home-bl2 .home-bl2-text { flex: 0 0 45%; display: flex; flex-direction: column; justify-content: center; }

#home-bl2 .home-bl2-text h1 { font-size: 2.8rem; line-height: 1.1; color: #1D252D; margin-bottom: 25px; font-weight: 300; font-family: 'Raleway', sans-serif; }

#home-bl2 .home-bl2-text p { font-size: 1rem; line-height: 1.7; color: #666666; margin-bottom: 25px; font-family: 'Raleway', sans-serif; font-weight: 400; }

#home-bl2 .btn-home-bl2 { display: inline-block; width: 33%; padding: 6px 12px; background-color: #1D252D; color: #fff!important; text-decoration: none; border-radius: 20px; font-weight: 600; font-family: 'Raleway', sans-serif; font-size: 0.75rem; transition: background-color 0.3s ease; text-align: center; margin-top: 20px; }

#home-bl2 .btn-home-bl2:hover { background-color: #0f1419; color: #fff!important; text-decoration: none; }


#home-bl3.home-bl3-bg { padding: 80px 0; margin-top: 60px; background: linear-gradient(to bottom, #ffffff 50%, #354452 50%); }

#home-bl3 .home-bl3 { width: 100%; }

#home-bl3 .home-bl3-content { display: flex; justify-content: center; }

#home-bl3 .home-bl3-content > div { background-color: #E8EDF3; border-radius: 15px; padding: 50px; max-width: 1000px; width: 100%; }

#home-bl3 .home-bl3-content h1 { font-size: 2.8rem; line-height: 1.1; color: #1D252D; margin-bottom: 60px!important; font-weight: 400; font-family: 'Raleway', sans-serif; text-align: center; }

#home-bl3 .especialidades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

#home-bl3 .especialidade { background-color: #ffffff; border-radius: 10px; padding: 40px 30px; text-align: center; }

#home-bl3 .especialidade img { width: 180px; height: 180px; object-fit: cover; margin-bottom: 25px; }

#home-bl3 .especialidade h3 { font-size: 1.2rem; color: #1D252D; font-family: 'Raleway', sans-serif; font-weight: 400; margin: 0; line-height: 1.3; }


#home-bl4.home-bl4-bg { padding: 80px 0; margin-top: 0; background-color: #354452; }

#home-bl4 .home-bl4 { margin-top: 10%; }

#home-bl4 .home-bl4-logo { display: block; margin: 0 auto 40px auto; max-width: 300px; height: auto; }

#home-bl4 .home-bl4-form-container { background-color: #AC7644; padding: 20px; border-radius: 10px; }

#home-bl4 .home-bl4-form-content { width: 100%; }

#home-bl4 .home-bl4-text { color: #fff!important; font-size: 22px; margin-bottom: 25px!important; font-weight: bold; font-family: 'Raleway', sans-serif; }

#home-bl4 input { border: none; border-radius: 5px; padding: 10px; margin-right: 5px; font-style: italic; }

#home-bl4 button { background-color: #1D252D; color: #fff; border: none; padding: 10px 20px; border-radius: 5px; font-weight: 700; text-transform: uppercase; cursor: pointer; }

#home-bl4 input[type="text"], #home-bl4 input[type="email"], #home-bl4 button[type="submit"] { border-radius: 10px!important; }

#home-bl4 .btn { width: 150px; }

#home-bl4 .wpcf7-form { display: flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: nowrap; }

#home-bl4 .wpcf7-form .form-control { display: flex; background-color: #AC7644; color: white !important; border-radius: 0; border: 2px solid white!important; padding: 10px; flex: 1; min-width: 150px; }

#home-bl4 .wpcf7-form .form-control::placeholder { color: white !important; opacity: 1; }

#home-bl4 .wpcf7-form .form-control:focus { background-color: #AC7644 !important; color: white !important; border-color: white!important; }

#home-bl4 .wpcf7-form .btn { display: flex; background-color: #FC3334; color: #fff!important; border-radius: 0; padding: 10px 40px; font-weight: 700; text-transform: uppercase; white-space: nowrap; flex-shrink: 0; border: none; cursor: pointer; }

#home-bl4 .wpcf7-spinner { position: absolute!important; }

#home-bl4 .btn-home-bl4-news { display: block; margin: 20px 0 0 0; padding: 20px; background-color: #E8EDF3; color: #354452!important; text-decoration: none; border-radius: 35px; font-weight: bold; font-family: 'Raleway', sans-serif; font-size: 0.9rem; transition: background-color 0.3s ease; text-align: center; width: 100%; }

#home-bl4 .btn-home-bl4-news:hover { background-color: #d4dde6; color: #354452!important; text-decoration: none; }


#home-bl5.home-bl5-bg { padding: 80px 0; margin-top: 60px; }

#home-bl5 .home-bl5 { width: 100%; }

#home-bl5 h1 { font-size: 65px; line-height: 1.1; color: #AC7644!important; margin-bottom: 25px!important; font-weight: bold; font-family: 'Raleway', sans-serif; text-align: center; }

#home-bl5 p { font-size: 45px; line-height: 1.7; color: #AC7644!important; margin-bottom: 35px; font-family: 'Raleway', sans-serif; font-weight: 300; text-align: center; }

#home-bl5 .home-bl5-divider { border: none; border-top: 2px solid #AC7644; margin: 35px 0; width: 100%; }

#home-bl5 .btn-home-bl5 { display: block; margin: 20px 0 0 0; padding: 20px; background-color: #AC7644; color: #fff!important; text-decoration: none; border-radius: 35px; font-weight: bold; font-family: 'Raleway', sans-serif; font-size: 0.9rem; transition: background-color 0.3s ease; text-align: center; width: 100%; }

#home-bl5 .btn-home-bl5:hover { background-color: #8b5d36; color: #fff!important; text-decoration: none; }

/* Responsividade */

/* 1799.5px */
@media (max-width: 1799.5px) {
    #home-bl1 .home-bl1-content h1 { font-size: 3.3rem; }
    #home-bl2 .home-bl2-text h1 { font-size: 2.6rem; }
    #home-bl3 .home-bl3-content h1 { font-size: 2.6rem; }
    #home-bl5 h1 { font-size: 60px; }
    #home-bl5 p { font-size: 42px; }
}

/* 1599.5px */
@media (max-width: 1599.5px) {
    #home-bl1 .home-bl1-content h1 { font-size: 3rem; }
    #home-bl2 .home-bl2-text h1 { font-size: 2.4rem; }
    #home-bl3 .home-bl3-content h1 { font-size: 2.4rem; margin-bottom: 50px!important; }
    #home-bl3 .especialidade img { width: 160px; height: 160px; }
    #home-bl5 h1 { font-size: 55px; }
    #home-bl5 p { font-size: 38px; }
}

/* 1399.5px */
@media (max-width: 1399.5px) {
    #home-bl1 .home-bl1-content { padding-left: 40px; }
    #home-bl1 .home-bl1-content h1 { font-size: 2.8rem; }
    #home-bl2.home-bl2-bg { padding: 50px 20px; margin-top: 50px; }
    #home-bl2 .home-bl2-text h1 { font-size: 2.2rem; }
    #home-bl2 .home-bl2-content { gap: 30px; }
    #home-bl3.home-bl3-bg { padding: 70px 20px; margin-top: 50px; }
    #home-bl3 .home-bl3-content > div { padding: 45px; }
    #home-bl3 .home-bl3-content h1 { font-size: 2.2rem; }
    #home-bl3 .especialidades { gap: 30px; }
    #home-bl4.home-bl4-bg { padding: 70px 20px; }
    #home-bl5.home-bl5-bg { padding: 70px 20px; margin-top: 50px; }
    #home-bl5 h1 { font-size: 50px; }
    #home-bl5 p { font-size: 35px; }
}

/* 1199.5px */
@media (max-width: 1199.5px) {
    #home-bl1 .home-bl1-content { padding-left: 35px; }
    #home-bl1 .home-bl1-content h1 { font-size: 2.5rem; }
    #home-bl2.home-bl2-bg { padding: 40px 20px; margin-top: 40px; }
    #home-bl2 .home-bl2-text h1 { font-size: 2rem; }
    #home-bl2 .btn-home-bl2 { width: 40%; padding: 8px 15px; font-size: 0.8rem; }
    #home-bl3.home-bl3-bg { padding: 60px 20px; margin-top: 40px; }
    #home-bl3 .home-bl3-content > div { padding: 40px; }
    #home-bl3 .home-bl3-content h1 { font-size: 2rem; margin-bottom: 40px!important; }
    #home-bl3 .especialidades { gap: 25px; }
    #home-bl3 .especialidade { padding: 35px 25px; }
    #home-bl3 .especialidade img { width: 140px; height: 140px; }
    #home-bl3 .especialidade h3 { font-size: 1.1rem; }
    #home-bl4.home-bl4-bg { padding: 60px 20px; }
    #home-bl4 .home-bl4 { margin-top: 8%; }
    #home-bl4 .home-bl4-logo { max-width: 250px; }
    #home-bl4 .home-bl4-text { font-size: 20px; }
    #home-bl5.home-bl5-bg { padding: 60px 20px; margin-top: 40px; }
    #home-bl5 h1 { font-size: 45px; }
    #home-bl5 p { font-size: 32px; }
}

/* 991.5px */
@media (max-width: 991.5px) {
    #home-bl1.home-bl1-bg { min-height: 500px; }
    #home-bl1.home-bl1-bg img { margin-top: 12%; }
    #home-bl1 .home-bl1-content { padding-left: 30px; padding-right: 30px; }
    #home-bl1 .home-bl1-content h1 { font-size: 2.2rem; }
    #home-bl2.home-bl2-bg { padding: 40px 20px; margin-top: 30px; }
    #home-bl2 .home-bl2-content { flex-direction: column; min-height: auto; gap: 30px; }
    #home-bl2 .home-bl2-image, #home-bl2 .home-bl2-text { flex: 1 1 100%; max-width: 100%; }
    #home-bl2 .home-bl2-text { text-align: center; }
    #home-bl2 .home-bl2-text h1 { font-size: 1.8rem; }
    #home-bl2 .btn-home-bl2 { width: 50%; margin: 20px auto 0; }
    #home-bl3.home-bl3-bg { padding: 50px 20px; margin-top: 30px; }
    #home-bl3 .home-bl3-content > div { padding: 35px; }
    #home-bl3 .home-bl3-content h1 { font-size: 1.8rem; margin-bottom: 35px!important; }
    #home-bl3 .especialidades { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    #home-bl3 .especialidade { padding: 30px 20px; }
    #home-bl3 .especialidade img { width: 120px; height: 120px; }
    #home-bl4.home-bl4-bg { padding: 50px 20px; }
    #home-bl4 .home-bl4 { margin-top: 5%; }
    #home-bl4 .home-bl4-logo { max-width: 220px; margin-bottom: 30px; }
    #home-bl4 .home-bl4-text { font-size: 18px; margin-bottom: 20px!important; }
    #home-bl4 .wpcf7-form { flex-wrap: wrap; gap: 12px; }
    #home-bl4 .wpcf7-form .form-control { min-width: calc(50% - 6px); }
    #home-bl4 .wpcf7-form .btn { width: 100%; padding: 12px 20px; justify-content: center; }
    #home-bl5.home-bl5-bg { padding: 50px 20px; margin-top: 30px; }
    #home-bl5 h1 { font-size: 38px; }
    #home-bl5 p { font-size: 28px; margin-bottom: 30px; }
}

/* 767.5px */
@media (max-width: 767.5px) {
    .on-767{display: block;}
    .off-767{display: none;}
    #home-bl1.home-bl1-bg { min-height: 450px; }
    #home-bl1.home-bl1-bg img { margin-top: 25%; }
    #home-bl1 .home-bl1-content { padding-left: 25px; padding-right: 25px; }
    #home-bl1 .home-bl1-content h1 { font-size: 1.9rem; }
    
    #home-bl2 .home-bl2-text h1 { font-size: 1.6rem; }
    #home-bl2 .home-bl2-text p { font-size: 0.95rem; }
    #home-bl2 .btn-home-bl2 { width: 60%; padding: 10px 18px; font-size: 0.85rem; }
    #home-bl3.home-bl3-bg { padding: 40px 15px; margin-top: 25px; background: linear-gradient(to bottom, #ffffff 45%, #354452 45%); }
    #home-bl3 .home-bl3-content > div { padding: 30px; border-radius: 12px; }
    #home-bl3 .home-bl3-content h1 { font-size: 1.6rem; margin-bottom: 30px!important; }
    #home-bl3 .especialidades { grid-template-columns: 1fr; gap: 20px; }
    #home-bl3 .especialidade { padding: 30px 25px; }
    #home-bl3 .especialidade img { width: 150px; height: 150px; }
    #home-bl3 .especialidade h3 { font-size: 1.15rem; }
    #home-bl4.home-bl4-bg { padding: 40px 15px; }
    #home-bl4 .home-bl4 { margin-top: 3%; }
    #home-bl4 .home-bl4-logo { max-width: 200px; margin-bottom: 25px; }
    #home-bl4 .home-bl4-form-container { padding: 18px; border-radius: 8px; }
    #home-bl4 .home-bl4-text { font-size: 17px; margin-bottom: 18px!important; }
    #home-bl4 .wpcf7-form .form-control { min-width: 100%; padding: 12px; }
    #home-bl4 .btn-home-bl4-news { padding: 18px; font-size: 0.85rem; border-radius: 30px; }
    #home-bl5.home-bl5-bg { padding: 40px 15px; margin-top: 25px; }
    #home-bl5 h1 { font-size: 32px; margin-bottom: 20px!important; }
    #home-bl5 p { font-size: 24px; margin-bottom: 25px; line-height: 1.5; }
    #home-bl5 .home-bl5-divider { margin: 25px 0; }
    #home-bl5 .btn-home-bl5 { padding: 18px; font-size: 0.85rem; border-radius: 30px; }
}

/* 575px */
@media (max-width: 575px) {
    #home-bl1.home-bl1-bg { min-height: 400px; }
    #home-bl1.home-bl1-bg img { margin-top: 18%; }
    #home-bl1 .home-bl1-content { padding-left: 20px; padding-right: 20px; }
    #home-bl1 .home-bl1-content h1 { font-size: 1.6rem; line-height: 1.3; }
    #home-bl2.home-bl2-bg { padding: 30px 15px; margin-top: 20px; }
    #home-bl2 .home-bl2-content { gap: 25px; }
    #home-bl2 .home-bl2-text h1 { font-size: 1.4rem; line-height: 1.2; margin-bottom: 20px; }
    #home-bl2 .home-bl2-text p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }
    #home-bl2 .btn-home-bl2 { width: 70%; padding: 10px 15px; font-size: 0.8rem; }
    #home-bl3.home-bl3-bg { padding: 30px 15px; margin-top: 20px; background: linear-gradient(to bottom, #ffffff 40%, #354452 40%); }
    #home-bl3 .home-bl3-content > div { padding: 25px; border-radius: 10px; }
    #home-bl3 .home-bl3-content h1 { font-size: 1.4rem; line-height: 1.2; margin-bottom: 25px!important; }
    #home-bl3 .especialidades { gap: 18px; }
    #home-bl3 .especialidade { padding: 25px 20px; border-radius: 8px; }
    #home-bl3 .especialidade img { width: 130px; height: 130px; margin-bottom: 20px; }
    #home-bl3 .especialidade h3 { font-size: 1.05rem; line-height: 1.4; }
    #home-bl4.home-bl4-bg { padding: 30px 15px; }
    #home-bl4 .home-bl4 { margin-top: 2%; }
    #home-bl4 .home-bl4-logo { max-width: 180px; margin-bottom: 20px; }
    #home-bl4 .home-bl4-form-container { padding: 15px; border-radius: 8px; }
    #home-bl4 .home-bl4-text { font-size: 16px; margin-bottom: 15px!important; text-align: center; }
    #home-bl4 .wpcf7-form { gap: 10px; }
    #home-bl4 .wpcf7-form .form-control { padding: 11px; font-size: 0.9rem; }
    #home-bl4 .wpcf7-form .btn { padding: 11px 20px; font-size: 0.85rem; }
    #home-bl4 .btn-home-bl4-news { padding: 16px; font-size: 0.8rem; border-radius: 25px; }
    #home-bl5.home-bl5-bg { padding: 30px 15px; margin-top: 20px; }
    #home-bl5 h1 { font-size: 28px; line-height: 1.2; margin-bottom: 18px!important; }
    #home-bl5 p { font-size: 20px; line-height: 1.4; margin-bottom: 20px; }
    #home-bl5 .home-bl5-divider { margin: 20px 0; }
    #home-bl5 .btn-home-bl5 { padding: 16px; font-size: 0.8rem; border-radius: 25px; }
}


/* Regras para sobreposição em telas menores */
@media (max-width: 767.5px) {
    #home-bl1.home-bl1-bg {
        min-height: 450px;
    }

    #home-bl2.home-bl2-bg {
        margin-top: -90px; /* Aproximadamente 20% de 450px */
        position: relative;
        z-index: 2;
    }
}

