/* ========================================
   Villa Harmonia - Condomínio Residencial de Luxo
   ======================================== */

/* Paleta de Cores */
/* Variáveis CSS */
:root {
    /* Cores */
    /* Cores Primárias - Paleta Personalizada */
    --primary-dark: #042C31;        /* Azul Petróleo Escuro - fundos, cabeçalhos */
    --secondary-dark: #1a3f44;      /* Azul petróleo um pouco mais claro para variação */
    --primary-gold: #886D40;        /* Marrom Dourado Quente - acentos, botões */
    --accent-gold: #9d7d4d;         /* Dourado mais claro para gradientes */
    
    /* Cores Neutras e Claras */
    --bg-cream: #EBE8E2;            /* Creme Suave - fundos claros */
    --bg-mint: #EBEFE7;             /* Branco Menta - fundos alternativos */
    --sage-green: #D8DFCF;          /* Acentos sutis */
    
    /* Cores de Texto */
    --text-light: #EBE8E2;          /* Texto claro em fundos escuros */
    --text-dark: #042C31;           /* Texto escuro em fundos claros */
    --text-gray: #E0E6D9;           /* Texto suave, informações secundárias - Improved contrast */
    --text-gold: #886D40;           /* Texto dourado para destaques */
    
    /* Utilitários */
    --overlay-dark: rgba(4, 44, 49, 0.45);
    --overlay-light: rgba(235, 232, 226, 0.05);
    
    /* Tipografia */
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Cormorant Garamond', serif;
    
    /* Espaçamento */
    --container-width: 1200px;
    --section-padding: 120px 0;
    --section-padding-mobile: 60px 0;
    
    /* Transições */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s ease;
}

/* Reset e Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Cabeçalho Principal */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: linear-gradient(180deg, rgba(4, 44, 49, 0.9) 0%, rgba(4, 44, 49, 0.6) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(136, 109, 64, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding: 15px 0;
}

.header-content {
    width: 100%;
    padding: 0 80px 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    max-width: 160px;
    display: flex;
    align-items: center;
}

.logo-image {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    transition: var(--transition-fast);
}

.logo-image:hover {
    opacity: 0.9;
}

.header-contact-btn {
    padding: 12px 32px;
    background: rgba(136, 109, 64, 0.12);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-contact-btn:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(136, 109, 64, 0.35);
}

/* Seção Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
    padding-left: 80px;
}

/* Vídeo de Fundo */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
    filter: brightness(0.85); /* Vídeo mais claro */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(136, 109, 64, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(216, 223, 207, 0.04) 0%, transparent 50%);
    animation: pulseGlow 8s ease-in-out infinite;
    z-index: 2;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 44, 49, 0.3); /* Sobreposição mais clara para melhor visibilidade */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
    max-width: 900px;
    padding: 0 24px;
    margin-left: 0;
    /* animation: fadeInUp 1s ease-out; Removed as per request */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    max-width: 280px;
    height: auto;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-info {
    margin-bottom: 50px;
}

.property-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.property-detail {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-gray);
    letter-spacing: 1px;
}

.property-address {
    font-size: 14px;
    color: var(--primary-gold);
    font-weight: 600;
    margin-top: 10px;
    letter-spacing: 2px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    /* animation: fadeIn 2s ease-in 1s both; Removed as per request */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.scroll-indicator span {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-gray);
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--primary-gold) 0%, transparent 100%);
    animation: scrollArrow 2s ease-in-out infinite;
}

@keyframes scrollArrow {
    0%, 100% { transform: translateY(0); opacity: 0; }
    50% { transform: translateY(10px); opacity: 1; }
}

/* Barra de Menu de Vidro */
.glass-menu {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 20;
    /* animation: fadeInUp 1.2s ease-out 0.5s both; Removed as per request */
}

.glass-menu-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 44, 49, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(136, 109, 64, 0.2);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
    padding: 0;
    width: 100%;
}

.glass-menu-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 22px 16px;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
    cursor: pointer;
}

.glass-menu-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-gold));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-menu-item:hover::before {
    transform: scaleX(1);
}

