/* ==========================================================================
   SPAÇO NETT - PORTAL DE PRESTAÇÃO DE SERVIÇOS TÉCNICOS & ENGENHARIA DE TI
   Design 100% Responsivo, Proporcional, Sem Transbordamento (Mobile-First)
   ========================================================================== */

:root {
  /* Brand Core Palette */
  --color-primary: #0284c7;       /* Azul Técnico Confiável */
  --color-primary-hover: #0369a1;
  --color-primary-dark: #0c4a6e;
  --color-accent-cyan: #06b6d4;
  --color-accent-glow: rgba(6, 182, 212, 0.25);
  
  /* Amber Accent (Destaque Principal) */
  --color-amber: #f59e0b;         /* Amarelo Ouro Técnico */
  --color-amber-hover: #d97706;
  --color-amber-light: #fbbf24;
  --color-amber-glow: rgba(245, 158, 11, 0.35);
  --color-amber-subtle: rgba(245, 158, 11, 0.12);

  --color-success: #16a34a;       /* Verde Garantia e Disponibilidade */
  --color-success-hover: #15803d;
  --color-warning: #ea580c;       /* Alerta Emergencial */
  
  /* Theme Backgrounds */
  --bg-main: #0a0e17;
  --bg-surface: #111827;
  --bg-card: #141c2e;
  --bg-card-hover: #1a253d;
  --bg-subtle: #0f1523;

  /* Typography Colors */
  --text-title: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Borders & Dividers */
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(245, 158, 11, 0.35);
  --border-accent: rgba(245, 158, 11, 0.3);

  /* Radius & Shadows */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --shadow-card: 0 8px 20px -4px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 16px 30px -8px rgba(0, 0, 0, 0.65), 0 0 20px rgba(245, 158, 11, 0.15);

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition-normal: 0.2s ease;
}

/* Global Reset & Anti-Overflow */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative;
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-title);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-normal);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 15%, #fbbf24 65%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   TOP BAR: CONTATO & STATUS (SLIM & PROPORCIONAL)
   ========================================================================== */
.top-contact-bar {
  background: #060910;
  border-bottom: 1px solid var(--border-card);
  padding: 0.35rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.top-bar-items-desktop {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-item i {
  color: var(--color-accent-cyan);
  font-size: 0.85rem;
}

.top-bar-status-area {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.top-item-badge {
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.3);
  color: #4ade80;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.top-item-plantao {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #38bdf8;
  font-weight: 600;
  font-size: 0.78rem;
  white-space: nowrap;
}

.top-item-plantao:hover {
  color: #ffffff;
}

.status-indicator-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  position: relative;
  display: inline-block;
  animation: pulse-dot 1.8s infinite;
}

.status-indicator-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid #22c55e;
  animation: radar-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes radar-ping {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(2.8); opacity: 0; }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* ==========================================================================
   NAVBAR (SLIM & PROPORCIONAL)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-card);
  padding: 0.65rem 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(10, 14, 23, 0.98);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(245, 158, 11, 0.15);
  border-bottom-color: rgba(245, 158, 11, 0.25);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-icon-shield {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-amber), var(--color-amber-hover));
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b111e;
  font-size: 1.1rem;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-title span {
  color: var(--color-amber);
}

.brand-subtitle {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-menu a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #ffffff;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-xs);
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   BUTTON SYSTEM (PADRONIZADO E HARMÔNICO)
   ========================================================================== */
.btn-service {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  text-align: center;
  line-height: 1;
}

/* Tamanhos Padronizados */
.btn-sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.825rem;
  border-radius: var(--radius-xs);
}

.btn-md {
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 0.925rem;
  font-weight: 700;
}

/* Cores de Botões */
.btn-service-primary {
  background: linear-gradient(135deg, var(--color-amber) 0%, var(--color-amber-hover) 100%);
  color: #0b111e;
  font-weight: 700;
  border: 1px solid rgba(251, 191, 36, 0.5);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  position: relative;
  overflow: hidden;
}

