/* ==========================================================
   ROTAS CERTAS
   EXPLORAR TERRITÓRIO
========================================================== */



/* ==========================================================
   SEÇÃO PRINCIPAL
========================================================== */


#explorar {

  position: relative;

  overflow: hidden;

  padding: 110px 0;

  background:
    radial-gradient(
      circle at top left,
      rgba(110, 145, 86, .14),
      transparent 34%
    ),

    radial-gradient(
      circle at bottom right,
      rgba(194, 171, 113, .12),
      transparent 30%
    ),

    linear-gradient(
      180deg,
      #fbfaf6 0%,
      #f6f3ec 100%
    );

}


#explorar::before {

  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  opacity: .35;

  background-image:

    linear-gradient(
      rgba(255,255,255,.12) 1px,
      transparent 1px
    ),

    linear-gradient(
      90deg,
      rgba(255,255,255,.08) 1px,
      transparent 1px
    );

  background-size:
    80px 80px;

}



/* ==========================================================
   CABEÇALHO
========================================================== */


.explorar-header {

  position: relative;

  z-index: 2;

  max-width: 860px;

  margin: 0 auto 60px;

  text-align: center;

}


.section-kicker {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  margin-bottom: 18px;

  padding: 8px 18px;

  border-radius: 999px;

  background: rgba(85,122,75,.10);

  color: #557a4b;

  font-size: .82rem;

  font-weight: 700;

  letter-spacing: 2px;

  text-transform: uppercase;

}


.section-kicker::before {

  content: "";

  width: 8px;

  height: 8px;

  border-radius: 50%;

  background: #557a4b;

}


.explorar-header h2 {

  margin: 0 0 22px;

  color: #243228;

  font-size: clamp(2.3rem, 4vw, 3.4rem);

  line-height: 1.12;

  letter-spacing: -.03em;

}


.explorar-header p {

  max-width: 760px;

  margin: 0 auto;

  color: #667162;

  font-size: 1.08rem;

  line-height: 1.8;

}



/* ==========================================================
   BARRA DE EXPLORAÇÃO
========================================================== */


.explorar-filtros {

  position: relative;

  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 18px;

  margin-bottom: 65px;

  padding: 24px;

  border-radius: 28px;

  background:

    linear-gradient(

      135deg,

      rgba(255,255,255,.92),

      rgba(250,249,245,.78)

    );

  backdrop-filter: blur(18px);

  border: 1px solid rgba(255,255,255,.65);

  box-shadow:

    0 20px 55px rgba(0,0,0,.08);

}


.explorar-filtros::after {

  content: "";

  position: absolute;

  inset: 0;

  border-radius: inherit;

  pointer-events: none;

  box-shadow:

    inset 0 1px 0 rgba(255,255,255,.60);

}



/* ==========================================================
   BUSCA
========================================================== */


.busca {

  position: relative;

  flex: 2;

  min-width: 340px;

}


.busca::before {

  content: "";

  position: absolute;

  left: 22px;

  top: 50%;

  transform: translateY(-50%);

  width: 18px;

  height: 18px;

  border-radius: 50%;

  border: 2px solid #6c7b6b;

  opacity: .55;

}


.busca::after {

  content: "";

  position: absolute;

  left: 37px;

  top: calc(50% + 8px);

  width: 9px;

  height: 2px;

  background: #6c7b6b;

  transform: rotate(45deg);

  opacity: .55;

}


.busca input {

  width: 100%;

  height: 60px;

  padding: 0 22px 0 58px;

  border: none;

  outline: none;

  border-radius: 18px;

  background: #f6f6f2;

  color: #314131;

  font-size: .97rem;

  transition:

    background .35s ease,

    transform .35s ease,

    box-shadow .35s ease;

}


.busca input::placeholder {

  color: #97a093;

}


.busca input:hover {

  background: #ffffff;

  transform: translateY(-2px);

}


.busca input:focus {

  background: #ffffff;

  box-shadow:

    0 0 0 4px rgba(85,122,75,.14);

}



/* ==========================================================
   FILTROS
========================================================== */


