/* ==============================
 * FONTE GLOBAL: Museo Sans Rounded
 * ============================== */
:root {
  --font-primary: 'Museo Sans Rounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-weight-thin: 100;
  --font-weight-light: 300;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --font-weight-black: 900;
  --font-weight-extra-black: 1000;
}

/* Aplicar Museo Sans Rounded globalmente */
body,
html,
* {
  font-family: var(--font-primary) !important;
}

/* Pesos específicos para elementos comuns */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary) !important;
  font-weight: var(--font-weight-bold) !important;
}

.font-thin { font-weight: var(--font-weight-thin) !important; }
.font-light { font-weight: var(--font-weight-light) !important; }
.font-medium { font-weight: var(--font-weight-medium) !important; }
.font-bold { font-weight: var(--font-weight-bold) !important; }
.font-black { font-weight: var(--font-weight-black) !important; }
.font-extra-black { font-weight: var(--font-weight-extra-black) !important; }

/* ==============================
 * FONT AWESOME - FALLBACK E CORREÇÕES
 * ============================== */
/* Garantir que Font Awesome carregue corretamente */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Fallback para ícones se Font Awesome não carregar */
.fas, .fab, .far, .fal, .fad, .fat {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Pro" !important;
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400;
}

/* Garantir visibilidade dos ícones */
i[class*="fa-"] {
  display: inline-block !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  line-height: 1 !important;
}

/* ==============================
 * HEADER FIXO
 * ============================== */
.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100% !important;
  z-index: 9999 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari/Edge */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* Header já está definido no theme-base.css */

/* Mobile já está definido no theme-base.css */

/* Compensar altura do header fixo */
body {
  padding-top: 80px;
}

/* Home page - RESET completo para hero full width */
body.home {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ==============================
 * FOOTER LIMPO E PROFISSIONAL
 * ============================== */
.site-footer {
  background: #1e3a5f !important;
  color: #ffffff !important;
  padding: 50px 0 20px !important;
  margin: 0 !important;
  position: relative;
}

/* 6. Onda Pronto para Próxima Aventura (CTA) → Footer */
.site-footer::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><defs><linearGradient id="waveGradient6" x1="0%" y1="0%" x2="100%" y2="0%"><stop offset="0%" style="stop-color:%231a3a5c;stop-opacity:1" /><stop offset="20%" style="stop-color:%235fc3e4;stop-opacity:1" /><stop offset="40%" style="stop-color:%23ffd500;stop-opacity:1" /><stop offset="60%" style="stop-color:%23e4e85b;stop-opacity:1" /><stop offset="80%" style="stop-color:%235bba47;stop-opacity:1" /><stop offset="100%" style="stop-color:%23007a87;stop-opacity:1" /></linearGradient></defs><path d="M0,50 C300,90 600,30 900,70 C1050,90 1150,50 1200,70 L1200,120 L0,120 Z" fill="%231e3a5f" stroke="none"/><path d="M0,50 C300,90 600,30 900,70 C1050,90 1150,50 1200,70" fill="none" stroke="url(%23waveGradient6)" stroke-width="5" stroke-linecap="round"/></svg>');
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 10;
  pointer-events: none;
}

/* Footer container já está definido no theme-base.css */

/* Ocultar widgets desnecessários */
.site-footer .widget:not(.footer-info) {
  display: none;
}

/* Footer customizado */
.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  text-align: center;
}

.site-footer .footer-section h3,
.footer-section h3,
footer .footer-section h3 {
  color: var(--amarelo-3b) !important;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1.2em;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.footer-section p,
.footer-section a {
  color: #ffffff !important;
  text-decoration: none;
  line-height: 1.6;
  margin-bottom: 10px;
  text-align: center;
  padding-left: 15px;
  padding-right: 15px;
}

.footer-section a:hover {
  color: var(--amarelo-3b) !important;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
  padding-left: 15px;
  padding-right: 15px;
}

.site-footer .footer-contact-item i,
.footer-contact-item i,
footer .footer-contact-item i {
  color: var(--amarelo-3b) !important;
  width: 20px;
  text-align: center;
}

/* Copyright limpo - embaixo das colunas */
.ast-footer-copyright {
  background: rgba(0, 0, 0, 0.2) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin: 0 !important;
  padding: 20px !important;
  text-align: center !important;
  font-size: 0.9em;
  width: 100%;
}

.ast-footer-copyright p {
  margin: 0 !important;
  padding: 0 !important;
  color: #ffffff !important;
  opacity: 0.8;
  text-align: center !important;
  width: 100%;
}

/* Responsividade */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .site-footer {
    padding: 40px 0 15px !important;
  }
}

/* ==============================
 * PÁGINA DE DESTINO (TAXONOMIA)
 * MOVIDO PARA: destino-page.css
 * ============================== */

/* ==============================
 * Tabs + layout + print
 * ============================== */
