/* Evita tremor/sobra ao rolar: scrollbar estável e fundo fixo */
html {
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  background: #1976d2;
  overscroll-behavior: contain;
}

html.dark-mode {
  background: #0f2027;
}

/* Gradiente animado em camada fixa (::before) para não repintar ao rolar; body transparente para o degradê aparecer */
body {
  font-family: 'Segoe UI', sans-serif;
  min-height: 100vh;
  position: relative;
  background: transparent;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    -45deg,
    #1976d2,
    #1aa7d9,
    #17bfa0,
    #149ddd,
    #1976d2
  );
  background-size: 350% 350%;
  animation: gradientMove 18s ease-in-out infinite;
}

/* HERO PARALLAX - imagem definida no partial (estabelecimento.heroImageUrl ou /images/herobanner.jpg) */
.hero-parallax {
  height: 100vh;
  background-color: #1976d2;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* GLASS */
/* MODO CLARO (DIA) */
/* GLASS PREMIUM - DIA */
.glass-header,
.glass-section,
.glass-footer {
  position: relative;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Cabeçalho fixo: z-index alto e overflow visível para os dropdowns não ficarem cortados */
header.glass-header,
nav.glass-header.navbar {
  z-index: 1030;
  overflow: visible;
}
.navbar-collapse {
  overflow: visible;
}

.glass-section,
.glass-footer {
  contain: layout style paint;
}

.glass-header::before,
.glass-section::before,
.glass-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.5),
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.5)
  );
  mask: 
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
  transform: translateZ(0);
}

/* MODO DARK */
/* GLASS PREMIUM - DARK */
html.dark-mode body .glass-header,
html.dark-mode body .glass-section,
html.dark-mode body .glass-footer {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}

.glass-section:hover {
  transform: translateZ(0) translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

html.dark-mode body .glass-section:hover {
  box-shadow: 0 14px 36px rgba(0,0,0,0.5);
}




/* MENU DESTACADO */
.navbar .nav-link {
  position: relative;
  color: #ffffff !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  transition: all 0.3s ease;
}

/* Linha animada abaixo */
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #0dcaf0, #20c997);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

/* Hover */
/* HOVER MODO DIA AJUSTADO */
body:not(.dark-mode) .navbar .nav-link:hover {
  color: #ffffff !important;
  background: linear-gradient(
    135deg,
    rgba(13, 202, 240, 0.25),
    rgba(32, 201, 151, 0.25)
  );
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(13, 202, 240, 0.3);
}

.navbar .nav-link:hover::after {
  width: 80%;
}

.nav-highlight:hover {
  color: #20c997 !important;
  text-shadow: 0 0 10px rgba(255,255,255,0.8);
}

/* BOTÃO LOGIN */
.btn-login {
  background: linear-gradient(45deg, #0d6efd, #20c997);
  border-radius: 30px;
  color: white;
  transition: 0.4s;
}

.btn-login:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* WHATSAPP */
/* WHATSAPP COM DEGRADÊ ANIMADO */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 60px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;
  color: white;
  text-decoration: none;

  border-radius: 50%;

  background: linear-gradient(
    135deg,
    #1ebe5d,
    #25D366,
    #20c997,
    #1ebe5d
  );

  background-size: 300% 300%;
  animation: whatsappGradient 8s ease-in-out infinite;

  box-shadow: 0 0 25px rgba(0,0,0,0.4);
  transition: transform 0.4s ease;
  z-index: 999;
}

/* Animação do degradê */
@keyframes whatsappGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Hover elegante */
.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 0 35px rgba(37, 211, 102, 0.6);
}