.glass-menu-item:hover {
    background: rgba(136, 109, 64, 0.08);
}

.glass-menu-item:hover .menu-text {
    color: var(--primary-gold);
    transform: translateY(-2px);
}

.menu-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.menu-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(136, 109, 64, 0.3) 20%,
        rgba(136, 109, 64, 0.5) 50%,
        rgba(136, 109, 64, 0.3) 80%,
        transparent 100%
    );
    flex-shrink: 0;
}

/* Botão CTA */
.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold) 100%);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(136, 109, 64, 0.35);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(136, 109, 64, 0.5);
}

/* Títulos de Seção */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-light);
}

.section-title.center {
    text-align: center;
}

.section-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-gray);
    max-width: 600px;
    margin-bottom: 40px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.8;
}

/* Seção de Vídeo */
.video-section {
    padding: 120px 0;
    background: var(--secondary-dark);
    min-height: 900px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(136, 109, 64, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(216, 223, 207, 0.04) 0%, transparent 50%);
    backdrop-filter: blur(100px);
    -webkit-backdrop-filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.video-section-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    padding: 0 80px;
    position: relative;
    z-index: 1;
}

.video-wrapper {
    flex: 1.5;
    min-width: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.video-content {
    flex: 1;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.video-wrapper:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.section-video {
    width: 100%;
    min-height: 450px;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
}

/* Hide native controls on iOS/Android */
.section-video::-webkit-media-controls {
    display: none !important;
}

.section-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.video-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(136, 109, 64, 0.12);
    border: 1px solid var(--primary-gold);
    border-radius: 30px;
    color: var(--primary-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    align-self: flex-start;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: tagPulse 3s ease-in-out infinite;
}

@keyframes tagPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(136, 109, 64, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(136, 109, 64, 0.4);
    }
}


.video-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-light);
    margin: 0;
    margin-top: -10px;
}

.video-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-gray);
    margin: 0;
}

/* Overlay de Reprodução de Vídeo */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: opacity 0.4s ease;
}

.video-play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(4, 44, 49, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(136, 109, 64, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    transition: var(--transition-smooth);
    animation: playPulse 2.5s ease-in-out infinite;
}



.video-play-overlay:hover .play-icon {
    transform: scale(1.15);
    background: rgba(136, 109, 64, 0.8);
    color: var(--primary-dark);
    border-color: var(--primary-gold);
}

@keyframes playPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(136, 109, 64, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(136, 109, 64, 0);
    }
}

/* Linha Dourada Decorativa */
.video-gold-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-gold));
    border-radius: 2px;
    margin: -10px 0;
}

/* Estatísticas de Vídeo */
.video-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid rgba(136, 109, 64, 0.15);
    border-bottom: 1px solid rgba(136, 109, 64, 0.15);
}

.video-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-gold);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-gray);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(136, 109, 64, 0.4) 50%,
        transparent 100%
    );
}

.video-cta-btn {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition-smooth);
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.video-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gold);
    transition: left 0.5s;
    z-index: -1;
}

.video-cta-btn:hover::before {
    left: 0;
}

.video-cta-btn:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(136, 109, 64, 0.4);
}




/* Seção Carrossel da Galeria */
.gallery-section {
    padding: 120px 0;
    background: var(--sage-green);
    min-height: 750px;
    display: flex;
    align-items: center;
}

.gallery-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: center;
    padding: 0 80px;
}

.gallery-controls {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.gallery-arrows {
    display: flex;
    gap: 16px;
}

.gallery-arrow {
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary-dark);
    background: transparent;
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-arrow:hover {
    background: var(--primary-dark);
    color: var(--sage-green);
    transform: scale(1.1);
}

.gallery-arrow:active {
    transform: scale(0.95);
}

.gallery-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    margin: 0;
}

.gallery-subtitle {
    font-family: var(--font-display);
    font-size: 18px;
    font-style: italic;
    color: var(--primary-gold);
    margin: -20px 0 0 0;
    letter-spacing: 0.5px;
}

.gallery-controls {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
    align-items: flex-start;
}

.gallery-counter {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 3px;
    opacity: 0.7;
    min-width: 70px;
    display: flex;
    align-items: center;
}

