:root {
  --i9-danger: #dc3545;
  --i9-dark: #111827; /* Preto executivo e imponente no topo */
  --i9-paz-bg: #f4f7fa; /* Fundo azul-gelo suave que transmite estabilidade e paz */
  --i9-blue-trust: #2563eb;
  --i9-green-safe: #16a34a;
}

body {
  background-color: var(--i9-paz-bg);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Tarja de Aviso Superior */
.top-notice-bar {
  background-color: #e0f2fe;
  color: #0369a1;
  font-size: 0.9rem;
  border-bottom: 1px solid #bae6fd;
}

/* ==================================================== */
/* BARRA DE LINKS CLÁSSICOS (NO TOPO)                  */
/* ==================================================== */
.classic-links-bar .btn-classic {
  border-radius: 8px;   /* menos arredondado */
  font-size: 0.95rem;   /* um pouco maior */
  padding: 10px 20px;   /* mais espaço interno */
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.classic-links-bar .btn-classic:hover {
  transform: translateY(-1px);
  filter: brightness(0.95);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12) !important;
}

/* Navbar Executiva */
.navbar-saas {
  background-color: var(--i9-dark);
  border-bottom: 1px solid #1f2937;
  padding: 14px 0;
}

.navbar-saas .nav-link {
  color: #9ca3af !important;
  transition: color 0.2s;
}

.navbar-saas .nav-link:hover,
.navbar-saas .nav-link.active {
  color: #ffffff !important;
}

/* ==================================================== */
/* ÁREA DO CLIENTE & BOTÕES SAAS (DESKTOP NATÍVO)       */
/* ==================================================== */
#container-acessos-rapidos {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto; /* Empurra para a direita se estiver no fluxo flex */
}

.saas-label-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.saas-buttons-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* BOTÕES SAAS EXECUTIVOS (Premium & High-Tech) */
.nav-saas-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-decoration: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

/* Estilo para Cantina Escolar (Verde Neon Tech) */
.nav-saas-link.saas-success {
  color: #4ade80 !important;
  border-color: rgba(74, 222, 128, 0.15);
}
.nav-saas-link.saas-success:hover {
  background: rgba(74, 222, 128, 0.08);
  border-color: #4ade80;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.2);
  transform: translateY(-1px);
}

/* Estilo para Distribuidora (Azul Tech Moderno) */
.nav-saas-link.saas-primary {
  color: #60a5fa !important;
  border-color: rgba(96, 165, 250, 0.15);
}
.nav-saas-link.saas-primary:hover {
  background: rgba(96, 165, 250, 0.08);
  border-color: #60a5fa;
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.2);
  transform: translateY(-1px);
}

/* Microinteração do Ícone */
.nav-saas-link i {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}
.nav-saas-link:hover i {
  transform: translateX(2px);
}

/* Modais Personalizados */
.modal-classic-style .modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ==================================================== */
/* SEÇÃO 1: HERO - O CENÁRIO DE PÂNICO                 */
/* ==================================================== */
.hero-v1 {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-color: #0f172a;
  overflow: hidden;
  padding: 100px 0;
}

.hero-v1::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("../../assets/img/banner/salao.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.75;
  pointer-events: none;
  z-index: 1;
}

.hero-v1::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle,
    rgba(15, 23, 42, 0.4) 0%,
    rgba(15, 23, 42, 0.75) 70%,
    rgba(15, 23, 42, 0.9) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.btn-warning-gold {
  background-color: #ffc107;
  color: #000000;
  font-weight: 700;
  border: none;
  transition: all 0.2s ease;
}
.btn-warning-gold:hover {
  background-color: #ffb300;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

/* ==================================================== */
/* SEÇÃO 2: TRANSIÇÃO SUAVE E COMPACTA                  */
/* ==================================================== */
.bg-tech-section {
  background-color: var(--i9-paz-bg) !important;
  padding: 80px 0;
}

.tech-title {
  color: #0f172a;
  font-size: 2.3rem;
  letter-spacing: -0.5px;
}

.feature-card-clean {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.05) !important;
  border-radius: 20px;
  box-shadow:
    0 10px 25px -5px rgba(15, 23, 42, 0.02),
    0 8px 10px -6px rgba(15, 23, 42, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2.2rem 2rem !important;
}
.feature-card-clean:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -5px rgba(15, 23, 42, 0.06);
}

.card-trust-blue {
  border-top: 4px solid var(--i9-blue-trust) !important;
}
.card-safe-green {
  border-top: 4px solid var(--i9-green-safe) !important;
}
.card-flow-cyan {
  border-top: 4px solid #06b6d4 !important;
}

.icon-box-paz {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.icon-box-paz-blue {
  background-color: #eff6ff;
  color: var(--i9-blue-trust);
}
.icon-box-paz-green {
  background-color: #f0fdf4;
  color: var(--i9-green-safe);
}
.icon-box-paz-cyan {
  background-color: #ecfeff;
  color: #0891b2;
}

/* ==================================================== */
/* SEÇÃO 3: ALÍVIO, TECNOLOGIA REINANDO (CLARA)         */
/* ==================================================== */
.cta-section-clear {
  background-color: #ffffff;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding: 90px 0;
}

.img-container-estabilidade {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.05);
}
.img-container-estabilidade img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.img-container-estabilidade:hover img {
  transform: scale(1.02);
}

.badge-status-online {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--i9-green-safe);
  color: #ffffff;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
  font-size: 0.85rem;
  z-index: 5;
}

/* ==================================================== */
/* AJUSTES EXCLUSIVOS PARA DISPOSITIVOS MÓVEIS          */
/* ==================================================== */

@media (max-width: 991.98px) {
  #container-acessos-rapidos {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 8px;
    margin: 12px 0 4px 0;
  }

  .w-100-mobile {
    width: 100% !important;
    display: block;
  }

  .saas-buttons-row {
    display: flex !important;
    width: 100% !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding-bottom: 4px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .saas-buttons-row::-webkit-scrollbar {
    display: none;
  }

  .nav-saas-link {
    padding: 8px 16px !important;
    font-size: 0.8rem !important;
  }
}
