/* ========================================
   VARIÁVEIS CSS (CORES E TEMAS)
   Centraliza todas as cores do site
   ========================================= */
:root {
    --primary: #003f2c;    /* Verde escuro principal do Mirador */
    --accent: #4caf50;     /* Verde claro para botões e destaques */
    --bg: #ffffff;         /* Cor de fundo padrão */
    --text: #484848;       /* Cor do texto principal */
    --light-gray: #f5f5f5; /* Cinza claro para backgrounds */
}
/* FIM: Variáveis */


/* ========================================
   CONFIGURAÇÕES GLOBAIS DO BODY
   ========================================= */
body {
    font-family: 'Work Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
}
/* FIM: Configurações globais */


/* ========================================
   CONTAINER PRINCIPAL
   Centraliza e limita largura do conteúdo
   ========================================= */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}
/* FIM: Container */


/* ========================================
   CABEÇALHO DO SITE
   ========================================= */
.main-header {
    background: var(--primary);
    padding: 15px 0;
    text-align: center;
    border-bottom: 3px solid #fff;
}

.logo {
    max-height: 80px;
}
/* FIM: Cabeçalho */


/* ========================================
   GRID LAYOUT PRINCIPAL
   Layout em 2 colunas:
   - Coluna 1 (maior): Detalhes da acomodação
   - Coluna 2 (menor): Card de reserva
   ========================================= */
.accommodation-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr; /* 1.8 pra esquerda, 1 pra direita */
    gap: 40px;
    margin-top: 40px;
}
/* FIM: Grid layout */


/* ========================================
   TAG (usada dentro dos cards de acomodações)
   ========================================= */

/* Cada tag individual (Ar condicionado, Lareira, etc) */
.tag {
    background: var(--light-gray);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    border: 1px dashed #ccc;
}
/* FIM: Tag */


/* ========================================
   RESPONSIVIDADE MOBILE
   ========================================= */
@media (max-width: 768px) {
    /* Em telas pequenas, vira 1 coluna */
    .accommodation-grid {
        grid-template-columns: 1fr;
    }
    
    /* Card de reserva sobe para o topo no mobile */
    .booking-column {
        order: -1;
    }
}
/* FIM: Responsividade */


/* ========================================
   SEÇÃO DE LOCALIZAÇÃO - LAYOUT DESKTOP
   Mapa grande + barra de info horizontal
   ========================================= */

.location-section {
    background: white;
    margin: 60px 0 40px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ========================================
   MAPA GRANDE
   ========================================= */
.map-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: #e5e3df;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================
   BARRA DE INFORMAÇÕES (HORIZONTAL)
   ========================================= */
.location-bar {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
    gap: 30px;
    padding: 30px;
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
}

/* Cada bloco de informação */
.info-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Título principal */
.info-block h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #202124;
    margin: 0;
    line-height: 1.3;
}

/* CNPJ */
.cnpj {
    font-size: 0.8rem;
    color: #5f6368;
    margin: 0;
}

/* Rating */
.rating {
    margin-top: 5px;
}

.stars {
    color: #fbbc04;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* ========================================
   LINHAS COM ÍCONE
   ========================================= */
.icon-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.icon-row .icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.icon-row p {
    font-size: 0.85rem;
    color: #202124;
    margin: 0;
    line-height: 1.6;
}

.icon-row strong {
    color: #5f6368;
    font-weight: 500;
}

.icon-row a {
    color: #1a73e8;
    text-decoration: none;
    font-size: 0.85rem;
}

.icon-row a:hover {
    text-decoration: underline;
}

/* ========================================
   BOTÃO VOLTAR AO TOPO
   ========================================= */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: white;
    color: #202124;
    border: 1px solid #dadce0;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ========================================
   RESPONSIVIDADE MOBILE
   ========================================= */
@media (max-width: 768px) {
    
    /* Mapa menor */
    .map-container {
        height: 250px;
    }
    
    /* Barra vira coluna vertical */
    .location-bar {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .info-block h2 {
        font-size: 1rem;
    }
    
    .icon-row {
        gap: 10px;
    }
    
    .icon-row .icon {
        font-size: 1.1rem;
    }
    
    .icon-row p,
    .icon-row a {
        font-size: 0.8rem;
    }
    
    /* Botão menor */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }
    
}

/* ========================================
   RESPONSIVIDADE TABLET
   ========================================= */
@media (max-width: 1024px) and (min-width: 769px) {
    
    /* 2 colunas no tablet */
    .location-bar {
        grid-template-columns: 1fr 1fr;
    }
    
}
/* FIM: Seção de localização */
/* ========================================
   SEÇÃO: ACOMODAÇÕES (CARDS DE PRÉVIA)
   ========================================= */

.accommodations-preview {
    margin-top: 50px;
}

/* Cabeçalho "Acomodações / Conheça nossas acomodações." */
.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #333;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.section-header p {
    font-size: 1rem;
    color: var(--primary);
    margin: 0;
}

