/* -------------------------------------------------------------
   DESIGN SYSTEM & ESTILIZAÇÃO PREMIUM — NEON CAT
   ------------------------------------------------------------- */

/* IMPORTAÇÃO DE FONTES */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;900&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* VARIÁVEIS DO SISTEMA */
:root {
  --bg: #030303;
  --surface: #0A0A0F;
  --card: rgba(13, 13, 20, 0.45);
  --cyan: #00E5FF;
  --pink: #FF007F;
  --purple: #8B3FD4;
  --white: #F5F5F7;
  --muted: #8E8E93;
  --border: rgba(0, 229, 255, 0.08);
  --border-hover: rgba(255, 0, 127, 0.15);
  --font-title: 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --cursor-color: var(--cyan);
}

/* RESET E CONFIGURAÇÕES GERAIS */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  font-family: var(--font-title);
  background-color: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ESCONDE CURSOR PADRÃO EM TELAS GRANDES E ELEMENTOS INTERATIVOS */
@media (pointer: fine) {
  body, a, button, select, input, textarea, [role="button"], .project-row, .service-card, .tech-item {
    cursor: none !important;
  }
}

/* BACKGROUND CANVAS PARTICLES */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

#glow-bg {
  z-index: 1;
}

main, header, footer {
  position: relative;
  z-index: 2;
}

/* CUSTOM CURSOR */
#cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: var(--cursor-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s, height 0.3s, background-color 0.3s;
}

#cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px solid var(--cursor-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1), width 0.3s, height 0.3s, border-color 0.3s;
}

/* ESTADOS DE HOVER DO CURSOR */
body.hovering #cursor {
  transform: translate(-50%, -50%) scale(1.5);
  background-color: var(--pink);
}

body.hovering #cursor-ring {
  width: 48px;
  height: 48px;
  border-color: var(--pink);
  background-color: rgba(255, 0, 127, 0.05);
}

/* PAGE LOADER */
#page-loader {
  position: fixed;
  inset: 0;
  background-color: var(--bg);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.6s ease, pointer-events 0.6s;
}

.loader-logo-container {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-cat-svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawStroke 2.5s ease-in-out infinite alternate, neonColorShift 8s infinite linear;
  filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.25));
}

@keyframes drawStroke {
  0% {
    stroke-dashoffset: 400;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.loader-bar-wrap {
  width: 160px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 1px;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--pink));
  transition: width 0.4s ease-out;
}

.loader-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--muted);
  text-transform: uppercase;
}

/* EFEITO DE BACKGROUND GLOW */
#glow-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.glow-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
}

.glow-1 {
  top: -10%;
  left: 20%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
}

.glow-2 {
  bottom: 10%;
  right: 10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
}

/* NAVEGAÇÃO */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 6%;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s, backdrop-filter 0.4s, padding 0.4s, border-bottom 0.4s;
}

header.scrolled {
  background-color: rgba(5, 5, 8, 0.75);
  backdrop-filter: blur(15px);
  padding: 1rem 6%;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.nav-logo-svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.4));
  transition: stroke 0.3s, filter 0.3s;
}

.nav-logo:hover .nav-logo-svg {
  stroke: var(--pink);
  filter: drop-shadow(0 0 6px rgba(255, 0, 127, 0.6));
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

nav ul li a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  color: var(--muted);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--cyan);
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: var(--white);
}

nav ul li a:hover::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--cyan);
  text-decoration: none;
  background-color: transparent;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  color: var(--white);
  border-color: var(--cyan);
  background-color: rgba(0, 229, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 6%;
  padding-right: 6%;
}

section {
  padding: 2rem 0;
  position: relative;
}

/* HERO SECTION */
#hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 8rem;
  padding-bottom: 2rem;
}

/* HERO LAYOUT & WRAPPER */
.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-wrapper {
    grid-template-columns: 1.4fr 0.6fr;
    gap: 3.5rem;
    align-items: flex-start;
  }
  
  .hero-visual {
    margin-top: 8rem;
  }
}

.hero-content-wrap {
  display: flex;
  flex-direction: column;
}