.gallery-fullscreen-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: transparent;
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-fullscreen-btn:hover {
    background: var(--primary-dark);
    color: var(--sage-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(4, 44, 49, 0.3);
}

.gallery-fullscreen-btn svg {
    width: 20px;
    height: 20px;
}

.gallery-indicators {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.gallery-indicator {
    width: 40px;
    height: 3px;
    background: rgba(4, 44, 49, 0.25);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.gallery-indicator.active {
    background: var(--primary-dark);
}

.gallery-indicator:hover {
    background: rgba(4, 44, 49, 0.5);
}

.gallery-images {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gallery-track {
    display: flex;
    height: 100%;
    position: relative;
}

.gallery-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.gallery-item.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



/* Placeholders de Imagem */
.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2A2A2A 0%, #1A1A1A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(136, 109, 64, 0.04) 10px,
            rgba(136, 109, 64, 0.04) 20px
        );
}

.brand-placeholder {
    min-height: 500px;
    border-radius: 8px;
}

.gallery-placeholder {
    background: linear-gradient(135deg, #2A2A2A 0%, #3A3A3A 100%);
}

.plan-placeholder {
    min-height: 600px;
    border-radius: 8px;
}

/* Animação Fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Design Responsivo */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .brand-section .container {
        gap: 50px;
    }
    

    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    /* Estilos de menu móvel removidos - usando apenas menu de vidro */
    /*
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        padding: 100px 40px;
        transition: var(--transition-smooth);
        z-index: 999;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .nav-link {
        font-size: 16px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    */
    
    .video-section-container {
        flex-direction: column;
        gap: 40px;
        padding: 0 24px;
    }
    
    .video-wrapper {
        min-width: 100%;
        order: 2;
    }
    
    .video-content {
        min-width: 100%;
        text-align: center;
    }
    
    .section-tag {
        order: 1;
        align-self: center;
    }
    
    .video-title {
        order: 2;
    }
    
    .video-description {
        order: 3;
    }
    
    .video-gold-line {
        order: 3;
        align-self: center;
    }
    
    .video-stats {
        order: 4;
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
        background: linear-gradient(
            to right,
            transparent 0%,
            rgba(136, 109, 64, 0.4) 50%,
            transparent 100%
        );
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .play-icon {
        width: 64px;
        height: 64px;
    }
    
    .glass-menu {
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        padding: 0;
        position: absolute; /* Revert to absolute/default if inside media query, or just let the new block handle it */
    }

    .glass-menu-container {
        border-radius: 0;
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }

    .glass-menu-item {
        padding: 12px 8px;
    }
    
    .video-cta-btn {
        order: 5;
        align-self: center;
        margin-top: 20px;
    }
    
    /* Layout de Galeria Móvel - Ordem Personalizada */
    .gallery-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 24px;
        text-align: center;
        align-items: center;
    }
    
    .gallery-title {
        order: 1;
        font-size: 24px;
        margin: 0;
    }
    
    .gallery-subtitle {
        order: 1;
        font-size: 16px;
        margin: -10px 0 0 0;
    }
    
    .gallery-counter {
        justify-content: center;
    }
    
    .gallery-images {
        order: 2;
        width: 100%;
        height: 400px;
    }
    
    .gallery-indicators {
        order: 3;
        justify-content: center;
        margin: 0;
    }
    
    .gallery-arrows {
        order: 4;
        display: flex;
        justify-content: center;
        gap: 20px;
        margin: 0;
    }
    
    .gallery-arrow {
        width: 50px;
        height: 50px;
    }
    
    .gallery-fullscreen-btn {
        order: 5;
        margin: 0 auto;
    }
    
    .gallery-controls {
        display: contents;
    }
    
    .gallery-images {
        height: 450px;
    }
    
    .brand-section .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .brand-content {
        padding-right: 0;
    }
    

    
    .glass-menu-container {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .glass-menu-container::-webkit-scrollbar {
        display: none;
    }
    
    .glass-menu-item {
        flex: 0 0 auto;
        min-width: 140px;
        padding: 18px 16px;
    }
    
    .menu-text {
        font-size: 11px;
        letter-spacing: 1.2px;
        white-space: nowrap;
    }
    
    .menu-divider {
        height: 50px;
    }
    
    /* Otimização de Cabeçalho Móvel */
    .header .container {
        padding: 0 16px;
        gap: 12px;
    }
    
    .header-logo {
        max-width: 80px;
        height: auto;
    }
    
    .header-contact-btn {
        padding: 8px 16px;
        font-size: 9px;
        letter-spacing: 1px;
        white-space: nowrap;
    }
    
    .header.scrolled {
        padding: 10px 0;
    }
    
    /* Seção de Vídeo Móvel - Exibição Mais Ampla */
    .video-section-container {
        padding: 0 16px;
    }
    
    .video-cta-btn {
        padding: 14px 28px;
        font-size: 11px;
        letter-spacing: 1.5px;
        max-width: 100%;
        order: 3;
    }
    
    .hero {
        min-height: 85vh;
    }
    
    .hero-title {
        font-size: clamp(32px, 9vw, 42px);
        line-height: 1.1;
    }
    
    .property-detail {
        font-size: 12px;
    }
    
    .hero-logo {
        max-width: 200px;
        height: 40px;
    }
    
    .video-section-container {
        padding: 0 24px;
    }
    
    .gallery-container {
        padding: 0 24px;
    }
    
    .gallery-images {
        height: 350px;
    }
    
    .header.scrolled {
        padding: 12px 0;
    }
    
    .header .container {
        padding: 0 20px;
    }
    
    .header-content {
        padding: 0 16px; /* Reduce padding to fit content */
        gap: 10px; /* Reduce gap */
    }

    .header-logo {
        max-width: 90px; /* Slightly smaller logo */
    }
    
    .header-contact-btn {
        padding: 8px 12px; /* Smaller button */
        font-size: 10px;
        white-space: nowrap; /* Prevent breaking */
    }
    
    .hero-title {
        font-size: clamp(36px, 10vw, 48px);
    }
    
    .property-detail {
        font-size: 13px;
    }
    
    .video-section-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0 40px;
    }
    
    .video-content {
        text-align: center;
    }
    
    .video-cta-btn {
        align-self: center;
    }
    
    .hero {
        padding-left: 24px;
    }
    
    .header-content {
        padding: 0 24px;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .gallery-container {
        padding: 0 24px;
    }

    .glass-menu {
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        padding: 16px 20px;
        border-radius: 0;
        transform: none; /* Redefinir transformação de centralização distinta, se houver */
    }

    .nav-item {
        font-size: 13px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 24px;
    }
    
    .logo-subtitle {
        font-size: 9px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .property-detail {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .cta-button {
        padding: 15px 35px;
        font-size: 12px;
    }
}

/* ========================================
   Seção de Conexões
   ======================================== */
.connections-section {
    padding: var(--section-padding);
    background: var(--primary-dark);
}

/* Animação de Rolagem GSAP - Estados ocultos iniciais (Removido para teste) */
/*
.connections-title,
.connections-subtitle,
.connections-gold-line,
.connection-item,
.connections-image,
.video-wrapper,
.video-content .section-tag,
.video-title,
.video-gold-line,
.video-description,
.video-stats,
.video-cta-btn,
.gallery-title,
.gallery-subtitle,
.gallery-images,
.gallery-indicators,
.gallery-arrows,
.gallery-fullscreen-btn,
.braganca-title,
.braganca-description,
.braganca-card {
    opacity: 0;
}
*/

/* ========================================
   Seção Bragança Paulista
   ======================================== */
.braganca-section {
    padding: 100px 0;
    background: var(--primary-dark);
    position: relative;
}

.braganca-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

.braganca-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 700;
    color: var(--text-light);
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.braganca-description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 0 50px 0;
}

.braganca-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.braganca-card {
    background: rgba(107, 83, 53, 0.6); /* Efeito de vidro em #6B5335 */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
    cursor: pointer;
}

.braganca-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.braganca-card-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin: 12px;
    width: calc(100% - 24px);
    border-radius: 8px;
}

.braganca-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.braganca-card:hover .braganca-card-image img {
    transform: scale(1.08);
}

.braganca-card-title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
    padding: 20px 16px 4px;
}

.braganca-card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-gold);
        padding: 4px 16px 20px;
        letter-spacing: 0.5px;
        transition: var(--transition-fast);
    }

    .braganca-card:hover .braganca-card-link {
        background: var(--primary-gold);
        color: #FFFFFF;
    }

