/* ==========================================================================
   7X Patrimonial - Home Page (main/index.html)
   ========================================================================== */

/* ══ Hero Section ═════════════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: visible; /* permite a barra vazar para baixo */
    z-index: 10;
    /* espaço para a barra flutuante (~metade da altura da barra) */
    padding-bottom: 48px;
}

/* ── Video Background Carousel ───────────────────────────────────────────── */
.hero-video-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0;
    transition: opacity 1.1s ease-in-out;
    pointer-events: none;
    z-index: 0;
    transform: scale(1.04);
    animation: heroVideoZoom 20s ease-out forwards;
}

.hero-video.active {
    opacity: 1;
    z-index: 1;
}

@keyframes heroVideoZoom {
    to { transform: scale(1); }
}

/* ── Overlay multicamada ─────────────────────────────────────────────────── */
.hero-overlay {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    background: none;
    pointer-events: none;
}

/* ── Hero Content ────────────────────────────────────────────────────────── */
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;       /* verticalmente centrado */
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
}

/* ── Hero Headline — só o título ─────────────────────────────────────────── */
.hero-headline {
    text-align: center;
    padding: 0 1rem;
}

/* Main title */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-main-title {
    font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(2.8rem, 7vw, 6rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin: 0 auto;
    animation: heroFadeUp 1s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
    text-shadow: 0 4px 32px rgba(0,0,0,0.5);
}

/* ── Barra de busca flutuante ────────────────────────────────────────────── */
.hero-search-float {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    transform: translateY(50%);
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
}

/* Label elegante acima da barra */
.hero-search-label {
    font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.90);
    letter-spacing: 0.06em;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 18px rgba(0,0,0,0.65);
    animation: heroFadeUp 0.8s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
    pointer-events: none;
    user-select: none;
}

.hero-search-bar {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 30;
    animation: searchBarEnter 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}

@keyframes searchBarEnter {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Estado Fixo / Anexado ao Header ao Rolar a Página ─────────────────── */
@keyframes searchDockIn {
    0%   { opacity: 0.7; transform: translate(-50%, -8px); }
    100% { opacity: 1;   transform: translate(-50%, 0); }
}

.hero-search-bar.is-docked {
    position: fixed !important;
    top: 58px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 2.5rem);
    max-width: 960px;
    margin: 0 !important;
    z-index: 990;
    animation: searchDockIn 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-search-bar.is-docked .hero-simple-title { display: none; }
.hero-search-float:has(.is-docked) .hero-search-label { display: none; }

.hero-search-bar.is-docked .hero-fields {
    min-height: 52px;
    border-color: rgba(201, 172, 119, 0.4);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45),
                0 0 20px rgba(201, 172, 119, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 1);
}

.hero-search-bar.is-docked .hero-purpose-toggle { padding: 0.4rem 0.8rem; }
.hero-search-bar.is-docked .purpose-btn { padding: 0.35rem 0.8rem; font-size: 0.72rem; }
.hero-search-bar.is-docked .hero-field { padding: 0.4rem 0.95rem; }
.hero-search-bar.is-docked .hero-field label { display: none; }
.hero-search-bar.is-docked .hero-field input,
.hero-search-bar.is-docked .hero-field select { font-size: 0.88rem; }
.hero-search-bar.is-docked .hero-search-btn { padding: 0 1.5rem; font-size: 0.78rem; }

}

.hero-headline-sep::before,
.hero-headline-sep::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(201,172,119,0.5));
}

.hero-headline-sep::after {
    background: linear-gradient(to left, transparent, rgba(201,172,119,0.5));
}

.hero-headline-sep-diamond {
    width: 6px;
    height: 6px;
    background: var(--primary);
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* ── Hero Search Title pequeno (dentro da barra) ────────────────────────── */
.hero-simple-title {
    display: none; /* A headline principal fica fora da barra agora */
}

/* Primeira seção do catálogo — espaço para a barra de busca flutuante do hero */
.section--first {
    padding-top: 480px !important;
}

/* ── Segmented Control Integrado: Comprar / Alugar ──────────────────────── */
.hero-purpose-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.65rem 0.95rem;
    background: rgba(15, 23, 42, 0.04);
    flex-shrink: 0;
}

.purpose-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
    white-space: nowrap;
}

.purpose-btn:hover:not(.active) {
    color: #0b0f19;
    background: rgba(201, 172, 119, 0.12);
}

.purpose-btn.active {
    background: #0b0f19;
    color: #ffffff;
    border-color: #0b0f19;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
}

/* Barra de campos unificada — Fundo Branco com Efeito Vidro Fosco */
.hero-fields {
    display: flex;
    align-items: stretch;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.94) 100%);
    backdrop-filter: blur(30px) saturate(190%);
    -webkit-backdrop-filter: blur(30px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.95);
    min-height: 64px;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.35),
                0 6px 18px rgba(0, 0, 0, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 1);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-fields:focus-within {
    border-color: var(--primary);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4),
                0 0 0 2px rgba(201, 172, 119, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 1);
}

.hero-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    min-width: 0;
    position: relative;
    transition: background 0.2s ease;
}

.hero-field::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-field:focus-within::after {
    transform: scaleX(1);
}

.hero-field:hover {
    background: rgba(201, 172, 119, 0.05);
}

.hero-field:focus-within {
    background: rgba(201, 172, 119, 0.08);
}

.hero-field label {
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a7042;
    margin-bottom: 0.2rem;
    display: block;
    transition: color 0.2s ease;
}

