@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

/* ===== VARIÁVEIS ===== */
:root {
  --color-primary: #ac3bcf;
  --color-secondary: #f2f2f2;
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
p {
  margin: 0px;
}
a {
  text-decoration: none;
  color: #000;
}
/* ===== BASE ===== */
body {
  font-family: "Montserrat", sans-serif;
}
/* ==== slider arrows ====*/
.slick-next {
  background-image: url(/subhomes/direto/landing/2025/antecipe-bf/refactor/img/next.svg) !important;
  background-repeat: no-repeat;
  background-size: contain;
  width: 29px;
  height: 49px;
  right: -25px;
  z-index: 999;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  outline: none;
  cursor: pointer;
}
.slick-next::before,
.slick-prev::before {
  content: none;
}
.slick-prev {
  background-image: url(/subhomes/direto/landing/2025/antecipe-bf/refactor/img/prev.svg) !important;
  background-repeat: no-repeat;
  background-size: contain;
  width: 29px;
  height: 49px;
  left: -42px;
  z-index: 999;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  outline: none;
  cursor: pointer;
}
a {
  text-decoration: none;
}
.title {
  text-transform: uppercase;
  color: var(--color-primary);
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 20px;
}
.cards__btn {
  color: #ffff;
  background-color: var(--color-primary);
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  padding: 10px 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(172, 59, 207, 0.2);
}

.cards__btn:hover {
  transform: translateY(-2px) scale(1.05);
  background-color: var(--color-primary);
  box-shadow: 0 8px 25px rgba(172, 59, 207, 0.4);
  color: #fff;
}

.cards__btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.cards__btn:hover::before {
  left: 100%;
}
/* ===== BANNER ===== */
.banner-wrapper {
  width: 100%;
}
.banner-wrapper img {
  width: 100%;
  height: auto;
}

/* ===== TEXT CONTENT ===== */
.text-wrapper {
  text-align: center;
  font-size: 20px;
  width: min(70%, 90vw);
  margin: 16px auto;
}

.text__highlight {
  font-weight: 700;
  margin: 18px auto 20px;
}

.text__highlight-info {
  margin: 16px auto;
}

.text__coupon-label {
  margin: 20px auto 16px;
}
/* ===== ANIMAÇÕES E EFEITOS ===== */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(172, 59, 207, 1);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(243, 145, 29, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(243, 145, 29, 0);
  }
}

.text__coupon-code {
  background-color: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 700;
  padding: 12px;
  border-radius: 8px;
  font-size: 22px;
  border: var(--color-primary) dashed 3px;
  width: 200px;
  margin: 10px auto;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.text__coupon-code:hover {
  animation: pulse 2s infinite;
  transform: scale(1.05);
  background-color: rgba(172, 59, 207, 0.1);
}

.text__coupon-code::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(172, 59, 207, 0.3),
    transparent
  );
  transition: left 0.6s;
}

.text__coupon-code:hover::before {
  left: 100%;
}

/* ===== BAR (faixas) ===== */
.bar {
  width: 100%;
}
.last-bar {
  position: relative;
  top: 60px;
}
.bar img {
  width: 100%;
}
/* ==== CATEGORY SELECTOR BUTTONS ==== */
.category-selector--mobile {
  display: none;
}
.selector__buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 58px auto 40px;
  width: 78%;
}
.btn-select {
  color: var(--color-primary);
  background-color: transparent;
  border: var(--color-primary) solid 1px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 18px;
  padding: 10px;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  width: 200px;
  height: 50px;
  cursor: pointer;
  white-space: unset;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-select:hover {
  background-color: transparent;
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(172, 59, 207, 0.3);
}

.btn-select::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s;
}

.btn-select:hover::before {
  left: 100%;
}

.btn-select.ativo {
  background-color: var(--color-primary);
  color: #fff;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  column-gap: 6px;
  margin: 18px auto;
  width: min(80%, 1200px);
}

/* ===== PRODUCT CARDS ===== */
.product-grid__card-1,
.product-grid__card-2,
.product-grid__card-3,
.product-grid__card-4,
.category-grid__card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-grid__card-1:hover,
.product-grid__card-2:hover,
.product-grid__card-3:hover,
.product-grid__card-4:hover {
  transform: translateY(-8px) scale(1.02);
}

