/* =========================================================
   Augusto Vasconcelos · Portfólio de Dados & IA
   Design Signature: Ehrvayn (Vercel) + Augusto Galego + Yudi Ganeko
   Tema: Pure Dark Mode · Acentos em Laranja Tech (#f97316)
   Tipografia: Geist & Geist Mono
   ========================================================= */

:root {
  /* Cores Base Ehrvayn */
  --bg-black: #0a0a0a;
  --bg-card: #0f0f0f;
  --bg-card-hover: #141414;
  --bg-subtle: #121212;

  /* Laranja Ehrvayn / Burning Flame Yudi */
  --orange-500: #f97316;
  --orange-400: #fb923c;
  --orange-600: #ea580c;
  --orange-bg-10: rgba(249, 115, 22, 0.08);
  --orange-bg-20: rgba(249, 115, 22, 0.18);
  --orange-border-30: rgba(249, 115, 22, 0.3);
  --orange-border-50: rgba(249, 115, 22, 0.5);
  --orange-border-80: rgba(249, 115, 22, 0.8);
  --orange-glow: rgba(249, 115, 22, 0.25);

  /* Tons Secundários & Status */
  --blue-400: #38bdf8;
  --blue-bg: rgba(56, 189, 248, 0.1);
  --green-500: #10b981;
  --green-bg: rgba(16, 185, 129, 0.1);
  --linkedin-blue: #0a66c2;

  /* Bordas Ehrvayn & Augusto Galego */
  --border-muted: #262626;
  --border-card: rgba(255, 255, 255, 0.08);
  --border-dotted: 1px dotted rgba(255, 255, 255, 0.18);

  /* Tipografia */
  --text-white: #ffffff;
  --text-gray-200: #e5e7eb;
  --text-gray-300: #d1d5db;
  --text-gray-400: #9ca3af;
  --text-gray-500: #6b7280;

  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --container-max: 1100px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body.dark-theme {
  background-color: var(--bg-black);
  color: var(--text-gray-200);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  text-rendering: optimizeLegibility;
}

img, svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

ul, ol {
  list-style: none;
}

.font-mono {
  font-family: var(--font-mono);
}

::selection {
  background: rgba(249, 115, 22, 0.35);
  color: #ffffff;
}

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

/* Scrollbar Dark Ehrvayn */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-black);
}
::-webkit-scrollbar-thumb {
  background: #262626;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--orange-500);
}

/* ---------- Container Central ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Iluminação Ambiente Suave (Zero-Lag Radial Compositor) ---------- */
.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  contain: strict;
  transform: translateZ(0);
}

.glow-orb {
  position: absolute;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  pointer-events: none;
  transform: translateZ(0);
}

.orb-1 {
  top: -140px;
  left: 10%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.12) 0%, rgba(249, 115, 22, 0.03) 45%, transparent 70%);
}

.orb-2 {
  bottom: 8%;
  right: 5%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, rgba(56, 189, 248, 0.02) 45%, transparent 70%);
}

.cyber-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 40%, transparent 85%);
  transform: translateZ(0);
}

/* ---------- Logo Fixo Minimalista no Topo Esquerdo ---------- */
.site-badge {
  position: fixed;
  top: 16px;
  left: 20px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--orange-border-30);
  border-radius: 30px;
  transition: all 0.25s ease;
  transform: translateZ(0);
}

.site-badge:hover {
  border-color: var(--orange-500);
  transform: translateY(-1px) translateZ(0);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.2);
}

.badge-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.9);
  flex-shrink: 0;
  animation: pulse-orange 2.2s infinite ease-in-out;
}

@keyframes pulse-orange {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.9);
  }
  50% {
    opacity: 0.65;
    transform: scale(0.85);
    box-shadow: 0 0 3px rgba(249, 115, 22, 0.4);
  }
}

.badge-name {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-dot-orange {
  color: var(--orange-500);
}

/* ---------- Top Signature Banner (Ehrvayn Signature) ---------- */
.top-signature-banner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--container-max);
  margin: 78px auto 10px auto;
  padding-inline: 24px;
  position: relative;
  z-index: 10;
}

.banner-line-left {
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, transparent, var(--orange-500));
  opacity: 0.6;
}

