/* Ajuste de padding para o card Vision com logo grande */
.imovel-card .imovel-content {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}
/* Harmonizar a logo do Vision com os demais cards */
.imovel-card .imovel-logo img[src*="vision-logo-branca.png"] {
    height: 90px;
    margin-bottom: 0.5rem;
}
/* Ajuste especial para o card Vision com logo grande */
.imovel-card.vision-card .imovel-content {
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
}

.imovel-card.vision-card .imovel-logo {
    margin-bottom: 2.5rem;
}
/* ========================================
   RESET & VARIABLES
======================================== */

:root {
    --bg-primary: #0D0D0D;
    --bg-secondary: #111111;
    --bg-card: rgba(255,255,255,0.03);
    --text-primary: #FFFFFF;
    --text-secondary: #CFCFCF;
    --accent-gold: #C8A048;
    --accent-gold-light: #d4b05a;
    --border-subtle: rgba(255,255,255,0.08);
    --border-hover: rgba(200,160,72,0.5);
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-hover: 0 10px 40px rgba(0,0,0,0.5);
    --transition-fast: 0.15s ease;
    --transition-medium: 0.2s ease;
    --transition-slow: 0.3s ease;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   IMAGE OPTIMIZATION
======================================== */

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ========================================
   PRELOADER
======================================== */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-logo {
    max-width: 180px;
    animation: preloaderFade 1s ease-in-out;
}

@keyframes preloaderFade {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================
   TYPOGRAPHY
======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.text-gold {
    color: var(--accent-gold);
}

/* ========================================
   LAYOUT
======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

section {
    border-top: 1px solid var(--border-subtle);
    content-visibility: auto; /* Performance Boost */
    contain-intrinsic-size: 800px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3.5rem;
}

.section-header-left {
    text-align: left;
    margin: 0 0 2rem;
}

.section-description {
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* ========================================
   BUTTONS
======================================== */

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-gold), #b8923e);
    color: var(--bg-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-medium);
    text-transform: none;
    box-shadow: 0 4px 15px rgba(200,160,72,0.3);
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(200,160,72,0.4);
}

.cta-button svg {
    flex-shrink: 0;
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: transparent;
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    border: 2px solid var(--accent-gold);
    cursor: pointer;
    transition: var(--transition-medium);
}

.cta-button-secondary:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

/* ========================================
   HEADER / NAVIGATION
======================================== */

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-medium);
}

#header.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar {
    width: 100%;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.nav-logo img {
    height: 40px;
    width: auto;
    transition: var(--transition-medium);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition-medium);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.6rem 1.2rem;
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
}

.nav-cta:hover {
    background: var(--accent-gold-light);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    left: 0;
    transition: var(--transition-fast);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

/* ========================================
   HERO SECTION
======================================== */

#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-top: none;
    content-visibility: visible; /* Hero must be visible */
    contain-intrinsic-size: auto;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(13,13,13,0.4) 0%,
        rgba(13,13,13,0.6) 50%,
        rgba(13,13,13,0.9) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1.5rem;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    animation: slideInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollBounce 2s infinite;
}

/* ========================================
   QUEM SOMOS
======================================== */

.destaques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.destaque-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    text-align: center;
    transition: var(--transition-medium);
}

.destaque-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.destaque-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200,160,72,0.1);
    border-radius: 50%;
    color: var(--accent-gold);
}

.destaque-card h3 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

/* ========================================
   PORTFÓLIO
======================================== */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-grid.portfolio-empty {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.portfolio-coming-soon {
    text-align: center;
    max-width: 500px;
    padding: 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
}

.coming-soon-icon {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.portfolio-coming-soon h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.portfolio-coming-soon p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.portfolio-coming-soon .cta-button {
    display: inline-flex;
}

.imovel-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease,
                box-shadow 0.4s ease,
                opacity 0.6s ease;
    will-change: transform, opacity;
    opacity: 0; /* Initial state for animation */
    transform: translateY(20px);
}

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

.imovel-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.imovel-image {
    position: relative;
    overflow: hidden;
    margin: 0;
    background: linear-gradient(135deg, 
                rgba(200,160,72,0.08) 0%, 
                rgba(200,160,72,0.03) 100%);
}

.imovel-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease;
    will-change: transform;
}

.imovel-card:hover .imovel-image img {
    transform: scale(1.05);
}

.imovel-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.8rem;
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.imovel-content {
    padding: 1.5rem;
}

.imovel-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.imovel-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.imovel-location svg {
    flex-shrink: 0;
}

.imovel-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* ========================================
   POR QUE INVESTIR
======================================== */

.investir-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.beneficios-list {
    list-style: none;
    display: grid;
    gap: 1.5rem;
}

