/* ==========================================================================
   1. RESET E ESTRUTURA BÁSICA (GRID SYSTEM - BOOTSTRAP 3 SIMPLIFICADO)
   Isso conserta o alinhamento da Sidebar e do Conteúdo Principal
   ========================================================================== */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Helpers */
.pull-right { float: right !important; }
.pull-left { float: left !important; }
.hidden-mobile { display: block; }
.clearfix:before, .clearfix:after, .container:before, .container:after, .row:before, .row:after {
    content: " "; display: table;
}
.clearfix:after, .container:after, .row:after { clear: both; }

/* Grid */
.container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}
.row {
    margin-left: -15px;
    margin-right: -15px;
}

/* Colunas (Base para Sidebar e Conteúdo) */
.col-xs-12, .col-sm-4, .col-sm-8, .col-md-3, .col-md-9 {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Mobile First (celular empilhado) */
.col-xs-12 { width: 100%; }

/* Tablet e Desktop (Lado a Lado) */
@media (min-width: 768px) {
    .container { width: 750px; }
    .col-sm-4, .col-sm-8, .col-md-3, .col-md-9 { float: left; }
    
    .col-sm-4 { width: 33.33333333%; }
    .col-sm-8 { width: 66.66666667%; }
    .hidden-mobile { display: block !important; }
}

@media (min-width: 992px) {
    .container { width: 970px; }
    .col-md-3 { width: 25%; } /* Sidebar */
    .col-md-9 { width: 75%; } /* Conteúdo */
    .mobile-menu-toggle { display: none; } /* Esconde hambúrguer no desktop */
}

@media (min-width: 1200px) {
    .container { width: 1170px; }
}

/* Esconder elementos específicos em mobile */
@media (max-width: 991px) {
    .hidden-mobile { display: none !important; }
    #main-menu { display: none; } /* Esconde menu desktop no mobile */
}

/* ==========================================================================
   2. CABEÇALHO E MENU (HEADER STYLE 4)
   Isso conserta a barra verde, o logo e o menu horizontal
   ========================================================================== */
#header {
    position: relative;
    z-index: 999;
    background: #fff;
}

/* Barra verde superior (Quick Menu) */
#header.style4 .topnav {
    float: right;
    background: transparent;
}
#header .topnav ul.quick-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
#header .topnav ul.quick-menu > li {
    float: left;
    margin-left: 20px;
}
#header .topnav ul.quick-menu > li > a {
    line-height: 50px;
    height: 50px;
    color: inherit;
    font-size: 0.8333em;
    text-transform: uppercase;
    text-decoration: none;
}

/* Área do Logo e Busca */
#header .navbar-brand {
    float: left;
    padding: 15px 15px 15px 0;
    height: auto;
}

/* Campo de busca do topo */
.quick-search {
    display: inline-block;
    margin-right: 10px;
}
.with-icon {
    position: relative;
    display: inline-block;
}
.with-icon .input-text {
    padding-right: 40px;
    height: 34px;
    background: #f5f5f5;
    border: none;
    padding-left: 15px;
    width: 250px;
}
.with-icon .icon {
    position: absolute;
    right: 0;
    top: 0;
    width: 34px;
    height: 34px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Menu Principal (Barra cinza/branca horizontal) */
.main-navigation {
    clear: both;
    border-top: 1px solid #f5f5f5;
    background: #fff;
}
#main-menu ul.menu {
    margin: 0;
    padding: 0;
    list-style: none;
}
#main-menu ul.menu > li {
    float: left;
    position: relative;
}
#main-menu ul.menu > li > a {
    display: block;
    padding: 0 20px;
    height: 50px;
    line-height: 50px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
}
#main-menu ul.menu > li:hover > a,
#main-menu ul.menu > li.active > a {
    background: #f5f5f5;
    color: #0ab596; /* Cor verde do tema */
}

