/* ==========================================================================
   INFO OKI INFORMÁTICA - DESIGN SYSTEM OFICIAL & ESTÉTICA TECH OPERATIONS
   Paleta do Manual da Marca:
   - Azul Institucional Primário: #004987 (Pantone 301 C)
   - Laranja de Ação / Destaque:  #F18A00 (Pantone 144 C)
   - Vinho Complementar:          #952E46 (Pantone 7637 C)
   - Deep Navy Hero (NOC):        #001830 / #0A2540
   - Fundo Tecnológico:           #F8FAFC
   ========================================================================== */

/* Fontes do Manual da Marca */
@font-face {
  font-family: 'ITC Avant Garde';
  src: url('assets/fonts/ITCAvantGardeStd-Demi.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'ITC Avant Garde';
  src: url('assets/fonts/ITCAvantGardeStd-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Gotham Rounded';
  src: url('assets/fonts/GothamRounded-Book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Gotham Rounded';
  src: url('assets/fonts/GothamRounded-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Gotham Rounded';
  src: url('assets/fonts/GothamRounded-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

:root {
  --oki-blue: #004987;
  --oki-blue-dark: #002B52;
  --oki-orange: #F18A00;
  --oki-orange-hover: #D77A00;
  --oki-vinho: #952E46;
  --oki-navy: #001830;
  --oki-text: #334155;
  --oki-title: #0F172A;
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --border: #E2E8F0;
  --font-heading: 'ITC Avant Garde', 'Century Gothic', -apple-system, sans-serif;
  --font-body: 'Gotham Rounded', 'Avenir', 'Inter', -apple-system, sans-serif;
  --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Topbar com dados do Google e link do mapa */
.topbar {
  background-color: var(--oki-blue);
  color: #FFFFFF;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 2px solid var(--oki-orange);
}

.topbar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar-info a {
  color: #FFFFFF;
  text-decoration: none;
  transition: opacity 0.2s, text-decoration 0.2s;
}

.topbar-info a:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-links a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.topbar-links a:hover {
  opacity: 0.85;
}

/* Header com Logo Ampliada (+20%) */
.site-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 24, 48, 0.04);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  will-change: transform;
}

/* Estado recolhido automaticamente ao rolar a tela para baixo */
.site-header.header-hidden {
  transform: translateY(-100%);
  box-shadow: none;
}

/* Classes utilitárias para responsividade de texto */
.show-mobile {
  display: none;
}
.hide-mobile {
  display: inline;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 118px; /* Altura calibrada para acomodar o logo ampliado em +15% com respiro normativo */
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 6px 0;
}

.brand-logo-img {
  height: 80px; /* Logo ampliado em +17,6% (80px), garantindo visibilidade imponente e nitidez vetorial */
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  font-family: var(--font-heading);
  color: var(--oki-title);
  text-decoration: none;
  font-weight: 600;
  font-size: 15.5px;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}

.nav-item:hover, .nav-item.active {
  color: var(--oki-blue);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -42px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--oki-orange);
  border-radius: 2px 2px 0 0;
}

/* Botões do Sistema */
.btn-chamado {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--oki-orange);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.2px;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(241, 138, 0, 0.25);
  border: none;
  cursor: pointer;
}

.btn-chamado:hover {
  background-color: var(--oki-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(241, 138, 0, 0.38);
}

.btn-azul {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--oki-blue);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.2px;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 73, 135, 0.25);
  border: none;
  cursor: pointer;
}

.btn-azul:hover {
  background-color: var(--oki-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 73, 135, 0.38);
}

.btn-whatsapp-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14.5px;
  padding: 11px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-whatsapp-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
}

/* Hero Tech Console */
.tech-hero {
  background: radial-gradient(circle at top right, #0F3B66 0%, var(--oki-navy) 100%);
  color: #FFFFFF;
  padding: 82px 0;
  position: relative;
  overflow: hidden;
}

.tech-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.tech-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(241, 138, 0, 0.15);
  border: 1px solid rgba(241, 138, 0, 0.35);
  color: #FFAE42;
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
}

.tech-hero h1 {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.tech-hero h1 span {
  color: var(--oki-orange);
}

.tech-hero p {
  font-size: 17.5px;
  color: #CBD5E1;
  line-height: 1.6;
  margin-bottom: 32px;
}

.tech-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Console Card do Hero (Terminal NOC) */
.console-card {
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.console-header {
  background: rgba(0, 0, 0, 0.35);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.console-dot.red { background-color: #EF4444; }
.console-dot.yellow { background-color: #F59E0B; }
.console-dot.green { background-color: #10B981; }

.console-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #94A3B8;
}

.console-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 13.5px;
}

.console-metric {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
}

.console-metric:last-child {
  border-bottom: none;
}

.metric-val {
  font-weight: 700;
  color: #38BDF8;
}

.metric-val.ok {
  color: #34D399;
}

/* Faixa de Métricas */
.sla-strip {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
}

.sla-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.sla-item h4 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--oki-blue);
  margin-bottom: 6px;
}

.sla-item p {
  font-size: 14px;
  color: #64748B;
  font-weight: 500;
}

/* Seções Padrão */
.section {
  padding: 80px 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 56px;
}

.kicker {
  color: var(--oki-orange);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  color: var(--oki-title);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 17px;
  color: #64748B;
}

/* Grid de Módulos Operacionais da Arquitetura */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.tech-module-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.tech-module-card:hover {
  transform: translateY(-4px);
  border-color: var(--oki-blue);
  box-shadow: 0 12px 28px rgba(0, 73, 135, 0.1);
}

.module-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--oki-vinho);
  background-color: rgba(149, 46, 70, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.tech-module-card h3 {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  color: var(--oki-blue);
  margin-bottom: 12px;
}

.tech-module-card p {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
}

.module-features {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid #F1F5F9;
  padding-top: 16px;
}

.module-features li {
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
}

.module-features li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--oki-orange);
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
}

/* Call to Action Central */
.cta-banner-tech {
  background: linear-gradient(135deg, var(--oki-blue) 0%, #001F3D 100%);
  color: #FFFFFF;
  padding: 68px 0;
  text-align: center;
}

.cta-banner-tech h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.cta-banner-tech p {
  font-size: 17.5px;
  color: #E2E8F0;
  max-width: 720px;
  margin: 0 auto 32px;
}

.cta-buttons-wrap {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Subpage Hero */
.subpage-hero {
  background: linear-gradient(180deg, #FFFFFF 0%, #EDF3F8 100%);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
  text-align: center;
}

.subpage-hero h1 {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  color: var(--oki-blue);
  margin-bottom: 12px;
}

.subpage-hero p {
  font-size: 18px;
  color: #475569;
}

/* Cards Detalhados de Serviços */
.service-spec-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px;
  margin-bottom: 28px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
}

.service-spec-aside {
  border-right: 1px solid var(--border);
  padding-right: 28px;
}

.service-spec-aside h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--oki-blue);
  font-weight: 700;
  margin-bottom: 8px;
}

.service-spec-aside .spec-badge {
  display: inline-block;
  background-color: rgba(241, 138, 0, 0.1);
  color: var(--oki-orange-hover);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.service-spec-content p {
  font-size: 16px;
  color: #334155;
  margin-bottom: 18px;
}

.service-spec-bullets {
  list-style: none;
}

.service-spec-bullets li {
  font-size: 14.5px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 22px;
  color: #475569;
}

.service-spec-bullets li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--oki-orange);
  font-weight: 700;
}

