/* Estilos customizados para electrocodeOS.html */

body,
html {
  padding-top: 0;
  margin: 0;
}

/* Add padding for desktop */
@media (min-width: 992px) {

  body,
  html {
    padding-top: 8px;
  }
}

#header .container-fluid {
  justify-content: space-between !important;
}

#header .navmenu {
  margin-left: auto;
  margin-right: 0;
}

@media (min-width: 1200px) {
  #header .navmenu {
    max-width: 70%;
  }

  /* Estilo ativo do menu desktop - fundo amarelo/laranja */
  .navmenu .active,
  .navmenu .active:focus {
    background-color: var(--nav-hover-color);
  }
}

#electrocodeOSCarousel {
  max-width: 1000px;
  margin: 0 auto;
}

.video-frame-shadow {
  box-shadow: 0px 30px 90px rgba(0, 0, 0, 0.6) !important;
  position: relative;
  z-index: 1;
}

.overflow-visible-important {
  overflow: visible !important;
}

.text-carousel-section {
  margin: 0 !important;
  padding: 0 !important;
}

#textCarouselDisplay {
  font-size: 1.5rem;
  font-weight: 500;
  color: #333;
  transition: opacity 0.5s ease-in-out;
  min-height: auto;
  display: block;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  text-align: center;
  margin: 0 !important;
  line-height: 1;
}

@media (max-width: 768px) {
  #textCarouselDisplay {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  #textCarouselDisplay {
    font-size: 1rem;
  }
}

.user-access-section {
  margin: 3rem 0;
}

.user-types-container {
  margin-top: 2rem;
}

.user-type-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.user-type-header {
  background: linear-gradient(135deg, #031a9c, #2e86de);
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.user-type-header h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.user-type-header i {
  margin-right: 10px;
  font-size: 1.2rem;
}

.user-type-content {
  padding: 2rem;
}

.access-section {
  margin-bottom: 1.5rem;
}

.access-section:last-child {
  margin-bottom: 0;
}

.access-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.access-section h4 i {
  margin-right: 8px;
  font-size: 1rem;
}

.access-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.access-section ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
  color: #555;
}

.access-section ul li:last-child {
  border-bottom: none;
}

.user-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .user-types-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .user-type-header h3 {
    font-size: 1.2rem;
  }

  .user-type-content {
    padding: 1.5rem;
  }

  .access-section h4 {
    font-size: 1rem;
  }

  .access-section ul li {
    font-size: 0.9rem;
  }
}

.comparison-table {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 1.5px 6px rgba(0, 0, 0, 0.10);
  border-radius: 24px;
}

.no-shadow {
  box-shadow: none !important;
}

.btn-group {
  gap: 18px;
}

.btn-group .toggle-btn {
  border-radius: 12px !important;
  font-weight: 500;
  min-width: 110px;
  font-size: 1.1rem;
  border: 2px solid #031a9c;
  color: #031a9c;
  background: #fff;
  transition: background 0.2s, color 0.2s;
  margin: 0;
}

.btn-group .toggle-btn.active,
.btn-group .toggle-btn:active {
  background: #031a9c !important;
  color: #fff !important;
  border-color: #031a9c !important;
}

.btn-group .toggle-btn:not(.active):hover {
  background: #e6eaff;
  color: #031a9c;
}

.price-desc {
  color: #fff !important;
  font-weight: 500;
  text-align: center;
  margin-bottom: 0.5rem;
}

.card-badge.recommended {
  position: absolute !important;
  right: -32px;
  top: 16px;
  background: #28a745;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 36px;
  border-radius: 0 0 0 8px;
  transform: rotate(45deg);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  letter-spacing: 0.5px;
  text-align: center;
  white-space: nowrap;
}

.price-card {
  position: relative;
}

/* --- Estilos migrados do inline do HTML --- */

.logo-img {
  width: 54px !important;
  height: auto !important;
  margin-right: 12px !important;
  vertical-align: middle;
}

.logo-link {
  color: #fff;
  text-decoration: none;
}

#textCarouselDisplay.no-padding {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.video-section-shadow {
  box-shadow: 0px 40px 120px rgba(0, 0, 0, 0.8) !important;
  position: relative;
  z-index: 1;
}

.demo-video {
  max-height: 400px;
  height: auto;
}