.hero-sub-header {
  font-family: var(--font-mono);
  font-size: 0.9rem; /* Aumentado */
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.4em;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-sub-header::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background-color: var(--cyan);
}

.hero-title-wrap {
  margin-bottom: 3rem;
}

.hero-title {
  font-size: clamp(3.2rem, 7.5vw, 7rem); /* Ajustado de clamp(3.8rem, 8.5vw, 8.8rem) para evitar cortes */
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  display: block;
  min-height: 2.0em; /* Previne colapso de layout durante typewriter e deslocamento vertical do gato */
}

/* CURSOR PISCANTE DO TYPEWRITER */
#typewriter-cursor {
  display: inline-block;
  color: var(--cyan);
  -webkit-text-fill-color: var(--cyan); /* Crucial para o cursor não herdar transparência */
  margin-left: 6px;
  font-weight: 300;
  animation: cursorBlink 0.65s infinite step-end;
}

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

/* Caracteres do typewriter */
.tw-char {
  display: inline-block;
}

/* COMPANHEIRO NEON CAT INTERATIVO */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  perspective: 1000px;
}

.hero-cat-container {
  width: 100%;
  max-width: 420px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

.hero-cat-svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.25));
  animation: neonColorShift 8s infinite linear;
}

/* Brilho difuso sob o gato */
.cat-glow {
  fill: none;
  stroke: inherit !important;
  stroke-width: 0.5;
  opacity: 0.05;
  filter: blur(10px);
}

.cat-body {
  stroke: inherit !important;
}

/* Orelhas com animação sutil de trepidação */
.cat-ear-left {
  stroke: inherit !important;
  transform-origin: 30px 40px;
  animation: earTwitchLeft 7s infinite ease-in-out;
}

.cat-ear-right {
  stroke: inherit !important;
  transform-origin: 70px 40px;
  animation: earTwitchRight 7s infinite ease-in-out 3.5s;
}

@keyframes earTwitchLeft {
  0%, 90%, 100% { transform: rotate(0deg); }
  92% { transform: rotate(-7deg); }
  94% { transform: rotate(4deg); }
  96% { transform: rotate(-2deg); }
}

@keyframes earTwitchRight {
  0%, 90%, 100% { transform: rotate(0deg); }
  92% { transform: rotate(7deg); }
  94% { transform: rotate(-4deg); }
  96% { transform: rotate(2deg); }
}

/* Olhos e Bocas do SVG */
.hero-cat-svg .cat-eyes,
.hero-cat-svg .cat-mouth,
.loader-cat-svg .cat-eyes,
.loader-cat-svg .cat-mouth,
.about-cat-contour .cat-eyes,
.about-cat-contour .cat-mouth {
  stroke: inherit;
  stroke-width: 2.2;
  fill: none;
}

.hero-title.gradient {
  background: linear-gradient(135deg, var(--white) 30%, var(--muted) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title.accent {
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hero-description-container {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
}

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

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-primary {
  background-color: var(--white);
  color: var(--bg);
  border: 1px solid var(--white);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  background-color: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  color: var(--white);
  border-color: var(--cyan);
  background-color: rgba(0, 229, 255, 0.03);
}

/* PROJETOS SECTION */
.section-tag-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.25em;
}

.section-arrow {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

/* LISTA DE PROJETOS (TABELA MINIMALISTA) */
.projects-list {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
}

.project-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  padding: 2.2rem 1rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
  transition: border-bottom-color 0.3s, background-color 0.3s;
  position: relative;
  overflow: hidden;
}

.project-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background-color: var(--cyan);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.project-row:hover {
  background-color: rgba(255, 255, 255, 0.015);
  border-bottom-style: solid;
  border-bottom-color: var(--border-hover);
}

.project-row:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.project-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 300;
}

.project-row:hover .project-num {
  color: var(--cyan);
}

.project-meta {
  padding-left: 1.5rem;
}

.project-tagline {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.4rem;
}

.project-name {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  transition: transform 0.3s ease;
}

.project-row:hover .project-name {
  transform: translateX(10px);
  color: var(--white);
}

.project-link-icon {
  width: 24px;
  height: 24px;
  stroke: var(--muted);
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.3s, transform 0.3s;
}

.project-row:hover .project-link-icon {
  stroke: var(--pink);
  transform: rotate(45deg);
}

/* DETALHES DO PROJETO EM HOVER/EXPANSÃO */
.project-extended-desc {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  grid-column: 1 / -1;
  padding-left: 4.2rem;
}

.project-row:hover .project-extended-desc {
  max-height: 120px;
  margin-top: 1rem;
}

.project-desc-text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 1rem;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.stack-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cyan);
  background-color: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