/* ========================================
   Divisor Decorativo
   ======================================== */
.section-divider-container {
    width: 100%;
    max-width: 1100px; /* Um pouco menos que a largura total do container */
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
    pointer-events: none; /* Apenas visual */
}

.section-divider-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.4), var(--primary-gold), rgba(197, 160, 89, 0.4), transparent);
    opacity: 0.6;
}

/* Modal Bragança */
.braganca-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.braganca-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.braganca-modal {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.braganca-modal-overlay.active .braganca-modal {
    transform: scale(1) translateY(0);
}

.braganca-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.08);
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 2;
}

.braganca-modal-close:hover {
    background: rgba(0, 0, 0, 0.15);
    transform: rotate(90deg);
}

.braganca-modal-image {
    width: 100%;
    height: 100%;
    min-height: 350px;
    position: relative;
    overflow: hidden;
}

.braganca-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.braganca-modal-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.braganca-modal-category {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #6B5335;
}

.braganca-modal-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

.braganca-modal-text {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.connections-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    padding: 0 80px;
    align-items: center;
}

.connections-content {
    min-width: 0;
}

.connections-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 700;
    color: var(--text-light);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.connections-subtitle {
    font-family: var(--font-display);
    font-size: 16px;
    font-style: italic;
    color: var(--primary-gold);
    margin: 0 0 16px 0;
    letter-spacing: 0.5px;
}

