/* ==========================================================================
   PWN TECNOLOGIA — DESIGN SYSTEM & ESTÉTICA INSTITUCIONAL APPLE
   Cores Oficiais: Azul Corporativo (#00A3FF), Grafite Profundo (#0F172A), 
   Cinza de Suporte (#1E293B), Off-White (#F8FAFC).
   Tipografia: Poppins, Inter, JetBrains Mono.
   ========================================================================== */

:root {
  /* Brand Palette (Manual da Marca V2.0) */
  --pwn-blue: #00A3FF;
  --pwn-blue-hover: #008be0;
  --pwn-blue-glow: rgba(0, 163, 255, 0.28);
  --pwn-blue-subtle: rgba(0, 163, 255, 0.10);

  /* WCAG AA Accessible Colors for Buttons & Light Backgrounds */
  --pwn-blue-accessible: #0066D6;
  --pwn-blue-accessible-hover: #004FA8;
  --pwn-blue-ink: #005AA8;
  --pwn-graphite: #0F172A;
  --pwn-graphite-deep: #080D1A;
  --pwn-slate-800: #1E293B;
  --pwn-slate-700: #334155;
  --pwn-slate-600: #475569;
  --pwn-slate-400: #94A3B8;
  --pwn-slate-300: #CBD5E1;
  --pwn-offwhite: #F8FAFC;
  --pwn-white: #FFFFFF;

  /* Apple Surface Tokens */
  --surface-black: #000000;
  --surface-tile-dark: #0F172A;
  --surface-tile-darker: #090e1a;
  --surface-tile-light: #FFFFFF;
  --surface-tile-parchment: #F8FAFC;
  --surface-card-dark: #1E293B;
  --surface-card-border: rgba(255, 255, 255, 0.08);
  --surface-light-border: #E2E8F0;

  /* Typography */
  --font-brand: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Apple System Elevation & Shadows */
  --shadow-product: 0 20px 40px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --shadow-product-light: 0 20px 40px -15px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.8);
  --shadow-glow: 0 0 35px rgba(0, 163, 255, 0.3);

  /* Layout & Transitions */
  --max-width: 1200px;
  --max-width-wide: 1360px;
  --nav-height: 48px;
  --subnav-height: 40px;
  --transition-apple: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-pill: 9999px;
  --radius-card: 18px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--pwn-graphite);
  color: var(--pwn-slate-800);
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.47;
  letter-spacing: -0.022em;
  overflow-x: hidden;
  background-color: var(--pwn-graphite);
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

section[id] {
  scroll-margin-top: calc(var(--nav-height) + var(--subnav-height) + 24px);
}

/* ==========================================================================
   GLOBAL NAVIGATION (Apple Frosted Glass 44px)
   ========================================================================== */

.global-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition-apple);
}

.global-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.global-nav {
  height: var(--nav-height);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  position: relative;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease;
}

.nav-brand:active {
  transform: scale(0.96);
}

.nav-logo-svg {
  height: 24px;
  width: auto;
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(248, 250, 252, 0.75);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #FFFFFF;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-badge-eip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 163, 255, 0.12);
  border: 1px solid rgba(0, 163, 255, 0.35);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--pwn-blue);
  font-weight: 500;
}

.nav-badge-eip .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--pwn-blue);
  box-shadow: 0 0 8px var(--pwn-blue);
  animation: pulse-dot 2s infinite ease-in-out;
}

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

.btn-nav-contact {
  background-color: var(--pwn-blue-accessible);
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: -0.01em;
  transition: var(--transition-apple);
}

.btn-nav-contact:hover {
  background-color: var(--pwn-blue-accessible-hover);
  box-shadow: 0 0 16px rgba(0, 102, 214, 0.4);
}

.btn-nav-contact:active {
  transform: scale(0.95);
}

/* Mobile Hamburger */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  position: relative;
  z-index: 1003;
}

