/* ==========================================================================
   VERSAILLES BRASIL - MÓVEIS E DECOR (APPLE iPHONE STYLE LUXURY SHOWCASE)
   ========================================================================== */

/* Apple-style Chapter Nav (Sticky Ribbon underneath header) */
.chapter-nav {
    position: sticky;
    top: 76px; /* Altura do header principal quando rolado (scrolled) */
    margin-top: 105px; /* Altura do header antes do scroll */
    z-index: 990;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(228, 179, 91, 0.35);
    padding: 12px 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.chapter-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chapter-title {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fcf6ba;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chapter-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.chapter-links a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.chapter-links a:hover {
    color: #e4b35b;
}

.chapter-btn-cta {
    background: linear-gradient(135deg, #e4b35b, #c9933b);
    color: #0c1522 !important;
    padding: 7px 18px;
    border-radius: 20px;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(228, 179, 91, 0.4);
    transition: all 0.3s ease !important;
    text-decoration: none;
}

.chapter-btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(228, 179, 91, 0.6);
}

/* === APPLE STYLE HERO SHOWCASE === */
.apple-hero {
    position: relative;
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px 80px;
    overflow: hidden;
}

.apple-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(12, 21, 34, 0.75) 0%, rgba(12, 21, 34, 0.45) 50%, rgba(12, 21, 34, 0.95) 100%), url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1920&q=85');
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate ease-in-out;
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.12); }
}

.apple-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.apple-tag {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #e4b35b;
    margin-bottom: 20px;
    background: rgba(228, 179, 91, 0.15);
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid rgba(228, 179, 91, 0.4);
    box-shadow: 0 0 20px rgba(228, 179, 91, 0.2);
}

.apple-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #fcf6ba 50%, #e4b35b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.apple-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 300;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 40px;
}

.apple-hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* === APPLE SECTIONS & BENTO GRID === */
.apple-section {
    padding: 100px 20px;
    max-width: 1320px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-heading h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: #fcf6ba;
    margin-bottom: 16px;
}

.section-heading p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.7;
    font-weight: 300;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.bento-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #111827;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.bento-card:hover {
    transform: translateY(-8px);
    border-color: rgba(228, 179, 91, 0.6);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(228, 179, 91, 0.2);
}

.bento-span-8 { grid-column: span 8; }
.bento-span-4 { grid-column: span 4; }
.bento-span-6 { grid-column: span 6; }
.bento-span-12 { grid-column: span 12; }

.bento-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: 1;
}

.bento-card:hover .bento-bg {
    transform: scale(1.08);
}

.bento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 15, 30, 0.95) 0%, rgba(10, 15, 30, 0.6) 50%, rgba(10, 15, 30, 0.1) 100%);
    z-index: 2;
}

.bento-content {
    position: relative;
    z-index: 3;
}

.bento-category {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e4b35b;
    margin-bottom: 8px;
    display: block;
}

.bento-title {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.bento-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 90%;
}

.bento-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fcf6ba;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.bento-link:hover {
    gap: 14px;
    color: #e4b35b;
}

/* === SPECS CAROUSEL / GRID === */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.spec-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s ease;
}

.spec-item:hover {
    background: rgba(228, 179, 91, 0.06);
    border-color: rgba(228, 179, 91, 0.4);
    transform: translateY(-5px);
}

.spec-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.spec-title {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: #fcf6ba;
    margin-bottom: 12px;
}

.spec-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.6;
}

/* === COLEÇÃO PRIVÉ LISTINGS === */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
}

.listing-card {
    background: rgba(18, 26, 43, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.listing-card:hover {
    border-color: rgba(228, 179, 91, 0.5);
    box-shadow: 0 20px 40px rgba(0,0,0,0.7);
    transform: translateY(-6px);
}

.listing-img-box {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.listing-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.listing-card:hover .listing-img {
    transform: scale(1.08);
}

.listing-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #e4b35b, #c9933b);
    color: #0c1522;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.listing-body {
    padding: 28px;
}

.listing-location {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #e4b35b;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.listing-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.listing-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 20px;
}

.listing-specs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #e2e8f0;
}

.spec-pill strong {
    color: #fcf6ba;
}

.listing-actions {
    display: flex;
    gap: 12px;
}

.btn-listing-vip {
    flex: 1;
    text-align: center;
    background: linear-gradient(135deg, #e4b35b, #c9933b);
    color: #0c1522;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 12px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-listing-vip:hover {
    box-shadow: 0 6px 18px rgba(228, 179, 91, 0.5);
    transform: translateY(-2px);
}

.btn-listing-dossier {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 18px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-listing-dossier:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* === CTA BANNER FINAL === */
.apple-cta-banner {
    background: linear-gradient(135deg, rgba(18, 26, 43, 0.9), rgba(10, 15, 30, 0.95)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(228, 179, 91, 0.4);
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

.apple-cta-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: #fcf6ba;
    margin-bottom: 20px;
}

.apple-cta-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    color: #e2e8f0;
    max-width: 750px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .bento-span-8, .bento-span-6, .bento-span-4 {
        grid-column: span 12;
    }
    .chapter-links { display: none; }
    .apple-hero { padding: 160px 20px 60px; }
}

@media (max-width: 768px) {
    .chapter-nav-container { padding: 0 16px; }
    .chapter-title { font-size: 1rem; }
    .chapter-btn-cta { padding: 6px 12px; font-size: 0.75rem !important; }
    .apple-hero { min-height: 80vh; }
}