.beneficio-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-medium);
}

.beneficio-item:hover {
    border-color: var(--border-hover);
    transform: translateX(5px);
}

.beneficio-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200,160,72,0.1);
    border-radius: 10px;
    color: var(--accent-gold);
}

.beneficio-item h3 {
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.beneficio-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* ========================================
   DIFERENCIAIS
======================================== */

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.diferencial-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.diferencial-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.diferencial-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(200,160,72,0.15);
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    line-height: 1;
}

.diferencial-card h3 {
    color: var(--accent-gold);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.diferencial-card p {
    font-size: 0.95rem;
    margin: 0;
}

/* ========================================
   ESPECIALISTAS
======================================== */

.especialistas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.especialista-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-subtle);
    text-align: center;
    transition: var(--transition-medium);
    overflow: hidden;
}

.especialista-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.especialista-photo {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.02);
}

.especialista-photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.especialista-signature {
    margin-bottom: 1rem;
}

.especialista-signature img {
    max-width: 180px;
    height: auto;
    margin: 0 auto;
}

.especialista-image {
    margin-bottom: 1.5rem;
}

.especialista-image img {
    max-width: 200px;
    height: auto;
    margin: 0 auto;
}

.especialista-content h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.especialista-role {
    display: block;
    color: var(--accent-gold);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.especialista-creci {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.especialista-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.especialista-content .cta-button {
    width: 100%;
    margin-bottom: 0.8rem;
}

.instagram-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem 1.5rem;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 50px;
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: var(--transition-medium);
}

.instagram-button:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    border-color: transparent;
    transform: translateY(-2px);
}

.instagram-button svg {
    flex-shrink: 0;
}

/* ========================================
   DEPOIMENTOS - GALERIA 3D
======================================== */

#depoimentos {
    overflow: hidden;
    padding: 5rem 0;
}

#depoimentos .container {
    max-width: 1200px;
    overflow: visible;
}

#depoimentos .section-header {
    margin-bottom: 4.5rem;
}

.depoimentos-wrapper {
    position: relative;
    height: 450px;
    perspective: 1000px;
    margin: 3rem 0;
}

.depoimentos-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.depoimento-card {
    position: absolute;
    width: 400px;
    max-width: 90vw;
    min-height: 320px;
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(200, 160, 72, 0.2);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    
    /* Estado padrão - cards de fundo */
    opacity: 0.4;
    transform: scale(0.85) translateX(0);
    /* filter: blur(2px); REMOVED for performance */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
    will-change: transform, opacity;
}

/* Card ativo - em destaque */
.depoimento-card.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    /* filter: blur(0); */
    z-index: 10;
    pointer-events: auto;
    border-color: var(--accent-gold);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(200, 160, 72, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Card anterior (esquerda) */
.depoimento-card.prev {
    opacity: 0.5;
    transform: scale(0.8) translateX(-120%) rotateY(15deg);
    /* filter: blur(1px); */
    z-index: 5;
    pointer-events: auto;
}

/* Card próximo (direita) */
.depoimento-card.next {
    opacity: 0.5;
    transform: scale(0.8) translateX(120%) rotateY(-15deg);
    /* filter: blur(1px); */
    z-index: 5;
    pointer-events: auto;
}

/* Cards mais distantes */
.depoimento-card.far-prev {
    opacity: 0.2;
    transform: scale(0.65) translateX(-200%) rotateY(25deg);
    /* filter: blur(3px); */
    z-index: 2;
}

.depoimento-card.far-next {
    opacity: 0.2;
    transform: scale(0.65) translateX(200%) rotateY(-25deg);
    /* filter: blur(3px); */
    z-index: 2;
}

/* Cards ocultos */
.depoimento-card.hidden {
    opacity: 0;
    transform: scale(0.5) translateX(0);
    pointer-events: none;
}

/* Hover no card ativo */
.depoimento-card.active:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(200, 160, 72, 0.2);
}

/* Hover nos cards laterais para indicar clicável */
.depoimento-card.prev:hover,
.depoimento-card.next:hover {
    opacity: 0.7;
    border-color: rgba(200, 160, 72, 0.4);
}

.depoimento-stars {
    color: var(--accent-gold);
    font-size: 1.3rem;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(200, 160, 72, 0.3);
}

.depoimento-card blockquote {
    flex: 1;
    display: flex;
    align-items: flex-start;
    margin: 0;
}

.depoimento-card blockquote p {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin: 0;
}

.depoimento-author {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(200, 160, 72, 0.3);
}