.explorar-filtros select {

  min-width: 220px;

  height: 60px;

  padding: 0 50px 0 20px;

  border: none;

  outline: none;

  border-radius: 18px;

  background-color: #f6f6f2;

  color: #344334;

  font-size: .95rem;

  font-weight: 500;

  cursor: pointer;

  appearance: none;

  transition:

    background .35s ease,

    transform .35s ease,

    box-shadow .35s ease;

}


.explorar-filtros select:hover {

  background: #ffffff;

  transform: translateY(-2px);

}


.explorar-filtros select:focus {

  background: #ffffff;

  box-shadow:

    0 0 0 4px rgba(85,122,75,.14);

}



/* seta */


.explorar-filtros select {

  background-image:

    linear-gradient(
      45deg,
      transparent 50%,
      #61735e 50%
    ),

    linear-gradient(
      135deg,
      #61735e 50%,
      transparent 50%
    );

  background-position:

    calc(100% - 24px) 27px,

    calc(100% - 18px) 27px;

  background-size:

    6px 6px,

    6px 6px;

  background-repeat: no-repeat;

}

/* ==========================================================
   GRID DE ATRATIVOS
========================================================== */


.atrativos-grid {

  display: grid;

  grid-template-columns:

    repeat(
      auto-fit,
      minmax(340px, 1fr)
    );

  gap: 36px;

  align-items: stretch;

}



/* ==========================================================
   CARD
========================================================== */


.atrativo-card {

  position: relative;

  display: flex;

  flex-direction: column;

  overflow: hidden;

  min-height: 560px;

  background: #ffffff;

  border: 1px solid rgba(0,0,0,.05);

  border-radius: 32px;

  box-shadow:

    0 16px 45px rgba(0,0,0,.08);

  transition:

    transform .45s ease,

    box-shadow .45s ease;

}


.atrativo-card::before {

  content: "";

  position: absolute;

  inset: 0;

  border-radius: inherit;

  pointer-events: none;

  box-shadow:

    inset 0 1px 0 rgba(255,255,255,.65);

}


.atrativo-card:hover {

  transform:

    translateY(-12px);

  box-shadow:

    0 35px 80px rgba(0,0,0,.16);

}



/* ==========================================================
   IMAGEM
========================================================== */


.atrativo-imagem {

  position: relative;

  height: 260px;

  overflow: hidden;

}


.atrativo-imagem img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition:

    transform .8s ease,

    filter .8s ease;

}


.atrativo-card:hover
.atrativo-imagem img {

  transform:

    scale(1.10);

  filter:

    saturate(1.08)

    contrast(1.04);

}


/* escurecimento */


.atrativo-imagem::after {

  content: "";

  position: absolute;

  inset: 0;

  background:

    linear-gradient(

      to top,

      rgba(0,0,0,.55),

      rgba(0,0,0,.10),

      transparent 70%

    );

}


/* corte inferior */


.atrativo-imagem::before {

  content: "";

  position: absolute;

  left: 0;

  right: 0;

  bottom: -1px;

  height: 44px;

  background: #ffffff;

  clip-path:

    polygon(

      0 100%,

      100% 30%,

      100% 100%

    );

  z-index: 2;

}



/* ==========================================================
   CATEGORIA
========================================================== */


.categoria {

  position: absolute;

  top: 18px;

  left: 18px;

  z-index: 5;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 9px 16px;

  border-radius: 999px;

  background:

    rgba(37,56,37,.88);

  backdrop-filter:

    blur(12px);

  color: white;

  font-size: .72rem;

  font-weight: 700;

  letter-spacing: 1px;

  text-transform: uppercase;

}



/* ==========================================================
   CONTEÚDO
========================================================== */


.atrativo-content {

  display: flex;

  flex-direction: column;

  flex: 1;

  padding: 28px;

}


.atrativo-content h3 {

  margin: 0 0 16px;

  color: #253326;

  font-size: 1.55rem;

  font-weight: 700;

  line-height: 1.2;

  letter-spacing: -.02em;

}


.resumo {

  display: -webkit-box;

  display: box;

  -webkit-box-orient: vertical;

  line-clamp: 3;

  -webkit-line-clamp: 3;

  overflow: hidden;

}



/* ==========================================================
   INFORMAÇÕES
========================================================== */


