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

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #2c3e50;
    margin: 15px auto 0;
}

section {
    padding: 60px 0;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0;
}

.logo img {
    height: 85px;
    /*width: auto;*/
}

.main-nav ul {
    display: flex;
}

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

.main-nav ul li a {
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav ul li a:hover {
    color: #3498db;
}

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

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 2px 0;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu ul {
    padding: 20px;
}

.mobile-menu ul li {
    margin-bottom: 15px;
}

.mobile-menu ul li a {
    display: block;
    padding: 10px;
    font-weight: 500;
}

/* Banner */
.banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/praias-de-santos.jpg');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.banner-content {
    max-width: 800px;
    padding: 0 20px;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.banner p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.search-container {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.search-box select,
.search-box input {
    flex: 1;
    min-width: 150px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.search-box button {
    padding: 12px 25px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.search-box button:hover {
    background-color: #2980b9;
}

/* Imóveis Grid */
.imoveis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.imovel-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.imovel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.imovel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.status-tag.venda {
    background-color: #2ecc71;
}

.status-tag.aluguel {
    background-color: #3498db;
}

.status-tag.vendido {
    background-color: #e74c3c;
}

.status-tag.alugado {
    background-color: #f39c12;
}

.imovel-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.imovel-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.imovel-local {
    color: #777;
    margin-bottom: 10px;
}

.imovel-preco {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.imovel-detalhes {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    color: #666;
}

.imovel-detalhes span {
    display: flex;
    align-items: center;
}

.imovel-detalhes i {
    margin-right: 5px;
    color: #3498db;
}

.btn-ver-mais {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: #fff;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
    text-align: center;
    margin-top: auto;
}

.btn-ver-mais:hover {
    background-color: #2980b9;
}

.ver-todos {
    text-align: center;
    margin-top: 40px;
}

.btn-ver-todos {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: #3498db;
    border: 2px solid #3498db;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-ver-todos:hover {
    background-color: #3498db;
    color: #fff;
}

/* Serviços */
.servicos {
    background-color: #f5f5f5;
}

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

.servico-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    height: 100%;
}

.servico-card:hover {
    transform: translateY(-5px);
}

.servico-card i {
    font-size: 40px;
    color: #3498db;
    margin-bottom: 20px;
}

.servico-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Contato Rápido */
.contato-rapido {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://u2imoveis.com.br/assets/img/banner-contato-768x220.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.contato-content {
    max-width: 700px;
    margin: 0 auto;
}

.contato-content h2 {
    font-size: 36px;
}

.contato-content h2:after {
    background-color: #fff;
}

.contato-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn-contato {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3498db;
    color: #fff;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-contato:hover {
    background-color: #2980b9;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding-top: 60px;
}

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

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

.footer-col h3:after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: #3498db;
    margin-top: 10px;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 15px;
}

.footer-col p {
    margin-bottom: 20px;
    color: #ccc;
}

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

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s;
}

.social-media a:hover {
    background-color: #3498db;
}

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

.footer-col ul li a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #3498db;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #ccc;
}

.contact-info li i {
    margin-right: 10px;
    color: #3498db;
}

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

/* Formulários */
.form-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

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

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
}

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

.btn-submit {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #2980b9;
}

.success-message {
    text-align: center;
    padding: 30px;
}

.success-message i {
    font-size: 60px;
    color: #2ecc71;
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* Página de contato */
.contato-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contato-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
}

.contato-card i {
    font-size: 40px;
    color: #3498db;
    margin-bottom: 20px;
}

.contato-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.contato-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contato-mapa {
    height: 100%;
    min-height: 400px;
}

.contato-mapa iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: none;
}

/* Página Sobre */
.sobre-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://u2imoveis.com.br/assets/img/bg.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    margin-bottom: 60px;
}

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

.sobre-header p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.sobre-content {
    margin-bottom: 60px;
}

.sobre-section {
    margin-bottom: 60px;
}

.sobre-section h2 {
    text-align: left;
}

.sobre-section h2:after {
    margin-left: 0;
}

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

.sobre-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
}

.sobre-card i {
    font-size: 40px;
    color: #3498db;
    margin-bottom: 20px;
}

.sobre-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

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

.membro-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.membro-img {
    height: 250px;
}

.membro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.membro-info {
    padding: 20px;
}

.membro-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.membro-info p {
    color: #777;
    margin-bottom: 15px;
}

.membro-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.membro-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #f5f5f5;
    border-radius: 50%;
    color: #333;
    transition: all 0.3s;
}

.membro-social a:hover {
    background-color: #3498db;
    color: #fff;
}

/* Responsividade */
@media (max-width: 1200px) {
    .imoveis-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .contato-form-container {
        grid-template-columns: 1fr;
    }
    
    .search-box select,
    .search-box input,
    .search-box button {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .banner h1 {
        font-size: 36px;
    }
    
    .banner p {
        font-size: 18px;
    }
    
    .imoveis-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .sobre-header h1 {
        font-size: 36px;
    }
    
    .sobre-header p {
        font-size: 18px;
    }
    
    .search-box select,
    .search-box input,
    .search-box button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .banner {
        height: 500px;
    }
    
    .banner h1 {
        font-size: 32px;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-box select,
    .search-box input,
    .search-box button {
        width: 100%;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .imoveis-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
    
    .servicos-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .contato-info {
        grid-template-columns: 1fr;
    }
    
    .sobre-grid {
        grid-template-columns: 1fr;
    }
    
    .equipe-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .banner {
        height: 400px;
    }
    
    .banner h1 {
        font-size: 28px;
    }
    
    .banner p {
        font-size: 16px;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .sobre-header {
        padding: 60px 0;
    }
    
    .sobre-header h1 {
        font-size: 28px;
    }
    
    .equipe-grid {
        grid-template-columns: 1fr;
    }
}