/* =========================================
   J. PARRELA — Páginas Específicas de Bairros
   Design System compartilhado com style.css
   ========================================= */

/* Navbar com background consistente em páginas internas */
.navbar {
    background: rgba(26, 17, 19, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(197, 169, 117, 0.15);
}

/* Top bar / Breadcrumbs */
.bairro-breadcrumbs {
    padding: 7rem 8% 1rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(209, 209, 209, 0.55);
    letter-spacing: 0.04em;
}

.bairro-breadcrumbs a {
    color: rgba(209, 209, 209, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.bairro-breadcrumbs a:hover {
    color: var(--cobre-light);
}

.bairro-breadcrumbs .sep {
    color: var(--cobre);
    opacity: 0.4;
    font-size: 0.75rem;
}

.bairro-breadcrumbs .current {
    color: var(--cobre);
    font-weight: 600;
}

/* Hero específico do Bairro */
.bairro-hero {
    position: relative;
    padding: 2.5rem 8% 5rem;
    overflow: hidden;
    background: radial-gradient(ellipse 90% 70% at 50% 10%, rgba(59, 39, 44, 0.5) 0%, var(--dark-bg) 80%);
    border-bottom: 1px solid rgba(197, 169, 117, 0.12);
}

.bairro-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(197, 169, 117, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.bairro-hero-inner {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.bairro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(197, 169, 117, 0.1);
    border: 1px solid rgba(197, 169, 117, 0.3);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cobre-light);
}

.bairro-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cobre);
    box-shadow: 0 0 8px var(--cobre);
}

.bairro-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--white);
    letter-spacing: -0.01em;
}

.bairro-hero h1 span.highlight {
    background: linear-gradient(135deg, var(--white) 30%, var(--cobre-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bairro-hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(209, 209, 209, 0.85);
    max-width: 680px;
    line-height: 1.7;
    margin-top: 0.25rem;
}

/* Trust chips no Hero */
.bairro-trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin: 1rem 0;
    max-width: 820px;
}

.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(34, 22, 25, 0.7);
    border: 1px solid rgba(197, 169, 117, 0.18);
    backdrop-filter: blur(10px);
    padding: 0.55rem 1.1rem;
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--prata-light);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.trust-chip svg {
    color: var(--cobre);
    flex-shrink: 0;
}

/* Hero CTA group */
.bairro-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.75rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 169, 117, 0.35);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(197, 169, 117, 0.15);
    border-color: var(--cobre);
    color: var(--cobre-light);
    transform: translateY(-2px);
}

/* =========================================
   CONTAINER PADRÃO DAS SEÇÕES DO BAIRRO
   ========================================= */
.bairro-section {
    padding: 5rem 8%;
    max-width: 1200px;
    margin: 0 auto;
}

.bairro-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.bairro-section-header .section-title {
    color: var(--white);
}

.bairro-section-header p {
    color: rgba(209, 209, 209, 0.7);
    font-size: 1rem;
    line-height: 1.6;
}

/* =========================================
   CARDS DE DIFERENCIAIS LOCAIS (4 COLUNAS)
   ========================================= */
.bairro-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.bairro-feature-card {
    background: linear-gradient(145deg, rgba(34, 22, 25, 0.7) 0%, rgba(26, 17, 19, 0.9) 100%);
    border: 1px solid rgba(197, 169, 117, 0.15);
    border-radius: 12px;
    padding: 2rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.bairro-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 169, 117, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.bairro-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(197, 169, 117, 0.1);
    border: 1px solid rgba(197, 169, 117, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cobre);
}

.bairro-feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--white);
    line-height: 1.3;
}

.bairro-feature-card p {
    font-size: 0.88rem;
    color: rgba(209, 209, 209, 0.7);
    line-height: 1.65;
}

/* =========================================
   BLOCO DE CONTEÚDO EDITORIAL DO CLIENTE
   (Preparado para receber o texto específico)
   ========================================= */
.bairro-content-block {
    background: var(--dark-card);
    border: 1px solid rgba(197, 169, 117, 0.15);
    border-radius: 16px;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
}

.bairro-content-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--cobre), transparent);
}

.bairro-content-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.bairro-content-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.bairro-content-text h3 {
    font-family: var(--font-display);
    font-size: 1.85rem;
    color: var(--white);
    line-height: 1.25;
}

