@charset "UTF-8";

/*
    Theme Name: FNV Pass
    Author: Thiago Mauricio
    Version: 1.0
*/
/* ========== RESET & BASE ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

:root {
  --primary: #114391;
  --primary-hover: #0A3272;
  --primary-fg: #fff;
  --secondary: #5ea979;
  --secondary-hover: #4d9266;
  --secondary-fg: #fff;
  --bg: #ffffff;
  --fg: #1a1d26;
  --card: #ffffff;
  --card-fg: #1a1d26;
  --muted: #f4f5f7;
  --muted-fg: #6b7280;
  --border: #e5e7eb;
  --accent: #e8f4ed;
  --accent-fg: #3a7a52;
  --gold: #e5a832;
  --dark: #141720;
  --dark-fg: #f0f0f0;
  --radius: 0.75rem;
  --shadow-card: 0 4px 24px -4px rgba(26, 29, 38, .08);
  --shadow-card-hover: 0 12px 40px -8px rgba(26, 29, 38, .15);
  --shadow-search: 0 20px 60px -12px rgba(26, 29, 38, .18);
  --font: 'Poppins', sans-serif
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6
}

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

a {
  text-decoration: none;
  color: inherit
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  line-height: 1.2
}

/* ========== UTILITIES ========== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px
}

@media(min-width:640px) {
  .container {
    padding: 0 24px
  }
}

@media(min-width:1024px) {
  .container {
    padding: 0 32px
  }
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--fg)
}

@media(min-width:768px) {
  .section-title {
    font-size: 2.25rem
  }
}

/* ========== SCROLL REVEAL ========== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease-out, transform .6s ease-out
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0)
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all .3s ease
}

.site-header.scrolled {
  padding: 10px 0;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06)
}

.logo-default {
  display: block;
  margin-top: 30px
}

.site-header.scrolled .logo-default {
  display: none
}

.logo-scroll {
  display: none
}

.site-header.scrolled .logo-scroll {
  display: block
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px
}

@media(min-width:768px) {
  .header-inner {
    height: 72px
  }
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary)
}

.logo span {
  color: #fff;
  transition: color .3s
}

.site-header.scrolled .logo span {
  color: var(--fg)
}

.nav-desktop {
  display: none;
  gap: 32px;
  align-items: center
}

@media(min-width:768px) {
  .nav-desktop {
    display: flex
  }
}

.nav-desktop a {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .8);
  transition: color .3s
}

.nav-desktop a:hover {
  color: #fff
}

.site-header.scrolled .nav-desktop a {
  color: var(--muted-fg)
}

.site-header.scrolled .nav-desktop a:hover {
  color: var(--fg)
}

.header-actions {
  display: none;
  gap: 12px;
  align-items: center
}

@media(min-width:768px) {
  .header-actions {
    display: flex
  }
}

.btn-outline-header {
  font-size: .875rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 8px;
  padding: 8px 16px;
  color: #fff;
  transition: all .3s
}

.btn-outline-header:hover {
  background: rgba(255, 255, 255, .1)
}

.site-header.scrolled .btn-outline-header {
  border-color: var(--border);
  color: var(--fg)
}

.site-header.scrolled .btn-outline-header:hover {
  background: var(--muted)
}

.btn-primary-header {
  font-size: .875rem;
  font-weight: 500;
  background: var(--primary);
  color: var(--primary-fg);
  border-radius: 8px;
  padding: 8px 16px;
  transition: background .3s
}

.btn-primary-header:hover {
  background: var(--primary-hover)
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: #fff
}

.site-header.scrolled .mobile-toggle {
  color: var(--fg)
}

@media(min-width:768px) {
  .mobile-toggle {
    display: none
  }
}

/* Mobile menu fullscreen */
.mobile-menu {
  display: none;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 16px
}

.mobile-menu.open {
  display: block;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  overflow-y: auto;
  padding: 80px 24px 40px
}

@media(min-width:768px) {
  .mobile-menu {
    display: none !important
  }
}

