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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: #000000;
    transition: all 0.3s ease;
}

a:hover {
    color: #555;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #000000;
    color: #fff;
}

.btn-primary:hover {
    background-color: #333;
    color: #fff;
}

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

.btn-secondary:hover {
    background-color: #000000;
    color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: #0056b3;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #0056b3;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo img {
    height: 50px;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin: 0 15px;
}

.main-nav ul li a {
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0056b3;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 61, 122, 0.8)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 180px 0 100px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Fast Service Section */
.fast-service {
    background-color: #000000;
    color: #fff;
    padding: 40px 0;
}

.fast-service-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.fast-service .icon {
    font-size: 48px;
}

.fast-service h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.fast-service p {
    font-size: 18px;
    margin-bottom: 0;
}

/* About Section */
.about {
    background-color: #fff;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-image {
    flex: 1;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    color: #0056b3;
    margin-bottom: 20px;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    text-align: center;
}

.stat-item h4 {
    font-size: 36px;
    color: #0056b3;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 16px;
    color: #666;
}

/* Services Section */
.services {
    background-color: #f9f9f9;
}

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

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 48px;
    color: #0056b3;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* Features Section */
.features {
    background-color: #fff;
}

.features-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature-item {
    display: flex;
    gap: 30px;
    align-items: center;
}

.feature-icon {
    font-size: 48px;
    color: #0056b3;
    min-width: 80px;
    text-align: center;
}

.feature-content h3 {
    font-size: 24px;
    color: #0056b3;
    margin-bottom: 15px;
}

/* System & App Section */
.system-app {
    background-color: #f9f9f9;
}

.system-app-content {
    display: flex;
    gap: 50px;
}

.system-content, .app-content {
    flex: 1;
}

.system-content h3, .app-content h3 {
    font-size: 28px;
    color: #0056b3;
    margin-bottom: 20px;
}

.system-features {
    margin-top: 30px;
}

.system-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.system-features li i {
    color: #0056b3;
    margin-right: 10px;
}

.app-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.app-feature-icon {
    font-size: 24px;
    color: #0056b3;
    min-width: 40px;
    text-align: center;
}

.app-feature-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.app-download {
    margin-top: 30px;
    text-align: center;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.app-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
}

.app-button:hover {
    background-color: #0056b3;
    color: #fff;
}

/* Benefits Section */
.benefits {
    background-color: #fff;
}

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

.benefit-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    background-color: #0056b3;
    color: #fff;
}

.benefit-card:hover .benefit-icon {
    color: #fff;
}