.product-grid__card-1::before,
.product-grid__card-2::before,
.product-grid__card-3::before,
.product-grid__card-4::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.product-grid__card-1:hover::before,
.product-grid__card-2:hover::before,
.product-grid__card-3:hover::before,
.product-grid__card-4:hover::before {
  opacity: 1;
}

.product-grid__card-1 {
  grid-area: 1 / 1 / 3 / 2;
}
.product-grid__card-2 {
  grid-area: 1 / 2 / 2 / 3;
}
.product-grid__card-3 {
  grid-area: 2 / 2 / 3 / 3;
}
.product-grid__card-4 {
  grid-area: 3 / 1 / 4 / 3;
}

.product-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== PRODUCT INFO ===== */
.product-info {
  position: absolute;
  left: 44px;
  top: 39px;
  color: #000000;
}
.product-grid__card-1 .product-info {
  left: 70px;
}
.product-grid__card-4 .product-info {
  left: 122px;
  top: 39px;
}
.product-card-text__title {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 20px;
}
.product-info__description {
  font-size: 16px;
}
.product-info .prices {
  margin-top: 12px;
  margin-bottom: 18px;
}
.product-info .prices .price-to {
  font-size: 24px;
}

.hide {
  display: none;
}

/* fim grid */
.product-card__text {
  text-align: left;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
}
.product-card__text .card-text__title {
  text-transform: uppercase;
  color: #000;
  margin-bottom: 16px;
}

.product-card__text .prices .price-from {
  color: #9b9b9b;
  font-size: 12px;
}
.product-card__text .prices .price-to {
  font-size: 20px;
}
.product-card__text .cards__btn {
  place-self: center;
}

/* ==== RELEASES SECTION ==== */
.releases-section {
  text-align: center;
  margin: 20px auto;
}

.releases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 14px;
  place-items: center;
  width: 80%;
  margin: 0 auto;
}
.releases-grid .release {
  width: 570px;
  height: 279px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.release:hover {
  transform: translateY(-8px) scale(1.01);
  cursor: pointer;
}

.release img {
  width: 100%;
  height: 100%;
}
.release .card__text {
  position: absolute;
  top: 104px;
  left: 38px;
  text-align: left;
}
.release .card__text .prices {
  margin-bottom: 20px;
}
.release .card__text .prices .price-from {
  font-size: 15px;
  margin-bottom: 0px;
}
.release .card__text .prices .price-to {
  font-size: 24px;
}

/* ==== CATEGORY SLIDER (FOTOPRESENTES) */
.category-container {
  width: min(80%, 1200px);
  margin: 20px auto 40px;
  text-align: center;
  padding: 20px 0; /* Espaçamento interno */
  overflow: visible; /* Para mostrar botões do slider */
}
.category__slider {
  display: flex;
  width: 100%;
  position: relative;
  height: 600px;
}
.product-card {
  max-width: 251px;
  flex-shrink: 0;
  gap: 20px;
  height: 462px;
  margin-right: 40px;
  box-shadow: 5px 15px 10px #00000017;
  border-bottom-left-radius: 17px;
  border-bottom-right-radius: 17px;
}
.product-card img {
  width: 100%;
}
.product-card .product-card__text .prices {
  margin-bottom: 13px;
}
.card-text__title {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 800;
}
/* ==== DECORATION ====*/
.category__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  height: 600px;
  place-items: center;
  margin: 20px auto;
  row-gap: 14px;
}
.category-grid__card {
  width: 562px;
  text-align: left;
}
.category-grid__card:hover {
  transform: translateY(-8px) scale(1.01);
}
.shadow {
  background-color: #f2f2f2;
  box-shadow: 0px 3px 6px #00000029;
  border-radius: 11px;
  height: 314px;
  max-width: 540px;
  margin: 0 auto;
}
.category-grid__card img {
  width: 100%;
}
.category-grid__card .card__text {
  position: absolute;
}
.category__grid .card-text__title {
  font-size: 20px;
  min-height: unset;
  margin-bottom: 6px;
}
.category-grid__card .prices {
  margin-bottom: 20px;
}
.card-1 .card__text,
.card-2 .card__text {
  bottom: 54px;
  left: 24px;
}

.card-3 .card__text,
.card-4 .card__text {
  top: 139px;
  left: 38px;
}