.mobile-nav-toggle span {
  width: 20px;
  height: 1.5px;
  background-color: #FFFFFF;
  transition: var(--transition-apple);
  transform-origin: center;
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Sub-nav Ribbon */
.sub-nav-ribbon {
  background: rgba(24, 34, 53, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  min-height: var(--subnav-height);
  display: flex;
  align-items: center;
}

.subnav-container {
  width: 100%;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
}

.subnav-context {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pwn-slate-400);
  min-height: var(--subnav-height);
  min-width: 0;
}

.subnav-context > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subnav-context strong {
  color: var(--pwn-offwhite);
  font-weight: 500;
  white-space: nowrap;
}

.subnav-specs {
  display: flex;
  gap: 20px;
  font-family: var(--font-mono);
  color: var(--pwn-slate-400);
  font-size: 0.75rem;
}

.subnav-specs span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.subnav-specs span::before {
  content: "•";
  color: var(--pwn-blue);
}

/* ==========================================================================
   BUTTONS (Apple Pill & Utility Rect Grammar)
   ========================================================================== */

.btn-pill-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--pwn-blue-accessible);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  letter-spacing: -0.015em;
  transition: var(--transition-apple);
  box-shadow: 0 4px 14px rgba(0, 102, 214, 0.25);
}

.btn-pill-primary:hover {
  background-color: var(--pwn-blue-accessible-hover);
  box-shadow: 0 6px 20px rgba(0, 102, 214, 0.4);
}

.btn-pill-primary:active {
  transform: scale(0.95);
}

.btn-pill-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: -0.015em;
  transition: var(--transition-apple);
}

.btn-pill-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-pill-secondary:active {
  transform: scale(0.95);
}

.btn-pill-secondary-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: var(--pwn-graphite);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(15, 23, 42, 0.2);
  letter-spacing: -0.015em;
  transition: var(--transition-apple);
}

.btn-pill-secondary-dark:hover {
  background-color: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.4);
}

.btn-pill-secondary-dark:active {
  transform: scale(0.95);
}

.arrow-icon {
  transition: transform 0.2s ease;
}

.btn-pill-primary:hover .arrow-icon,
.btn-pill-secondary:hover .arrow-icon,
.btn-pill-secondary-dark:hover .arrow-icon {
  transform: translateX(3px);
}

/* ==========================================================================
   SECTIONS & CANVASES (Apple Alternating Rhythm)
   ========================================================================== */

.tile-section {
  width: 100%;
  padding: 100px 24px;
  position: relative;
}

.tile-dark {
  background-color: var(--pwn-graphite);
  color: var(--pwn-offwhite);
}

.tile-dark-deep {
  background-color: var(--pwn-graphite-deep);
  color: var(--pwn-offwhite);
}

.tile-light {
  background-color: var(--pwn-white);
  color: var(--pwn-graphite);
}

.tile-parchment {
  background-color: var(--pwn-offwhite);
  color: var(--pwn-graphite);
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-container-wide {
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

/* Section Header Styles */
.section-tagline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--pwn-blue);
  margin-bottom: 16px;
  display: inline-block;
}

.tile-light .section-tagline,
.tile-parchment .section-tagline {
  color: var(--pwn-blue-ink);
}

.section-title {
  font-family: var(--font-brand);
  font-size: clamp(1.75rem, 1rem + 2.8vw, 2.875rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.015em;
  max-width: 680px;
  color: var(--pwn-slate-400);
}

.tile-light .section-subtitle,
.tile-parchment .section-subtitle {
  color: var(--pwn-slate-600);
}

/* ==========================================================================
   1. HERO SECTION (Dark Canvas #0F172A)
   ========================================================================== */

.hero-section {
  padding-top: calc(var(--nav-height) + var(--subnav-height) + 64px);
  padding-bottom: 96px;
  background-color: var(--pwn-graphite);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 3D Cybernetic Mesh Background Layer */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/img/pwn-tech-mesh-hero.jpg');
  background-image: image-set(
    url('assets/img/pwn-tech-mesh-hero-1400.webp') type('image/webp'),
    url('assets/img/pwn-tech-mesh-hero.jpg') type('image/jpeg')
  );
  background-size: cover;
  background-position: center top;
  opacity: 0.46;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(circle at 50% 32%, rgba(0,0,0,1) 25%, rgba(0,0,0,0.12) 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 32%, rgba(0,0,0,1) 25%, rgba(0,0,0,0.12) 80%);
}

/* Ambient Spotlight Glow */
.hero-section::after {
  content: "";
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 440px;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.22) 0%, rgba(0, 163, 255, 0) 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.hero-section .section-container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background: rgba(0, 163, 255, 0.1);
  border: 1px solid rgba(0, 163, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--pwn-blue);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 163, 255, 0.15);
}