.mobile-menu a {
  display: block;
  padding: 10px 0;
  font-size: 1.175rem;
  font-weight: 500;
  color: var(--muted-fg)
}

.mobile-menu .mobile-btns {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  bottom: 40px;
  position: fixed;
  width: 84%
}

.mobile-menu .mobile-btns a {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-weight: 500;
  font-size: .875rem
}

.mobile-menu .mobile-btns .btn-o {
  border: 1px solid var(--border);
  color: var(--fg)
}

.mobile-menu .mobile-btns .btn-p {
  background: var(--primary);
  color: var(--primary-fg)
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 80px
}

.hero-bg {
  position: absolute;
  inset: 0
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero-overlay {
  inset: 0;
  position: absolute;
  background: linear-gradient(135deg, rgba(3, 22, 80, .85) 0%, rgba(1, 7, 24, .5) 90%)
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 40px;
  align-items: center;
  padding: 48px 0
}

/* Tablet: coluna única mas com mais espaço */
@media(min-width:640px) and (max-width:1023px) {
  .hero-inner {
    gap: 32px;
    padding: 64px 0
  }
}

@media(min-width:1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding: 80px 0
  }
}

.hero-left {
  animation: fadeUp .6s ease-out forwards;
  text-align: center
}

@media(min-width:1024px) {
  .hero-left {
    text-align: left
  }
}

.hero-left h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--dark-fg);
  line-height: 1.15
}

@media(min-width:640px) {
  .hero-left h1 {
    font-size: 3rem
  }
}

@media(min-width:1024px) {
  .hero-left h1 {
    font-size: 3.5rem
  }
}

.hero-left h1 span {
  color: var(--primary)
}

.hero-left p {
  color: #FFF;
  max-width: 480px;
  margin-top: 20px;
  font-size: 1.125rem;
  margin-left: auto;
  margin-right: auto
}

@media(min-width:1024px) {
  .hero-left p {
    margin-left: 0;
    margin-right: 0
  }
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  margin-bottom: 8px;
  background: var(--primary);
  color: var(--primary-fg);
  font-weight: 600;
  font-size: 1.125rem;
  padding: 16px 32px;
  border-radius: 12px;
  transition: background .3s
}

/* Mobile pequeno: margem extra abaixo do CTA para não encavalhar no form */
@media(max-width:390px) {
  .hero-cta {
    margin-bottom: 24px;
    font-size: 1rem;
    padding: 14px 24px
  }

  .hero-left h1 {
    font-size: 1.875rem
  }

  .hero-left p {
    font-size: 1rem
  }
}

.hero-cta:hover {
  background: var(--primary-hover)
}

.hero-right {
  animation: fadeUp .6s ease-out .2s forwards;
  opacity: 0
}

.search-box {
  background: var(--card);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-search)
}

@media(min-width:768px) {
  .search-box {
    padding: 32px
  }
}

@media(max-width:767px) {
  .search-box {
    margin-top: -15px !important;
  }
}

.search-box h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--card-fg);
  display: flex;
  align-items: center;
  gap: 8px
}

.search-box h2 svg {
  color: var(--primary)
}

.search-box select {
  width: 100%;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: .875rem;
  color: var(--fg);
  background: var(--bg);
  outline: none;
  appearance: none;
  font-family: var(--font)
}

.search-box select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46, 89, 165, .15)
}

.search-box .btn-search {
  width: 100%;
  margin-top: 16px;
  background: var(--primary);
  color: var(--primary-fg);
  font-weight: 600;
  border-radius: 12px;
  padding: 14px;
  transition: background .3s;
  font-size: 1rem
}

.search-box .btn-search:hover {
  background: var(--primary-hover)
}

.chips-area {
  margin-top: 20px
}

.chips-area .label {
  font-size: .75rem;
  font-weight: 500;
  color: var(--muted-fg);
  text-transform: uppercase;
  letter-spacing: .05em
}

.chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 99px;
  font-size: .875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--muted);
  color: var(--fg);
  cursor: pointer;
  transition: all .2s
}