/* Mobile */
@media (max-width: 576px) {
  .whatsapp-btn {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}

/* SAIBA MAIS (botão flutuante central) */
.saiba-mais-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  transform: none;
  width: 120px;
  height: 120px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  border-radius: 60px;
  z-index: 999;

  background: linear-gradient(135deg, #ffb703, #fb8500, #ffd166, #ffb703);
  background-size: 300% 300%;
  animation: saibaMaisGradient 8s ease-in-out infinite, saibaMaisGlow 2.4s ease-in-out infinite;

  box-shadow: 0 0 25px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.saiba-mais-btn__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  animation: saibaMaisWiggle 2.8s ease-in-out infinite;
}

.saiba-mais-btn__text {
  color: #0a0a0a;
  font-weight: 900;
  text-align: center;
  line-height: 1.05;
  font-size: 22px;
  padding: 0 8px;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.saiba-mais-btn__icon {
  color: #0a0a0a;
  font-size: 26px;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.4));
  animation: saibaMaisPointer 1.1s ease-in-out infinite;
}

@keyframes saibaMaisGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes saibaMaisGlow {
  0%,
  100% {
    box-shadow: 0 0 22px rgba(251, 133, 0, 0.45), 0 0 0 0 rgba(230, 57, 70, 0.25);
  }
  50% {
    box-shadow: 0 0 32px rgba(251, 133, 0, 0.65), 0 0 0 10px rgba(230, 57, 70, 0);
  }
}

@keyframes saibaMaisWiggle {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-2px) rotate(-2deg);
  }
  75% {
    transform: translateY(-2px) rotate(2deg);
  }
}

@keyframes saibaMaisPointer {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(4px) scale(1.12);
  }
}

.saiba-mais-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(251, 133, 0, 0.55);
}

@media (max-width: 576px) {
  .saiba-mais-btn__text {
    font-size: 18px;
  }

  .saiba-mais-btn__icon {
    font-size: 22px;
  }
}

/* FOOTER ICONS */
.social-icons a {
  color: white;
  font-size: 22px;
  margin: 0 10px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #20c997;
}

/* ===== RODAPÉ QUANDO LOGADO ===== */
.footer-base {
  margin-top: auto;
}

.footer-logado {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logado__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.footer-logado__copy {
  flex: 0 0 auto;
}

.footer-logado__copy-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}

.footer-logado__contato,
.footer-logado__whatsapp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.footer-logado__label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-logado__email-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}

.footer-logado__email-btn:hover {
  background: rgba(13, 202, 240, 0.25);
  border-color: rgba(13, 202, 240, 0.6);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(13, 202, 240, 0.3);
}

.footer-logado__email-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0dcaf0, #20c997);
  color: #fff;
  font-size: 0.9rem;
}

.footer-logado__email-text {
  font-weight: 600;
  text-decoration: none;
}

.footer-logado__whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 10px;
  background: rgba(37, 211, 102, 0.25);
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-logado__whatsapp-link:hover {
  background: rgba(37, 211, 102, 0.45);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .footer-logado__row {
    flex-direction: column;
    text-align: center;
  }

  .footer-logado__contato,
  .footer-logado__whatsapp {
    align-items: center;
  }
}

/* ===== MODAL ENVIAR E-MAIL ===== */
/* Garante que o modal fique acima do rodapé e do botão WhatsApp */
#modalEnviarEmail.modal {
  z-index: 1060;
}

