.sala-inativa-overlay {
    position: absolute;
    inset: 0;
    background: rgba(150,150,150,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.badge-inativa {
    background: #757575;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
}

@charset "UTF-8";

/* ===========================
   RESET E VARIÁVEIS
   =========================== */

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

:root {
    --primary-color: rgb(30, 136, 229);
    --secondary-color: #1A1F3A;
    --light-bg: #F5F6FA;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --border-color: #E8E8E8;
    --white: #FFFFFF;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   HEADER / NAVEGAÇÃO
   =========================== */

.header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 200;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--secondary-color);
}

.logo-icon { font-size: 24px; }

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover { color: var(--primary-color); }

.header-actions-mobile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-icon {
    color: var(--secondary-color);
    font-size: 22px;
    text-decoration: none;
    transition: color 0.3s;
}

.admin-icon:hover { color: var(--primary-color); }

.btn-contato {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-contato:hover { background-color: var(--primary-color); }

.menu-toggle, .mobile-only { display: none; }

/* ===========================
   MENU HAMBÚRGUER + OVERLAY
   =========================== */

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 150;
}

.nav-overlay.active { display: block; }

/* ===========================
   RESPONSIVIDADE (MOBILE)
   =========================== */

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: block; }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent !important;
        background-color: transparent !important;
        border: none;
        cursor: pointer;
        z-index: 210;
        position: relative;
        -webkit-appearance: none;
        appearance: none;
        -webkit-tap-highlight-color: transparent;
        padding: 0;
        outline: none;
    }

    .menu-toggle .bar {
        width: 100%;
        height: 3px;
        background-color: #fff;
        border-radius: 10px;
        transition: all 0.3s ease;
        display: block;
    }

    .menu-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
        padding: 80px 30px 30px;
        z-index: 200;
        overflow-y: auto;
    }

    .nav.active { right: 0; }

    .nav-list {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }

    .nav-list li { width: 100%; }

    .nav-list a {
        font-size: 17px;
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-dark);
    }

    .nav-list .btn-contato {
        width: 100%;
        margin-top: 20px;
        text-align: center;
    }
}

/* ===========================
   POPUP (CONTATO + AGENDAR)
   =========================== */

.popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.55);
    align-items: center;
    justify-content: center;
}

/* FIX CRÍTICO: .popup.active mostra o popup */
.popup.active {
    display: flex;
}

.popup-conteudo {
    background-color: white;
    padding: 35px;
    border-radius: 16px;
    width: 90%;
    max-width: 460px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    position: relative;
    animation: popupSlideIn 0.3s ease-out;
}

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

