/* ==========================================================================
   RESIDENCIAL BELO LAR — LUXURY BOUTIQUE SENIOR LIVING
   Design System Contemporâneo & Editorial de Alto Padrão
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --gold: #c59b27;
    --gold-dark: #9e7a17;
    --gold-light: #dfb743;
    --gold-subtle: rgba(197, 155, 39, 0.12);
    --gold-border: rgba(197, 155, 39, 0.28);
    
    --bg-page: #fbf9f5;
    --bg-card: #ffffff;
    --bg-warm: #f4eee3;
    --bg-dark: #120e09;
    --bg-dark-surface: #1d1710;
    
    --text-primary: #1c150e;
    --text-secondary: #4a3f32;
    --text-muted: #736250;
    --text-light: #ffffff;
    
    --border-soft: #e8ded0;
    --shadow-subtle: 0 10px 30px -10px rgba(28, 21, 14, 0.06);
    --shadow-hover: 0 20px 40px -15px rgba(197, 155, 39, 0.18), 0 0 1px rgba(197, 155, 39, 0.3);
}

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-page);
    color: #1c150e;
}

body {
    background-color: var(--bg-page);
    color: #1c150e;
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Tipografia Fina, Delicada & Nobre */
.font-serif,
.font-display {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-variant-numeric: lining-nums !important;
    -moz-font-feature-settings: "lnum" 1 !important;
    -webkit-font-feature-settings: "lnum" 1 !important;
    font-feature-settings: "lnum" 1 !important;
    letter-spacing: -0.01em;
}

.font-sans,
.font-body {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Números de Telefones e UI sempre em Sans-Serif Limpa e Moderna */
a[href^="tel:"],
a[href*="whatsapp.com"],
.tag-badge,
.tag-badge-dark,
.gold-tag {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-variant-numeric: lining-nums !important;
}

/* Forçar cores de texto seguras em elementos padrão */
p, span, li, a, h1, h2, h3, h4, h5, h6, em, strong {
    color: inherit;
}

/* Botões Modernos de Alto Padrão */
.btn-gold,
.btn-primary-gold {
    background: linear-gradient(135deg, #d4aa33 0%, #b88d1d 100%) !important;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.95rem 2rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(197, 155, 39, 0.32);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-gold::after,
.btn-primary-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: all 0.6s ease;
}

.btn-gold:hover::after,
.btn-primary-gold:hover::after {
    left: 100%;
}

.btn-gold:hover,
.btn-primary-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 155, 39, 0.45);
    background: linear-gradient(135deg, #dfb743 0%, #c59b27 100%) !important;
    color: #ffffff !important;
}

.btn-glass-light {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.95rem 2rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.btn-glass-light:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-outline-warm,
.btn-secondary-warm {
    background: #ffffff !important;
    border: 1px solid var(--border-soft) !important;
    color: #1c150e !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.95rem 2rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(28, 21, 14, 0.03);
    text-decoration: none;
}

.btn-outline-warm:hover,
.btn-secondary-warm:hover {
    border-color: var(--gold) !important;
    background: var(--bg-warm) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(197, 155, 39, 0.15);
    color: #1c150e !important;
}

.btn-whatsapp-cta {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    padding: 1rem 2.25rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 22px rgba(18, 140, 126, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.btn-whatsapp-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    color: #ffffff !important;
}

/* Cards Modernos Contemporâneos */
.card-modern {
    background: #ffffff !important;
    border: 1px solid rgba(197, 155, 39, 0.18) !important;
    border-radius: 24px;
    box-shadow: 0 10px 30px -10px rgba(28, 21, 14, 0.05), 0 1px 3px rgba(28, 21, 14, 0.02);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    color: #1c150e;
}

.card-modern:hover {
    transform: translateY(-4px);
    border-color: rgba(197, 155, 39, 0.4) !important;
    box-shadow: var(--shadow-hover);
}

.card-modern h1, .card-modern h2, .card-modern h3, .card-modern h4 {
    color: #1c150e !important;
}

.card-modern p {
    color: #4a3f32;
}

.card-dark-modern {
    background: rgba(29, 23, 16, 0.94) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(223, 183, 67, 0.22) !important;
    border-radius: 24px;
    box-shadow: 0 12px 36px -10px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

/* Tags & Badges Elegantes */
.tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    background: rgba(197, 155, 39, 0.1) !important;
    border: 1px solid rgba(197, 155, 39, 0.3) !important;
    color: #9e7a17 !important;
}

.tag-badge-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #dfb743 !important;
    backdrop-filter: blur(10px);
}

/* Galeria com Zoom Suave */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background-color: var(--bg-warm);
}

.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Acordeão de FAQ Moderno */
.faq-modern details {
    background: #ffffff !important;
    border: 1px solid var(--border-soft) !important;
    border-radius: 18px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: #1c150e;
}

.faq-modern details:hover {
    border-color: rgba(197, 155, 39, 0.4) !important;
    box-shadow: 0 4px 16px rgba(28, 21, 14, 0.04);
}

.faq-modern details[open] {
    border-color: var(--gold) !important;
    box-shadow: 0 8px 24px rgba(197, 155, 39, 0.1);
}

.faq-modern summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
    padding: 1.25rem 1.5rem;
    color: #1c150e !important;
    font-weight: 600;
}