.modal-email-content {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-email-header {
  background: linear-gradient(135deg, #0d6efd, #20c997);
  color: #fff;
  border-bottom: none;
  padding: 1rem 1.25rem;
}

.modal-email-header .modal-title {
  font-weight: 600;
}

.modal-email-form .modal-body {
  padding: 1.25rem 1.5rem;
}

.modal-email-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

html.dark-mode .modal-email-content {
  background: rgba(30, 30, 30, 0.98);
  border-color: rgba(255, 255, 255, 0.1);
}

html.dark-mode .modal-email-form .form-control {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

html.dark-mode .modal-email-form .form-label,
html.dark-mode .modal-email-form .text-muted {
  color: rgba(255, 255, 255, 0.85) !important;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


@media (max-width: 768px) {
  .hero-parallax,
  .parallax-numbers {
    background-attachment: scroll;
  }
}

.carousel-item img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
}

@media (max-width: 768px) {
  .carousel-item img {
    height: 40vh;
  }
}

.hero-premium h1 {
  font-size: 3rem;
}

@media (max-width: 768px) {
  .hero-premium h1 {
    font-size: 2rem;
  }
}

/* CAIXA DOS ÍCONES INSTITUCIONAIS */
.icon-box {
  padding: 30px;
  border-radius: 20px;
  transition: all 0.4s ease;
}

.icon-box:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-8px);
}

/* ÍCONES PREMIUM */
.icon-premium {
  font-size: 40px;
  background: linear-gradient(45deg, #0dcaf0, #20c997);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: 0.4s ease;
}

.icon-box:hover .icon-premium {
  transform: scale(1.2) rotate(5deg);
}

/* CONTATO */
.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  transition: 0.3s ease;
}

.contact-icon {
  font-size: 22px;
  color: #0dcaf0;
  transition: 0.3s ease;
}

.contact-item:hover {
  transform: translateX(8px);
}

.contact-item:hover .contact-icon {
  color: #20c997;
  transform: scale(1.2);
}

/* Catálogo de produtos (home) */
.catalogo-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.catalogo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}
.catalogo-card__img-wrap {
  height: 180px;
  overflow: hidden;
}
.catalogo-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.catalogo-card__titulo {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.catalogo-card__obs {
  font-size: 0.85rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.catalogo-card__preco {
  font-size: 1.15rem;
  color: #0dcaf0 !important;
}

/* Modal catálogo: tema claro para o site */
.catalogo-modal-content {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #212529;
}
.catalogo-modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: #f8f9fa;
}
.catalogo-modal-header .modal-title {
  color: #212529;
}
.catalogo-modal-body {
  background: #fff;
  color: #212529;
}
.catalogo-modal-nome {
  color: #212529;
}
.catalogo-modal-dl dt {
  color: #6c757d;
}
.catalogo-modal-dl dd {
  color: #212529;
}
.catalogo-modal-label {
  color: #6c757d;
}
.catalogo-modal-obs {
  color: #495057;
}
.catalogo-modal-img {
  border-color: rgba(0, 0, 0, 0.1) !important;
}
.catalogo-modal-sem-foto {
  background: #e9ecef;
  color: #6c757d;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.catalogo-modal-preco {
  color: #0d6efd;
}
.catalogo-modal-preco.text-success {
  color: #198754 !important;
  font-size: 1.35rem;
}
.catalogo-modal-preco-antigo {
  color: #6c757d;
}
.catalogo-modal-precos {
  border-color: rgba(0, 0, 0, 0.08) !important;
}

/* Texto institucional: justificado com hifenização por sílabas (pt) */
.institucional-texto {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  word-break: normal;
}

/* Efeito luz deslizando */
.icon-premium {
  font-size: 40px;
  background: linear-gradient(120deg, #0dcaf0 30%, #ffffff 50%, #20c997 70%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.contact-icon.fa-location-dot {
  position: relative;
}

.contact-icon.fa-location-dot::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #20c997;
  animation: pulse 2s infinite;
  top: 0;
  left: 0;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.map-glass {
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* BOTÃO DARK/LIGHT */
.theme-toggle-btn {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 20px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transition: 0.4s ease;
  backdrop-filter: blur(8px);
}

.theme-toggle-btn:hover {
  transform: rotate(20deg) scale(1.1);
  background: rgba(255,255,255,0.25);
}

/* Modo Dark: degradê em camada fixa */
html.dark-mode body {
  background: transparent;
}

html.dark-mode body::before {
  background: linear-gradient(
    -45deg,
    #0f2027,
    #1f4037,
    #203a43,
    #2c5364
  );
}

html.dark-mode body .theme-toggle-btn {
  color: #20c997;
}

/* Responsividade extra */
@media (max-width: 992px) {
  .navbar-collapse {
    text-align: center;
  }

  .theme-toggle-btn {
    margin-top: 10px;
  }
}

/* LOGIN DROPDOWN */
.login-dropdown {
  min-width: 280px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  animation: dropdownFade 0.3s ease forwards;
}

/* Inputs */
.login-dropdown .form-control {
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.1);
  transition: 0.3s ease;
}

.login-dropdown .form-control:focus {
  border-color: #0dcaf0;
  box-shadow: 0 0 10px rgba(13,202,240,0.4);
}

/* Animação suave */
@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/* Corrige cor dos labels no modo claro */
body:not(.dark-mode) .login-dropdown .form-label {
  color: #222;
  font-weight: 600;
}

/* Corrige cor dos inputs no modo claro */
body:not(.dark-mode) .login-dropdown .form-control {
  background: #ffffff;
  color: #222;
  border: 1px solid rgba(0,0,0,0.15);
}

/* Placeholder mais visível */
body:not(.dark-mode) .login-dropdown .form-control::placeholder {
  color: rgba(0,0,0,0.45);
}

/* Textos das seções Institucional e Contato no modo escuro */
html.dark-mode body #institucional,
html.dark-mode body #institucional h1,
html.dark-mode body #institucional h2,
html.dark-mode body #institucional h3,
html.dark-mode body #institucional p,
html.dark-mode body #institucional span,
html.dark-mode body #institucional li,
html.dark-mode body #institucional a,

html.dark-mode body #contato,
html.dark-mode body #contato h1,
html.dark-mode body #contato h2,
html.dark-mode body #contato h3,
html.dark-mode body #contato p,
html.dark-mode body #contato span,
html.dark-mode body #contato li,
html.dark-mode body #contato a {
  color: #ffffff !important;
}

/* Dropdown menu estilo moderno */
.navbar .dropdown-menu {
  border-radius: 15px;
  border: none;
  padding: 10px 0;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  animation: fadeDropdown 0.25s ease;
}

/* Itens */
.navbar .dropdown-item {
  padding: 10px 20px;
  transition: 0.3s ease;
}

/* Hover */
.navbar .dropdown-item:hover {
  background: linear-gradient(
    135deg,
    rgba(13,202,240,0.15),
    rgba(32,201,151,0.15)
  );
  color: #0dcaf0;
}

/* Animação */
@keyframes fadeDropdown {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html.dark-mode body .navbar .dropdown-menu {
  background: #1f1f1f;
}

html.dark-mode body .navbar .dropdown-item {
  color: #ffffff;
}

html.dark-mode body .navbar .dropdown-item:hover {
  background: rgba(255,255,255,0.1);
}

/* ============================= */
/* DROPDOWN GLASS EFFECT */
/* ============================= */

.navbar .dropdown-menu {
  z-index: 1040;
  border-radius: 20px;
  padding: 12px 0;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  animation: glassFade 0.3s ease forwards;
}

/* Modo claro: fundo mais opaco para o dropdown não misturar com o conteúdo atrás */
html:not(.dark-mode) body .navbar .dropdown-menu {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

html:not(.dark-mode) body .navbar .dropdown-item {
  color: #1a1a1a;
}

html:not(.dark-mode) body .navbar .dropdown-item:hover {
  background: linear-gradient(
    135deg,
    rgba(13,202,240,0.12),
    rgba(32,201,151,0.12)
  );
  color: #0a8f9e;
}

/* Itens do dropdown */
.navbar .dropdown-item {
  padding: 10px 20px;
  color: #222;
  transition: 0.3s ease;
}

/* Hover elegante */
.navbar .dropdown-item:hover {
  background: linear-gradient(
    135deg,
    rgba(13,202,240,0.2),
    rgba(32,201,151,0.2)
  );
  color: #0dcaf0;
  border-radius: 12px;
}

html.dark-mode body .navbar .dropdown-menu {
  background: rgba(20, 20, 20, 0.7);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

html.dark-mode body .navbar .dropdown-item {
  color: #ffffff;
}

html.dark-mode body .navbar .dropdown-item:hover {
  background: rgba(255,255,255,0.08);
  color: #0dcaf0;
}

@keyframes glassFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 100px;
  contain: paint;
}

.btn-login {
  background: linear-gradient(135deg, #FF8DA1, #d4af37);
  color: white;
  border: none;
}

.btn-login:hover {
  opacity: 0.9;
}

.login-glass {
  backdrop-filter: blur(8px);
  border-radius: 12px;
}

/*
 * Login dropdown: mesma “cara” do Entrar (.btn.w-100), só que monocromático.
 * Herda padding, raio e largura do Bootstrap .btn — sem sublinhado nem texto forte.
 */
.login-glass a.btn-login-aux,
.login-glass a.btn-login-aux:link,
.login-glass a.btn-login-aux:visited {
  display: inline-block;
  width: 100%;
  font-weight: 400;
  letter-spacing: normal;
  text-decoration: none !important;
  border-width: 1px;
  border-style: solid;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.login-glass a.btn-login-aux:hover,
.login-glass a.btn-login-aux:active,
.login-glass a.btn-login-aux:focus {
  text-decoration: none !important;
}

html:not(.dark-mode) .login-glass a.btn-login-aux,
html:not(.dark-mode) .login-glass a.btn-login-aux:link,
html:not(.dark-mode) .login-glass a.btn-login-aux:visited {
  color: #1a1a1a !important;
  background: linear-gradient(180deg, #ffffff 0%, #ececec 100%);
  border-color: #bdbdbd;
}

html:not(.dark-mode) .login-glass a.btn-login-aux:hover {
  color: #000 !important;
  background: linear-gradient(180deg, #f5f5f5 0%, #dedede 100%);
  border-color: #6f6f6f;
}

html.dark-mode .login-glass a.btn-login-aux,
html.dark-mode .login-glass a.btn-login-aux:link,
html.dark-mode .login-glass a.btn-login-aux:visited {
  color: #f0f0f0 !important;
  background: linear-gradient(180deg, #3a3a3a 0%, #252525 100%);
  border-color: #5c5c5c;
}

html.dark-mode .login-glass a.btn-login-aux:hover {
  color: #fff !important;
  background: linear-gradient(180deg, #4a4a4a 0%, #303030 100%);
  border-color: #8a8a8a;
}

.login-glass a.btn-login-aux:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Toast efeito suave */
.toast-smooth {
  opacity: 0;
  transform: translateY(-15px) scale(0.98);
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
  border-radius: 14px;
}

/* Quando aparece */
.toast.showing,
.toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Quando desaparece */
.toast.hide {
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
}

.glass-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Perfil da empresa: cartão de assinatura legível no modo claro */
html:not(.dark-mode) body .assinatura-painel-card {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(148, 163, 184, 0.45) !important;
  color: #0f172a;
}

html:not(.dark-mode) body .assinatura-painel-card .text-white,
html:not(.dark-mode) body .assinatura-painel-card .text-white-50,
html:not(.dark-mode) body .assinatura-painel-card code.text-white-50 {
  color: #334155 !important;
}

html:not(.dark-mode) body .assinatura-painel-card .badge.bg-dark {
  background: #0f172a !important;
}

html:not(.dark-mode) body .assinatura-painel-card .btn-outline-light {
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.28);
}

html:not(.dark-mode) body .assinatura-painel-card .btn-outline-light:hover {
  background: rgba(15, 23, 42, 0.06);
}

/* ===== TELA ASSINATURA: cards claros (estilo “pricing”) ===== */
.assinatura-page {
  --ass-bg: rgba(255, 255, 255, 0.92);
  --ass-text: #0f172a;
  --ass-muted: #64748b;
  --ass-border: rgba(15, 23, 42, 0.12);
  --ass-shadow: 0 18px 48px rgba(2, 6, 23, 0.18);
  --ass-accent: #2563eb; /* azul */
  --ass-accent-2: #16a34a; /* verde */
}

/* Linha “Empresa: …” no topo: contraste legível sobre o glass-card */
.assinatura-page .assinatura-empresa-line {
  color: var(--ass-text);
}

.assinatura-page .assinatura-empresa-line strong {
  color: var(--ass-text);
  font-weight: 700;
}

/* Importante: não “clarear” toda a view. Só a seção de assinatura recorrente. */
.assinatura-page .assinatura-planos-wrap {
  background: var(--ass-bg);
  border: 1px solid var(--ass-border);
  box-shadow: var(--ass-shadow);
  color: var(--ass-text);
  backdrop-filter: none;
}

/* Somente dentro do bloco “recorrente” */
.assinatura-page .assinatura-planos-wrap .text-white,
.assinatura-page .assinatura-planos-wrap .text-white-50,
.assinatura-page .assinatura-planos-wrap .small.text-white-50,
.assinatura-page .assinatura-planos-wrap .form-check-label.text-white-50 {
  color: var(--ass-text) !important;
  text-shadow: none !important;
}

.assinatura-page .assinatura-planos-wrap .small.text-white-50,
.assinatura-page .assinatura-planos-wrap .text-white-50 {
  color: var(--ass-muted) !important;
}

.assinatura-page .assinatura-planos-wrap a.text-white {
  color: var(--ass-accent) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Detalhes da assinatura: mesmo padrão visual do Bootstrap .alert (sem text-white no HTML) */
.assinatura-page .assinatura-status-detalhes .assinatura-status-hr {
  border: 0;
  border-top: 1px solid currentColor;
  opacity: 0.25;
}

.assinatura-page .assinatura-status-detalhes .assinatura-status-rows > li + li {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

html.dark-mode .assinatura-page .assinatura-status-detalhes .assinatura-status-rows > li + li {
  border-top-color: rgba(255, 255, 255, 0.15);
}

/* Garante legibilidade se alguma utilitária antiga ainda aparecer dentro do alerta */
.assinatura-page .assinatura-status-detalhes .text-white,
.assinatura-page .assinatura-status-detalhes .text-white-50 {
  color: inherit !important;
}

/* Wrapper dos planos */
.assinatura-page .assinatura-planos-wrap {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 18px;
}

/* Cards de plano (label clicável) */
.assinatura-page .assinatura-plano-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 2px solid rgba(148, 163, 184, 0.35);
  border-radius: 16px;
  padding: 1.1rem 1.1rem 1rem;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.assinatura-page .assinatura-plano-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.12);
  border-color: rgba(37, 99, 235, 0.45);
}

.assinatura-page .assinatura-plano-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.assinatura-page .assinatura-plano-topo {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.assinatura-page .assinatura-plano-titulo {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ass-text);
}

.assinatura-page .assinatura-plano-subtitulo {
  margin-top: 0.2rem;
  font-size: 0.92rem;
  color: var(--ass-muted);
}

.assinatura-page .assinatura-plano-badge {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(234, 179, 8, 0.18);
  color: #a16207;
  border: 1px solid rgba(234, 179, 8, 0.45);
  line-height: 1;
}

.assinatura-page .assinatura-plano-preco {
  margin: 0.75rem 0 0.2rem;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ass-text);
}

.assinatura-page .assinatura-plano-periodo {
  color: var(--ass-muted);
  font-size: 0.92rem;
  margin: 0 0 0.85rem;
}

.assinatura-page .assinatura-plano-beneficios {
  margin: 0.75rem 0 0.95rem;
  padding-left: 1.05rem;
  color: var(--ass-text);
  flex: 1 1 auto;
}

.assinatura-page .assinatura-plano-beneficios li {
  margin-bottom: 0.4rem;
}

.assinatura-page .assinatura-plano-cta {
  width: 100%;
  border-radius: 14px;
  padding: 0.7rem 1rem;
  font-weight: 800;
  margin-top: auto;
}

.assinatura-page .assinatura-plano-cta.btn-dark {
  background: #1f2937;
  border-color: #1f2937;
}

.assinatura-page .assinatura-plano-cta.btn-primary {
  background: var(--ass-accent);
  border-color: var(--ass-accent);
}

.assinatura-page .assinatura-plano-cta.btn-success {
  background: var(--ass-accent-2);
  border-color: var(--ass-accent-2);
}

/* Selecionado (usa :has para “pintar” o label quando o radio estiver checked) */
.assinatura-page .assinatura-plano-card:has(.assinatura-plano-radio:checked) {
  border-color: rgba(22, 163, 74, 0.8);
  box-shadow: 0 16px 40px rgba(22, 163, 74, 0.18);
}

/* Checkbox de termos: volta a ser padrão claro (somente no bloco) */
.assinatura-page .assinatura-planos-wrap .form-check-input {
  border-color: rgba(100, 116, 139, 0.5);
}

.assinatura-page .assinatura-planos-wrap .form-check-input:checked {
  background-color: var(--ass-accent);
  border-color: var(--ass-accent);
}

.assinatura-page .assinatura-planos-wrap details {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 16px;
  padding: 0.75rem 0.9rem;
  background: rgba(248, 250, 252, 0.85);
}

.assinatura-page .assinatura-planos-wrap details summary {
  color: var(--ass-text);
  font-weight: 800;
}

/* Dark mode: mantém tema claro dentro do card (como no anexo) */
html.dark-mode .assinatura-page .assinatura-planos-wrap,
html.dark-mode .assinatura-page .assinatura-planos-wrap details {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ass-text);
}

.btn-anim {
  transition: all 0.3s ease;
}

.btn-anim:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.btn-gold {
  background: linear-gradient(45deg, #d4af37, #f5d76e);
  border: none;
  color: #000;
  font-weight: 600;
}

/* Botão enviar e-mail de aniversário: destaque em fundo escuro */
.btn-enviar-email-aniversario {
  background-color: #198754;
  border-color: #198754;
  color: #fff;
  font-weight: 500;
}
.btn-enviar-email-aniversario:hover {
  background-color: #157347;
  border-color: #146c43;
  color: #fff;
}

.btn-gold:hover {
  opacity: 0.9;
}

/* CTA público: teste grátis — destaque sem perder elegância (cabeçalho glass) */
.btn-cta-trial {
  background: linear-gradient(135deg, #c9a227 0%, #f0dc82 45%, #e8c547 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #1a1408 !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  box-shadow:
    0 2px 12px rgba(212, 175, 55, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.06) inset;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-cta-trial .btn-cta-trial-sub {
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.88;
  color: #2c2410;
}

.btn-cta-trial:hover {
  color: #0d0b05 !important;
  filter: brightness(1.04);
  box-shadow:
    0 6px 22px rgba(212, 175, 55, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.45) inset;
}

.btn-cta-trial:focus-visible {
  outline: 2px solid rgba(245, 215, 110, 0.9);
  outline-offset: 2px;
}

.pagination .page-link {
  border-radius: 10px;
  margin: 0 4px;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  transform: translateY(-2px);
}

.page-item.active .page-link {
  background: linear-gradient(45deg, #d4af37, #f5d76e);
  border: none;
  color: #000;
}

th a {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}

th a:hover {
  color: #d4af37;
}

/* Indicador “!” separado da palavra Stripe — abre modal explicativo */
.stripe-help-btn {
  cursor: pointer;
  flex: 0 0 auto;
  min-width: 1.35rem;
  min-height: 1.35rem;
  margin-left: 0.75rem !important;
  line-height: 1;
  vertical-align: middle !important;
  text-decoration: none !important;
  opacity: 0.9;
}
.stripe-help-btn:hover,
.stripe-help-btn:focus {
  opacity: 1;
}
/* Ícone “!” — abre o modal explicativo sobre o Stripe */
.stripe-help-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
html:not(.dark-mode) .glass-card .stripe-help-mark,
html:not(.dark-mode) .dropdown-menu .stripe-help-mark {
  background: rgba(13, 110, 253, 0.12);
  color: #0a58ca;
  border-color: rgba(13, 110, 253, 0.35);
}
/* Modal “Sobre o Stripe”: legível sobre fundos claros/escuros */
#stripeHelpModal .modal-content {
  border-radius: 16px;
}

/* ========== Faixa “Segurança e confiança” (antes do rodapé, layout main) ========== */
.trust-strip {
  position: relative;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.trust-strip::before {
  content: "";
  display: block;
  height: 1px;
  max-width: min(920px, 92vw);
  margin: 0 auto 1.25rem;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    rgba(212, 175, 55, 0.55),
    rgba(255, 255, 255, 0.35),
    transparent
  );
}

.trust-strip__intro {
  position: relative;
}

/* Logotipos ao lado do título (desktop); empilhados e centrados em ecrãs pequenos */
.trust-strip__brands--aside {
  padding: 0.35rem 0;
}

@media (min-width: 992px) {
  .trust-strip__brands--aside {
    padding: 0.25rem 0 0.25rem 0.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }
}

.trust-strip__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  padding: 0.5rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0f172a;
  background: linear-gradient(135deg, #f5d76e, #e8c547, #d4af37);
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.trust-strip__badge strong {
  color: #0f172a;
  font-weight: 800;
}

/* “?” do Stripe-help sobre fundo dourado do badge */
.trust-strip__badge .stripe-help-mark {
  background: rgba(15, 23, 42, 0.1);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.22);
}

.trust-strip__badge .stripe-help-btn {
  opacity: 1;
  vertical-align: middle !important;
}

.trust-strip__title {
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.2);
}

.trust-strip__subtitle {
  font-size: 0.9rem;
  line-height: 1.5;
}

.trust-strip__card {
  border-radius: 18px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.trust-strip .trust-strip__card.glass-section:hover {
  transform: translateZ(0) translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

html.dark-mode .trust-strip .trust-strip__card.glass-section:hover {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.trust-strip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  margin: 0 auto;
  font-size: 1.28rem;
  color: #f5d76e;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.trust-strip__card-title {
  letter-spacing: 0.01em;
}

.trust-strip__brands-label {
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.7rem !important;
}

.trust-strip__logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem;
  border-radius: 12px;
  transition: background 0.25s ease;
}

.trust-strip__logo-link:hover,
.trust-strip__logo-link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip__logo-link:focus-visible {
  outline: 2px solid rgba(245, 215, 110, 0.85);
  outline-offset: 3px;
}

.trust-strip__logo-img {
  height: 30px;
  width: auto;
  max-width: min(140px, 36vw);
  object-fit: contain;
  opacity: 0.94;
  transition: transform 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.28));
}

.trust-strip__logo-link:hover .trust-strip__logo-img,
.trust-strip__logo-link:focus-visible .trust-strip__logo-img {
  opacity: 1;
  transform: scale(1.05);
}

/* SVG Simple Icons: melhor contraste sobre o gradiente */
.trust-strip__logo-img--hostinger {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.28)) brightness(1.08);
}

.trust-strip__logo-img--stripe {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.28)) brightness(1.12) saturate(1.05);
}

html.dark-mode .trust-strip__logo-img--hostinger,
html.dark-mode .trust-strip__logo-img--stripe {
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5)) brightness(1.15);
}

@media (max-width: 575.98px) {
  .trust-strip__badge {
    font-size: 0.82rem;
    padding: 0.45rem 0.85rem;
  }
  .trust-strip__logo-img {
    height: 26px;
  }
}