.connections-gold-line {
    width: 50px;
    height: 2px;
    background: var(--primary-gold);
    margin-bottom: 32px;
}

.connections-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.connection-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(136, 109, 64, 0.06);
    border-left: 3px solid var(--primary-gold);
    border-radius: 4px;
    transition: var(--transition-fast);
}

.connection-item:hover {
    background: rgba(136, 109, 64, 0.12);
    transform: translateX(5px);
}

.connection-icon {
    min-width: 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    margin-top: 2px;
}

.connection-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-gray);
    margin: 0;
}

.connections-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.connections-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(4, 44, 49, 0.3) 100%);
    border-radius: 12px;
    pointer-events: none;
}

.connections-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Seção Explore a Região
   ======================================== */
.explore-section {
    padding: var(--section-padding);
    background: #F9F9F7; /* Fundo sofisticado off-white */
    position: relative;
}

/* Opcional: Linha dourada conectando mapa ao conteúdo */
.explore-map-container::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
    margin: 20px auto 0; /* Linha centralizada */
    opacity: 0.7;
}

.explore-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.explore-map-container {
    width: 100%;
    height: 500px;
    border-radius: 12px; /* Raio ligeiramente mais apertado */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Sombra mais suave */
    border: 1px solid rgba(0,0,0,0.05);
}

.explore-content {
    display: flex;
    gap: 32px; /* Aumento do vão para elegância */
    align-items: center; /* Alinhar lista e slider ao centro */
}

.explore-title {
    margin-bottom: 24px;
    color: var(--primary-dark);
    text-align: left;
}

.explore-list-container {
    flex: 1;
    min-width: 0;
}

.explore-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colunas para altura mínima */
    gap: 5px; /* Vão ultra apertado */
    margin-bottom: 0;
}

.explore-item {
    background: #FFFFFF; /* Cartão branco */
    padding: 5px; /* Preenchimento ultra reduzido */
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04); /* Sombra sutil */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.explore-item:hover, .explore-item.active {
    background: #FFFFFF;
    border-color: var(--primary-gold);
    transform: translateY(-2px); /* Flutuação ligeiramente menor */
    box-shadow: 0 6px 16px rgba(136, 109, 64, 0.12);
}

