/* PROPÓSITO: Folha de estilos central do projeto Monte Sinai.
   PRÉ-CONDIÇÕES: Variáveis globais definidas abaixo com a paleta exigida. */

/* 
//////////////////////////////////////////////////////

    DEVELOPED by TENTAKULOS MARKETING * MICHEL ALVES

    Website: 		https://tentakulos.marketing/
    Email: 			contato@tentakulos.marketing
    Twitter: 		http://instagram.com/tentakulos.marketing
    Facebook: 		https://www.facebook.com/tentakulos.marketing

    //////////////////////////////////////////////////////
 */

:root {
    --bg-primary: #183635; /* Verde institucional obrigatório */
    --accent: #998100;     /* Ouro/Dourado */
    --accent-hover: #b39800;
    --text-white: #ffffff;
    --text-dark: #333333;
    --font-main: 'Poppins', sans-serif;
}

/* ========================================== */
/* RESET E ESTILOS GLOBAIS                    */
/* ========================================== */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary); /* Fundo sempre verde */
    color: var(--text-white); /* Texto sempre branco (parágrafos) */
    line-height: 1.6;
    overflow-x: hidden;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }

/* Tipografia */
h1, h2, h3, h4 { font-weight: 700; margin-bottom: 15px; }
.title-gold { color: var(--accent); } /* Títulos em seções recebem destaque dourado */
.link-gold { color: var(--accent); text-decoration: none; font-weight: bold; transition: 0.3s; }
.link-gold:hover { color: var(--text-white); }
p { margin-bottom: 15px; font-weight: 300; }

h2 {font-size: 32px }

/* ========================================== */
/* THUMBNAIL DE VÍDEO COM BOTÃO PLAY          */
/* ========================================== */
.video-thumbnail-container {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}
.video-thumbnail-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
.video-thumbnail-container:hover img {
    transform: scale(1.03); /* Efeito suave na foto de fundo ao passar o mouse */
}
.btn-play-overlay {
    position: absolute;
    width: 70px;
    height: 70px;
    background-color: rgba(153, 129, 0, 0.7); /* Dourado com leve transparência */
    color: var(--text-white);
    border-radius: 50%;
    border: 3px solid var(--text-white);
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    padding-left: 5px; /* Ajuste visual para o triângulo do ícone de 'play' parecer perfeitamente centralizado */
}
.btn-play-overlay:hover {
    background-color: var(--text-white);
    color: var(--accent);
    transform: scale(1.15);
}

/* Ajuste do container para a tag <video> nativa */
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: #000;
}

/* PROPÓSITO: Ajuste para o contêiner do vídeo nativo suportar vídeos verticais e horizontais. */
.video-container.native-container {
    padding-bottom: 0; /* Remove a proporção 16:9 forçada do iframe */
    height: 85vh; /* Usa a altura da tela */
    display: flex;
    justify-content: center;
    align-items: center;
}
.video-container.native-container video {
    position: relative;
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain; /* Garante que o vídeo caiba inteiro na tela sem cortes */
    border-radius: 8px;
    background: #000;
}

/* ========================================== */
/* CENTRALIZAÇÃO FORÇADA DO INSTAGRAM         */
/* ========================================== */
/* PROPÓSITO: Centralizar o iframe do Instagram ignorando o 'margin: 1px' injetado pelo script deles. */
.ig-embed-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden; /* Evita quebra de layout em telas muito pequenas */
}

/* ========================================== */
/* PERSONALIZAÇÃO DA BARRA DE ROLAGEM         */
/* ========================================== */
/* PROPÓSITO: Barra de rolagem mais fina (8px), com fundo dourado e marcador verde. */
::-webkit-scrollbar {
    width: 14px; /* Barra mais fina */
}
::-webkit-scrollbar-track {
    background: var(--accent); /* Fundo da trilha em Dourado */
}
::-webkit-scrollbar-thumb {
    background: var(--bg-primary); /* Marcador de rolagem em Verde */
    border-radius: 10px; /* Bordas arredondadas para um visual moderno */
    border: 3px solid var(--accent); /* Borda dourada "esmaga" o verde, deixando a barra mais fina */
}
::-webkit-scrollbar-thumb:hover {
    background: #0f2221; /* Verde um tom mais escuro no repouso do mouse */
}

