/* ==========================================================================
   HERO COMMAND CENTER V1.51 — VERSÃO COMENTADA
   Alinhamento vertical refinado; fonte única consolidada[cite: 15].
   ========================================================================== */

/* -------------------------------------------------------------------------- */
/* 1. CONTAINER PRINCIPAL E VARIÁVEIS DO HERO                             */
/* -------------------------------------------------------------------------- */
#inicio.hx-hero {
  /* Definição de paleta de cores temática (Neon/Cyberpunk) */
  --hx-blue: #287cff;
  --hx-cyan: #3ddcff;
  --hx-violet: #7557ff;
  --hx-purple: #b23dff;
  --hx-green: #30e6ad;
  
  position: relative;
  isolation: isolate; /* Cria um novo contexto de empilhamento para z-index */
  overflow: hidden;
  min-height: calc(100svh - 66px); /* Altura adaptativa descontando o menu/header */
  padding: clamp(32px, 3.4vh, 48px) clamp(22px, 4.4vw, 68px) clamp(20px, 2.8vh, 34px);
  background: #020611;
  color: #fff;
  display: flex;
  align-items: flex-start;
}

/* -------------------------------------------------------------------------- */
/* 2. BACKGROUND E VÍDEO DE FUNDO                                         */
/* -------------------------------------------------------------------------- */
.hx-backdrop {
  position: absolute;
  inset: 0;
  z-index: -5;
  overflow: hidden;
}

.hx-backdrop video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.16) brightness(.62);
  transform: scale(1.025);
}

/* Camada de escurecimento/degradê sobre o vídeo para legibilidade */
.hx-backdrop-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 5, 16, .97) 0%, rgba(1, 5, 16, .9) 34%, rgba(1, 5, 16, .34) 69%, rgba(1, 5, 16, .62) 100%), linear-gradient(180deg, rgba(1, 5, 16, .08), rgba(1, 5, 16, .2) 66%, #020611 100%);
}

/* Shell interno que centraliza e limita a largura do conteúdo */
#inicio.hx-hero > .hx-shell {
  position: relative;
  width: min(100%, 1510px);
  max-width: 1510px;
  margin: 0 auto;
  display: grid;
  gap: clamp(14px, 2vh, 24px);
  text-align: left;
}

/* Layout de duas colunas (Texto à esquerda, Orbe/Command à direita) */
.hx-layout {
  display: grid;
  grid-template-columns: minmax(440px, .92fr) minmax(590px, 1.08fr);
  gap: clamp(34px, 3.7vw, 60px);
  align-items: start;
}

/* -------------------------------------------------------------------------- */
/* 3. COLUNA DE TEXTO / COPY (TÍTULO, CHAMADAS, BOTÕES)                      */
/* -------------------------------------------------------------------------- */
.hx-copy {
  max-width: 620px;
  padding-top: clamp(62px, 7vh, 92px);
}

/* Badge de destaque no topo do texto */
.hx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 35px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(239, 205, 82, .52);
  background: rgba(239, 205, 82, .055);
  color: #f3dd99;
  text-transform: uppercase;
  letter-spacing: .072em;
  font-size: .68rem;
  font-weight: 800;
}

.hx-copy h1 {
  margin: 18px 0 15px;
  font-family: "League Spartan", sans-serif;
  font-size: clamp(4.15rem, 5.65vw, 6.55rem);
  line-height: .86;
  letter-spacing: -.062em;
  font-weight: 800;
}

/* Efeito de gradiente no texto destacado do H1 */
.hx-copy h1 span {
  color: transparent;
  background: linear-gradient(105deg, #58a7ff 0%, #747bff 47%, #b75cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 24px rgba(86, 87, 255, .22));
}

.hx-copy > p {
  max-width: 625px;
  color: #d7dbea;
  font-size: clamp(.94rem, 1vw, 1.06rem);
  line-height: 1.58;
  margin: 0;
}

/* Barra de competências e especialidades */
.hx-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 16px;
}

.hx-capabilities span,
.hx-techbar span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(4, 12, 31, .77);
  backdrop-filter: blur(13px);
  font-weight: 700;
}

.hx-capabilities span {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: .72rem;
  box-shadow: inset 0 1px rgba(255, 255, 255, .06);
  transition: .25s ease;
}