.bairro-content-text p {
    font-size: 0.98rem;
    color: rgba(209, 209, 209, 0.8);
    line-height: 1.75;
}

.bairro-content-text p strong {
    color: var(--white);
}

.bairro-content-box {
    background: rgba(59, 39, 44, 0.35);
    border: 1px solid rgba(197, 169, 117, 0.25);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bairro-content-box-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cobre-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bairro-content-box p {
    font-size: 0.88rem;
    color: rgba(209, 209, 209, 0.75);
    line-height: 1.5;
    margin: 0;
}

/* Foto / Imagem representativa do bairro */
.bairro-content-media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(197, 169, 117, 0.25);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    background: rgba(34, 22, 25, 0.6);
}

.bairro-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-premium), filter 0.6s var(--ease-premium);
}

.bairro-content-media:hover .bairro-photo {
    transform: scale(1.04);
}

.bairro-content-media::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(26, 17, 19, 0) 65%, rgba(26, 17, 19, 0.5) 100%);
    border-radius: 14px;
}

/* =========================================
   MODELOS / CAÇAMBAS DISPONÍVEIS
   ========================================= */
.cacambas-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cacamba-card {
    background: var(--dark-card);
    border: 1px solid rgba(197, 169, 117, 0.18);
    border-radius: 14px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.75rem;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.cacamba-card.featured {
    border-color: rgba(197, 169, 117, 0.5);
    background: linear-gradient(160deg, rgba(59, 39, 44, 0.4) 0%, var(--dark-card) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cacamba-card-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--cobre);
    color: var(--bordo-deep);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
}

.cacamba-card:hover {
    transform: translateY(-4px);
    border-color: var(--cobre);
}

.cacamba-card-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cacamba-size {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--cobre-light);
    font-weight: 900;
}

.cacamba-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--white);
}

.cacamba-desc {
    font-size: 0.9rem;
    color: rgba(209, 209, 209, 0.7);
    line-height: 1.6;
}

.cacamba-specs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.25rem 0;
}

.cacamba-specs li {
    font-size: 0.85rem;
    color: rgba(225, 225, 225, 0.8);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cacamba-specs li svg {
    color: var(--cobre);
    flex-shrink: 0;
}

/* =========================================
   COMO FUNCIONA O ALUGUEL (ETAPAS - 4 COLUNAS)
   ========================================= */
.bairro-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    position: relative;
}

.bairro-step-item {
    background: rgba(34, 22, 25, 0.5);
    border: 1px solid rgba(197, 169, 117, 0.12);
    border-radius: 10px;
    padding: 2rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    position: relative;
}

.bairro-step-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--cobre);
    line-height: 1;
    opacity: 0.85;
}

.bairro-step-item h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--white);
}

.bairro-step-item p {
    font-size: 0.88rem;
    color: rgba(209, 209, 209, 0.7);
    line-height: 1.6;
}

/* =========================================
   FAQ ACCORDION
   ========================================= */
.bairro-faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bairro-faq-item {
    background: var(--dark-card);
    border: 1px solid rgba(197, 169, 117, 0.15);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.bairro-faq-item:hover {
    border-color: rgba(197, 169, 117, 0.35);
}

.bairro-faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.4rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    transition: color 0.2s ease;
}

.bairro-faq-question:hover {
    color: var(--cobre-light);
}

.bairro-faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--cobre);
    transition: transform 0.3s ease;
}

.bairro-faq-item.active .bairro-faq-icon {
    transform: rotate(180deg);
}

.bairro-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.75rem;
    font-size: 0.92rem;
    color: rgba(209, 209, 209, 0.75);
    line-height: 1.7;
}

.bairro-faq-item.active .bairro-faq-answer {
    max-height: 300px;
    padding: 0 1.75rem 1.5rem;
}

/* =========================================
   NAVEGAÇÃO ENTRE BAIRROS (CROSS-LINKING)
   ========================================= */
.bairro-other-areas {
    background: var(--dark-card);
    border: 1px solid rgba(197, 169, 117, 0.12);
    border-radius: 14px;
    padding: 3rem;
    text-align: center;
    margin-top: 2rem;
}

.bairro-other-areas h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.bairro-other-areas p {
    font-size: 0.92rem;
    color: rgba(209, 209, 209, 0.65);
    margin-bottom: 2rem;
}