.hero-title {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 1rem + 4.2vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  max-width: 960px;
  margin: 0 auto 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.hero-title .highlight-blue {
  color: var(--pwn-blue);
  position: relative;
  text-shadow: 0 0 35px rgba(0, 163, 255, 0.45);
}

.hero-description {
  font-size: 1.375rem;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--pwn-slate-300);
  max-width: 740px;
  margin: 0 auto 36px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
}

/* Console / Interactive Product Preview (Hero Showcase) */
/* Hero Bento Showcase: Matriz Institucional de Capacidades */
.hero-bento-showcase {
  max-width: 1140px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
  position: relative;
  z-index: 1;
}

.bento-card {
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 163, 255, 0.5), transparent);
}

.bento-card:hover {
  border-color: rgba(0, 163, 255, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 163, 255, 0.18);
  transform: translateY(-4px);
}

.bento-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pwn-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.bento-title {
  font-family: var(--font-brand);
  font-size: 1.375rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.bento-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--pwn-slate-300);
  font-weight: 300;
  margin-bottom: 24px;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
}

.bento-tags span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--pwn-slate-300);
}

/* ==========================================================================
   2. BRAND MANIFESTO & 3 PILLARS (Light Canvas #FFFFFF)
   ========================================================================== */

.manifesto-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 64px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar-card {
  background: var(--pwn-offwhite);
  border: 1px solid var(--surface-light-border);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-apple);
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-product-light);
  border-color: rgba(0, 163, 255, 0.3);
}

.pillar-number {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--pwn-blue-ink);
  font-weight: 600;
  margin-bottom: 24px;
}

.pillar-title {
  font-family: var(--font-brand);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--pwn-graphite);
  margin-bottom: 16px;
}

.pillar-desc {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--pwn-slate-600);
  margin-bottom: 28px;
}

.pillar-spec {
  border-top: 1px solid var(--surface-light-border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--pwn-slate-600);
}

.pillar-spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-spec-item::before {
  content: "✓" / "";
  color: var(--pwn-blue-ink);
  font-weight: 700;
}

/* ==========================================================================
   3. CAPABILITY GALLERY / ENGINEERING SOLUTIONS (Dark Tile #0F172A)
   ========================================================================== */

#solucoes.tile-dark {
  position: relative;
  background-color: var(--pwn-graphite);
  overflow: hidden;
}

#solucoes.tile-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/img/pwn-circuit-mesh.jpg');
  background-image: image-set(
    url('assets/img/pwn-circuit-mesh-1400.webp') type('image/webp'),
    url('assets/img/pwn-circuit-mesh.jpg') type('image/jpeg')
  );
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
}

#solucoes .section-container {
  position: relative;
  z-index: 1;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.capability-card {
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.capability-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 163, 255, 0.45), transparent);
}

.capability-card:hover {
  border-color: rgba(0, 163, 255, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 35px rgba(0, 163, 255, 0.22);
  transform: translateY(-6px);
}

.capability-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 163, 255, 0.2), rgba(0, 102, 204, 0.08));
  border: 1px solid rgba(0, 163, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--pwn-blue);
  box-shadow: 0 4px 16px rgba(0, 163, 255, 0.15);
}

.capability-title {
  font-family: var(--font-brand);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.capability-desc {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--pwn-slate-400);
  margin-bottom: 24px;
}

.capability-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.capability-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--pwn-slate-300);
}

.capability-feature span.tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--pwn-blue);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   PROJETOS DESENVOLVIDOS & CASOS PRÁTICOS (#projetos)
   ========================================================================== */

.projects-section {
  background: #080D1A;
  color: var(--pwn-offwhite);
  position: relative;
}

.projects-section::before {
  content: "";
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.projects-showcase {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

.project-card {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 163, 255, 0.6), transparent);
}

.project-card:hover {
  border-color: rgba(0, 163, 255, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(0, 163, 255, 0.18);
  transform: translateY(-4px);
}

.project-header {
  margin-bottom: 28px;
}

.project-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.project-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--pwn-slate-300);
}

.project-badge.highlight {
  background: rgba(0, 163, 255, 0.15);
  border-color: rgba(0, 163, 255, 0.4);
  color: var(--pwn-blue);
  font-weight: 600;
}

.project-title {
  font-family: var(--font-brand);
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.project-lead {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--pwn-slate-300);
}