.benefit-icon {
    font-size: 48px;
    color: #0056b3;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.benefit-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* Services Included Section */
.services-included {
    background-color: #f9f9f9;
}

.services-included-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-item i {
    color: #0056b3;
    font-size: 20px;
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 61, 122, 0.9)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact {
    background-color: #fff;
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 24px;
    color: #0056b3;
    min-width: 40px;
    text-align: center;
}

.contact-text h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.social-media {
    margin-top: 40px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #0056b3;
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #003d7a;
    color: #fff;
}

.contact-form h3 {
    font-size: 24px;
    color: #0056b3;
    margin-bottom: 30px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

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

/* Footer */
.footer {
    background-color: #0056b3;
    color: #fff;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-logo p {
    font-size: 14px;
}

.footer h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #fff;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-services ul li a {
    color: #fff;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact p i {
    margin-right: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social .social-icon {
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-social .social-icon:hover {
    background-color: #fff;
    color: #0056b3;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content,
    .system-app-content,
    .contact-content {
        flex-direction: column;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin-bottom: 15px;
    }
    
    .services-grid,
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .main-nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .fast-service-content {
        flex-direction: column;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .app-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .app-feature-icon {
        margin-bottom: 10px;
    }
    
    .services-included-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-bottom: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366; /* Cor padrão do WhatsApp */
    color: #fff;
    font-size: 24px;
    width: 60px;  /* Altura e largura iguais */
    height: 60px;
    border-radius: 50%; /* Deixa redondo */
    display: flex;  /* Centraliza o ícone */
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1ebe57; /* Tom mais escuro no hover */
}

/* Cores principais: preto e branco */
body {
    background-color: #fff; /* fundo principal branco */
    color: #000; /* texto preto */
}

a {
    color: #000;
}

a:hover {
    color: #555; /* cinza suave ao passar o mouse */
}

/* Botões primários pretos */
.btn-primary {
    background-color: #000;
    color: #fff;
}

.btn-primary:hover {
    background-color: #333;
    color: #fff;
}

/* Botões secundários preto e branco */
.btn-secondary {
    background-color: transparent;
    border: 2px solid #000;
    color: #000;
}

.btn-secondary:hover {
    background-color: #000;
    color: #fff;
}

/* Seções em destaque (hero, fast-service, etc.) */
.hero {
    background: #000; /* fundo preto */
    color: #fff;
}

.fast-service {
    background-color: #000;
    color: #fff;
}

.cta {
    background: #000;
    color: #fff;
}

/* Ícones e elementos de destaque */
.service-icon,
.feature-icon,
.benefit-icon,
.contact-icon {
    color: #000;
}

.service-card:hover,
.benefit-card:hover,
.service-item:hover {
    background-color: #000;
    color: #fff;
}

.footer {
    background-color: #000;
    color: #fff;
}

.footer a,
.footer a:hover {
    color: #fff;
}

/* Botão flutuante WhatsApp (mantendo verde) */
.whatsapp-float {
    background-color: #25d366;
    color: #fff;
}

.service-card:hover,
.benefit-card:hover,
.service-item:hover {
    background-color: #000; /* fundo preto */
    color: #fff; /* texto branco */
}

.service-card:hover .service-icon,
.benefit-card:hover .benefit-icon,
.service-item:hover i {
    color: #fff; /* ícone branco */
}

/* Ajusta todos os textos que ainda estão azuis para preto */
.section-header h2,
.stat-item h4,
.service-icon,
.feature-icon,
.benefit-icon,
.contact-icon {
    color: #000 !important;
}

/* Ajuste também para links */
a {
    color: #000;
}

a:hover {
    color: #333;
}

/* Ajuste para o fundo de cards em hover e texto em hover */
.service-card:hover,
.benefit-card:hover,
.service-item:hover {
    background-color: #000;
    color: #fff;
}

.service-card:hover .service-icon,
.benefit-card:hover .benefit-icon,
.service-item:hover i {
    color: #fff;
}

/* Ajuste dos títulos (ex.: Sistema de Gestão, Aplicativo para Moradores) */
.system-content h3,
.app-content h3,
.app-feature-text h4 {
    color: #000 !important;
}

/* Ajuste para ícones em listas (check-list) e app-features */
.system-features li i,
.app-feature-icon {
    color: #000 !important;
}

/* Ajuste geral de ícones azuis remanescentes */
.service-icon,
.feature-icon,
.benefit-icon,
.contact-icon {
    color: #000 !important;
}

/* Ajuste dos links */
a {
    color: #000;
}

a:hover {
    color: #333;
}

.footer-social a.social-icon {
    background-color: #000 !important; /* preto */
    color: #fff !important;
}

.footer-social a.social-icon:hover {
    background-color: #333 !important; /* preto mais suave ao passar o mouse */
    color: #fff !important;
}

.contact .social-icon {
    background-color: #000 !important; /* preto */
    color: #fff !important;
}

.contact .social-icon:hover {
    background-color: #333 !important; /* preto mais suave ao passar o mouse */
    color: #fff !important;
}

/* Links gerais */
a {
    color: #000 !important;
}

a:hover {
    color: #333 !important;
}

/* Títulos de seções e headers */
.section-header h2,
.about-text h3,
.system-content h3,
.app-content h3,
.contact-form h3,
.footer h3,
.stats h4,
.stat-item h4,
.contact-text h3,
.app-feature-text h4,
.service-card h3,
.benefit-card h3 {
    color: #000 !important;
}

/* Linhas decorativas embaixo dos títulos */
.section-header h2::after,
.footer h3::after {
    background-color: #000 !important;
}

/* Ícones que estavam azuis */
.service-icon,
.feature-icon,
.benefit-icon,
.contact-icon,
.app-feature-icon,
.social-icon,
.system-features li i {
    color: #000 !important;
}

/* Ícones e textos em hover para fundo escuro (cartões pretos) */
.service-card:hover,
.benefit-card:hover,
.service-item:hover {
    background-color: #000 !important;
    color: #fff !important;
}

.service-card:hover .service-icon,
.benefit-card:hover .benefit-icon,
.service-item:hover i {
    color: #fff !important;
}

/* Botões */
.btn-primary {
    background-color: #000 !important;
    color: #fff !important;
}

.btn-primary:hover {
    background-color: #333 !important;
}

.btn-secondary {
    border: 2px solid #000 !important;
    color: #000 !important;
}

.btn-secondary:hover {
    background-color: #000 !important;
    color: #fff !important;
}

/* Rodapé e ícones de redes sociais */
.footer-social .social-icon,
.contact .social-icon {
    background-color: #000 !important;
    color: #fff !important;
}

.footer-social .social-icon:hover,
.contact .social-icon:hover {
    background-color: #333 !important;
    color: #fff !important;
}

/* Ajuste para todos os elementos dentro de cartões pretos em hover */
.service-card:hover,
.benefit-card:hover,
.service-item:hover {
    background-color: #000 !important; /* fundo preto */
    color: #fff !important; /* texto branco */
}

/* Garantir que títulos (h3) e parágrafos dentro dos cards fiquem brancos no hover */
.service-card:hover h3,
.service-card:hover p,
.benefit-card:hover h3,
.benefit-card:hover p,
.service-item:hover h3,
.service-item:hover p {
    color: #fff !important;
}

/* Ícones nos cards escuros em hover */
.service-card:hover .service-icon,
.benefit-card:hover .benefit-icon,
.service-item:hover i {
    color: #fff !important;
}

/* Títulos dentro da seção de Recursos Exclusivos */
.feature-content h3 {
    color: #000 !important;
}

/* Força o texto do rodapé para branco */
.footer,
.footer p,
.footer a,
.footer h3 {
    color: #fff !important;
}

.hero .btn-primary,
.hero .btn-secondary {
    background-color: transparent !important;
    border: 2px solid #fff !important;
    color: #fff !important;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Hover: muda para branco com texto preto */
.hero .btn-primary:hover,
.hero .btn-secondary:hover {
    background-color: #fff !important;
    color: #000 !important;
}