.bairro-chips-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    max-width: 900px;
    margin: 0 auto 1.75rem;
}

.bairro-chip-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(197, 169, 117, 0.15);
    border-radius: 6px;
    font-size: 0.82rem;
    color: rgba(225, 225, 225, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
}

.bairro-chip-link:hover {
    background: rgba(197, 169, 117, 0.15);
    border-color: var(--cobre);
    color: var(--cobre-light);
    transform: translateY(-2px);
}

.bairro-chip-link.active-chip {
    background: var(--cobre);
    color: var(--bordo-deep);
    font-weight: 600;
    pointer-events: none;
}

.bairro-all-regions-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cobre-light);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.bairro-all-regions-btn:hover {
    gap: 0.75rem;
}

/* =========================================
   BOTÃO FLUTUANTE DE WHATSAPP
   ========================================= */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #25D366;
    color: #fff;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
    color: #fff;
}

.floating-whatsapp svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    flex-shrink: 0;
}

/* =========================================
   RESPONSIVIDADE
   ========================================= */
@media (max-width: 1024px) {
    .bairro-features-grid,
    .bairro-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 900px) {
    .bairro-breadcrumbs {
        padding: 5.75rem 6% 0.75rem;
        font-size: 0.8rem;
    }

    .bairro-hero {
        padding: 2rem 6% 4rem;
    }

    .bairro-hero h1 {
        font-size: clamp(2rem, 6.5vw, 3rem);
        line-height: 1.15;
    }

    .bairro-section {
        padding: 4rem 6%;
    }

    .bairro-content-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .bairro-content-block {
        padding: 2.25rem 1.75rem;
    }

    .floating-whatsapp span {
        display: none;
    }

    .floating-whatsapp {
        padding: 0.9rem;
        border-radius: 50%;
        bottom: 1.5rem;
        right: 1.5rem;
        width: 52px;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .bairro-breadcrumbs {
        padding: 5.25rem 5% 0.75rem;
        font-size: 0.76rem;
        flex-wrap: wrap;
    }

    .bairro-hero {
        padding: 1.5rem 5% 3.5rem;
    }

    .bairro-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.8rem;
    }

    .bairro-hero h1 {
        font-size: clamp(1.75rem, 7.5vw, 2.3rem);
        line-height: 1.15;
    }

    .bairro-hero-sub {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .trust-chip {
        font-size: 0.76rem;
        padding: 0.45rem 0.9rem;
    }

    .bairro-hero-actions {
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 0.75rem;
    }

    .bairro-hero-actions .cta-button,
    .bairro-hero-actions .btn-secondary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 0.85rem 1.4rem;
        font-size: 0.78rem;
    }

    .bairro-section {
        padding: 3.5rem 5%;
    }

    .bairro-content-block {
        padding: 1.75rem 1.25rem;
        border-radius: 10px;
    }

    .bairro-content-text h3 {
        font-size: 1.3rem;
        line-height: 1.25;
    }

    .bairro-content-text p {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .bairro-content-box {
        padding: 1.25rem 1.15rem;
    }

    .bairro-content-box-title {
        font-size: 0.82rem;
    }

    .bairro-content-box p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .bairro-features-grid,
    .bairro-steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .bairro-feature-card {
        padding: 1.75rem 1.35rem;
    }

    .bairro-step-item {
        padding: 1.75rem 1.35rem;
    }

    .bairro-faq-question {
        padding: 1.1rem 1.1rem;
        font-size: 0.88rem;
    }

    .bairro-faq-answer {
        padding: 0 1.1rem 1.1rem;
    }

    .bairro-faq-answer p {
        font-size: 0.86rem;
        line-height: 1.6;
    }

    .bairro-other-areas {
        padding: 2rem 1.25rem;
        border-radius: 10px;
    }

    .bairro-other-areas h3 {
        font-size: 1.25rem;
    }

    .bairro-other-areas p {
        font-size: 0.86rem;
        margin-bottom: 1.5rem;
    }

    .bairro-chip-link {
        font-size: 0.78rem;
        padding: 0.45rem 0.85rem;
    }

    .floating-whatsapp {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 48px;
        height: 48px;
        padding: 0.75rem;
    }

    .floating-whatsapp svg {
        width: 20px;
        height: 20px;
    }
}