.project-problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.project-block {
  background: rgba(8, 13, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-block-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--pwn-slate-300);
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.indicator.red {
  background: #EF4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.indicator.blue {
  background: #00A3FF;
  box-shadow: 0 0 8px rgba(0, 163, 255, 0.6);
}

.project-block p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--pwn-slate-400);
  font-weight: 300;
}

.project-workflow {
  background: rgba(8, 13, 26, 0.85);
  border: 1px solid rgba(0, 163, 255, 0.25);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 32px;
}

.workflow-title {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pwn-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.workflow-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 14px;
  transition: background 0.2s ease;
}

.workflow-step:hover {
  background: rgba(0, 163, 255, 0.08);
  border-color: rgba(0, 163, 255, 0.3);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--pwn-blue);
}

.step-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #FFFFFF;
}

.workflow-arrow {
  color: var(--pwn-slate-400);
  font-size: 0.9375rem;
  font-weight: 600;
  user-select: none;
}

.project-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}

.project-spec-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-spec-item strong {
  font-family: var(--font-brand);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #FFFFFF;
}

.project-spec-item span {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--pwn-slate-400);
  font-weight: 300;
}

/* ==========================================================================
   4. ECOSYSTEM SYNERGY: EIP SANKHYA (Light Parchment Canvas #F8FAFC)
   ========================================================================== */

/* Homologation Seal Banner */
.homologation-seal-card {
  margin-top: 36px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F0F7FF 100%);
  border: 1px solid rgba(0, 102, 214, 0.22);
  border-radius: var(--radius-card);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 10px 30px rgba(0, 70, 160, 0.05), 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.homologation-seal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #00A3FF 0%, #005AA8 100%);
}

.seal-main {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
}

.seal-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 102, 214, 0.12), rgba(0, 163, 255, 0.18));
  border: 1px solid rgba(0, 102, 214, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pwn-blue-ink);
  flex-shrink: 0;
  margin-top: 2px;
}

.seal-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.seal-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--pwn-blue-ink);
  text-transform: uppercase;
}

.seal-title {
  font-family: var(--font-brand);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pwn-graphite);
  letter-spacing: -0.02em;
  margin: 0;
}

.seal-desc {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--pwn-slate-600);
  max-width: 680px;
  margin: 0;
}

.seal-stamp {
  flex-shrink: 0;
}

.seal-stamp-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 2px solid #0066D6;
  box-shadow: 0 4px 14px rgba(0, 102, 214, 0.12);
  text-align: center;
  gap: 3px;
}

.seal-stamp-inner svg {
  color: #0066D6;
  margin-bottom: 2px;
}

.stamp-status {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #005AA8;
}

.stamp-target {
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pwn-slate-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.synergy-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.synergy-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.synergy-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--surface-light-border);
}

.synergy-point-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 102, 214, 0.12);
  color: var(--pwn-blue-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.9375rem;
}

.synergy-point h4 {
  font-family: var(--font-brand);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--pwn-graphite);
  margin-bottom: 4px;
}

.synergy-point p {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--pwn-slate-600);
}

.synergy-diagram {
  background: radial-gradient(circle at 50% 50%, rgba(248, 250, 252, 0.98), #FFFFFF);
  border: 1px solid var(--surface-light-border);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.synergy-diagram::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(0, 163, 255, 0.16) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  pointer-events: none;
  opacity: 0.7;
}

.diagram-node {
  position: relative;
  z-index: 1;
  padding: 18px 22px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition-apple);
}

.diagram-node:hover {
  transform: translateY(-2px);
}

.diagram-node-info {
  min-width: 0;
  flex: 1;
}

.diagram-node-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.diagram-node.sankhya {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.08);
}

.diagram-node.pwn {
  background: rgba(0, 163, 255, 0.08);
  border: 1px solid rgba(0, 163, 255, 0.4);
  box-shadow: 0 6px 20px rgba(0, 163, 255, 0.15);
}

.diagram-node.external {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.node-title {
  font-family: var(--font-brand);
  font-size: 1rem;
  font-weight: 600;
  color: var(--pwn-graphite);
}

.node-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--pwn-slate-600);
}

