/* ==========================================================================
   CODTEC - Soluções em Tecnologia
   Tema Visual inspirado no ERP Pro (Sys7 Pro)
   Paleta: Ink (#0B1623), Navy (#12263A), Steel (#1E3A4C), Copper (#D9772E), Sand (#F4EFE6)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  /* Cores Base Sys7 Pro */
  --of-ink: #0B1623;
  --of-navy: #12263A;
  --of-navy-deep: #08111B;
  --of-steel: #1E3A4C;
  --of-steel-light: #2B4E66;
  
  /* Cobre / Acento */
  --of-copper: #D9772E;
  --of-copper-hover: #C46622;
  --of-copper-light: #E68A44;
  --of-copper-glow: rgba(217, 119, 46, 0.25);
  --of-copper-subtle: rgba(217, 119, 46, 0.12);
  
  /* Fundos Claros / Textos Suaves */
  --of-sand: #F4EFE6;
  --of-paper: #FBFAF7;
  --of-muted: #8C96A5;
  --of-muted-light: #B5BFCE;
  
  /* Linhas e Divisórias */
  --of-line: #E4DDD2;
  --of-line-dark: rgba(244, 239, 230, 0.12);
  --of-line-highlight: rgba(217, 119, 46, 0.35);
  
  /* Tipografia */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Dimensões */
  --header-height: 84px;
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Transições e Sombras */
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 16px 36px -12px rgba(8, 17, 27, 0.45);
  --shadow-hover: 0 20px 42px -10px rgba(217, 119, 46, 0.22);
  --shadow-glow: 0 0 24px rgba(217, 119, 46, 0.35);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--of-ink);
  color: var(--of-sand);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Grids & Ambient Effects (Identidade Sys7 Pro) */
.bg-ambient-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(217, 119, 46, 0.08), transparent 38%),
    radial-gradient(circle at 85% 65%, rgba(30, 58, 76, 0.45), transparent 45%),
    linear-gradient(rgba(244, 239, 230, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 230, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 42px 42px, 42px 42px;
}

/* Content Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--of-sand);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--of-muted-light);
}

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

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--of-copper-light) 0%, var(--of-copper) 100%);
  color: var(--of-ink);
  box-shadow: 0 8px 20px -6px rgba(217, 119, 46, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--of-copper) 0%, var(--of-copper-hover) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -6px rgba(217, 119, 46, 0.6);
  color: #000;
}

.btn-secondary {
  background: rgba(30, 58, 76, 0.5);
  border: 1px solid var(--of-line-dark);
  color: var(--of-sand);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(30, 58, 76, 0.85);
  border-color: var(--of-copper);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline-copper {
  background: transparent;
  border: 1px solid var(--of-copper);
  color: var(--of-copper);
}

.btn-outline-copper:hover {
  background: var(--of-copper);
  color: var(--of-ink);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(11, 22, 35, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--of-line-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  height: 74px;
}

.navbar {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 52px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 12px rgba(217, 119, 46, 0.45));
}

.footer-logo-img {
  height: 58px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
  margin-bottom: 0.5rem;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--of-sand);
  opacity: 0.82;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.2rem;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
  color: var(--of-copper);
}

/* Dropdown Menu */
.has-dropdown {
  position: relative;
}

.has-dropdown > .nav-link::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75rem;
  transition: var(--transition);
}

.has-dropdown:hover > .nav-link::after {
  transform: rotate(180deg);
  color: var(--of-copper);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--of-navy);
  border: 1px solid var(--of-line-dark);
  border-radius: var(--radius-md);
  padding: 0.75rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  z-index: 110;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  color: var(--of-sand);
  transition: var(--transition);
}

.dropdown li a i {
  color: var(--of-copper);
  font-size: 0.85rem;
  width: 16px;
  text-align: center;
}

.dropdown li a:hover {
  background: rgba(217, 119, 46, 0.12);
  color: var(--of-copper);
  padding-left: 1.5rem;
}

