/* ═══════════════════════════════════════
   GUIA FOZ – style.css
   Baseado no template Tourex
════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --primary-color:   #f76b07;
  --secondary-color: #1c2331;
  --text-dark:       #333333;
  --text-light:      #777777;
  --white:           #ffffff;
  --bg-color:        #f8f9fa;
  --transition:      all 0.3s ease;
  --shadow-sm:       0 4px 6px rgba(0,0,0,0.05);
  --shadow-md:       0 10px 20px rgba(0,0,0,0.10);
  --shadow-lg:       0 20px 40px rgba(0,0,0,0.15);
  --border-radius:   12px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Archivo', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.6;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Archivo', sans-serif;
  color: var(--secondary-color);
  font-weight: 700;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* ── Helpers ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding { padding: 100px 0 80px; }
.text-center     { text-align: center; }
.mb-40           { margin-bottom: 40px; }

/* ════════════════════════════════════════
   HEADER / NAVBAR
════════════════════════════════════════ */
.header {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  z-index: 999;
  background: transparent;
  padding: 22px 0;
  transition: var(--transition);
}

.header.sticky {
  position: fixed;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Logo */
.logo h2 {
  color: var(--white);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
}
.logo h2 span        { color: var(--primary-color); }
.header.sticky .logo h2 { color: var(--secondary-color); }

/* Nav links – centro */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
}

.nav-link {
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  transition: var(--transition);
}

.nav-link.active,
.nav-link:hover { color: var(--primary-color); }

.nav-link::after {
  content: '';
  position: absolute;
  width: 0; height: 2px;
  bottom: -5px; left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.header.sticky .nav-link              { color: var(--secondary-color); }
.header.sticky .nav-link.active,
.header.sticky .nav-link:hover        { color: var(--primary-color); }

/* CTA – direita */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.nav-phone i       { font-size: 22px; color: #25d366; }
.nav-phone div     { display: flex; flex-direction: column; line-height: 1.2; }
.nav-phone small   { font-size: 11px; opacity: .75; }
.nav-phone strong  { font-size: 14px; font-weight: 700; }
.nav-phone:hover   { opacity: .85; }

.header.sticky .nav-phone { color: var(--secondary-color); }

.btn-nav-cta {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 11px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  display: inline-block;
  transition: var(--transition);
}
.btn-nav-cta:hover { background-color: #d95c00; color: var(--white); }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--white);
  cursor: pointer;
}
.header.sticky .mobile-toggle { color: var(--secondary-color); }

/* ════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════ */
.hero {
  height: 80vh;
  min-height: 560px;
  max-height: 900px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  position: relative;
  padding-bottom: 0;
}

.hero-content {
  text-align: center;
  color: var(--white);
  padding-top: 300px;
  padding-bottom: 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Badge localização */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(247,107,7,0.15);
  color: var(--primary-color);
  border: 1px solid rgba(247,107,7,0.4);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 22px;
  backdrop-filter: blur(4px);
}

/* Título principal */
.hero-title {
  font-size: clamp(42px, 6vw, 72px);
  color: var(--white);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 36px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

/* Prova social */
.hero-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 10px 22px;
}

.avatars { display: flex; align-items: center; }

.avatars img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2.5px solid var(--white);
  margin-left: -10px;
  object-fit: cover;
}
.avatars img:first-child { margin-left: 0; }

.avatar-count {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-left: -10px;
  border: 2.5px solid var(--white);
  flex-shrink: 0;
}

.proof-text { display: flex; flex-direction: column; line-height: 1.3; text-align: left; }
.proof-text strong { color: var(--white);               font-size: 14px; font-weight: 700; }
.proof-text span   { color: rgba(255,255,255,.65);       font-size: 12px; }

/* ── Barra de Busca ── */
.hero-searchbar-wrap {
  position: relative;
  z-index: 10;
  padding: 0 0 0;
  flex-shrink: 0;
  margin-bottom: -45px;
}

.hero-searchbar {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  padding: 6px 6px 6px 0;
}

.searchbar-field {
  flex: 1;
  padding: 14px 22px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.searchbar-field label {
  font-size: 11px;
  font-weight: 700;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.searchbar-field label i { color: var(--primary-color); }

.searchbar-field input,
.searchbar-field select {
  border: none; outline: none;
  font-family: 'Archivo', sans-serif;
  font-size: 14px; font-weight: 500;
  color: var(--text-dark);
  background: transparent;
  width: 100%; padding: 0;
  cursor: pointer;
}
.searchbar-field select   { appearance: none; -webkit-appearance: none; }
.searchbar-field input::placeholder { color: #aab0bc; }

.searchbar-divider {
  width: 1px; height: 44px;
  background: #e2e8f0;
  flex-shrink: 0;
}

/* Controle de pessoas */
.guests-control { display: flex; align-items: center; gap: 12px; }

.guest-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid #d1d5db;
  background: transparent;
  font-size: 16px; font-weight: 700;
  cursor: pointer;
  color: var(--secondary-color);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  line-height: 1;
}
.guest-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

#guest-count {
  font-size: 15px; font-weight: 700;
  color: var(--secondary-color);
  min-width: 20px; text-align: center;
}

/* Botão Buscar */
.searchbar-btn {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 18px 36px;
  border-radius: 12px;
  font-family: 'Archivo', sans-serif;
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}
.searchbar-btn:hover {
  background: #d95c00;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(247,107,7,0.35);
}

/* ════════════════════════════════════════
   BTN PRIMARY (genérico)
════════════════════════════════════════ */
.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
  border: 2px solid var(--primary-color);
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-color);
}