.hero-field:focus-within label {
    color: var(--primary-hover, #9c7a36);
}

.hero-field input,
.hero-field select {
    background: none;
    border: none;
    outline: none;
    font-size: 0.92rem;
    font-weight: 600;
    color: #0b0f19;
    font-family: var(--font-body);
    width: 100%;
    padding: 0;
    cursor: pointer;
}

.hero-field input::placeholder {
    color: rgba(15, 23, 42, 0.42);
    font-size: 0.85rem;
    font-weight: 400;
}

.hero-field select option {
    background: #ffffff;
    color: #0b0f19;
}

.hero-divider {
    width: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 0.8rem 0;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.hero-fields:focus-within .hero-divider {
    background: rgba(201, 172, 119, 0.25);
}

/* Botão Buscar */
.hero-search-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0 2rem;
    background: #0b0f19;
    color: #ffffff;
    border: none;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.hero-search-btn:hover {
    background: var(--primary);
    color: #0b0f19;
    box-shadow: 0 4px 20px rgba(201, 172, 119, 0.4);
}

.hero-search-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,
            transparent 20%,
            rgba(255, 255, 255, 0.35) 50%,
            transparent 80%);
    background-size: 200% 100%;
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.hero-search-btn:hover::before {
    transform: translateX(100%);
}

.hero-search-btn:hover {
    box-shadow: 0 0 20px rgba(201, 172, 119, 0.4);
    transform: none;
}

.hero-search-btn:active {
    transform: scale(0.97);
}

.hero-search-btn svg {
    transition: transform 0.2s ease;
}

.hero-search-btn:hover svg {
    transform: rotate(-10deg) scale(1.1);
}



/* ── Video Carousel Controls (Minimal Vertical Layout) ───────────────── */
.hero-video-controls {
    position: absolute;
    right: 2.5rem;
    bottom: 50%;
    transform: translateY(50%) translateX(20px);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem;
    background: transparent;
    padding: 0;
    border: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

.hero-section:hover .hero-video-controls,
.hero-video-controls:hover,
.hero-video-controls:focus-within {
    opacity: 1;
    visibility: visible;
    transform: translateY(50%) translateX(0);
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Indicators (01, 02, 03) */
.hero-indicators {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.indicator-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 0.6rem;
    padding: 0;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.indicator-btn:hover {
    opacity: 1;
}

.indicator-number {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #ffffff;
    transition: color 0.3s ease;
    line-height: 1;
}

.indicator-bar {
    width: 24px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    display: block;
    transition: width 0.3s ease;
}

.indicator-progress {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: var(--primary, #c9ac77);
    display: block;
    transition: width 0.1s linear;
}

.indicator-btn.active {
    opacity: 1;
}

.indicator-btn.active .indicator-number {
    font-weight: 800;
    color: var(--primary, #c9ac77);
}

.indicator-btn.active .indicator-bar {
    width: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.indicator-btn.active .indicator-progress {
    box-shadow: 0 0 10px rgba(201, 172, 119, 0.4);
}

/* Navigation Actions (Prev / Play-Pause / Next) */
.hero-nav-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1rem;
}

.hero-ctrl-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    padding: 0;
}

.hero-ctrl-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(201, 172, 119, 0.15);
    transform: translateY(-1px);
}

.hero-ctrl-btn:active {
    transform: scale(0.92);
}

/* Play/Pause Button com Destaque Dourado */
#hero-play-pause-btn {
    width: 34px;
    height: 34px;
    background: var(--primary);
    color: #0b0f19;
    border-color: var(--primary);
}

#hero-play-pause-btn:hover {
    background: #ffffff;
    color: #0b0f19;
    border-color: #ffffff;
    box-shadow: 0 0 16px rgba(201, 172, 119, 0.5);
    transform: scale(1.08);
}

/* ── Scroll Indicator ────────────────────────────────────────────────────── */
.hero-scroll-hint {
    position: absolute;
    bottom: 2.2rem;
    left: 3rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.scroll-line {
    display: block;
    width: 24px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5));
    animation: scrollLineGrow 2s ease-in-out infinite;
}

.scroll-label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

@keyframes scrollLineGrow {
    0% {
        transform: scaleX(0);
        transform-origin: left;
        opacity: 1;
    }
    100% {
        transform: scaleX(1);
        transform-origin: left;
        opacity: 0.4;
    }
}

/* ══ Stats Bar ═══════════════════════════════════════════════════════════ */
.stats-bar-section {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* ══ Partners / Marquee Section ════════════════════════════════════════ */
.partners-section {
    padding: 4rem 0 3.5rem;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.partners-header-row {
    display: flex;
    justify-content: center;
    margin-bottom: 2.75rem;
}

.partners-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.partners-eyebrow-line {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--primary);
    flex-shrink: 0;
}

.partners-eyebrow span:last-child {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ── Marquee wrapper — clips and fades edges ─────────────────────────── */
.marquee-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.25rem;
    /* Fade left/right edges */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 12%,
        #000 88%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 12%,
        #000 88%,
        transparent 100%
    );
}

.marquee-wrapper:last-child {
    margin-bottom: 0;
}

/* ── Track — the scrolling row ───────────────────────────────────────── */
.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeLeft 38s linear infinite;
    will-change: transform;
}

.marquee-reverse .marquee-track {
    animation: marqueeRight 42s linear infinite;
}

/* Pause on hover over the entire section */
.partners-section:hover .marquee-track {
    animation-play-state: paused;
}

/* ── Groups (duplicated for seamless loop) ───────────────────────────── */
.marquee-group {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

/* ── Partner wordmarks ───────────────────────────────────────────────── */
.partner-logo {
    display: inline-block;
    padding: 0 2.25rem;
    white-space: nowrap;
    transition: color 0.25s ease, opacity 0.25s ease;
    opacity: 0.38;
    cursor: default;
}

.partner-logo:hover {
    opacity: 1;
    color: var(--primary) !important;
}

.partner-serif {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    font-style: italic;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.partner-sans {
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.partner-dot {
    font-size: 0.35rem;
    color: var(--primary);
    opacity: 0.55;
    flex-shrink: 0;
}

/* ── Keyframes ───────────────────────────────────────────────────────── */
@keyframes marqueeLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ── Reduced motion fallback ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
}

/* ══ Partners Logos Section ══════════════════════════════════════════════ */
.partners-logos-section {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.partners-logos-header {
    margin-bottom: 3rem;
}

.partners-logos-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.1;
    margin: 0.6rem 0 0;
}

/* ── Marquee outer — clips and fades ────────────────────────────────── */
.partners-marquee-outer {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 8%,
        #000 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 8%,
        #000 92%,
        transparent 100%
    );
}

.partners-marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeLeft 45s linear infinite;
    will-change: transform;
}

/* Pause on hover */
.partners-logos-section:hover .partners-marquee-track {
    animation-play-state: paused;
}

.partners-logo-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
    padding-right: 1.5rem;
}

/* ── Individual logo card ─────────────────────────────────────────────── */
.plogo-card {
    position: relative;
    width: 200px;
    height: 110px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition:
        border-color 0.35s ease,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.plogo-card:hover {
    border-color: rgba(201, 172, 119, 0.6);
    transform: translateY(-5px) scale(1.03);
    z-index: 2;
}

.plogo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%) brightness(0.65);
    transition: filter 0.4s ease, transform 0.5s ease;
}

.plogo-card:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

/* Golden glow that appears on hover */
.plogo-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 50% 50%,
        rgba(201, 172, 119, 0.18) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.plogo-card:hover .plogo-glow {
    opacity: 1;
}

/* ══ Lançamentos Section ═════════════════════════════════════════════════ */

.lancamentos-section {
    background: var(--bg-page);
    padding: 7rem 0;
}

.lancamentos-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.lancamentos-header-text {
    max-width: 520px;
}

.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.eyebrow-line {
    display: block;
    width: 28px;
    height: 1px;
    background: var(--primary);
    flex-shrink: 0;
}

.section-eyebrow span:last-child {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary);
}

.lancamentos-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.05;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.02em;
}

.lancamentos-subtitle {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0;
    max-width: 460px;
}

.lancamentos-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: none;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--primary);
    transition: color 0.2s ease, gap 0.2s ease;
}

.lancamentos-all-link:hover {
    color: var(--primary);
    gap: 0.9rem;
}


/* ── Grid ────────────────────────────────────────────────────────────── */
.lancamentos-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1.2rem;
    align-items: stretch;
}

/* ── Card ─ Full Bleed (imagem + texto sobrepostos) ────────────────── */
/* Card: wrapper de animacao apenas */
.lancamento-card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.65s ease,
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.lancamento-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.lancamento-card.visible:hover {
    transform: translateY(-6px);
}

/* Cover: contem TUDO visualmente */
.lancamento-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 12px;
    transition: box-shadow 0.5s ease;
}