.author-name {
    display: block;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.author-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contador de depoimentos */
.depoimentos-counter {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.depoimentos-counter .current {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Navegação do Slider */
.depoimentos-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.depoimento-nav-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 1px solid rgba(200, 160, 72, 0.3);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.depoimento-nav-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: linear-gradient(145deg, #1f1f1f, #141414);
    box-shadow: 0 0 20px rgba(200, 160, 72, 0.2);
    transform: scale(1.05);
}

.depoimento-nav-btn:active {
    transform: scale(0.95);
}

.depoimento-nav-btn svg {
    pointer-events: none;
    width: 20px;
    height: 20px;
}

.depoimentos-dots {
    display: flex;
    gap: 0.6rem;
}

.depoimentos-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-fast);
}

.depoimentos-dots .dot.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}

.depoimentos-dots .dot:hover {
    background: var(--accent-gold-hover);
}

/* ========================================
   BLOG
======================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-medium);
}

.blog-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.blog-card-link {
    display: block;
}

.blog-image {
    position: relative;
    overflow: hidden;
    margin: 0;
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.3rem 0.8rem;
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content time {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.blog-content h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin: 0.8rem 0;
    line-height: 1.4;
    transition: var(--transition-fast);
}

.blog-card:hover .blog-content h3 {
    color: var(--accent-gold);
}

.blog-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-read-more {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ========================================
   LOCALIZAÇÃO (REMOVIDO - Substituído por Worldwide)
======================================== */


/* ========================================
   FOOTER
======================================== */

#footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

#footer .container {
    padding: 4rem 1.5rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .footer-logo {
    max-width: 120px;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
}

.footer-nav h4,
.footer-contact h4,
.footer-cta h4 {
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.footer-nav ul,
.footer-contact ul {
    list-style: none;
}

.footer-nav li,
.footer-contact li {
    margin-bottom: 0.6rem;
}

.footer-nav a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--accent-gold);
}