/* Linha decorativa dupla embaixo do texto */
.header-underline {
    display: flex;
    margin-top: 14px;
    height: 3px;
    width: 260px;
    max-width: 100%;
}

.header-underline .underline-accent {
    width: 70px;
    background: var(--primary);
}

.header-underline .underline-fade {
    flex: 1;
    background: #d9d9d9;
}

/* Grid de cards - mobile primeiro (1 coluna) */
.accommodations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Card individual */
.accommodation-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.accommodation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.card-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0 0 12px 0;
}

/* Descrição truncada em 3 linhas com reticências */
.card-description {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.5;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tags dentro do card */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.card-tags .tag {
    font-size: 0.72rem;
    padding: 5px 10px;
}

/* Botão "mais detalhes" (abre o popup de reserva com o chalé já selecionado) */
.btn-mais-detalhes {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding: 12px;
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: 6px;
    color: var(--primary);
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-mais-detalhes:hover {
    background: var(--primary);
    color: #fff;
}

/* ========================================
   RESPONSIVIDADE - TABLET E DESKTOP
   ========================================= */

/* Tablet: 2 colunas */
@media (min-width: 769px) and (max-width: 1023px) {
    .accommodations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: carrossel - mostra 3 cards, desliza pro 4º e volta (loop) */
@media (min-width: 1024px) {
    .accommodations-preview {
        max-width: 1140px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Janela visível do carrossel - corta o que passa dos 3 cards */
    .accommodations-carousel-wrap {
        overflow: hidden;
    }

    /* Trilho: os 4 cards ficam lado a lado e deslizam com transform */
    .accommodations-grid {
        display: flex;
        gap: 35px;
        transition: transform 0.6s ease-in-out;
    }

    /* Cada card ocupa 1/3 da largura visível (3 por vez) */
    .accommodation-card {
        flex: 0 0 calc((100% - 70px) / 3); /* 70px = 2 gaps entre os 3 cards visíveis */
    }
}

/* Pontinhos de navegação do carrossel (só no desktop) */
.carousel-dots {
    display: none;
}

@media (min-width: 1024px) {
    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 25px;
    }

    .carousel-dots .dot {
        width: 10px;
        height: 10px;
        padding: 0;
        border: none;
        border-radius: 2px;
        background: #d9d9d9;
        cursor: pointer;
        transition: background 0.3s;
    }

    .carousel-dots .dot.active {
        background: var(--primary);
    }
}
/* FIM: Seção de Acomodações (cards) */

/* ========================================
   AJUSTE: COLUNA ÚNICA (SEM CARD LATERAL)
   ========================================= */
.details-column-full {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Remove o grid de 2 colunas */
.accommodation-grid {
    display: block;
}

/* ========================================
   POP-UP DE RESERVA
   ========================================= */

/* Overlay escuro de fundo */
.popup-overlay {
    display: none; /* Oculto por padrão */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

/* Quando o pop-up está ativo */
.popup-overlay.active {
    display: flex;
}

/* Container do conteúdo do pop-up */
.popup-content {
    background: white;
    border-radius: 16px;
    padding: 0;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

/* Botão fechar (X) */
.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    transition: 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background: #e0e0e0;
    color: #333;
}

/* Popup no formato de chat (sobrescreve .popup-content) */
.popup-content.chat-popup {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    width: 90%;
    height: 600px;
    max-height: 85vh;
    padding: 0;
    overflow: hidden; /* o scroll fica só nas mensagens, não no popup inteiro */
}

/* Cabeçalho do chat */
.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: #fff;
    padding: 16px 50px 16px 20px; /* espaço à direita pro botão fechar */
    flex-shrink: 0;
}

.chat-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--primary);
    flex-shrink: 0;
}

.chat-header strong {
    display: block;
    font-size: 0.95rem;
}

.chat-status {
    font-size: 0.72rem;
    opacity: 0.85;
}

/* Área de mensagens (rolagem só aqui) */
.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f2f2f2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Balão de mensagem */
.msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.45;
    white-space: pre-line;
}

.msg-bot {
    align-self: flex-start;
    background: #fff;
    color: var(--text);
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.msg-user {
    align-self: flex-end;
    background: var(--accent);
    color: #fff;
    border-bottom-right-radius: 4px;
}

/* Indicador de "digitando..." */
.msg-typing {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
}

.msg-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #bbb;
    animation: typingBounce 1.2s infinite ease-in-out;
}

.msg-typing span:nth-child(2) { animation-delay: 0.2s; }
.msg-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* Bloco interativo (botões de opção ou campo de texto) - agora fica
   DENTRO do fluxo de mensagens, logo após a pergunta do bot, em vez
   de ficar numa barra fixa embaixo do popup */
.chat-interactive {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-self: flex-start;
    max-width: 90%;
}

/* Botão de opção (ex: escolher o chalé, escolher hóspedes) */
.chat-option-btn {
    background: #fff;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 9px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
}

.chat-option-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* Campo de texto (datas) dentro do chat */
.chat-text-input {
    flex: 1;
    min-width: 140px;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-family: inherit;
    font-size: 16px; /* precisa ser 16px+ senão o iOS Safari dá zoom sozinho ao focar */
    box-sizing: border-box;
    background: #fff;
}

/* Wrapper do campo de data (check-in/check-out) */
.chat-date-field {
    display: flex;
    flex: 1;
    min-width: 140px;
}

/* Input nativo type="date" - usa o seletor de calendário
   do próprio navegador/celular (ícone já vem incluso) */
.chat-date-input {
    width: 100%;
}

/* Botão de enviar resposta de texto */
.chat-send-btn {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: none;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   ANIMAÇÕES DO POP-UP
   ========================================= */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========================================
   RESPONSIVIDADE MOBILE - POP-UP
   ========================================= */
@media (max-width: 768px) {
    .popup-content {
        max-width: 95%;
        margin: 20px;
    }

    .popup-content.chat-popup {
        height: 80vh;
    }
}

/* ========================================
   BOTÃO FLUTUANTE DO WHATSAPP
   Com ícone oficial SVG
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366; /* Verde oficial do WhatsApp */
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

/* Ícone SVG do WhatsApp */
.whatsapp-float svg {
    width: 100%;
    height: 100%;
    fill: white;
}

/* Efeito hover */
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Efeito de pulso (opcional - chama atenção) */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Aplica animação de pulso */
.whatsapp-float {
    animation: pulse 2s infinite;
}

/* ========================================
   RESPONSIVIDADE MOBILE
   ========================================= */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}
/* FIM: Botão WhatsApp */

/* ========================================
   BOTÃO FLUTUANTE "VOLTAR AO VÍDEO"
   Fica escondido enquanto o vídeo está na tela.
   Aparece piscando do lado esquerdo assim que o
   vídeo sai completamente do campo de visão.
   ========================================= */
.voltar-video-btn {
    position: fixed;
    left: 15px;
    bottom: 25px;
    top: auto;
    transform: scale(0.8);
    width: auto;
    height: auto;
    padding: 10px 18px;
    border-radius: 10px;
    background: #e53935; /* vermelho */
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    touch-action: manipulation; /* resposta mais rápida ao toque no mobile */
    -webkit-tap-highlight-color: transparent;
}

/* Bolinha branca ao lado do texto "Live" */
.voltar-video-btn .live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
}