.project-row:hover .stack-tag {
  color: var(--pink);
  background-color: rgba(255, 0, 127, 0.05);
  border-color: rgba(255, 0, 127, 0.15);
}

/* SERVIÇOS SECTION */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color 0.4s, background-color 0.4s, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden; /* Garante que o background de animação não vaze do card */
}

.service-card:hover {
  border-color: var(--cyan);
  background-color: rgba(10, 10, 15, 0.85);
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.05);
}

/* Mantém os textos e ícones acima do background de animação */
.service-card > *:not(.card-animation-bg) {
  position: relative;
  z-index: 2;
}

.service-icon-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
  transition: all 0.3s;
}

.service-card:hover .service-icon-box {
  color: var(--cyan);
  background-color: rgba(0, 229, 255, 0.05);
  border-color: rgba(0, 229, 255, 0.2);
}

.service-icon-box svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}

/* ─────────────────────────────────────────────────────────────
   ESTILOS DE BACKGROUNDS DE ANIMAÇÃO NO HOVER DOS CARDS
   ───────────────────────────────────────────────────────────── */

/* Cabeçalho do Card de Serviço */
.card-header-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
  height: 52px;
  position: relative;
  margin-bottom: 0.5rem;
}

.card-animation-bg {
  position: relative;
  flex: 1;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateX(-8px);
}

.service-card:hover .card-animation-bg {
  opacity: 0.85; /* Opacidade alta no hover para os detalhes brilharem */
  transform: translateX(0);
}

/* CARD 1: Arquitetura Web */
.srv-web-anim .grid-line {
  stroke: rgba(0, 229, 255, 0.12);
  stroke-width: 0.8px;
}

.srv-web-anim .grid-particle {
  fill: var(--cyan);
  filter: drop-shadow(0 0 3px var(--cyan));
}

.srv-web-anim .part-1 {
  animation: runHorizontal 4s infinite linear;
}

.srv-web-anim .part-2 {
  animation: runVertical 5s infinite linear;
}

.srv-web-anim .part-3 {
  animation: runDiagonal 6s infinite linear;
}

@keyframes runHorizontal {
  0% { transform: translateX(0); }
  100% { transform: translateX(200px); }
}

@keyframes runVertical {
  0% { transform: translateY(0); }
  100% { transform: translateY(-200px); }
}

@keyframes runDiagonal {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-100px, 100px); }
}

/* CARD 2: Engenharia de Cloud */
.srv-cloud-anim .cloud-path {
  fill: rgba(0, 229, 255, 0.06); /* Preenchimento sutil cyan para melhor visibilidade */
  stroke: rgba(0, 229, 255, 0.35); /* Contorno mais forte */
  stroke-width: 1.2px;
  filter: drop-shadow(0 0 2px rgba(0, 229, 255, 0.15));
}

.srv-cloud-anim .cloud-wire {
  fill: none;
  stroke: rgba(255, 0, 127, 0.18);
  stroke-width: 1px;
  stroke-dasharray: 4 4;
}

.srv-cloud-anim .cloud-data-particle {
  fill: var(--cyan);
  filter: drop-shadow(0 0 3px var(--cyan));
}

.srv-cloud-anim .cloud-1 {
  animation: floatCloudLeft 12s infinite alternate ease-in-out;
}

.srv-cloud-anim .cloud-2 {
  animation: floatCloudRight 15s infinite alternate ease-in-out;
}

.srv-cloud-anim .cloud-3 {
  animation: floatCloudLeft 9s infinite alternate ease-in-out;
  animation-delay: 1.5s;
}

@keyframes floatCloudLeft {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-10px, -5px); }
}

@keyframes floatCloudRight {
  0% { transform: translate(0, 0); }
  100% { transform: translate(12px, 8px); }
}

