/* ==============================================================================
 * AKM Tecnologia - Tech Enterprise Theme (Orange & Graphite Edition)
 * Modern, High-Performance, Dynamic Dark Architecture
 * ============================================================================== */

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

:root {
  /* Graphite Palette */
  --akm-bg-deep: #07090E;
  --akm-bg-main: #0B0E14;
  --akm-bg-surface: #121620;
  --akm-bg-card: rgba(18, 23, 33, 0.8);
  --akm-bg-card-hover: rgba(26, 33, 48, 0.95);
  
  /* Metallic Graphite Borders */
  --akm-border-subtle: rgba(255, 255, 255, 0.08);
  --akm-border-hover: rgba(255, 102, 0, 0.45);
  --akm-border-orange: #FF6600;
  
  /* Orange Accents & Gradients */
  --akm-orange: #FF6600;
  --akm-orange-hover: #FF7700;
  --akm-orange-amber: #FFA033;
  --akm-orange-gradient: linear-gradient(135deg, #FF5500 0%, #FF7700 50%, #FFA033 100%);
  --akm-orange-glow: 0 10px 30px -5px rgba(255, 102, 0, 0.35);
  --akm-orange-subtle: rgba(255, 102, 0, 0.12);
  
  /* Text */
  --akm-text-primary: #FFFFFF;
  --akm-text-secondary: #E2E8F0;
  --akm-text-muted: #94A3B8;
  --akm-text-dim: #64748B;
  
  /* Status */
  --akm-status-green: #10B981;
}

/* Base resets & Dark Canvas */
html, body, #page, .site, .site-content, .ast-container {
  background-color: var(--akm-bg-main) !important;
  color: var(--akm-text-secondary) !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Background high-tech grid overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 50% 10%, rgba(255, 102, 0, 0.07) 0%, transparent 55%),
    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: 100% 100%, 40px 40px, 40px 40px;
  pointer-events: none;
  z-index: 0;
}

#page {
  position: relative;
  z-index: 1;
}

/* Ocultar cabeçalhos desnecessários em páginas estáticas */
.home .entry-header {
  display: none !important;
}

.ast-separate-container .ast-article-post, 
.ast-separate-container .ast-article-single {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--akm-text-primary) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* ==============================================================================
 * HEADER & NAVIGATION
 * ============================================================================== */
.main-header-bar, .site-header, .ast-primary-header-bar {
  background: rgba(11, 14, 20, 0.88) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid var(--akm-border-subtle) !important;
  transition: all 0.3s ease;
}

.site-title a {
  color: #FFFFFF !important;
  font-weight: 800 !important;
  font-size: 1.35rem !important;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.site-title a::after {
  content: "•";
  color: var(--akm-orange);
  margin-left: 3px;
}

.main-header-menu a, .ast-nav-menu a {
  color: var(--akm-text-secondary) !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  padding: 0.5rem 1rem !important;
  transition: all 0.25s ease !important;
}

.main-header-menu a:hover, .ast-nav-menu a:hover,
.main-header-menu .current-menu-item > a {
  color: var(--akm-orange-hover) !important;
}

/* Destaque para o botão CTA de Contato no Header */
.main-header-menu li:last-child a,
.ast-nav-menu li:last-child a {
  background: var(--akm-orange-gradient) !important;
  color: #FFFFFF !important;
  border-radius: 8px !important;
  padding: 0.55rem 1.25rem !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.25);
  margin-left: 0.5rem;
}

.main-header-menu li:last-child a:hover,
.ast-nav-menu li:last-child a:hover {
  transform: translateY(-1px);
  box-shadow: var(--akm-orange-glow);
}

/* ==============================================================================
 * HERO SECTION
 * ============================================================================== */
.akm-hero {
  position: relative;
  padding: 4.5rem 1.5rem 3.5rem 1.5rem;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.akm-badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 102, 0, 0.08);
  border: 1px solid rgba(255, 102, 0, 0.25);
  padding: 6px 18px;
  border-radius: 9999px;
  color: #FFA740;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.akm-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--akm-status-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--akm-status-green);
  animation: akmGlow 2s infinite ease-in-out;
}

@keyframes akmGlow {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px var(--akm-status-green); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.akm-hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.035em;
  color: #FFFFFF !important;
}

.akm-text-gradient-orange {
  background: var(--akm-orange-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.akm-hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--akm-text-muted);
  max-width: 780px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.7;
}