.lancamento-card.visible:hover .lancamento-cover {
    box-shadow:
        0 28px 60px rgba(0,0,0,0.5),
        0 0 0 1px rgba(201,172,119,0.25);
}

/* Primeiro card: proporcao diferente */
.lancamentos-grid .lancamento-card:first-child .lancamento-cover {
    aspect-ratio: 3 / 4;
}

.lancamento-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
    filter: brightness(0.85);
}

.lancamento-card:hover .lancamento-cover img {
    transform: scale(1.06);
    filter: brightness(0.65);
}

/* Overlay ─ gradiente vertical dramático */
.lancamento-cover-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(5,7,10,0.05) 0%,
            rgba(5,7,10,0.1) 35%,
            rgba(5,7,10,0.65) 65%,
            rgba(5,7,10,0.96) 100%
        );
    z-index: 1;
    transition: opacity 0.5s ease;
}

.lancamento-card:hover .lancamento-cover-overlay {
    opacity: 1.15;
}

/* Status pill ─ topo esquerdo */
.lancamento-status-pill {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    padding: 0.35rem 0.9rem;
    background: rgba(5,7,10,0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(201,172,119,0.5);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary);
    border-radius: 100px;
    z-index: 5;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.lancamento-card:hover .lancamento-status-pill {
    background: rgba(201,172,119,0.15);
    border-color: var(--primary);
}

/* Info ─ sobreposição na parte inferior da imagem */
.lancamento-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.6rem 1.6rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    /* Translates up slightly on hover */
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lancamento-card:hover .lancamento-info {
    transform: translateY(-6px);
}

.lancamento-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
}

.lancamento-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.lancamentos-grid .lancamento-card:first-child .lancamento-name {
    font-size: 2rem;
}

.lancamento-tagline {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.55;
    margin: 0;
    font-style: italic;
    /* Oculto por padrão, aparece no hover */
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.lancamento-card:hover .lancamento-tagline {
    opacity: 1;
    transform: translateY(0);
}

.lancamento-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.6rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.lancamento-type {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}

.lancamento-units {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
}

/* Arrow circular ─ canto inferior direito */
.lancamento-arrow {
    position: absolute;
    bottom: 1.6rem;
    right: 1.6rem;
    width: 38px;
    height: 38px;
    background: rgba(201,172,119,0.12);
    border: 1px solid rgba(201,172,119,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    z-index: 5;
    opacity: 0;
    transform: scale(0.7) rotate(-45deg);
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lancamento-card:hover .lancamento-arrow {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .lancamentos-grid {
        grid-template-columns: 1fr 1fr;
    }
    .lancamentos-grid .lancamento-card:first-child {
        grid-column: span 2;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 600px) {
    .lancamentos-grid {
        grid-template-columns: 1fr;
    }
    .lancamentos-grid .lancamento-card:first-child {
        grid-column: span 1;
        aspect-ratio: 3 / 4;
    }
    .lancamento-tagline {
        opacity: 1;
        transform: translateY(0);
    }
}







/* == BRAND CINEMA SECTION ================================================ */

.brand-cinema {
    position: relative;
    width: 100%;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #04060a;
}

/* Imagem full-bleed de fundo */
.brand-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.brand-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    transform: scale(1.04);
    transition: transform 8s ease-out;
}

.brand-cinema.visible .brand-bg img {
    transform: scale(1);
}

/* Overlay multiplo para contraste premium */
.brand-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right,  rgba(4,6,10,0.88) 0%, rgba(4,6,10,0.4) 60%, rgba(4,6,10,0.75) 100%),
        linear-gradient(to bottom, rgba(4,6,10,0.2) 0%, rgba(4,6,10,0.0) 40%, rgba(4,6,10,0.85) 100%);
}

/* Conteudo central */
.brand-body {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 760px;
    padding: 8rem 8vw 5rem;
}

.brand-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s;
}

.brand-cinema.visible .brand-eyebrow {
    opacity: 1;
    transform: translateY(0);
}

.brand-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(201,172,119,0.7);
    animation: cinPulse 2.5s ease-in-out infinite;
}

@keyframes cinPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.6); }
}

.brand-headline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(3rem, 6.5vw, 6rem);
    font-weight: 400;
    line-height: 1.08;
    color: #fff;
    letter-spacing: -0.025em;
    margin: 0 0 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.85s ease 0.25s, transform 0.85s cubic-bezier(0.22,1,0.36,1) 0.25s;
}

.brand-cinema.visible .brand-headline {
    opacity: 1;
    transform: translateY(0);
}

.brand-headline em {
    font-style: italic;
    background: linear-gradient(120deg, #e8c97e 0%, var(--primary) 50%, #c9ac77 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s ease 0.45s, transform 0.7s ease 0.45s;
}

.brand-cinema.visible .brand-sub {
    opacity: 1;
    transform: translateY(0);
}

.brand-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2rem;
    background: rgba(201,172,119,0.12);
    border: 1px solid rgba(201,172,119,0.4);
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    text-decoration: none;
    width: fit-content;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 0.6s ease 0.6s,
        transform 0.6s ease 0.6s,
        background 0.3s ease,
        border-color 0.3s ease,
        gap 0.3s ease;
}

.brand-cinema.visible .brand-btn {
    opacity: 1;
    transform: translateY(0);
}

.brand-btn svg {
    transition: transform 0.3s ease;
}

.brand-btn:hover {
    background: rgba(201,172,119,0.22);
    border-color: var(--primary);
    gap: 1.2rem;
}

.brand-btn:hover svg {
    transform: translateX(4px);
}

/* Faixa de stats na base */
.brand-stats {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(4,6,10,0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.brand-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.brand-stat {
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-right: 1px solid rgba(255,255,255,0.06);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.brand-stat:last-child { border-right: none; }

.brand-cinema.visible .brand-stat:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.7s; }
.brand-cinema.visible .brand-stat:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.85s; }
.brand-cinema.visible .brand-stat:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 1s; }
.brand-cinema.visible .brand-stat:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: 1.15s; }

.brand-stat-top {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.brand-stat-n {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 600;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.04em;
}

.brand-stat-suffix {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--primary);
    line-height: 1;
}

.brand-stat-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.4;
}

/* Stat dividers (grid separators entre colunas) */
.brand-stat-divider { display: none; }

/* Responsive */
@media (max-width: 860px) {
    .brand-body { padding: 6rem 2rem 4rem; }
    .brand-stats-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .brand-headline { font-size: 2.8rem; }
    .brand-body { padding: 5rem 1.5rem 3rem; }
    .brand-stats-inner { grid-template-columns: 1fr 1fr; }
}



/* ══ Stats Bar ═══════════════════════════════════════════════════════════ */
.stats-bar-section {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.stats-bar-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 30%, var(--primary) 70%, transparent 100%);
}

.stats-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    padding: 2.5rem 0;
    gap: 0;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--border-color);
    flex-shrink: 0;
}

.stat-item {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    row-gap: 0.4rem;
    column-gap: 0;
    align-items: baseline;
    text-align: center;
    padding: 0 2rem;
    justify-items: center;
}