/* Efeito Shimmer de Luz no Botão Principal */
.btn-service-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -90%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: btn-shimmer 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes btn-shimmer {
  0%, 75% { left: -90%; }
  100% { left: 180%; }
}

.btn-service-primary:hover {
  background: linear-gradient(135deg, var(--color-amber-light) 0%, var(--color-amber) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.5);
  border-color: #fef3c7;
  color: #050811;
}

.btn-service-whatsapp {
  background: var(--color-success);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(22, 163, 74, 0.3);
}

.btn-service-whatsapp:hover {
  background: var(--color-success-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.45);
  color: #ffffff;
}

.btn-service-outline {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border: 1px solid var(--border-card);
}

.btn-service-outline:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: var(--color-amber);
  color: var(--color-amber-light);
  transform: translateY(-2px);
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.2);
}

/* ==========================================================================
   HERO SECTION (PROPORCIONAL, INTERATIVO & RESPONSIVO)
   ========================================================================== */
.hero-services {
  padding: 3.5rem 0 2.75rem;
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.08) 0%, rgba(2, 132, 199, 0.06) 45%, transparent 70%);
  border-bottom: 1px solid var(--border-card);
  overflow: hidden;
}

/* Cyber Grid Background */
.tech-grid-bg {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center center;
}

/* Canvas Interativo de Partículas & Nós de Rede */
.hero-network-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.75;
}

/* Orbes Luminosos Flutuantes (Profundidade & Atmosfera) */
.ambient-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  pointer-events: none;
  z-index: 0;
  animation: orb-float 10s ease-in-out infinite alternate;
}

.ambient-orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.16) 0%, transparent 70%);
  top: -120px;
  left: 12%;
}

.ambient-orb-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.14) 0%, transparent 70%);
  top: 10%;
  right: 5%;
  animation-delay: -5s;
}

@keyframes orb-float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -25px) scale(1.08); }
  100% { transform: translate(-25px, 20px) scale(0.94); }
}

.hero-container-content {
  position: relative;
  z-index: 2;
}

.hero-header-area {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.25rem;
}

.badge-service-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.95rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-full);
  color: var(--color-amber-light);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  max-width: 100%;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.12);
  animation: badge-pulse 3.5s ease-in-out infinite alternate;
}

@keyframes badge-pulse {
  0% { box-shadow: 0 0 10px rgba(245, 158, 11, 0.08); border-color: rgba(245, 158, 11, 0.3); }
  100% { box-shadow: 0 0 22px rgba(245, 158, 11, 0.3); border-color: rgba(245, 158, 11, 0.55); }
}

.hero-main-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
  line-height: 1.22;
  word-wrap: break-word;
}

.hero-sub-text {
  font-size: clamp(0.925rem, 1.8vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.65rem;
}

.hero-cta-row {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* 4 Quick Access Service Cards */
.quick-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.quick-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.quick-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.45);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.6), 0 0 18px rgba(245, 158, 11, 0.12);
}

.quick-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-amber);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  transition: all var(--transition-normal);
}

.quick-card:hover .quick-card-icon {
  background: rgba(245, 158, 11, 0.18);
  border-color: var(--color-amber);
  transform: scale(1.05);
}

.quick-card-title {
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
  color: #ffffff;
}

.quick-card-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.quick-card-action {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-amber);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-normal);
}

.quick-card:hover .quick-card-action {
  color: var(--color-amber-light);
  gap: 0.55rem;
}