.banner-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-inline: 18px;
  font-size: 11px;
  color: var(--text-gray-400);
  letter-spacing: 0.12em;
  text-align: center;
  flex-shrink: 0;
}

.banner-part {
  white-space: nowrap;
}

.banner-name {
  color: var(--text-gray-200);
  font-weight: 600;
}

.banner-role {
  color: var(--orange-400);
  font-weight: 500;
}

.banner-year {
  color: var(--text-gray-400);
}

.banner-sep {
  color: var(--orange-500);
  opacity: 0.7;
  font-size: 10px;
}

.banner-line-right {
  height: 1px;
  flex: 1;
  background: linear-gradient(to left, transparent, var(--orange-500));
  opacity: 0.6;
}

/* ---------- Floating Dock Navbar (Augusto Galego style) ---------- */
.navbar-dock-wrap {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  z-index: 95;
}

.navbar-dock {
  display: flex;
  align-items: center;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: var(--border-dotted);
  border-radius: 40px;
  padding: 4px 8px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
  transform: translateZ(0);
}

.dock-items {
  display: flex;
  align-items: center;
  gap: 3px;
}

.dock-link {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  font-size: 12px;
  color: var(--text-gray-400);
  border-radius: 20px;
  transition: all 0.2s ease;
}

.dock-link:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.06);
}

.dock-link.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
}

.dock-mobile-brand {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-white);
  padding-left: 6px;
}

.dmb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 6px rgba(249, 115, 22, 0.8);
}

.dock-mobile-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.dock-mobile-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* ---------- Hero Section (Ehrvayn & Yudi Ganeko style) ---------- */
.hero-section {
  position: relative;
  z-index: 1;
  padding-top: 30px;
  padding-bottom: 70px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 50px;
  align-items: start;
}

/* Coluna Esquerda: Portrait Card */
.hero-left-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 85px;
}

.portrait-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portrait-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--orange-border-50);
  background: #141414;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(249, 115, 22, 0.15);
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.portrait-fallback-box {
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #171717;
  color: var(--orange-500);
}

.fallback-initials {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.fallback-tag {
  font-size: 11px;
  color: var(--text-gray-500);
  margin-top: 4px;
}

.portrait-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-gray-300);
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: 20px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.9); }
}

.portrait-geo {
  font-size: 11.5px;
  color: var(--text-gray-400);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 4px;
}

/* Redes Rápidas */
.hero-social-strip {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.social-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  background: var(--orange-bg-10);
  border: 1px solid var(--orange-border-30);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: var(--text-gray-200);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-box svg {
  color: var(--orange-400);
  flex-shrink: 0;
}

.social-box:hover {
  background: var(--orange-bg-20);
  border-color: var(--orange-500);
  color: #ffffff;
  transform: translateX(3px);
}

.social-box:hover svg {
  color: #ffffff;
}

.box-arrow {
  margin-left: auto;
  font-size: 11px;
  opacity: 0.6;
}

.cv-box {
  border-style: dashed;
}

/* Coluna Direita Hero */
.hero-right-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-badge-tag {
  font-size: 11px;
  color: var(--orange-500);
  letter-spacing: 0.12em;
  font-weight: 600;
}

.tag-bracket {
  color: var(--text-gray-500);
}

.hero-main-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-white);
  letter-spacing: -0.035em;
}

.title-highlight {
  color: var(--orange-500);
}

.hero-terminal-role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--orange-400);
  background: var(--orange-bg-10);
  border: 1px solid var(--orange-border-30);
  border-radius: 6px;
  padding: 6px 14px;
  width: fit-content;
}

.terminal-sym {
  color: var(--orange-500);
  font-weight: 700;
}

.terminal-caret {
  animation: blink 1s infinite;
  color: var(--orange-500);
  font-weight: 700;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.hero-description {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-gray-300);
}

.hero-description strong {
  color: var(--text-white);
  font-weight: 500;
}

.hero-experience-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.xp-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  background: #141414;
  border: 1px solid var(--border-muted);
  border-radius: 20px;
  font-size: 11.5px;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.pill-dot.orange { background: var(--orange-500); }
.pill-dot.blue { background: var(--blue-400); }
.pill-dot.green { background: var(--green-500); }

.pill-title {
  color: var(--text-white);
  font-weight: 600;
}

