/* Botão flutuante WhatsApp – alinhado e bonito */
.whatsapp{
  position: fixed;
  z-index: 9999;
  bottom: 30px;
  right: 20px;
  width: 60px;
  height: 60px;
}

.whatsapp a{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: transparent !important; 
  box-shadow: 0 8px 24px rgba(16,24,40,.18);
}

.whatsapp img {
      background-color: transparent !important;
}

.home_lojas .home_lojas_lista .home_loja_item {
    border: 1px solid rgba(0, 0, 0, .0);
    border-radius: 25px;
}

.home_alimentacao .home_alimentacao_lista .home_loja_item {
    border-radius: 25px;
}

/* === Padronização dos cards de lazer (Swiper) === */

/* o slide e o item ocupam a mesma altura */
.swiper-slide {
    height: auto !important;
}

.swiper-slide .home_lazer_item {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e4e7ec;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
}

/* imagem com altura fixa */
.swiper-slide .home_lazer_imagem {
    height: 180px;
    /* ajuste aqui se quiser */
    overflow: hidden;
    background: #f2f4f7;
}

.swiper-slide .home_lazer_imagem img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

/* conteúdo vira “corpo” do card e mantém padrão */
.swiper-slide .home_lazer_inf {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    /* faz todos terem o mesmo bloco */
    gap: 8px;
}

/* título: trava em 2 linhas */
.swiper-slide .home_lazer_inf .lazer_title {
    margin: 0 !important;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* descrição: trava em 3 linhas e empurra o resto pra baixo */
.swiper-slide .home_lazer_inf .lazer_description {
    margin: 0 !important;
    color: #475467;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home_servicos_imagem {
    border-radius: 25px;
}

.service_title {
    text-align: center;
}

.home_evento .home_evento_item {
    border-radius: 25px;
}

/* ================================
   ANIMAÇÕES MODERNAS – MENUS
   Header desktop + mobile + footer
================================ */

/* base de transição suave */
header,
.menu-secundario,
.header-content-desktop a,
.header-content-mobile a {
    transition: background-color .22s ease, box-shadow .22s ease, transform .22s ease, opacity .22s ease;
}

/* ===== Desktop: underline animado nos itens do menu ===== */
.header-content-desktop .menu-principal ul li a {
    position: relative;
    display: inline-block;
    padding: 10px 4px;
    text-decoration: none;
    transform: translateZ(0);
}

.header-content-desktop .menu-principal ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 6px;
    height: 2px;
    width: 100%;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
    opacity: .9;
}

.header-content-desktop .menu-principal ul li a:hover::after {
    transform: scaleX(1);
}

/* “lift” bem leve no hover do menu */
.header-content-desktop .menu-principal ul li a:hover {
    transform: translateY(-1px);
}

/* ===== Desktop: redes sociais com micro animação ===== */
.redesocial a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    transition: transform .18s ease, background-color .18s ease, opacity .18s ease;
    will-change: transform;
}

.redesocial a:hover {
    transform: translateY(-2px) scale(1.03);
    opacity: .95;
}

/* ===== Header fixed: transição suave ===== */
header.headerfixed {
    position: sticky;
    /* caso já use fixed, não atrapalha */
    top: 0;
    z-index: 999;
    animation: headerDrop .22s ease both;
    background-color: 0 10px 28px rgba(16, 24, 40, .10) !important;
    box-shadow: 0 10px 28px rgba(16, 24, 40, .10) !important;
    backdrop-filter: saturate(33%) blur(20px);
}

