/* --- RESET & VARIAVEIS --- */
:root {
    --brand-color: #FF385C;
    --brand-hover: #D90B3E;
    --text-dark: #222222;
    --text-light: #717171;
    --bg-light: #F7F7F7;
    --border-radius: 12px;
    --muted: #6b7280;
    --font-stack: 'Lexend', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --lightbox-z-index: 2000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-stack);
    color: var(--text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.muted { color: var(--muted); }

/* --- NAVBAR --- */
.navbar {
    position: fixed; top: 0; width: 100%; height: 80px;
    background: white; display: flex; justify-content: space-between;
    align-items: center; padding: 0 40px; z-index: 1000;
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

/* --- NOVO DROPDOWN DE IDIOMA --- */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 22px;
    cursor: pointer;
    font-family: var(--font-stack);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.lang-trigger:hover, 
.lang-dropdown.active .lang-trigger {
    background-color: #f7f7f7;
}

.lang-trigger svg {
    display: block;
    height: 16px;
    width: 16px;
    fill: currentColor;
}

.lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 8px 0;
    z-index: 1005;
    margin-top: 8px;
    border: 1px solid #DDDDDD;
}

.lang-dropdown.active .lang-menu {
    display: block;
}

.lang-menu a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    transition: background 0.2s;
}

.lang-menu a:hover {
    background-color: #f7f7f7;
}

.lang-menu a.active-lang {
    font-weight: 600;
    background-color: #f1f1f1;
}

/* Menu Hamburguer */
.menu-btn {
    display: flex; align-items: center; justify-content: center;
    background: transparent; border: none; padding: 10px; cursor: pointer;
}
.hamburger-icon { display: flex; flex-direction: column; gap: 6px; }
.hamburger-icon span { width: 18px; height: 2px; background-color: var(--text-dark); display: block; }

/* --- SIDE MENU --- */
.side-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden;
    transition: 0.3s; z-index: 1001;
}
.side-menu-overlay.active { opacity: 1; visibility: visible; }

.side-menu {
    position: fixed; top: 0; left: -300px; width: 300px; height: 100%;
    background: white; z-index: 1002; 
    transition: left 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: 20px; display: flex; flex-direction: column;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
}
.side-menu.active { left: 0; }
.side-menu ul li a {
    display: block; padding: 15px 0; border-bottom: 1px solid #eee;
    font-weight: 500; color: var(--text-dark);
}
.side-menu ul li a:hover { background-color: #f7f7f7; padding-left: 10px; transition: 0.2s; }
.close-menu { align-self: flex-end; cursor: pointer; font-size: 1.8rem; margin-bottom: 20px; }

/* --- HERO --- */
.hero {
    margin-top: 80px; height: 80vh;
    background-image: url('hero1.jpg'); 
    background-size: cover; background-position: center; position: relative;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; color: white;
}
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.3); }
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 20px; }