.pill-detail {
  color: var(--text-gray-500);
}

/* CTAs */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 6px;
}

.btn-orange-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--orange-500);
  color: #000000;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-orange-glow:hover {
  background: var(--orange-400);
  box-shadow: 0 6px 28px rgba(249, 115, 22, 0.6);
  transform: translateY(-2px);
}

.btn-subtle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: #141414;
  color: var(--text-gray-200);
  border: 1px solid var(--border-muted);
  font-size: 12.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-subtle:hover {
  border-color: var(--orange-500);
  color: var(--text-white);
  transform: translateY(-2px);
}

.cta-arrow {
  font-size: 13px;
}

/* Grid de Métricas Hero */
.hero-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 6px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.kpi-card:hover {
  border-color: var(--orange-border-50);
}

.kpi-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-white);
}

.kpi-plus {
  color: var(--orange-500);
  font-weight: 700;
}

.kpi-label {
  font-size: 11px;
  color: var(--text-gray-400);
  margin-top: 3px;
  line-height: 1.35;
}

/* ---------- Estrutura Padrão de Seções ---------- */
.section {
  padding-block: 80px;
  position: relative;
  z-index: 1;
}

.section-dark {
  background-color: var(--bg-black);
}

.section-title-wrap {
  margin-bottom: 38px;
}

.section-title-wrap.text-center {
  text-align: center;
}

.section-kicker {
  font-size: 11.5px;
  color: var(--orange-500);
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.section-heading {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section-subtext {
  font-size: 15px;
  color: var(--text-gray-400);
  margin-top: 8px;
  max-width: 680px;
  line-height: 1.65;
}

.section-title-wrap.text-center .section-subtext {
  margin-inline: auto;
}

/* ---------- Seção Sobre ---------- */
.about-split-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}

.about-prose {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.about-prose p {
  color: var(--text-gray-300);
  font-size: 14.5px;
  line-height: 1.7;
}

.about-prose p strong {
  color: var(--text-white);
  font-weight: 500;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border-muted);
}

.pt-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-gray-200);
}

.pt-arr {
  color: var(--orange-500);
}

.about-card-terminal {
  background: #0c0c0c;
  border: 1px solid var(--orange-border-30);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0,0,0,0.5);
}

.term-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #171717;
  border-bottom: 1px solid var(--border-muted);
  font-size: 11px;
}

.term-dots {
  display: flex;
  gap: 5px;
}