.stat-number {
    grid-column: 1;
    grid-row: 1;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-suffix {
    grid-column: 2;
    grid-row: 1;
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-left: -0.5rem;
    display: inline;
}

.stat-label {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ══ Featured Header ═════════════════════════════════════════════════════ */
.section-header-flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header-flex h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-top: 0.6rem;
}

/* ══ Journey / Processo ══════════════════════════════════════════════════ */
.journey-section {
    background: var(--bg-page);
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

/* Linha de fundo decorativa */
.journey-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(201,172,119,0.15) 20%,
        rgba(201,172,119,0.15) 80%,
        transparent 100%
    );
    pointer-events: none;
}

.journey-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 5rem;
}

.journey-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0.5rem 0 1.2rem;
}

.journey-title em {
    font-style: italic;
    color: var(--primary);
}

.journey-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 520px;
    margin: 0 auto;
}

/* ── Steps Grid ─────────────────────────────────────────────────────────── */
.journey-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

/* Linha horizontal que conecta os steps */
.journey-step {
    padding: 0 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
}

.journey-step:first-child {
    padding-left: 0;
}

.journey-step:last-child {
    padding-right: 0;
}

/* Número grande e elegante */
.journey-step-number {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 5rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(201,172,119,0.4);
    transition: -webkit-text-stroke-color 0.4s ease, color 0.4s ease;
    user-select: none;
}

.journey-step:hover .journey-step-number {
    -webkit-text-stroke-color: var(--primary);
}

/* Linha de separação lateral (traço dourado) */
.journey-step-line {
    position: absolute;
    top: 2.5rem; /* alinhado com o centro do número */
    right: 0;
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
    opacity: 0.3;
}

.journey-step-line--last {
    display: none; /* Último step não tem linha à direita */
}

/* Corpo do step */
.journey-step-body {
    flex: 1;
}

.journey-step-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.7rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.journey-step-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* Hover: acende o step inteiro */
.journey-step::after {
    content: '';
    position: absolute;
    inset: -1.5rem -1rem;
    border-radius: 12px;
    background: rgba(201,172,119,0.0);
    transition: background 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.journey-step:hover::after {
    background: rgba(201,172,119,0.04);
}

/* CTA centralizado */
.journey-cta {
    display: flex;
    justify-content: center;
    margin-top: 4.5rem;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .journey-steps {
        grid-template-columns: 1fr 1fr;
        gap: 3rem 0;
    }
    .journey-step-line {
        display: none;
    }
    .journey-step {
        padding: 0 1.5rem;
    }
}

@media (max-width: 600px) {
    .journey-steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .journey-step {
        padding: 0;
    }
    .journey-step-number {
        font-size: 3.5rem;
    }
}


/* ══ Testimonials ════════════════════════════════════════════════════════ */
.testimonials-section {
    background: var(--bg-page);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 2.25rem 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.testimonial-card:hover::after {
    transform: scaleX(1);
}

.testimonial-card:hover {
    border-color: rgba(201, 172, 119, 0.35);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.testimonial-quote-icon {
    color: var(--primary);
    opacity: 0.25;
    line-height: 1;
    width: 36px;
    height: 36px;
}

.testimonial-text {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--text-secondary);
    font-style: italic;
    flex: 1;
    margin: 0;
}

.testimonial-rating {
    display: flex;
    gap: 0.15rem;
}

.testimonial-rating .star {
    color: var(--primary);
    font-size: 0.85rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), #a88444);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

/* ══ CTA Section ═════════════════════════════════════════════════════════ */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, #0b0f19 0%, #111827 60%, #1a1f2e 100%);
    padding: 6rem 0;
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201, 172, 119, 0.07) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 172, 119, 0.05) 0%, transparent 40%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 40px,
            rgba(255,255,255,0.012) 40px,
            rgba(255,255,255,0.012) 41px
        );
    pointer-events: none;
}

.cta-inner {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.cta-line {
    height: 1px;
    width: 60px;
    background: linear-gradient(to right, transparent, rgba(201, 172, 119, 0.5));
}

.cta-eyebrow .cta-line:last-child {
    background: linear-gradient(to left, transparent, rgba(201, 172, 119, 0.5));
}

.cta-inner h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #ffffff;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.cta-inner h2 em {
    font-style: italic;
    color: var(--primary);
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.cta-inner > p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: #0b0f19 !important;
    font-weight: 700;
    padding: 0.9rem 2rem;
    transition: all 0.25s ease;
}

.cta-btn-primary:hover {
    background: #e0c48a;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(201, 172, 119, 0.35);
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 0.9rem 2rem;
    transition: all 0.25s ease;
}

.cta-btn-secondary:hover {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    transform: translateY(-2px);
}

.cta-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    letter-spacing: 0.03em;
}

.cta-trust-item svg {
    color: var(--primary);
    opacity: 0.8;
}

/* ══ Section After Overflowing Hero ══════════════════════════════════════ */
.hero-section + .section {
    padding-top: calc(var(--section-padding, 5rem) + 2rem);
}