/* Dropdown simples (Megamenu básico) */
.megamenu-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    padding: 20px;
    min-width: 200px;
    border-top: 2px solid #0ab596;
}
#main-menu ul.menu > li:hover .megamenu-wrapper {
    display: block;
}
.megamenu-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.megamenu-wrapper ul li a {
    display: block;
    padding: 5px 0;
    color: #555;
    text-decoration: none;
}
.megamenu-wrapper ul li a:hover {
    color: #0ab596;
    padding-left: 5px; /* Efeito visual simples */
    transition: all 0.2s;
}

/* Ícones Soap (Necessários para setas e detalhes) */
@font-face {
    font-family: 'soap-icons';
    src: url('/fonts/soap-icons.woff2') format('woff2'),
         url('/fonts/soap-icons.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
[class^="soap-icon"] { font-family: 'soap-icons'; font-style: normal; }
.soap-icon-longarrow-right:before { content: '\e880'; }

/* Ajuste do botão verde no header */
a.button.sky-blue1 {
    background: #01b7f2;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    display: inline-block;
    vertical-align: top;
    margin-top: 1px;
}

/* ==========================================================================
   1. MEGA MENU DESKTOP (CORREÇÃO DE LARGURA TOTAL)
   ========================================================================== */
@media (min-width: 992px) {

    /* TRUQUE: Faz o item "Destinos" soltar o menu para ele crescer na tela toda */
    #main-menu ul.menu > li.megamenu-menu {
        position: static !important;
    }

    /* O Container Verde (Faixa Total) */
    #main-menu .megamenu-wrapper {
        background-color: #0ab596 !important; /* Verde oficial */
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        padding: 30px 0 !important;
        margin-top: 0 !important;
        border: none !important;
        box-shadow: 0 6px 12px rgba(0,0,0,0.15) !important;
        border-top: 1px solid rgba(255,255,255,0.2) !important;
        z-index: 99999 !important;
    }

    /* O Grid Interno (Colunas lado a lado) */
    #main-menu .megamenu-wrapper ul.megamenu {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important; /* Centraliza o bloco no meio da tela */
        max-width: 1200px !important;       /* Limita largura para não esticar demais */
        margin: 0 auto !important;
        padding: 0 15px !important;
        gap: 20px !important;               /* Espaço entre as colunas */
    }

    /* Cada Coluna (Região) */
    #main-menu .megamenu-wrapper ul.megamenu > li {
        flex: 1 !important;
        float: none !important;
        width: auto !important;
        border-right: 1px solid rgba(255,255,255,0.15) !important;
        padding: 0 20px !important;
        text-align: left !important;
    }

    #main-menu .megamenu-wrapper ul.megamenu > li:last-child {
        border-right: none !important;
    }

    /* Títulos (REGIÃO NORTE, SUL...) */
    #main-menu .megamenu-wrapper ul.megamenu > li > a {
        color: #ffffff !important;
        font-family: 'Segoe UI', Arial, sans-serif !important;
        font-weight: 800 !important;
        font-size: 14px !important;
        letter-spacing: 0.5px;
        text-transform: uppercase !important;
        border-bottom: 2px solid rgba(255,255,255,0.4) !important;
        padding-bottom: 10px !important;
        margin-bottom: 12px !important;
        display: block !important;
    }
    
    /* Remove hover cinza do título */
    #main-menu .megamenu-wrapper ul.megamenu > li > a:hover {
        background: none !important;
        padding-left: 0 !important;
    }

    /* Links dos Estados */
    #main-menu .megamenu-wrapper ul.clearfix li {
        display: block !important;
        width: 100% !important;
        margin-bottom: 4px !important;
    }

    #main-menu .megamenu-wrapper ul.clearfix li a {
        color: #e0f2f1 !important; /* Branco levemente suave */
        font-size: 13px !important;
        font-weight: 500 !important;
        padding: 3px 0 !important;
        text-transform: capitalize !important;
        background: transparent !important;
        border: none !important;
        transition: all 0.2s ease;
    }

    /* Efeito ao passar o mouse no estado */
    #main-menu .megamenu-wrapper ul.clearfix li a:hover {
        color: #ffffff !important;
        transform: translateX(5px); /* Move levemente para direita */
        text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }
}