.diagram-connector {
  position: relative;
  z-index: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--pwn-blue-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.diagram-connector::before,
.diagram-connector::after {
  content: "";
  height: 1px;
  width: 44px;
  background: linear-gradient(90deg, transparent, var(--pwn-blue-ink), transparent);
  opacity: 0.6;
}

/* ==========================================================================
   5. INTERACTIVE ARCHITECTURE INSPECTOR (Dark #080D1A Pro Surface)
   ========================================================================== */

/* ==========================================================================
   5. DIRETRIZES TÉCNICAS DE ENGENHARIA (#diretrizes)
   ========================================================================== */

.diretrizes-section {
  background-color: var(--pwn-graphite-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.diretrizes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.diretriz-card {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.diretriz-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 163, 255, 0.45), transparent);
}

.diretriz-card:hover {
  border-color: rgba(0, 163, 255, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 163, 255, 0.15);
  transform: translateY(-4px);
}

.diretriz-num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--pwn-blue);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.diretriz-title {
  font-family: var(--font-brand);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.diretriz-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--pwn-slate-300);
  font-weight: 300;
  margin-bottom: 24px;
}

.diretriz-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.diretriz-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 163, 255, 0.1);
  border: 1px solid rgba(0, 163, 255, 0.25);
  color: var(--pwn-blue);
  font-weight: 500;
}

/* ==========================================================================
   6. AUTHORITY METRICS & INSTITUTIONAL TRUST (Dark Surface)
   ========================================================================== */

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 0;
}

.metric-box {
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-box:last-child {
  border-right: none;
}

.metric-number {
  font-family: var(--font-brand);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.metric-number .accent {
  color: var(--pwn-blue);
}

.metric-title {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--pwn-slate-400);
  line-height: 1.4;
}

/* ==========================================================================
   7. INSTITUTIONAL DIALOGUE / EXECUTIVE CONTACT (High-Contrast Executive Card)
   ========================================================================== */

.contact-enhanced-section {
  background: radial-gradient(1200px circle at 50% 10%, rgba(0, 102, 214, 0.05) 0%, rgba(248, 250, 252, 0.95) 60%, #F1F5F9 100%);
  position: relative;
  border-top: 1px solid rgba(0, 102, 214, 0.1);
  padding: 104px 24px;
}

.dialogue-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 102, 214, 0.18);
  border-radius: 24px;
  padding: 56px 64px;
  box-shadow: 
    0 25px 60px -15px rgba(15, 23, 42, 0.12),
    0 10px 25px -5px rgba(0, 102, 214, 0.07),
    0 0 0 1px rgba(226, 232, 240, 0.85);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
  position: relative;
  overflow: hidden;
}

/* Linha sutil de destaque da marca no topo do card */
.dialogue-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #005AA8 0%, #00A3FF 50%, #0066D6 100%);
}

.dialogue-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Badge de Status de Atendimento */
.contact-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.32);
  color: #065F46;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  width: fit-content;
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Box de Canal Direto para suporte@pwn.com.br */
.contact-direct-channel {
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  border: 1px solid rgba(0, 102, 214, 0.22);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition-apple);
}

.contact-direct-channel:hover {
  border-color: var(--pwn-blue-accessible);
  box-shadow: 0 6px 20px rgba(0, 102, 214, 0.1);
}

.direct-channel-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.direct-channel-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 102, 214, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pwn-blue-ink);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.direct-channel-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--pwn-slate-600);
  margin-bottom: 2px;
}

.direct-channel-link {
  font-family: var(--font-brand);
  font-size: 1rem;
  font-weight: 600;
  color: var(--pwn-blue-ink);
  transition: var(--transition-apple);
}

.direct-channel-link:hover {
  color: var(--pwn-blue-accessible-hover);
  text-decoration: underline;
}

.btn-copy-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 102, 214, 0.28);
  border-radius: var(--radius-pill);
  color: var(--pwn-blue-ink);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-apple);
  flex-shrink: 0;
}

.btn-copy-email:hover {
  background: var(--pwn-blue-accessible);
  border-color: var(--pwn-blue-accessible);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 102, 214, 0.25);
}

.btn-copy-email.copied {
  background: #10B981;
  border-color: #10B981;
  color: #FFFFFF;
}

.dialogue-meta-group {
  border-top: 1px solid var(--surface-light-border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dialogue-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--pwn-slate-700);
}

.dialogue-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0, 102, 214, 0.1);
  color: var(--pwn-blue-ink);
  flex-shrink: 0;
}

