/* Design System: Copacabana Coastal Luxury */
:root {
    --primary: #0B192C;
    --primary-light: #1E3E62;
    --accent-gold: #D4AF37;
    --accent-gold-hover: #B89628;
    --accent-sand: #F7F4EB;
    --whatsapp-green: #25D366;
    --whatsapp-hover: #20BD5A;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --bg-card: #FFFFFF;
    --border-color: #E2E8F0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
    padding-bottom: 80px;
}

/* Header & Nav */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: rgba(11, 25, 44, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FFF;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    white-space: nowrap;
}

.nav-brand span {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    color: #E2E8F0;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.btn-nav-wa {
    background: var(--whatsapp-green);
    color: #FFF !important;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: transform 0.2s ease, background 0.2s ease !important;
}

.wa-btn-text-short, .cta-btn-text-short {
    display: none;
}

.btn-nav-wa:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0B192C;
    color: #FFF;
    text-align: center;
    padding: 120px 20px 60px;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 25, 44, 0.75) 0%, rgba(11, 25, 44, 0.88) 100%);
    z-index: 1;
    backdrop-filter: blur(2px);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #CBD5E1;
    font-weight: 400;
    margin-bottom: 32px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFF;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #FFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #FFF;
}

/* Sections Layout */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 10px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Location & Map */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.map-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

#map {
    height: 440px;
    width: 100%;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.address-box {
    background: var(--primary);
    color: #FFF;
    padding: 24px;
    border-radius: var(--radius-md);
    position: relative;
    border-left: 6px solid var(--accent-gold);
}

.address-box h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 6px;
    color: var(--accent-gold);
}

.address-box p {
    color: #CBD5E1;
    font-size: 0.95rem;
}

.poi-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.poi-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.poi-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent-gold);
}

.poi-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--accent-sand);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.poi-details h5 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.poi-details span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.poi-highlight {
    grid-column: 1 / -1;
    background: #FEF3C7;
    border-color: #F59E0B;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 240px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 25, 44, 0.7) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    color: #FFF;
    font-weight: 600;
    font-size: 0.9rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Modal Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(11, 25, 44, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    color: #FFF;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #FFF;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255,255,255,0.15);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); }

/* Features & Amenities */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-gold);
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--primary);
    background: var(--accent-sand);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-info h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.feature-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Pricing Table Section */
.pricing-table-container {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.pricing-table th, .pricing-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    background: var(--primary);
    color: #FFF;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tbody tr:hover {
    background-color: var(--accent-sand);
}

.price-tag {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.15rem;
}

.badge-highlight {
    background: #FEF3C7;
    color: #92400E;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-block;
}

.pricing-notes {
    background: var(--accent-sand);
    border-left: 4px solid var(--accent-gold);
    padding: 20px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text-main);
}

.pricing-notes ul {
    list-style: none;
    margin-top: 8px;
}

.pricing-notes li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 6px;
}

.pricing-notes li::before {
    content: "✓";
    color: var(--accent-gold);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Rules & Cancellation */
.rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.rules-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.rules-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rules-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rules-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.rules-list li span.icon {
    font-size: 1.15rem;
    flex-shrink: 0;
}

/* Floating Sticky Footer CTA */
.floating-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: rgba(11, 25, 44, 0.94);
    backdrop-filter: blur(12px);
    border: 1px solid var(--accent-gold);
    padding: 12px 28px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 20px;
    width: max-content;
    max-width: 90vw;
}

.cta-text {
    color: #FFF;
    font-size: 0.92rem;
    font-weight: 500;
}

.cta-text strong {
    color: var(--accent-gold);
    display: block;
    font-size: 1rem;
}

.btn-cta-wa {
    background: var(--whatsapp-green);
    color: #FFF;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-cta-wa:hover {
    background: var(--whatsapp-hover);
    transform: scale(1.04);
}

/* Custom Marker Styles */
.custom-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    font-size: 1.2rem;
}

.custom-pin-highlight {
    background: #FFF;
    border: 2px solid #F59E0B;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.7);
}

.custom-pin-main {
    background: #E11D48;
    color: #FFF;
    border: 2px solid #FFF;
    box-shadow: 0 0 20px rgba(225, 29, 72, 0.8);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(225, 29, 72, 0); }
    100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .location-grid, .rules-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .poi-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 10px 14px;
    }
    .nav-brand {
        font-size: 0.95rem;
        gap: 6px;
    }
    .nav-links {
        gap: 8px;
    }
    .nav-links a:not(.btn-nav-wa) {
        display: none;
    }
    .btn-nav-wa {
        padding: 6px 12px;
        font-size: 0.8rem;
        gap: 6px;
    }
    .hero {
        padding: 95px 16px 40px;
        min-height: auto;
    }
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }
    .hero-subtitle {
        font-size: 0.98rem;
        margin-bottom: 24px;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .hero-actions .btn-primary,
    .hero-actions .btn-gold-tour,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.92rem;
        box-sizing: border-box;
    }
    .floating-cta {
        bottom: 16px;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        width: auto;
        max-width: calc(100vw - 32px);
    }
    .cta-text {
        display: none !important;
    }
    .btn-cta-wa {
        padding: 12px 22px;
        font-size: 0.88rem;
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45), 0 4px 15px rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    .cta-btn-text-full {
        display: none;
    }
    .cta-btn-text-short {
        display: inline;
    }
}

@media (max-width: 400px) {
    .navbar {
        padding: 8px 10px;
    }
    .nav-brand {
        font-size: 0.86rem;
        gap: 4px;
    }
    .btn-nav-wa {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    .wa-btn-text-full {
        display: none;
    }
    .wa-btn-text-short {
        display: inline;
    }
}

/* Botão Tour Dourado (Coastal Luxury) */
.btn-gold-tour {
    background: linear-gradient(135deg, #D4AF37 0%, #AA7C11 100%);
    color: #0B192C;
    border: 1px solid #FFE58F;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-gold-tour .play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #0B192C;
    color: #D4AF37;
    border-radius: 50%;
    font-size: 0.75rem;
    padding-left: 2px;
    transition: transform 0.3s ease;
}

.btn-gold-tour:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.7);
    background: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 100%);
}

.btn-gold-tour:hover .play-icon {
    transform: scale(1.15);
}

/* Video Modal Layout */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 25, 44, 0.92);
    backdrop-filter: blur(14px);
}

.video-modal-container {
    position: relative;
    z-index: 3001;
    background: #0B192C;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 24px;
    padding: 24px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(212, 175, 55, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal.active .video-modal-container {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFF;
    font-size: 1.6rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 3002;
}

.video-modal-close:hover {
    background: var(--accent-gold);
    color: #0B192C;
    transform: rotate(90deg);
}

.video-modal-header {
    text-align: center;
    margin-bottom: 16px;
    padding-right: 30px;
}

.video-modal-header h3 {
    color: #FFF;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.video-modal-header p {
    color: var(--accent-gold);
    font-size: 0.85rem;
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 9 / 16;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
}

/* Fix z-index para Controles do Mapa Leaflet */
.leaflet-top,
.leaflet-bottom,
.leaflet-control {
    z-index: 800 !important;
}

.leaflet-pane {
    z-index: 400 !important;
}