/* ══ Responsive ══════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    /* ── Hero Container Mobile ── */
    .hero-section {
        margin-top: 35px !important;  /* ← ajustado para a nova altura do header */
        margin-left: -16px !important; /* ← quebra o padding do container principal */
        margin-right: -16px !important;
        width: calc(100% + 32px) !important;
        min-height: auto !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important; /* ← centraliza o conteúdo verticalmente */
        align-items: center !important;     /* ← centraliza horizontalmente */
        padding: 0 16px !important;
        overflow: hidden !important;
    }

    /* ── Espaçador — define a altura visível do hero ── */
    .hero-section::before {
        content: '' !important;
        display: block !important;
        min-height: 60vh !important;  /* ← hero ainda mais baixo */
        flex-shrink: 0 !important;
    }

    /* ── Vídeo: sem margens laterais, cobre tudo ── */
    .hero-video-wrapper {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 0 !important;
        overflow: hidden !important;
    }

    .hero-video {
        position: absolute !important;
        inset: 0 !important;          /* cola em todas as bordas */
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center 20% !important;
        transform: none !important;   /* sem deslocamento lateral */
    }

    .hero-overlay {
        position: absolute !important;
        inset: 0 !important;
        z-index: 2 !important;
        background: none !important;
    }

    .hero-content {
        position: relative !important;
        z-index: 5 !important;
        padding: 2rem 1.25rem 0.5rem !important;
        text-align: center !important;
        flex: 0 0 auto !important;
    }

    .hero-main-title {
        font-size: clamp(2rem, 7.5vw, 2.5rem) !important;
        line-height: 1.15 !important;
    }

    /* ── Barra de Pesquisa Compacta — fica no centro do hero ── */
    .hero-search-float {
        position: absolute !important;
        top: 50% !important;
        bottom: auto !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%) !important;
        z-index: 10 !important;
        width: 90% !important;
        max-width: 400px !important; /* ← Larga mas contida */
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.3rem !important;
    }

    .hero-search-label {
        font-size: 1rem !important;
        margin-bottom: 0.25rem !important;
        display: block !important;
    }

    .hero-search-bar {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
    }

    .hero-form {
        width: 100% !important;
    }

    /* Card compacto da barra: quadrada, menos destaque */
    .hero-fields {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        width: 100% !important;
        background: #ffffff !important; /* ← branco sólido elegante */
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-radius: 0 !important; /* ← quadrada */
        padding: 0 !important; /* ← sem padding no container */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important; /* ← sombra bem suave */
        border: 1px solid var(--primary, #c9ac77) !important; /* ← borda dourada elegante */
    }

    /* Oculta os campos adicionais no mobile para deixar apenas a busca textual */
    .hero-purpose-toggle,
    .hero-fields .hero-field:nth-child(5),
    .hero-fields .hero-field:nth-child(7) {
        display: none !important;
    }

    /* O campo principal (Localização) ocupa todo o espaço restante */
    .hero-fields .hero-field:nth-child(3) {
        flex: 1 !important;
        padding: 0.1rem 0.8rem !important; /* ← altura extrema fina */
        background: transparent !important;
        border: none !important;
        margin: 0 !important;
        min-width: 0 !important;
    }

    /* Esconde o label para ficar limpo */
    .hero-fields .hero-field:nth-child(3) label {
        display: none !important;
    }

    .hero-fields .hero-field:nth-child(3) input {
        font-size: 1rem !important;
        font-weight: 400 !important; /* ← mais destaque */
        color: #222222 !important;
        padding: 0 !important;
        width: 100% !important;
        background: transparent !important;
        border: none !important;
        height: auto !important;
        line-height: 1.2 !important; /* ← previne altura extra do texto */
    }

    .hero-fields .hero-field:nth-child(3) input::placeholder {
        color: #555555 !important; /* ← placeholder mais escuro */
        font-weight: 400 !important;
        opacity: 1 !important;
    }

    .hero-field {
        padding: 0.1rem 0.8rem !important; /* ← espaço interno extremo fino */
        background: transparent !important;
        border-radius: 0 !important;
        border: none !important;
        width: 100% !important;
        margin: 0 !important;
        min-width: 0 !important;
    }

    .hero-field label {
        font-size: 0.58rem !important;
        font-weight: 800 !important;
        letter-spacing: 0.07em !important;
        margin-bottom: 1px !important;
        display: block !important;
        color: #8a7042 !important;
    }

    .hero-field input,
    .hero-field select {
        font-size: 0.83rem !important;
        font-weight: 600 !important;
        color: #0b0f19 !important;
        padding: 0 !important;
        width: 100% !important;
        background: transparent !important;
        border: none !important;
        height: auto !important;
    }

    .hero-divider {
        display: none !important;
    }

    /* Botão ocupa linha inteira */
    .hero-search-btn {
        width: auto !important;
        height: auto !important; 
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 0 !important;
        background: transparent !important; /* ← sem fundo escuro */
        color: #111111 !important; /* ← lupa escura */
        margin: 0 !important;
        padding: 0 0.8rem !important; /* ← bordas justas */
        border: none !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
    }

    .hero-search-btn span {
        display: none !important; /* ← remove o texto 'Buscar' */
    }

    .hero-search-btn svg {
        stroke-width: 1.2 !important; /* ← ícone mais fino */
        width: 20px !important;
        height: 20px !important;
    }

    /* Controles de Vídeo discretos no canto superior */
    .hero-video-controls {
        display: none !important;
    }

    .indicator-bar {
        width: 16px !important;
    }

    .hero-scroll-hint {
        display: none !important;
    }

    /* Reduz espaço antes da próxima seção de imóveis no mobile */
    .hero-section + .section,
    .section:first-of-type {
        padding-top: 2.5rem !important;
    }

    .section-header-flex {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Editorial */
    .editorial-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .editorial-frame::before,
    .editorial-frame::after {
        display: none;
    }

    .editorial-title-line {
        font-size: clamp(1.6rem, 7vw, 2rem);
    }

    /* Stats */
    .stats-bar {
        grid-template-columns: 1fr 1fr;
        padding: 2rem 0;
    }

    .stat-divider { display: none; }

    .stat-item {
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid var(--border-color);
    }

    /* Differentials */
    .differentials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .differential-card:nth-child(2) {
        border-right: none;
    }

    .differential-card {
        border-bottom: 1px solid var(--border-color);
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-trust-row { gap: 1rem; }
}

@media (max-width: 480px) {
    .differentials-grid {
        grid-template-columns: 1fr;
    }

    .differential-card {
        border-right: none;
    }

    .editorial-highlights {
        flex-direction: column;
        gap: 1rem;
    }
}


/* ══════════════════════════════════════════════════════════════════════════
   INVESTMENT INTELLIGENCE CALCULATOR SECTION
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Section Shell ─────────────────────────────────────────────────────── */
.inv-intel-section {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 5rem;
    background: var(--bg-main);
}

/* Particle canvas fills the entire section */
.inv-particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
}

.inv-intel-section .container {
    position: relative;
    z-index: 1;
}

/* ── Section Header ────────────────────────────────────────────────────── */
.inv-intel-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.inv-intel-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-top: 0.75rem;
    letter-spacing: -0.03em;
}

.inv-title-gold {
    background: linear-gradient(105deg,
        var(--primary-hover) 0%,
        #f0d98a 40%,
        var(--primary) 60%,
        var(--primary-hover) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

.inv-intel-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 1rem;
}

/* ── Two-column Layout ─────────────────────────────────────────────────── */
.inv-calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2.5rem;
    align-items: start;
}

/* ── Left: Inputs Panel ────────────────────────────────────────────────── */
.inv-inputs-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    position: sticky;
    top: 110px;
}

/* Input group */
.inv-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.inv-input-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inv-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.inv-value-display {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(201, 172, 119, 0.08);
    border: 1px solid rgba(201, 172, 119, 0.2);
    padding: 0.2rem 0.65rem;
    border-radius: 6px;
    min-width: 90px;
    text-align: center;
    transition: all 0.25s ease;
}

/* ── Custom Slider ─────────────────────────────────────────────────────── */
.inv-slider-track-wrap {
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
}

.inv-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

/* Fill overlay (behind thumb) */
.inv-slider-fill {
    position: absolute;
    left: 0;
    top: 50%;
    height: 4px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, var(--primary-hover), var(--primary));
    border-radius: 2px;
    pointer-events: none;
    z-index: 1;
    transition: width 0.1s ease;
}

/* Webkit thumb */
.inv-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2.5px solid var(--primary);
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(201, 172, 119, 0.12);
    transition: box-shadow 0.2s ease, transform 0.15s ease;
    position: relative;
    z-index: 3;
}

.inv-slider::-webkit-slider-thumb:hover,
.inv-slider:active::-webkit-slider-thumb {
    box-shadow: 0 0 0 7px rgba(201, 172, 119, 0.2);
    transform: scale(1.15);
}

/* Firefox */
.inv-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2.5px solid var(--primary);
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(201, 172, 119, 0.12);
}

.inv-slider-sm::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
}

.inv-slider-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

/* ── Toggle Switch ─────────────────────────────────────────────────────── */
.inv-toggle-group {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.25rem;
    background: rgba(201, 172, 119, 0.03);
}