.atrativo-infos {

  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-bottom: 24px;

}


.info-item {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 9px 14px;

  border-radius: 999px;

  background: #eef5eb;

  color: #355338;

  font-size: .80rem;

  font-weight: 600;

  transition:

    transform .3s ease,

    background .3s ease;

}


.info-item:hover {

  transform:

    translateY(-2px);

  background:

    #e6f0e1;

}


.icon {

  width: 17px;

  height: 17px;

  fill: currentColor;

  flex-shrink: 0;

}

/* ==========================================================
   EXPERIÊNCIAS
========================================================== */


.experiencias {

  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin: 0 0 28px;

  padding: 0;

  list-style: none;

}


.experiencias li {

  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 9px 14px;

  border-radius: 999px;

  background: #f5f8f2;

  color: #3b523d;

  font-size: .82rem;

  font-weight: 600;

  line-height: 1;

  transition:

    transform .30s ease,

    background .30s ease,

    box-shadow .30s ease;

}


.experiencias li:hover {

  transform: translateY(-2px);

  background: #edf4e8;

  box-shadow:

    0 10px 20px rgba(0,0,0,.08);

}


/* Ícone carregado pelo JS */


.experiencias li img {

  width: 22px;

  height: 22px;

  object-fit: contain;

  flex-shrink: 0;

}



/* ==========================================================
   BOTÃO
========================================================== */


.btn-explorar {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  align-self: flex-start;

  gap: 10px;

  margin-top: auto;

  min-width: 190px;

  height: 50px;

  padding: 0 28px;

  border-radius: 999px;

  background:

    linear-gradient(

      135deg,

      #557a4b,

      #40653a

    );

  color: white;

  text-decoration: none;

  font-size: .90rem;

  font-weight: 700;

  letter-spacing: .02em;

  transition:

    transform .35s ease,

    box-shadow .35s ease,

    background .35s ease;

}


.btn-explorar::after {

  content: "→";

  font-size: 1rem;

  transition:

    transform .35s ease;

}


.btn-explorar:hover {

  transform:

    translateY(-3px);

  box-shadow:

    0 15px 35px rgba(64,101,58,.28);

}


.btn-explorar:hover::after {

  transform:

    translateX(5px);

}



/* ==========================================================
   FOOTER
========================================================== */


.explorar-footer {

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 22px;

  margin-top: 70px;

}


.contador-atrativos {

  color: #6d756d;

  font-size: .96rem;

  font-weight: 500;

  letter-spacing: .01em;

}



/* ==========================================================
   BOTÃO MOSTRAR MAIS
========================================================== */


.btn-mostrar-mais {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  min-width: 220px;

  height: 52px;

  padding: 0 34px;

  border: none;

  border-radius: 999px;

  cursor: pointer;

  background:

    linear-gradient(

      135deg,

      #557a4b,

      #40653a

    );

  color: white;

  font-size: .92rem;

  font-weight: 700;

  letter-spacing: .02em;

  transition:

    transform .35s ease,

    box-shadow .35s ease;

}


.btn-mostrar-mais::after {

  content: "+";

  font-size: 1.2rem;

  font-weight: 400;

}


.btn-mostrar-mais:hover {

  transform:

    translateY(-3px);

  box-shadow:

    0 18px 35px rgba(64,101,58,.30);

}



/* ==========================================================
   ESTADO VAZIO
========================================================== */


.atrativos-grid:empty::before {

  content: "Nenhum atrativo encontrado.";

  display: block;

  width: 100%;

  padding: 70px 30px;

  border-radius: 24px;

  background: white;

  text-align: center;

  color: #6d756d;

  font-size: 1rem;

  box-shadow:

    0 15px 35px rgba(0,0,0,.08);

}



/* ==========================================================
   ERRO
========================================================== */


.erro-carregamento {

  grid-column: 1 / -1;

  padding: 70px 30px;

  border-radius: 26px;

  background: white;

  text-align: center;

  color: #9d473c;

  box-shadow:

    0 15px 35px rgba(0,0,0,.08);

}


.erro-carregamento h2 {

  margin-bottom: 15px;

  color: #7c372e;

}