.voltar-video-btn.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    animation: piscarVoltarVideo 1.6s infinite;
}

@keyframes piscarVoltarVideo {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.7);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(229, 57, 53, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(229, 57, 53, 0);
    }
}

@media (max-width: 768px) {
    .voltar-video-btn {
        padding: 9px 14px;
        left: 12px;
        bottom: 20px;
        font-size: 13px;
    }
}
/* FIM: Botão Voltar ao Vídeo */
/* ========================================
   SEÇÃO: PRINCIPAIS DISTÂNCIAS
   ========================================= */
.distances-section {
    background: white;
    margin: 40px 0;
    padding: 50px 0;
    border-top: 1px solid #e0e0e0;
}

.distances-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 15px;
    background: white;
}

/* Título principal */
.distances-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

/* Grid de 3 colunas */
.distances-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Cada bloco de distância */
.distance-block {
    background: transparent;
    padding: 25px;
    border-radius: 8px;
}

/* Subtítulos (Pontos Turísticos, Cidades, Aeroportos) */
.distance-block h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    margin-top: 0;
}

/* Lista de distâncias */
.distance-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.distance-block li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: #484848;
    line-height: 1.6;
}

/* Destaque nos números/tempo */
.distance-block strong {
    color: var(--accent);
    font-weight: 600;
}