.t-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.d-red { background: #ef4444; }
.d-yellow { background: #f59e0b; }
.d-green { background: #10b981; }

.term-file {
  color: var(--text-gray-400);
}

.term-status {
  color: #10b981;
  font-size: 10px;
}

.term-body {
  padding: 18px;
  font-size: 12px;
  line-height: 1.6;
  color: #e5e7eb;
  overflow-x: auto;
}

.tk { color: var(--blue-400); }
.ts { color: #fde047; }

/* ══════════════════════════════════════════
   SEÇÃO OPERIX (Conceito + Dashboard B2B2C)
══════════════════════════════════════════ */
.section-highlight-operix {
  border-top: 1px solid var(--orange-border-30);
  border-bottom: 1px solid var(--orange-border-30);
  background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(249, 115, 22, 0.08) 0%, #0a0a0a 100%);
}

.text-orange {
  color: var(--orange-500);
}

/* Manifesto OPERIX */
.operix-manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.manifesto-card {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-sm);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.mf-tag {
  font-size: 10px;
  color: var(--orange-500);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.mf-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.35;
}

.mf-text {
  font-size: 13.5px;
  color: var(--text-gray-300);
  line-height: 1.6;
}

/* Showcase do Dashboard OPERIX */
.operix-full-showcase {
  background: #0e0e0e;
  border: 1px solid var(--orange-border-50);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 35px rgba(249, 115, 22, 0.12);
  overflow: hidden;
}

.operix-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  background: #161616;
  border-bottom: 1px solid var(--orange-border-30);
  font-size: 11.5px;
}

.operix-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.operix-logo-badge {
  background: var(--orange-500);
  color: #000;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.1em;
}

.operix-engine-status {
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.engine-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  animation: pulse-green 1.8s infinite;
}

.operix-session-meta {
  display: flex;
  gap: 14px;
  color: var(--text-gray-400);
}

.session-role {
  color: var(--orange-400);
}

.operix-dashboard-media {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Seletor de Áreas */
.operix-area-selector {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.selector-lbl {
  font-size: 11px;
  color: var(--text-gray-500);
  margin-right: 4px;
}

.area-tab {
  background: #161616;
  border: 1px solid var(--border-muted);
  color: var(--text-gray-300);
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.area-tab:hover {
  border-color: var(--orange-border-50);
  color: var(--text-white);
}

.area-tab.active {
  background: var(--orange-bg-20);
  border-color: var(--orange-500);
  color: var(--orange-400);
  font-weight: 700;
}

/* Grid Principal do Dashboard OPERIX */
.operix-dash-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 18px;
}

.opx-dash-card {
  background: #121212;
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--text-gray-400);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.badge-tag-green {
  background: var(--green-bg);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 9.5px;
}

.badge-tag-orange {
  background: var(--orange-bg-10);
  border: 1px solid var(--orange-border-50);
  color: var(--orange-400);
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 9.5px;
}

/* IPP Display */
.ipp-score-display {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: #171717;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.score-circle-wrap {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.score-big {
  font-size: 38px;
  font-weight: 800;
  color: var(--green-500);
  line-height: 1;
}

.score-unit {
  font-size: 13px;
  color: var(--text-gray-500);
}

.score-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.score-status-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
}

.score-status-desc {
  font-size: 12px;
  color: var(--text-gray-400);
  line-height: 1.45;
}

/* Barras Cognitivas */
.cognitive-bars-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cog-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cog-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-gray-300);
}

.cog-val {
  color: var(--orange-400);
  font-weight: 700;
}

.cog-track {
  width: 100%;
  height: 6px;
  background: #202020;
  border-radius: 3px;
  overflow: hidden;
}

.cog-fill {
  height: 100%;
  background: linear-gradient(to right, var(--orange-500), #fb923c);
  border-radius: 3px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Desafio Ativo */
.challenge-active-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.challenge-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.35;
}

.challenge-desc {
  font-size: 13.5px;
  color: var(--text-gray-300);
  line-height: 1.6;
}

.ai-feedback-box {
  background: #181818;
  border: 1px solid var(--orange-border-30);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fb-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--orange-400);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.fb-icon {
  color: var(--orange-500);
}

.fb-text {
  font-size: 12px;
  color: var(--text-gray-200);
  line-height: 1.55;
  font-style: italic;
}

.match-footer {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
}

.match-pill {
  display: flex;
  align-items: center;
  gap: 6px;
}

.match-lbl {
  color: var(--text-gray-400);
}

.match-val {
  font-weight: 700;
}

.match-pipeline-status {
  color: var(--blue-400);
  font-size: 10.5px;
}

/* Rodapé Specs OPERIX */
.operix-specs-footer {
  padding: 16px 20px;
  background: #141414;
  border-top: 1px solid var(--border-muted);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.specs-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-label {
  font-size: 10.5px;
  color: var(--orange-500);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.spec-desc {
  font-size: 13.5px;
  color: var(--text-gray-300);
  line-height: 1.6;
}

.specs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.opx-tag {
  font-size: 11px;
  background: var(--orange-bg-10);
  border: 1px solid var(--orange-border-30);
  color: var(--orange-400);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ══════════════════════════════════════════
   SEÇÃO PROJETOS COM DASHBOARDS COMO MÍDIA
══════════════════════════════════════════ */
.projects-master-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.project-card-container {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card-container:hover {
  border-color: var(--orange-border-50);
  box-shadow: 0 12px 36px rgba(0,0,0,0.6), 0 0 25px rgba(249, 115, 22, 0.12);
  transform: translateY(-2px);
}

.project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.proj-badge-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange-500);
  background: var(--orange-bg-10);
  border: 1px solid var(--orange-border-30);
  padding: 2px 7px;
  border-radius: 4px;
}

.proj-domain {
  font-size: 10px;
  color: var(--text-gray-400);
  letter-spacing: 0.1em;
}

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

.proj-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.3;
}

.proj-overview {
  font-size: 13.5px;
  color: var(--text-gray-300);
  line-height: 1.6;
}

/* Dashboard Media Box */
.project-media-dashboard {
  background: #0a0a0a;
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.media-dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--text-gray-400);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-tag {
  font-size: 10px;
}

/* KPIs Power BI */
.pwbi-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.pwbi-kpi-card {
  background: #141414;
  border: 1px solid var(--border-muted);
  border-radius: 4px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pwbi-lbl {
  font-size: 9px;
  color: var(--text-gray-400);
  letter-spacing: 0.04em;
}

.pwbi-val {
  font-size: 14px;
  font-weight: 700;
}

.pwbi-sub {
  font-size: 9.5px;
  color: var(--text-gray-400);
}

/* Tabela de Dados */
.dash-data-preview {
  overflow-x: auto;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.dash-table th {
  text-align: left;
  color: var(--text-gray-400);
  padding: 4px 6px;
  font-weight: 500;
}

.dash-table td {
  padding: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.status-ok {
  color: #10b981;
  font-size: 10px;
}

.text-green { color: #34d399; }
.text-orange { color: #fb923c; }
.text-blue { color: #38bdf8; }
.text-white { color: #ffffff; }

/* ML Benchmark */
.dash-ml-benchmark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bm-title {
  font-size: 9.5px;
  color: var(--text-gray-400);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 6px;
}

.matrix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.matrix-box {
  padding: 6px;
  text-align: center;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}

.matrix-box.correct {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.matrix-box.incorrect {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

.m-val { font-size: 13px; font-weight: 700; }
.m-lbl { font-size: 8.5px; opacity: 0.8; }

.feature-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.f-bar-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
}

.f-name { min-width: 80px; color: var(--text-gray-400); }
.f-track { flex: 1; height: 5px; background: #262626; border-radius: 3px; overflow: hidden; }
.f-fill { height: 100%; background: var(--orange-500); }
.f-pct { color: var(--text-gray-400); font-size: 9.5px; }

/* LLM Pipeline */
.dash-llm-pipeline {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pipeline-step {
  flex: 1;
  background: #141414;
  border: 1px solid var(--border-muted);
  border-radius: 4px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pipeline-step.active-step {
  border-color: var(--orange-border-50);
  background: var(--orange-bg-10);
}

.step-num {
  font-size: 9px;
  color: var(--orange-400);
}

.step-code {
  font-size: 10px;
  color: var(--text-gray-300);
  line-height: 1.35;
}

.pipeline-arrow {
  color: var(--orange-500);
  font-size: 11px;
}

/* Footer do Dashboard */
.dash-metrics-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 10.5px;
}

.dmf-item {
  display: flex;
  gap: 4px;
}

.dmf-k { color: var(--text-gray-400); }
.dmf-v { font-weight: 600; }

/* Tags de Tecnologias */
.project-tech-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.tech-tag {
  font-size: 11px;
  background: var(--orange-bg-10);
  border: 1px solid var(--orange-border-30);
  color: var(--orange-400);
  padding: 3px 8px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.project-card-container:hover .tech-tag {
  background: var(--orange-bg-20);
  border-color: var(--orange-500);
  color: #ffffff;
}

/* ---------- Seção Trajetória Profissional (Timeline) ---------- */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: all 0.25s ease;
}

.timeline-row:hover {
  border-color: var(--orange-border-50);
  transform: translateY(-2px);
}

.timeline-time-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.timeline-badge-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--orange-400);
  background: var(--orange-bg-10);
  border: 1px solid var(--orange-border-30);
  padding: 3px 8px;
  border-radius: 4px;
}

.tag-multinational {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
}

.company-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  margin-top: 4px;
}

.company-sub {
  font-size: 12px;
  color: var(--text-gray-400);
}

.timeline-desc-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.role-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

.role-summary {
  font-size: 13.5px;
  color: var(--text-gray-300);
  line-height: 1.65;
}

.role-achievements {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.role-achievements li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-gray-300);
  line-height: 1.65;
}

.role-achievements li strong {
  color: var(--text-white);
  font-weight: 500;
}

.ach-arr {
  color: var(--orange-500);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border-muted);
}

.role-tags span {
  font-size: 11px;
  color: var(--text-gray-400);
  background: #171717;
  border: 1px solid var(--border-muted);
  padding: 2px 7px;
  border-radius: 3px;
}

/* Banner LinkedIn */
.linkedin-showcase-banner {
  margin-top: 32px;
  background: #10141e;
  border: 1px solid rgba(10, 102, 194, 0.4);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.lsb-text {
  max-width: 600px;
}

.lsb-kicker {
  font-size: 10.5px;
  color: #60a5fa;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.lsb-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-white);
  margin-block: 4px;
}

.lsb-desc {
  font-size: 13.5px;
  color: var(--text-gray-300);
}

.lsb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--linkedin-blue);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(10, 102, 194, 0.4);
  transition: all 0.2s ease;
}

.lsb-btn:hover {
  background: #0d73dc;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(10, 102, 194, 0.6);
}

.lsb-arrow {
  font-size: 12px;
}

/* ---------- Seção Formação Acadêmica & Cursos ---------- */
.education-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 24px;
}

.edu-card-main, .edu-card-side {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.edu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.edu-type {
  color: var(--orange-500);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.edu-status {
  font-size: 11px;
}

.edu-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

.edu-inst {
  font-size: 13.5px;
  color: var(--text-gray-300);
}

.edu-period {
  font-size: 12px;
  color: var(--text-gray-400);
}

.edu-divider {
  height: 1px;
  background: var(--border-dotted);
  margin-block: 4px;
}

.edu-prose {
  font-size: 13.5px;
  color: var(--text-gray-300);
  line-height: 1.65;
}

.edu-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.edu-chips span {
  font-size: 11px;
  background: #171717;
  border: 1px solid var(--border-muted);
  color: var(--text-gray-300);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Formações Técnicas */
.cert-item {
  padding: 12px;
  background: #141414;
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
}

.cert-item:hover {
  border-color: var(--orange-border-50);
}

.cert-status-tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.cert-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-white);
}

.cert-issuer {
  font-size: 11.5px;
  color: var(--orange-400);
}

.cert-desc {
  font-size: 11.5px;
  color: var(--text-gray-400);
  line-height: 1.45;
}

/* ---------- Seção Idiomas ---------- */
.languages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.lang-card {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 18px rgba(0,0,0,0.3);
}

.lang-card:hover {
  border-color: var(--orange-border-50);
  transform: translateY(-2px);
}

.lang-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-flag {
  font-size: 22px;
}

.lang-code {
  font-size: 10px;
  color: var(--text-gray-400);
  letter-spacing: 0.08em;
}

.lang-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
}

.lang-level {
  font-size: 11.5px;
  font-weight: 600;
}

.lang-desc {
  font-size: 11.5px;
  color: var(--text-gray-400);
  line-height: 1.5;
  margin-top: 2px;
}

.text-gray {
  color: var(--text-gray-400);
}

/* ---------- Seção Skills & Stack ---------- */
.skills-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
}

.skill-group-card {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: all 0.25s ease;
}

.skill-group-card:hover {
  border-color: var(--orange-border-50);
  transform: translateY(-2px);
}

.sgc-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sgc-icon {
  font-size: 18px;
}

.sgc-head h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
}

.sgc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill-tech {
  font-size: 11.5px;
  color: var(--text-gray-200);
  background: #181818;
  border: 1px solid var(--border-muted);
  padding: 4px 9px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.skill-group-card:hover .pill-tech {
  border-color: rgba(249, 115, 22, 0.25);
}

.pill-tech:hover {
  background: var(--orange-bg-20);
  border-color: var(--orange-500) !important;
  color: var(--orange-400);
}

/* Skills Block Headers */
.skills-block-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.skills-block-header.mt-large {
  margin-top: 45px;
}

.sbh-badge {
  font-size: 11px;
  font-weight: 700;
  color: #000;
  background: var(--orange-500);
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.sbh-badge.sbh-soft {
  background: var(--blue-400);
}

.sbh-text {
  font-size: 13px;
  color: var(--text-gray-400);
  letter-spacing: 0.05em;
}

/* Soft Skills Grid */
.soft-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 18px;
}

.soft-card {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
  transition: all 0.25s ease;
}

.soft-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

.soft-icon {
  font-size: 24px;
}

.soft-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.35;
}

.soft-desc {
  font-size: 13px;
  color: var(--text-gray-300);
  line-height: 1.6;
}

/* ---------- Seção Contato ---------- */
.contact-container {
  max-width: 760px;
}

.contact-box-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--orange-bg-10);
  border: 1px solid var(--orange-border-30);
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

.cc-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid var(--orange-border-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-400);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.cc-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cc-label {
  font-size: 10px;
  color: var(--text-gray-400);
  letter-spacing: 0.08em;
}

.cc-val {
  font-size: 12.5px;
  color: var(--text-white);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-card:hover {
  background: var(--orange-bg-20);
  border-color: var(--orange-500);
  transform: translateY(-2px);
}

.contact-card:hover .cc-icon {
  background: var(--orange-500);
  color: #000;
}

.linkedin-card:hover .cc-icon {
  background: var(--linkedin-blue);
  color: #fff;
}

.insta-card:hover .cc-icon {
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  color: #fff;
}

.tel-card:hover .cc-icon {
  background: #10b981;
  color: #fff;
}

/* ---------- Footer ---------- */
.site-footer-bar {
  border-top: var(--border-dotted);
  padding-block: 36px;
  background: var(--bg-black);
  position: relative;
  z-index: 10;
}

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

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fl-brand {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-white);
}

.fl-rights {
  font-size: 11.5px;
  color: var(--text-gray-400);
}

.footer-links-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
}

.footer-links-row a {
  color: var(--text-gray-400);
}

.footer-links-row a:hover {
  color: var(--orange-400);
}

.fl-sep {
  color: var(--text-gray-500);
}

/* ---------- Reveal on Scroll (Zero-Lag Smooth Animation) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsividade ---------- */
@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-left-col {
    position: static;
    max-width: 300px;
    margin-inline: auto;
  }

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

  .about-split-layout {
    grid-template-columns: 1fr;
  }

  .operix-manifesto-grid {
    grid-template-columns: 1fr;
  }

  .operix-dash-main-grid {
    grid-template-columns: 1fr;
  }

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

  .projects-master-grid {
    grid-template-columns: 1fr;
  }

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

  .education-grid {
    grid-template-columns: 1fr;
  }

  .linkedin-showcase-banner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 880px) {
  .site-badge {
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    gap: 7px;
  }

  .badge-name {
    display: inline-block;
    font-size: 10.5px;
    letter-spacing: 0.06em;
  }

  .badge-status-dot {
    width: 6px;
    height: 6px;
  }

  .top-signature-banner {
    margin: 54px auto 12px auto;
    padding-inline: 16px;
  }

  .banner-content {
    font-size: 9.5px;
    gap: 6px;
    padding-inline: 10px;
    letter-spacing: 0.08em;
    flex-wrap: wrap;
    justify-content: center;
  }

  .navbar-dock-wrap {
    top: auto;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    left: 14px;
    right: 14px;
    transform: none;
    width: auto;
  }

  .navbar-dock {
    width: 100%;
    justify-content: space-between;
    padding: 6px 14px;
    border-radius: 20px;
  }

  .dock-mobile-brand {
    display: flex;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .dock-mobile-btn {
    display: flex;
  }

  .dock-items {
    position: fixed;
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    left: 14px;
    right: 14px;
    background: rgba(14, 14, 14, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--border-dotted);
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 5px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .dock-items.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .dock-link {
    padding: 10px 14px;
    font-size: 13.5px;
  }

  .hero-section {
    padding-top: 20px;
    padding-bottom: 80px;
  }

  .hero-main-title {
    font-size: 32px;
  }

  .hero-kpi-grid {
    grid-template-columns: 1fr;
  }

  .pwbi-kpi-row {
    grid-template-columns: 1fr;
  }

  .dash-ml-benchmark {
    grid-template-columns: 1fr;
  }

  .contact-box-grid {
    grid-template-columns: 1fr;
  }

  .footer-flex {
    flex-direction: column;
    text-align: center;
  }

  .footer-links-row {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .site-badge {
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    gap: 6px;
  }

  .badge-name {
    font-size: 9.5px;
  }

  .top-signature-banner {
    margin: 48px auto 10px auto;
    padding-inline: 10px;
  }

  .banner-content {
    font-size: 8.5px;
    gap: 4px;
    padding-inline: 6px;
    letter-spacing: 0.05em;
  }

  .banner-line-left,
  .banner-line-right {
    min-width: 10px;
  }
}