.fechar {
    color: #aaa;
    position: absolute;
    right: 18px;
    top: 12px;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.fechar:hover { color: #333; }

.popup-conteudo h2 {
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 22px;
    padding-right: 30px;
}

.popup-conteudo > p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 14px;
}

.info-contato {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.item-contato {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background-color: #f7f8fa;
    border-radius: 10px;
    gap: 14px;
}

.icone { font-size: 24px; min-width: 36px; }

.texto strong {
    display: block;
    color: #333;
    font-size: 12px;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.texto span {
    color: var(--primary-color);
    font-size: 17px;
    font-weight: 600;
}

/* Popup Agendar */
#popup-agendar .popup-conteudo { max-width: 480px; }

.agendar-header { margin-bottom: 20px; padding-right: 30px; }
.agendar-header h2 { font-size: 22px; color: var(--secondary-color); margin-bottom: 5px; }
.agendar-header p { color: #666; font-size: 14px; margin: 0; }

.horarios-disponiveis { background: #f0f7ff; border-radius: 10px; padding: 16px; margin-bottom: 20px; }
.horarios-disponiveis h3 { font-size: 14px; color: var(--secondary-color); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }

.horario-item {
    padding: 8px 0;
    border-bottom: 1px solid #dde8f5;
    font-size: 14px;
    color: #444;
}

.horario-item:last-child { border-bottom: none; }
.horario-item strong { color: var(--secondary-color); }

.agendar-whatsapp { margin-bottom: 16px; }
.agendar-whatsapp > p { font-size: 14px; color: #666; margin-bottom: 10px; }

.btn-whatsapp-agendar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #25D366;
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    font-weight: 600;
}

.btn-whatsapp-agendar:hover { background: #1ebe5a; transform: translateY(-2px); }
.btn-whatsapp-agendar span:first-child { font-size: 16px; }
.btn-whatsapp-agendar span:last-child { font-size: 13px; opacity: 0.85; }

.agendar-footer p { font-size: 12px; color: #999; text-align: center; }

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

.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #1A1F3A 0%, #2C3E50 50%, #34495E 100%);
    opacity: 0.97;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 620px;
    animation: slideInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.88);
}

.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 768px) {
    .hero { height: auto; min-height: 500px; padding: 80px 0; }
    .hero-title { font-size: 32px; }
    .hero-buttons { flex-direction: column; }
}

/* ===========================
   BOTÕES
   =========================== */

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #1565c0;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

/* ===========================
   SEÇÕES
   =========================== */

section { padding: 80px 0; }

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

.section-badge {
    display: inline-block;
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.section-header p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 20px;
}

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

.diferenciais { background-color: var(--light-bg); }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-icon { font-size: 42px; margin-bottom: 18px; }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; color: var(--secondary-color); }
.card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ===========================
   PRÉDIO SHOWCASE / GALERIA
   =========================== */

.predio-showcase { background-color: var(--white); }

.predio-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.predio-gallery {
    position: sticky;
    top: 90px;
}

/* Container da galeria principal */
.gallery-main {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    /* SEM background escuro — sem barras pretas */
    background: transparent;
    box-shadow: var(--shadow-lg);
    margin-bottom: 12px;
    /* SEM aspect-ratio fixo nem position:relative nem min-height */
    /* Cada mídia define sua própria altura naturalmente */
}

/* Vídeo: flui naturalmente, sem corte, sem barra preta */
.gallery-main video {
    width: 100%;
    height: auto;
    max-height: 520px;
    display: block;
    /* Sem object-fit — mostra o vídeo completo na proporção original */
}

/* Imagem: proporção 16:9 com cover */
.gallery-main img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

/* ====================================================
   THUMBNAILS — grid que preenche toda a largura
   sem espaços em branco no mobile
   ==================================================== */
.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
    gap: 6px;
    margin-top: 8px;
}

.gallery-thumbnails img,
.gallery-thumbnails .thumb-video-wrap {
    width: 100%;
    height: 52px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.gallery-thumbnails img:hover { border-color: var(--primary-color); opacity: 0.9; }
.gallery-thumbnails img.active { border-color: var(--primary-color); opacity: 1; }

.thumb-video-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    overflow: hidden;
    cursor: pointer;
    border-radius: 6px;
}

.thumb-play-icon {
    position: absolute;
    color: white;
    font-size: 18px;
    text-shadow: 0 0 8px rgba(0,0,0,0.8);
    z-index: 2;
    pointer-events: none;
}

.predio-info h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.predio-info > p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.predio-features { display: flex; flex-direction: column; gap: 24px; }

.feature-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.feature-icon { font-size: 36px; flex-shrink: 0; }

.feature-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.feature-item p { font-size: 14px; color: var(--text-light); line-height: 1.5; }

@media (max-width: 768px) {
    .predio-content { grid-template-columns: 1fr; }
    .predio-gallery { position: static; }
}

/* ===========================
   LOCALIZAÇÃO
   =========================== */

.localizacao { background-color: var(--light-bg); }

.localizacao-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: center;
}

.localizacao-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.localizacao-text > p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.localizacao-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--white);
    border: 2px solid var(--border-color);
    padding: 10px 18px;
    border-radius: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s;
    flex: 1 1 auto;
    min-width: 130px;
    text-align: center;
}