header .redesocial li {
    border-radius: 110% !important;
    padding: 5px 7px 6px 8px !important;
}
@keyframes headerDrop {
    from {
        transform: translateY(-10px);
        opacity: .92;
    }

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

/* ===== Menu secundário: hover com pill discreto ===== */
.menu-secundario a {
    border-radius: 999px;
    padding: 8px 10px;
    transition: background-color .18s ease, transform .18s ease;
}

.menu-secundario a:hover {
    background: rgba(255, 255, 255, .12);
    transform: translateY(-1px);
}

/* ======================================
   MOBILE: hamburger animado + menu slide
====================================== */

/* animação do hamburger */
.hamburger-menu {
    width: 28px;
    height: 22px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger-menu .bar {
    height: 2px;
    width: 100%;
    border-radius: 2px;
    transition: transform .22s ease, opacity .18s ease;
}

/* quando ativo, vira "X" */
.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* menu mobile: transforma a UL em drawer lateral */
.header-content-mobile .menu-principal-mobile ul.menu-lista {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(86vw, 360px);
    overflow-y: auto;
    padding: 18px 18px 22px;
    margin: 0;
    background: #fff;
    box-shadow: 0 18px 60px rgba(16, 24, 40, .18);
    border-right: 1px solid rgba(16, 24, 40, .08);

    transform: translateX(-105%);
    opacity: 0;
    transition: transform .26s ease, opacity .18s ease;
    z-index: 10001;
}

/* estados já existentes no seu JS */
.header-content-mobile .menu-principal-mobile ul.menu-lista.ativado {
    transform: translateX(0);
    opacity: 1;
}

.header-content-mobile .menu-principal-mobile ul.menu-lista.desativado {
    transform: translateX(-105%);
    opacity: 0;
}

/* itens do menu mobile: entrada suave (stagger “fake”) */
.header-content-mobile .menu-principal-mobile ul.menu-lista.ativado li {
    animation: itemIn .22s ease both;
}

.header-content-mobile .menu-principal-mobile ul.menu-lista.ativado li:nth-child(1) {
    animation-delay: .02s;
}

.header-content-mobile .menu-principal-mobile ul.menu-lista.ativado li:nth-child(2) {
    animation-delay: .04s;
}

.header-content-mobile .menu-principal-mobile ul.menu-lista.ativado li:nth-child(3) {
    animation-delay: .06s;
}

.header-content-mobile .menu-principal-mobile ul.menu-lista.ativado li:nth-child(4) {
    animation-delay: .08s;
}

.header-content-mobile .menu-principal-mobile ul.menu-lista.ativado li:nth-child(5) {
    animation-delay: .10s;
}

.header-content-mobile .menu-principal-mobile ul.menu-lista.ativado li:nth-child(6) {
    animation-delay: .12s;
}

.header-content-mobile .menu-principal-mobile ul.menu-lista.ativado li:nth-child(7) {
    animation-delay: .14s;
}

.header-content-mobile .menu-principal-mobile ul.menu-lista.ativado li:nth-child(8) {
    animation-delay: .16s;
}

.header-content-mobile .menu-principal-mobile ul.menu-lista.ativado li:nth-child(9) {
    animation-delay: .18s;
}

.header-content-mobile .menu-principal-mobile ul.menu-lista.ativado li:nth-child(10) {
    animation-delay: .20s;
}

@keyframes itemIn {
    from {
        transform: translateX(-8px);
        opacity: .0;
    }

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

.header-content-mobile .menu-principal-mobile ul.menu-lista li a {
    display: block;
    padding: 12px 10px;
    border-radius: 12px;
    text-decoration: none;
    transition: background-color .18s ease, transform .18s ease;
}

.header-content-mobile .menu-principal-mobile ul.menu-lista li a:hover {
    background: rgba(16, 24, 40, .06);
    transform: translateX(2px);
}

/* overlay do menu mobile (criado via JS adicionando classe no body) */
body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(16, 24, 40, .46);
    backdrop-filter: blur(2px);
    z-index: 10000;
    animation: overlayIn .18s ease both;
}

@keyframes overlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* trava scroll quando menu está aberto */
body.menu-open {
    overflow: hidden;
}

/* ===== Footer: links com underline animado ===== */
footer a {
    position: relative;
    text-decoration: none;
}

footer a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
    opacity: .85;
}

footer a:hover::after {
    transform: scaleX(1);
}

/* ================================
   HOME – ANIMAÇÕES MODERNAS
================================ */

/* respeita acessibilidade */
@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal * {
        animation: none !important;
        transition: none !important;
    }
}

/* ---- reveal base (seções inteiras) ---- */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .55s ease, transform .55s ease;
    will-change: transform, opacity;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* variação suave para fundos escuros não “piscar” */
.bg_primario.reveal {
    transform: translateY(10px);
}

/* ---- títulos (Home link) com underline animado ---- */
.home_link {
    position: relative;
    text-decoration: none;
    display: inline-block;
}

.home_link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    width: 100%;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
    opacity: .9;
}

.home_link:hover::after {
    transform: scaleX(1);
}

/* ---- Swiper: setas e paginação mais “clean” ---- */
.swiper-button-prev,
.swiper-button-next {
    width: 44px !important;
    height: 44px !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(16, 24, 40, .10);
    box-shadow: 0 10px 28px rgba(16, 24, 40, .12);
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
    backdrop-filter: blur(6px);
}

.bg_primario .swiper-button-prev,
.bg_primario .swiper-button-next {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .25);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 46px rgba(16, 24, 40, .18);
}

.swiper-button-prev i,
.swiper-button-next i {
    font-size: 14px;
}

/* bolinhas */
.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    opacity: .35;
    transition: transform .18s ease, opacity .18s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.25);
}

/* ---- Cards: hover elegante (serve para todas as listas da home) ---- */
:where(.home_evento_item, .home_cinema_item, .home_lojas_item, .home_alimentacao_item, .home_lazer_item, .home_servicos_imagem) {
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    will-change: transform;
}

:where(.home_evento_item, .home_cinema_item, .home_lojas_item, .home_alimentacao_item, .home_lazer_item, .home_servicos_imagem):hover {
    transform: translateY(-4px);
    filter: brightness(.99);
}

/* Se tiver borda/sombra aplicada pelo seu padronizador, intensifica no hover */
:where(.home_evento_item, .home_cinema_item, .home_lojas_item, .home_alimentacao_item, .home_lazer_item, .home_servicos_imagem) {
    box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
}

:where(.home_evento_item, .home_cinema_item, .home_lojas_item, .home_alimentacao_item, .home_lazer_item, .home_servicos_imagem):hover {
    box-shadow: 0 18px 46px rgba(16, 24, 40, .12);
}


/* ---- “fade-in” por item (slides carregados via JS) ---- */
.slide-reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .45s ease, transform .45s ease;
}

.slide-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

header .header-content-desktop {
    height: 85px !important;
}