/* ========================================== */
/* COMPONENTES GLOBAIS                        */
/* ========================================== */
/* Pattern genérico. A opacidade começa em 0. */
.pattern-overlay {
    position: absolute;
    inset: 0;
    background: url('../img/monte-sinai-pattern-.png') repeat; /* Adicione sua imagem aqui */
    background-size: 500px auto;
    opacity: 0; 
    pointer-events: none;
    z-index: 1;
}

/* Quando a section tiver essa classe, a textura aparece */
.has-pattern .pattern-overlay {
    opacity: 0.5; /* Ajuste aqui a transparência da mesclagem (ex: 0.10 para 10%) */
    mix-blend-mode: overlay;
}

.section-padding { padding: 80px 0; position: relative; }

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-primary { background: var(--accent); color: var(--text-white); }
.btn-primary:hover { background: var(--text-white); color: var(--bg-primary); transform: scale(1.05); }

.btn-outline-gold { border: 2px solid var(--accent); color: var(--accent); background: transparent; }
.btn-outline-gold:hover { background: var(--accent); color: var(--text-white); }

.btn-gold { background: var(--accent); color: var(--text-white); }
.btn-gold:hover { border: 2px solid var(--accent); color: var(--accent); background: transparent; }

/* Grid System */
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.cards-grid { display: grid; gap: 20px; }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* ========================================== */
/* PRELOADER E ANIMAÇÕES                      */
/* ========================================== */
#preloader {
    position: fixed; inset: 0; background-color: var(--bg-primary);
    z-index: 999999; display: flex; justify-content: center; align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-content { text-align: center; }
.preloader-logo { width: 180px; margin-bottom: 30px; }

/* Efeitos de Imagem do Preloader */
.anim-pulse { animation: preloaderPulse 1.5s infinite alternate; }
.anim-spin-y { animation: preloaderSpinY 3s infinite linear; }
@keyframes preloaderPulse { from { transform: scale(0.9); opacity: 0.8; } to { transform: scale(1.1); opacity: 1; } }
@keyframes preloaderSpinY { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }

/* Animação do UI de Volume (Estilo Celular) */
.volume-container { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--accent); font-size: 1.5rem; opacity: 0; animation: fadeIn 0.5s forwards 0.5s; }
.volume-bar { width: 120px; height: 6px; background: rgba(255,255,255,0.2); border-radius: 10px; overflow: hidden; position: relative; }
.volume-fill { height: 100%; width: 0%; background: var(--accent); animation: fillVolume 3s forwards 0.8s ease-in-out; }

@keyframes fillVolume { to { width: 100%; } }
@keyframes fadeIn { to { opacity: 1; } }

/* PROPÓSITO: Alinhar o botão de áudio ao lado do menu hambúrguer. */
.header-controls {
    display: flex;
    align-items: center;
    gap: 15px; /* Espaço entre o botão de som e o menu */
    z-index: 1001; /* Mantém acima do menu mobile */
}

/* PROPÓSITO: Animação de pulso dourado exclusiva para quando a música estiver tocando. */
@keyframes pulse-gold { 
    0% { box-shadow: 0 0 0 0 rgba(153, 129, 0, 0.7); } 
    70% { box-shadow: 0 0 0 15px rgba(153, 129, 0, 0); } 
    100% { box-shadow: 0 0 0 0 rgba(153, 129, 0, 0); } 
}

/* Classe dinâmica adicionada via JS quando o áudio está ativo */
.audio-btn.playing {
    animation: pulse-gold 2s infinite;
}

