﻿/* ======== GLOBAL ======== */
html, body { margin: 0; padding: 0; min-height: 100vh; background: #f2f2f2; font-family: Arial, sans-serif; overflow-x: hidden; }

/* ======== HEADER ========= */
header { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px 10px; background-repeat: no-repeat; background-position: center center; background-size: cover; height: 170px; }
header::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.3); z-index: 0; }
header h1 { position: relative; z-index: 1; font-size: 36px; font-family: "Bauhaus 93", sans-serif; margin: 0 auto 20px auto; display: inline-block; padding: 8px 25px; background-color: rgba(255,255,255,0.5); color: #ffffff; text-shadow: 2px 2px 0 #0000ff, -2px 2px 0 #0000ff, 2px -2px 0 #0000ff, -2px -2px 0 #0000ff; border-radius: 8px; }

/* ======== HEADER ICONS ==== */
.header-icons { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 25px; margin-top: 0; }
.icons-seasons { display: flex; justify-content: center; gap:45px !important; /* espaço entre Primavera, Verão... */ }
.icons-extra { display: flex; justify-content: center; gap: 15px; }
.icons-seasons a img { width: 150px; height: 76px; object-fit: cover; transition: transform 0.3s; }
.icons-seasons a img:hover { transform: scale(1.05); }
.icons-extra a img { width: 40px; height: 40px; object-fit: contain; }

/* ======== BARRA VERDE ===== */
.bar-green { height: 20px; background: #96B405; width: 100%; }

/* ======== CONTEÚDO ======== */
#content { max-width: 1230px; margin: 20px auto; display: flex; gap: 20px; flex-wrap: wrap; padding: 0 15px; box-sizing: border-box; }
main { flex: 1; min-width: 300px; background: transparent; padding: 20px; }

/* Cada bloco individual */
.main-bloco { background: #ffffff; border-radius: 12px; padding: 20px; margin: 0 auto 0 auto; width: 100%; box-sizing: border-box; }
.espaco-transparente { height: 30px; background: transparent; }

/* ======== ROTEIRO ========= */
.roteiro { background: #ffffff; padding: 10px 30px 30px 30px; border-radius: 12px; text-align: center; }
.roteiro:first-of-type { margin-top: 30px; background: transparent; }
.roteiro-titulo { font-size: 28px; margin-top: 0; margin-bottom: 10px; }
.roteiro-topo { display: flex; gap: 30px; align-items: flex-start; flex-wrap: wrap; justify-content: center; }
.roteiro-texto { flex: 1 1 500px; }
.roteiro-texto p,
.roteiro-destaque p,
.roteiro-info p,
.roteiro-descricao p { margin: 10px 0; }
.roteiro-destaque { background: #f4f4f4; padding: 15px; border-left: 5px solid #96B405; margin: 10px 0 15px 0; display: inline-block; text-align: center; }
.roteiro-info { margin: 20px 0; display: inline-block; text-align: center; }
.roteiro-video-texto { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 15px; margin-top: 10px; }
.roteiro-video { width: 100%; max-width: 470px; margin: 0 auto; }
.video-container { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 10px; }
.roteiro-media { flex: 1 1 auto; display: flex; justify-content: center; }
.roteiro-descricao { flex: 1 1 400px; text-align: center; }
.roteiro-imagem { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.roteiro-imagem img,
.roteiro-imagem-resp { width: 100%; max-width: 450px; height: auto; border-radius: 10px; display: block; margin: 0 auto 15px auto; }
.roteiro-descricao h2 { margin-top: 0; margin-bottom: 10px; }
.reserva-texto { margin-top: 10px; font-weight: bold; font-size: 16px; }
.roteiro-contactos { display: flex; justify-content: center; gap: 20px; margin-bottom: 30px; }
.roteiro-contactos a img { width: 50px; height: 50px; margin: 0 5px; transition: transform 0.2s, box-shadow 0.2s; border-radius: 50%; }
.roteiro-contactos a:hover img { transform: scale(1.15); box-shadow: 0 4px 10px rgba(0,0,0,0.3); }

/* Botões */
.pdf-botao,
.roteiro-galeria { display: inline-block; background-color: #96B405; color: #ffffff !important; font-weight: bold; font-family: Arial, sans-serif; text-decoration: none; border-radius: 12px; text-align: center; transition: background 0.3s; padding: 12px 40px; }
.roteiro-galeria-container { text-align: center; margin-top: 10px; }
.pdf-botao { font-size: 15px; margin-bottom: 20px; }
.roteiro-galeria { font-size: 15px; margin-top: 10px; margin-bottom: 0; }
.pdf-botao:hover,
.roteiro-galeria:hover { background-color: #7c9700; }

/* ======== FOOTER - 4 COLUNAS ======== */
.footer-container { max-width: 1200px; width: 100%; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; padding: 0 15px; background: url('images/capas/0011a10.jpg') no-repeat center center; background-size: cover; color: #fff; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,0.3); position: relative; overflow: hidden; }
.footer-container::before { content: ""; position: absolute; inset: 0; background: rgba(150, 180, 5, 0.2); z-index: 0; border-radius: 12px; }
.footer-box { flex: 1; min-width: 220px; padding: 25px; background: rgba(34, 50, 34, 0.3); position: relative; z-index: 1; box-sizing: border-box; }
/* Coluna 1 - Contactos */
.footer-box.contact-box h3 { border-bottom: 2px solid #fff; padding-bottom: 8px; margin-bottom: 12px; font-size: 16px; text-align: center; }
.footer-box.contact-box p { font-size: 12px; line-height: 1.35em; margin: 4px 0; }
/* Coluna 2 - Tlm / Email */
.footer-box.contact-info-box h3 { border-bottom: 2px solid #fff; padding-bottom: 8px; margin-bottom: 12px; font-size: 16px; text-align: center; }
.footer-box.contact-info-box p { font-size: 12px; margin: 4px 0; line-height: 1.35em; }
/* Coluna 3 - Foto + Redes sociais */
.footer-box.social-box h3 { border-bottom: 2px solid #fff; padding-bottom: 8px; margin-bottom: 15px; font-size: 16px; text-align: center; }
.footer-box.social-box .photo-box img { max-width: 250px; height: auto; margin: 0 auto 12px auto; border-radius: 6px; display: block; }
.footer-box.social-box .social-icons { display: flex; justify-content: center; align-items: center; gap: 5px; flex-wrap: nowrap; }
.footer-box.social-box .social-icons img { width: 35px; height: 35px; }
/* Coluna 4 - Livro de Reclamações */
.footer-box.livro-box h3 { border-bottom: 2px solid #fff; padding-bottom: 8px; margin-bottom: 12px; font-size: 16px; text-align: center; }
.footer-box.livro-box p { font-size: 12px; margin: 4px 0; }
.footer-box.livro-box .btn-livro { display: inline-block; margin-top: 10px; padding: 8px 15px; background: transparent; border: 2px solid #ffffff; color: #ffffff; text-decoration: none; font-weight: bold; border-radius: 4px; }
.footer-box.livro-box .btn-livro img { width: 100%; max-width: 120px; height: auto; margin: 5px auto 0 auto; }
.footer-box.livro-box { text-align: center; }

/* ======== FOOTER FINAL ======== */
.footer-final { text-align: center; padding: 10px 0; background: #96B405; color: #fff; font-size: 14px; margin-top: 20px; }

/* ======== MEDIA QUERIES ==== */

/* Mobile /Vertical */
@media screen and (max-width: 768px) {
.footer-container { flex-direction: column; gap: 15px; padding: 15px; }
.footer-box { width: 100%; text-align: center !important; min-width: 0; border-radius: 12px; }
.footer-box.photo-box img { max-width: 120px; }
.social-icons a { flex: 0 0 30%; margin-bottom: 10px; }
.social-icons a:nth-child(4),
.social-icons a:nth-child(5) { flex: 0 0 30%; } }

/* PC / Panorâmico (Desktop) */
@media screen and (min-width: 769px) {
.header-icons { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 20px; }
.icons-seasons, .icons-extra { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 20px; align-items: center; } }

/* Tablet (até 768px) */
@media screen and (max-width: 768px) {
header { height: auto; padding-bottom: 15px; }
header h1 { font-size: 20px; margin-bottom: 10px; }
#content { padding: 0 10px; } main { padding: 10px; }
.icons-seasons a img { width: 100px; height: 50px; }
.footer-container { flex-direction: column; width: 95%; margin: auto; } }

/* Tlm Vertical (até 480px) */
@media screen and (max-width: 480px) {
#content { margin: 0 auto; padding: 0 10px; display: block; }
main { padding: 0; min-width: 0; text-align: center; }
main h2 { font-size: 20px !important; padding: 0 10px; }
main p { font-size: 14px !important; padding: 0 15px; }
.icons-box { width: 95%; margin: 20px auto; padding: 15px 5px; box-sizing: border-box; }
.header-icons { width: 100%; gap: 15px; }
.icons-seasons { display: flex; flex-wrap: wrap; justify-content: center !important; gap: 8px !important; width: 100%; }
.icons-seasons a { flex: 0 0 46%; max-width: 46%; }
.icons-seasons a img { width: 100%; height: auto; border-radius: 6px; }
.card-container { justify-content: center; padding: 0; margin: 0 auto; }
.card { max-width: 100%; flex: 1 1 100%; margin: 0 auto 20px auto; }

/* Footer Contactos - Ajuste de Largura */
.footer-container { width: 90%; /* Margem igual à esquerda e direita */ margin: 20px auto; padding: 10px; }
.footer-box { width: 100% !important; padding: 20px 15px; text-align: center !important; }
.footer-social-img { max-height: 120px; width: auto; margin: 0 auto 10px; }
.social-icons img { width: 40px; height: 40px; }
.footer-box.social-box .social-icons {  flex-wrap: wrap; } }

/* ======== TOOLTIP DO CALENDÁRIO ======== */
.dia-calendario { position: relative; cursor: pointer; }
.tooltip-evento { visibility: hidden; width: 140px; background-color: #333; color: #fff; text-align: center; border-radius: 6px; padding: 8px; position: absolute; z-index: 100; bottom: 125%; left: 50%; margin-left: -70px; opacity: 0; transition: opacity 0.3s; font-size: 11px; line-height: 1.2; pointer-events: none; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.tooltip-evento::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border-width: 5px; border-style: solid; border-color: #333 transparent transparent transparent; }
.dia-calendario:hover .tooltip-evento { visibility: visible; opacity: 1; }