/* ========================================
   RESPONSIVIDADE MOBILE
   ========================================= */
@media (max-width: 768px) {
    
    .distances-section {
        padding: 30px 0;
        margin: 30px 0;
    }
    
    .distances-container {
        padding: 30px 15px;
    }
    
    .distances-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    /* Vira 1 coluna no mobile */
    .distances-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .distance-block {
        padding: 20px;
    }
    
    .distance-block h3 {
        font-size: 1rem;
    }
    
    .distance-block li {
        font-size: 0.85rem;
    }
    
    /* Mapa menor no mobile */
    .map-container {
        height: 300px !important;
    }
}

/* ========================================
   RESPONSIVIDADE TABLET
   ========================================= */
@media (max-width: 1024px) and (min-width: 769px) {
    
    /* 2 colunas no tablet */
    .distances-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* FIM: Seção de distâncias */

/* ================================================= */
/*           VÍDEO DE APRESENTAÇÃO (TOPO)            */
/* ================================================= */

/* Mobile-first: aqui é onde o tamanho e a proporção do vídeo
   são controlados de verdade (não tem mais nada disso no inline
   do HTML, então esses valores agora têm efeito real) */
#video-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 9/16;
}

/* Desktop: mexe só aqui pra mudar o tamanho/proporção no PC,
   sem afetar o celular */
@media (min-width: 1024px) {
    #video-container {
        max-width: 400px; /* <- ajuste esse valor pra mudar o tamanho no desktop */
        /* se quiser uma proporção diferente no desktop, troque aqui: */
        /* aspect-ratio: 21/9; */
    }
}

#video-container .overlay,
#video-container iframe,
#video-container img,
#video-container video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    transition: opacity 0.3s ease;
    object-fit: cover;
}

#video-container .show {
    opacity: 1 !important;
    pointer-events: auto !important;
}

#video-container .hide {
    opacity: 0 !important;
    pointer-events: none !important;
}

#smart-play-image {
    z-index: 40 !important;
}

#titulo-do-video {
    z-index: 100 !important;
    cursor: pointer;
    color: #fff;
    background-color: rgba(0,0,0,0.35);
    display: flex !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

#pause-overlay {
    z-index: 50 !important;
    background-color: transparent;
    cursor: pointer;
}

/* Prompt "Continuar de onde parou?" com os 2 botões de escolha */
.video-resume-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0 15px;
}

.video-resume-titulo {
    font-size: 16px;
}

.video-resume-botoes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.video-resume-botoes button {
    background: rgba(255,255,255,0.15);
    border: 1.5px solid #fff;
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    text-shadow: none;
    cursor: pointer;
    transition: 0.2s;
}

.video-resume-botoes button:hover {
    background: rgba(255,255,255,0.35);
}

#meuVideo {
    z-index: 1 !important;
    border: none;
}

@media (min-width: 1024px) {
    #titulo-do-video {
        font-size: 22px;
    }
}

/* ================================================= */
/*     VÍDEO FLUTUANTE (STICKY) AO ROLAR A PÁGINA    */
/* ================================================= */

/* Vídeo flutuante removido - vídeo agora fica sempre no
   tamanho normal, no lugar original da página. */
#video-wrapper {
    position: relative;
}