/* Botões do Nav */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-instagram {
  color: var(--of-sand);
  opacity: 0.8;
  font-size: 1.15rem;
  transition: var(--transition);
}

.nav-instagram:hover {
  opacity: 1;
  color: var(--of-copper);
  transform: scale(1.1);
}

.login-btn {
  background: rgba(217, 119, 46, 0.14);
  border: 1px solid var(--of-copper);
  color: var(--of-copper) !important;
  opacity: 1 !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
}

.login-btn:hover {
  background: var(--of-copper);
  color: var(--of-ink) !important;
  box-shadow: 0 0 16px var(--of-copper-glow);
}

/* Mobile Toggle */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 101;
}

.hamburger .bar {
  width: 24px;
  height: 2px;
  background-color: var(--of-sand);
  transition: var(--transition);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 98;
}

/* ==========================================================================
   SEPARADORES DE SEÇÃO
   ========================================================================== */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--of-line-dark) 20%, var(--of-line-dark) 80%, transparent 100%);
  margin: 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--of-copper-subtle);
  border: 1px solid rgba(217, 119, 46, 0.3);
  color: var(--of-copper);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--of-muted-light);
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 10% 25%, rgba(217, 119, 46, 0.14), transparent 45%),
              radial-gradient(circle at 80% 50%, rgba(18, 38, 58, 0.8), transparent 50%),
              var(--of-ink);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--of-ink), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

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

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  line-height: 1.18;
}

.hero-title .highlight {
  color: var(--of-copper);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--of-muted-light);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-features-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--of-line-dark);
}

.hero-feature-item {
  display: flex;
  flex-direction: column;
}

.hero-feature-item .val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--of-sand);
}

.hero-feature-item .val span {
  color: var(--of-copper);
}

.hero-feature-item .lbl {
  font-size: 0.8rem;
  color: var(--of-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Hero Showcase / Interactive ERP Frame */
.hero-showcase {
  position: relative;
  perspective: 1200px;
}

.erp-window-frame {
  background: var(--of-navy);
  border: 1px solid rgba(244, 239, 230, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), 0 0 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease;
}

.erp-window-header {
  background: rgba(8, 17, 27, 0.7);
  border-bottom: 1px solid var(--of-line-dark);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-dots {
  display: flex;
  gap: 7px;
}

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

.dot-red { background: #E05252; }
.dot-yellow { background: #E5A83B; }
.dot-green { background: #2BC48A; }

.window-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--of-muted-light);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.window-badge {
  background: var(--of-copper-subtle);
  border: 1px solid var(--of-copper);
  color: var(--of-copper);
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
}

/* Tabs do Mockup */
.mockup-tabs {
  display: flex;
  background: rgba(11, 22, 35, 0.5);
  border-bottom: 1px solid var(--of-line-dark);
  padding: 0 0.75rem;
  gap: 0.25rem;
}

.mockup-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--of-muted);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
}

.mockup-tab-btn:hover {
  color: var(--of-sand);
}

.mockup-tab-btn.active {
  color: var(--of-copper);
  border-bottom-color: var(--of-copper);
  background: rgba(217, 119, 46, 0.06);
}

.mockup-tab-content {
  display: none;
  padding: 1.25rem 1.15rem;
  background: #0E1E2E;
  animation: fadeIn 0.3s ease;
}

.mockup-tab-content.active {
  display: block;
}

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

/* Visualização Interna do ERP */
.erp-kpi-grid {
  display: grid;
  grid-template-columns: 1.28fr 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.erp-kpi-card {
  background: rgba(18, 38, 58, 0.7);
  border: 1px solid var(--of-line-dark);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.65rem 0.8rem 0.85rem;
  position: relative;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.erp-kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--of-copper);
}

.erp-kpi-card .kpi-label {
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--of-muted);
  margin-bottom: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.erp-kpi-card .kpi-value {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 700;
  color: var(--of-sand);
  white-space: nowrap;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.erp-kpi-card .kpi-sub {
  font-size: 0.7rem;
  color: #2BC48A;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Gráfico Simulado do ERP */
.erp-chart-box {
  background: rgba(18, 38, 58, 0.5);
  border: 1px solid var(--of-line-dark);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.chart-header h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--of-sand);
}

.chart-header span {
  font-size: 0.75rem;
  color: var(--of-copper);
  font-weight: 600;
}

.chart-bars-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 120px;
  gap: 8px;
  padding-top: 10px;
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.bar-fill {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--of-copper) 0%, rgba(217, 119, 46, 0.35) 100%);
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.bar-fill.active {
  background: linear-gradient(180deg, #F28E42 0%, var(--of-copper) 100%);
  box-shadow: 0 0 12px var(--of-copper-glow);
}

.bar-lbl {
  font-size: 0.7rem;
  color: var(--of-muted);
}

/* PDV Simulado */
.pdv-screen-mock {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
}

.pdv-items-list {
  background: rgba(18, 38, 58, 0.5);
  border: 1px solid var(--of-line-dark);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
}

.pdv-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(244, 239, 230, 0.08);
}

.pdv-checkout-panel {
  background: rgba(18, 38, 58, 0.7);
  border: 1px solid var(--of-line-dark);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pdv-total-lbl {
  font-size: 0.75rem;
  color: var(--of-muted);
  text-transform: uppercase;
}

.pdv-total-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--of-copper);
}

/* ==========================================================================
   SEGMENTOS ATENDIDOS (BUSINESS TYPES)
   ========================================================================== */
.business-types {
  padding: 6rem 0;
  background-color: var(--of-ink);
  position: relative;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.business-card {
  background: var(--of-navy);
  border: 1px solid var(--of-line-dark);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.business-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--of-copper), transparent);
  opacity: 0;
  transition: var(--transition);
}

.business-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 119, 46, 0.5);
  box-shadow: var(--shadow-card), 0 10px 25px -5px rgba(217, 119, 46, 0.18);
  background: #152C43;
}