/* Coluna Direita do Formulário */
.dialogue-form-container {
  background: #FAFCFE;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  padding: 28px 32px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.form-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid #E2E8F0;
}

.form-header-title {
  font-family: var(--font-brand);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--pwn-graphite);
  letter-spacing: -0.01em;
}

.form-header-security {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--pwn-slate-600);
  font-weight: 500;
}

.dialogue-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pwn-slate-700);
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 17px;
  color: var(--pwn-slate-400);
  pointer-events: none;
  transition: var(--transition-apple);
}

.input-with-icon:focus-within .input-icon {
  color: var(--pwn-blue-accessible);
}

.form-input {
  width: 100%;
  padding: 11px 16px 11px 40px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--pwn-graphite);
  transition: var(--transition-apple);
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.form-input:hover {
  border-color: #CBD5E1;
}

.form-input:focus {
  border-color: var(--pwn-blue-accessible);
  background: #FFFFFF;
  box-shadow: 0 0 0 3.5px rgba(0, 102, 214, 0.18);
}

.form-input[aria-invalid="true"],
.form-textarea[aria-invalid="true"] {
  border-color: #B91C1C;
}

.form-input[aria-invalid="true"]:focus,
.form-textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3.5px rgba(185, 28, 28, 0.15);
}

.form-error {
  display: none;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #B91C1C;
}

.form-error.visible {
  display: block;
}

/* Honeypot anti-spam — nunca visível nem focável */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Seletor Rápido de Contexto em Pills */
.interest-pill-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  margin-bottom: 2px;
}

.interest-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: var(--pwn-slate-700);
  cursor: pointer;
  transition: var(--transition-apple);
}

.interest-pill:hover {
  background: #E2E8F0;
  color: var(--pwn-graphite);
  border-color: #CBD5E1;
}

.interest-pill.active,
.interest-pill[aria-pressed="true"] {
  background: rgba(0, 102, 214, 0.12);
  border-color: var(--pwn-blue-accessible);
  color: var(--pwn-blue-ink);
  font-weight: 600;
  box-shadow: 0 0 0 1px var(--pwn-blue-accessible);
}

.sr-only-select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.textarea-icon-wrap .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--pwn-graphite);
  transition: var(--transition-apple);
  outline: 2px solid transparent;
  outline-offset: 2px;
  min-height: 90px;
  resize: vertical;
}

.form-textarea:hover {
  border-color: #CBD5E1;
}

.form-textarea:focus {
  border-color: var(--pwn-blue-accessible);
  box-shadow: 0 0 0 3.5px rgba(0, 102, 214, 0.12);
}

/* Botão de Envio com Loading Spinner */
.btn-submit-full {
  width: 100%;
  margin-top: 6px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #0066D6 0%, #0052B4 100%);
  box-shadow: 0 4px 14px rgba(0, 102, 214, 0.32);
  border-radius: var(--radius-pill);
  color: #FFFFFF;
  transition: var(--transition-apple);
  cursor: pointer;
}

.btn-submit-full:hover:not(:disabled) {
  background: linear-gradient(135deg, #0055B8 0%, #004598 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(0, 102, 214, 0.42);
}

.btn-submit-full:disabled {
  opacity: 0.8;
  cursor: not-allowed;
  transform: none;
}

.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
}

.btn-submit-full.loading .btn-spinner {
  display: inline-block;
}

.btn-submit-full.loading .arrow-icon {
  display: none;
}

@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* Card de Feedback e Confirmação Enriquecido */
.form-feedback-alert {
  display: none;
  margin-top: 16px;
  padding: 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
  border: 1.5px solid #10B981;
  color: #064E3B;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12);
  animation: feedbackFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

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

.feedback-badge-success {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.feedback-title {
  font-family: var(--font-brand);
  font-size: 1rem;
  font-weight: 700;
  color: #065F46;
  margin-bottom: 6px;
}

.feedback-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #047857;
  margin-bottom: 14px;
}

.feedback-email-highlight {
  color: #064E3B;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.18);
  padding: 2px 6px;
  border-radius: 4px;
}

.feedback-protocol-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #FFFFFF;
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 8px;
  margin-bottom: 16px;
}

.protocol-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: #047857;
}

.protocol-code {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #064E3B;
}

.feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.feedback-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 102, 214, 0.3);
  border-radius: var(--radius-pill);
  color: var(--pwn-blue-ink);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: var(--transition-apple);
}

.feedback-btn-secondary:hover {
  background: var(--pwn-blue-accessible);
  border-color: var(--pwn-blue-accessible);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(0, 102, 214, 0.2);
}

.feedback-btn-ghost {
  padding: 8px 14px;
  font-size: 0.8125rem;
  color: #065F46;
  font-weight: 600;
  background: transparent;
  cursor: pointer;
  transition: var(--transition-apple);
  border-radius: var(--radius-pill);
}

.feedback-btn-ghost:hover {
  background: rgba(16, 185, 129, 0.15);
  color: #064E3B;
}

/* Estado de erro do envio (mesma casca do sucesso, semântica de alerta) */
.form-feedback-alert.is-error {
  background: linear-gradient(135deg, #FFF7F7 0%, #FEF2F2 100%);
  border-color: #DC2626;
  color: #7F1D1D;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.10);
}

.form-feedback-alert.is-error .feedback-badge-success {
  background: #DC2626;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.form-feedback-alert.is-error .feedback-title {
  color: #991B1B;
}

.form-feedback-alert.is-error .feedback-desc {
  color: #B91C1C;
}

.form-feedback-alert.is-error .feedback-protocol-badge {
  display: none;
}

.form-feedback-alert.is-error .feedback-btn-ghost {
  color: #991B1B;
}

.form-feedback-alert.is-error .feedback-btn-ghost:hover {
  background: rgba(220, 38, 38, 0.12);
  color: #7F1D1D;
}

.form-privacy-note {
  margin-top: 14px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--pwn-slate-600);
}

.form-privacy-note summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--pwn-slate-700);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.form-privacy-note summary::-webkit-details-marker {
  display: none;
}

.form-privacy-note summary::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

.form-privacy-note[open] summary::before {
  transform: rotate(45deg);
}

.form-privacy-note p {
  margin-top: 8px;
}

.form-privacy-note a {
  color: var(--pwn-blue-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Faixa de CTA intermediária (após os casos) */
.cta-band {
  margin-top: 56px;
  padding: 36px 40px;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(0, 163, 255, 0.14) 0%, rgba(0, 163, 255, 0.04) 100%);
  border: 1px solid rgba(0, 163, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band-text h3 {
  font-family: var(--font-brand);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pwn-offwhite);
  margin-bottom: 6px;
}

.cta-band-text p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--pwn-slate-300);
  max-width: 56ch;
}

.cta-band .btn-pill-primary {
  flex-shrink: 0;
}

@media (max-width: 834px) {
  .cta-band {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 28px 22px;
  }
  .cta-band-text p {
    margin: 0 auto;
  }
}

/* ==========================================================================
   8. FOOTER (Apple Style Multi-Column Fine-Print #0F172A)
   ========================================================================== */

.global-footer {
  background-color: var(--pwn-graphite-deep);
  color: var(--pwn-slate-400);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 64px 24px 40px;
  font-size: 0.8125rem;
}

.footer-container {
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

.footer-disclaimer {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 24px;
  margin-bottom: 40px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--pwn-slate-400);
}

.footer-disclaimer a {
  color: var(--pwn-slate-400);
  text-decoration: underline;
}

.footer-columns {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-logo {
  height: 28px;
  width: auto;
  align-self: flex-start;
  object-position: left center;
}

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--pwn-slate-400);
  max-width: 320px;
}

.footer-col h5 {
  font-family: var(--font-brand);
  font-size: 0.875rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--pwn-slate-400);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #FFFFFF;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.875rem;
  color: var(--pwn-slate-400);
}

.footer-version-tag {
  font-family: var(--font-mono);
  color: var(--pwn-slate-400);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Apple Breakpoints: 1180px, 1068px, 834px, 640px, 420px)
   ========================================================================== */

@media (max-width: 1180px) {
  .subnav-specs {
    display: none;
  }
}