/* ========================================== */
/* CABEÇALHO (HEADER) E MENU                  */
/* ========================================== */
header {
    position: fixed; width: 100%; top: 0; z-index: 1000;
    background: var(--bg-primary);
    padding: 15px 0;
    transition: box-shadow 0.3s;
    border-bottom: 1px solid rgba(153, 129, 0, 0.2);
}
header.sticky { box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.logo img { max-width: 280px; height: auto; }

.navbar { display: flex; gap: 30px; align-items: center; }
/* PROPÓSITO: No desktop, empurra o menu para a direita, colando as redes sociais no botão de áudio externo. */
@media (min-width: 769px) {
    .navbar {
        margin-left: auto;
        margin-right: 15px;
    }
}
.nav-links { list-style: none; display: flex; gap: 20px; }
/* Itens do menu dourados por padrão, branco no repouso */
.nav-links a { color: var(--accent); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--text-white); }

.nav-social a { color: var(--accent); font-size: 1.2rem; margin-left: 15px; transition: 0.3s; }
.nav-social a:hover { color: var(--text-white); transform: scale(1.2); display: inline-block; }
.menu-toggle { display: none; color: var(--accent); font-size: 1.8rem; cursor: pointer; }
/* PROPÓSITO: Opção de ícones sociais e áudio circulares (Fundo Dourado, Ícone Verde). */
.nav-social.circular a, .audio-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent);
    color: var(--bg-primary);
    font-size: 1.2rem;
    margin-left: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
.nav-social.circular a:hover, .audio-btn:hover {
    background-color: var(--text-white);
    color: var(--bg-primary);
    transform: scale(1.1);
}