.footer-contact li {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-legal-info {
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-legal-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

.footer-cta h4 {
    font-size: 1.1rem;
    line-height: 1.4;
}

.footer-cta .cta-button {
    margin-top: 1rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: var(--accent-gold);
}

/* ========================================
   WHATSAPP FLOAT BUTTON
======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-medium);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ========================================
   ANIMATIONS
======================================== */

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

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

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0.5;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.fade-in.visible,
.fade-in[data-animated="true"] {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ========================================
   RESPONSIVE - MOBILE FIRST
======================================== */

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition-medium);
        box-shadow: -5px 0 30px rgba(0,0,0,0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-toggle.active .hamburger {
        background: transparent;
    }

    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    .portfolio-grid,
    .blog-grid,
    .especialistas-grid {
        grid-template-columns: 1fr;
    }

    .especialista-photo {
        width: 100%;
    }

    .investir-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand .footer-logo {
        margin: 0 auto 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 55px;
        height: 55px;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .cta-button {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }

    .scroll-indicator {
        display: none;
    }

    /* Depoimentos responsivo mobile */
    .depoimentos-wrapper {
        height: 420px;
    }

    .depoimento-card {
        width: 300px;
        max-width: 85vw;
        min-height: 350px;
        padding: 1.5rem;
    }

    .depoimento-card.prev,
    .depoimento-card.next {
        transform: scale(0.75) translateX(-90%) rotateY(10deg);
    }

    .depoimento-card.next {
        transform: scale(0.75) translateX(90%) rotateY(-10deg);
    }

    .depoimento-card.far-prev,
    .depoimento-card.far-next {
        opacity: 0;
    }

    .depoimento-nav-btn {
        width: 44px;
        height: 44px;
    }

    .depoimentos-dots .dot {
        width: 6px;
        height: 6px;
    }

    .depoimento-card blockquote p {
        font-size: 0.9rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 4rem 2rem;
    }

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

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

    /* Depoimentos tablet */
    .depoimentos-wrapper {
        height: 400px;
    }

    .depoimento-card {
        width: 360px;
    }
}

@media (min-width: 1025px) {
    .container {
        padding: 6rem 2rem;
    }

    .investir-wrapper {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .section-header-left {
        position: sticky;
        top: 120px;
    }
}

/* ========================================
   PRINT STYLES
======================================== */

@media print {
    #header,
    .whatsapp-float,
    .scroll-indicator {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

/* ========================================
   PORTFOLIO CARDS (IMOVEL CARDS)
======================================== */

.imovel-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.imovel-logo {
    margin-bottom: 1rem;
    background: transparent;
}

.imovel-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Aumentar a logo do Terra */
.imovel-logo img.terra-logo {
    height: 60px;
}

/* Aumentar logos dos empreendimentos */
.imovel-logo img.videiras-logo,
.imovel-logo img.veleiros-logo,
.imovel-logo img.voz-logo {
    height: 70px;
}

/* Aumentar logos dos empreendimentos maiores */
.imovel-logo img.veccel-logo,
.imovel-logo img.vitta-logo,
.imovel-logo img.vision-logo {
    height: 80px;
}

.imovel-specs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.imovel-specs .spec {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.imovel-cta {
    display: inline-block;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.imovel-card:hover .imovel-cta {
    transform: translateX(5px);
}

/* ========================================
   PÁGINAS INTERNAS / EMPREENDIMENTOS
======================================== */

/* Hero do Empreendimento */
.empreendimento-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.empreendimento-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 1.5rem;
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    background: rgba(0,0,0,0.5);
    border-radius: 50px;
    backdrop-filter: blur(5px);
    transition: var(--transition-fast);
}

.back-link:hover {
    background: rgba(200,160,72,0.2);
    color: var(--accent-gold);
}

.empreendimento-logo {
    margin-bottom: 1.5rem;
}

.empreendimento-logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.empreendimento-tagline {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.empreendimento-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.badge {
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-primary);
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.hero-slider-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.8rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}

/* Informações Principais */
.empreendimento-info {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.info-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.info-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.info-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
}

.highlight-icon {
    font-size: 2rem;
}

.highlight-item div {
    display: flex;
    flex-direction: column;
}

.highlight-item strong {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.highlight-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-cta-box {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    position: sticky;
    top: 100px;
}

.info-cta-box h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.info-cta-box .cta-button {
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.cta-note {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Galeria */
.galeria-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.galeria-tab {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    transition: var(--transition-medium);
}

.galeria-tab:hover,
.galeria-tab.active {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
}

.galeria-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.galeria-grid.active {
    display: grid;
    animation: fadeIn 0.5s ease-out;
}

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

.galeria-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.galeria-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galeria-item:hover figcaption {
    opacity: 1;
}

/* Lazer */
.lazer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

.lazer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-medium);
}

.lazer-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.lazer-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Localização */
.localizacao-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.localizacao-proximidades {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    gap: 1.5rem;
}

.localizacao-proximidades li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.proximidade-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200,160,72,0.1);
    border-radius: 50%;
}

.localizacao-proximidades div {
    display: flex;
    flex-direction: column;
}

.localizacao-proximidades strong {
    color: var(--text-primary);
}

.localizacao-proximidades span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* CTA Final */
.cta-box {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(200,160,72,0.1), rgba(13,13,13,0.8));
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
}

.cta-box h2 {
    margin-bottom: 1rem;
}

.cta-box p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

.cta-button-alt {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.cta-button-alt:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.lightbox-caption {
    text-align: center;
    color: white;
    margin-top: 1rem;
    font-size: 1.1rem;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 2001;
    padding: 0.5rem;
    transition: transform 0.2s ease;
}

.lightbox-close:hover {
    transform: scale(1.1);
    color: var(--accent-gold);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    cursor: pointer;
    padding: 1rem;
    z-index: 2001;
    transition: background 0.2s ease;
    border-radius: 50%;
}

.lightbox-nav:hover {
    background: rgba(200,160,72,0.8);
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

.lightbox-counter {
    position: absolute;
    top: 2rem;
    left: 2rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* Responsivo Empreendimentos */
@media (max-width: 992px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-cta-box {
        position: static;
        order: -1; /* CTA primeiro no mobile/tablet se quiser, ou tire isso */
    }

    .localizacao-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .empreendimento-hero-content h1 {
        font-size: 2rem;
    }

    .info-content h1 {
        font-size: 2rem;
    }

    .galeria-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .lightbox-nav {
        padding: 0.5rem;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .lightbox-prev { left: 1rem; }
    .lightbox-next { right: 1rem; }
}

/* ========================================
   WORLDWIDE SECTION
======================================== */
.worldwide-section {
    background-color: var(--bg-primary);
    text-align: center;
}

.worldwide-header {
    margin-bottom: 4rem;
    text-align: center;
}

.worldwide-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.worldwide-header .text-gold {
    display: block;
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    margin-top: 0.5rem;
    font-weight: 700;
}

.worldwide-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

.worldwide-content {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.03), transparent);
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
}

.worldwide-content-title {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.worldwide-content-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 650px;
    line-height: 1.6;
}

.worldwide-list {
    list-style: none;
    padding: 0;
}

.worldwide-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary); /* Texto branco/claro conforme imagem */
    font-size: 1.05rem;
}

.worldwide-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 1.5rem;
    line-height: 1;
    top: -2px;
}

@media (max-width: 768px) {
    .worldwide-content {
        padding: 1.5rem;
    }
    
    .worldwide-header h2 {
        font-size: 1.8rem;
    }
    
    .worldwide-header .text-gold {
        font-size: 2rem;
    }
    
    .worldwide-content-title {
        font-size: 1.4rem;
    }
}