.business-card:hover::before {
  opacity: 1;
}

.business-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 14px;
  background: var(--of-copper-subtle);
  border: 1px solid rgba(217, 119, 46, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--of-copper);
  font-size: 1.6rem;
  transition: var(--transition);
}

.business-card:hover .business-icon {
  background: var(--of-copper);
  color: var(--of-ink);
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 0 20px var(--of-copper-glow);
}

.business-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--of-sand);
  margin-bottom: 0.4rem;
}

.business-card p {
  font-size: 0.88rem;
  color: var(--of-muted);
}

/* ==========================================================================
   ECOSSISTEMA INTEGRADO & TOMADA DE DECISÃO
   ========================================================================== */
.ecosystem, .data-driven {
  padding: 6.5rem 0;
  position: relative;
  overflow: hidden;
}

.ecosystem {
  background: linear-gradient(180deg, var(--of-ink) 0%, var(--of-navy) 100%);
}

.data-driven {
  background: linear-gradient(180deg, var(--of-navy) 0%, var(--of-ink) 100%);
}

.feature-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.feature-split-grid.reverse {
  grid-template-columns: 1.05fr 1fr;
}

.feature-info h2 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  margin-bottom: 1.25rem;
  line-height: 1.22;
}

.feature-info p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--of-muted-light);
  margin-bottom: 2rem;
}

.feature-checklist {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--of-sand);
}