.btn-map-link:hover { border-color: var(--primary-color); color: var(--primary-color); }

@media (max-width: 600px) {
    .localizacao-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    .btn-map-link {
        width: 100%;
        min-width: unset;
        justify-content: center;
        padding: 14px 18px;
        font-size: 15px;
    }
}

.localizacao-map iframe {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .localizacao-content { grid-template-columns: 1fr; gap: 30px; }
}

/* ===========================
   POR QUE ESCOLHER
   =========================== */

.por-que-escolher { background: var(--white); }

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

.feature-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.feature-card .feature-icon {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary-color);
    box-shadow: var(--shadow);
}

.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--secondary-color); }
.feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ===========================
   FAQ
   =========================== */

.faq { background: var(--light-bg); }

.faq-container {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary-color);
    gap: 15px;
    transition: background 0.2s;
}

.faq-question:hover { background: var(--light-bg); }

.faq-icon {
    font-size: 22px;
    font-weight: 300;
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--primary-color);
}

.faq-item.ativo .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s;
}

.faq-item.ativo .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 22px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

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

.footer {
    background: var(--secondary-color);
    color: rgba(255,255,255,0.85);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-section h3 {
    font-size: 18px;
    color: white;
    margin-bottom: 10px;
}

.footer-section h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.horario-box {
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 18px;
}

.horario-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 14px;
}