.price-desc-sm {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.table-responsive.mb-3rem {
  margin-bottom: 3rem;
}

.table-responsive.mb-5rem {
  margin-bottom: 5rem;
}

.icon-success {
  color: #28a745;
}

.icon-danger {
  color: #dc3545;
}

/* Forçar menu maior e mais legível no header */
/* Removido para manter consistência com index.html */

.top-dark-section .container {
  padding: 10px 20px 10px 20px;
}

/* ===== ESTILOS ESPECÍFICOS DO FOOTER PARA GARANTIR CONSISTÊNCIA ===== */
/* Usando os valores exatos do main.css e removendo qualquer margem/padding extra */

.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15px;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
  margin-bottom: 0;
}

.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-top: 0;
  margin-bottom: 0;
}

.footer .cnpj {
  background: none !important;
  padding: 12px 0;
  text-align: center;
  font-size: 12px;
  color: #fff;
  margin-top: 0;
  opacity: 0.7;
}

.footer .container {
  margin: 0 auto;
  padding: 0;
  max-width: 1000px;
}

/* --- Hero/topo ElectroCodeOS --- */
#topDarkSection {
  min-height: 100vh !important;
  padding-top: 250px !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.electrocodeos-hero {
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}

.electrocodeos-hero-title {
  font-size: 1.rem;
  font-weight: 400;
  margin-bottom: 0;
}

.electrocodeos-hero-subtitle {
  font-size: 1.18rem;
  margin-bottom: 0;
}

.electrocodeos-telas-btn {
  border-radius: 32px;
  font-family: 'Poppins', Arial, sans-serif;
  letter-spacing: 0.5px;
  margin-top: 0.5rem;
}

@media (max-width: 991px) {
  #topDarkSection {
    padding-top: 24px !important;
  }

  .logo-img {
    max-width: 80px;
  }
}

@media (max-width: 600px) {
  #topDarkSection {
    padding-top: 12px !important;
  }

  .logo-img {
    max-width: 60px;
  }
}

/* ===== CARROSSEL SWIPER DE TELAS DO SISTEMA ===== */
#telasCarrosselContainer {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
}

.telas-swiper {
  width: 100%;
  padding: 40px 50px !important;
}

/* Cards das telas */
.tela-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(3, 26, 156, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 16px;
  height: 100%;
}

.tela-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(3, 26, 156, 0.2);
  background: #f8f9fa;
}

.tela-card img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #f8f9fa;
  padding: 8px;
}

.tela-card .tela-nome {
  font-size: 0.95rem;
  font-weight: 600;
  color: #031a9c;
  text-align: center;
  line-height: 1.3;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Controles de navegação do Swiper */
.telas-swiper .swiper-button-next,
.telas-swiper .swiper-button-prev {
  color: #031a9c;
  background: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(3, 26, 156, 0.15);
  transition: all 0.3s ease;
}

.telas-swiper .swiper-button-next:after,
.telas-swiper .swiper-button-prev:after {
  font-size: 20px;
  font-weight: 900;
}

.telas-swiper .swiper-button-next:hover,
.telas-swiper .swiper-button-prev:hover {
  background: #031a9c;
  color: #ffffff;
  transform: scale(1.1);
}

/* Paginação do Swiper */
.telas-swiper .swiper-pagination {
  bottom: 0 !important;
}

.telas-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #031a9c;
  opacity: 0.3;
  transition: all 0.3s ease;
}

.telas-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  width: 24px;
  border-radius: 5px;
}

/* Responsividade */
@media (max-width: 768px) {
  .telas-swiper {
    padding: 30px 40px !important;
  }

  .tela-card img {
    height: 120px;
  }

  .tela-card .tela-nome {
    font-size: 0.85rem;
    min-height: 36px;
  }

  .telas-swiper .swiper-button-next,
  .telas-swiper .swiper-button-prev {
    width: 36px;
    height: 36px;
  }

  .telas-swiper .swiper-button-next:after,
  .telas-swiper .swiper-button-prev:after {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .telas-swiper {
    padding: 20px 30px !important;
  }

  .tela-card {
    padding: 12px;
  }

  .tela-card img {
    height: 100px;
  }

  .tela-card .tela-nome {
    font-size: 0.8rem;
    min-height: 32px;
  }
}

#header {
  z-index: 100 !important;
  /* border: 4px solid red !important; */
}

#topDarkSection {
  padding-top: 160px !important;
}

