/* PriPass — ajustes de celular.
   Carregado por último (depois do Bootstrap/cretech/override). Só mexe em telas
   pequenas: o desktop continua igual. */

/* 1) Bootstrap x Tailwind: as utilitárias de espaçamento do Bootstrap (p-5, px-4,
   mt-5, gap-4...) usam !important e outra escala (5 = 3rem), então no celular as
   páginas em Tailwind ganhavam 48px de margem lateral e cards espremidos.
   Abaixo do breakpoint sm do Tailwind (640px) devolvemos a escala do Tailwind. */
@media (max-width: 639.98px) {
  .m-3{margin:.75rem!important} .mt-3{margin-top:.75rem!important} .mb-3{margin-bottom:.75rem!important} .mx-3{margin-left:.75rem!important;margin-right:.75rem!important} .my-3{margin-top:.75rem!important;margin-bottom:.75rem!important}
  .p-3{padding:.75rem!important} .pt-3{padding-top:.75rem!important} .pb-3{padding-bottom:.75rem!important} .px-3{padding-left:.75rem!important;padding-right:.75rem!important} .py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}
  .gap-3{gap:.75rem!important}
  .m-4{margin:1rem!important} .mt-4{margin-top:1rem!important} .mb-4{margin-bottom:1rem!important} .mx-4{margin-left:1rem!important;margin-right:1rem!important} .my-4{margin-top:1rem!important;margin-bottom:1rem!important}
  .p-4{padding:1rem!important} .pt-4{padding-top:1rem!important} .pb-4{padding-bottom:1rem!important} .px-4{padding-left:1rem!important;padding-right:1rem!important} .py-4{padding-top:1rem!important;padding-bottom:1rem!important}
  .gap-4{gap:1rem!important}
  .m-5{margin:1.25rem!important} .mt-5{margin-top:1.25rem!important} .mb-5{margin-bottom:1.25rem!important} .mx-5{margin-left:1.25rem!important;margin-right:1.25rem!important} .my-5{margin-top:1.25rem!important;margin-bottom:1.25rem!important}
  .p-5{padding:1.25rem!important} .pt-5{padding-top:1.25rem!important} .pb-5{padding-bottom:1.25rem!important} .px-5{padding-left:1.25rem!important;padding-right:1.25rem!important} .py-5{padding-top:1.25rem!important;padding-bottom:1.25rem!important}
  .gap-5{gap:1.25rem!important}}

/* 2) iOS dá zoom ao focar campo com fonte < 16px. */
@media (max-width: 767.98px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]),
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* 3) Safe-area do iPhone (viewport-fit=cover no layout). */
body {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

@media (max-width: 991.98px) {
  /* Texto decorativo "fitness/liberdade" do slider sem estilo: aparecia solto
     em cima do subtítulo. */
  .slider-one__floated-text {
    display: none !important;
  }

  /* Bolinhas dos carrosséis: área de toque maior sem mudar o desenho. */
  .owl-theme .owl-dots .owl-dot {
    min-width: 32px;
    min-height: 32px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  .owl-theme .owl-dots .owl-dot span {
    margin: 0 !important;
  }

  /* Botões flutuantes (WhatsApp/topo) acima da barra do iPhone. */
  .scroll-to-top {
    margin-bottom: env(safe-area-inset-bottom);
  }
}

/* 4) Home (template Oplena) no celular. */
@media (max-width: 767.98px) {
  /* Seções com padding inline de 96–112px: no celular viravam faixas vazias. */
  .pp-sec {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
  .pp-sec h2 {
    font-size: 30px !important;
    line-height: 1.18 !important;
  }
  .pp-sec .container > div:first-child {
    margin-bottom: 32px !important;
  }
  .section-padding--top { padding-top: 56px !important; }
  .section-padding--bottom { padding-bottom: 56px !important; }

  /* Hero: botões com a mesma largura, um embaixo do outro. */
  .slider-one__btns {
    flex-direction: column;
    align-items: stretch;
    max-width: 360px;
  }
  .slider-one__btns .thm-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin: 0 !important;
  }

  /* "Sobre": a foto ficava um selo de 200x110 perdido no meio. */
  .about-five__images__one {
    max-width: 100% !important;
  }
  .about-five__images__one img {
    max-height: 220px !important;
    width: 100% !important;
    object-position: center 30%;
  }
  .about-five__box__text {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }
  .about-five__box__title {
    line-height: 1.3 !important;
  }

  /* Formas decorativas soltas (barra roxa e linhas) por cima das fotos. */
  .about-three__shape,
  .about-three__image__shape,
  .cta-one__shape,
  .cta-two__shape,
  .slider-one__shape-1,
  .slider-one__shape-2,
  .slider-one__shape-3 {
    display: none !important;
  }
  .about-three__image::before,
  .about-three__image::after,
  .cta-one__bg {
    display: none !important;
  }
  .about-three__image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
  }
  .about-three__list li {
    margin-bottom: 24px;
  }
  .about-three__list li:last-child {
    margin-bottom: 0;
  }
  .about-three__list__text {
    line-height: 1.55 !important;
  }

  /* CTA final: título sem a caixa translúcida e botões lado a lado. */
  .cta-one {
    padding: 56px 0 !important;
  }
  .cta-one__title {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }
  .cta-one .thm-btn {
    padding: 14px 22px !important;
  }

  /* Rodapé da home: links com área de toque decente. */
  .footer-main {
    padding-top: 56px !important;
  }
  .footer-main .list-unstyled {
    gap: 0 !important;
  }
  .footer-main .list-unstyled li > a {
    display: inline-block;
    padding: 9px 0;
  }
  .footer-widget__social a {
    width: 44px !important;
    height: 44px !important;
  }
  .footer-widget__contact li {
    min-height: 40px;
  }
  .footer-main__bottom {
    padding-bottom: calc(20px + env(safe-area-inset-bottom)) !important;
  }
  .footer-main__bottom .container,
  .footer-main__bottom .container > div {
    justify-content: center !important;
    text-align: center;
  }
  .footer-main__bottom a {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 40px;
    align-items: center;
    line-height: 1.5;
  }
}

/* 5) Menu do celular (header interno e home). */
.pp-mobile-lang {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}
.pp-mobile-lang__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pp-mobile-lang select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 16px;
}
.pp-mobile-lang select option {
  color: #111;
}
.mobile-nav__close {
  width: 44px !important;
  height: 44px !important;
  top: 14px !important;
  right: 14px !important;
}
.mobile-nav__contact li {
  padding-left: 0 !important;
  line-height: 1.4 !important;
}
.mobile-nav__contact li a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}
.mobile-menu__list > li > a {
  min-height: 48px;
  display: flex !important;
  align-items: center;
}
/* Menu abria com 1s de atraso (delay 500ms + 500ms de animação). */
.mobile-nav__wrapper .mobile-nav__overlay,
.mobile-nav__wrapper .mobile-nav__content {
  transition-delay: 0s !important;
  transition-duration: 250ms !important;
}
.mobile-nav__content {
  max-width: min(320px, 86vw) !important;
  padding-bottom: calc(24px + env(safe-area-inset-bottom)) !important;
}
