/* ==========================================
   Variáveis e Configurações Globais
   ========================================== */
:root {
    --azul-escuro: #0a2342;
    --azul-claro: #173b66;
    --bege: #f4efe9;
    --branco: #ffffff;
    --verde-whats: #25d366;
    --overlay-dark: rgba(10, 35, 66, 0.5); 
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
body { background-color: var(--bege); overflow: hidden; }

/* ==========================================
   Scroll Magnético Principal
   ========================================== */
.scroll-container {
    height: 100vh; height: 100dvh; /* Altura exata da tela (dvh previne bugs no celular) */
    overflow-y: scroll; scroll-snap-type: y mandatory; scroll-behavior: smooth;
    -ms-overflow-style: none; scrollbar-width: none; 
}
.scroll-container::-webkit-scrollbar { display: none; }

.fullscreen-section {
    height: 100vh; height: 100dvh; width: 100vw;
    scroll-snap-align: start; position: relative;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}

/* ==========================================
   Header Glassmorphism
   ========================================== */
.header {
    position: fixed; top: 20px; left: 20px; z-index: 1000;
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(8px); 
    padding: 10px 20px; border-radius: 50px;
    box-shadow: 0 4px 20px rgba(10, 35, 66, 0.15); border: 1px solid rgba(255, 255, 255, 0.3);
}
.header-content { display: flex; align-items: center; gap: 15px; }
.logo { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--azul-escuro); }
.header-text h1 { color: var(--azul-escuro); font-size: 1.2rem; line-height: 1.1; }
.header-text p { color: var(--azul-claro); font-size: 0.8rem; font-weight: 600; }

/* ==========================================
   Capa (Hero Section)
   ========================================== */
.hero-section {
    background-image: url('img/capa.jpeg');
    background-size: cover; background-position: center;
    color: var(--branco); text-align: center; flex-direction: column;
}
.hero-section::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--overlay-dark); z-index: 1;
}
.hero-content { padding: 20px; z-index: 2; max-width: 800px; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero-content h2 { font-size: 3.5rem; margin-bottom: 15px; }
.hero-content p { font-size: 1.4rem; font-weight: 500; }
.hero-content .subtitle { font-style: italic; opacity: 0.9; margin-top: 10px; font-size: 1.2rem; }

.scroll-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center;
    opacity: 0.8; animation: bounce 2s infinite; z-index: 2;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-12px) translateX(-50%); }
    60% { transform: translateY(-6px) translateX(-50%); }
}

/* ==========================================
   CARROSSEL RESPONSIVO (Sem Divisores / Aspect Ratio Fixo)
   ========================================== */
.gallery-section {
    background-color: var(--bege);
}

.gallery-container {
    width: 100vw; 
    display: flex; flex-direction: column;
}

.gallery-title {
    color: var(--azul-escuro); font-size: 2.2rem; margin-bottom: 10px; 
    text-transform: uppercase; letter-spacing: 1px; text-align: center;
}

.card-track {
    display: flex; width: 100vw;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    -ms-overflow-style: none; scrollbar-width: none; 
}
.card-track::-webkit-scrollbar { display: none; }

.image-card {
    scroll-snap-align: start; flex-shrink: 0;
    width: 100vw; /* Mobile: 1 Imagem por tela */
    aspect-ratio: 4 / 5; /* Evita quebra da imagem 1080x1350 */
    border-radius: 0; margin: 0; padding: 0; border: none; box-shadow: none; /* Cola as imagens */
}

.image-card img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}

/* Tablet: Mostra 2 fotos juntas */
@media (min-width: 768px) {
    .image-card { width: 50vw; }
}

/* PC: Mostra 3 fotos juntas */
@media (min-width: 1024px) {
    .image-card { width: 33.33333vw; }
}

/* ==========================================
   Seção Final (Rodapé)
   ========================================== */
.end-section { background-color: var(--bege); flex-direction: column; justify-content: center; }
.end-content { width: 100%; max-width: 1000px; padding: 30px; display: flex; flex-direction: column; gap: 40px; }

.location-card {
    background-color: var(--branco); border-radius: 20px; overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); display: flex; flex-direction: column; height: 450px;
}
@media (min-width: 768px) { .location-card { flex-direction: row; } }

.location-info {
    padding: 50px; background-color: var(--azul-escuro); color: var(--branco);
    flex: 1; display: flex; flex-direction: column; justify-content: center;
}
.location-info i { font-size: 3.5rem; color: var(--bege); margin-bottom: 15px; }
.map-container { flex: 2; height: 100%; }

.footer { text-align: center; color: var(--azul-escuro); padding: 20px; }

/* Créditos do Desenvolvedor */
.developer-credit {
    margin-top: 20px; font-size: 0.85rem; opacity: 0.8;
}
.developer-credit a {
    color: var(--azul-escuro); font-weight: 700; text-decoration: none; transition: color 0.3s ease;
}
.developer-credit a:hover {
    color: var(--azul-claro); text-decoration: underline;
}

/* ==========================================
   WhatsApp 
   ========================================== */
.whatsapp-float {
    position: fixed; width: 65px; height: 65px; bottom: 30px; right: 30px;
    background-color: var(--verde-whats); color: var(--branco); border-radius: 50%;
    text-align: center; font-size: 38px; box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000; display: flex; align-items: center; justify-content: center; 
    text-decoration: none !important; /* Remove o sublinhado (_) */
    outline: none; transition: 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.pulse-anim { animation: pulseWhatsapp 2s infinite; }

@keyframes pulseWhatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Ajustes mobile */
@media (max-width: 768px) {
    .hero-content h2 { font-size: 2.5rem; }
    .header { top: 10px; left: 10px; padding: 8px 15px; }
    .gallery-title { font-size: 1.8rem; }
}