/* ========================================== */
/* HERO E VÍDEO                               */
/* ========================================== */
.hero {
    position: relative; height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; margin-top: 80px; /* offset do header */
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background: url('../img/monte-sinai-casa-de-repouso-hero-bg.jpg') center/cover no-repeat; /* TODO: Add Hero Image */
}
/* Overlay para escurecer a imagem e focar no texto */
.hero::before {
    content: ''; position: absolute; inset: 0; background: rgba(24, 54, 53, 0.4); z-index: 1;
}
.hero-content { z-index: 2; }
.hero-title { font-size: 3.5rem; color: var(--text-white); margin-bottom: 10px; line-height: 1.1;}
.hero-title small { 
    font-size: 0.55em; /* Deixa "Casa de Repouso" com 55% do tamanho de "Residencial Sênior" */
    display: block; 
    margin-top: 5px; /* Ajuste fino do espaçamento da segunda linha */
    color: var(--text-white); /* Garante contraste */
}
.hero-subtitle { font-size: 1.8rem; color: var(--accent); font-weight: 500; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.btn-play-video {
    background: transparent; color: var(--text-white); border: 2px solid var(--text-white);
    padding: 12px 30px; border-radius: 5px; font-weight: 600; font-size: 1rem;
    cursor: pointer; transition: 0.3s; display: flex; align-items: center; gap: 10px;
    text-decoration: none!important
}
.btn-play-video:hover { background: var(--text-white); color: var(--bg-primary); transform: scale(1.05); }

/* ========================================== */
/* COMPONENTES DAS SEÇÕES                     */
/* ========================================== */
/* Identidade */
.identidade-grid { display: flex; justify-content: center; gap: 60px; margin-top: 40px; }
.identidade-item .icon-gold { font-size: 3rem; color: var(--accent); margin-bottom: 15px; }

/* Sobre */
.sobre-image img, .rota-image img { width: 100%; border-radius: 8px; border: 2px solid var(--accent); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.diretor-quote { margin-top: 20px; padding: 20px; border-left: 4px solid var(--accent); background: rgba(153, 129, 0, 0.1); border-radius: 0 8px 8px 0; }
.diretor-quote cite { display: block; margin-top: 15px; color: var(--accent); font-weight: bold; }
.quote { margin-top: 20px; padding: 20px; border-left: 4px solid var(--bg-primary); background: rgba(255, 255, 255, 0.1); border-radius: 0 8px 8px 0; }
.quote cite { display: block; margin-top: 15px; color: var(--bg-primary); font-weight: bold; }

/* Cards (Suíte e Cuidados) */
.card {
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(153, 129, 0, 0.3);
    padding: 30px 20px; border-radius: 8px; text-align: center; transition: all 0.3s ease;
}
.card:hover { transform: translateY(-10px); background: rgba(153, 129, 0, 0.1); border-color: var(--accent); }
.card i { font-size: 2.5rem; color: var(--accent); margin-bottom: 15px; }

/* Galeria de Fotos */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.gallery-item { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; cursor: pointer; transition: 0.3s; border: 2px solid transparent; }
.gallery-item:hover { transform: scale(1.02); border-color: var(--accent); opacity: 0.8; }
.tags-list span { color: var(--accent); font-weight: 500; }

/* Mega CTA */
.mega-cta { background: var(--accent); padding: 100px 0; }
.mega-cta h2, .mega-cta p { color: var(--bg-primary); }
.mega-cta .btn-primary { background: var(--bg-primary); color: var(--accent); border: 2px solid var(--bg-primary); }
.mega-cta .btn-primary:hover { background: transparent; color: var(--bg-primary); }

/* Swiper Depoimentos */
.testimonial-card {
    background: rgba(255,255,255,0.05); padding: 40px 30px; border-radius: 8px;
    border-bottom: 4px solid var(--accent); height: 100%; display: flex; flex-direction: column; justify-content: space-between;
}
.testimonial-card .stars { color: var(--accent); margin-bottom: 15px; }
.swiper-pagination-bullet { background: var(--text-white); opacity: 0.5; }
.swiper-pagination-bullet-active { background: var(--accent); opacity: 1; }

/* Instagram & Rota */
.turismo-list { list-style: none; text-align: left; }
.turismo-list li { margin-bottom: 10px; font-size: 1.1rem; }
.turismo-list i { color: var(--accent); margin-right: 10px; width: 20px; }
.ig-placeholder { background: rgba(255,255,255,0.05); border: 2px dashed var(--accent); padding: 100px 20px; border-radius: 8px; }

/* ========================================== */
/* RODAPÉ (FOOTER)                            */
/* ========================================== */
.footer-main { background: var(--accent); color: var(--bg-primary); padding: 60px 0; }
.footer-main h2 { color: var(--bg-primary); }
.contato-list { list-style: none; }
.contato-list li { margin-bottom: 15px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.contato-list a {color: var(--bg-primary);text-decoration: none; transition: color 0.3s ease;}
.contato-list a:hover {color: var(--text-white);}
.footer-social a { color: var(--bg-primary); font-size: 1.5rem; margin-right: 15px; transition: 0.3s; }
.footer-social a:hover { color: var(--text-white); transform: translateY(-5px); display: inline-block; }
.footer-bottom { background: #0f2221; padding: 20px 0; font-size: 0.9rem; }
/* Corrigindo a cor e o hover do link da Tentakulos no footer */
.footer-bottom a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
.footer-bottom a:hover {
    color: var(--text-white);
}

/* ========================================== */
/* ANIMAÇÕES                                  */
/* ========================================== */
.fade-in { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Salto no botão PDF */
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 40% {transform: translateY(-10px);} 60% {transform: translateY(-5px);} }
.bounce-anim { animation: bounce 3s infinite; display: inline-block; }

/* Pulso no Mega CTA */
@keyframes pulse { 0% {box-shadow: 0 0 0 0 rgba(24,54,53,0.7);} 70% {box-shadow: 0 0 0 15px rgba(24,54,53,0);} 100% {box-shadow: 0 0 0 0 rgba(24,54,53,0);} }
.pulse-anim { animation: pulse 2s infinite; }
/* Pulso específico para a cor do WhatsApp */

@keyframes pulse-wpp { 
    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); } 
}

/* Aplicando na imagem do WhatsApp Desktop */
.whatsapp-desktop img { 
    width: 60px; 
    transition: transform 0.3s; 
    border-radius: 50%; /* Necessário para a sombra redonda */
    animation: pulse-wpp 2s infinite; 
}
.whatsapp-desktop img:hover { transform: scale(1.1); }

/* Aplicando no link do WhatsApp Mobile (como não é redondo, faremos o texto pulsar/chamar atenção) */
.d-whats i {
    animation: bounce 2s infinite; /* Aproveitando o bounce do PDF */
    display: inline-block;
}

/* ========================================== */
/* MODAIS (LIGHTBOX E VÍDEO)                  */
/* ========================================== */
.lightbox, .video-lightbox { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background-color: rgba(0,0,0,0.9); }
.lightbox-content { margin: auto; display: block; max-width: 90%; max-height: 85vh; position: relative; top: 50%; transform: translateY(-50%); animation: fadeInZoom 0.4s; }
@keyframes fadeInZoom { from {opacity: 0; transform: translateY(-50%) scale(0.9);} to {opacity: 1; transform: translateY(-50%) scale(1);} }
.close-btn, .close-video-btn { position: absolute; top: 20px; right: 40px; color: var(--accent); font-size: 50px; font-weight: bold; cursor: pointer; transition: 0.3s; z-index: 10000; }
.close-btn:hover, .close-video-btn:hover { color: var(--text-white); }
.prev, .next { cursor: pointer; position: absolute; top: 50%; width: auto; padding: 20px; margin-top: -30px; color: var(--accent); font-weight: bold; font-size: 40px; transition: 0.3s; user-select: none; }
.next { right: 2%; } .prev { left: 2%; }
.prev:hover, .next:hover { color: var(--text-white); }

.video-container { position: relative; width: 80%; max-width: 900px; margin: 0 auto; top: 50%; transform: translateY(-50%); padding-bottom: 45%; height: 0; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 8px; }

/* ========================================== */
/* ROTA: PREVIEW SOBRE O MAPA (HOVER DESKTOP) */
/* ========================================== */
.rota-item { cursor: pointer; transition: color 0.3s ease; }
.rota-item:hover { color: var(--accent); }
.rota-item img, .hover-preview { display: none !important; } /* Esconde as imgs soltas da lista */

.rota-preview-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(24, 54, 53, 0.85);
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: all 0.4s ease; z-index: 2;
}
.rota-preview-overlay img {
    width: 300px; height: 300px; /* Aumentado para 300px conforme solicitado */
    object-fit: cover; border-radius: 50%; border: 4px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: scale(0.5); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.rota-preview-overlay.active { opacity: 1; visibility: visible; }
.rota-preview-overlay.active img { transform: scale(1); }
#mapa-rota.dimmed { opacity: 0.2; filter: blur(3px); }

/* ========================================== */
/* ROTA: MODAL LINHA DO TEMPO (SWIPER)        */
/* ========================================== */
.timeline-container-swiper { 
    height: 100vh; /* Força altura total da tela para centralizar verticalmente */
    display: flex; 
    align-items: center; 
}
.timeline-node-slide {
    width: 150px !important; /* Largura fixa para manter distâncias iguais */
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    position: relative; cursor: grab; height: 100%;
}
.timeline-node-slide:active { cursor: grabbing; }

/* A LINHA DO TEMPO PERFEITA (Sem sobras) */
.timeline-node-slide::before {
    content: ''; 
    position: absolute; 
    top: 50%; 
    left: 50%; /* Começa no centro deste item */
    width: 100%; /* Vai até o centro do próximo item */
    height: 4px; 
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
    transform: translateY(-50%);
}
/* Esconde a linha a partir da última imagem para não sobrar espaço */
.timeline-node-slide:last-child::before { display: none; }

.timeline-node-slide img {
    width: 90px; height: 90px; border-radius: 50%; object-fit: cover;
    border: 4px solid var(--bg-primary); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease; z-index: 2; position: relative;
}
.node-title {
    position: absolute; 
    top: calc(50% + 55px); /* Alinhamento dinâmico sempre abaixo da imagem */
    margin-top: 25px;
    width: 200px; text-align: center;
    color: var(--text-white); font-weight: 600;
    opacity: 0; transform: translateY(10px); transition: all 0.4s ease;
}

/* EFEITO DE FOCO DO SLIDE CENTRALIZADO */
.timeline-node-slide.swiper-slide-active { z-index: 3; }
.timeline-node-slide.swiper-slide-active img { transform: scale(1.6); border-color: var(--accent); box-shadow: 0 0 20px rgba(153, 129, 0, 0.8); }
.timeline-node-slide.swiper-slide-active .node-title { opacity: 1; transform: translateY(0); color: var(--accent); }

/* EFEITO DE FOCO DO SLIDE CENTRALIZADO NO SWIPER */
.timeline-node-slide.swiper-slide-active { transform: scale(1.6); z-index: 3; }
.timeline-node-slide.swiper-slide-active img { border-color: var(--accent); box-shadow: 0 0 20px rgba(153, 129, 0, 0.8); }
.timeline-node-slide.swiper-slide-active .node-title { opacity: 1; transform: translateY(0); color: var(--accent); }

/* ========================================== */
/* INTEGRAÇÃO BOTÕES FLUTUANTES               */
/* ========================================== */
.scroll-to-top { position: fixed; bottom: 20px; right: 20px; background: var(--accent); color: var(--bg-primary); width: 45px; height: 45px; border-radius: 5px; text-align: center; line-height: 45px; font-size: 1.2rem; z-index: 998; opacity: 0; transition: 0.3s; visibility: hidden; }
.scroll-to-top.show { opacity: 1; visibility: visible; }
.scroll-to-top:hover { background: var(--text-white); }

/* Posicionamento do WPP Acima do botão Topo */
.desktop { position: fixed; bottom: 75px; right: 12px; z-index: 998; }
.whatsapp-desktop img { width: 60px; filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.5)); transition: transform 0.3s; }
.whatsapp-desktop img:hover { transform: scale(1.1); }