/* Emergency Alert Ribbon */
.emergency-banner {
  background: linear-gradient(90deg, #181410 0%, #24160d 50%, #181410 100%);
  border-top: 1px solid rgba(234, 88, 12, 0.3);
  border-bottom: 1px solid rgba(234, 88, 12, 0.3);
  padding: 0.85rem 0;
  margin: 1.5rem 0 3rem;
}

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

.emergency-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.emergency-badge {
  background: #ea580c;
  color: #ffffff;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.emergency-text {
  font-size: 0.88rem;
  color: #fed7aa;
}

.emergency-text strong {
  color: #ffffff;
}

/* ==========================================================================
   EFEITOS VISUAIS INTERATIVOS: SPOTLIGHT, SCROLL REVEAL & FÍSICA DE ÍCONES
   ========================================================================== */

/* 1. Spotlight Interativo nos Cartões (Segue o Cursor do Mouse) */
.card-glow-track {
  position: relative;
  overflow: hidden;
}

.card-glow-track::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    320px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(245, 158, 11, 0.13),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.card-glow-track:hover::before {
  opacity: 1;
}

.card-glow-track > * {
  position: relative;
  z-index: 2;
}

/* 2. Animação de Entrada ao Rolar a Página (Scroll Reveal) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* 3. Efeitos de Hover Dinâmico e Elevação 3D de Ícones */
.quick-card:hover .quick-card-icon,
.service-item-card:hover .service-avatar-box,
.profile-card:hover .profile-icon {
  transform: translateY(-3px) scale(1.12) rotate(3deg);
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.45);
}

.step-box:hover .step-number {
  transform: scale(1.08) translateY(-2px);
}

/* 4. Brilho Gradual de Foco em Elementos Interativos */
.filter-tab-btn {
  position: relative;
  overflow: hidden;
}

.filter-tab-btn.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: tab-shimmer 3s infinite;
  pointer-events: none;
}

@keyframes tab-shimmer {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

/* ==========================================================================
   CATÁLOGO DE SERVIÇOS TÉCNICOS
   ========================================================================== */
.section-services {
  padding: 4rem 0;
}

.section-head-box {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 2.5rem;
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  margin-bottom: 0.65rem;
}

.section-desc {
  font-size: 0.975rem;
  color: var(--text-muted);
}

.services-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-tab-btn {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.filter-tab-btn:hover {
  background: var(--bg-card-hover);
  color: #ffffff;
}

.filter-tab-btn.active {
  background: linear-gradient(135deg, var(--color-amber), var(--color-amber-hover));
  border-color: var(--color-amber);
  color: #0b111e;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

/* Master Service Card */
.services-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
}

.service-item-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.4);
  background: var(--bg-card-hover);
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.65), 0 0 20px rgba(245, 158, 11, 0.12);
}

.service-header-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.service-avatar-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.2), rgba(6, 182, 212, 0.12));
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.service-item-card:hover .service-avatar-box {
  border-color: rgba(245, 158, 11, 0.45);
  color: var(--color-amber);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(2, 132, 199, 0.1));
}

.service-meta-title {
  display: flex;
  flex-direction: column;
}

.service-category-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-amber);
  margin-bottom: 0.15rem;
}

.service-name {
  font-size: 1.2rem;
  color: #ffffff;
}

.service-scope-text {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 1.15rem;
}

.service-features-list {
  list-style: none;
  margin-bottom: 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-xs);
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.service-features-list li {
  font-size: 0.825rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.service-features-list li:last-child {
  margin-bottom: 0;
}

.service-features-list li i {
  color: var(--color-amber);
  font-size: 0.8rem;
}

.service-brands-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.35rem;
}

.brand-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  color: #cbd5e1;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
}

.service-footer-actions {
  border-top: 1px solid var(--border-card);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.service-sla-tag {
  font-size: 0.75rem;
  color: #4ade80;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

/* ==========================================================================
   MODALIDADES DE CONTRATAÇÃO
   ========================================================================== */
.section-modalities {
  padding: 4rem 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.modalities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.modality-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.85rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
}

.modality-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.65), 0 0 18px rgba(245, 158, 11, 0.12);
}

.modality-card.featured {
  border-color: rgba(245, 158, 11, 0.6);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, var(--bg-card) 45%);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.15);
}

