/*
Theme Name: Placon Empreendimentos
Theme URI: https://example.com
Author: Você
Author URI: https://example.com
Description: Tema personalizado para Placon Empreendimentos usando Bootstrap 5.3.3.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: placon
*/

.capa {
  background: var(--p-primary);
  height: 100vh;
}
.capa-fundo {
  height: 100vh;
}
/* Ajuste para celulares */
@media (max-width: 768px) {
  .capa {
    height: 85vh;
  }
	.capa-fundo {
    height: 85vh;
  }
}

/*.img-capa {
  position: absolute;
  right: 0;
  top: 0;
  width: 45%;
  height: 75%;
  object-fit: cover;
  object-position: center;
}*/

.img-capa {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  height: 70%;
  object-fit: cover;
  object-position: center;
}


/* off-canvas */
.no-scroll {
  overflow: hidden;
}

#offcanvas {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}

#offcanvas .offcanvas-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.534);
  opacity: 0;
  transition: opacity .3s ease;
}

#offcanvas .offcanvas-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: var(--p-light);
  transform: translateX(100%);
  transition: all .6s cubic-bezier(.5, 0, 0, 1);
  display: flex;
  flex-direction: column;
}

@media(max-width:768px) {
  #offcanvas .offcanvas-panel {
    width: 100%;
    height: 100%;
  }
}

#offcanvas.is-open {
  pointer-events: auto;
}

#offcanvas.is-open .offcanvas-backdrop {
  opacity: 1;
}

#offcanvas.is-open .offcanvas-panel {
  transform: translateX(0);
}

#offcanvas .offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: end;
  padding: 2rem 3rem;
}

#offcanvas .offcanvas-body {
  padding: 1rem 3rem 3rem;
  overflow: auto;
}

#offcanvas .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

#offcanvas .menu a {
  text-decoration: none;
  color: var(--p-dark);
  font-weight: 600;
}

.menu-decor,
.menu-decor .menu-link-decor {
  font-family: var(--p-font-family-decorative);
  font-style: italic;
  letter-spacing: .3px;
  font-size: 2rem;
}

img.logo-menu {
  width: 24px;
  position: absolute;
  right: 3rem;
  bottom: 3rem;
}


/*preloader */
/* Acessibilidade: texto só para leitores de tela */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

/* Estado base e saída com slide para cima */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  height: 100%;
  /* começa no lugar */
  transition: all .8s cubic-bezier(.5, 0, 0, 1);
  will-change: transform;
}

#preloader.is-fading {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#preloader .preloader-backdrop {
  position: absolute;
  inset: 0;
  background: var(--p-body-bg, #fff);
  opacity: 1;
}

#preloader .preloader-box {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .75rem;
}

/* Animação de entrada do logo no preloader (scale + opacity) */
#preloader .preloader-logo {
  opacity: 0;
  transform: scale(.75);
  transform-origin: center;
  animation: preloader-pop .8s cubic-bezier(.5, 0, 0, 1) both;
  will-change: transform, opacity;
}

@keyframes preloader-pop {
  0% {
    opacity: 0;
    transform: scale(.85)
  }

  100% {
    opacity: 1;
    transform: scale(1)
  }
}

/* Respeita redução de movimento */
@media (prefers-reduced-motion: reduce) {
  #preloader .preloader-logo {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* classe de saída */
#preloader.is-exit {
  height: 0;
  /* sobe a tela toda */
  visibility: hidden;
  pointer-events: none;
}


/* Letter-by-letter reveal */
.reveal-chars {
  display: inline-block;
  position: relative;
}

.reveal-chars .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(.8em);
  will-change: transform;
}

.reveal-chars.is-inview .char {
  animation: rc-rise .6s cubic-bezier(.22, .61, .36, 1) forwards;
  animation-delay: calc(var(--i) * var(--stagger, 40ms));
}

/* impede quebra dentro da palavra, permite entre palavras */
.reveal-chars .word {
  display: inline-block;
  white-space: nowrap;
  /* não quebra dentro da palavra */
}

.reveal-chars .space {
  display: inline;
  /* espaço normal que permite quebra de linha */
}

/* variações opcionais */
.reveal-chars[data-effect="lift"] .char {
  transform: translateY(1em)
}

.reveal-chars[data-effect="left"] .char {
  transform: translateX(-.5em)
}

.reveal-chars.is-inview[data-effect="left"] .char {
  animation-name: rc-left;
}