/* ==========================================================================
   2. VISUAL MOBILE MELHORADO (ESTILO APP)
   ========================================================================== */
@media (max-width: 991px) {
    
    /* Fundo geral do menu */
    #mobile-menu-01 {
        background-color: #0ab596 !important;
        border-top: 1px solid rgba(255,255,255,0.15);
    }

    /* Estilo dos Links Principais */
    #mobile-menu-01 ul.menu > li > a {
        color: #ffffff !important;
        font-family: 'Segoe UI', sans-serif !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        text-transform: uppercase;
        padding: 18px 25px !important; /* Mais espaçado para o dedo */
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        border-top: none !important;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        transition: background 0.3s;
    }

    /* Seta (Chevron) na direita para indicar clique */
    #mobile-menu-01 ul.menu > li > a::after {
        content: ""; 
        display: block;
        width: 8px;
        height: 8px;
        border-right: 2px solid rgba(255,255,255,0.6);
        border-bottom: 2px solid rgba(255,255,255,0.6);
        transform: rotate(-45deg); /* Cria uma seta > */
        margin-right: 5px;
    }

    /* Cor ao tocar/hover */
    #mobile-menu-01 ul.menu > li.active > a,
    #mobile-menu-01 ul.menu > li:hover > a {
        background-color: rgba(0,0,0,0.08) !important; /* Leve escurecida */
        color: #fff !important;
        padding-left: 30px !important; /* Efeito de movimento */
    }

    /* Links do Rodapé Mobile (Cadastro/Parceiros) */
    .mobile-topnav {
        background: rgba(0,0,0,0.1); /* Fundo um pouco mais escuro para separar */
        padding: 15px 0 !important;
        margin: 0 !important;
        text-align: center;
    }
    
    .mobile-topnav li {
        display: block; /* Um embaixo do outro para facilitar o clique */
        margin: 10px 0;
    }
    
    .mobile-topnav li a {
        color: #ffffff !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        background: rgba(255,255,255,0.15); /* Botãozinho translúcido */
        padding: 10px 20px !important;
        border-radius: 20px;
        text-decoration: none !important;
        display: inline-block;
        width: 80%; /* Botão largo */
    }
}

/* ==========================================================================
   5. BOTÃO MENU MOBILE (CORRIGIDO - TAMANHO FIXO)
   Evita vazar para a área de baixo
   ========================================================================== */
@media (max-width: 991px) {

    /* Garante que o container do header tenha a referência correta */
    #header .container {
        position: relative !important;
        min-height: 60px; /* Garante altura mínima para o logo */
    }

    /* Estilo do Botão Hambúrguer */
    button.mobile-menu-toggle {
        display: flex !important;
        position: absolute !important;
        top: 0 !important;
        right: 0 !important; /* Cola no canto direito */
        
        /* TAMANHO FIXO para não vazar */
        width: 60px !important;
        height: 60px !important; /* Altura fixa (não use 100%) */
        
        background-color: #0ab596 !important; /* Verde do tema */
        color: #ffffff !important;
        
        border: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        
        align-items: center;
        justify-content: center;
        z-index: 2000 !important;
        cursor: pointer;
        box-shadow: none !important;
    }

    /* Ícone SVG dentro do botão */
    button.mobile-menu-toggle svg {
        width: 26px !important;
        height: 26px !important;
        fill: #ffffff !important;
    }
    
    /* Efeito ao tocar */
    button.mobile-menu-toggle:hover,
    button.mobile-menu-toggle:active {
        background-color: #089e86 !important;
    }
}

