:root {
    /* Color Palette - Premium & Modern */
    --primary: #0a192f;
    /* Deep Navy */
    --secondary: #c5a059;
    /* Champagne Gold */
    --accent: #172a45;
    /* Lighter Navy */
    --text-main: #e6f1ff;
    /* Off White */
    --text-muted: #8892b0;
    /* Slate Silver */
    --bg-main: #0a192f;
    --bg-gradient: linear-gradient(135deg, #0a192f 0%, #172a45 100%);
    --white: #ffffff;

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    /* Spacing & Transitions */
    --section-padding: 100px 20px;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-padding);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 15px 0;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.logo span {
    color: var(--secondary);
}

header ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

header ul li a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 400;
    transition: var(--transition-smooth);
}

header ul li a:hover {
    color: var(--secondary);
}

.nav-cta {
    padding: 10px 20px;
    border: 1px solid var(--secondary);
    border-radius: 4px;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-main);
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.4), rgba(10, 25, 47, 0.7));
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-text {
    max-width: 650px;
}

.price-tag {
    background: var(--secondary);
    color: var(--primary);
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.price-tag:hover {
    transform: translateY(-5px);
}

#hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
}

#hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Preço Destaque */
.price-tag {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    background: var(--secondary);
    color: var(--primary);
    padding: 30px;
    border-radius: 12px;
    z-index: 5;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.price-tag h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.price-tag .amount {
    font-size: 2.2rem;
    font-weight: 700;
}

.price-tag .sub {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Music Control */
.music-toggle {
    position: fixed;
    bottom: 40px;
    left: 40px;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--secondary);
    transition: var(--transition-smooth);
}

.music-toggle:hover {
    background: var(--secondary);
    color: var(--primary);
}

@media (max-width: 968px) {
    .hero-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 30px;
    }

    .hero-text {
        max-width: 100%;
    }

    .price-tag {
        width: 100%;
        max-width: 280px;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--secondary);
    margin: 0 auto;
}

.bg-alt {
    background: #0d213b;
}

/* Imovel Grid */
.imovel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.specs {
    list-style: none;
    margin-top: 30px;
}

.specs li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.specs li::before {
    content: "→";
    color: var(--secondary);
}

.imovel-media {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
}

/* Lazer Grid */
.lazer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

@media (max-width: 1100px) {
    .lazer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

.lazer-card {
    padding: 40px;
    text-align: center;
    transition: var(--transition-smooth);
}

.lazer-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

.lazer-card .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 20px;
}

.lazer-card h3 {
    margin-bottom: 15px;
    color: var(--secondary);
}

.lazer-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Localizacao */
.loc-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.loc-text {
    align-self: center;
}

.loc-items {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.loc-tag {
    background: var(--accent);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid var(--glass-border);
}

.loc-map {
    overflow: hidden;
    border-radius: 12px;
    height: 450px;
}

/* Galeria Exclusive */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 400px;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.galeria-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(10, 25, 47, 0.9));
    transition: var(--transition-smooth);
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-item:hover .galeria-overlay {
    bottom: 0;
}

/* Footer/Contato */
#contato {
    text-align: center;
    background: var(--accent);
    border-top: 1px solid var(--glass-border);
}

#contato h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#contato p {
    margin-bottom: 40px;
    color: var(--text-muted);
}

/* Responsividade */
@media (max-width: 968px) {
    header ul {
        display: none;
    }

    .imovel-grid,
    .loc-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    section {
        padding: 60px 20px;
    }
}

/* Final Utility classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--secondary);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
    filter: brightness(1.1);
}

/* Botão WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

/* Video Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.modal-content {
    width: 90%;
    max-width: 1000px;
    position: relative;
    border: 2px solid var(--secondary);
    border-radius: 8px;
    overflow: hidden;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

video#full-tour-video {
    width: 100%;
    display: block;
}

/* Planta Section Styling */
#plantas {
    background: var(--bg-main);
}

.plantas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.planta-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.planta-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.planta-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    text-align: center;
    border: 2px dashed var(--glass-border);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.planta-preview:hover {
    border-color: var(--secondary);
    background: rgba(197, 160, 89, 0.05);
}

.planta-preview .pdf-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.planta-preview span {
    display: block;
    margin-bottom: 20px;
    font-weight: 600;
}

.planta-preview a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--secondary);
    padding-bottom: 2px;
}

@media (max-width: 768px) {
    .plantas-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .planta-preview {
        padding: 40px;
    }
}