.mobile { display: none; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 998; background: var(--bg-primary); }
.d-mobile { display: flex; width: 100%; }
.d-mobile a { flex: 1; text-align: center; padding: 15px; color: var(--text-white); text-decoration: none; font-weight: bold; font-size: 1.1rem; border-top: 2px solid rgba(0,0,0,0.2); }
.d-phone { background: var(--accent); border-right: 1px solid rgba(0,0,0,0.2); }
.d-whats { background: #25d366; }

/* ========================================== */
/* RESPONSIVIDADE (MOBILE)                    */
/* ========================================== */
@media (max-width: 768px) {
    .grid-2-col, .cards-grid.cols-3, .cards-grid.cols-4 { grid-template-columns: 1fr; }
    
    /* Ajuste do Logo e Controles no Topo */
    .logo img { max-width: 180px!important; } /* Reduz a logo para caber na tela */
    .header-controls { gap: 10px; }
    .audio-btn { width: 35px; height: 35px; font-size: 1rem; }
    .menu-toggle { font-size: 1.5rem; }
    
    /* Menu Mobile */
    .menu-toggle { display: block; z-index: 1001; }
    .navbar { position: fixed; top: 0; right: -100%; width: 80%; max-width: 300px; height: 100vh; background: var(--bg-primary); border-left: 2px solid var(--accent); flex-direction: column; justify-content: center; transition: 0.4s; padding: 40px; box-shadow: -5px 0 15px rgba(0,0,0,0.5); }
    .navbar.active { right: 0; }
    .nav-links { flex-direction: column; text-align: center; font-size: 1.2rem; }
    .nav-social { margin-top: 20px; display: flex; justify-content: center; width: 100%; }
    
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    
    /* Ocultar WPP Desktop, exibir barra inferior */
    .desktop { display: none; }
    .mobile { display: block; }

    /* Cria um espaço real no final do site para a barra mobile encaixar perfeitamente sem cobrir a copy */
    body { padding-bottom: 55px; }
    
    /*Mantem a os botões mobile sobrepostos no final */
    /*footer { padding-bottom: 80px; }*/ /* Espaço para a barra mobile */
    
    /* PROPÓSITO: Elevar o botão 'Voltar ao topo' no mobile.
       PRÉ-CONDIÇÕES: Existência da barra de botões flutuantes na base da tela.
       EFEITOS COLATERAIS: Evita a sobreposição, mantendo o botão acessível logo acima da barra. */
    .scroll-to-top {
        bottom: 75px; 
    }
}