/* ============================================================
   HERO PREMIUM (DESKTOP)
   ============================================================ */
.hero-premium {
  width: 100%;
  height: 260px; /* desktop */
  position: relative;
  background-image: var(--bg);
  background-size: cover;
  background-position: center center;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* overlay claro e elegante */
.hero-premium .hero-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(8px) brightness(0.92);
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15),
    rgba(0,0,0,0.30)
  );
}

.hero-premium .hero-content {
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 20px;
}

/* TÍTULO MAIS LEGÍVEL */
.hero-premium h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.28);
}

.hero-premium .hero-location {
  font-size: 15px;
  opacity: 0.95;
  margin-bottom: 20px;
}

/* BOTÃO WHATSAPP PREMIUM (DESKTOP) */
.hero-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #25d366;
  border-radius: 40px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.20);
  transition: 0.25s ease;
}

.hero-whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}


/* ============================================================
   MOBILE OVERRIDE — ajusta o hero desktop para mobile
   ============================================================ */
@media (max-width: 768px) {
  .hero-premium {
    height: 380px;        /* mais alto para esconder galeria */
    border-radius: 0;
  }

  .hero-premium h1 {
    font-size: 24px;
  }

  .hero-whatsapp-btn {
    padding: 14px 28px;
    font-size: 17px;
  }
}


/* ============================================================
   HERO MOBILE — aparece SOMENTE no mobile
   ============================================================ */

/* Esconde no desktop */
.hotel-hero-mobile-only {
  display: none;
}

/* Exibe no mobile */
@media (max-width: 768px) {

  .hotel-hero-mobile-only {
      display: block;
      width: 100%;
      height: 420px;                      /* ALTO para esconder galeria */
      background-image: var(--bg);
      background-size: cover !important;
      background-position: center center !important;
      background-repeat: no-repeat !important;

      border-radius: 20px;
      position: relative;
      overflow: hidden;
      margin: 20px auto;
  }

  .hotel-hero-mobile-only .hero-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.28);       /* mais claro que antes */
      backdrop-filter: blur(3px);
  }

  .hotel-hero-mobile-only .hero-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      color: white;
      padding: 0 20px;
      width: 100%;
  }

  .hotel-hero-mobile-only h1 {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 8px;
      text-shadow: 0 2px 5px rgba(0,0,0,0.4);
  }

  .hotel-hero-mobile-only .hero-location {
      font-size: 15px;
      opacity: 0.9;
      text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  }
}

/* H1 padrão do hero premium (desktop) */
.hero-premium h1,
.hotel-hero-mobile-only h1 {
    color: #ffffff !important;      /* força branco para todos */
    font-weight: 800;
    font-size: 30px;                /* desktop */
    line-height: 1.2;
    margin-bottom: 8px;
    text-shadow: 0px 3px 8px rgba(0,0,0,0.35); /* legível */
}

/* Localização (desktop + mobile) */
.hero-premium .hero-location,
.hotel-hero-mobile-only .hero-location {
    color: #ffffff !important;
    font-size: 16px;
    opacity: 0.95;
    text-shadow: 0px 2px 6px rgba(0,0,0,0.35);
}

/* Ajustes para MOBILE */
@media (max-width: 768px) {
    .hero-premium h1,
    .hotel-hero-mobile-only h1 {
        font-size: 28px !important;   /* menor que desktop, mas grande */
        margin-bottom: 10px;
        text-shadow: 0px 4px 10px rgba(0,0,0,0.45);
    }

    .hero-premium .hero-location,
    .hotel-hero-mobile-only .hero-location {
        font-size: 18px;
        opacity: 1;
    }
}

.min-height-ad-estabs {
    min-height: 280px
}

.wpp-estabs {
    max-width: 200px
}

@media (max-width:768px) {
    .min-height-ad-estabs {
        min-height: 280px;
        max-width: 100%
    }
    .wpp-estabs {
        max-width: 150px
    }
}