.explore-item-header {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 9px; /* Fonte menor */
    color: var(--primary-dark);
    margin-bottom: 2px; /* Margem ultra apertada */
    line-height: 1.2;
    white-space: normal;
}

.explore-item-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 8px; /* Detalhes minúsculos */
    color: #888;
    font-weight: 500;
    margin-top: auto; /* Empurrar para o fundo */
}

.explore-detail {
    display: flex;
    align-items: center;
    gap: 4px;
}

.explore-detail svg {
    color: var(--primary-gold); /* Ícones dourados */
    width: 12px;
    height: 12px;
}

.explore-detail span {
    color: var(--primary-dark);
    font-weight: 700; /* Números em negrito */
}

.explore-slider-container {
    flex: 1;
    min-width: 0;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12); /* Sombra mais forte */
    align-self: flex-start;
}

.explore-slides {
    width: 100%;
    height: 100%;
}

.explore-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.explore-slide.active {
    opacity: 1;
    pointer-events: all;
}

.explore-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.explore-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px 20px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); /* Gradiente suave */
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.explore-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.3);
}

.explore-nav:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.explore-nav.prev { left: 16px; }
.explore-nav.next { right: 16px; }

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--sage-green);
}

.footer-main {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    padding: 80px 80px 40px;
    align-items: center;
}

.footer-info {       
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-logo {
    width: 280px;
    height: auto;
}

.footer-gold-line {
    height: 3px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(136, 109, 64, 0.2) 15%,
        var(--primary-gold) 50%,
        rgba(136, 109, 64, 0.2) 85%,
        transparent 100%
    );
}

.footer-tagline {
    font-family: var(--font-display);
    font-size: 18px;
    font-style: italic;
    color: var(--primary-gold);
    margin: -8px 0 0 0;
    letter-spacing: 0.5px;
    opacity: 1; /* Improved contrast */
}

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 4px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(4, 44, 49, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    opacity: 0.8; /* Improved contrast */
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-link:hover {
    opacity: 1;
    color: var(--primary-gold);
    border-color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(136, 109, 64, 0.2);
}

.footer-address {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    opacity: 0.9; /* Improved contrast */
    margin: 0;
}

.footer-map {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.footer-map iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 80px;
    border-top: 1px solid rgba(4, 44, 49, 0.1);
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-dark);
    opacity: 0.8; /* Improved contrast */
    margin: 0;
}