/* Contato & Form */
.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.contact-card-white {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-top: 4px solid var(--oki-blue);
  border-radius: 8px;
  padding: 36px;
  box-shadow: 0 10px 25px rgba(0, 24, 48, 0.05);
}

.form-group-tech {
  margin-bottom: 18px;
}

.form-group-tech label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--oki-title);
  margin-bottom: 6px;
}

.form-input-tech {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  color: var(--oki-title);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input-tech:focus {
  border-color: var(--oki-blue);
  box-shadow: 0 0 0 3px rgba(0, 73, 135, 0.12);
}

/* Grade de Botões do Formulário (WhatsApp e E-mail) */
.form-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

/* Rodapé Oficial */
.site-footer {
  background-color: var(--oki-navy);
  color: #E2E8F0;
  padding: 64px 0 0;
  border-top: 3px solid var(--oki-orange);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 44px;
  padding-bottom: 48px;
}

.footer-brand-img {
  height: 52px;
  width: auto;
  margin-bottom: 18px;
  display: block;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 380px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.2px;
}

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

.footer-nav-list li {
  margin-bottom: 10px;
}

.footer-nav-list a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 14.5px;
  transition: color 0.2s;
}

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

.footer-action-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 22px;
}

.footer-action-box h5 {
  font-family: var(--font-heading);
  color: #FFFFFF;
  font-size: 15px;
  margin-bottom: 8px;
}

.footer-action-box p {
  color: #94A3B8;
  font-size: 13.5px;
  margin-bottom: 16px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
  color: #64748B;
}

/* Responsividade Mobile & Header Compacto */
@media (max-width: 900px) {
  .show-mobile { display: inline !important; }
  .hide-mobile { display: none !important; }

  /* Topbar Mobile: Faixa de Endereço/Horário Lado a Lado */
  .topbar {
    padding: 6px 0;
    font-size: 11px;
  }
  .topbar-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .topbar-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 6px;
  }
  .topbar-info a,
  .topbar-info span {
    font-size: 11px;
    white-space: nowrap;
  }
  .topbar-links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 6px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  .topbar-links a {
    font-size: 11px;
    white-space: nowrap;
  }

  /* Header Mobile Compacto */
  .header-inner {
    height: auto;
    padding: 10px 0 12px;
    flex-direction: column;
    gap: 8px;
  }
  .brand-logo-img {
    height: 50px; /* Redução proporcional no mobile para não tomar a tela toda */
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 14px;
  }
  .nav-item {
    font-size: 13.5px;
    padding: 4px 0;
  }
  /* Correção do traço indicador ativo: posicionado logo abaixo do texto, sem invadir o botão */
  .nav-item.active::after {
    bottom: -2px;
    height: 2px;
  }
  .btn-chamado {
    padding: 8px 18px;
    font-size: 13px;
    margin-top: 2px;
  }

  .tech-hero h1 { font-size: 30px; }
  .tech-hero-grid, .modules-grid, .sla-grid, .service-spec-card, .contact-layout, .footer-main-grid, .form-actions-grid {
    grid-template-columns: 1fr;
  }
  .service-spec-aside {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 18px;
  }
}