.feature-checklist li i {
  color: var(--of-copper);
  font-size: 1rem;
  background: var(--of-copper-subtle);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Diagrama de Ecossistema Integrado (Interativo) */
.ecosystem-diagram {
  background: var(--of-navy-deep);
  border: 1px solid var(--of-line-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.eco-center-node {
  width: 110px;
  height: 110px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--of-copper-light) 0%, var(--of-copper) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--of-ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 0 35px var(--of-copper-glow);
  position: relative;
  z-index: 5;
}

.eco-center-node span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
}

.eco-nodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.eco-node-item {
  background: rgba(30, 58, 76, 0.45);
  border: 1px solid var(--of-line-dark);
  border-radius: var(--radius-md);
  padding: 1rem 0.75rem;
  transition: var(--transition);
}

.eco-node-item:hover {
  background: rgba(30, 58, 76, 0.85);
  border-color: var(--of-copper);
  transform: translateY(-4px);
}

.eco-node-item i {
  color: var(--of-copper);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.eco-node-item h5 {
  font-size: 0.85rem;
  color: var(--of-sand);
}

/* ==========================================================================
   PRODUTOS E SERVIÇOS CODTEC (SOLUTIONS)
   ========================================================================== */
.products {
  padding: 6.5rem 0;
  background-color: var(--of-ink);
  position: relative;
}

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

.product-card {
  background: var(--of-navy);
  border: 1px solid var(--of-line-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.product-card.featured {
  border-color: var(--of-copper);
  background: linear-gradient(180deg, #162E45 0%, var(--of-navy) 100%);
  box-shadow: 0 16px 40px -10px rgba(217, 119, 46, 0.28);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--of-copper);
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.badge {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  background: rgba(244, 239, 230, 0.08);
  color: var(--of-sand);
}

.badge.popular {
  background: var(--of-copper);
  color: var(--of-ink);
}

.badge.fiscal {
  background: rgba(43, 196, 138, 0.15);
  color: #2BC48A;
  border: 1px solid rgba(43, 196, 138, 0.3);
}

.product-header-inline {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.35rem;
  text-align: left;
}

.product-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--of-copper-subtle);
  border: 1px solid rgba(217, 119, 46, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--of-copper);
  font-size: 1.5rem;
  margin-bottom: 0;
  flex-shrink: 0;
  transition: var(--transition);
}

.product-card:hover .product-icon-wrap {
  background: var(--of-copper);
  color: var(--of-ink);
  transform: scale(1.06);
  box-shadow: 0 0 16px var(--of-copper-glow);
}

.product-title-inline {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--of-sand);
  margin-bottom: 0;
  line-height: 1.2;
  text-align: left;
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
}

.product-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--of-muted-light);
  margin-bottom: 2rem;
  text-align: left;
}

.product-specs {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  border-top: 1px solid var(--of-line-dark);
  padding-top: 1.25rem;
}