/* ════════════════════════════════════════
   EXPLORE SECTION
════════════════════════════════════════ */
.section-title h2 { font-size: 40px; margin-bottom: 15px; }
.section-title p  { color: var(--text-light); font-size: 18px; max-width: 600px; margin: 0 auto; }

.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.explore-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.explore-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-img    { height: 240px; width: 100%; object-fit: cover; }
.card-content { padding: 25px; }

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.category { color: var(--primary-color); font-size: 14px; font-weight: 600; text-transform: uppercase; }
.price    { font-weight: 700; color: var(--secondary-color); font-size: 20px; }

.card-title { font-size: 22px; margin-bottom: 10px; }
.card-title a:hover { color: var(--primary-color); }

.card-info {
  display: flex; gap: 15px;
  color: var(--text-light); font-size: 14px;
  margin-top: 15px;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer { background-color: var(--secondary-color); color: #a0a6b1; padding: 80px 0 30px; }

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-widget h4 {
  color: var(--white); font-size: 20px;
  margin-bottom: 25px;
  position: relative; padding-bottom: 10px;
}
.footer-widget h4::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  height: 2px; width: 40px;
  background-color: var(--primary-color);
}

.footer-links li     { margin-bottom: 15px; }
.footer-links a:hover { color: var(--primary-color); padding-left: 5px; }

.footer-contact li { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 15px; }
.footer-contact i  { color: var(--primary-color); margin-top: 5px; }

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.1);
}

/* ════════════════════════════════════════
   RESPONSIVIDADE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-cta    { display: none; }
  .nav-phone  { display: none; }
  .btn-nav-cta { display: none; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }

  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%; left: 0;
    width: 100%;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-md);
  }
  .nav-menu.active   { display: flex; }
  .nav-menu li       { padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
  .nav-link          { color: var(--secondary-color); }

  .hero-title        { letter-spacing: -1px; }

  .hero-searchbar {
    flex-direction: column;
    border-radius: 12px;
    padding: 10px;
    gap: 4px;
  }

  .searchbar-field   { padding: 10px 12px; }
  .searchbar-divider { width: 100%; height: 1px; }

  .hero-searchbar-wrap { margin-bottom: -120px; }

  .searchbar-btn {
    width: 100%;
    justify-content: center;
    border-radius: 10px;
    margin-top: 4px;
  }

  .hero-social-proof { flex-direction: column; gap: 8px; text-align: center; }
  .proof-text        { text-align: center; }

  .section-padding   { padding: 80px 0 60px; }

  #atrativo-layout   { grid-template-columns: 1fr !important; }
  .sticky-box        { position: static !important; margin-top: 40px; }
}

/* ════════════════════════════════════════
   BUSCA – Resultados dinâmicos
════════════════════════════════════════ */
#search-results-section { padding-top: 120px; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.search-result-card                    { animation: fadeInUp 0.35s ease both; }
.search-result-card:nth-child(1)       { animation-delay: 0.05s; }
.search-result-card:nth-child(2)       { animation-delay: 0.10s; }
.search-result-card:nth-child(3)       { animation-delay: 0.15s; }
.search-result-card:nth-child(4)       { animation-delay: 0.20s; }
.search-result-card:nth-child(5)       { animation-delay: 0.25s; }
.search-result-card:nth-child(6)       { animation-delay: 0.30s; }

@keyframes spin { to { transform: rotate(360deg); } }
.fa-spin { animation: spin 0.9s linear infinite; }

/* ════════════════════════════════════════
   HELPERS INTERNOS (atrativo.php etc.)
════════════════════════════════════════ */
.accordion-header:hover { background-color: rgba(28,35,49,0.05) !important; color: var(--primary-color) !important; }
.main-article h1,
.main-article h2,
.main-article h3 { margin-top: 30px; margin-bottom: 15px; }
.main-article p  { margin-bottom: 20px; }