/*
Theme Name: Imob São Paulo
Theme URI: https://imobsaopaulo.com.br
Description: Clone do site imobsaopaulo.com.br - Tema para imobiliária
Version: 1.0.0
Author: Imob São Paulo
Author URI: https://imobsaopaulo.com.br
Text Domain: imob-sao-paulo
License: GPL v2 or later
*/

/* Reset CSS */
* {
    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: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}



.site-branding {
    flex-shrink: 0;
}

.custom-logo {
    max-height: 60px;
    width: auto;
}

.site-title {
    margin: 0;
}

.site-title a {
    text-decoration: none;
    color: var(--dark-color);
    font-size: 24px;
    font-weight: bold;
}

.main-navigation {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}




/* Advanced Search */
.advanced-search {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 30px;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-control {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}



/* Properties Grid */
.properties-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.property-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.property-badge.aluguel {
    background: var(--success-color);
}

.property-badge.vendido {
    background: var(--secondary-color);
}

.property-badge.alugado {
    background: var(--danger-color);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-content {
    padding: 25px;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.property-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.property-title a {
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
}

.property-title a:hover {
    color: var(--primary-color);
}

.property-address {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 14px;
}

.property-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--secondary-color);
}

.property-link {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    width: 100%;
}

.property-link:hover {
    background: #0056b3;
    color: var(--white);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer */
.site-footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-widget p {
    color: #adb5bd;
    line-height: 1.8;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #495057;
    border-radius: var(--border-radius);
    background: #495057;
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: #adb5bd;
}

.newsletter-form button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #0056b3;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #495057;
    color: #adb5bd;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-main {
        flex-direction: column;
        gap: 15px;
    }
    
    .menu-primary {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .hero-section {
        padding: 120px 0 60px;
        margin-top: 140px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .property-features {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .header-contact {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}
/* ==============================================
   ESTILOS PARA IMÓVEIS
   ============================================== */

/* Cards de imóveis */
.property-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.property-featured {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}

.featured-badge {
    background: #ffc107;
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-thumbnail {
    transform: scale(1.05);
}

.property-status {
    position: absolute;
    top: 15px;
    right: 15px;
}

.status-badge {
    background: #007bff;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-badge.status-venda {
    background: #007bff;
}

.status-badge.status-aluguel {
    background: #28a745;
}

.status-badge.status-vendido {
    background: #6c757d;
}

.status-badge.status-alugado {
    background: #dc3545;
}

.property-content {
    padding: 25px;
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.property-type {
    background: #f8f9fa;
    padding: 3px 10px;
    border-radius: 15px;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.property-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.property-title a:hover {
    color: #007bff;
}

.property-address {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 20px;
}

.property-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    font-size: 1.2rem;
}

.feature-value {
    font-weight: bold;
    color: #333;
}

.feature-label {
    color: #666;
    font-size: 14px;
}

.property-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.property-actions {
    display: flex;
    gap: 10px;
}

/* Página única do imóvel */
.single-imovel .imovel-single-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.imovel-title {
    font-size: 2.5rem;
    margin: 15px 0;
}

.imovel-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.imovel-single-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .imovel-single-content {
        grid-template-columns: 1fr 1fr;
    }
}

.imovel-gallery .main-image {
    margin-bottom: 15px;
}

.imovel-main-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.imovel-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.gallery-thumb {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-thumb:hover img {
    transform: scale(1.1);
}

.imovel-price-section h2 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 10px;
}

.imovel-address {
    font-size: 1.1rem;
    color: #666;
}

.imovel-features-grid h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-value {
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
}

.feature-label {
    color: #666;
    font-size: 0.9rem;
}

.imovel-description h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.description-content {
    line-height: 1.8;
    color: #333;
}

.imovel-taxonomies {
    display: grid;
    gap: 20px;
}

.taxonomy-section h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.taxonomy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.taxonomy-tag {
    background: #f8f9fa;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.imovel-contact {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
}

.imovel-contact h3 {
    margin-bottom: 15px;
}

.contact-info {
    margin: 20px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-icon {
    font-size: 1.2rem;
}

/* Grid de imóveis */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

/* Formulário de busca */
.imob-search-form {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.search-filters {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.filter-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .property-features {
        grid-template-columns: 1fr;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .imovel-single-content {
        grid-template-columns: 1fr;
    }
    
    .features-container {
        grid-template-columns: 1fr;
    }
}
/* ==============================================
   CORREÇÕES DE LAYOUT PARA IMÓVEIS
   ============================================== */

/* Corrigir layout das características */
.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.feature-item .feature-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
}

.feature-item .feature-info {
    display: flex;
    flex-direction: column;
}

.feature-item .feature-value {
    font-weight: bold;
    font-size: 18px;
    color: #007bff;
}

.feature-item .feature-label {
    color: #666;
    font-size: 14px;
    margin-top: 3px;
}

/* Corrigir layout do cabeçalho */
.imovel-single-header {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.imovel-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.imovel-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.imovel-meta span {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
	background: #007bff;
}

.imovel-status {
    background: #007bff;
    color:  rgb(0, 0, 0);
	display:inline-block;
}

.imovel-type {
    background: #28a745;
    color: rgb(0, 0, 0);
	display:inline-block;
}

.imovel-location {
    background: #6c757d;
    color: rgb(0, 0, 0);
	display:inline-block;
}

/* Corrigir layout da galeria */
.imovel-gallery {
    margin-bottom: 30px;
}

.main-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.imovel-main-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Corrigir seção de preço */
.imovel-price-section {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.imovel-price-section h2 {
    font-size: 32px;
    color: #007bff;
    margin-bottom: 10px;
}

.imovel-address {
    font-size: 16px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Corrigir seção de descrição */
.imovel-description {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.imovel-description h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

.description-content {
    line-height: 1.8;
    color: #444;
    font-size: 16px;
}

/* Corrigir seção de contato */
.imovel-contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.imovel-contact h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    font-size: 20px;
}

.contact-text {
    font-size: 16px;
}

.contact-form-btn {
    background: white;
    color: #764ba2;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
/* ==============================================
   ESTILOS PARA PÁGINA INICIAL
   ============================================== */

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 150px 0 80px;
    margin-top: 100px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.featured-properties {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #007bff;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.no-properties {
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
}

.no-properties h3 {
    color: #666;
    margin-bottom: 15px;
}

.no-properties p {
    color: #999;
}
/* Single Property Page Styles */
.property-single {
    margin-bottom: 40px;
}

/* Breadcrumb */
.property-breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 30px;
}

.property-breadcrumb .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.property-breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.property-breadcrumb a:hover {
    text-decoration: underline;
}

.property-breadcrumb span {
    color: #6c757d;
}

/* Property Header */
.property-header {
    margin-bottom: 30px;
}

.property-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.property-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.property-meta {
    color: #666;
    font-size: 16px;
}

.property-location i {
    margin-right: 5px;
    color: #007bff;
}

/* Gallery Section */
.property-gallery-section {
    margin-bottom: 40px;
}

.property-gallery-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.property-gallery-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.main-gallery {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
}

.main-image {
    height: 400px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbnails {
    display: flex;
    padding: 10px;
    gap: 10px;
    overflow-x: auto;
    background: #f8f9fa;
}

.thumbnail-item {
    flex: 0 0 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s;
}

.thumbnail-item:hover,
.thumbnail-item.active {
    border-color: #007bff;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Property Sidebar */
.property-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.property-price-box {
    background: #007bff;
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.price-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.price-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.property-type {
    font-size: 16px;
    opacity: 0.9;
}

.property-features {
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item i {
    width: 30px;
    color: #007bff;
    font-size: 18px;
}

.feature-item span {
    font-size: 16px;
    color: #333;
}

.property-contact {
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 20px;
}

.property-contact h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.contact-form-wrapper .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.contact-form-wrapper input[type="submit"] {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form-wrapper input[type="submit"]:hover {
    background: #0056b3;
}

/* Content Section */
.property-content-section {
    margin-bottom: 40px;
}

.property-content-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.property-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.property-main-content {
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 30px;
}

.property-description {
    margin-bottom: 30px;
}

.property-description h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

.description-content {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.description-content p {
    margin-bottom: 15px;
}

.property-details {
    margin-bottom: 30px;
}

.property-details h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-label {
    color: #666;
    font-weight: 500;
}

.detail-value {
    color: #333;
    font-weight: 600;
}

.property-map {
    margin-top: 30px;
}

.property-map h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

.map-container {
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Secondary Sidebar */
.property-secondary-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.property-agent {
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 20px;
}

.property-agent h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 10px;
}

.agent-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.agent-photo {
    flex: 0 0 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f0f0f0;
}

.agent-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agent-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.agent-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    color: #666;
}

.agent-contact i {
    color: #007bff;
}

.agent-contact a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.agent-contact a:hover {
    color: #007bff;
}

.property-share {
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 20px;
}

.property-share h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 10px;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.share-btn:hover {
    opacity: 0.9;
    color: white;
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

/* Related Properties */
.related-properties {
    background: #f8f9fa;
    padding: 40px 0;
    border-top: 1px solid #eaeaea;
}

.related-properties .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.related-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-property-item {
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-property-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-property-item .property-image {
    display: block;
    height: 200px;
    overflow: hidden;
}

.related-property-item .property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-property-item:hover .property-image img {
    transform: scale(1.05);
}

.related-property-item .property-info {
    padding: 20px;
}

.related-property-item .property-info h3 {
    margin-bottom: 10px;
}

.related-property-item .property-info h3 a {
    font-size: 18px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.related-property-item .property-info h3 a:hover {
    color: #007bff;
}

.property-meta-small {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.property-meta-small span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-meta-small i {
    color: #007bff;
}

.property-price {
    font-size: 20px;
    font-weight: 700;
    color: #007bff;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .property-gallery-wrapper {
        grid-template-columns: 1fr;
    }
    
    .property-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .main-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .property-title {
        font-size: 24px;
    }
    
    .main-image {
        height: 250px;
    }
    
    .property-gallery-wrapper {
        gap: 20px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .agent-info {
        flex-direction: column;
        text-align: center;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .property-header,
    .property-gallery-section,
    .property-content-section {
        margin-bottom: 20px;
    }
    
    .main-image {
        height: 200px;
    }
    
    .property-main-content {
        padding: 20px;
    }
    
    .price-value {
        font-size: 24px;
    }
    
    .property-description h2,
    .property-details h2,
    .property-map h2 {
        font-size: 20px;
    }
}

/* Loading State */
.property-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.property-loading i {
    font-size: 40px;
    margin-bottom: 20px;
    color: #007bff;
}
/* Single Imóvel Page */
.single-imovel {
    padding: 20px 0 40px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Breadcrumb */
.imovel-breadcrumb {
    background: #f5f5f5;
    padding: 10px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.imovel-breadcrumb a {
    color: #0073aa;
    text-decoration: none;
}

.imovel-breadcrumb a:hover {
    text-decoration: underline;
}

.imovel-breadcrumb span {
    color: #666;
}

/* Header */
.imovel-single-header {
    margin-bottom: 30px;
}

.featured-badge {
    background: linear-gradient(135deg, #ffd700, #ff9800);
    color: #333;
    padding: 8px 15px;
    border-radius: 4px;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.imovel-title {
    font-size: 28px;
    color: #333;
    margin: 0 0 10px;
    line-height: 1.3;
}

.imovel-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    color: #666;
    font-size: 14px;
}

.imovel-meta span {
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 4px;
}

.imovel-status.status-venda {
    background: #4CAF50;
    color: white;
}

.imovel-status.status-locacao {
    background: #2196F3;
    color: white;
}

/* Layout principal */
.imovel-single-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-bottom: 40px;
}

.imovel-main-content {
    flex: 1;
}

/* Imagem em destaque 16:9 */
.imovel-featured-image-wrapper {
    margin-bottom: 30px;
}

.aspect-ratio-16-9 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    border-radius: 8px;
    background: #f0f0f0;
}

.aspect-ratio-16-9 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image .placeholder-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
}

.placeholder-image i {
    font-size: 48px;
    margin-bottom: 10px;
}

.featured-price-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 20px;
    font-weight: bold;
}

/* Slider de fotos */
.imovel-gallery-slider {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.slider-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.slider-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.slider-prev,
.slider-next {
    background: #f5f5f5;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-prev:hover,
.slider-next:hover {
    background: #e0e0e0;
}

.slider-counter {
    font-weight: 500;
    color: #666;
}

.gallery-slider-container {
    position: relative;
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
    background: #f9f9f9;
    min-height: 300px;
}

.gallery-slider-track {
    display: flex;
    transition: transform 0.3s ease;
}

.slider-slide {
    flex: 0 0 100%;
    display: none;
}

.slider-slide.active {
    display: block;
}

.slider-image {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-slider-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.slider-thumb {
    flex: 0 0 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-thumb.active {
    border-color: #0073aa;
}

.slider-thumb:hover {
    transform: translateY(-2px);
}

.slider-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Detalhes do imóvel */
.imovel-price-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.imovel-price-section h2 {
    margin: 0 0 10px;
    color: #333;
    font-size: 28px;
}

.imovel-address {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.imovel-features-grid {
    margin-bottom: 30px;
}

.imovel-features-grid h3 {
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
    color: #333;
    font-size: 20px;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 24px;
    min-width: 40px;
    text-align: center;
}

.feature-value {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.feature-label {
    font-size: 14px;
    color: #666;
}

/* Descrição */
.imovel-description {
    margin-bottom: 30px;
}

.imovel-description h3 {
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
    color: #000;
    font-size: 20px;
}

.description-content {
    line-height: 1.6;
    color: #555;
}

.description-content p {
    margin-bottom: 15px;
}

/* Taxonomias */
.imovel-taxonomies {
    margin-bottom: 30px;
}

.taxonomy-section {
    margin-bottom: 20px;
}

.taxonomy-section h4 {
    margin: 0 0 10px;
    color: #000;
    font-size: 16px;
}

.taxonomy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.taxonomy-tag {
    background: #f0f0f0;
    color: #333;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
}

/* Contato */
.imovel-contact {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.imovel-contact h3 {
    margin: 0 0 15px;
    color: #333;
    font-size: 20px;
}

.imovel-contact > p {
    color: #666;
    margin-bottom: 20px;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #555;
}

.contact-icon {
    min-width: 24px;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary {
    background: #0073aa;
    color: white;
}

.btn-primary:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,115,170,0.3);
}

/* Sidebar */
.imovel-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
}

.imovel-widgets {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-widget {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.widget-title {
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
    color: #333;
    font-size: 18px;
}

/* Widget Corretor */
.corretor-info {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.corretor-avatar {
    flex: 0 0 60px;
}

.corretor-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
}

.corretor-details h4 {
    margin: 0 0 5px;
    color: #333;
    font-size: 16px;
}

.corretor-details p {
    margin: 0 0 5px;
    color: #666;
    font-size: 14px;
}

/* Widget Agendar */
.visit-form {
    text-align: center;
}

.visit-form p {
    margin: 0 0 15px;
    color: #666;
}

.btn-secondary {
    background: #28a745;
    color: white;
    width: 100%;
}

.btn-secondary:hover {
    background: #218838;
}

/* Widget Compartilhar */
.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}

.share-btn:hover {
    opacity: 0.9;
    color: white;
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.email {
    background: #666;
}

/* Widget Mapa */
.map-widget {
    height: 200px;
    background: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
}

.map-placeholder i {
    font-size: 36px;
    margin-bottom: 10px;
}

/* Imóveis relacionados */
.related-imoveis {
    background: #f8f9fa;
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
}

.related-imoveis h2 {
    text-align: center;
    margin: 0 0 30px;
    color: #333;
    font-size: 24px;
}

.related-imoveis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* Responsividade */
@media (max-width: 992px) {
    .imovel-single-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .imovel-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .imovel-title {
        font-size: 24px;
    }
    
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .related-imoveis-grid {
        grid-template-columns: 1fr;
    }
    
    .imovel-meta {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    .slider-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .gallery-slider-thumbs {
        justify-content: flex-start;
    }
    
    .slider-thumb {
        flex: 0 0 60px;
        height: 60px;
    }
}

/* Modal para imagem ampliada (opcional) */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.gallery-modal.active {
    display: flex;
}

.modal-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

/* ============================================
   ESTILOS PARA BLOCKQUOTES
   ============================================ */

/* Blockquote Básico - Estilo Clássico */
blockquote {
    margin: 30px 0;
    padding: 25px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #0073aa;
    border-radius: 8px;
    font-style: italic;
    color: #333;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    font-size: 1.1em;
    line-height: 1.7;
}

/* Citação dentro de parágrafo */
blockquote p {
    margin: 0 0 15px 0 !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

blockquote p:last-child {
    margin-bottom: 0 !important;
}

/* Autor da citação */
blockquote cite,
blockquote footer {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-weight: 600;
    color: #555;
    font-size: 0.95em;
    text-align: right;
    position: relative;
    padding-right: 30px;
}

blockquote cite:before,
blockquote footer:before {
    content: "— ";
    color: #0073aa;
    font-weight: bold;
}
/* ============================================
   BLOCKQUOTES ESPECIAIS PARA IMÓVEIS
   ============================================ */

/* Blockquote para características do imóvel */
blockquote.property-feature {
    background: linear-gradient(135deg, #f0f7ff 0%, #e1effe 100%);
    border-left: 4px solid #4285f4;
    padding: 20px;
    margin: 15px 0;
}

blockquote.property-feature:before {
    content: "🏠";
    font-size: 1.5em;
    top: 20px;
    left: 20px;
    opacity: 0.4;
}
/* ============================================
   BLOCKQUOTES RESPONSIVOS
   ============================================ */

@media (max-width: 768px) {
    blockquote {
        margin: 20px 0;
        padding: 20px;
        font-size: 1em;
    }
    
    blockquote:before,
    blockquote:after {
        font-size: 2em;
    }
    
    blockquote:before {
        left: 10px;
        top: 10px;
    }
    
    blockquote.with-icon {
        padding-left: 60px;
    }
    
    blockquote.with-icon:before {
        left: 20px;
        font-size: 1.5em;
    }
    
    /* Em mobile, remove floats */
    blockquote.alignleft,
    blockquote.alignright {
        float: none;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    blockquote {
        padding: 15px;
        margin: 15px 0;
    }
    
    blockquote:before,
    blockquote:after {
        font-size: 1.5em;
    }
    
    blockquote.testimonial {
        padding: 20px;
    }
}

/* ============================================
   ESTILOS PARA PRINT
   ============================================ */

@media print {
    blockquote {
        break-inside: avoid;
        border: 1px solid #ccc !important;
        background: white !important;
        box-shadow: none !important;
    }
    
    blockquote:before,
    blockquote:after {
        color: #666 !important;
    }
}

text-center {
	text-align:center;
}
/* ============================================
   CENTRALIZAR ELEMENTOS NA HOME
   ============================================ */

/* Centralizar seções de botões na home */
.home .entry-content .wp-block-buttons {
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
}

.home .entry-content .wp-block-button {
    float: none !important;
    display: inline-block !important;
}

/* Se for um link simples (não botão do Gutenberg) */
.home a[href*="imoveis"]:last-child,
.home .ver-todos-imoveis,
.home .all-properties-link {
    display: block !important;
    text-align: center !important;
    margin: 40px auto !important;
    max-width: 300px !important;
    padding: 15px 40px !important;
    background: #0073aa !important;
    color: white !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
}

.home a[href*="imoveis"]:last-child:hover,
.home .ver-todos-imoveis:hover,
.home .all-properties-link:hover {
    background: #005a87 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 115, 170, 0.3);
}

/* Se estiver usando Elementor */
.home .elementor-button-wrapper {
    text-align: center !important;
}

.home .elementor-button {
    display: inline-block !important;
    margin: 40px auto !important;
}