.product-specs li {
  font-size: 0.88rem;
  color: var(--of-sand);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.product-specs li i {
  color: var(--of-copper);
  font-size: 0.85rem;
}

/* ==========================================================================
   SOBRE A CODTEC (ABOUT & STATS)
   ========================================================================== */
.about {
  padding: 6.5rem 0;
  background: linear-gradient(180deg, var(--of-ink) 0%, var(--of-navy-deep) 100%);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text .about-intro {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--of-sand);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.about-text .about-details {
  font-size: 1.05rem;
  color: var(--of-muted-light);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--of-line-dark);
  padding-top: 2rem;
}

.stat-item h3 {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--of-copper);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-item p {
  font-size: 0.88rem;
  color: var(--of-muted-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pillar-card {
  background: var(--of-navy);
  border: 1px solid var(--of-line-dark);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.8rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: var(--transition);
}

.pillar-card:hover {
  border-color: var(--of-copper);
  transform: translateX(6px);
  background: #162E45;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--of-copper-subtle);
  border: 1px solid rgba(217, 119, 46, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--of-copper);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.pillar-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.pillar-info p {
  font-size: 0.9rem;
  color: var(--of-muted);
}

/* ==========================================================================
   TUTORIAIS & DEMONSTRAÇÃO (YOUTUBE)
   ========================================================================== */
.tutorials {
  padding: 6.5rem 0;
  background-color: var(--of-ink);
}

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

.tutorial-card {
  background: var(--of-navy);
  border: 1px solid var(--of-line-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.tutorial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 119, 46, 0.5);
  box-shadow: var(--shadow-card);
}

.tutorial-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--of-copper-subtle);
  border: 1px solid rgba(217, 119, 46, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--of-copper);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.tutorial-card:hover .tutorial-icon {
  background: var(--of-copper);
  color: var(--of-ink);
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--of-copper-glow);
}

.tutorial-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.tutorial-card p {
  font-size: 0.95rem;
  color: var(--of-muted);
  margin-bottom: 2rem;
}

/* ==========================================================================
   DOWNLOADS & LINKS ÚTEIS (ARQUIVOS)
   ========================================================================== */
.downloads-section {
  padding: 5.5rem 0;
  background: var(--of-navy);
  border-top: 1px solid var(--of-line-dark);
  border-bottom: 1px solid var(--of-line-dark);
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.download-box {
  background: rgba(11, 22, 35, 0.6);
  border: 1px solid var(--of-line-dark);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.download-box:hover {
  border-color: var(--of-copper);
  background: rgba(11, 22, 35, 0.95);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.download-box i {
  font-size: 1.6rem;
  color: var(--of-copper);
}

.download-box h4 {
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.download-box span {
  font-size: 0.8rem;
  color: var(--of-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--of-navy-deep);
  border-top: 1px solid var(--of-line-dark);
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.95rem;
  color: var(--of-muted);
  margin-top: 1rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: var(--of-sand);
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--of-copper);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul li a {
  font-size: 0.92rem;
  color: var(--of-muted-light);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-col ul li a:hover {
  color: var(--of-copper);
  transform: translateX(4px);
}

.footer-col ul li a i {
  color: var(--of-copper);
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--of-line-dark);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--of-muted);
}

.footer-bottom a {
  color: var(--of-copper);
}

/* ==========================================================================
   WHATSAPP FLOAT BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  z-index: 90;
  transition: var(--transition);
  animation: pulseFloat 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12) rotate(8deg);
  background: #20BA5A;
  color: #FFFFFF;
}

@keyframes pulseFloat {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   MODAIS (DEMONSTRAÇÃO & LOGIN SYS7 PRO)
   ========================================================================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 22, 35, 0.85);
  backdrop-filter: blur(8px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--of-navy);
  border: 1px solid var(--of-line-dark);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 580px;
  max-height: calc(100vh - 3rem);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card), 0 0 50px rgba(0, 0, 0, 0.6);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  background: rgba(8, 17, 27, 0.75);
  border-bottom: 1px solid var(--of-line-dark);
  padding: 0.9rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.modal-header h2 {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--of-sand);
}

.modal-header h2 i {
  color: var(--of-copper);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--of-muted);
  font-size: 1.35rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--of-copper);
}

.modal-body {
  padding: 1.25rem 1.4rem;
  overflow-y: auto;
}

.modal-info-strip {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #2BC48A;
  padding: 0.55rem 0.85rem;
  border-radius: 6px;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-group {
  margin-bottom: 0.75rem;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--of-sand);
  margin-bottom: 0.3rem;
}

.form-control {
  width: 100%;
  padding: 0.6rem 0.85rem;
  background: #0B1623;
  border: 1px solid var(--of-line-dark);
  border-radius: var(--radius-sm);
  color: var(--of-sand);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--of-copper);
  box-shadow: 0 0 0 2px var(--of-copper-subtle);
  background: #0E1D2D;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Toast de Notificação */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: var(--of-navy);
  border: 1px solid var(--of-copper);
  color: var(--of-sand);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 300;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-notice i {
  color: var(--of-copper);
  font-size: 1.2rem;
}

/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .business-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-split-grid,
  .feature-split-grid.reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .downloads-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header {
    height: 72px;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 72px;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 72px);
    background: var(--of-navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
    transition: 0.35s ease;
    overflow-y: auto;
    z-index: 99;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .mobile-menu-overlay.active {
    display: block;
  }
  
  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(11, 22, 35, 0.4);
    margin-top: 0.5rem;
    width: 100%;
  }
  
  .hero {
    padding-top: calc(72px + 2rem);
    min-height: auto;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .business-grid {
    grid-template-columns: 1fr;
  }
  
  .tutorials-grid {
    grid-template-columns: 1fr;
  }
  
  .downloads-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   ÁREA ADMINISTRATIVA & PAINEL DE ARQUIVOS (CODTEC ADMIN)
   ========================================================================== */
.admin-logged-in {
  background: rgba(43, 196, 138, 0.15) !important;
  border-color: rgba(43, 196, 138, 0.6) !important;
  color: #2BC48A !important;
  box-shadow: 0 0 12px rgba(43, 196, 138, 0.25);
}

.admin-logged-in:hover {
  background: #2BC48A !important;
  color: #0B1623 !important;
}

.admin-header-nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(11, 22, 35, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--of-line-dark);
  z-index: 100;
  padding: 0.85rem 0;
}

.admin-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 1rem;
}

.admin-header-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  background: rgba(217, 119, 46, 0.15);
  border: 1px solid rgba(217, 119, 46, 0.4);
  color: var(--of-copper);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.admin-user-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 58, 76, 0.45);
  border: 1px solid var(--of-line-dark);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--of-sand);
}

.admin-user-pill i {
  color: #2BC48A;
}

.btn-admin-logout {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(235, 87, 87, 0.14);
  border: 1px solid rgba(235, 87, 87, 0.35);
  color: #FF7B7B;
  padding: 0.48rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-admin-logout:hover {
  background: #FF5A5A;
  color: #FFF;
  border-color: #FF5A5A;
}

/* Guard de Login no Admin */
.admin-login-guard {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.admin-login-box {
  background: var(--of-navy);
  border: 1px solid var(--of-line-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.2rem;
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow-card);
  text-align: center;
}

/* Painel Principal */
.admin-main-wrap {
  padding: 3rem 0 5rem;
  position: relative;
  z-index: 2;
}

.admin-hero-banner {
  background: linear-gradient(135deg, rgba(18, 38, 58, 0.8) 0%, rgba(11, 22, 35, 0.95) 100%);
  border: 1px solid var(--of-line-dark);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.admin-hero-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(217, 119, 46, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.admin-hero-title {
  font-size: 1.85rem;
  margin-bottom: 0.4rem;
  color: var(--of-sand);
}

.admin-hero-desc {
  color: var(--of-muted-light);
  font-size: 1rem;
  max-width: 720px;
  margin-bottom: 1.8rem;
}

.admin-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.admin-kpi-item {
  background: rgba(11, 22, 35, 0.6);
  border: 1px solid var(--of-line-dark);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(217, 119, 46, 0.15);
  border: 1px solid rgba(217, 119, 46, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--of-copper);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.admin-kpi-icon.green {
  background: rgba(43, 196, 138, 0.15);
  border-color: rgba(43, 196, 138, 0.3);
  color: #2BC48A;
}

.admin-kpi-icon.blue {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60A5FA;
}

.admin-kpi-info span {
  display: block;
  font-size: 0.76rem;
  color: var(--of-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.admin-kpi-info strong {
  display: block;
  font-size: 1.05rem;
  color: var(--of-sand);
  font-family: var(--font-display);
}

/* Seção de Arquivos Administrativos */
.admin-section {
  margin-bottom: 3.5rem;
}

.admin-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--of-line-dark);
}

.admin-section-title {
  font-size: 1.45rem;
  color: var(--of-sand);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.admin-section-title i {
  color: var(--of-copper);
}

.admin-section-sub {
  font-size: 0.92rem;
  color: var(--of-muted);
  margin-top: 0.2rem;
}

.admin-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-search-input {
  background: rgba(11, 22, 35, 0.8);
  border: 1px solid var(--of-line-dark);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.95rem;
  color: var(--of-sand);
  font-size: 0.88rem;
  width: 240px;
  outline: none;
  transition: var(--transition);
}

.admin-search-input:focus {
  border-color: var(--of-copper);
  box-shadow: 0 0 0 2px var(--of-copper-subtle);
}

.admin-tag-btn {
  background: rgba(30, 58, 76, 0.4);
  border: 1px solid var(--of-line-dark);
  color: var(--of-sand);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
}

.admin-tag-btn:hover,
.admin-tag-btn.active {
  background: var(--of-copper);
  border-color: var(--of-copper);
  color: var(--of-ink);
  font-weight: 600;
}

/* Grid de Arquivos */
.admin-files-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.admin-file-card {
  background: var(--of-navy);
  border: 1px solid var(--of-line-dark);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.admin-file-card:hover {
  border-color: var(--of-copper);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 20px rgba(217, 119, 46, 0.15);
}

.admin-file-card.featured {
  border-color: rgba(217, 119, 46, 0.45);
  background: linear-gradient(180deg, rgba(217, 119, 46, 0.08) 0%, rgba(18, 38, 58, 0.95) 100%);
}

.admin-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.admin-file-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(217, 119, 46, 0.15);
  border: 1px solid rgba(217, 119, 46, 0.35);
  color: var(--of-copper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.admin-file-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(244, 239, 230, 0.08);
  color: var(--of-sand);
  border: 1px solid var(--of-line-dark);
}

.admin-file-category.highlight {
  background: rgba(217, 119, 46, 0.2);
  color: var(--of-copper-light);
  border-color: rgba(217, 119, 46, 0.4);
}

.admin-file-title {
  font-size: 1.18rem;
  color: var(--of-sand);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.admin-file-desc {
  font-size: 0.88rem;
  color: var(--of-muted-light);
  line-height: 1.55;
  margin-bottom: 1.6rem;
  flex-grow: 1;
}

.admin-file-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
}

.admin-file-actions .btn {
  flex: 1;
  font-size: 0.88rem;
  padding: 0.65rem 0.85rem;
}

.btn-icon-copy {
  padding: 0.65rem 0.85rem;
  background: rgba(30, 58, 76, 0.5);
  border: 1px solid var(--of-line-dark);
  color: var(--of-sand);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon-copy:hover {
  background: var(--of-copper);
  color: var(--of-ink);
  border-color: var(--of-copper);
}

/* Painel de Leads / Contatos */
.admin-leads-box {
  background: var(--of-navy);
  border: 1px solid var(--of-line-dark);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  overflow-x: auto;
}

.admin-leads-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.admin-leads-table th {
  padding: 0.85rem 1rem;
  color: var(--of-copper);
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--of-line-dark);
  background: rgba(11, 22, 35, 0.4);
}

.admin-leads-table td {
  padding: 0.95rem 1rem;
  color: var(--of-sand);
  border-bottom: 1px solid rgba(244, 239, 230, 0.06);
  vertical-align: middle;
}

.admin-leads-table tr:hover td {
  background: rgba(217, 119, 46, 0.05);
}

.badge-segment {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: rgba(30, 58, 76, 0.6);
  color: var(--of-sand);
  font-size: 0.78rem;
  border: 1px solid var(--of-line-dark);
}

/* Bloco de Notas Rápidas */
.admin-notes-textarea {
  width: 100%;
  min-height: 140px;
  background: #08111B;
  border: 1px solid var(--of-line-dark);
  border-radius: var(--radius-sm);
  padding: 1rem;
  color: var(--of-sand);
  font-family: 'Source Sans 3', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  resize: vertical;
  outline: none;
  transition: var(--transition);
}

.admin-notes-textarea:focus {
  border-color: var(--of-copper);
  box-shadow: 0 0 0 2px var(--of-copper-subtle);
}

@media (max-width: 1024px) {
  .admin-files-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .admin-files-grid {
    grid-template-columns: 1fr;
  }
  .admin-kpis {
    grid-template-columns: 1fr;
  }
  .admin-header-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-header-actions {
    width: 100%;
    justify-content: space-between;
  }
  .admin-search-input {
    width: 100%;
  }
}