@media (max-width: 1068px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .hero-bento-showcase {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .diretrizes-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .project-card {
    padding: 36px 28px;
  }
  .project-problem-solution {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .project-specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .synergy-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .dialogue-card {
    grid-template-columns: 1fr;
    padding: 40px 32px;
    gap: 40px;
  }
}

@media (max-width: 834px) {
  .nav-menu, .nav-actions {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .subnav-specs {
    display: none;
  }
  .hero-description {
    font-size: 1.0625rem;
  }
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  .project-specs-grid {
    grid-template-columns: 1fr;
  }
  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }
  .metric-box {
    border-right: none;
  }
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .homologation-seal-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 20px;
  }
  .seal-main {
    flex-direction: column;
    gap: 14px;
  }
  .seal-stamp {
    align-self: flex-start;
    width: 100%;
  }
  .seal-stamp-inner {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .tile-section {
    padding: 72px 16px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-pill-primary, .btn-pill-secondary, .btn-pill-secondary-dark {
    width: 100%;
  }
  .bento-card {
    padding: 24px 20px;
  }
  .diretriz-card {
    padding: 24px 20px;
  }
  .project-card {
    padding: 28px 18px;
  }
  .project-title {
    font-size: 1.375rem;
  }
  .workflow-steps {
    flex-direction: column;
    align-items: stretch;
  }
  .workflow-arrow {
    transform: rotate(90deg);
    align-self: center;
  }
  .contact-enhanced-section {
    padding: 56px 14px;
  }
  .dialogue-card {
    padding: 24px 16px;
    border-radius: 18px;
    gap: 32px;
  }
  .dialogue-form-container {
    padding: 20px 14px;
    border-radius: 14px;
  }
  .form-row-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contact-direct-channel {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .btn-copy-email {
    align-self: flex-start;
  }
  .feedback-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .feedback-btn-secondary,
  .feedback-btn-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .metrics-strip {
    grid-template-columns: 1fr;
  }
  .diagram-node {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .diagram-node-badge {
    align-self: flex-start;
  }
  .footer-columns {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Mobile Nav Drawer Overlay */
.mobile-drawer {
  display: none;
  position: fixed;
  top: calc(var(--nav-height) + var(--subnav-height));
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 1002;
  padding: 32px 24px;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

.mobile-drawer.open {
  display: flex;
  animation: drawer-fade-in 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes drawer-fade-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-drawer .nav-link {
  font-size: 1.125rem;
  font-weight: 500;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   CLEAN REPLACEMENT CLASSES FOR HTML INLINE STYLES (WCAG AA & SEMANTICS)
   ========================================================================== */

.diagram-badge-blue {
  color: var(--pwn-blue-ink);
}

.node-title-pwn {
  color: var(--pwn-blue-ink);
}

.diagram-node-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.node-title-sankhya {
  color: #1E40AF;
}

.diagram-badge-sankhya {
  color: #1E40AF;
}

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

.diretrizes-title {
  color: #FFFFFF;
}

.diretrizes-subtitle {
  margin: 0 auto;
}

.contato-title {
  margin-bottom: 16px;
}

.contato-description {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--pwn-slate-600);
}



.contact-mono-info {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--pwn-slate-400);
}

/* ==========================================================================
   ACESSIBILIDADE: FOCO VISÍVEL, MOVIMENTO REDUZIDO, SELEÇÃO
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--pwn-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.tile-light :focus-visible,
.tile-parchment :focus-visible,
.dialogue-form-container :focus-visible {
  outline-color: var(--pwn-blue-accessible);
}

.form-input:focus-visible,
.form-textarea:focus-visible {
  outline-color: transparent;
}

.btn-pill-primary:focus-visible,
.btn-pill-secondary:focus-visible,
.btn-pill-secondary-dark:focus-visible,
.btn-nav-contact:focus-visible,
.interest-pill:focus-visible,
.feedback-btn-secondary:focus-visible,
.feedback-btn-ghost:focus-visible {
  border-radius: var(--radius-pill);
}

::selection {
  background: rgba(0, 163, 255, 0.35);
  color: var(--pwn-white);
}

.tile-light ::selection,
.tile-parchment ::selection {
  background: rgba(0, 102, 214, 0.22);
  color: var(--pwn-graphite);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .status-dot,
  .status-pulse-dot {
    animation: none;
  }
}

/* Imagens de fundo: variante leve em telas estreitas */
@media (max-width: 768px) {
  .hero-section::before {
    background-image: url('assets/img/pwn-tech-mesh-hero-768.webp');
  }
  #solucoes.tile-dark::before {
    background-image: url('assets/img/pwn-circuit-mesh-768.webp');
  }
}