.hx-capabilities span:hover {
  transform: translateY(-3px);
  background: rgba(10, 20, 49, .9);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .25), 0 0 22px color-mix(in srgb, currentColor 22%, transparent);
}

.hx-capabilities i {
  font-size: 1.28rem;
  filter: drop-shadow(0 0 9px currentColor);
}

/* Cores específicas por categoria de competência */
.hx-capabilities .is-bi { border-color: rgba(66, 121, 255, .64); color: #eef3ff; }
.hx-capabilities .is-bi i { color: #5e8fff; }

.hx-capabilities .is-auto { border-color: rgba(166, 77, 255, .64); }
.hx-capabilities .is-auto i { color: #ae62ff; }

.hx-capabilities .is-dev { border-color: rgba(49, 211, 255, .58); }
.hx-capabilities .is-dev i { color: #39d6ff; }

.hx-capabilities .is-agro { border-color: rgba(42, 231, 169, .58); }
.hx-capabilities .is-agro i { color: #33e6ad; }

/* Grupo de botões de ação */
.hx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin: 16px 0 13px;
}

.hx-button {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 53px;
  padding: 0 22px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

/* Botão Primário com animação de brilho (sweep) */
.hx-button-primary {
  min-width: 250px;
  border: 1px solid rgba(121, 158, 255, .95);
  background: linear-gradient(105deg, #2d7cff, #704cff 56%, #a92ce9);
  box-shadow: 0 18px 48px rgba(84, 62, 255, .36), inset 0 1px rgba(255, 255, 255, .38);
}

.hx-button-primary:before {
  content: "";
  position: absolute;
  inset: -110% -55%;
  background: linear-gradient(105deg, transparent 39%, rgba(255, 255, 255, .36) 50%, transparent 61%);
  transform: translateX(-68%);
  animation: hxButtonSweep 4.8s ease-in-out infinite;
}

/* Botão Secundário */
.hx-button-secondary {
  min-width: 205px;
  border: 1px solid rgba(137, 158, 215, .42);
  background: linear-gradient(145deg, rgba(8, 16, 39, .92), rgba(2, 7, 20, .96));
  box-shadow: inset 0 1px rgba(255, 255, 255, .08);
}

.hx-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 21px 52px rgba(70, 59, 255, .34);
}

/* -------------------------------------------------------------------------- */
/* 4. TECHBAR (BARRA DE TECNOLOGIAS E ÍCONES SVG)                         */
/* -------------------------------------------------------------------------- */
.hx-techbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hx-techbar span {
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(118, 137, 190, .38);
  border-radius: 11px;
  color: #f2f5ff;
  font-size: .75rem;
  box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 10px 24px rgba(0, 0, 0, .16);
  transition: .24s ease;
}

.hx-techbar span:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 132, 255, .78);
  background: rgba(9, 18, 45, .94);
  box-shadow: 0 13px 30px rgba(0, 0, 0, .34), 0 0 24px rgba(69, 88, 255, .26);
}

.hx-techbar svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
  filter: drop-shadow(0 0 9px currentColor);
}

/* Estilizações de cores específicas para os SVGs de tecnologias */
.hx-techbar .python { color: #ffce40; }
.hx-techbar .python svg path:first-child { fill: #4387cf; }
.hx-techbar .python svg path:last-child { fill: #ffd343; }

.hx-techbar .powerbi { color: #f3c623; }
.hx-techbar .sql { color: #3ca8ff; }

.hx-techbar .javascript { color: #f7df1e; }
.hx-techbar .javascript svg rect { fill: #f7df1e; }
.hx-techbar .javascript svg path { fill: #111; }

.hx-techbar .pandas { color: #d4d9ff; }
.hx-techbar .pandas svg rect:nth-child(odd) { fill: #5b61ff; }
.hx-techbar .pandas svg rect:nth-child(even) { fill: #e54cff; }

/* -------------------------------------------------------------------------- */
/* 5. COLUNA DIREITA: COMMAND CENTER / ORBE HOLOGRÁFICO                    */
/* -------------------------------------------------------------------------- */
.hx-command {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding-top: 0;
}

.hx-orbit {
  --orbit-size: clamp(590px, 43vw, 700px);
  --hx-light-x: 50%;
  --hx-light-y: 50%;
  position: relative;
  width: var(--orbit-size);
  aspect-ratio: 1.12/1;
  transform: translate3d(var(--hx-x, 0), var(--hx-y, 0), 0);
  transition: transform .18s ease-out;
  isolation: isolate;
}

/* Efeitos de luz de fundo do Orbe */
.hx-orbit:before {
  content: "";
  position: absolute;
  inset: 10% 8%;
  border-radius: 50%;
  background: radial-gradient(circle at var(--hx-light-x) var(--hx-light-y), rgba(55, 217, 255, .2), rgba(105, 70, 255, .14) 31%, transparent 68%);
  filter: blur(28px);
  z-index: -3;
}

.hx-orbit:after {
  content: "";
  position: absolute;
  inset: 4% 5%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(34, 119, 255, .16), rgba(111, 57, 255, .1) 44%, transparent 70%);
  filter: blur(44px);
  z-index: -4;
}

/* Linhas de órbita em SVG */
.hx-orbit-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 1;
}

.hx-orbit-lines ellipse,
.hx-orbit-lines path {
  fill: none;
  stroke: url(#hxLineGradient);
  stroke-width: 1.35;
  opacity: .58;
  filter: drop-shadow(0 0 4px rgba(91, 111, 255, .4));
}

.hx-orbit-lines ellipse:nth-of-type(2) {
  stroke-dasharray: 7 12;
  opacity: .84;
}

.hx-orbit-lines ellipse:nth-of-type(3) {
  opacity: .48;
}

.hx-orbit-lines .hx-route {
  stroke-width: 2.2;
  stroke-dasharray: 4 15;
  opacity: .94;
  animation: hxRoute 14s linear infinite;
}

/* Anéis estilo Júpiter ao redor do retrato central */
.hx-jupiter-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
  transform-origin: center;
  border-radius: 50%;
  mix-blend-mode: screen;
  z-index: 4;
  opacity: .48;
  filter: drop-shadow(0 0 7px rgba(82, 112, 255, .4));
}

.hx-jupiter-ring-a {
  width: 76%;
  height: 24%;
  transform: translate(-50%, -50%) rotate(-9deg);
  border-top: 1px solid rgba(57, 204, 255, .52);
  border-bottom: 2px solid rgba(144, 73, 255, .44);
  animation: hxJupiterA 12s ease-in-out infinite;
}

.hx-jupiter-ring-b {
  width: 84%;
  height: 31%;
  transform: translate(-50%, -50%) rotate(13deg);
  border-top: 1px solid rgba(116, 91, 255, .35);
  border-bottom: 1px solid rgba(45, 192, 255, .3);
  animation: hxJupiterB 15s ease-in-out infinite;
}

.hx-jupiter-ring-c {
  width: 69%;
  height: 18%;
  transform: translate(-50%, -50%) rotate(-3deg);
  border: 1px dashed rgba(190, 91, 255, .28);
  animation: hxJupiterC 18s ease-in-out infinite;
}

/* Partículas e faíscas brilhantes flutuantes */
.hx-orbit-sparks {
  position: absolute;
  inset: 0;
  z-index: 9;
  pointer-events: none;
}

.hx-orbit-sparks i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 0 6px rgba(255, 255, 255, .8), 0 0 13px rgba(62, 204, 255, .66), 0 0 20px rgba(118, 73, 255, .45);
  animation: hxSparkPulse 4.2s ease-in-out infinite;
}

/* Delays individuais para cada faísca */
.hx-orbit-sparks i:nth-child(1) { left: 30%; top: 20%; }
.hx-orbit-sparks i:nth-child(2) { right: 26%; top: 24%; animation-delay: -.7s; }
.hx-orbit-sparks i:nth-child(3) { left: 18%; top: 52%; animation-delay: -1.4s; }
.hx-orbit-sparks i:nth-child(4) { right: 17%; top: 54%; animation-delay: -2.1s; }
.hx-orbit-sparks i:nth-child(5) { left: 33%; bottom: 17%; animation-delay: -2.8s; }
.hx-orbit-sparks i:nth-child(6) { right: 31%; bottom: 16%; animation-delay: -3.5s; }

/* Anéis concêntricos giratórios do centro */
.hx-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ring-a {
  width: 79%;
  height: 85%;
  border: 1px solid rgba(55, 126, 255, .72);
  box-shadow: 0 0 40px rgba(49, 109, 255, .25);
  animation: hxSpin 36s linear infinite;
}

.ring-a:before,
.ring-a:after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #57b7ff;
  box-shadow: 0 0 10px #57b7ff, 0 0 26px #6d55ff;
}

.ring-a:before { left: 7%; top: 28%; }
.ring-a:after { right: 10%; bottom: 23%; }

.ring-b {
  width: 68%;
  height: 74%;
  border: 1px dashed rgba(129, 80, 255, .72);
  animation: hxSpin 28s linear infinite reverse;
}

.ring-c {
  width: 57%;
  height: 62%;
  border: 1px solid rgba(53, 199, 255, .5);
  box-shadow: inset 0 0 34px rgba(67, 97, 255, .14);
}

.ring-d {
  width: 49%;
  height: 53%;
  border: 2px solid transparent;
  background: linear-gradient(#050a18, #050a18) padding-box, linear-gradient(135deg, #2d7cff, #8a43ff 60%, #35d9ff) border-box;
  box-shadow: 0 0 62px rgba(83, 72, 255, .6), inset 0 0 46px rgba(69, 91, 255, .2);
  animation: hxBreath 4.5s ease-in-out infinite;
}

.ring-e {
  width: 43%;
  height: 47%;
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 0 25px rgba(57, 155, 255, .2);
}

/* Partículas orbitantes individuais */
.hx-orbit-particle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 9px #fff, 0 0 23px #38cfff, 0 0 42px #8b48ff;
  z-index: 10;
  animation: hxParticle 12s linear infinite;
}

/* Variações de tempo e rotação para as partículas */
.p2 { animation-duration: 16s; animation-delay: -4s; filter: hue-rotate(38deg); }
.p3 { animation-duration: 20s; animation-delay: -9s; }
.p4 { animation-duration: 14s; animation-delay: -7s; filter: hue-rotate(85deg); }
.p5 { animation-duration: 23s; animation-delay: -13s; }
.p6 { animation-duration: 18s; animation-delay: -3s; filter: hue-rotate(145deg); }

/* -------------------------------------------------------------------------- */
/* 6. MOLDURA E FOTO DE PERFIL CENTRAL                                      */
/* -------------------------------------------------------------------------- */
.hx-portrait-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 53%;
  height: 58%;
  transform: translate(-50%, -50%);
  z-index: 5;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(135deg, #25bfff 0%, #4d67ff 35%, #9a42ff 70%, #38dcff 100%);
  box-shadow: 0 0 34px rgba(49, 206, 255, .72), 0 0 76px rgba(77, 92, 255, .58), 0 0 126px rgba(160, 50, 255, .42);
}

.hx-portrait-frame:before {
  content: "";
  position: absolute;
  inset: -25px;
  border-radius: 50%;
  border: 2px solid rgba(94, 113, 255, .58);
  box-shadow: inset 0 0 42px rgba(58, 215, 255, .24), 0 0 24px rgba(143, 66, 255, .32);
}

.hx-portrait-frame:after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .28);
  filter: drop-shadow(0 0 12px rgba(82, 199, 255, .75));
}

.hx-portrait-glow {
  position: absolute;
  inset: -48px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 7%, #2edcff 13%, transparent 21% 31%, #664dff 39%, transparent 47% 58%, #bc38ff 66%, transparent 75% 86%, #39dfff 93%, transparent);
  filter: blur(10px);
  opacity: .42;
  animation: hxSpin 24s linear infinite;
}

.hx-portrait-frame img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  filter: grayscale(1) contrast(1.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}

/* -------------------------------------------------------------------------- */
/* 7. NÓS INTERATIVOS AO REDOR DO ORBE (SKILL NODES)                         */
/* -------------------------------------------------------------------------- */
.hx-node {
  position: absolute;
  z-index: 12;
  width: 124px;
  display: grid;
  justify-items: center;
  gap: 9px;
  animation: hxFloat 5.5s ease-in-out infinite;
}

.hx-node span {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid color-mix(in srgb, currentColor 76%, #fff 24%);
  background: radial-gradient(circle at 34% 22%, color-mix(in srgb, currentColor 37%, transparent), rgba(7, 12, 36, .98) 63%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .22), 0 0 0 8px rgba(42, 55, 137, .13), 0 0 20px color-mix(in srgb, currentColor 48%, transparent), 0 0 40px color-mix(in srgb, currentColor 20%, transparent);
}

.hx-node span:before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, currentColor 34%, transparent);
  box-shadow: inset 0 0 20px color-mix(in srgb, currentColor 16%, transparent);
}

.hx-node span:after {
  content: "";
  position: absolute;
  inset: -11px;
  border-radius: 50%;
  border: 1px dashed color-mix(in srgb, currentColor 40%, transparent);
  animation: hxNodeSpin 13s linear infinite;
}

.hx-node svg {
  width: 45px;
  height: 45px;
  fill: currentColor;
  filter: drop-shadow(0 0 9px currentColor);
}

.hx-node strong {
  font-size: .78rem;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 9px currentColor;
}

/* Posicionamento e cores dos nós individuais */
.hx-node-python { left: 8%; top: 0; color: #ffd343; }
.hx-node-python svg path:first-child { fill: #4387cf; }
.hx-node-python svg path:last-child { fill: #ffd343; }

.hx-node-powerbi { right: 4%; top: 5%; color: #f3c623; animation-delay: -.8s; }
.hx-node-sql { left: -2%; top: 39%; color: #42a8ff; animation-delay: -1.5s; }
.hx-node-auto { right: -2%; top: 39%; color: #55a9ff; animation-delay: -2.1s; }

.hx-node-js { left: 7%; bottom: 0; color: #f7df1e; animation-delay: -2.8s; }
.hx-node-js svg rect { fill: #f7df1e; }
.hx-node-js svg path { fill: #111; }

.hx-node-analysis { right: 5%; bottom: 1%; color: #b664ff; animation-delay: -3.4s; }

/* -------------------------------------------------------------------------- */
/* 8. CARTÃO DE PERFIL INFERIOR (PROFILE CARD)                              */
/* -------------------------------------------------------------------------- */
.hx-profile-card {
  width: min(94%, 650px);
  border: 1px solid transparent;
  border-radius: 18px;
  background: radial-gradient(circle at 78% 0, rgba(32, 224, 186, .1), transparent 30%), linear-gradient(145deg, rgba(5, 14, 34, .995), rgba(1, 5, 17, .995)) padding-box, linear-gradient(100deg, #2e7cff, #8d43ff 56%, #ad3cff) border-box;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .7), 0 0 38px rgba(41, 126, 255, .26), 0 0 60px rgba(137, 55, 255, .24), inset 0 1px rgba(255, 255, 255, .06);
  overflow: hidden;
  position: relative;
}

.hx-profile-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0, rgba(45, 124, 255, .13), transparent 40%), linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 24%);
  pointer-events: none;
}

.hx-profile-main {
  display: grid;
  grid-template-columns: 1fr 178px;
  gap: 20px;
  padding: 18px 23px;
  border-bottom: 1px solid rgba(111, 134, 194, .22);
  position: relative;
}

.hx-profile-main > div:first-child {
  display: flex;
  flex-direction: column;
}

.hx-availability {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #42efb6;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .71rem;
  font-weight: 800;
}

.hx-availability i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #42efb6;
  box-shadow: 0 0 14px #42efb6;
}

.hx-profile-main h2 { margin: 8px 0 0; font-size: 1.25rem; }
.hx-profile-main p { margin: 3px 0 0; color: #aab2c8; }
.hx-profile-main p b { color: #6f7f9f; }

.hx-status {
  padding-left: 24px;
  border-left: 1px solid rgba(111, 134, 194, .22);
  display: grid;
  align-content: center;
}

.hx-status small {
  color: #9ea8bf;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .66rem;
}

.hx-status strong {
  margin-top: 3px;
  color: #31e3ad;
  font-size: 1.04rem;
}

/* Gráfico de status integrado no cartão */
.hx-status-chart {
  position: relative;
  height: 42px;
  margin-top: -2px;
  overflow: hidden;
}

.hx-status-chart:before {
  content: "";
  position: absolute;
  inset: 8px 0 0;
  background: linear-gradient(180deg, rgba(49, 227, 173, .18), transparent);
  clip-path: polygon(0 82%, 12% 78%, 23% 58%, 35% 63%, 47% 91%, 58% 42%, 69% 29%, 81% 58%, 90% 35%, 100% 10%, 100% 100%, 0 100%);
}

.hx-status-chart span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(49, 227, 173, .18), transparent);
  transform: translateX(-100%);
  animation: hxStatusSweep 3.6s ease-in-out infinite;
}

.hx-status svg {
  position: relative;
  width: 100%;
  height: 42px;
  overflow: visible;
}

.hx-status path {
  fill: none;
  stroke: #31e3ad;
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgba(49, 227, 173, .72));
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  animation: hxGraph 3s ease forwards, hxGraphGlow 3.2s ease-in-out 3s infinite;
}

/* Estatísticas do perfil (grid de 3 colunas) */
.hx-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}

.hx-profile-stats > div {
  position: relative;
  min-height: 98px;
  padding: 16px 12px 13px 64px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(111, 134, 194, .2);
}

.hx-profile-stats > div:last-child { border-right: 0; }

.hx-profile-stats > div > span {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(101, 119, 255, .54);
  background: linear-gradient(145deg, rgba(20, 34, 82, .96), rgba(7, 12, 35, .99));
  box-shadow: inset 0 1px rgba(255, 255, 255, .12), 0 0 24px rgba(67, 76, 255, .26);
}

.hx-profile-stats i {
  font-size: 1.28rem;
  color: #7591ff;
  filter: drop-shadow(0 0 9px currentColor);
}

.hx-profile-stats > div:first-child i { color: #31e3ad; }

.hx-profile-stats small {
  color: #9da7bf;
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .045em;
  line-height: 1.25;
}

.hx-profile-stats strong {
  margin-top: 7px;
  color: #9668ff;
  font-size: 1.36rem;
  line-height: 1;
}

.hx-profile-stats > div:first-child strong { color: #31e3ad; }
.hx-profile-stats em { color: #aab2c8; font-size: .69rem; font-style: normal; }

/* -------------------------------------------------------------------------- */
/* 9. INDICADOR DE SCROLL INFERIOR                                          */
/* -------------------------------------------------------------------------- */
.hx-scroll {
  justify-self: center;
  position: relative;
  display: grid;
  margin-top: 4px;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 12px;
  color: #c9ccd7;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .65rem;
}

.hx-scroll .ph-mouse-simple {
  font-size: 1.55rem;
  color: #8175ff;
}

.hx-scroll .ph-caret-double-down {
  position: absolute;
  left: 50%;
  top: 27px;
  transform: translateX(-50%);
  color: #6e72ff;
  animation: hxScroll 1.6s ease-in-out infinite;
}

/* -------------------------------------------------------------------------- */
/* 10. ANIMAÇÕES (KEYFRAMES)                                                 */
/* -------------------------------------------------------------------------- */
@keyframes hxSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes hxRoute {
  to { stroke-dashoffset: -180; }
}

@keyframes hxBreath {
  50% { filter: brightness(1.38); transform: translate(-50%, -50%) scale(1.02); }
}

@keyframes hxFloat {
  50% { transform: translateY(-9px); }
}

@keyframes hxGraph {
  to { stroke-dashoffset: 0; }
}

@keyframes hxGraphGlow {
  50% { filter: drop-shadow(0 0 11px rgba(49, 227, 173, .95)); }
}

@keyframes hxScroll {
  50% { transform: translate(-50%, 8px); opacity: .5; }
}

@keyframes hxButtonSweep {
  0%, 55% { transform: translateX(-75%); }
  75%, 100% { transform: translateX(75%); }
}

@keyframes hxStatusSweep {
  0%, 30% { transform: translateX(-100%); }
  70%, 100% { transform: translateX(100%); }
}

@keyframes hxJupiterA {
  50% { transform: translate(-50%, -50%) rotate(-3deg) scaleX(1.035); }
}

@keyframes hxJupiterB {
  50% { transform: translate(-50%, -50%) rotate(18deg) scaleX(.97); }
}

@keyframes hxJupiterC {
  50% { transform: translate(-50%, -50%) rotate(-4deg) scaleX(1.02); }
}

@keyframes hxParticle {
  from { transform: rotate(0deg) translateX(clamp(208px, 16vw, 305px)) rotate(0deg); }
  to { transform: rotate(360deg) translateX(clamp(208px, 16vw, 305px)) rotate(-360deg); }
}

@keyframes hxSparkPulse {
  0%, 100% { opacity: .3; transform: scale(.65); }
  50% { opacity: 1; transform: scale(1.45); }
}

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

/* -------------------------------------------------------------------------- */
/* 11. MEDIA QUERIES (RESPONSIVIDADE)                                       */
/* -------------------------------------------------------------------------- */

@media (max-width: 1320px) {
  #inicio.hx-hero { padding: 32px 30px 8px; }
  .hx-copy { padding-top: 58px; }
  .hx-layout {
    grid-template-columns: minmax(390px, .9fr) minmax(530px, 1.1fr);
    gap: 30px;
  }
  .hx-copy h1 { font-size: clamp(3.75rem, 5.6vw, 5.45rem); }
  .hx-orbit { --orbit-size: clamp(540px, 48vw, 640px); }
}

@media (max-width: 1080px) {
  #inicio.hx-hero { min-height: auto; padding: 68px 24px 22px; }
  .hx-copy { padding-top: 0; }
  .hx-layout { grid-template-columns: 1fr; gap: 42px; }
  .hx-copy { max-width: 780px; }
  .hx-copy h1 { font-size: clamp(4rem, 8.7vw, 6.05rem); }
  .hx-command { width: min(100%, 820px); justify-self: center; }
  .hx-orbit { --orbit-size: min(88vw, 690px); }
  .hx-scroll { display: none; }
}

@media (max-width: 700px) {
  #inicio.hx-hero { padding: 64px 18px 24px; }
  .hx-copy h1 { font-size: clamp(3.15rem, 14.5vw, 4.75rem); }
  .hx-copy > p { font-size: .98rem; }
  .hx-eyebrow { font-size: .59rem; }
  .hx-actions { display: grid; grid-template-columns: 1fr; }
  .hx-button { width: 100%; }
  .hx-techbar { display: grid; grid-template-columns: repeat(2, 1fr); }
  .hx-techbar span { justify-content: center; }
  .hx-orbit { --orbit-size: min(104vw, 520px); }
  .hx-node { width: 84px; }
  .hx-node span { width: 67px; height: 67px; }
  .hx-node svg { width: 31px; height: 31px; }
  .hx-node i { font-size: 1.45rem; }
  .hx-node strong { font-size: .56rem; }
  .hx-profile-card { width: 100%; }
  .hx-profile-main { grid-template-columns: 1fr; }
  .hx-status {
    padding-left: 0;
    padding-top: 15px;
    border-left: 0;
    border-top: 1px solid rgba(111, 134, 194, .22);
  }
  .hx-profile-stats { grid-template-columns: 1fr; }
  .hx-profile-stats > div {
    min-height: 87px;
    border-right: 0;
    border-bottom: 1px solid rgba(111, 134, 194, .2);
  }
  .hx-profile-stats > div:last-child { border-bottom: 0; }
}

@media (max-width: 460px) {
  .hx-capabilities { display: grid; grid-template-columns: 1fr 1fr; }
  .hx-capabilities span { font-size: .66rem; padding: 0 9px; }
  .hx-orbit { --orbit-size: 480px; }
  .hx-node-sql { left: 2%; }
  .hx-node-auto { right: 2%; }
  .hx-techbar { grid-template-columns: 1fr 1fr; }
  .hx-techbar span:last-child { grid-column: 1 / -1; }
}

/* Acessibilidade: Desativa animações se o usuário preferir movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  .hx-ring,
  .hx-route,
  .hx-node,
  .hx-orbit-particle,
  .hx-status path,
  .hx-status-chart span,
  .hx-jupiter-ring,
  .hx-orbit-sparks i,
  .hx-node span:after,
  .hx-button-primary:before,
  .hx-scroll .ph-caret-double-down {
    animation: none !important;
  }
  .hx-orbit,
  .hx-button {
    transition: none !important;
  }
}
/* ========================================================================== 
   PORTFOLIO DIAMOND V2.24 — CTA PRINCIPAL DA HERO CENTRALIZADO NO DESKTOP
   O texto ocupa o centro geométrico do botão; os ícones ficam independentes
   nas extremidades e não interferem no alinhamento visual.
   ========================================================================== */
@media (min-width: 721px) {
  #inicio .hx-actions > .hx-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 54px;
    text-align: center;
  }

  #inicio .hx-actions > .hx-button > span {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    text-align: center;
  }

  #inicio .hx-actions > .hx-button > i {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }

  #inicio .hx-actions > .hx-button > i:first-child {
    left: 20px;
  }

  #inicio .hx-actions > .hx-button > i:last-child {
    right: 20px;
  }
}