.featured-flag {
  position: absolute;
  top: 1rem;
  right: 1.15rem;
  background: linear-gradient(135deg, var(--color-amber), var(--color-amber-hover));
  color: #0b111e;
  padding: 0.18rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.modality-title {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.modality-target {
  font-size: 0.78rem;
  color: var(--color-accent-cyan);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.modality-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.35rem;
}

.modality-checklist {
  list-style: none;
  margin-bottom: 1.65rem;
}

.modality-checklist li {
  font-size: 0.825rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.modality-checklist li i {
  color: var(--color-amber);
  margin-top: 3px;
}

/* ==========================================================================
   COMO FUNCIONA O ATENDIMENTO EM 4 PASSOS
   ========================================================================== */
.section-process {
  padding: 4rem 0;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.step-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.15rem;
  transition: all var(--transition-normal);
}

.step-box:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(245, 158, 11, 0.12);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 900;
  color: rgba(245, 158, 11, 0.4);
  line-height: 1;
  margin-bottom: 0.75rem;
  transition: all var(--transition-normal);
}

.step-box:hover .step-number {
  color: var(--color-amber);
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.step-title {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.step-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   PERFIL PROFISSIONAL & HABILITAÇÃO TÉCNICA
   ========================================================================== */
.section-profile {
  padding: 4rem 0;
  background: #080d17;
  border-top: 1px solid var(--border-card);
}

.profile-competences-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.15rem;
  transition: all var(--transition-normal);
}

.profile-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
}

.profile-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(2, 132, 199, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.profile-title {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.profile-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   FORMULÁRIO DE ABERTURA DE CHAMADO
   ========================================================================== */
.section-ticket-form {
  padding: 4.5rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(2, 132, 199, 0.08) 0%, transparent 60%);
}

.ticket-wrapper-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
}

.ticket-form-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
}

.form-group-title {
  font-size: 1rem;
  margin-bottom: 0.85rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.radio-service-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  user-select: none;
  font-size: 0.825rem;
}

.radio-service-label:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.radio-service-label.selected {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--color-amber);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}

.radio-service-label input[type="radio"] {
  accent-color: var(--color-amber);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.form-input {
  width: 100%;
  padding: 0.7rem 0.95rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
  font-family: inherit;
}

.form-input:focus {
  border-color: var(--color-amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.form-textarea {
  min-height: 90px;
  resize: vertical;
}

/* Sidebar Info inside Form Box */
.ticket-sidebar-box {
  background: #090e18;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-title {
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.sidebar-perks {
  list-style: none;
  margin-bottom: 1.5rem;
}

.sidebar-perks li {
  font-size: 0.825rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.sidebar-perks li i {
  color: var(--color-amber);
  font-size: 0.85rem;
}

.sidebar-help-card {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1.15rem;
}

.sidebar-help-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-amber-light);
  margin-bottom: 0.25rem;
}

.sidebar-help-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER INSTITUCIONAL
   ========================================================================== */
.footer-services {
  background: #05080f;
  border-top: 1px solid var(--border-card);
  padding: 4rem 0 1.75rem;
}

.footer-grid-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.25rem;
  margin-bottom: 3rem;
}

.footer-bio-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
  line-height: 1.55;
}

.footer-list-title {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 1.1rem;
  font-weight: 700;
}

.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.6rem;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.825rem;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-direct-contact {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-body);
  font-size: 0.825rem;
  margin-bottom: 0.7rem;
  transition: all var(--transition-normal);
}

.footer-direct-contact:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-direct-contact i {
  color: var(--color-accent-cyan);
}

.footer-copyright {
  border-top: 1px solid var(--border-card);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Floating WhatsApp Action Button (Proporcional) */
.floating-service-wa {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--color-success);
  color: #ffffff;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 18px rgba(22, 163, 74, 0.4);
  z-index: 1000;
  text-decoration: none;
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-service-wa::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 2px solid rgba(34, 197, 94, 0.65);
  animation: wa-radar 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes wa-radar {
  0% { transform: scale(1); opacity: 0.85; }
  100% { transform: scale(1.35); opacity: 0; }
}

.floating-service-wa:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--color-success-hover);
  box-shadow: 0 6px 22px rgba(22, 163, 74, 0.55);
  color: #ffffff;
}

.floating-service-wa i {
  font-size: 1.25rem;
}

/* ==========================================================================
   RESPONSIVIDADE AJUSTADA (MOBILE FIRST QUALITY)
   ========================================================================== */