.horario-line:last-child { border-bottom: none; }
.horario-time { font-weight: 700; color: white; }
.horario-closed { color: #ff6b6b; }

.btn-fale-conosco {
    background: #e53935;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    font-size: 15px;
    transition: background 0.3s, transform 0.2s;
    margin-top: 5px;
}

.btn-fale-conosco:hover {
    background: #b71c1c;
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.footer-links-bottom { display: flex; gap: 20px; }
.footer-links-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-links-bottom a:hover { color: rgba(255,255,255,0.8); }

@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===========================
   PÁGINA DE SALAS
   =========================== */

.portal-unidades { padding: 50px 0 80px; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.breadcrumb a:hover { color: #1565c0; }

.breadcrumb-text { color: var(--text-light); font-size: 14px; }

.portal-unidades .section-header {
    text-align: left;
    margin-bottom: 30px;
}

.portal-unidades .section-header h1 {
    font-size: 34px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.portal-unidades .section-header p {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
    text-align: left;
}

/* Filtros */
.filtros-container {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    background: var(--white);
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.filtro-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}

.filtros-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.filtros-andar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filtro-tamanho {
    margin-left: auto;
}

.filtro-btn {
    padding: 10px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.filtro-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
.filtro-btn.filtro-ativo { background: var(--primary-color); color: white; border-color: var(--primary-color); }

.filtro-dropdown { position: relative; }

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    z-index: 50;
    overflow: hidden;
}

.dropdown-menu.open { display: block; }

.dropdown-item {
    display: block;
    width: 100%;
    padding: 12px 18px;
    background: none;
    border: none;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
    color: var(--text-dark);
    transition: background 0.15s;
}

.dropdown-item:hover { background: var(--light-bg); }

.dropdown-arrow { font-size: 11px; }

.select-tamanho {
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.2s;
    min-width: 150px;
}

.select-tamanho:focus { outline: none; border-color: var(--primary-color); }

/* FILTROS — MOBILE: horizontal com scroll lateral se necessário */
@media (max-width: 600px) {
    .filtros-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 16px;
    }

    .filtros-wrapper {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
    }

    .filtros-andar {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .filtro-tamanho {
        margin-left: auto;
        flex-shrink: 0;
    }

    .filtro-btn {
        width: auto;
        justify-content: center;
        padding: 9px 14px;
        font-size: 13px;
        white-space: nowrap;
    }

    .filtro-dropdown {
        width: auto;
    }

    .filtro-dropdown > .filtro-btn {
        width: auto;
        justify-content: center;
        gap: 6px;
    }

    .dropdown-menu {
        width: auto;
        min-width: 160px;
        left: 0;
        right: auto;
    }

    .select-tamanho {
        width: 100%;
        min-width: unset;
        font-size: 14px;
        padding: 12px 14px;
    }
}

/* Grid de Salas */
.salas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.sala-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    animation: fadeIn 0.5s ease-out both;
}

.sala-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

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

.sala-image {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.sala-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

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

.sala-alugada-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.badge-alugada {
    background: #f44336;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
}

.sala-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: white;
    z-index: 3;
}

.sala-badge.terreo { background: #2196F3; }
.sala-badge.primeiro { background: #9C27B0; }
.sala-badge.segundo { background: #FF9800; }
.sala-badge.subsolo { background: #607D8B; }
.sala-badge.destaque { background: var(--primary-color); }
.sala-badge.inativa { background: #9E9E9E; }

.sala-content { padding: 22px; }
.sala-titulo { font-size: 18px; font-weight: 700; color: var(--secondary-color); margin-bottom: 8px; }
.sala-descricao { font-size: 13px; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.sala-features { display: flex; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }

.sala-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
}

.sala-feature-icon { font-size: 16px; }

.sala-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.sala-btn:hover { background: #1565c0; }

/* ===========================
   SALA DESTAQUE
   =========================== */
.sala-card.em-destaque {
    border: 2px solid #FFB300;
    box-shadow: 0 4px 20px rgba(255,179,0,0.25);
}

.sala-card.em-destaque:hover {
    box-shadow: 0 10px 36px rgba(255,179,0,0.35);
}

.badge-destaque-card {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #FFB300;
    color: #1A1F3A;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 3px;
}



.nao-encontrado {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 16px;
}

.link-consultor {
    display: inline-block;
    margin-top: 12px;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

/* ===========================
   PÁGINA DE DETALHES
   =========================== */

.sala-detalhes { padding: 50px 0 80px; }

.sala-detalhes-voltar {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 30px;
    transition: color 0.2s;
}

.sala-detalhes-voltar:hover { color: #1565c0; }

.sala-detalhes-container {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.sala-detalhes-header {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
}

.sala-detalhes-galeria { padding: 30px; background: #f9f9f9; }

.sala-detalhes-imagem-principal {
    width: 100%;
    height: 340px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #eee;
}

.sala-detalhes-imagem-principal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.4s;
}

.sala-detalhes-imagem-principal img:hover { transform: scale(1.03); }

.sala-detalhes-miniaturas {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sala-detalhes-miniatura {
    width: 70px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.sala-detalhes-miniatura:hover { border-color: var(--primary-color); opacity: 0.8; }
.sala-detalhes-miniatura.active { border-color: var(--primary-color); }

.sala-detalhes-info { padding: 36px 30px; }

.sala-detalhes-info h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.sala-detalhes-andar {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.sala-detalhes-descricao {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.sala-detalhes-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--light-bg);
    padding: 12px;
    border-radius: 8px;
}

.spec-icon { font-size: 22px; flex-shrink: 0; }

.spec-info h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 2px;
}

.spec-info p { font-size: 13px; font-weight: 600; color: var(--secondary-color); }

.sala-detalhes-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.sala-detalhes-bottom {
    padding: 36px 30px;
    border-top: 1px solid var(--border-color);
}

.sala-detalhes-bottom h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.sala-detalhes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.sala-detalhes-grid h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 14px;
}

.caracteristicas-lista, .facilidades-lista { list-style: none; padding: 0; }

.caracteristicas-lista li, .facilidades-lista li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
}

.caracteristicas-lista li:last-child,
.facilidades-lista li:last-child { border-bottom: none; }

@media (max-width: 900px) {
    .sala-detalhes-header { grid-template-columns: 1fr; }
    .sala-detalhes-specs { grid-template-columns: 1fr 1fr; }
    .sala-detalhes-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ── Vídeo incorporado por sala ── */
.sala-video-section {
    padding: 36px 30px;
    border-top: 1px solid var(--border-color);
}
.sala-video-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
}
.sala-video-ratio {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    max-width: 800px;
}
.sala-video-ratio iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}
@media (max-width: 768px) {
    .sala-video-section { padding: 24px 16px; }
}

@media (max-width: 768px) {
    .salas-grid { grid-template-columns: 1fr; }
    .sala-detalhes-specs { grid-template-columns: 1fr 1fr; }
}

/* ===========================
   ANIMAÇÕES
   =========================== */

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

@keyframes fadeInDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

/* ═══════════════════════════════════════════════════════════════
   NOVOS ESTILOS v15 — todas as alterações pedidas
   ═══════════════════════════════════════════════════════════════ */

/* ── Logo desktop / mobile ── */
.logo-desktop { display: inline; }
.logo-mobile  { display: none; }
@media (max-width: 480px) {
    .logo-desktop { display: none; }
    .logo-mobile  { display: inline; }
}
.logo-link { text-decoration: none; }

/* ── Link ativo no menu ── */
.nav-ativo { color: var(--primary-color) !important; font-weight: 700 !important; }

/* ── NAV PILL — cápsula envolvendo links (desktop) ── */
@media (min-width: 769px) {
    .nav-pill {
        background: rgba(255,255,255,0.10);
        border: 1.5px solid rgba(255,255,255,0.30);
        border-radius: 999px;
        padding: 6px 24px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        transition: background 0.3s, border-color 0.3s;
    }
    /* Quando o header fica sólido, a cápsula fica mais discreta */
    .header-scrolled .nav-pill {
        background: transparent;
        border-color: rgba(44,62,80,0.18);
    }
    .header-scrolled .nav-pill .nav-list a { color: var(--text-dark); }
    .header-scrolled .nav-pill .nav-list a:hover { color: var(--primary-color); }
}
@media (max-width: 768px) {
    .nav-pill { display: contents; }
}
.mobile-nav-footer { display: none; }
@media (max-width: 768px) {
    .mobile-nav-footer { display: block; padding: 20px 0 0; border-top: 1px solid #eee; margin-top: 20px; }
}

/* ── HEADER — fixo, comportamento diferenciado por página ── */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.25s ease;
}

/* HOME: transparente no topo — APENAS DESKTOP (mobile sempre escuro via regra abaixo) */
@media (min-width: 769px) {
    .page-home .header { background: transparent; padding: 18px 0; }
    .page-home .header:not(.header-scrolled) .logo,
    .page-home .header:not(.header-scrolled) .logo-text,
    .page-home .header:not(.header-scrolled) .admin-icon {
        color: #fff;
        text-shadow: 0 1px 6px rgba(0,0,0,0.5);
    }
    .page-home .header:not(.header-scrolled) .nav-list a {
        color: rgba(255,255,255,0.92);
        text-shadow: 0 1px 6px rgba(0,0,0,0.4);
    }
    .page-home .header:not(.header-scrolled) .nav-list a:hover { color: #93c5fd; }
    .page-home .header:not(.header-scrolled) .btn-contato {
        background: rgba(255,255,255,0.15);
        border: 1.5px solid rgba(255,255,255,0.65);
        color: #fff;
    }
    .page-home .header:not(.header-scrolled) .btn-contato:hover {
        background: rgba(255,255,255,0.9);
        color: var(--secondary-color);
    }
}

/* Quando rola — sólido e branco (home + outras) */
.header.header-scrolled {
    background: rgba(255,255,255,0.97) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.10) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    padding: 12px 0 !important;
}
.header.header-scrolled .logo,
.header.header-scrolled .logo-text { color: var(--secondary-color) !important; text-shadow: none !important; }
.header.header-scrolled .admin-icon { color: var(--secondary-color) !important; text-shadow: none !important; }
.header.header-scrolled .nav-list a { color: var(--text-dark) !important; text-shadow: none !important; }
.header.header-scrolled .nav-list a:hover { color: var(--primary-color) !important; }
.header.header-scrolled .btn-contato {
    background: var(--secondary-color) !important;
    border: none !important;
    color: #fff !important;
}

/* Outras páginas — header sempre sólido (escuro) */
.page-salas .header,
.page-detalhes .header {
    background: var(--secondary-color);
    box-shadow: 0 2px 14px rgba(0,0,0,0.25);
}
/* Cores de texto do header escuro — APENAS DESKTOP (mobile usa regras próprias) */
@media (min-width: 769px) {
    .page-salas .header .logo,
    .page-salas .header .logo-text,
    .page-salas .header .admin-icon,
    .page-salas .header .nav-list a,
    .page-detalhes .header .logo,
    .page-detalhes .header .logo-text,
    .page-detalhes .header .admin-icon,
    .page-detalhes .header .nav-list a { color: rgba(255,255,255,0.90); text-shadow: none; }
    .page-salas .header .nav-list a:hover,
    .page-detalhes .header .nav-list a:hover { color: #93c5fd; }
}
.page-salas .header .nav-pill,
.page-detalhes .header .nav-pill {
    border-color: rgba(255,255,255,0.20);
    background: rgba(255,255,255,0.08);
}
/* Botão Contato visível no header escuro */
.page-salas .header .btn-contato,
.page-detalhes .header .btn-contato {
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.55);
    color: #fff;
}
.page-salas .header .btn-contato:hover,
.page-detalhes .header .btn-contato:hover {
    background: rgba(255,255,255,0.90);
    color: var(--secondary-color);
}

/* MOBILE: header sempre sólido (escuro) independente da página e do scroll */
@media (max-width: 768px) {
    .header,
    .header.header-scrolled {
        background: var(--secondary-color) !important;
        box-shadow: 0 2px 12px rgba(0,0,0,0.3) !important;
        padding: 13px 0 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .logo, .logo-text, .admin-icon, .nav-list a, .btn-contato {
        text-shadow: none !important;
    }
    /* Logo e ícone admin sempre brancos sobre header escuro */
    .header .logo-text,
    .header .logo-icon,
    .header .admin-icon {
        color: #fff !important;
        text-shadow: none !important;
    }
    /* Painel lateral tem fundo branco — links sempre escuros e visíveis */
    .nav .nav-list a {
        color: var(--text-dark) !important;
        text-shadow: none !important;
    }
    /* Botão Contato dentro do painel: fundo escuro, texto branco */
    .nav .mobile-nav-footer .btn-contato {
        background-color: var(--secondary-color) !important;
        border: none !important;
        color: #fff !important;
    }
    /* Barras do hamburguer sempre brancas sobre header escuro */
    .menu-toggle .bar,
    .header-scrolled .menu-toggle .bar {
        background-color: #fff !important;
    }
}

/* Compensar header fixo nas páginas internas */
@media (min-width: 769px) {
    .page-salas .portal-unidades,
    .page-salas .clientes-page-grid > * { padding-top: 0; }
    .page-salas .portal-unidades { padding-top: 90px; }
    .page-salas .sala-detalhes,
    .page-detalhes .sala-detalhes { padding-top: 100px; }
}
@media (max-width: 768px) {
    .page-salas .portal-unidades { padding-top: 80px; }
    .page-salas .sala-detalhes,
    .page-detalhes .sala-detalhes { padding-top: 80px; }
}

/* ── HERO — vídeo fullscreen perfeito ── */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 560px;
    max-height: 960px;
    overflow: hidden;
    background: #050d18;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
/* Camada que bloqueia qualquer controle do YouTube visível no iframe */
.hero-video-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
    pointer-events: none;
}
/* O vídeo vai ocupar 100% sem corte */
.hero-video-wrap video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    pointer-events: none;
}
.hero-video-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #050d18 0%, #0c1c36 60%, #1a2a50 100%);
}

/* Overlay gradiente: mais escuro na esquerda (onde fica o texto) */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to right, rgba(5,13,24,0.78) 0%, rgba(5,13,24,0.35) 55%, rgba(5,13,24,0.10) 100%),
        linear-gradient(to bottom, rgba(5,13,24,0.50) 0%, rgba(5,13,24,0.00) 30%, rgba(5,13,24,0.55) 100%);
}

/* Container interno: coluna flex para posicionar texto e barra */
.hero-inner {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

/* Texto (superior-esquerdo, com padding top para não ficar atrás do header) */
.hero-text-wrap {
    padding: 86px 6% 0;
    max-width: 520px;
    animation: heroIn 0.9s ease both;
}
@keyframes heroIn {
    from { opacity:0; transform: translateY(18px); }
    to   { opacity:1; transform: translateY(0); }
}
.hero-badge {
    display: inline-block;
    background: rgba(30,136,229,0.82);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 13px;
    border: 1px solid rgba(255,255,255,0.18);
}
/* Desktop: proporcional ao vídeo, não tampa */
.hero-title {
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 800;
    line-height: 1.18;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0,0,0,0.6);
    text-transform: lowercase;
    letter-spacing: -0.3px;
}
.hero-title::first-letter { text-transform: uppercase; }

.hero-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 30px 28px;
}
.hero-btn-salas {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 18px rgba(30,136,229,0.5);
    transition: background 0.25s, transform 0.2s;
}
.hero-btn-salas:hover { background: #1565c0; transform: translateY(-2px); }
.hero-whatsapp-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #fff;
}
.hero-whatsapp-btn > svg {
    width: 50px; height: 50px;
    background: #25D366;
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 4px 18px rgba(37,211,102,0.55);
    transition: transform 0.22s;
    animation: pulseWA 2.8s infinite;
}
.hero-whatsapp-btn:hover > svg { transform: scale(1.1); animation: none; }
@keyframes pulseWA {
    0%,100% { box-shadow: 0 4px 18px rgba(37,211,102,0.55); }
    50%      { box-shadow: 0 4px 28px rgba(37,211,102,0.85), 0 0 0 6px rgba(37,211,102,0.12); }
}
.hero-wa-label { font-size: 10px; font-weight: 600; opacity: 0.85; white-space: nowrap; }

/* TABLET (601–900px) */
@media (max-width: 900px) and (min-width: 601px) {
    .hero-text-wrap { padding: 78px 5% 0; max-width: 380px; }
    .hero-title { font-size: clamp(20px, 4vw, 30px); }
    .hero-bar { padding: 0 20px 22px; }
    .hero-btn-salas { padding: 11px 18px; font-size: 13px; }
}
/* MOBILE (≤600px) */
@media (max-width: 600px) {
    .hero { height: 100svh; min-height: 500px; max-height: 760px; }
    .hero-text-wrap { padding: 68px 16px 0; max-width: 100%; }
    .hero-title { font-size: clamp(19px, 6vw, 26px); }
    .hero-badge { font-size: 10px; padding: 4px 12px; margin-bottom: 10px; }
    .hero-bar { padding: 0 14px 18px; }
    .hero-btn-salas { padding: 10px 15px; font-size: 12px; gap: 5px; }
    .hero-whatsapp-btn > svg { width: 44px; height: 44px; padding: 10px; }
}

/* ── PONTOS ESTRATÉGICOS — foto de fundo + overlay ── */
.pontos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 900px) { .pontos-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 500px) { .pontos-grid { grid-template-columns: 1fr; } }

.ponto-card {
    position: relative;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg,#1a2a4a,#0d1a2a);
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
}
.ponto-card:hover { transform: translateY(-6px); box-shadow: 0 14px 36px rgba(0,0,0,0.32); }
.ponto-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 25%, rgba(0,0,0,0.12) 100%);
    transition: opacity 0.3s;
}
.ponto-card:hover .ponto-overlay { opacity: 0.7; }
.ponto-nome {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    padding: 18px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

/* skeleton de loading */
.ponto-skeleton {
    height: 240px;
    border-radius: 16px;
    background: linear-gradient(90deg, #e0e7ef 25%, #c8d6e5 50%, #e0e7ef 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ── CLIENTES SECTION (home) ── */
.clientes-section { background: var(--light-bg); padding: 80px 0; }

.clientes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 12px;
}
.clientes-loading { color: #999; text-align: center; padding: 40px; grid-column: 1/-1; }

/* Card cliente */
.cli-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}
.cli-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.14); }

/* Stage de fotos com slides */
.cli-stage {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #0d1a2a;
}
.cli-stage img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.cli-stage img.cli-ativo { opacity: 1; z-index: 1; }

.cli-nome-bar {
    padding: 14px 18px;
    font-weight: 700;
    font-size: 15px;
    color: var(--secondary-color);
    letter-spacing: 0.2px;
    border-top: 1px solid #eee;
}

/* ── CLIENTES PAGE ── */
.clientes-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 16px;
}
.cli-card-page {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 22px rgba(0,0,0,0.09);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}
.cli-card-page:hover { transform: translateY(-8px); box-shadow: 0 18px 44px rgba(0,0,0,0.16); }

.cli-stage-page {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #0d1a2a;
}
.cli-stage-page .cli-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.85s ease;
}
.cli-stage-page .cli-slide.cli-ativo { opacity: 1; z-index: 1; }
.cli-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 60px;
    opacity: 0.3;
}