@keyframes rc-rise {
  from {
    opacity: 0;
    transform: translateY(.8em)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes rc-left {
  from {
    opacity: 0;
    transform: translateX(-.5em)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

/* Respeita movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  .reveal-chars .char {
    opacity: 1;
    transform: none;
    animation: none !important
  }
}

/*slider empreendimentos destaque*/
/* garante altura automática dos slides/cards */
.img-empreendimento-destaque {
  height: 90vh;
  object-fit: cover;
  width: 100%;
  display: inherit;
}
/* Ajuste para celulares */
@media (max-width: 768px) {
  .img-empreendimento-destaque {
    height: 60vh;
  }
}


.card-empreendimento {
  position: relative;
  overflow: hidden;
  /* garante que nada "escape" */
}

.card-empreendimento .titulo-card-empreendimento {
  position: absolute;
  bottom: calc(5vw + 1rem);
  left: calc(5vw + 1rem);
  color: var(--p-light);
  text-transform: uppercase;
  font-weight: 200;
  font-size: clamp(1.8rem, 2vw + 1rem, 3.5rem);
  z-index: 2;
  width: 100%;
}

.card-empreendimento .sombra-empreendimento {
  height: 300px;
  background: linear-gradient(360deg, black, transparent);
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
}
.capa-fundo .sombra-empreendimento {
  height: 300px;
  background: linear-gradient(360deg, black, transparent);
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.botoes {
  position: absolute;
  z-index: 5;
  right: calc(5vw + 1rem);
  bottom: calc(5vw + 1rem);
}
.btn-slider-empreendimento{
  transition: all .3s;
}
.botoes-listing-home .swiper-button-disabled{
  opacity: .25;
}

.btn-slider-empreendimento {
  width: 50px;
  cursor: pointer;
}

.empreendimentos-listing-home-swiper {
  margin-left: calc((100vw - var(--p-container-minimo)) / 2 + .5rem) !important;
}

.resumo-empreendimento-listing {
  opacity: 0;
  transform: translateY(10px);
  transition: all .4s;
}

.btn-empreendimento-listing {
  opacity: 0;
  transform: translateY(10px);
  transition: all .4s;
  transition-delay: .1s;
}

.card-empreendimento-listing {
  overflow: hidden;
  opacity: 1;
}

.img-empreendimento-listing {
  height: 500px;
  object-fit: cover;
  width: 100%;
  object-position: center center;
  display: inherit;
  transition: all 8s ease-out;
}

.card-empreendimento-listing:hover .resumo-empreendimento-listing {
  opacity: 1;
  transform: translateY(0px);
}

.card-empreendimento-listing:hover .btn-empreendimento-listing {
  opacity: 1;
  transform: translateY(0px);
}

.card-empreendimento-listing {
  transition: all .3s ease-in-out;
}


.empreendimentos-listing-home-swiper:has(.card-empreendimento-listing:hover) .card-empreendimento-listing:not(:hover) {
  opacity: 0.3;
}
#empreendimentos-listagem:has(.card-empreendimento-listing:hover) .card-empreendimento-listing:not(:hover) {
  opacity: 0.3;
}

.radio-pill input {
  display: none;
}

.radio-pill {
  display: block;
  padding: .35rem 0;
  cursor: pointer;
  user-select: none;
  font-size: clamp(.75rem, 0.5vw + .5rem, .875rem);
  text-transform: uppercase;
  color: var(--p-info);
  transition: all .3s ease-in-out;
  font-weight: 400;
  letter-spacing: 1px;

}

.radio-pill::after {
  content: '';
  width: 0%;
  height: 1px;
  background: #000;
  display: block;
  margin-top: 4px;
  transition: all .3s ease-in-out;
}

.radio-pill.is-active,
.radio-pill:hover {
  color: #000 !important;
}

.radio-pill:hover::after,
.radio-pill.is-active::after {
  width: 100%;
}

.emp-pagination {
  position: relative !important;
  margin-top: 10px !important;
}

.emp-pagination .swiper-pagination-bullet {
  width: 24px;
  height: 3px;
  border-radius: 0;
}

.emp-pagination .swiper-pagination-bullet-active {
  background-color: var(--p-secondary);
}

.titulo-empreendimento-single{
  font-size: clamp(2rem, 5vw + 1rem, 5rem);
  line-height: 1.1em;
}


.divisor-vertical {
  height: 100px;
  width: 1px;
  background: #000;
  margin: 3rem auto;
}

.imagem-destacada-empreendimento {
  height: 800px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 767px) {
  .imagem-destacada-empreendimento {
    height: 500px;
  }
}

.imagem-galeria-empreendimento {
  overflow: hidden;
}

.thumb-galeria-empreendimento {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  transition: all .3s;
}

.thumb-galeria-empreendimento:hover {
  transform: scale(1.1);
}

@media (max-width: 767px) {
  .thumb-galeria-empreendimento {
    height: 150px;
  }
}

.galeria-empreendimento a {
  display: flex;
}

/* Overlay para o tile "Veja mais fotos" */
.overlay-veja-mais {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  letter-spacing: .5px;
}

.txt-overlay-veja-mais:after {
  content: '';
  width: 0%;
  height: 1px;
  background: #ffffff;
  display: block;
  margin-top: 4px;
  transition: all .3s ease-in-out;
}

.overlay-veja-mais:hover .txt-overlay-veja-mais::after {
  width: 100%;
}


.hero-video {
  position: relative;
  min-height: 75vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-video .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.hero-video .content {
  position: relative;
  z-index: 3;
  padding: 3rem;
  color: #fff;
}

.menu-rodape {
  list-style: none;
  text-transform: uppercase;
  font-size: .825rem;
  padding: 0px;
  margin: 0;
}

.menu-rodape a {
  transition: all .3s;
}

.menu-rodape a:hover {
  color: var(--p-light);
}

.menu-item-rodape {
  margin-bottom: 6px;
}
.icones-sociais-rodape i{
  font-size: 14px;
  color: var(--p-secondary);
}
.icones-sociais-menu i{
  font-size: 14px;
  color: var(--p-dark);
}
.icon-plus-planta{
  transition: all .4s ease-in-out;
}
.item-planta:hover .icon-plus-planta{
  transform: rotate(90deg);
}