/* ==========================================================================
   NAMÍBIA ADVENTURE - MULTI-PAGE LAYOUT STYLES
   (Cabeçalho das páginas, atalhos da página inicial, próximo passo,
    páginas legais e 404)
   ========================================================================== */

/* --------------------------------------------------------------------------
   PAGE BANNER (topo das sub-páginas)
   -------------------------------------------------------------------------- */
.page-banner {
  position: relative;
  padding-top: clamp(8rem, 14vw, 10.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  isolation: isolate;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 16, 19, 0.75) 0%, rgba(13, 16, 19, 0.82) 55%, var(--color-dark-900) 100%);
}

.page-banner-content .section-header {
  margin-bottom: 0;
}

.page-banner .section-subtitle {
  color: var(--color-text-sand);
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--color-text-sand);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-sand);
}

.breadcrumb .fa-chevron-right {
  font-size: 0.65rem;
  color: var(--color-text-dim);
}

.breadcrumb span {
  color: var(--color-sand);
}

/* Section that follows the banner: less top padding */
.section.page-body {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* --------------------------------------------------------------------------
   HOME: EXPLORE GRID
   -------------------------------------------------------------------------- */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.explore-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.75rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  color: inherit;
  text-decoration: none;
}

.explore-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-sand);
  box-shadow: var(--shadow-sand);
}

.explore-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #FFF;
  background: linear-gradient(135deg, var(--color-desert-dune) 0%, var(--color-sand) 100%);
  margin-bottom: 0.4rem;
}

.explore-card h3 {
  font-size: 1.2rem;
  color: #FFF;
}

.explore-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  flex: 1;
}

.explore-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-sand);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.explore-card:hover .explore-link i {
  transform: translateX(3px);
}

.explore-link i {
  transition: transform var(--transition-fast);
}

/* --------------------------------------------------------------------------
   NEXT STEP BAND (fim das sub-páginas)
   -------------------------------------------------------------------------- */
.next-step-band {
  padding: 0 0 clamp(3rem, 6vw, 5rem);
}

.next-step-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.next-step-inner > div:first-child {
  flex: 1;
  min-width: 240px;
}

.next-step-band .container {
  background: linear-gradient(135deg, rgba(217, 107, 39, 0.14) 0%, rgba(20, 25, 30, 0.9) 100%);
  border: 1px solid var(--color-border-sand);
  border-radius: var(--radius-lg);
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  max-width: calc(var(--container-max) - 5rem);
}

.next-step-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-sand);
}

.next-step-title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: #FFF;
  margin-top: 0.25rem;
}

.next-step-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   LEGAL PAGES & 404
   -------------------------------------------------------------------------- */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  color: var(--color-text-sand);
  line-height: 1.75;
  font-size: 0.98rem;
}

.legal-content h2 {
  font-size: 1.35rem;
  color: #FFF;
  margin: 2.25rem 0 0.75rem;
}

.legal-content p,
.legal-content ul {
  margin-bottom: 1rem;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content a {
  color: var(--color-sand);
  text-decoration: underline;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

.not-found-wrap {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding-top: 8rem;
}

.not-found-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-desert-dune) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .explore-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .explore-grid {
    grid-template-columns: 1fr;
  }

  .booking-grid-2 {
    grid-template-columns: 1fr !important;
  }

  .next-step-band .container {
    margin-left: 1rem;
    margin-right: 1rem;
    width: auto;
  }

  .next-step-actions,
  .next-step-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media print {
  .header-nav,
  .site-footer,
  .next-step-band,
  .page-banner-bg {
    display: none !important;
  }
}