.hero h1 { 
    font-family: 'Marck Script', cursive; font-size: 6rem; font-weight: 700; 
    margin-bottom: 10px; text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero p { font-size: 1.2rem; margin-bottom: 30px; font-weight: 300; }

.btn {
    padding: 14px 32px; border-radius: 8px; font-weight: 600; font-size: 1rem;
    cursor: pointer; transition: transform 0.1s ease; border: none;
    font-family: var(--font-stack);
}
.btn:active { transform: scale(0.98); }
.btn-gallery { background-color: white; color: var(--text-dark); }
.btn-gallery:hover { background-color: #f1f1f1; }

/* --- BOTÃO FLUTUANTE --- */
.floating-btn {
    position: fixed; bottom: 40px; right: 40px;
    background-color: var(--brand-color); color: white;
    padding: 12px 24px; border-radius: 50px;
    font-weight: 600; font-size: 1rem;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    z-index: 990; border: none; cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-stack);
    text-decoration: none;
}
.floating-btn:hover {
    background-color: var(--brand-hover);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
.floating-btn svg { fill: white; width: 22px; height: 22px; display: block; }

/* --- SEÇÕES GERAIS --- */
.container { max-width: 1120px; margin: 0 auto; padding: 60px 24px; }
.section-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 24px; color: var(--text-dark); letter-spacing: -0.5px; }
hr { border: 0; border-top: 1px solid #DDDDDD; max-width: 1120px; margin: 0 auto; }
.space-desc { font-size: 1.1rem; line-height: 1.8; max-width: 800px; }
.amenities-list { margin-top: 10px; margin-bottom: 20px; padding-left: 20px; list-style-type: disc; }
.amenities-list li { margin-bottom: 5px; }

/* --- HIGHLIGHTS --- */
.highlights {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: transparent;
    border: none;
    padding: 0;
    text-align: left;
}

.highlight-icon {
    flex-shrink: 0;
    padding-top: 2px;
}

.highlight-text {
    display: flex;
    flex-direction: column;
}

.highlight-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.highlight-desc {
    font-size: 0.8rem;
    line-height: 1.4;
    font-weight: 200;
}

@media (min-width: 768px) {
    .highlights {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

/* --- GALERIA --- */
.gallery-filters { display: flex; gap: 12px; margin-bottom: 30px; flex-wrap: wrap; }
.filter-btn {
    padding: 10px 20px; border: 1px solid #DDDDDD; background: white;
    border-radius: 30px; cursor: pointer; font-weight: 500;
    font-family: var(--font-stack); transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--text-dark); }
.filter-btn.active { background-color: var(--text-dark); color: white; border-color: var(--text-dark); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.gallery-item { height: 250px; border-radius: var(--border-radius); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img.thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img.thumb { transform: scale(1.05); }

.video-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3); display: flex; justify-content: center; align-items: center;
    transition: background 0.3s;
}
.gallery-item:hover .video-overlay { background: rgba(0,0,0,0.1); }
.play-icon {
    width: 60px; height: 60px; background: rgba(255,255,255,0.8);
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
}
.play-icon::before {
    content: ''; display: block; border-style: solid; border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent var(--brand-color); margin-left: 5px;
}

/* --- LIGHTBOX --- */
.lightbox {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.95); z-index: var(--lightbox-z-index);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-content-wrapper { position: relative; max-width: 90%; max-height: 80%; display: flex; justify-content: center; align-items: center; }
.lightbox-content { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 4px; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: white; font-size: 2rem; cursor: pointer; z-index: 10; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: white; font-size: 2rem; padding: 20px; cursor: pointer; z-index: 10; user-select: none; }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-nav:hover, .lightbox-close:hover { color: var(--brand-color); }
.lightbox-info { color: white; text-align: center; margin-top: 15px; font-family: var(--font-stack); width: 100%; }
.lightbox-caption { font-size: 1.1rem; margin-bottom: 4px; font-weight: 500; }
.lightbox-counter { font-size: 0.9rem; opacity: 0.7; font-weight: 300; }

/* --- LOCALIZAÇÃO --- */
.map-container { width: 100%; height: 450px; background-color: #eee; border-radius: var(--border-radius); overflow: hidden; }
.map-container iframe { width: 100%; height: 100%; border: 0; }
.address-box { font-weight: 500; margin-bottom: 20px; }

/* --- FOOTER --- */
footer { background-color: #F7F7F7; border-top: 1px solid #DDDDDD; padding: 40px 24px; margin-top: 40px; }
.footer-content { max-width: 1120px; margin: 0 auto; display: flex; justify-content: center; align-items: center; font-size: 0.9rem; color: var(--text-dark); }

@media (max-width: 768px) {
    .hero h1 { font-size: 4rem; }
    .navbar { padding: 0 20px; }
    .lightbox-nav { padding: 10px; font-size: 1.5rem; }
    .floating-btn { bottom: 20px; right: 20px; padding: 10px 20px; font-size: 0.9rem; }
}