/* botões de navegação manual */
.cli-nav {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 10;
    display: flex;
    gap: 6px;
}
.cli-nav button {
    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: background 0.2s;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
}
.cli-nav button:hover { background: rgba(255,255,255,0.45); }

.cli-nome-page {
    padding: 16px 20px;
    font-weight: 800;
    font-size: 17px;
    color: var(--secondary-color);
    border-top: 1px solid #eee;
}

/* ── FOOTER — sem seção Estrutura, sem footer-bottom ── */
.footer-brand { }
.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}
.footer-logo-row span { font-size: 22px; }

/* Esconder footer-bottom se ainda existir */
.footer-bottom { display: none !important; }

/* ── SALAS — botão e filtro na cor do botão Contato ── */
.sala-btn {
    width: 100%;
    padding: 12px;
    background: var(--secondary-color);   /* azul escuro #1A1F3A */
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}
.sala-btn:hover { background: var(--primary-color); }

.filtro-btn.filtro-ativo {
    background: var(--secondary-color);   /* azul escuro no filtro ativo */
    color: white;
    border-color: var(--secondary-color);
}

/* ── SALAS: ocultar inativas na página pública ── */
.sala-card-inativa { display: none !important; }

/* ══ PONTO CARD — slideshow de fotos ══ */
.ponto-slide-stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.ponto-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.9s ease;
}
.ponto-slide-ativo { opacity: 1; z-index: 1; }

/* Quando não há foto, manter o fundo escuro padrão do .ponto-card */
.ponto-slide-stage:empty { display: none; }

/* ===========================
   LIGHTBOX — tela cheia de imagem
   =========================== */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.93);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    padding: 16px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 60px rgba(0, 0, 0, 0.7);
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
}

.lightbox-fechar {
    position: absolute;
    top: 14px;
    right: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}

.lightbox-fechar:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* Cursor de zoom nas imagens clicáveis das salas */
.sala-image img { cursor: zoom-in; }
