.contato-page-content {
    padding-top: 140px;
    padding-bottom: 60px;
    background-color: #f8f9fa;
}

.contato-page-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--red-color);
}

.contato-page-title h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.contato-page-title p {
    font-size: 1.1rem;
    color: var(--text-grey);
    max-width: 600px;
    margin: 0 auto;
}

.contato-box {
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    background-color: var(--white-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.contato-info {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    background-color: var(--white-color);
    color: var(--text-grey);
    box-sizing: border-box;
}

.contato-info h2 {
    color: var(--text-grey);
    margin-bottom: 30px;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 15px;
    margin-top: 5px;
    width: 25px;
    text-align: center;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1rem;
    color: var(--red-color);
    font-weight: 600;
}

.info-item p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.info-item a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--red-color);
    text-decoration: underline;
}

.info-item .map-link {
    display: inline-block;
    margin-top: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.contato-form-container {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: var(--white-color);
    box-sizing: border-box;
    border-left: 1px solid #eee;
}

.formulario {
    width: 100% !important;
}

.formulario h2 {
   color: var(--text-grey);
   text-align: center;
   padding-bottom: 10px;
   margin-bottom: 30px;
   font-size: 1.8rem;
   border-bottom: 2px solid var(--secondary-color);
}

.formulario p {
   text-align: center;
   width: 75%;
   margin-bottom: 30px;
   font-size: 1rem;
   color: var(--text-grey);
}

.formulario form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-grey);
}

.formulario form input[type="text"],
.formulario form input[type="email"],
.formulario form input[type="tel"],
.formulario form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--secondary-color);
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    background-color: rgb(238, 238, 238);
}

.formulario form input[type="text"]:focus,
.formulario form input[type="email"]:focus,
.formulario form input[type="tel"]:focus,
.formulario form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.formulario form textarea {
    height: 120px;
    resize: none;
}

.formulario form .g-recaptcha {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.formulario form button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1.1rem;
    background-color: var(--red-color);
    color: var(--white-color);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0; 
}

.formulario form button:hover {
    background-color: var(--red-color-brighter);
    opacity: 1;
    transform: none;
}

#loadingIcon, #successMessage {
    text-align: center;
    margin-top: 15px;
    font-size: 1rem;
}
#successMessage {
    color: #066b2b;
    font-weight: bold;
}

#menu-icon {
    font-size: 35px;
    color: var(--white-color);
    cursor: pointer;
    z-index: 10001;
    display: none;
    transition: all .50s ease;
}

@media (max-width: 1090px) {
    #menu-icon {
        display: block;
        transition: all .50s ease;
    }

    header {
        background-color: var(--red-color);
        position: fixed;
        z-index: 1009;
    }

    .navbar {
        position: absolute;
        display: flex;
        top: 0%;
        left: -100%;
        z-index: -10009;
        width: 70vw;
        height: 100vh;
        background: var(--red-color);
        flex-direction: column;
        justify-content: flex-start;
        transition: all 0.5s;
    }

    .navbar a {
        display: block;
        border-bottom: 1px solid var(--border-white);
        transition: all .50s;
        color: var(--white-color);
        background-color: transparent;
        padding: 0 25px;
        margin: 0 auto;
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .navbar a:hover {
        color: var(--main-color);
        background-color: gainsboro;
        padding: 0;
        border-radius: 0;
        padding: 0 25px;
        margin: 0 auto;
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .navbar a.active {
        color: var(--red-color);
        background-color: var(--white-color);
        padding: 0;
        border-radius: 0;
        padding: 0 25px;
        margin: 0 auto;
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .navbar.open {
        transition: all .50s ease;
        left: 0;
        opacity: 1;
        z-index: 10009;
        box-shadow: 4px 0px 10px var(--border-black);
    }

    header.scrolled .navbar {
        position: absolute;
        display: flex;
        top: 0%;
        left: -100%;
        z-index: -10009;
        width: 70vw;
        height: 100vh;
        background: var(--bg-color);
        flex-direction: column;
        justify-content: flex-start;
        transition: all 0.5s;
    }

    header.scrolled .navbar a {
        display: block;
        border-bottom: 1px solid var(--border-white);
        transition: all .50s;
        color: var(--white-color);
        background-color: transparent;
        padding: 0 25px;
        margin: 0 auto;
        padding-top: 42px;
        padding-bottom: 42px;
    }

    header.scrolled .navbar.open {
        transition: all .50s ease;
        left: 0;
        opacity: 1;
        z-index: 10009;
        box-shadow: 4px 0px 10px var(--border-black);
        background-color: var(--red-color);
    }

    header.scrolled .navbar a:hover {
        color: var(--bg-color);
        background-color: var(--main-color);
        padding: 0;
        border-radius: 0;
        padding: 0 25px;
        margin: 0 auto;
        padding-top: 42px;
        padding-bottom: 42px;
    }

    header.scrolled .navbar a.active {
        color: var(--red-color);
        background-color: var(--white-color);
        padding: 0;
        border-radius: 0;
        padding: 0 25px;
        margin: 0 auto;
        padding-top: 42px;
        padding-bottom: 42px;
    }

    header.scrolled {
        position: fixed;
        border: none;
        z-index: 1009;
    }

    header.scrolled .navbar.open header {
        z-index: 1;
    }

}

@media (max-width: 768px) {
    .contato-box {
        flex-direction: column;
    }

    #menu-icon {
        display: block;
        transition: all .50s ease;
    }

    .contato-info,
    .contato-form-container {
        flex-basis: auto;
        width: auto;
        border-left: none;
    }
    
    .contato-form-container {
        border-top: 1px solid #eee; 
    }
    
    .contato-info {
        border-bottom: 1px solid #eee;
        align-items: center !important;
        margin: 0 auto !important;
    }

    .contato-page-title h1 {
        font-size: 2rem;
    }
    .contato-page-title p {
        font-size: 1rem;
    }
    .contato-info h2, .formulario h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contato-info, .contato-form-container {
        padding: 25px;
    }
    .contato-page-content {
        padding-top: 120px; 
        padding-bottom: 40px; 
    }
}