/* Estilos Gerais */
:root {
    --primary-color: #0056b3; /* Azul */
    --secondary-color: #ffc107; /* Amarelo */
    --dark-blue: #003a75;
    --light-blue: #e6f2ff;
    --dark-yellow: #e6ac00;
    --light-yellow: #fff8e1;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
    --gray-light: #f8f9fa;
    --gray: #e9ecef;
    --gray-dark: #6c757d;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--dark-blue);
}

ul {
    list-style: none;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Botões */
.btn-contato {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-contato:hover {
    background-color: var(--dark-yellow);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-search {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-search:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
}

.btn-detalhes {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 500;
    margin-top: 15px;
    transition: var(--transition);
}

.btn-detalhes:hover {
    background-color: var(--dark-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-ver-mais {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-ver-mais:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-enviar {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
}

.btn-enviar:hover {
    background-color: var(--dark-yellow);
    transform: translateY(-2px);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.logo p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
}

nav .menu {
    display: flex;
    align-items: center;
}

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

nav .menu li a {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

nav .menu li a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Banner */
.banner {
    background: linear-gradient(rgba(0, 86, 179, 0.8), rgba(0, 86, 179, 0.8)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1500&q=80') no-repeat center center/cover;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

.banner-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.search-box {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.search-box form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.search-box .form-group {
    flex: 1 1 200px;
}

.search-box select,
.search-box input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray);
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.search-box select:focus,
.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Imóveis em Destaque */
.destaques {
    padding: 80px 0;
    background-color: var(--gray-light);
}

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

.imovel-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.imovel-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.imovel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.imovel-card:hover .imovel-img img {
    transform: scale(1.1);
}

.tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.tag.venda {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.tag.aluguel {
    background-color: var(--primary-color);
    color: var(--white);
}

.imovel-info {
    padding: 20px;
}

.imovel-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.localizacao {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.localizacao i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.preco {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.caracteristicas {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.caracteristicas span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.caracteristicas i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.ver-mais {
    text-align: center;
    margin-top: 50px;
}

/* Serviços */
.servicos {
    padding: 80px 0;
    background-color: var(--white);
}

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

.servico-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: var(--light-blue);
    transition: var(--transition);
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.servico-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.servico-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.servico-card p {
    color: var(--text-light);
}

/* Sobre Nós */
.sobre {
    padding: 80px 0;
    background-color: var(--light-yellow);
}

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

.sobre-text {
    flex: 1;
}

.sobre-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.sobre-img {
    flex: 1;
}

.sobre-img img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.numeros {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.numero-item {
    text-align: center;
}

.numero {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.texto {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Depoimentos */
.depoimentos {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.depoimentos .section-title {
    color: var(--white);
}

.depoimentos .section-title::after {
    background-color: var(--secondary-color);
}

.depoimentos-slider {
    display: flex;
    overflow: hidden;
    margin-bottom: 30px;
}

.depoimento-card {
    flex: 0 0 100%;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 0 15px;
}

.depoimento-texto {
    margin-bottom: 20px;
    font-style: italic;
}

.depoimento-autor {
    display: flex;
    align-items: center;
}

.depoimento-autor img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    border: 3px solid var(--secondary-color);
}

.depoimento-autor h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.depoimento-autor p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.depoimentos-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.nav-btn {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.nav-btn:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Contato */
.contato {
    padding: 80px 0;
    background-color: var(--gray-light);
}

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

.contato-form {
    flex: 1;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray);
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contato-info {
    flex: 1;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-right: 20px;
}

.info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.info-item p {
    color: var(--text-light);
    margin-bottom: 5px;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-5px);
}

/* Mapa */
.mapa {
    height: 450px;
}

.mapa iframe {
    display: block;
}

/* Newsletter */
.newsletter {
    padding: 50px 0;
    background-color: var(--secondary-color);
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.newsletter-text h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.newsletter-text p {
    color: var(--text-dark);
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--dark-blue);
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1 1 300px;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-logo p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-links {
    flex: 1 1 200px;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

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

.footer-links ul li a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

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

.footer-bottom p {
    opacity: 0.7;
    margin-bottom: 10px;
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Media Queries */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .banner-content h2 {
        font-size: 2.5rem;
    }
    
    .sobre-content {
        flex-direction: column;
    }
    
    .contato-content {
        flex-direction: column;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav .menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 20px;
        box-shadow: var(--shadow);
        transition: var(--transition);
        z-index: 999;
    }
    
    nav .menu.active {
        left: 0;
    }
    
    nav .menu li {
        margin: 15px 0;
    }
    
    .banner {
        padding: 60px 0;
    }
    
    .banner-content h2 {
        font-size: 2rem;
    }
    
    .imoveis-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .footer-content {
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .banner-content h2 {
        font-size: 1.8rem;
    }
    
    .search-box {
        padding: 20px;
    }
    
    .search-box .form-group {
        flex: 1 1 100%;
    }
    
    .imoveis-grid {
        grid-template-columns: 1fr;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .numeros {
        justify-content: center;
    }
    
    .depoimento-card {
        padding: 20px;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex: 1 1 100%;
    }
}