.erro-carregamento p {

  margin: 0;

  color: #777;

}

/* ==========================================================
   ANIMAÇÕES
========================================================== */


@keyframes cardFadeUp {

  from {

    opacity: 0;

    transform:

      translateY(35px);

  }

  to {

    opacity: 1;

    transform:

      translateY(0);

  }

}


.atrativo-card {

  animation:

    cardFadeUp .7s ease both;

}


/* efeito cascata */

.atrativo-card:nth-child(2) {

  animation-delay: .05s;

}

.atrativo-card:nth-child(3) {

  animation-delay: .10s;

}

.atrativo-card:nth-child(4) {

  animation-delay: .15s;

}

.atrativo-card:nth-child(5) {

  animation-delay: .20s;

}

.atrativo-card:nth-child(6) {

  animation-delay: .25s;

}

.atrativo-card:nth-child(7) {

  animation-delay: .30s;

}

.atrativo-card:nth-child(8) {

  animation-delay: .35s;

}

.atrativo-card:nth-child(9) {

  animation-delay: .40s;

}



/* ==========================================================
   ESTADOS DE FOCO
========================================================== */


.btn-explorar:focus-visible,
.btn-mostrar-mais:focus-visible,
.busca input:focus-visible,
.explorar-filtros select:focus-visible {

  outline: none;

  box-shadow:

    0 0 0 4px rgba(85,122,75,.18);

}



/* ==========================================================
   TRANSIÇÕES
========================================================== */


.atrativo-card,
.btn-explorar,
.btn-mostrar-mais,
.info-item,
.experiencias li,
.busca input,
.explorar-filtros select {

  will-change:

    transform;

}



/* ==========================================================
   SCROLL SUAVE
========================================================== */


html {

  scroll-behavior: smooth;

}



/* ==========================================================
   RESPONSIVO
========================================================== */


@media (max-width: 1100px) {

  .atrativos-grid {

    grid-template-columns:

      repeat(

        auto-fit,

        minmax(320px,1fr)

      );

  }

}


@media (max-width: 900px) {

  #explorar {

    padding: 90px 0;

  }

  .explorar-header {

    margin-bottom: 45px;

  }

  .explorar-filtros {

    padding: 20px;

  }

}


@media (max-width:768px) {

  #explorar {

    padding: 80px 0;

  }

  .explorar-header {

    text-align: left;

  }

  .explorar-header p {

    margin: 0;

  }

  .explorar-filtros {

    flex-direction: column;

    align-items: stretch;

    gap: 16px;

    padding: 18px;

    border-radius: 22px;

  }

  .busca {

    min-width: 100%;

  }

  .explorar-filtros select {

    width: 100%;

    min-width: 100%;

  }

  .atrativos-grid {

    grid-template-columns: 1fr;

  }

  .atrativo-card {

    min-height: auto;

  }

  .atrativo-imagem {

    height: 235px;

  }

  .atrativo-content {

    padding: 24px;

  }

  .atrativo-content h3 {

    font-size: 1.35rem;

  }

  .btn-explorar {

    width: 100%;

    align-self: stretch;

  }

  .btn-mostrar-mais {

    width: 100%;

    max-width: 320px;

  }

}


@media (max-width:520px) {

  #explorar {

    padding: 70px 0;

  }

  .section-kicker {

    font-size: .74rem;

    letter-spacing: 1.5px;

  }

  .explorar-header h2 {

    font-size: 2rem;

  }

  .explorar-header p {

    font-size: .95rem;

    line-height: 1.7;

  }

  .busca input,
  .explorar-filtros select {

    height: 56px;

    font-size: .92rem;

  }

  .atrativo-imagem {

    height: 210px;

  }

  .atrativo-content {

    padding: 22px;

  }

  .experiencias {

    gap: 8px;

  }

  .experiencias li {

    font-size: .78rem;

    padding: 8px 12px;

  }

  .experiencias li img {

    width: 20px;

    height: 20px;

  }

}



/* ==========================================================
   ACESSIBILIDADE
========================================================== */


@media (prefers-reduced-motion: reduce) {

  * {

    animation: none !important;

    transition: none !important;

    scroll-behavior: auto !important;

  }

}