.faq-modern summary::-webkit-details-marker {
    display: none;
}

.faq-modern details[open] summary .faq-icon {
    transform: rotate(180deg);
    color: var(--gold);
}

.faq-modern details p {
    color: #3d3226 !important;
}

/* Botão fixo WhatsApp Discreto & Elegante */
#whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

#whatsapp .wtsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    border-radius: 50%;
    font-size: 32px;
    box-shadow: 0 6px 22px rgba(18, 140, 126, 0.38);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#whatsapp .wtsapp:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   COMPATIBILIDADE E DESIGN EDITORIAL PARA ARTIGOS INDIVIDUAIS
   ========================================================================== */

/* Esconde spinners e loaders residuais de templates legados */
#spinner {
    display: none !important;
}

/* Garante que imagens fluidas respeitem os limites */
.img-fluid {
    max-width: 100% !important;
    height: auto !important;
}

/* Correção crítica: impede que o logotipo fique gigante na tela */
.navbar-brand img,
.bg-navbar img,
nav.navbar img,
header img.img-fluid {
    max-height: 85px !important;
    width: auto !important;
    object-fit: contain !important;
    display: inline-block !important;
}

/* Barra Superior (Topbar) dos Artigos */
.bg-top-navbar {
    background-color: #221a11 !important;
    color: #ede3d4 !important;
    font-size: 0.8125rem;
    border-bottom: 1px solid #3d2f20;
    padding: 0.4rem 0 !important;
}

.bg-top-navbar a {
    color: #ede3d4 !important;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.8125rem;
}

.bg-top-navbar a:hover {
    color: #c59b27 !important;
}

/* Navbar dos Artigos */
nav.navbar.bg-navbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e3d5c2 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    padding: 0.85rem 1.5rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
}

nav.navbar.bg-navbar .container,
nav.navbar.bg-navbar .container-fluid {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Menu de navegação */
.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1.75rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar-nav .nav-link {
    color: #1c150e !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 500 !important;
    font-size: 0.9375rem !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    padding: 0.5rem 0 !important;
}

.navbar-nav .nav-link:hover {
    color: #c59b27 !important;
}

/* Cabeçalho da Página do Artigo (Page Header) */
.page-header {
    background: linear-gradient(135deg, #f5efe6 0%, #ede3d4 100%) !important;
    border-bottom: 1px solid #e3d5c2 !important;
    padding: 3.5rem 1.5rem !important;
    text-align: center !important;
    margin-bottom: 3rem !important;
}

.page-header h1,
.page-header .display-1 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    color: #2d2418 !important;
    font-size: clamp(2rem, 4vw, 3.25rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

/* Seção Principal de Conteúdo do Artigo */
section.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 5rem !important;
    background-color: #ffffff !important;
}

section.py-5 .container {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
}

/* Imagem de Destaque do Artigo */
.img-servico {
    max-width: 480px !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 1.25rem !important;
    box-shadow: 0 10px 30px rgba(45, 36, 24, 0.1) !important;
    border: 1px solid #e3d5c2 !important;
    object-fit: cover !important;
    margin-bottom: 2rem !important;
}

@media (min-width: 768px) {
    .float-md-start,
    .img-servico.float-md-start {
        float: left !important;
        margin-right: 2.5rem !important;
        margin-bottom: 1.5rem !important;
    }
}

/* Título H2 interno */
.fs-5 h2,
section.py-5 h2 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: clamp(1.6rem, 2.5vw, 2.1rem) !important;
    font-weight: 700 !important;
    color: #2d2418 !important;
    line-height: 1.3 !important;
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
}

/* Linha divisória editorial */
section.py-5 hr {
    border: 0 !important;
    height: 2px !important;
    background: linear-gradient(to right, #c59b27, #e3d5c2, transparent) !important;
    margin: 1.25rem 0 1.75rem 0 !important;
}

/* Parágrafos do Artigo */
p.artigos {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.0625rem !important;
    line-height: 1.85 !important;
    color: #4a3f32 !important;
    margin-bottom: 1.5rem !important;
    text-align: justify !important;
}

/* Botão WhatsApp de Alta Conversão */
.whatsapp-button {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    padding: 1rem 2.25rem !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35) !important;
    transition: all 0.3s ease !important;
    margin-top: 1.5rem !important;
    clear: both !important;
}

.whatsapp-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45) !important;
    color: #ffffff !important;
}

.whatsapp-button i {
    font-size: 1.35rem !important;
}

/* Clearfix nos blocos com imagem flutuante */
.fs-5::after,
.col-md-12::after,
.row::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