/* CARD 3: Segurança Aplicada */
.srv-security-anim .sec-grid-line {
  stroke: rgba(139, 63, 212, 0.12);
  stroke-width: 0.8px;
}

.srv-security-anim .sec-shield-arc {
  fill: none;
  stroke: rgba(139, 63, 212, 0.25);
  stroke-width: 1.5px;
  stroke-dasharray: 6 4;
  animation: rotateArc 20s infinite linear;
  transform-origin: 100px 180px;
}

.srv-security-anim .sec-scanner-line {
  stroke: var(--pink);
  stroke-width: 1.5px;
  opacity: 0.8;
  filter: drop-shadow(0 0 4px var(--pink));
  animation: scanHorizontal 3.5s infinite ease-in-out;
}

@keyframes rotateArc {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes scanHorizontal {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { transform: translateY(200px); opacity: 0; }
}

/* CARD 4: Automação & IA */
.srv-automation-anim .flow-wire {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1.2px;
}

.srv-automation-anim .flow-node {
  fill: var(--surface);
  stroke: rgba(0, 229, 255, 0.3);
  stroke-width: 1.5px;
}

.service-card:hover .srv-automation-anim .flow-node {
  animation: pulseNode 2s infinite alternate ease-in-out;
}

.srv-automation-anim .node-1 { animation-delay: 0s; }
.srv-automation-anim .node-2 { animation-delay: 0.5s; }
.srv-automation-anim .node-3 { animation-delay: 1s; }

.srv-automation-anim .flow-pulse {
  fill: var(--pink);
  filter: drop-shadow(0 0 3px var(--pink));
}

@keyframes pulseNode {
  0% { stroke-width: 1.5px; stroke: rgba(0, 229, 255, 0.3); }
  100% { stroke-width: 2.5px; stroke: var(--cyan); filter: drop-shadow(0 0 5px var(--cyan)); }
}

/* SOBRE NÓS SECTION */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-content {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.about-text-wrap h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: var(--white);
}

.about-text-wrap h3 strong {
  font-weight: 700;
  color: var(--cyan);
}

.about-paragraphs p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

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

.about-visual {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#ascii-cat {
  font-family: var(--font-mono);
  font-size: clamp(3.6px, 0.5vw, 6.5px);
  line-height: 1.15;
  color: rgba(139, 63, 212, 0.95);
  text-shadow: 0 0 6px rgba(139, 63, 212, 0.6);
  white-space: pre;
  overflow: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  text-align: left;
}

.about-cat-contour {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 320px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.2;
  filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.25));
  opacity: 0;
  pointer-events: none;
  animation: neonColorShift 8s infinite linear;
}

@keyframes catPulse {
  0% {
    stroke: rgba(0, 229, 255, 0.15);
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.1));
    transform: translate(-50%, -50%) translateY(0) scale(1);
  }
  50% {
    stroke: rgba(139, 63, 212, 0.25);
    filter: drop-shadow(0 0 15px rgba(139, 63, 212, 0.15));
  }
  100% {
    stroke: rgba(255, 0, 127, 0.2);
    filter: drop-shadow(0 0 20px rgba(255, 0, 127, 0.2));
    transform: translate(-50%, -50%) translateY(-8px) scale(1.02);
  }
}

/* TECH STACK SECTION */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 480px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.tech-item {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.8rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Brilho de fundo radial no hover */
.tech-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%) scale(0);
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s;
  opacity: 0;
  z-index: 0;
}

.tech-item:hover::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.tech-item:hover {
  border-color: var(--cyan);
  transform: translateY(-6px) scale(1.03);
  box-shadow:
    0 8px 30px rgba(0, 229, 255, 0.1),
    0 0 1px rgba(0, 229, 255, 0.4),
    inset 0 1px 0 rgba(0, 229, 255, 0.08);
}

.tech-icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.4s, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s;
  position: relative;
  z-index: 1;
}

.tech-item:hover .tech-icon-box {
  color: var(--cyan);
  transform: translateY(-4px) scale(1.1);
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.5));
}

.tech-icon-box svg {
  width: 100%;
  height: 100%;
}