.electrocodeos-telas-btn {
  margin-top: 3.5rem !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 99 !important;
  background: linear-gradient(90deg, #031a9c 0%, #1e3a8a 100%) !important;
  color: #fff !important;
}

/* ===== MENU MOBILE - IGUAL AO INDEX.HTML ===== */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 9999;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: #333333;
    padding: 8px 20px;
    font-size: 14px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    border-radius: 50px;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu li {
    position: relative;
    margin-left: 5px;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/* Corrige cor dos links do menu mobile para garantir contraste */
@media (max-width: 1199px) {

  .navmenu ul a,
  .navmenu ul a:focus,
  .navmenu ul a:visited {
    color: #222 !important;
    font-weight: 600 !important;
    background-color: transparent;
  }

  .navmenu ul a:hover,
  .navmenu ul .active,
  .navmenu ul .active:focus {
    color: #ef6603 !important;
    font-weight: 600 !important;
  }
}

/* ===== FIM MENU MOBILE ===== */

/* Modal de miniaturas com efeito Glassmorphism Dark */
#modalTelasSistema .modal-dialog {
  max-width: 1100px !important;
  margin: 1.5rem auto !important;
}

#modalTelasSistema .modal-content {
  background: rgba(15, 23, 42, 0.95) !important;
  /* Fundo escuro profundo */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  overflow: hidden;
}

#modalTelasSistema .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding: 1.5rem 2rem !important;
  background: rgba(255, 255, 255, 0.02);
}

#modalTelasSistema .modal-title {
  color: #fff !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

#modalTelasSistema .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

#modalTelasSistema .btn-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

#modalTelasSistema .modal-body {
  padding: 2rem 0 !important;
  background: radial-gradient(circle at center, rgba(3, 26, 156, 0.08) 0%, transparent 70%);
}

#telasCarrosselContainer {
  display: block !important;
  width: 100%;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  min-height: auto !important;
}

/* ===== MODAL TELAS DO SISTEMA - RESPONSIVO ===== */
.telas-modal-body {
  min-height: 400px;
  padding: 0;
  display: flex;
  align-items: center;
}

/* ===== CARROSSEL SWIPER DE TELAS DO SISTEMA ===== */
.telas-swiper {
  width: 100%;
  padding: 20px 60px 50px 60px !important;
  /* Espaço para setas e paginação */
}

/* Cards das telas - Design Premium */
.tela-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  box-shadow: none;
  padding: 0;
  height: auto;
  aspect-ratio: 16/10;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tela-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(3, 26, 156, 0.5);
}

.card-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.tela-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  border-radius: 0;
  margin: 0;
  background: #1e293b;
  padding: 0;
}

.tela-card:hover img {
  transform: scale(1.1);
}

/* Overlay com gradiente e texto */
.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.tela-card:hover .card-overlay {
  transform: translateY(0);
}

.tela-card .tela-nome {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  margin: 0;
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
}

.tela-card:hover .tela-nome {
  opacity: 1;
}