.chip:hover, .chip.active {
  background: var(--primary);
  color: var(--primary-fg);
  border-color: var(--primary)
}

/* ========== CITIES ========== */
.cities-section {
  padding: 64px 0;
  background: var(--bg)
}

@media(min-width:768px) {
  .cities-section {
    padding: 96px 0
  }
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px
}

@media(min-width:768px) {
  .cities-grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

@media(min-width:1024px) {
  .cities-grid {
    grid-template-columns: repeat(5, 1fr)
  }
}

.city-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer
}

/* Esconde o 5º card em mobile (mostra só 4) */
@media(max-width:767px) {
  .city-card:nth-child(n+5) {
    display: none
  }
}

.city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease-out
}

.city-card:hover img {
  transform: scale(1.1)
}

.city-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 23, 32, .8), rgba(20, 23, 32, .2), transparent)
}

.city-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  color: var(--dark-fg);
  z-index: 2
}

.city-card-content h3 {
  font-weight: 600;
  font-size: 1.125rem
}

.city-card-content .explore-btn {
  display: inline-block;
  margin-top: 4px;
  font-size: .75rem;
  font-weight: 500;
  background: rgba(46, 89, 165, .3);
  color: var(--primary-fg);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: 99px;
  transition: background .3s
}

.city-card:hover .explore-btn {
  background: var(--primary)
}

/* ========== PROMO BANNER ========== */
.promo-banner {
  width: 100%;
  overflow: hidden;
  position: relative
}

.promo-banner .promo-banner-desktop {
  height: 300px
}

.promo-banner .promo-banner-mobile {
  height: 400px
}

.promo-banner .promo-banner-mobile img {
  object-fit: contain;
  width: 100%;
  height: 100%
}

.promo-banner .promo-banner-desktop img {
  object-fit: cover;
  width: 100%;
  height: 100%
}

@media(min-width:992px) {
  .promo-banner .promo-banner-mobile {
    display: none
  }

  .promo-banner .promo-banner-desktop {
    display: block
  }
}

@media(max-width:991px) {
  .promo-banner .promo-banner-mobile {
    display: block
  }

  .promo-banner .promo-banner-desktop {
    display: none
  }
}

/* ========== ATTRACTION CARDS ========== */
.attractions-section {
  padding: 64px 0;
  background: var(--muted)
}

@media(min-width:768px) {
  .attractions-section {
    padding: 96px 0
  }
}

.attractions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px
}

@media(min-width:640px) {
  .attractions-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(min-width:1024px) {
  .attractions-grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

.attr-card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow .3s;
  display: flex;
  flex-direction: column
}

.attr-card:hover {
  box-shadow: var(--shadow-card-hover)
}

.attr-card .img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden
}

.attr-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease-out
}

.attr-card:hover .img-wrap img {
  transform: scale(1.1)
}

.attr-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 600;
  background: var(--primary);
  color: var(--primary-fg)
}

.attr-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.attr-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--card-fg)
}

.attr-body .city {
  font-size: .875rem;
  color: var(--muted-fg)
}

.attr-footer {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between
}

.attr-footer .price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary)
}

.btn-buy {
  background: var(--primary);
  color: var(--primary-fg);
  font-size: .875rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background .3s
}

.btn-buy:hover {
  background: var(--primary-hover)
}

/* ========== REGIONAL SECTIONS ========== */
.serra-section {
  padding: 64px 0;
  background: var(--bg)
}

.balneario-section {
  padding: 64px 0;
  background: var(--muted)
}

@media(min-width:768px) {
  .serra-section, .balneario-section {
    padding: 96px 0
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px
}

@media(min-width:640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(min-width:1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr)
  }
}

/* ========== RECENTLY VIEWED ========== */
.recent-section {
  padding: 64px 0;
  background: var(--bg)
}

@media(min-width:768px) {
  .recent-section {
    padding: 96px 0
  }
}

.recent-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px
}