.tech-name {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  transition: color 0.4s;
  position: relative;
  z-index: 1;
}

.tech-item:hover .tech-name {
  color: var(--cyan);
}

/* CONTATO SECTION */
#contact {
  padding-bottom: 6rem;
}

.contact-box {
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.9) 0%, rgba(5, 5, 8, 0.95) 100%);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.contact-box::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.contact-box h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.contact-box p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

.contact-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.contact-btn {
  font-size: 0.8rem;
  padding: 1.2rem 3rem;
  background-color: var(--cyan);
  border-color: var(--cyan);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.contact-btn:hover {
  background-color: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.35);
}

.social-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.social-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.social-link:hover {
  color: var(--white);
}

/* RODAPÉ */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  font-family: var(--font-mono);
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

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

.footer-left p span {
  color: var(--pink);
  animation: heartBeat 1.2s infinite;
  display: inline-block;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* RESPONSIVIDADE ADICIONAL */
@media (max-width: 767px) {
  section {
    padding: 3rem 0;
  }
  
  #hero {
    padding-top: 7rem;
  }
  
  header {
    padding: 1.2rem 6%;
  }
  
  nav {
    display: none; /* Em um cenário de produção real criaríamos um menu hambúrguer corporativo limpo. Por hora simplificamos para focar no conteúdo */
  }
  
  .project-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.8rem 0.5rem;
  }
  
  .project-meta {
    padding-left: 0;
  }
  
  .project-row:hover .project-name {
    transform: none;
  }
  
  .project-link-icon {
    display: none;
  }
  
  .project-extended-desc {
    padding-left: 0;
    max-height: none;
  }
  
  .project-row:hover .project-extended-desc {
    max-height: none;
  }
}

/* Transição de cores neon fluida sincronizada */
@keyframes neonColorShift {
  0% {
    stroke: var(--cyan);
    filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.45));
  }
  33% {
    stroke: var(--pink);
    filter: drop-shadow(0 0 15px rgba(255, 45, 120, 0.45));
  }
  66% {
    stroke: var(--purple);
    filter: drop-shadow(0 0 15px rgba(139, 63, 212, 0.45));
  }
  100% {
    stroke: var(--cyan);
    filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.45));
  }
}

/* ─────────────────────────────────────────────────────────────
   PORTFÓLIO DINÂMICO POR ABAS
   ───────────────────────────────────────────────────────────── */

.portfolio-controls {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.portfolio-tabs {
  display: flex;
  background-color: rgba(10, 10, 15, 0.6);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: 6px;
  gap: 4px;
}

.portfolio-tab-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.8rem 2rem;
  border: none;
  background-color: transparent;
  color: var(--muted);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-tab-btn:hover {
  color: var(--white);
}

.portfolio-tab-btn.active {
  color: var(--white);
}

#tab-btn-gaming.active {
  background-color: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
}

#tab-btn-lab.active {
  background-color: rgba(139, 63, 212, 0.08);
  border: 1px solid rgba(139, 63, 212, 0.2);
  box-shadow: 0 0 15px rgba(139, 63, 212, 0.1);
}

#tab-btn-enterprise.active {
  background-color: rgba(255, 0, 127, 0.08);
  border: 1px solid rgba(255, 0, 127, 0.2);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.1);
}

/* Cabeçalho da guia portfólio */
.portfolio-header {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4rem;
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.45) 0%, rgba(5, 5, 8, 0.45) 100%);
  border: 1px solid var(--border);
  padding: 3rem;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 992px) {
  .portfolio-header {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem;
  }
}

.portfolio-desc-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.portfolio-category-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--white), var(--muted));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.portfolio-category-desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

.portfolio-category-desc p {
  margin-bottom: 1rem;
}

.portfolio-category-desc strong {
  color: var(--white);
  font-weight: 500;
}

.portfolio-animation-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 250px;
}

#portfolio-anim-wrap {
  width: 100%;
  max-width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Conteúdo da aba */
.portfolio-tab-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.portfolio-tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────────────────────
   ESTILIZAÇÃO DOS SVGS DE ANIMAÇÃO
   ───────────────────────────────────────────────────────────── */

