/**********************************************/
/*               RESET & BASE STYLES            */
/**********************************************/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark Gray for text - Readability */
    background-color: #F4F7F6; /* Light Grayish Blue - Calm, Clean Background */
    font-size: 16px;
}

html {
    scroll-behavior: smooth;
}

/**********************************************/
/*               TYPOGRAPHY                   */
/**********************************************/

h1, h2, h3, h4, h5, h6 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #0D2C54; /* Deep Indigo - Professional, Trustworthy */
    margin-bottom: 0.75em;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem; /* Responsive font size can be added via media queries */
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    color: #1A4A7A; /* Medium Blue - Trust */
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

a {
    color: #FF8C00; /* Vibrant Orange - Action, Friendly */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: #CC7000; /* Darker Orange for hover */
    text-decoration: underline;
}

img, iframe {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/**********************************************/
/*               LAYOUT & CONTAINER           */
/**********************************************/

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

section {
    padding: 40px 20px;
}

section:nth-of-type(even) {
    background-color: #FFFFFF; /* White for alternating sections */
}

/**********************************************/
/*               HEADER & NAVIGATION          */
/**********************************************/

.site-header {
    background-color: #0D2C54; /* Deep Indigo */
    color: #FFFFFF;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.logo h1 {
    margin: 0;
    font-size: 1.8rem;
    color: #FFFFFF;
}

.nav-menu {
    list-style: none;
    display: flex;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    color: #FFFFFF;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a:focus,
.nav-menu li a.active {
    border-bottom-color: #FF8C00; /* Orange accent for active/hover link */
    color: #FFD700; /* Gold color for hover text */
}

.menu-toggle {
    display: none; /* Hidden by default, shown on mobile */
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.8rem;
    cursor: pointer;
}

/**********************************************/
/*               HERO SECTION                 */
/**********************************************/

.hero-section {
    background: linear-gradient(rgba(13, 44, 84, 0.85), rgba(13, 44, 84, 0.85)), url('https://via.placeholder.com/1500x600.png?text=Hero+Background+Image') no-repeat center center/cover; /* Placeholder - replace with actual image */
    color: #FFFFFF;
    text-align: center;
    padding: 80px 20px;
}

.hero-content h2 {
    font-size: 2.8rem;
    color: #FFFFFF;
    margin-bottom: 0.5em;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5em;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/**********************************************/
/*               BUTTONS                      */
/**********************************************/

.cta-button, .whatsapp-button, .submit-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    border: none;
}

.cta-button {
    background-color: #FF8C00; /* Orange */
    color: #FFFFFF;
}

.cta-button:hover, .cta-button:focus {
    background-color: #CC7000; /* Darker Orange */
    color: #FFFFFF;
    text-decoration: none;
}

.whatsapp-button, .whatsapp-submit-button {
    background-color: #25D366; /* WhatsApp Green */
    color: #FFFFFF;
}

.whatsapp-button:hover, .whatsapp-button:focus, 
.whatsapp-submit-button:hover, .whatsapp-submit-button:focus {
    background-color: #1EAE50; /* Darker WhatsApp Green */
    color: #FFFFFF;
    text-decoration: none;
}

.whatsapp-button i, .whatsapp-submit-button i {
    margin-right: 8px;
}

/**********************************************/
/*               SERVICES SECTION             */
/**********************************************/

.services-overview-section h2,
.detailed-services-section h2,
.neighborhoods-list-section h2 {
    margin-bottom: 2rem;
}

.servicos-grid, .servicos-grid-detailed, .bairros-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.servico-card, .servico-card-detailed, .bairro-card-detailed {
    background-color: #FFFFFF;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-card:hover, .servico-card-detailed:hover, .bairro-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-icon, .service-icon-large, .neighborhood-icon {
    font-size: 2.5rem;
    color: #FF8C00; /* Orange for icons */
    margin-bottom: 15px;
    display: block;
}

.service-icon-large {
    font-size: 3rem;
}

.servico-card h3, .servico-card-detailed h3, .bairro-card-detailed h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.see-more-services, .see-more-neighborhoods {
    text-align: center;
    margin-top: 30px;
}

/**********************************************/
/*               MAP SECTION                  */
/**********************************************/

.location-info-section, .mapa-contato-section, .mapa-bairros-section {
    text-align: center;
}

.mapa-container {
    max-width: 800px;
    margin: 20px auto 0 auto;
    overflow: hidden; /* Ensures border-radius is applied to iframe */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.mapa-container iframe {
    display: block; /* Removes extra space below iframe */
}

/**********************************************/
/*               CONTACT PAGE/SECTION         */
/**********************************************/

.contact-page-section .contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-container-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: flex-start;
}

.contact-info-column h3, .contact-form-column h3 {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.icon-contact {
    font-size: 1.8rem;
    color: #0D2C54; /* Deep Indigo */
    margin-right: 15px;
    width: 30px; /* For alignment */
    text-align: center;
}

.info-item p, .info-item a {
    font-size: 1rem;
    color: #333333;
}

.info-item a:hover {
    color: #FF8C00;
}

.contact-form, .contact-form-detailed {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #1A4A7A; /* Medium Blue */
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    border-color: #FF8C00; /* Orange border on focus */
    outline: none;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    background-color: #0D2C54; /* Deep Indigo for general submit */
    color: #FFFFFF;
}

.submit-button:hover, .submit-button:focus {
    background-color: #1A4A7A; /* Lighter Indigo for hover */
    color: #FFFFFF;
    text-decoration: none;
}

.contact-cta-section, .cta-section-servicos, .cta-section-bairros {
    text-align: center;
    background-color: #E0E7FF; /* Light Blue/Lavender - Inviting */
    padding: 50px 20px;
}

.contact-cta-section h2, .cta-section-servicos h2, .cta-section-bairros h2 {
    margin-bottom: 1rem;
}

/**********************************************/
/*               PAGE TITLE SECTION           */
/**********************************************/

.page-title-section {
    background-color: #1A4A7A; /* Medium Blue */
    color: #FFFFFF;
    padding: 40px 20px;
    text-align: center;
}

.page-title-content h2 {
    color: #FFFFFF;
    font-size: 2.2rem;
}

.page-title-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/**********************************************/
/*               NEIGHBORHOODS PAGE           */
/**********************************************/

.neighborhood-note {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    color: #555555;
}

/**********************************************/
/*               FOOTER                       */
/**********************************************/

.site-footer {
    background-color: #0D2C54; /* Deep Indigo */
    color: #A9B4C2; /* Light Grayish Blue for footer text */
    text-align: center;
    padding: 30px 20px;
    margin-top: auto; /* Pushes footer to bottom if content is short */
}

.footer-content .social-links {
    margin-bottom: 15px;
}

.footer-content .social-links a {
    color: #FFFFFF;
    font-size: 1.8rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-content .social-links a:hover, .footer-content .social-links a:focus {
    color: #FF8C00; /* Orange for social icon hover */
}

.footer-content p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-content p a {
    color: #A9B4C2;
}

.footer-content p a:hover, .footer-content p a:focus {
    color: #FFFFFF;
}

/**********************************************/
/*               RESPONSIVE DESIGN            */
/**********************************************/

/* Tablets and larger phones */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .hero-content h2 { font-size: 2.2rem; }
    .hero-content p { font-size: 1.1rem; }

    .main-navigation {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-toggle {
        display: block; /* Show hamburger icon */
        align-self: flex-end; /* Position to the right */
        position: absolute; /* Take out of flow for positioning */
        top: 15px;
        right: 20px;
    }

    .nav-menu {
        display: none; /* Hide menu by default on mobile */
        flex-direction: column;
        width: 100%;
        background-color: #1A4A7A; /* Slightly lighter blue for dropdown */
        padding: 10px 0;
        position: absolute;
        top: 60px; /* Adjust based on header height */
        left: 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex; /* Show menu when active */
    }

    .nav-menu li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid #0D2C54; /* Separator for menu items */
    }
    .nav-menu li:last-child a {
        border-bottom: none;
    }

    .nav-menu a:hover, .nav-menu a:focus {
        background-color: #0D2C54;
        border-bottom-color: #0D2C54;
    }

    .contact-container-grid {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
    }

    .contact-info-column {
        margin-bottom: 30px;
    }
}

/* Smaller phones */
@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    .logo h1 { font-size: 1.5rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    .hero-content h2 { font-size: 1.8rem; }
    .hero-content p { font-size: 1rem; }

    .cta-button, .whatsapp-button, .submit-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    section {
        padding: 30px 15px;
    }

    .servicos-grid, .servicos-grid-detailed, .bairros-grid-detailed {
        grid-template-columns: 1fr; /* Single column for cards */
    }
}

/* Accessibility: Focus visible for keyboard navigation */
*:focus-visible {
    outline: 3px solid #FF8C00; /* Orange outline */
    outline-offset: 2px;
}