.footer-privacy-link {
    font-size: 12px;
    color: var(--text-dark);
    opacity: 0.8; /* Improved contrast */
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-privacy-link:hover {
    opacity: 1;
    color: var(--primary-gold);
}

/* ========================================
   Seção de Obras
   ======================================== */
.construction-section {
    padding: 100px 0;
    /* 2. Foco Cinematográfico: Gradiente Radial */
    background: radial-gradient(circle at center, #FFFFFF 0%, #FAFAFA 100%);
    text-align: left;
}

.construction-title {
    text-align: left;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.construction-subtitle {
    text-align: left;
    color: var(--primary-gold);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

/* 3. Detalhes de Luxo: Linha Dourada */
.construction-gold-line {
    width: 60px; /* Será animado */
    height: 3px;
    background-color: var(--primary-gold);
    margin-bottom: 40px;
}

.construction-slider-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 40px 0 80px; /* Preenchimento aumentado para sombras */
}

.construction-slides {
    display: flex;
    width: 100%;
    height: 380px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.construction-slide {
    flex: 0 0 60%;
    height: 100%;
    /* 2. Foco Cinematográfico: Desfoque e Escala de Cinza para slides laterais */
    opacity: 0.6;
    transform: scale(0.85);
    filter: grayscale(100%) blur(2px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}

/* 4. Detalhe Final: Borda Interna */
.construction-slide::after {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
    z-index: 3;
}

.construction-slide.active {
    opacity: 1;
    transform: scale(1);
    filter: grayscale(0%) blur(0);
    z-index: 2;
    /* 3. Detalhes de Luxo: Sombra Premium Quente */
    box-shadow: 0 25px 50px -12px rgba(197, 160, 89, 0.25);
}

.construction-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 1. Slide Minimalista: Navegação em Vidro */
.construction-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    /* Glassmorfismo */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(197, 160, 89, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    transition: all 0.3s ease;
    z-index: 4;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.construction-nav:hover {
    background: rgba(197, 160, 89, 0.1);
    border-color: var(--primary-gold);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.15);
}

.construction-nav.prev { left: 20px; }
.construction-nav.next { right: 20px; }

/* 1. Slide Minimalista: Indicadores de Linha */
.construction-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}

.construction-indicator {
    width: 24px; /* Estilo de linha */
    height: 3px;
    border-radius: 2px;
    background: rgba(197, 160, 89, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
    border: none;
}

.construction-indicator.active {
    background: var(--primary-gold);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.4);
}

/* ========================================
   Botão Flutuante WhatsApp
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    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-smooth);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* ========================================
   Rodapé e WhatsApp Mobile
   ======================================== */
@media (max-width: 768px) {
    .header-logo {
        max-width: 120px;
    }
    
    .header-content {
        padding: 12px 16px;
    }
    
    .header-contact-btn {
        padding: 8px 16px;
        font-size: 11px;
    }
    
    /* Seção de Vídeo Mobile */
    .video-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    .video-section-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }
    
    .video-content {
        display: contents;
    }
    
    /* Ordem móvel: 1) título/texto 2) estatísticas 3) vídeo + botão */
    .section-tag { order: 1; }
    .video-title { order: 2; }
    .video-gold-line { order: 3; }
    .video-description { order: 4; }
    .video-stats { order: 5; }
    .video-wrapper { order: 6; min-width: unset; width: 100%; }
    .video-cta-btn { order: 7; align-self: stretch; text-align: center; padding: 14px 24px; font-size: 12px; }
    
    .section-video {
        min-height: 220px;
    }
    
    .video-title {
        font-size: 28px;
    }
    
    .video-description {
        font-size: 15px;
    }
    
    .video-stats {
        display: flex;
        flex-direction: row;
        gap: 8px;
        padding: 18px 0;
        flex-wrap: nowrap;
        justify-content: space-between;
        width: 100%;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .stat-divider {
        height: 30px;
    }

    /* Seção Bragança Mobile */
    .braganca-section {
        padding: 60px 0;
    }
    
    .construction-section {
        padding: 60px 0;
    }

    .construction-slider-container {
        padding: 0 24px 60px; /* Added side padding */
        width: 100%;
        overflow: hidden;
    }

    .construction-slides {
        height: 260px; /* Slightly reduced height */
    }

    .construction-slide {
        flex: 0 0 100%;
        border-radius: 12px;
        transform: scale(1); /* Reset scale as padding handles spacing */
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .construction-slide.active {
        transform: scale(1);
    }

    .construction-nav {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.2);
    }

    .construction-nav.prev { left: 10px; }
    .construction-nav.next { right: 10px; }

    .construction-gold-line {
        width: 40px !important;
        margin-bottom: 30px;
    }
    
    .braganca-container {
        padding: 0 24px;
    }
    
    .braganca-title {
        font-size: 28px;
    }
    
    .braganca-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .braganca-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .braganca-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        justify-self: center;
    }
    
    .braganca-card-title {
        font-size: 16px;
        padding: 16px 12px 2px;
    }
    
    .braganca-card-link {
        font-size: 12px;
        padding: 2px 12px 14px;
    }
    
    .braganca-card {
        cursor: pointer;
    }
    

    .connections-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 24px;
    }
    
    .connections-title {
        font-size: 28px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 50px 24px 30px;
        text-align: center;
    }
    
    .footer-info {
        align-items: center;
        order: 2;
    }
    
    .footer-map {
        height: 250px;
        order: -1;
    }
    
    .footer-logo {
        width: 180px;
        margin: 0 auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        padding: 20px 24px;
        text-align: center;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        z-index: 10000 !important; /* Ensure it's on top of everything */
    }
    
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
    
    /* Região Explore Mobile */
    .explore-container {
        gap: 24px;
    }

    .explore-map-container {
        height: 300px; /* Altura menor no celular */
    }

    .explore-content {
        flex-direction: column;
        gap: 24px;
    }
    
    .explore-list-container, 
    .explore-slider-container {
        width: 100%;
        flex: auto;
    }

    .explore-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* Correction for Mobile Menu - Infinite Width & Scroll */
/* Placed at the end to ensure override and correct scoping */
@media (max-width: 768px) {
    .glass-menu {
        position: absolute !important; /* Scrolls with the page */
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important; /* 100% of viewport */
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important; /* Ensure container handles bg */
        z-index: 9999 !important;
        transform: none !important;
        border-radius: 0 !important;
    }

    .glass-menu-container {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        border: none !important;
        border-top: 1px solid rgba(136, 109, 64, 0.2) !important;
        padding: 0 16px !important;
        
        /* Horizontal Scroll Logic */
        display: flex !important;
        justify-content: flex-start !important; /* Start items from left */
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }

    .glass-menu-container::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .glass-menu-item {
        flex: 0 0 auto !important; /* Don't shrink */
        padding: 16px 20px !important; /* Larger touch targets */
        white-space: nowrap !important;
    }

    .menu-divider {
        flex: 0 0 1px !important;
        height: 40px !important; /* Adjust height for mobile */
        margin: 0 5px;
    }



    /* Fix Modal Image Sizing on Mobile */
    /* Fix Modal Image Sizing on Mobile */
    .braganca-modal-overlay {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 20px !important; /* Safety padding */
    }

    .braganca-modal {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 320px !important; /* Strict max width */
        height: 80vh !important; /* Slightly smaller to fit comfortably */
        max-height: 600px !important;
        position: relative !important; /* Reset from fixed */
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 0 !important;
        border-radius: 12px !important;
        overflow: hidden !important; 
        box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    }

    .braganca-modal-image {
        width: 100% !important;
        height: 180px !important; /* Even smaller to save space */
        min-height: 180px !important;
        flex: 0 0 auto !important; 
        position: relative !important;
        order: 1 !important; 
    }

    .braganca-modal-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .braganca-modal-content {
        order: 2 !important;
        flex: 1 1 auto !important; /* Take remaining space */
        overflow-y: auto !important; /* Scrollable text area */
        padding: 24px !important;
        background: #fff !important;
        display: block !important; /* Simple block layout for text */
    }
}

/* Mobile Menu Logic Removed */

@media (max-width: 768px) {
    /* Navbar adjustments for mobile */
    .header-content {
        padding: 8px 24px; /* Reduced vertical padding */
        justify-content: space-between;
    }

    .header-logo {
        max-width: 100px; /* Reduced from 120px */
    }

    /* Adjust contact button for mobile */
    .header-contact-btn {
        padding: 8px 12px;
        font-size: 10px;
        letter-spacing: 1px;
    }
    /* Fix Play Icon Alignment on Mobile */
    .play-icon svg {
        margin-left: 0;
        width: 28px; /* Slightly smaller icon */
        height: 28px;
    }
    
    .play-icon {
        width: 60px; /* Smaller container */
        height: 60px;
    }
}

/* ========================================
   Popup de Cookies
   ======================================== */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 20px;
    right: 20px;
    background: rgba(4, 44, 49, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(136, 109, 64, 0.3);
    border-radius: 12px;
    padding: 24px;
    z-index: 9999;
    transform: translateY(150%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    visibility: hidden;
}

.cookie-popup.show {
    transform: translateY(-20px);
    visibility: visible;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cookie-content p {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.cookie-reject-btn {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.cookie-reject-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.cookie-accept-btn {
    background: var(--primary-gold);
    color: var(--primary-dark);
    border: none;
    padding: 12px 28px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.cookie-accept-btn:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(136, 109, 64, 0.4);
}

@media (max-width: 768px) {
    .cookie-popup {
        left: 10px;
        right: 10px;
        padding: 20px;
    }

    .cookie-popup.show {
        transform: translateY(-10px);
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .cookie-content p {
        font-size: 13px;
    }

    .cookie-reject-btn,
    .cookie-accept-btn {
        width: 100%;
        padding: 14px;
        display: flex;
        justify-content: center;
    }
}