.inv-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.inv-toggle-hint {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.inv-toggle-btn {
    position: relative;
    width: 48px;
    height: 26px;
    border-radius: 13px;
    border: none;
    background: var(--border-color);
    cursor: pointer;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.inv-toggle-btn.active {
    background: linear-gradient(90deg, var(--primary-hover), var(--primary));
}

.inv-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.inv-toggle-btn.active .inv-toggle-thumb {
    transform: translateX(22px);
}

.inv-rental-inputs {
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    max-height: 120px;
    opacity: 1;
}

.inv-rental-inputs.collapsed {
    max-height: 0;
    opacity: 0;
}

/* ── Type Chips ─────────────────────────────────────────────────────────── */
.inv-type-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.inv-type-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.inv-type-chip {
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
    text-align: center;
}

.inv-type-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(201, 172, 119, 0.06);
}

.inv-type-chip.active {
    background: linear-gradient(135deg, rgba(201, 172, 119, 0.15), rgba(201, 172, 119, 0.05));
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 0 3px rgba(201, 172, 119, 0.1);
}

/* ── CTA Button ─────────────────────────────────────────────────────────── */
.inv-cta-btn {
    width: 100%;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.85rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.inv-cta-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.inv-cta-btn:hover::after {
    transform: translateX(100%);
}

/* ── Right: Results Panel ───────────────────────────────────────────────── */
.inv-results-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ── Gauge Card ─────────────────────────────────────────────────────────── */
.inv-gauge-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem 2rem 1.5rem;
}

.inv-gauge-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.inv-gauge-svg {
    width: 100%;
    max-width: 280px;
    overflow: visible;
}

.inv-gauge-bg {
    stroke: var(--border-color);
}

.inv-gauge-fill {
    stroke: url(#inv-gauge-gradient);
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                stroke 0.4s ease;
}

.inv-gauge-needle {
    stroke: var(--primary);
    transform-origin: 100px 110px;
    transform: rotate(-90deg);
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 0 4px rgba(201, 172, 119, 0.5));
}

.inv-gauge-pivot {
    fill: var(--primary);
    filter: drop-shadow(0 0 6px rgba(201, 172, 119, 0.6));
}

.inv-gauge-ticks line {
    stroke: var(--text-muted);
}

.inv-gauge-label {
    font-size: 9px;
    fill: var(--text-muted);
    font-family: var(--font-body);
}

.inv-gauge-center {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.inv-gauge-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.03em;
    transition: all 0.4s ease;
}

.inv-gauge-subtitle {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.2rem;
}

.inv-gauge-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.25rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.inv-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.inv-legend-dot.low  { background: #ef4444; }
.inv-legend-dot.mid  { background: #f59e0b; }
.inv-legend-dot.high { background: #10b981; }

/* ── KPI Grid ───────────────────────────────────────────────────────────── */
.inv-kpi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.inv-kpi-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.inv-kpi-card:hover {
    border-color: rgba(201, 172, 119, 0.25);
    transform: translateY(-2px);
}

.inv-kpi-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(201, 172, 119, 0.08);
    border: 1px solid rgba(201, 172, 119, 0.15);
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.inv-kpi-value {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    transition: all 0.4s ease;
}

.inv-kpi-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

/* ── Projection Chart Card ──────────────────────────────────────────────── */
.inv-chart-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.75rem;
}

.inv-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.inv-chart-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.inv-chart-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 6px;
    padding: 0.25rem 0.65rem;
    transition: all 0.3s ease;
}

.inv-chart-area {
    position: relative;
    height: 170px;
}

.inv-projection-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.inv-chart-tooltip {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-highlight);
    border-radius: 10px;
    padding: 0.5rem 0.85rem;
    font-size: 0.75rem;
    color: var(--text-primary);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    z-index: 10;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
}

.inv-chart-tooltip.visible {
    opacity: 1;
}

.inv-chart-footer {
    display: flex;
    gap: 1.25rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.inv-chart-legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.inv-chart-line-sample {
    display: inline-block;
    width: 20px;
    height: 2.5px;
    border-radius: 2px;
}

.inv-chart-line-sample.gold { background: var(--primary); }
.inv-chart-line-sample.gray { background: #6b7280; }
.inv-chart-line-sample.blue { background: #3b82f6; }

/* ── Disclaimer ─────────────────────────────────────────────────────────── */
.inv-disclaimer {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.5;
    opacity: 0.7;
    text-align: center;
    padding: 0 1rem;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .inv-calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .inv-inputs-panel {
        position: static;
    }
}

@media (max-width: 640px) {
    .inv-kpi-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .inv-kpi-value {
        font-size: 1rem;
    }

    .inv-gauge-value {
        font-size: 1.8rem;
    }
}
/* ══════════════════════════════════════════════════════════════════════════
   RADAR DE BAIRROS NOBRES
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Section ────────────────────────────────────────────────────────────── */
.nbr-section {
    background: var(--bg-surface);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.nbr-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(201,172,119,0.05) 0%, transparent 70%),
        radial-gradient(ellipse 40% 30% at 80% 10%, rgba(201,172,119,0.04) 0%, transparent 60%);
    pointer-events: none;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.nbr-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4rem;
}

.nbr-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-top: 0.75rem;
    letter-spacing: -0.03em;
}

.nbr-title-gold {
    background: linear-gradient(105deg,
        var(--primary-hover) 0%,
        #f0d98a 40%,
        var(--primary) 60%,
        var(--primary-hover) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

.nbr-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 1rem;
}

/* ── 3-Column Layout ────────────────────────────────────────────────────── */
.nbr-layout {
    display: grid;
    grid-template-columns: 220px 1fr 300px;
    gap: 2rem;
    align-items: start;
}

/* ── LEFT: Pill List ────────────────────────────────────────────────────── */
.nbr-pill-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: sticky;
    top: 110px;
}

.nbr-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font-body);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.nbr-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(201,172,119,0.08) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.nbr-pill:hover::before,
.nbr-pill.active::before {
    opacity: 1;
}

.nbr-pill:hover {
    border-color: rgba(201,172,119,0.3);
    color: var(--text-primary);
    transform: translateX(3px);
}

.nbr-pill.active {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(4px);
    box-shadow: 0 0 0 3px rgba(201,172,119,0.1);
}

.nbr-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    flex-shrink: 0;
    transition: background 0.25s ease;
}

.nbr-pill.active .nbr-pill-dot {
    background: var(--primary);
}

.nbr-pill-name {
    font-size: 0.85rem;
    font-weight: 600;
    flex: 1;
    line-height: 1.2;
}