.tabs { margin-top: 20px; }
.tabs-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tabs-nav button { padding: 8px 12px; border: 1px solid #ddd; background: #f7f7f7; cursor: pointer; }
.tabs-nav button.active { background: #fff; border-bottom-color: #fff; }
.tab-pane { display: none; padding: 12px; border: 1px solid #ddd; background: #fff; }
.tab-pane.active { display: block; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.programa-header h1 { margin-bottom: 4px; }
.programa-header .sub { color: #666; }

/* Estilos para a tabela de preços */
.hotel-precos {
  margin-bottom: 2rem;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.hotel-precos h3 {
  margin: 0;
  padding: 12px 16px;
  background-color: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  font-size: 1.1em;
  color: #333;
}

.precos {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
}

.precos th {
  background-color: #f9f9f9;
  font-weight: 600;
  text-align: left;
  padding: 10px 12px;
  border-bottom: 2px solid #e0e0e0;
}

.precos td {
  padding: 8px 12px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: top;
}

.precos tr:last-child td {
  border-bottom: none;
}

.precos tr:hover {
  background-color: #fafafa;
}

.precos .valor {
  font-weight: 600;
  color: #2c3e50;
  text-align: right;
  white-space: nowrap;
}

/* Responsividade */
@media (max-width: 768px) {
  .hotel-precos {
    margin-bottom: 1.5rem;
  }
  
  .precos {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .precos th, 
  .precos td {
    padding: 8px;
    font-size: 0.9em;
  }
}

/* Estilos para a galeria */
.galeria { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); 
  gap: 8px; 
  margin: 8px 0; 
}

.galeria img { 
  width: 100%; 
  height: auto; 
  border-radius: 4px; 
}

.print-btn { 
  margin-left: auto; 
}

/* Estilos para a tabela de tipos de quarto */
.tipos-quarto-container {
  margin: 25px 0;
}

.tipos-quarto-container h4 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 1.2em;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
}

.tipo-quarto-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.tipo-quarto-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tipo-quarto-card h5 {
  margin: 0;
  padding: 12px 15px;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
  font-size: 1.1em;
  color: #2c3e50;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.precos-tabela {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
}

.precos-tabela th {
  background-color: #f5f7fa;
  font-weight: 600;
  text-align: left;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  color: #4a5568;
  text-transform: uppercase;
  font-size: 0.85em;
  letter-spacing: 0.5px;
}

.precos-tabela td {
  padding: 10px 15px;
  border: 1px solid #f0f0f0;
  vertical-align: middle;
  color: #4a5568;
}

.precos-tabela tr:nth-child(even) {
  background-color: #fafbfc;
}

.precos-tabela tr:hover {
  background-color: #f8fafd;
}

/* Responsividade para a tabela de preços */
@media (max-width: 768px) {
  .precos-tabela {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  .precos-tabela th,
  .precos-tabela td {
    min-width: 120px;
  }
  
  .tipo-quarto-card {
    margin-left: -10px;
    margin-right: -10px;
    border-left: none;
    border-right: none;
    border-radius: 0;
  }
}

/* Estilos para o detalhe de política de crianças */
details[open] summary {
  margin-bottom: 10px;
}

details div {
  animation: fadeIn 0.3s ease-in-out;
}

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

@media print {
  .tabs-nav { 
    display: none !important; 
  }
  
  .tab-pane { 
    display: block !important; 
    border: none; 
    page-break-inside: avoid;
  }
  
  .button, 
  .print-btn { 
    display: none !important; 
  }
  
  header, 
  footer, 
  nav, 
  .site-sidebar { 
    display: none !important; 
  }
  
  .hotel-precos {
    page-break-inside: avoid;
    break-inside: avoid;
    border: 1px solid #eee;
    margin-bottom: 1.5rem;
  }
  
  .precos {
    font-size: 10pt;
  }
}

/* ==============================
 * FOOTER GLOBAL 3B - Novo Layout 2025
 * Aplicado em todas as páginas do site
 * ============================== */
.footer-3b {
  background: #164194; /* Azul escuro institucional */
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  padding: 0;
}

.footer-main {
  padding: 60px 0 30px 0;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

/* Brand Column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  max-width: 140px;
  height: auto;
  margin-bottom: 8px;
}

.footer-3b .footer-tagline {
  font-size: 0.75em;
  font-weight: 700;
  color: #fbe800; /* Amarelo 3B */
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  line-height: 1.4;
}

.footer-description {
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

/* Footer Columns */
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-3b .footer-title {
  font-size: 1em;
  font-weight: 700;
  color: #fbe800; /* Amarelo 3B */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 8px 0;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-list li {
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-list li i {
  color: #fbe800;
  font-size: 0.9em;
  margin-top: 3px;
  min-width: 16px;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-list a:hover {
  color: #fbe800;
}

/* Copyright */
.footer-3b .footer-main .footer-copyright-wrapper {
  margin-top: 40px;
  padding-top: 0;
  text-align: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.footer-3b .footer-main .footer-copyright-wrapper::before,
.footer-3b .footer-main .footer-copyright-wrapper::after {
  display: none !important;
}

.footer-3b .footer-copyright {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.footer-copyright a {
  color: #fbe800;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-copyright a:hover {
  color: #0194dd;
}

/* Responsividade Footer */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 40px 0 30px 0;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 20px;
  }
  
  .footer-brand {
    text-align: center;
    align-items: center;
  }
  
  .footer-logo {
    max-width: 120px;
  }
  
  .footer-column {
    text-align: center;
    align-items: center;
  }
  
  .footer-list li {
    justify-content: center;
  }
}