.akm-cta-group {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* ==============================================================================
 * BUTTONS
 * ============================================================================== */
.akm-btn-primary {
  background: var(--akm-orange-gradient) !important;
  color: #FFFFFF !important;
  padding: 0.95rem 2.2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--akm-orange-glow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.akm-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(255, 102, 0, 0.5);
  color: #FFFFFF !important;
}

.akm-btn-secondary {
  background: rgba(18, 23, 33, 0.8) !important;
  color: var(--akm-text-secondary) !important;
  padding: 0.95rem 2.2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--akm-border-subtle);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.akm-btn-secondary:hover {
  background: rgba(26, 33, 48, 0.95) !important;
  border-color: rgba(255, 102, 0, 0.4);
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

/* ==============================================================================
 * HARD NUMBERS & METRICS BAR (Trust Section)
 * ============================================================================== */
.akm-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 0 auto 4rem auto;
  max-width: 1150px;
}

.akm-metric-card {
  background: var(--akm-bg-card);
  border: 1px solid var(--akm-border-subtle);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.akm-metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 102, 0, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.akm-metric-card:hover::before {
  opacity: 1;
}

.akm-metric-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.akm-metric-value span {
  color: var(--akm-orange);
}

.akm-metric-label {
  font-size: 0.85rem;
  color: var(--akm-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==============================================================================
 * TRUST BAR / ECOSYSTEM
 * ============================================================================== */
.akm-trust-bar {
  text-align: center;
  padding: 2.5rem 1rem;
  border-top: 1px solid var(--akm-border-subtle);
  border-bottom: 1px solid var(--akm-border-subtle);
  margin-bottom: 4.5rem;
  background: rgba(18, 22, 32, 0.4);
}

.akm-trust-caption {
  font-size: 0.85rem;
  color: var(--akm-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.akm-trust-tags {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.akm-trust-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #CBD5E1;
  transition: all 0.25s ease;
}

.akm-trust-pill:hover {
  border-color: var(--akm-border-hover);
  color: #FFFFFF;
  background: rgba(255, 102, 0, 0.08);
}

/* ==============================================================================
 * BENTO GRID (Solutions & Engineering)
 * ============================================================================== */
.akm-section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem auto;
}

.akm-section-tag {
  color: var(--akm-orange);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.akm-section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

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

.akm-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  max-width: 1150px;
  margin: 0 auto 5rem auto;
}

.akm-bento-col-8 {
  grid-column: span 8;
}

.akm-bento-col-4 {
  grid-column: span 4;
}

.akm-bento-col-6 {
  grid-column: span 6;
}

.akm-bento-col-12 {
  grid-column: span 12;
}

@media (max-width: 900px) {
  .akm-bento-col-8,
  .akm-bento-col-4,
  .akm-bento-col-6 {
    grid-column: span 12;
  }
}

.akm-bento-card {
  background: var(--akm-bg-card);
  border: 1px solid var(--akm-border-subtle);
  border-radius: 16px;
  padding: 2.25rem;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.akm-bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--akm-border-hover);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 102, 0, 0.15);
  background: var(--akm-bg-card-hover);
}

.akm-card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 102, 0, 0.12);
  border: 1px solid rgba(255, 102, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--akm-orange);
}

.akm-card-badge {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--akm-text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
}

.akm-bento-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
  color: #FFFFFF !important;
}

.akm-bento-card p {
  color: var(--akm-text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.akm-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.akm-card-features li {
  font-size: 0.9rem;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.akm-card-features li::before {
  content: "✓";
  color: var(--akm-orange);
  font-weight: 800;
}

/* ==============================================================================
 * METHODOLOGY (Process Section)
 * ============================================================================== */
.akm-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1150px;
  margin: 0 auto 5rem auto;
}

.akm-process-step {
  background: rgba(18, 23, 33, 0.6);
  border: 1px solid var(--akm-border-subtle);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.akm-process-step:hover {
  border-color: var(--akm-border-hover);
  background: var(--akm-bg-card-hover);
}

.akm-step-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--akm-orange-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.8rem;
  line-height: 1;
}

.akm-process-step h4 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: #FFFFFF !important;
}

.akm-process-step p {
  font-size: 0.9rem;
  color: var(--akm-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ==============================================================================
 * CTA BANNER (Enterprise Call to Action)
 * ============================================================================== */
.akm-cta-banner {
  background: linear-gradient(135deg, rgba(26, 33, 48, 0.95) 0%, rgba(14, 18, 26, 0.95) 100%);
  border: 1px solid rgba(255, 102, 0, 0.35);
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  max-width: 1150px;
  margin: 0 auto 5rem auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 102, 0, 0.15);
}

.akm-cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 102, 0, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.akm-cta-banner h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #FFFFFF !important;
  position: relative;
}

.akm-cta-banner p {
  font-size: 1.15rem;
  color: var(--akm-text-secondary);
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
  position: relative;
}

/* ==============================================================================
 * FOOTER
 * ============================================================================== */
.site-footer, #colophon {
  background: var(--akm-bg-deep) !important;
  border-top: 1px solid var(--akm-border-subtle) !important;
  color: var(--akm-text-dim) !important;
  padding: 2.5rem 1rem !important;
  font-size: 0.9rem !important;
}

.site-footer a {
  color: var(--akm-text-muted) !important;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--akm-orange) !important;
}

.akm-footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--akm-text-muted);
  margin-top: 0.5rem;
}

/* ==============================================================================
 * MOBILE NAVIGATION & RESPONSIVE TWEAKS
 * ============================================================================== */
.ast-mobile-header-wrap,
.ast-mobile-header-content,
.main-header-bar-navigation,
.ast-mobile-popup-content,
.ast-mobile-popup-inner,
.ast-desktop-popup-content {
  background-color: var(--akm-bg-surface) !important;
}

.ast-button-wrap .menu-toggle,
.ast-mobile-menu-trigger-minimal,
.ast-mobile-menu-trigger-minimal svg {
  color: var(--akm-orange) !important;
  fill: var(--akm-orange) !important;
}

.ast-mobile-popup-drawer.active .ast-mobile-popup-inner {
  background: var(--akm-bg-main) !important;
}

@media (max-width: 768px) {
  .akm-hero {
    padding: 3rem 1rem 2.5rem 1rem;
  }
  .akm-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .akm-btn-primary, .akm-btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .akm-metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .akm-bento-card {
    padding: 1.5rem;
  }
  .akm-cta-banner {
    padding: 2.5rem 1.25rem;
  }
}