.category-grid__card .prices .price-from {
  font-size: 15px;
  margin-bottom: 0px;
}
.category-grid__card .prices .price-to {
  font-size: 22px;
}
/* ==== CATEGORY-ROW (fotos) */
.category__row {
  display: flex;
  place-content: space-around;
  position: relative;
}
.category__row .row-cards {
  max-width: 251px;
  height: 462px;
  box-shadow: 5px 15px 10px #00000017;
  border-bottom-left-radius: 17px;
  border-bottom-right-radius: 17px;
}
.category__row .row-cards img {
  width: 100%;
}
/* ==== INFO SECTION ====*/
.info-section {
  color: #ffff;
  background-image: url(/subhomes/direto/landing/2025/antecipe-bf/refactor/img/bg-roxo.png);
  text-align: center;
  background-size: cover;
  padding-bottom: 90px;
  padding-top: 100px;
}
.bar.fix-position {
  position: relative;
  top: -37px;
}
.info-section .info-section__title {
  color: #ffff;
  margin: 50px auto;
  font-size: 24px;
  font-weight: 600;
}
.info-section .info-section__content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  transition: all 0.3s;
  grid-row-gap: 0px;
  width: 70%;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-section__content .info::before {
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.info-section__content .info img {
  transition: all 0.3s ease;
}

.info-section__content .info:hover img {
  transform: scale(1.1) rotate(5deg);
}
.info-section__content .info {
  max-width: 293px;
  text-align: center;
  display: flex;
  flex-direction: column;
  place-items: center;
  gap: 10px;
}
.info img {
  width: 78px;
  height: 78px;
}

.info-text {
  height: 160px;
  width: fit-content;
  padding: 10px;
  max-width: 253px;
}
.info-title {
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  max-width: 229px;
  margin: 16px auto 0px;
  height: fit-content;
  line-height: 1.2;
}
.info-description {
  font-size: 15px;
  height: fit-content;
  line-height: 1.3;
  margin: 10px 0;
}
.info-section__content .info .cards__btn {
  width: 204px;
}

/* ==== LEGAL DISCLAIMER ==== */
.legal-disclaimer {
  padding: 9px 18px;
  font-size: 14px;
  line-height: 20px;
}
/* ===== RESPONSIVE ===== */
/* lg */
@media (min-width: 1530px) {
  .text__highlight {
    font-size: 30px;
  }
  .category__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 3px;
    grid-row-gap: 11px;
    width: fit-content;
    height: fit-content;
  }
  /* ==== novidades e lancamentos ==== */
  .releases-grid {
    width: 1200px;
    grid-column-gap: 0px;
    grid-row-gap: 14px;
  }
  .releases-grid .release {
    width: 590px;
  }
  .release img {
    width: 100%;
    height: 100%;
  }
  .release .card__text {
    position: absolute;
    top: 104px;
  }
  .release .card__text .prices {
    margin-bottom: 20px;
  }
  .release .card__text .prices .price-from {
    font-size: 15px;
    margin-bottom: 0px;
  }
  .release .card__text .prices .price-to {
    font-size: 24px;
  }
  /* ==== info ==== */
  .last-bar {
    top: 60px;
  }
}
/* xl */
@media (min-width: 1900px) {
  .text__highlight {
    font-size: 30px;
  }
  .text-wrapper p {
    margin-bottom: 10px;
  }
  .text__coupon-code {
    font-size: 28px;
    width: 300px;
  }
  .selector__buttons {
    width: 62%;
  }
  .last-bar {
    position: relative;
    top: 71px;
  }
}
/* mobile */

