/* ========================================================
   Biazotto Hot Beach Olímpia - Design System & Stylesheet
   ======================================================== */

:root {
  --navy: #0B1E31;
  --navy2: #071421;
  --gold: #DBB053;
  --bronze: #A87824;
  --off: #F5F2EC;
  --white: #FFFFFF;
  --graphite: #3D3D3D;
  --muted: #667483;
  --line: rgba(11, 30, 49, 0.14);
  --max: 1180px;
  --shadow: 0 22px 60px rgba(7, 20, 33, 0.13);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: var(--navy);
  background-color: var(--off);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

/* Header Fixo (SEM backdrop-filter, top/right/bottom/left explícitos) */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: auto;
  z-index: 100;
  background-color: rgba(7, 20, 33, 0.98);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 1.1rem clamp(1.25rem, 4vw, 4.5rem);
}

.header-container {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: clamp(170px, 18vw, 240px);
  height: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(219, 176, 83, 0.3);
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}

.nav-link:hover {
  color: #ffffff;
  border-color: var(--gold);
  background-color: rgba(219, 176, 83, 0.1);
}

/* Main Content Layout */
.main-content {
  padding-top: 5.5rem;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

/* Hero Section & Search Widget Container */
.hero-section {
  background: var(--navy);
  color: #ffffff;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  position: relative;
  border-bottom: 1px solid rgba(219, 176, 83, 0.2);
}

.hero-header {
  max-width: 860px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
  color: #E7C36E;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background-color: currentColor;
}

.page-title {
  font-size: clamp(2.1rem, 4.8vw, 3.8rem);
  line-height: 1.12;
  font-weight: 300;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem 0;
  color: #ffffff;
}

.page-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
  margin: 0 auto;
}

/* Container do Widget Niara / OTA Builder (SEM ALTURA FIXA E SEM OVERFLOW HIDDEN) */
.search-widget-wrapper {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(219, 176, 83, 0.35);
  box-shadow: 0 24px 64px rgba(7, 20, 33, 0.35);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  margin-top: 1rem;
  color: var(--navy);
  position: relative;
}

#otabuilder-widget {
  min-height: 120px;
  display: block;
  width: 100%;
}

/* Seção de Informações Institucionais */
.info-section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background-color: var(--off);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.info-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: clamp(2rem, 3vw, 2.75rem);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(7, 20, 33, 0.08);
  border-color: rgba(219, 176, 83, 0.4);
}

.card-num {
  color: var(--bronze);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
}

.info-card h2 {
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--navy);
  margin: 0 0 0.85rem 0;
  letter-spacing: -0.01em;
}

.info-card p {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

/* Footer */
.site-footer {
  background-color: var(--navy2);
  color: #ffffff;
  padding-top: clamp(4rem, 7vw, 5.5rem);
  border-top: 1px solid rgba(219, 176, 83, 0.25);
}

.footer-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}

.footer-brand {
  max-width: 380px;
}

.footer-brand img {
  width: 200px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  font-weight: 400;
  position: relative;
  display: inline-block;
  width: fit-content;
}

.footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: var(--gold);
  transition: width 0.25s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-links a:hover::after {
  width: 100%;
}

.copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.copyright-bar p {
  margin: 0;
}

/* Responsividade */
@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 0.9rem 1.1rem;
  }

  .main-content {
    padding-top: 4.8rem;
  }

  .hero-section {
    padding: 2.75rem 0 3.5rem;
  }

  .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
  }

  .page-title {
    font-size: 2.15rem;
  }

  .search-widget-wrapper {
    padding: 1.1rem;
    border-radius: var(--radius-md);
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
}