/* Controles de navegação do Swiper - Minimalistas */
.telas-swiper .swiper-button-next,
.telas-swiper .swiper-button-prev {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.telas-swiper .swiper-button-next:after,
.telas-swiper .swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

.telas-swiper .swiper-button-next:hover,
.telas-swiper .swiper-button-prev:hover {
  background: #031a9c;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(3, 26, 156, 0.6);
}

/* Paginação do Swiper */
.telas-swiper .swiper-pagination {
  bottom: 10px !important;
}

.telas-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.telas-swiper .swiper-pagination-bullet-active {
  background: #031a9c;
  width: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(3, 26, 156, 0.5);
}

/* Responsividade */
@media (max-width: 768px) {
  .telas-swiper {
    padding: 20px 30px 40px 30px !important;
  }

  .tela-card .card-overlay {
    transform: translateY(0);
    /* Sempre visível no mobile */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 10px;
  }

  .tela-card .tela-nome {
    opacity: 1;
    font-size: 0.8rem;
  }
}

/* Floating WhatsApp Button */
.float-whatsapp {
  position: fixed;
  width: 140px;
  height: 60px;
  bottom: 70px;
  right: 20px;
  background-color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0;

  /* Initial hidden state */
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.float-whatsapp.float-btn-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  /* Let animation take over */
  animation: pulse-green 2s infinite;
}

.float-whatsapp i {
  font-size: 24px;
  margin-right: 8px;
}

.float-whatsapp:hover {
  background-color: #128c7e;
  color: #FFF;
  transform: scale(1.05);
}

.my-float {
  margin-top: 0px;
}

/* Floating Teste Button */
.float-teste {
  position: fixed;
  width: 140px;
  height: 60px;
  bottom: 140px;
  /* Above WhatsApp button (70 + 60 + 10) */
  right: 20px;
  background: linear-gradient(135deg, #031a9c, #2e86de);
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);

  /* Initial hidden state */
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.float-teste.float-btn-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.float-teste i {
  font-size: 24px;
  margin-right: 8px;
}

.float-teste:hover {
  background: linear-gradient(135deg, #021270, #1c6cbd);
  color: #FFF;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(3, 26, 156, 0.3);
}

/* WhatsApp Modal - Título branco no header verde */
.modal-header.bg-success .modal-title {
  color: #fff !important;
}

/* Pulse Animation */
@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Animation applied in .float-btn-visible state */

/* Adjust scroll-top position if needed to avoid overlap, or keep them side by side */
#scroll-top {
  bottom: 20px;
  right: 20px;
}

/* Fix for Comparison Table on Mobile */
@media (max-width: 768px) {

  .comparison-table th,
  .comparison-table td {
    font-size: 0.75rem;
    /* Reduce font size */
    padding: 0.4rem;
    /* Reduce padding */
    vertical-align: middle;
  }

  .comparison-table th:first-child,
  .comparison-table td:first-child {
    min-width: 100px;
    /* Ensure first column has enough width */
    position: sticky;
    left: 0;
    background: #fff;
    /* Keep background to avoid transparency issues when scrolling */
    z-index: 10;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  }

  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Fix for Section Title Overlap */
  .section-title h2 {
    line-height: 1.5 !important;
    /* Fix overlap caused by line-height: 1px in main.css */
    margin-bottom: 10px;
  }

  .section-title p {
    font-size: 1.5rem;
    /* Adjust size for mobile */
    line-height: 1.3;
  }
}

@media (max-width: 768px) {
  .telas-grid-container {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
  }
}

@media (max-width: 576px) {
  .telas-grid-container {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.5rem;
  }
}

.tela-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 160px;
  height: auto;
  cursor: pointer;
  border-radius: 12px;
  background: #f8f9fa;
  box-shadow: 0 2px 12px rgba(3, 26, 156, 0.07);
  transition: box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
  padding: 10px 8px 12px 8px;
  border: 3px solid rgb(55, 54, 53);
}

@media (max-width: 576px) {
  .tela-thumb {
    max-width: 120px;
    padding: 8px 6px 10px 6px;
    border-width: 2px;
  }
}

.tela-thumb:hover {
  box-shadow: 0 6px 24px rgba(3, 26, 156, 0.16);
  background: #e9ecef;
  transform: translateY(-4px) scale(1.04);
}

@media (max-width: 576px) {
  .tela-thumb:hover {
    transform: translateY(-2px) scale(1.02);
  }
}

.tela-thumb img {
  width: 100% !important;
  height: 100px !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  margin-bottom: 8px !important;
  background: #fff !important;
  box-shadow: 0 1px 4px rgba(3, 26, 156, 0.06) !important;
  opacity: 1 !important;
  display: block !important;
}

/* --- Extracted from inline styles --- */

/* Ajuste da altura da div cinza do vídeo - ainda mais compacto */
.video-section-shadow {
  padding: 0.5rem 0.7rem 0.3rem 0.7rem !important;
  min-height: unset !important;
}

@media (max-width: 600px) {
  .video-section-shadow {
    padding: 0.2rem 0.2rem 0.1rem 0.2rem !important;
  }
}

.btn-gradient-telas {
  background: linear-gradient(90deg, #031a9c 0%, #1e3a8a 100%);
  color: #fff;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
  font-size: 1.18rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-gradient-telas:hover,
.btn-gradient-telas:focus {
  background: linear-gradient(90deg, #1e3a8a 0%, #031a9c 100%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  outline: none;
}

/* Modal Fixes */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.6) !important;
}

.modal {
  overflow-y: auto;
}

.modal-content {
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .modal-dialog {
    margin: 0.5rem;
    width: auto;
  }
}

/* Estilos para o modal de escolha */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease;
}

.card {
  transition: all 0.3s ease;
  border: 1px solid #e9ecef !important;
}

.card .btn:hover {
  transform: scale(1.05);
  transition: all 0.2s ease;
}

/* New classes for inline styles */
.sales-module-info {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 32px 24px;
  margin-bottom: 30px;
  border: 1px solid #e9ecef;
  text-align: center;
  font-family: 'Poppins', Arial, sans-serif;
}

.sales-module-title {
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #222;
}

.sales-module-icon {
  margin-right: 12px;
  color: #031a9c;
}

.sales-module-text {
  font-size: 1.1rem;
  margin-bottom: 0;
  color: #444;
  line-height: 1.6;
}

.mobile-access-info {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 32px 24px;
  margin-bottom: 30px;
  border: 1px solid #e9ecef;
  font-family: 'Poppins', Arial, sans-serif;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.mobile-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.mobile-image {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
}

.mobile-image img {
  max-width: 40%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.device-access-info {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 32px 24px;
  margin-bottom: 30px;
  border: 1px solid #e9ecef;
  font-family: 'Poppins', Arial, sans-serif;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.device-image-left {
  flex: 1;
  min-width: 180px;
  max-width: 380px;
  text-align: center;
}

.device-text {
  flex: 2;
  min-width: 300px;
  max-width: 600px;
  text-align: center;
}

.device-image-right {
  flex: 1;
  min-width: 80px;
  max-width: 220px;
  text-align: center;
}

.device-image-left img,
.device-image-right img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  object-fit: contain;
}

.whatsapp-photos-info {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 32px 24px;
  margin-bottom: 30px;
  border: 1px solid #e9ecef;
  font-family: 'Poppins', Arial, sans-serif;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.whatsapp-photos-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.whatsapp-photos-image {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
}

.whatsapp-photos-image img {
  max-width: 80%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.whatsapp-orcamento-recibo-info {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 32px 24px;
  margin-bottom: 30px;
  border: 1px solid #e9ecef;
  font-family: 'Poppins', Arial, sans-serif;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.whatsapp-orcamento-recibo-image {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
}

.whatsapp-orcamento-recibo-image img {
  max-width: 80%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.whatsapp-orcamento-recibo-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.etiquetas-organizacao-info {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 32px 24px;
  margin-bottom: 30px;
  border: 1px solid #e9ecef;
  font-family: 'Poppins', Arial, sans-serif;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.etiquetas-organizacao-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.etiquetas-organizacao-image {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
}

.etiquetas-organizacao-image img {
  max-width: 80%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.thermal-printing-info {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 32px 24px;
  margin-bottom: 30px;
  border: 1px solid #e9ecef;
  font-family: 'Poppins', Arial, sans-serif;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.thermal-printing-image {
  flex: 0 0 150px;
  max-width: 150px;
  text-align: center;
}

.thermal-printing-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.thermal-printing-text {
  flex: 1;
  min-width: 200px;
  text-align: left;
}

.combined-action-section {
  background: #fff;
  color: #222;
  padding: 48px 0 40px 0;
  text-align: center;
  margin: 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.action-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 32px 24px;
  height: 100%;
  border: 1px solid #e9ecef;
}

.action-card-title {
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #222;
}

.action-card-text {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: #444;
  line-height: 1.6;
}

.btn-action-lg {
  background: #031a9c;
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 25px;
  box-shadow: 0 2px 12px rgba(3, 26, 156, 0.08);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-action-lg:hover {
  background: linear-gradient(135deg, #3b82f6, #1e40af) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(3, 26, 156, .4);
}

.electrocodeos-telas-btn:hover {
  background: linear-gradient(135deg, #3b82f6, #1e40af) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(3, 26, 156, .4);
}

.privacy-policy-section {
  background: #fff;
  color: #222;
  padding: 48px 0 40px 0;
  text-align: center;
  margin: 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.privacy-modal-content {
  border-radius: 15px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.privacy-modal-header {
  background: linear-gradient(135deg, #031a9c 0%, #1e3a8a 100%);
  color: white;
  border-radius: 15px 15px 0 0;
  border: none;
  padding: 20px 30px;
}

.privacy-modal-title {
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  margin: 0;
}

.privacy-modal-body {
  padding: 30px;
  line-height: 1.7;
}

.privacy-modal-footer {
  border-top: 1px solid #e9ecef;
  padding: 15px 30px;
}

.btn-privacy-close {
  background: #031a9c;
  border: none;
  border-radius: 25px;
  padding: 10px 25px;
}

.section-title-h4 {
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #222;
}

.section-text-p {
  font-size: 1.1rem;
  margin-bottom: 0;
  color: #444;
  line-height: 1.6;
}

.section-text-p-mt {
  font-size: 1.1rem;
  margin-top: 10px;
  margin-bottom: 0;
  color: #444;
  line-height: 1.6;
}

/* Utility Classes for Refactoring */
.spacer-48 {
  height: 48px;
}

.mb-3-5rem {
  margin-bottom: 3.5rem;
}

.mt-48 {
  margin-top: 48px;
}

.link-dark-no-decoration {
  color: #000000;
  text-decoration: none;
}

.mr-8 {
  margin-right: 8px !important;
}

.mr-12 {
  margin-right: 12px !important;
}

/* Privacy Policy Modal Styles */
.privacy-policy-title {
  font-weight: 700;
  color: #333;
}

.privacy-policy-subtitle {
  font-weight: 600;
  color: #031a9c;
  margin-top: 20px;
}

.custom-modal-content {
  border-radius: 15px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.custom-modal-header {
  background: linear-gradient(135deg, #031a9c 0%, #1e3a8a 100%);
  color: white;
  border-radius: 15px 15px 0 0;
  border: none;
  padding: 20px 30px;
}

.custom-modal-title {
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  margin: 0;
}

.custom-modal-body {
  padding: 30px;
  line-height: 1.7;
}

.custom-modal-footer {
  border-top: 1px solid #e9ecef;
  padding: 15px 30px;
}

.custom-modal-close-btn {
  background: #031a9c;
  border: none;
  border-radius: 25px;
  padding: 10px 25px;
}

/* ===== MODAL TELA CHEIA (ZOOM) - DESIGN IMERSIVO ===== */
#modalTelaCheia .modal-dialog {
  max-width: 100%;
  margin: 0;
  height: 100%;
}

#modalTelaCheia .modal-content {
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  border-radius: 0;
  height: 100%;
}

#modalTelaCheia .modal-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  background: transparent;
  border: none;
  padding: 20px;
}

#modalTelaCheia .modal-title {
  display: none;
  /* Título será mostrado abaixo da imagem */
}

#modalTelaCheia .btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 0.8;
  transition: all 0.3s ease;
  background-size: 1.5rem;
}

#modalTelaCheia .btn-close-white:hover {
  opacity: 1;
  transform: rotate(90deg) scale(1.1);
}

.tela-cheia-modal-body {
  height: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tela-cheia-image-container {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1040;
}

.tela-cheia-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s ease;
}

/* Navegação Flutuante */
.tela-cheia-navigation-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
  /* Permite clicar na imagem/fundo */
}

.tela-nav-btn {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.tela-nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.tela-nav-btn:active {
  transform: scale(0.95);
}

/* Título Flutuante */
.tela-cheia-title-container {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 1050;
  pointer-events: none;
}

.tela-cheia-title {
  display: inline-block;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  padding: 10px 24px;
  border-radius: 30px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsividade */
@media (max-width: 768px) {
  .tela-nav-btn {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }

  .tela-cheia-navigation-container {
    padding: 0 10px;
  }

  .tela-cheia-image {
    max-width: 95vw;
  }

  .tela-cheia-title {
    font-size: 0.9rem;
    padding: 8px 16px;
    max-width: 90%;
  }
}

/* Nova Seção: Organização (Texto + Imagem Direita) - Inserido aqui para evitar conflito de escopo */
.organization-info {
  background: #f8f9fa !important;
  border-radius: 12px;
  padding: 32px 24px;
  margin-bottom: 30px;
  border: 1px solid #e9ecef !important;
  font-family: 'Poppins', Arial, sans-serif;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.organization-text {
  flex: 1;
  min-width: 250px;
  text-align: left;
}

.organization-image {
  flex: 0 0 550px !important;
  max-width: 550px !important;
  text-align: center;
}

.organization-image img {
  width: 100% !important;
  height: auto;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  /* Borda suave substitui a sombra para evitar aspecto preto */
  box-shadow: none !important;
  /* Remove sombra que pode parecer borda preta */
  display: block;
}

/* Mobile adjustments for Floating Buttons */
@media (max-width: 768px) {
  .float-whatsapp {
    width: 100px;
    height: 40px;
    bottom: 70px;
    right: 15px;
    font-size: 12px;
  }

  .float-whatsapp i {
    font-size: 18px;
    margin-right: 5px;
  }

  .float-teste {
    width: 100px;
    height: 40px;
    bottom: 120px;
    right: 15px;
    font-size: 12px;
  }

  .float-teste i {
    /* Slightly smaller rocket */
    margin-right: 5px;
  }

  /* Ajuste para imagem de organização não estourar no mobile */
  .organization-image {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-top: 20px;
  }
}

/* CSS movido para cima para garantir carregamento correto */