@media (max-width: 768px) {
  .cards__btn {
    display: none;
  }
  .slick-prev {
    left: -17px;
    width: 10px;
    height: 17px;
    background-size: cover !important;
    z-index: 999 !important;
  }
  .slick-next {
    width: 10px;
    height: 17px;
    background-size: cover !important;
    right: -14px;
    z-index: 999 !important;
  }

  /* Estilos específicos para sliders móveis */
  .slider-mobile .slick-prev {
    left: -10px;
    z-index: 999;
  }
  .slider-mobile .slick-next {
    right: -10px;
    z-index: 999;
  }
  .title {
    font-size: 24px;
  }
  /* ==== bar bg mobile ==== */
  .bar {
    background-image: url(/subhomes/direto/landing/2025/antecipe-bf/refactor/img/faixa/faixa-15-mb.svg);
    background-size: 229%;
    width: 100%;
    height: 98px;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
  }
  /* esconde elementos no mobile */
  .hide-mobile {
    display: none;
  }
  .text-wrapper {
    width: 80%;
  }
  .btn-select {
    background-color: var(--color-primary);
    color: #fff;
  }

  .category-selector--desk {
    display: none;
  }
  .category-selector--mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 90%;
    margin: 0 auto;
    overflow: visible;
  }
  .selector__buttons {
    margin: 0;
    justify-content: center;
    width: 100%;
  }

  .product-grid {
    display: inline-block;
    margin-bottom: 0px;
    width: 100%;
  }
  .product-grid__card {
    width: 320px;
    height: 450px;
    margin: 30px auto;
  }
  .product-info {
    margin: -470px 0 0 0px;
    position: relative;
    left: 25px;
  }
  /* deco */
  .product-card {
    height: 400px;
  }
  .product-card-text__title {
    font-size: 18px;
    color: #000;
  }
  .product-card .product-card__text .prices {
    margin-top: 18px;
  }

  .slider-mobile {
    margin-bottom: 30px;
    width: 98%;
    position: relative;
    overflow: visible;
  }
  /* ==== LANCAMENTOS E NOVIDADES ==== */
  .releases-section {
    width: 100%;
  }
  .releases-section .title {
    font-size: 20px;
  }

  .releases-grid {
    display: flex;
  }
  .releases-grid .release {
    /* width: 332px !important; */
    height: 100%;
    position: relative;
  }
  
  .release:hover {
    transform: unset;
  }
  .release img {
    width: 100%;
    height: 405px;
  }
  .release .card__text {
    position: absolute;
    top: 284px;
  }
  .release .card__text .prices {
    margin-bottom: 20px;
  }
  .release .card__text .prices .price-from {
    font-size: 15px;
    margin-bottom: 0px;
  }
  .release .card__text .prices .price-to {
    font-size: 24px;
  }
  /* ==== fotopresentes ==== */
  .category__slider {
    height: 424px;
    width: 86%;
    margin: 0 auto;
  }
  /* ==== CATEGORY CONTAINER (decoracao) ==== */
  .category-container {
    width: 100%;
  }
  .category__grid {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
    height: fit-content;
  }
  .category-grid__card {
    width: 100%;
  }
  .shadow {
    height: 189px;
    width: 97%;
    margin-bottom: 12px;
  }
  .category__grid .card-text__title {
    font-size: 12px;
  }
  .category__grid .card__text,
  .category-grid__card .prices .price-from {
    font-size: 12px;
  }
  .category__grid .card__text {
    bottom: 22px;
    top: unset;
    left: 24px;
  }
  .category-grid__card .prices .price-to {
    font-size: 16px;
  }
  /* ==== category container (fotos) */
  .category__row {
    height: 430px;
    width: 86%;
    margin: 0 auto;
  }
  .info-section {
    margin-top: -55px;
    padding-top: 15px;
    background-image: url(/subhomes/direto/landing/2025/antecipe-bf/refactor/img/bg-roxo-mb.png);
  }

  .info-section .info-section__title {
    font-size: 20px;
    width: 84%;
  }
  .info-section .info-section__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .info-section .info {
    margin-bottom: 40px;
  }
  .info-section .info .info-text {
    height: unset;
  }
  .info-section .cards__btn {
    display: block;
  }
  .last-bar {
    top: unset;
  }
}
@media (max-width: 320px) {
  .product-grid__card {
    height: 400px;
  }
  .product-grid__card img {
    object-fit: unset;
  }
  .product-grid__card .product-info {
    left: 20px;
    top: 96px;
  }
  .product-card-text__title {
    font-size: 16px;
    color: #000;
  }
  .product-grid__card .description {
    font-size: 14px;
  }
  .product-info .prices .price-to {
    font-size: 21px;
  }
  /* releases section */
  .releases-section .title {
    font-size: 18px;
  }
  .release .card__text {
    position: absolute;
    top: 232px;
    left: 28;
  }
  .release .card__text .card-text__title {
    font-size: 14px;
  }
  .release .card__text .prices .price-to {
    font-size: 21px;
  }
  .category__grid .card__text {
    bottom: 22px;
    top: unset;
    left: 12px;
  }
  /* fotos */
  .category__row {
    height: 426px;
    width: 90%;
    margin: 0 auto;
  }
}
