/*
Theme Name:   GAPI Fácil
Author:       Genesis GAPI
Description:  Um tema limpo e funcional criado especialmente para a imobiliária Genesis GAPI.
Version:      1.0
*/

/* --- Cores da Marca e Variáveis --- */
:root {
--cor-azul: #0D47A1;
--cor-verde: #2E8B57;
--cor-dourado: #D4AF37;
--cor-fundo: #f8f9fa;
--cor-texto: #343a40;
--cor-branco: #ffffff;
--sombra-suave: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- Estilos Gerais --- */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.7;
background-color: var(--cor-fundo);
color: var(--cor-texto);
margin: 0;
display: flex;
flex-direction: column;
min-height: 100vh;
}

.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
flex-grow: 1;
}

a {
color: var(--cor-verde);
text-decoration: none;
transition: color 0.3s;
}
a:hover {
color: var(--cor-azul);
}

h1, h2, h3, h4, h5, h6 {
color: var(--cor-azul);
font-weight: 600;
}

/* --- Cabeçalho --- */
.site-header {
background-color: var(--cor-branco);
padding: 20px;
margin-bottom: 2rem;
box-shadow: var(--sombra-suave);
display: flex;
justify-content: space-between;
align-items: center;
}

.site-title a {
color: var(--cor-azul);
font-size: 2rem;
font-weight: 700;
text-decoration: none;
}

/* --- Rodapé --- */
.site-footer {
background-color: var(--cor-azul);
color: var(--cor-branco);
padding: 2rem;
text-align: center;
margin-top: 2rem;
}
.site-footer a {
color: var(--cor-dourado);
}

/* --- Lista de Imóveis (Página de Arquivo) --- */
.imoveis-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 2rem;
}

.imovel-card {
background: var(--cor-branco);
border-radius: 8px;
overflow: hidden;
box-shadow: var(--sombra-suave);
transition: transform 0.3s ease;
}
.imovel-card:hover {
transform: translateY(-5px);
}

.imovel-card-thumb img {
width: 100%;
height: 220px;
object-fit: cover;
display: block;
}

.imovel-card-content {
padding: 1.5rem;
}

.imovel-card-title {
margin: 0 0 0.5rem 0;
font-size: 1.5rem;
}
.imovel-card-title a {
color: var(--cor-azul);
text-decoration: none;
}

.imovel-card-price {
font-size: 1.4rem;
font-weight: 700;
color: var(--cor-verde);
margin-bottom: 1rem;
}

.imovel-card-meta {
list-style: none;
padding: 0;
margin: 0;
display: flex;
gap: 1rem;
color: #6c757d;
font-size: 0.9rem;
}

/* --- Página de Detalhes do Imóvel --- */
.imovel-single-layout {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 2rem;
background: var(--cor-branco);
padding: 2rem;
box-shadow: var(--sombra-suave);
}

.imovel-gallery img {
max-width: 100%;
height: auto;
border-radius: 8px;
margin-bottom: 1rem;
}

.imovel-sidebar .price {
font-size: 2.5rem;
font-weight: 700;
color: var(--cor-verde);
margin-bottom: 1.5rem;
text-align: center;
}

.imovel-sidebar .details-list {
list-style: none;
padding: 0;
margin: 0;
border-top: 1px solid #eee;
}
.imovel-sidebar .details-list li {
padding: 1rem 0;
border-bottom: 1px solid #eee;
display: flex;
justify-content: space-between;
}