@media (max-width: 1024px) {
  .quick-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-catalog-grid {
    grid-template-columns: 1fr;
  }
  .modalities-grid {
    grid-template-columns: 1fr;
  }
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-competences-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ticket-form-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-grid-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Top Bar Mobile: Slim, Single-line, No wrapping */
  .top-contact-bar {
    padding: 0.3rem 0;
  }
  .top-bar-items-desktop {
    display: none !important;
  }
  .top-bar-content {
    justify-content: center;
  }
  .top-bar-status-area {
    justify-content: center;
    width: 100%;
    gap: 0.65rem;
  }
  .top-item-badge {
    font-size: 0.7rem;
    padding: 0.12rem 0.45rem;
  }
  .top-item-plantao {
    font-size: 0.72rem;
  }

  /* Navbar Mobile: Clean Brand Logo + Hamburger ONLY */
  .navbar {
    padding: 0.55rem 0;
  }
  .nav-cta-btn-desktop {
    display: none !important; /* Esconde botão grande para não empurrar nada */
  }
  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .brand-title {
    font-size: 1.1rem;
  }
  .brand-icon-shield {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  /* Mobile Dropdown Menu */
  .nav-menu {
    position: fixed;
    top: 52px;
    left: 0;
    width: 100%;
    background: #0d1322;
    flex-direction: column;
    padding: 1.75rem 1.25rem;
    gap: 1.15rem;
    border-bottom: 1px solid var(--border-card);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
  }
  .nav-menu.active {
    transform: translateY(0);
  }
  .nav-menu-cta-mobile {
    display: block !important;
    width: 100%;
    margin-top: 0.5rem;
  }
  .nav-menu-cta-mobile .btn-service {
    width: 100%;
  }

  /* Hero Mobile */
  .hero-services {
    padding: 2.25rem 0 1.75rem;
  }
  .badge-service-flag {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    margin-bottom: 0.75rem;
  }
  .hero-main-title {
    font-size: 1.65rem;
    line-height: 1.22;
  }
  .hero-sub-text {
    font-size: 0.88rem;
    margin-bottom: 1.35rem;
  }
  .hero-cta-row {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }
  .hero-cta-row .btn-service {
    width: 100%;
  }

  /* Quick Services Cards Mobile */
  .quick-services-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1.75rem;
  }
  .quick-card {
    padding: 1.1rem;
  }

  /* Emergency Banner Mobile */
  .emergency-banner {
    padding: 0.85rem 0;
    margin: 1rem 0 2.25rem;
  }
  .emergency-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.75rem;
  }
  .emergency-info {
    flex-direction: column;
    gap: 0.4rem;
  }
  .emergency-banner .btn-service {
    width: 100%;
  }

  /* Filter Tabs Mobile */
  .services-filter-bar {
    gap: 0.4rem;
    margin-bottom: 1.75rem;
  }
  .filter-tab-btn {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
  }

  /* Service Card Mobile */
  .service-item-card {
    padding: 1.25rem 1rem;
  }
  .service-avatar-box {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }
  .service-name {
    font-size: 1.1rem;
  }
  .service-footer-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .service-footer-actions .btn-service {
    width: 100%;
  }

  /* Modality Cards Mobile */
  .modality-card {
    padding: 1.5rem 1.25rem;
  }
  .modality-card .btn-service {
    width: 100%;
  }

  /* Process & Profile Mobile */
  .process-steps-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .profile-competences-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  /* Form Mobile */
  .ticket-wrapper-card {
    padding: 1.5rem 1rem;
  }
  .service-select-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .input-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .ticket-sidebar-box {
    padding: 1.5rem 1.15rem;
  }

  /* Footer Mobile */
  .footer-grid-cols {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-copyright {
    flex-direction: column;
    gap: 0.65rem;
    text-align: center;
  }

  /* Floating WhatsApp Button Mobile: Compact Round FAB (Não tampa conteúdo) */
  .floating-service-wa {
    bottom: 1.15rem;
    right: 1.15rem;
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.5);
  }
  .floating-service-wa span {
    display: none !important;
  }
  .floating-service-wa i {
    font-size: 1.35rem;
    margin: 0;
  }
}
