/* Property Typography Improvements - Baseado no site1Original */

/* Importar fonte Inter se não estiver disponível */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Variáveis de tipografia */
:root {
    /* Família de fontes */
    --ztc-family-font1: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Cores de texto */
    --ztc-text-text-1: #ffffff;
    --ztc-text-text-2: #030E0F;
    --ztc-text-text-3: #252728;
    --ztc-text-text-5: #073B3A;
    
    /* Cores de fundo */
    --ztc-bg-bg-1: #ffffff;
    --ztc-bg-bg-3: #CBCD30;
    --ztc-bg-bg-4: #073B3A;
    
    /* Tamanhos de fonte */
    --ztc-font-size-h1: 32px;
    --ztc-font-size-h2: 28px;
    --ztc-font-size-h3: 24px;
    --ztc-font-size-h4: 20px;
    --ztc-font-size-h5: 18px;
    --ztc-font-size-body: 16px;
    --ztc-font-size-small: 14px;
    
    /* Pesos de fonte */
    --ztc-font-weight-light: 300;
    --ztc-font-weight-regular: 400;
    --ztc-font-weight-medium: 500;
    --ztc-font-weight-semibold: 600;
    --ztc-font-weight-bold: 700;
}

/* Reset e base typography */
.property-details-section-area * {
    font-family: var(--ztc-family-font1);
}

/* Exceção CRÍTICA: Preservar font-family dos ícones Font Awesome */
/* Bug fix: O seletor universal acima estava sobrescrevendo a fonte dos ícones FA,
   causando a exibição de quadrados quebrados ao invés dos ícones.
   Esta regra força a fonte correta do Font Awesome para todos os ícones FA. */
.property-details-section-area .fa,
.property-details-section-area .fas,
.property-details-section-area .far,
.property-details-section-area .fal,
.property-details-section-area .fat,
.property-details-section-area .fad,
.property-details-section-area .fass {
    font-family: "Font Awesome 6 Pro" !important;
}

.property-details-section-area .fab,
.property-details-section-area [class*="fa-brands"] {
    font-family: "Font Awesome 6 Brands" !important;
}

.property-details-section-area [class*="fa-solid"] {
    font-family: "Font Awesome 6 Pro" !important;
}

.property-details-section-area [class*="fa-regular"] {
    font-family: "Font Awesome 6 Pro" !important;
    font-weight: 400 !important;
}

.property-details-section-area [class*="fa-light"] {
    font-family: "Font Awesome 6 Pro" !important;
    font-weight: 300 !important;
}

.property-details-section-area [class*="fa-thin"] {
    font-family: "Font Awesome 6 Pro" !important;
    font-weight: 100 !important;
}

/* Título principal do imóvel */
.property-header h2 {
    font-size: var(--ztc-font-size-h1) !important;
    font-weight: var(--ztc-font-weight-bold) !important;
    color: var(--ztc-text-text-2) !important;
    line-height: 1.2 !important;
    margin-bottom: 1.5rem !important;
    letter-spacing: -0.02em;
}

/* Localização */
.property-header p {
    font-size: var(--ztc-font-size-body) !important;
    color: var(--ztc-text-text-3) !important;
    font-weight: var(--ztc-font-weight-medium) !important;
    margin-bottom: 2rem !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-header p i {
    color: var(--ztc-bg-bg-3) !important;
    font-size: 14px;
}

/* Preços */
.property-price h3 {
    font-size: var(--ztc-font-size-h2) !important;
    font-weight: var(--ztc-font-weight-semibold) !important;
    color: var(--ztc-bg-bg-3) !important;
    margin-bottom: 0.5rem !important;
    letter-spacing: -0.01em;
}

.property-price p {
    font-size: var(--ztc-font-size-body) !important;
    color: var(--ztc-text-text-3) !important;
    font-weight: var(--ztc-font-weight-medium) !important;
    margin-bottom: 0.5rem !important;
}

/* Títulos de seções */
.property-features h4,
.property-description h4,
.property-amenities h4 {
    font-size: var(--ztc-font-size-h3) !important;
    font-weight: var(--ztc-font-weight-semibold) !important;
    color: var(--ztc-text-text-2) !important;
    margin-bottom: 1.5rem !important;
    margin-top: 2.5rem !important;
    position: relative;
    padding-bottom: 0.5rem;
}

.property-features h4::after,
.property-description h4::after,
.property-amenities h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--ztc-bg-bg-3);
    border-radius: 2px;
}

/* Primeira seção sem margem superior */
.property-features h4:first-of-type {
    margin-top: 2rem !important;
}

