/* ------ WIDGET: ÁREAS DE ESTABELECIMENTOS ----- */


/* ------ BASE DAS SECTIONS ----- */

.area-estabelecimentos-section {
  position: relative;
  padding: 120px 0;
  color: #181818;
  overflow: hidden;
}

.area-estabelecimentos-white {
  background-color: #ffffff;
}

.area-estabelecimentos-ice {
  background-color: #f5f5f2;
}

.area-estabelecimentos-container {
  display: grid;
  grid-template-columns: minmax(250px, 0.24fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
  padding-left: 42px;
  padding-right: 42px;
}


/* ------ TÍTULO DA ÁREA ----- */

.area-estabelecimentos-title-wrap {
  max-width: 340px;
}

.area-estabelecimentos-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: rgba(24, 24, 24, 0.54);
  font-family: var(--font-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.area-estabelecimentos-title {
  margin: 0;
  color: #181818;
  font-family: var(--font-secondary);
  font-size: clamp(2.85rem, 5vw, 5.45rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.area-estabelecimentos-text {
  max-width: 300px;
  margin: 22px 0 0;
  color: rgba(24, 24, 24, 0.62);
  font-family: var(--font-secondary);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.55;
}


/* ------ SLIDER ----- */

.area-estabelecimentos-slider {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 18px;
}

.area-estabelecimentos-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.area-estabelecimentos-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  will-change: transform;
  transform: translateX(0);
}

.area-estabelecimentos-track.is-moving {
  transition: transform 0.72s cubic-bezier(0.76, 0, 0.24, 1);
}

.area-estabelecimentos-slider.is-static {
  grid-template-columns: minmax(0, 1fr);
}

.area-estabelecimentos-slider.is-static .area-estabelecimentos-track {
  justify-content: center;
  will-change: auto;
}

.area-estabelecimentos-slider.is-static .area-estabelecimentos-arrow {
  display: none;
}

.area-estabelecimentos-icon {
  color: #181818;
}


/* ------ CATEGORIA EM BREVE ----- */

.area-estabelecimentos-em-breve {
  position: relative;
  isolation: isolate;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.area-estabelecimentos-em-breve::before,
.area-estabelecimentos-em-breve::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(170px, 24vw, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(58px);
  pointer-events: none;
}

.area-estabelecimentos-em-breve::before {
  left: 5%;
  top: 46%;
  background-color: rgba(101, 196, 207, 0.13);
  animation: areaEmBreveLuzEsquerda 14s ease-in-out infinite alternate;
}

.area-estabelecimentos-em-breve::after {
  right: 6%;
  top: 52%;
  background-color: rgba(37, 61, 77, 0.08);
  animation: areaEmBreveLuzDireita 17s ease-in-out infinite alternate;
}

.area-estabelecimentos-em-breve span {
  position: relative;
  z-index: 1;
  color: rgba(24, 24, 24, 0.5);
  font-family: var(--font-secondary);
  font-size: clamp(0.775rem, 1.5vw, 1.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes areaEmBreveLuzEsquerda {
  from {
    transform: translate3d(-16%, -55%, 0) scale(0.9);
  }

  to {
    transform: translate3d(30%, -42%, 0) scale(1.08);
  }
}

@keyframes areaEmBreveLuzDireita {
  from {
    transform: translate3d(12%, -42%, 0) scale(1.05);
  }

  to {
    transform: translate3d(-28%, -58%, 0) scale(0.92);
  }
}

@media (prefers-reduced-motion: reduce) {
  .area-estabelecimentos-em-breve::before,
  .area-estabelecimentos-em-breve::after {
    animation: none;
  }
}


/* ------ SETAS LATERAIS ----- */

.area-estabelecimentos-arrow {
  position: relative;
  z-index: 5;
  width: 34px;
  height: 58px;
  border: 0;
  padding: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(24, 24, 24, 0.72);
  background-color: transparent;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.area-estabelecimentos-arrow:hover {
  color: #181818;
}

.area-estabelecimentos-arrow-prev:hover {
  transform: translateX(-3px);
}

.area-estabelecimentos-arrow-next:hover {
  transform: translateX(3px);
}

.area-estabelecimentos-arrow .material-symbols-rounded {
  pointer-events: none;
  font-size: 2.35rem;
  font-weight: 300;
  line-height: 1;
}


/* ------ CARD EMPRESA ----- */

.area-estabelecimentos-card {
  width: calc((100% - 90px) / 6);
  min-width: calc((100% - 90px) / 6);
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  opacity: 1;
  transform: translateX(0);
}

.area-estabelecimentos-card:hover .area-estabelecimentos-figure img {
  transform: scale(1.045);
}

.area-estabelecimentos-figure {
  width: 100%;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  background-color: rgba(24, 24, 24, 0.06);
}

.area-estabelecimentos-figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition:
    transform 0.55s ease,
    filter 0.55s ease;
}

.area-estabelecimentos-card-info {
  padding-top: 14px;
}

.area-estabelecimentos-card-info h3 {
  margin: 0;
  color: #181818;
  font-family: var(--font-secondary);
  font-size: clamp(1rem, 1.18vw, 1.32rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.area-estabelecimentos-card-info span {
  display: block;
  margin-top: 6px;
  color: rgba(24, 24, 24, 0.58);
  font-family: var(--font-secondary);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.2;
}


/* ------ RESPONSIVO / TABLET ----- */

@media (max-width: 1199.98px) {
  .area-estabelecimentos-card {
    width: calc((100% - 72px) / 5);
    min-width: calc((100% - 72px) / 5);
  }
}

@media (max-width: 991.98px) {
  .area-estabelecimentos-section {
    padding: 90px 0;
  }

  .area-estabelecimentos-container {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .area-estabelecimentos-title-wrap {
    max-width: 620px;
  }

  .area-estabelecimentos-text {
    max-width: 520px;
  }

  .area-estabelecimentos-slider {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 14px;
  }

  .area-estabelecimentos-arrow {
    width: 30px;
    height: 52px;
  }

  .area-estabelecimentos-arrow .material-symbols-rounded {
    font-size: 2rem;
  }

  .area-estabelecimentos-card {
    width: calc((100% - 54px) / 4);
    min-width: calc((100% - 54px) / 4);
  }

  .area-estabelecimentos-arrow {
    width: 44px;
    height: 44px;
  }
}


/* ------ RESPONSIVO / MOBILE ----- */

@media (max-width: 767.98px) {
  .area-estabelecimentos-section {
    padding: 72px 0;
  }

  .area-estabelecimentos-container {
    padding-left: 16px;
    padding-right: 16px;
    gap: 34px;
  }

  	.area-estabelecimentos-title {
	  font-size: clamp(2.55rem, 13vw, 4.35rem);
	  letter-spacing: 0;
	}

  .area-estabelecimentos-text {
    margin-top: 16px;
    font-size: 0.94rem;
  }

  .area-estabelecimentos-track {
    gap: 14px;
  }

  .area-estabelecimentos-card {
    width: calc((100% - 14px) / 2);
    min-width: calc((100% - 14px) / 2);
  }

  .area-estabelecimentos-slider {
    grid-template-columns: 26px minmax(0, 1fr) 26px;
    gap: 10px;
  }

  .area-estabelecimentos-arrow {
    width: 26px;
    height: 48px;
  }

  .area-estabelecimentos-arrow .material-symbols-rounded {
    font-size: 1.85rem;
  }

  .area-estabelecimentos-card-info {
    padding-top: 12px;
  }

  .area-estabelecimentos-card-info h3 {
    font-size: clamp(1rem, 5vw, 1.25rem);
    font-weight: 600;
  }

  .area-estabelecimentos-card-info span {
    font-size: 0.82rem;
    font-weight: 400;
  }

  .area-estabelecimentos-em-breve {
    min-height: 190px;
  }
}