@media(min-width:640px) {
  .recent-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(min-width:1024px) {
  .recent-grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

.recent-card {
  display: flex;
  gap: 12px;
  background: var(--card);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  transition: box-shadow .3s;
  cursor: pointer
}

.recent-card:hover {
  box-shadow: var(--shadow-card)
}

.recent-card img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0
}

.recent-card .info {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.recent-card .info h4 {
  font-weight: 600;
  font-size: .875rem;
  color: var(--card-fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.recent-card .info .city {
  font-size: .75rem;
  color: var(--muted-fg)
}

.recent-card .info .price {
  margin-top: 4px;
  font-size: .875rem;
  font-weight: 700;
  color: var(--primary)
}

/* ========== WHY BUY ========== */
.why-section {
  padding: 64px 0;
  background: var(--muted)
}

@media(min-width:768px) {
  .why-section {
    padding: 96px 0
  }
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px
}

@media(min-width:1024px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media(max-width:468px) {
  .why-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.why-card {
  background: var(--card);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  text-align: center;
  transition: box-shadow .3s
}

.why-card:hover {
  box-shadow: var(--shadow-card)
}

.why-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--accent-fg)
}

.why-card h3 {
  margin-top: 16px;
  font-weight: 600;
  color: var(--card-fg)
}

.why-card p {
  margin-top: 8px;
  font-size: .875rem;
  color: var(--muted-fg)
}

/* ========== FINAL CTA ========== */
.cta-section {
  padding: 96px 0;
  position: relative;
  background: var(--secondary-hover)
}

@media(min-width:768px) {
  .cta-section {
    padding: 128px 0
  }
}

.cta-section .cta-inner {
  position: relative;
  z-index: 2;
  text-align: center
}

.cta-section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--dark-fg)
}

@media(min-width:768px) {
  .cta-section h2 {
    font-size: 3rem
  }
}

.cta-section p {
  color: #FFF;
  font-size: 18px;
  margin-top: 16px;
  margin-left: auto;
  margin-right: auto
}

.cta-section .btn-cta {
  display: inline-flex;
  margin-top: 32px;
  background: var(--primary);
  color: var(--primary-fg);
  font-weight: 700;
  font-size: 1.125rem;
  padding: 16px 40px;
  border-radius: 12px;
  transition: background .3s;
  animation: pulseSoft 2s ease-in-out infinite
}

.cta-section .btn-cta:hover {
  background: var(--primary-hover)
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--primary-hover);
  color: var(--dark-fg);
  padding: 64px 0 0
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px
}

@media(min-width:640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(min-width:1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px
  }
}

/* Brand */
.footer-brand {}

.footer-logo img {
  height: 52px;
  width: auto
}

.footer-desc {
  margin-top: 16px;
  font-size: .875rem;
  line-height: 1.7;
  color: rgba(240, 240, 240, .55);
  max-width: 280px
}

/* Colunas */
.footer-col {}

.footer-col-title {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(240, 240, 240, .35);
  margin-bottom: 16px
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.footer-links a {
  font-size: .875rem;
  color: rgba(240, 240, 240, .65);
  transition: color .25s
}

.footer-links a:hover {
  color: #fff
}

/* Itens de contato (com ícone) */
.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.footer-contact-item svg {
  flex-shrink: 0;
  opacity: .7
}

/* Rodapé inferior */
.footer-bottom {
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid rgba(240, 240, 240, .08);
  text-align: center;
  font-size: .8rem;
  color: rgba(240, 240, 240, .3)
}

.logotipo {
  width: 140px
}

/* ===== MOBILE AJUSTES ===== */
@media (max-width: 639px) {

  .footer-grid {
    text-align: center;
  }

  .footer-brand {
    align-items: center;
    justify-content: center;
  }

  .footer-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-col {
    align-items: center;
  }

  .footer-links {
    padding: 0;
    align-items: center;
  }

  .footer-links a {
    text-align: center;
    white-space: nowrap; /* evita quebra feia */
  }

  .footer-contact-item {
    justify-content: center;
  }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px)
  }

  100% {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes pulseSoft {
  0%, 100% {
    opacity: 1
  }

  50% {
    opacity: .8
  }
}