/* Características principais */
.property-features ul li {
    font-size: var(--ztc-font-size-body) !important;
    color: var(--ztc-text-text-3) !important;
    font-weight: var(--ztc-font-weight-medium) !important;
    line-height: 1.6 !important;
    margin-bottom: 0.75rem !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.property-features ul li i {
    color: var(--ztc-bg-bg-3) !important;
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* Descrição */
.property-description p {
    font-size: var(--ztc-font-size-body) !important;
    color: var(--ztc-text-text-3) !important;
    font-weight: var(--ztc-font-weight-regular) !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
}

/* Sidebar */
.property-sidebar h4 {
    font-size: var(--ztc-font-size-h5) !important;
    font-weight: var(--ztc-font-weight-semibold) !important;
    color: var(--ztc-text-text-2) !important;
    margin-bottom: 1rem !important;
    text-align: center;
}

/* Property Info Widget */
.property-info-widget ul li {
    font-size: var(--ztc-font-size-small) !important;
    color: var(--ztc-text-text-3) !important;
    font-weight: var(--ztc-font-weight-medium) !important;
    padding: 0.5rem 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-info-widget ul li:last-child {
    border-bottom: none;
}

.property-info-widget ul li strong {
    font-weight: var(--ztc-font-weight-semibold) !important;
    color: var(--ztc-text-text-2) !important;
}

/* Formulário */
.contact-form-widget .form-control {
    font-family: var(--ztc-family-font1) !important;
    font-size: var(--ztc-font-size-small) !important;
    font-weight: var(--ztc-font-weight-regular) !important;
    color: var(--ztc-text-text-2) !important;
    border: 2px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
    padding: 0.75rem !important;
    transition: all 0.3s ease !important;
}

.contact-form-widget .form-control:focus {
    border-color: var(--ztc-bg-bg-3) !important;
    box-shadow: 0 0 0 0.2rem rgba(203, 205, 48, 0.25) !important;
    outline: none !important;
}

.contact-form-widget .form-control::placeholder {
    color: rgba(37, 39, 40, 0.6) !important;
    font-weight: var(--ztc-font-weight-regular) !important;
}

/* Botões */
.theme-btn1 {
    font-family: var(--ztc-family-font1) !important;
    font-size: var(--ztc-font-size-small) !important;
    font-weight: var(--ztc-font-weight-semibold) !important;
    background: var(--ztc-bg-bg-3) !important;
    color: var(--ztc-text-text-2) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.theme-btn1:hover {
    background: var(--ztc-text-text-5) !important;
    color: var(--ztc-text-text-1) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(7, 59, 58, 0.3) !important;
}

/* Breadcrumb */
.inner-hero-content ul li {
    font-family: var(--ztc-family-font1) !important;
    font-size: var(--ztc-font-size-small) !important;
    font-weight: var(--ztc-font-weight-medium) !important;
}

.inner-hero-content ul li a {
    color: var(--ztc-text-text-3) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.inner-hero-content ul li a:hover {
    color: var(--ztc-text-text-5) !important;
}

.inner-hero-content ul li.active {
    color: var(--ztc-text-text-2) !important;
    font-weight: var(--ztc-font-weight-semibold) !important;
}

/* Share buttons */
.share-widget .share-buttons a {
    font-size: 18px !important;
    width: 45px !important;
    height: 45px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    margin: 0 5px !important;
    transition: all 0.3s ease !important;
}

.share-widget .share-buttons a.facebook {
    background: #1877f2 !important;
    color: white !important;
}

.share-widget .share-buttons a.whatsapp {
    background: #25d366 !important;
    color: white !important;
}

.share-widget .share-buttons a.twitter {
    background: #1da1f2 !important;
    color: white !important;
}

.share-widget .share-buttons a:hover {
    transform: translateY(-2px) scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Responsividade */
@media (max-width: 768px) {
    :root {
        --ztc-font-size-h1: 28px;
        --ztc-font-size-h2: 24px;
        --ztc-font-size-h3: 20px;
        --ztc-font-size-h4: 18px;
        --ztc-font-size-h5: 16px;
        --ztc-font-size-body: 15px;
        --ztc-font-size-small: 13px;
    }
    
    .property-header h2 {
        margin-bottom: 1rem !important;
    }
    
    .property-features h4,
    .property-description h4,
    .property-amenities h4 {
        margin-top: 2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .property-features ul li {
        margin-bottom: 0.5rem !important;
    }
}

@media (max-width: 576px) {
    :root {
        --ztc-font-size-h1: 24px;
        --ztc-font-size-h2: 20px;
        --ztc-font-size-h3: 18px;
        --ztc-font-size-h4: 16px;
        --ztc-font-size-h5: 15px;
        --ztc-font-size-body: 14px;
        --ztc-font-size-small: 12px;
    }
    
    .property-header {
        text-align: center;
    }
    
    .property-header p {
        justify-content: center;
    }
    
    .property-price {
        text-align: center;
    }
}

/* Melhorias de legibilidade */
.property-details-info {
    line-height: 1.6;
}

/* Otimização para fontes */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Estados de foco melhorados para acessibilidade */
.property-details-section-area a:focus,
.property-details-section-area button:focus,
.property-details-section-area input:focus,
.property-details-section-area textarea:focus {
    outline: 2px solid var(--ztc-bg-bg-3) !important;
    outline-offset: 2px !important;
}

/* Melhor contraste para textos pequenos */
small, .small {
    font-weight: var(--ztc-font-weight-medium) !important;
    color: var(--ztc-text-text-3) !important;
}