/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 12px;
    background: white;
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c5aa0;
}

.navbar {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #2c5aa0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2c5aa0;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-content .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease;
}

.hero-text h2 {
    font-size: 1.5rem;
    color: #87ceeb;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #25d366;
    color: white;
}

.btn-primary:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2c5aa0;
    transform: translateY(-3px);
}

.hero-image {
    text-align: center;
    animation: fadeInRight 1s ease 0.8s both;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Seções Gerais */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 15px;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #25d366;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Serviços Section */
.servicos {
    padding: 80px 0;
    background: #f8f9fa;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.servico-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #2c5aa0;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.servico-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5aa0, #1e3a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.servico-card h3 {
    font-size: 1.3rem;
    color: #2c5aa0;
    margin-bottom: 15px;
}

.servico-card p {
    color: #666;
    line-height: 1.6;
}

/* Sobre Section */
.sobre {
    padding: 80px 0;
    background: white;
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-text h2 {
    font-size: 2.2rem;
    color: #2c5aa0;
    margin-bottom: 20px;
}

.sobre-text p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.sobre-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2c5aa0;
    font-weight: 500;
}

.feature i {
    color: #25d366;
    font-size: 1.2rem;
}

.sobre-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Contato Section */
.contato {
    padding: 80px 0;
    background: #f8f9fa;
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contato-info h3,
.contato-form h3 {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-bottom: 30px;
}

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

.info-item i {
    color: #25d366;
    font-size: 1.3rem;
    margin-top: 5px;
    min-width: 20px;
}

.info-item strong {
    color: #2c5aa0;
    display: block;
    margin-bottom: 5px;
}

.info-item p {
    color: #666;
    margin: 0;
}

/* Formulário */
.contato-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c5aa0;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

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

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo {
    height: 40px;
    width: 40px;
    object-fit: cover;
    border-radius: 10px;
    background: white;
    padding: 4px;
}

.footer-brand span {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c5aa0;
}

.footer-info p {
    color: #ccc;
    line-height: 1.6;
}

.footer-contact h4,
.footer-services h4 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: #25d366;
    width: 16px;
}

.footer-services ul {
    list-style: none;
}

.footer-services li {
    color: #ccc;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.footer-services li::before {
    content: '•';
    color: #25d366;
    position: absolute;
    left: 0;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

.footer-credit {
    margin-top: 10px;
    font-size: 0.9rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float a:hover {
    background: #128c7e;
    transform: scale(1.1);
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 20px 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 10px 20px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .header .container {
        padding: 10px 20px;
    }
    
    .logo {
        height: 40px;
        width: 40px;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
    
    .btn-whatsapp {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .hero-content .container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-text h2 {
        font-size: 1.3rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .servico-card {
        padding: 30px 20px;
    }
    
    .sobre-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contato-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .sobre-features {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .bairros-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 12px;
    }
    
    .bairro-card {
        padding: 15px;
        font-size: 0.9rem;
        min-height: 50px;
    }
    
    .search-input {
        font-size: 1rem;
        padding: 12px 18px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-text h2 {
        font-size: 1.1rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-buttons {
        width: 100%;
    }
    
    .servico-card {
        padding: 25px 15px;
    }
    
    .servico-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contato-form {
        padding: 30px 20px;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .bairros-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .bairro-card {
        padding: 12px 8px;
        font-size: 0.8rem;
        min-height: 45px;
    }
    
    .bairros-cta {
        padding: 30px 15px;
    }
    
    .bairros-cta p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .brand-text {
        font-size: 1rem;
    }
    
    .logo {
        height: 35px;
        width: 35px;
    }
    
    .nav-brand {
        gap: 8px;
    }
}


/* Bairros Section */
.bairros {
    padding: 80px 0;
    background: white;
}

.bairros-search {
    max-width: 500px;
    margin: 0 auto 40px;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.search-input:focus {
    outline: none;
    border-color: #2c5aa0;
    background: white;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.bairros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.bairro-card {
    background: linear-gradient(135deg, #2c5aa0, #1e3a8a);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.bairro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.bairro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(44, 90, 160, 0.3);
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.bairro-card:hover::before {
    left: 100%;
}

.bairro-card:nth-child(even) {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.bairro-card:nth-child(even):hover {
    background: linear-gradient(135deg, #2c5aa0, #1e3a8a);
}

.bairros-cta {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px dashed #2c5aa0;
}

.bairros-cta p {
    font-size: 1.2rem;
    color: #2c5aa0;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Responsividade para Bairros */
@media (max-width: 768px) {
    .bairros-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 12px;
    }
    
    .bairro-card {
        padding: 15px;
        font-size: 0.9rem;
        min-height: 50px;
    }
    
    .search-input {
        font-size: 1rem;
        padding: 12px 18px;
    }
}

@media (max-width: 480px) {
    .bairros-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .bairro-card {
        padding: 12px 8px;
        font-size: 0.8rem;
        min-height: 45px;
    }
    
    .bairros-cta {
        padding: 30px 15px;
    }
    
    .bairros-cta p {
        font-size: 1rem;
    }
}

/* Animação de entrada para bairros */
.bairro-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.bairro-card:nth-child(1) { animation-delay: 0.1s; }
.bairro-card:nth-child(2) { animation-delay: 0.2s; }
.bairro-card:nth-child(3) { animation-delay: 0.3s; }
.bairro-card:nth-child(4) { animation-delay: 0.4s; }
.bairro-card:nth-child(5) { animation-delay: 0.5s; }
.bairro-card:nth-child(6) { animation-delay: 0.6s; }

/* Efeito de busca */
.bairro-card[style*="display: none"] {
    display: none !important;
}

.bairro-card:not([style*="display: none"]) {
    display: flex !important;
}