/* Classes Gerais dos SVGs */
.neon-svg-anim {
  width: 100%;
  height: 100%;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 1. GAMING SVG */
.gaming-svg .neon-cat {
  stroke: var(--cyan);
  stroke-width: 2.2;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.4));
  transform-origin: 50px 50px;
}

.gaming-svg .neon-controller {
  stroke: var(--pink);
  stroke-width: 2.2;
  filter: drop-shadow(0 0 8px rgba(255, 0, 127, 0.4));
  transform-origin: 25px 16px;
  animation: controllerSwing 3.5s infinite ease-in-out;
}

@keyframes controllerSwing {
  0%, 100% { transform: translate(115px, 110px) rotate(12deg); }
  50% { transform: translate(115px, 110px) rotate(18deg); }
}

/* Balão de Fala e Xingamentos Especiais */
.gaming-svg .speech-bubble-outline {
  stroke: var(--white);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.65));
  fill: rgba(10, 10, 15, 0.95);
}

.gaming-svg .bubble-inner-symbol {
  stroke: var(--white);
  stroke-width: 1.8;
  fill: none;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

/* Estado de fúria (ativado pelo JS via GSAP) */
.gaming-svg.furious .neon-cat {
  stroke: #FF003C !important;
  filter: drop-shadow(0 0 15px rgba(255, 0, 60, 0.8)) !important;
  animation: catTremor 0.08s infinite linear;
}

@keyframes catTremor {
  0%, 100% { translate: 0px 0px; }
  20% { translate: -1px 0.5px; }
  40% { translate: 1px -0.5px; }
  60% { translate: -0.8px -0.8px; }
  80% { translate: 0.8px 0.8px; }
}

/* 2. LAB SVG */
.lab-svg .neon-cat-teacher {
  stroke: var(--purple);
  stroke-width: 2.2;
  filter: drop-shadow(0 0 10px rgba(139, 63, 212, 0.4));
}

.lab-svg .pointer-stick {
  stroke: var(--cyan);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
  transform-origin: 90px 115px; /* Posição da patinha do professor */
}

.lab-svg .blackboard {
  stroke: rgba(139, 63, 212, 0.45);
  stroke-width: 1.8;
  fill: rgba(10, 10, 15, 0.7);
  filter: drop-shadow(0 0 6px rgba(139, 63, 212, 0.3));
}

.lab-svg .graph-diagram {
  stroke: var(--cyan);
  stroke-width: 1.8;
  filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.3));
}

.lab-svg .graph-node {
  fill: var(--purple);
  stroke: var(--cyan);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 4px rgba(139, 63, 212, 0.6));
}

.lab-svg .student-cat {
  stroke: var(--muted);
  stroke-width: 1.8;
  opacity: 0.65;
  transition: stroke 0.3s, opacity 0.3s;
}

.lab-svg .student-cat:hover {
  stroke: var(--cyan);
  opacity: 1;
}

.lab-svg .glow-dot {
  fill: var(--cyan);
  filter: drop-shadow(0 0 8px var(--cyan));
  opacity: 0;
}

/* 3. ENTERPRISE SVG */
.enterprise-svg .city-buildings {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1.5;
}

.enterprise-svg .city-building-highlight {
  stroke: var(--purple);
  stroke-width: 1.8;
  filter: drop-shadow(0 0 6px rgba(139, 63, 212, 0.3));
}

.enterprise-svg .team-cat-lead {
  stroke: var(--cyan);
  stroke-width: 2.2;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.4));
}

.enterprise-svg .team-cat-member {
  stroke: var(--muted);
  stroke-width: 1.8;
  opacity: 0.8;
}

.enterprise-svg .data-stream {
  stroke: var(--pink);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 4px var(--pink));
  stroke-dasharray: 4 12;
}

/* PROMO DA GUIA ENTERPRISE */
.enterprise-promo {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3.5rem 3rem;
  margin-top: 2rem;
}

@media (max-width: 992px) {
  .enterprise-promo {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem 2rem;
  }
}

.enterprise-info h3 {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.enterprise-info p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
}

.enterprise-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.enterprise-features li {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  letter-spacing: 0.02em;
}