.nbr-pill-price {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.nbr-pill-arrow {
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.nbr-pill.active .nbr-pill-arrow,
.nbr-pill:hover .nbr-pill-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ── CENTER: Radar Canvas ───────────────────────────────────────────────── */
.nbr-radar-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    aspect-ratio: 1;
    max-width: 420px;
    margin: 0 auto;
    overflow: hidden;
}

.nbr-radar-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(circle at 50% 50%, rgba(201,172,119,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.nbr-radar-canvas {
    width: 100%;
    height: 100%;
    display: block;
    transition: opacity 0.3s ease;
}

.nbr-radar-canvas.switching {
    opacity: 0;
    transform: scale(0.95);
}

.nbr-radar-name-badge {
    position: absolute;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(201,172,119,0.08);
    border: 1px solid rgba(201,172,119,0.2);
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Score ring overlaid at center of canvas */
.nbr-radar-score-ring {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(201,172,119,0.2);
    transition: all 0.4s ease;
}

.nbr-score-number {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.03em;
    transition: all 0.4s ease;
}

.nbr-score-label {
    font-size: 0.52rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.1rem;
}

/* ── RIGHT: Detail Card ─────────────────────────────────────────────────── */
.nbr-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: all 0.3s ease;
    position: sticky;
    top: 110px;
}

.nbr-detail-card.switching {
    opacity: 0.4;
    transform: translateY(6px);
}

.nbr-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.nbr-detail-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.nbr-detail-name {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.15;
    transition: all 0.3s ease;
}

.nbr-detail-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-full);
    background: rgba(201,172,119,0.1);
    border: 1px solid rgba(201,172,119,0.25);
    color: var(--primary);
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.nbr-detail-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
    transition: all 0.3s ease;
}

/* ── Axis KPI mini-grid ─────────────────────────────────────────────────── */
.nbr-axis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.nbr-axis-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    transition: border-color 0.2s ease;
}

.nbr-axis-item:hover {
    border-color: rgba(201,172,119,0.22);
}

.nbr-axis-name {
    font-size: 0.62rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.nbr-axis-bar-track {
    width: 100%;
    height: 3px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.nbr-axis-bar-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-hover), var(--primary));
    width: 0;
    transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.nbr-axis-score {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

/* ── Price Block ────────────────────────────────────────────────────────── */
.nbr-price-block {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nbr-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nbr-price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nbr-price-val {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.nbr-price-apprec {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #10b981;
    transition: all 0.3s ease;
}

.nbr-apprec-bar-track {
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 0.25rem;
}

.nbr-apprec-bar-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #059669, #10b981);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Profile Tags ───────────────────────────────────────────────────────── */
.nbr-profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.nbr-tag {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.03em;
    transition: all 0.2s ease;
}

.nbr-tag:hover {
    border-color: rgba(201,172,119,0.3);
    color: var(--primary);
}

/* ── CTA Button ─────────────────────────────────────────────────────────── */
.nbr-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(201,172,119,0.12), rgba(201,172,119,0.06));
    border: 1px solid rgba(201,172,119,0.3);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.nbr-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,172,119,0.18), rgba(201,172,119,0.08));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.nbr-cta-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,172,119,0.15);
}

.nbr-cta-btn:hover::before {
    opacity: 1;
}

.nbr-cta-btn svg {
    position: relative;
    transition: transform 0.2s ease;
}

.nbr-cta-btn:hover svg {
    transform: translateX(3px);
}