.feat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.enterprise-action-card {
  background-color: rgba(5, 5, 8, 0.8);
  border: 1px dashed rgba(255, 0, 127, 0.25);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
}

.price-indicator {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.enterprise-action-card h4 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
}

.enterprise-action-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ─────────────────────────────────────────────────────────────
   FORMULÁRIO DE CONTATO EXPANSÍVEL E PREMIUM
   ───────────────────────────────────────────────────────────── */

.contact-form {
  margin-top: 3.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

@media (min-width: 768px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  background-color: rgba(10, 10, 15, 0.7);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--white);
  padding: 0.9rem 1.2rem;
  font-family: var(--font-title);
  font-size: 0.95rem;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  outline: none;
}

/* Dropdowns específicos */
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%238E8E93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1rem;
  padding-right: 3rem;
}

.form-group select option {
  background-color: var(--surface);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
}

/* Foco Neon */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  background-color: rgba(10, 10, 15, 0.95);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.12), inset 0 1px 0 rgba(0, 229, 255, 0.05);
}

/* Validações */
.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
  border-color: var(--pink) !important;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.12) !important;
}

.error-msg {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all 0.3s;
  margin-top: 0.2rem;
}

.form-group.invalid .error-msg {
  opacity: 1;
  height: auto;
  margin-top: 0.4rem;
}

/* Caixa de privacidade (LGPD) */
.privacy-group {
  margin-top: 0.5rem;
}

.privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  cursor: pointer;
  user-select: none;
}

.privacy-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-custom {
  position: relative;
  height: 18px;
  width: 18px;
  background-color: rgba(10, 10, 15, 0.7);
  border: 1px solid var(--border);
  border-radius: 3px;
  flex-shrink: 0;
  transition: all 0.3s;
  margin-top: 2px;
}

.privacy-label:hover input ~ .checkbox-custom {
  border-color: var(--cyan);
}

.privacy-label input:checked ~ .checkbox-custom {
  background-color: rgba(0, 229, 255, 0.1);
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.checkbox-custom::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid var(--cyan);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.privacy-label input:checked ~ .checkbox-custom::after {
  display: block;
}

.privacy-text {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.privacy-label:hover .privacy-text {
  color: var(--white);
}

/* Ações do formulário */
.form-actions-row {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (max-width: 480px) {
  .form-actions-row {
    flex-direction: column-reverse;
  }
  .form-actions-row button {
    width: 100%;
  }
}

/* Loader de envio */
.btn-loader {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 3, 3, 0.25);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
  margin-left: 0.75rem;
}

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

/* Feedback de sucesso */
.success-icon-box {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.15);
}

.success-icon {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 6px var(--cyan));
}

.success-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

#contact-success-msg p {
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 2rem;
  font-weight: 300;
  line-height: 1.6;
}

/* ==========================================================================
   SUPORTE FLUTUANTE & MODAL ESTILIZADOS COM DESIGN PREMIUM NEON CAT
   ========================================================================== */

/* FAB (Floating Action Button) de Suporte */
.support-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(10, 10, 15, 0.75);
  border: 1px solid var(--border);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px 0 rgba(0, 229, 255, 0.15);
}

.support-fab svg {
  width: 26px;
  height: 26px;
  transition: transform 0.3s ease;
}

.support-fab:hover {
  transform: scale(1.1) translateY(-3px);
  border-color: var(--pink);
  color: var(--pink);
  box-shadow: 0 12px 40px 0 rgba(255, 0, 127, 0.3);
}

.support-fab:hover svg {
  transform: rotate(10deg);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 3, 3, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Container do Modal */
.modal-container {
  background: var(--surface);
  border: 1px solid var(--border);
  width: 90%;
  max-width: 620px;
  padding: 3rem;
  border-radius: 12px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

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

.modal-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.support-cat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
}

.support-cat-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px var(--cyan));
}

.modal-header h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, var(--white), var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-header p {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
}

/* Responsividade do Modal */
@media (max-width: 640px) {
  .modal-container {
    padding: 2rem 1.5rem;
    width: 95%;
  }
  .support-fab {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
  }
  .support-fab svg {
    width: 22px;
    height: 22px;
  }
}