/* ── Legend ─────────────────────────────────────────────────────────────── */
.nbr-legend {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.nbr-legend-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.nbr-legend-item {
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    cursor: default;
    transition: all 0.2s ease;
}

.nbr-legend-item:hover {
    border-color: rgba(201,172,119,0.3);
    color: var(--primary);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .nbr-layout {
        grid-template-columns: 190px 1fr 270px;
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .nbr-layout {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .nbr-pill-list {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        position: static;
        gap: 0.4rem;
    }

    .nbr-pill {
        transform: none !important;
    }

    .nbr-radar-wrap {
        max-width: 340px;
    }

    .nbr-detail-card {
        position: static;
    }
}

@media (max-width: 600px) {
    .nbr-layout {
        grid-template-columns: 1fr;
    }

    .nbr-pill-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .nbr-radar-wrap {
        max-width: 100%;
    }

    .nbr-axis-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* ══════════════════════════════════════════════════════════════════════════
   COLEÇÃO EXCLUSIVA (FULLSCREEN CINEMATIC CAROUSEL) — V3
   ══════════════════════════════════════════════════════════════════════════ */

.cinematic-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #05070a;
}

/* ── Grain overlay ──────────────────────────────────────────────────────── */
.cine-grain {
    position: absolute;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 180px;
    mix-blend-mode: overlay;
}

/* ── Track (container dos slides, posicionado absolute) ─────────────────── */
.cine-track {
    position: absolute;
    inset: 0;
}

/* ── Cada slide ─────────────────────────────────────────────────────────── */
.cine-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 8vw;
    /* Estado padrão: fora da tela pela direita */
    transform: translateX(100%);
    transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
    z-index: 1;
}

/* Slide ativo: centralizado */
.cine-slide.active {
    transform: translateX(0);
    z-index: 2;
}

/* Slide que saiu: vai para fora pela esquerda */
.cine-slide.prev {
    transform: translateX(-100%);
    z-index: 1;
}

/* ── Background (Imagem com Ken Burns) ─────────────────────────────────── */
.cine-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    /* Ken Burns: zoom sutil na imagem ativa */
    transform: scale(1.08);
    transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.cine-slide.active .cine-slide-bg {
    transform: scale(1);
}

/* Overlay dramático - luz vem do lado esquerdo */
.cinematic-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(5,7,10,0.9) 0%, rgba(5,7,10,0.3) 45%, rgba(5,7,10,0.1) 70%),
        linear-gradient(0deg, rgba(5,7,10,0.8) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

/* ── Conteúdo do Slide ──────────────────────────────────────────────────── */
.cine-slide-content {
    position: relative;
    z-index: 5;
    max-width: 520px;
    /* Entra da direita quando o slide está ativo */
    transform: translateX(60px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s,
                opacity  0.8s ease 0.3s;
}

.cine-slide.active .cine-slide-content {
    transform: translateX(0);
    opacity: 1;
}

.cine-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(201,172,119,0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.cine-prop-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.cine-prop-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
}

.cine-meta-sep {
    color: var(--primary);
    opacity: 0.5;
}

.cine-prop-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    margin-bottom: 2.2rem;
}

.cine-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

/* ── UI OVERLAY ─────────────────────────────────────────────────────────── */
.cine-ui {
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none; /* Passa-se o clique para os elementos filhos */
}

/* Header (Canto Sup. Esq.) */
.cinematic-header {
    position: absolute;
    top: 10%;
    left: 6%;
    max-width: 500px;
    pointer-events: none;
}

.cinematic-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-top: 0.5rem;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.cinematic-title-gold {
    background: linear-gradient(105deg, var(--primary-hover) 0%, #f0d98a 40%, var(--primary) 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contador (Canto Sup. Dir.) */
.cine-counter {
    position: absolute;
    top: 2.5rem;
    right: 3rem;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.cine-counter-current {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.06em;
    transition: all 0.4s ease;
}

.cine-counter-sep {
    font-size: 1rem;
    color: rgba(255,255,255,0.25);
    padding: 0 0.2rem;
}

.cine-counter-total {
    font-size: 1rem;
    color: rgba(255,255,255,0.35);
    font-weight: 500;
}

/* ── Setas de Navegação ─────────────────────────────────────────────────── */
.cine-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(11, 15, 25, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    pointer-events: auto; /* Permite clique apesar do parent ter pointer-events: none */
    transition: all 0.3s ease;
    z-index: 10;
}

.cine-arrow:hover {
    background: rgba(201, 172, 119, 0.2);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-50%) scale(1.05);
}

.cine-arrow-prev { left: 2.5rem; }
.cine-arrow-next { right: 2.5rem; }

/* ── Dots ───────────────────────────────────────────────────────────────── */
.cine-dots {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    pointer-events: auto;
}

.cine-dot {
    width: 28px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.cine-dot.active {
    width: 48px;
    background: var(--primary);
    box-shadow: 0 0 8px rgba(201,172,119,0.6);
}

/* ── CTA portfólio ──────────────────────────────────────────────────────── */
.cine-portfolio-link {
    position: absolute;
    bottom: 2rem;
    right: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    pointer-events: auto;
    transition: color 0.3s ease;
}

.cine-portfolio-link:hover {
    color: var(--primary);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .cine-slide {
        padding: 1.5rem;
        align-items: flex-end;
        justify-content: center;
    }
    .cine-slide-content {
        max-width: 100%;
    }
    .cinematic-header {
        top: 8%;
        left: 1.5rem;
    }
    .cine-arrow {
        width: 44px;
        height: 44px;
    }
    .cine-arrow-prev { left: 1rem; }
    .cine-arrow-next { right: 1rem; }
}

@media (max-width: 600px) {
    .cinematic-section {
        height: 90vh;
    }
    .cine-prop-title {
        font-size: 1.8rem;
    }
    .cine-badge {
        font-size: 0.65rem;
    }
    .cine-arrow {
        display: none; /* Em mobile, swipe basta */
    }
    .cine-portfolio-link {
        display: none;
    }
}



/* A seção principal precisa ter uma altura enorme para forçar o scroll vertical. 
   Isso será calculado pelo JS baseado na quantidade de imagens. Mas colocamos um fallback. */
.cinematic-section {
    position: relative;
    background: #05070a;
    width: 100%;
}

/* Grain texture cinematográfico (SVG inline base64) */
.cine-grain {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px;
    mix-blend-mode: overlay;
    transition: opacity 0.5s ease;
}

/* Ativa o grain quando está dentro da seção cinemática */
.in-cinematic .cine-grain {
    opacity: 0.04;
}

/* O wrapper que gruda (sticky) na tela quando o usuário chega nele */
.sticky-wrapper {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Header flutuante em cima das imagens */
.cinematic-header {
    position: absolute;
    top: 10%;
    left: 5%;
    z-index: 20;
    max-width: 600px;
    pointer-events: none; /* Para não bloquear cliques nas imagens */
}

.cinematic-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-top: 0.5rem;
    letter-spacing: -0.03em;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* ── Contador de Slides ─────────────────────────────────────────────────── */
.cine-counter {
    position: absolute;
    top: 2rem;
    right: 3rem;
    z-index: 20;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    mix-blend-mode: normal;
}

.cine-counter-current {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.05em;
}

.cine-counter-sep {
    font-size: 1rem;
    color: rgba(255,255,255,0.3);
    padding: 0 0.2rem;
}

.cine-counter-total {
    font-size: 1rem;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}

/* ── Barra de Progresso ─────────────────────────────────────────────────── */
.cine-progress-bar {
    position: absolute;
    bottom: 2.5rem;
    left: 5%;
    right: 5%;
    height: 1px;
    background: rgba(255,255,255,0.12);
    z-index: 20;
    border-radius: 2px;
    overflow: hidden;
}

.cine-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #f0d98a);
    width: 0%;
    border-radius: 2px;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(201,172,119,0.6);
}

/* ── Scroll Hint ────────────────────────────────────────────────────────── */
.cine-scroll-hint {
    position: absolute;
    bottom: 4.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.cine-scroll-hint.hidden {
    opacity: 0;
}

.cine-hint-icon {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: hintBounce 1.5s infinite ease-in-out;
}

@keyframes hintBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

.cinematic-title-gold {
    background: linear-gradient(105deg, var(--primary-hover) 0%, #f0d98a 40%, var(--primary) 70%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cinematic-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-top: 1.5rem;
    line-height: 1.7;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* ── Container Horizontal ───────────────────────────────────────────────── */
/* Este é o elemento que o JS vai empurrar para a esquerda (translateX) */
.horizontal-container {
    display: flex;
    height: 100vh;
    width: fit-content;
    /* will-change garante performance em 60fps na transição */
    will-change: transform;
}

/* Cada "Slide" da galeria */
.cinematic-panel {
    position: relative;
    width: 100vw; /* Ocupa 100% da largura da tela */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Conteúdo na direita */
    padding: 0 10vw;
    overflow: hidden;
}

/* A Imagem de Fundo (Monstruosa) */
.cinematic-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Efeito de Parallax hover opcional */
.cinematic-panel:hover .cinematic-img {
    transform: scale(1.05);
}

/* Overlay dramático para o texto ler bem */
.cinematic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5,7,10,0.15) 0%, transparent 30%, transparent 60%, rgba(5,7,10,0.85) 100%),
                linear-gradient(0deg, rgba(5,7,10,0.7) 0%, transparent 60%);
    z-index: 2;
    pointer-events: none;
}

/* ── Conteúdo do Slide (Glassmorphism Cards) ────────────────────────────── */
.cinematic-content {
    position: relative;
    z-index: 5;
    background: rgba(11, 15, 25, 0.5);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* JS vai adicionar a classe .in-view quando o painel chegar no centro da tela */
.cinematic-panel.in-view .cinematic-content {
    transform: translateY(0);
    opacity: 1;
}

.cine-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(201,172,119,0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.cine-prop-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Meta tags (metragem, suítes, etc.) */
.cine-prop-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.cine-meta-sep {
    color: var(--primary);
    opacity: 0.6;
}

.cine-prop-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cine-btn {
    width: 100%;
    text-align: center;
}

/* ── Painel Final (CTA) ─────────────────────────────────────────────────── */
.cine-end-panel {
    width: 60vw;
    background: #05070a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-left: 1px solid rgba(255,255,255,0.04);
}

.cine-end-content {
    text-align: center;
    padding: 4rem;
    max-width: 480px;
}

.cine-end-logo {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-hover), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
    line-height: 1;
}

.cine-end-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.cine-end-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .cinematic-header {
        top: 15%;
    }
    .cinematic-title {
        font-size: 2.5rem;
    }
    .cinematic-content {
        padding: 2rem;
    }
    .cine-prop-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 600px) {
    /* Em mobile extremo, o scrolljacking atrapalha. Desabilitamos o sticky e deixamos normal */
    .cinematic-section {
        height: auto !important;
    }
    .sticky-wrapper {
        position: relative;
        height: auto;
        display: block;
    }
    .cinematic-header {
        position: relative;
        top: 0;
        left: 0;
        padding: 4rem 1.5rem 2rem;
        text-align: center;
    }
    .horizontal-container {
        display: block;
        height: auto;
        width: 100%;
        transform: none !important; /* Desativa o js transform */
    }
    .cinematic-panel {
        width: 100%;
        height: 80vh;
        padding: 1.5rem;
        align-items: flex-end;
    }
    .cine-end-panel {
        width: 100%;
        height: 60vh;
    }
    .cinematic-content {
        transform: translateY(0);
        opacity: 1; /* Sempre visível no mobile */
    }
}

