/* ============================================================
   Portfólio Vittorio Perotto — tema Cybercore dark
   Paleta base: roxo #462066 / verde #205e44
   ============================================================ */

:root {
  --bg: #0a0612;
  --bg-alt: #0d0a16;
  --surface: #16101f;
  --surface-2: #1c1428;
  --border: #2c1d40;

  --purple: #462066;
  --purple-light: #7b3fb3;
  --purple-glow: #a06ae0;

  --green: #205e44;
  --green-light: #2fa876;
  --green-bright: #4ade9b;

  --text: #d8d2e4;
  --text-dim: #8a819e;

  --font-mono: "JetBrains Mono", "Fira Code", "Cascadia Code", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

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

::selection { background: var(--purple-light); color: #fff; }

/* barra de rolagem temática */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple-light); }

/* ============================================================
   TELA DE BOOT — conexão SSH fake
   ============================================================ */
body.booting { overflow: hidden; }

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.boot-screen.boot-hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.boot-body {
  width: min(680px, 100%);
  font-size: clamp(0.78rem, 2.2vw, 0.95rem);
  color: var(--text);
  line-height: 1.75;
}

.boot-body .boot-line { min-height: 1.75em; }
.boot-body .boot-dim { color: var(--text-dim); }
.boot-body .boot-ok { color: var(--green-bright); }

.boot-skip {
  position: absolute;
  bottom: 2rem;
  color: var(--text-dim);
  font-size: 0.72rem;
  opacity: 0.7;
}

/* ===== scanlines globais (bem sutis) ===== */
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 3px,
    rgba(0, 0, 0, 0.08) 3px,
    rgba(0, 0, 0, 0.08) 4px
  );
  mix-blend-mode: multiply;
}

/* cores de prompt reutilizadas */
.prompt-user { color: var(--green-bright); }
.prompt-at, .prompt-colon { color: var(--text-dim); }
.prompt-host { color: var(--purple-glow); }
.prompt-path { color: var(--green-light); }
.prompt-dollar { color: var(--purple-glow); }
.hl-green { color: var(--green-bright); }
.hl-purple { color: var(--purple-glow); font-weight: 600; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 6, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-cursor {
  color: var(--green-bright);
  animation: blink 1.1s steps(1) infinite;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  gap: 0.9rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: none;
  /* mesma métrica do .nav-cta para o destaque .active não deslocar o layout */
  border: 1px solid transparent;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  transition: color 0.2s, text-shadow 0.2s, border-color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--green-bright);
  text-shadow: 0 0 12px rgba(74, 222, 155, 0.6);
}

.nav-links a.nav-cta {
  color: var(--purple-glow);
  border: 1px solid var(--purple);
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.nav-links a.nav-cta:hover {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 0 16px rgba(123, 63, 179, 0.5);
  text-shadow: none;
}

/* scrollspy: seção ativa destacada em verde (espelho do .nav-cta) */
.nav-links a.active,
.nav-links a.nav-cta.active {
  color: var(--green-bright);
  border-color: var(--green);
  background: rgba(32, 94, 68, 0.12);
  box-shadow: 0 0 14px rgba(47, 168, 118, 0.35);
  text-shadow: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--green-bright);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
  background: radial-gradient(ellipse at 30% 20%, rgba(70, 32, 102, 0.25), transparent 55%),
              radial-gradient(ellipse at 75% 80%, rgba(32, 94, 68, 0.18), transparent 55%),
              var(--bg);
}

#matrixCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123, 63, 179, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 63, 179, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-content { position: relative; z-index: 2; max-width: 820px; }

.hero-boot {
  color: var(--green-light);
  font-size: 0.8rem;
  margin-bottom: 1.2rem;
  opacity: 0.8;
}

/* --- glitch no nome --- */
.glitch {
  position: relative;
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  text-shadow: 0 0 30px rgba(160, 106, 224, 0.35);
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0.85;
}

.glitch::before {
  color: var(--purple-glow);
  animation: glitch-shift 3.2s infinite steps(1);
  clip-path: inset(0 0 60% 0);
}

.glitch::after {
  color: var(--green-bright);
  animation: glitch-shift 2.7s infinite steps(1) reverse;
  clip-path: inset(60% 0 0 0);
}

@keyframes glitch-shift {
  0%, 87%, 100% { transform: translate(0, 0); opacity: 0; }
  88% { transform: translate(-4px, 2px); opacity: 0.8; }
  90% { transform: translate(4px, -2px); opacity: 0.8; }
  92% { transform: translate(-2px, -1px); opacity: 0.6; }
  94% { transform: translate(2px, 1px); opacity: 0.8; }
  96% { transform: translate(0, 0); opacity: 0; }
}

.hero-terminal {
  margin-top: 1.4rem;
  font-size: clamp(0.95rem, 2.4vw, 1.25rem);
  color: var(--text);
  min-height: 1.8em;
}

#typedRole { color: var(--green-bright); }

.cursor {
  color: var(--green-bright);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.hero-sub {
  margin-top: 1.2rem;
  color: var(--text-dim);
  font-size: 1.02rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

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

.btn {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  transition: all 0.25s;
}

.btn-primary {
  background: var(--purple);
  color: #fff;
  border: 1px solid var(--purple-light);
  box-shadow: 0 0 18px rgba(70, 32, 102, 0.55);
}

.btn-primary:hover {
  background: var(--purple-light);
  box-shadow: 0 0 28px rgba(123, 63, 179, 0.75);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--green-bright);
  border: 1px solid var(--green);
  background: rgba(32, 94, 68, 0.12);
}

.btn-ghost:hover {
  background: var(--green);
  color: #fff;
  box-shadow: 0 0 22px rgba(47, 168, 118, 0.5);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.78rem;
  animation: float 2.2s ease-in-out infinite;
}

.hero-scroll:hover { color: var(--green-bright); }

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   SEÇÕES
   ============================================================ */
.section {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem 2rem;
}

/* conteúdo real fica acima da camada decorativa */
.section > :not(.section-decor) {
  position: relative;
  z-index: 1;
}

/* ===== camada decorativa de fundo (imagens + ASCII) ===== */
.section-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.decor-img {
  position: absolute;
  width: 620px;
  max-width: 75%;
  opacity: 0.12;
  /* fade contido em 50%x50% do box: alpha chega a ~0 antes de qualquer borda ou corte da seção */
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at center, black 0%, rgba(0, 0, 0, 0.7) 40%, transparent 88%);
  mask-image: radial-gradient(ellipse 50% 50% at center, black 0%, rgba(0, 0, 0, 0.7) 40%, transparent 88%);
}

/* tint: neutraliza a cor original e reaplica o matiz do tema */
.tint-green { filter: grayscale(90%) sepia(65%) hue-rotate(95deg) saturate(2.4) brightness(0.85); }
.tint-purple { filter: grayscale(90%) sepia(65%) hue-rotate(215deg) saturate(2.6) brightness(0.85); }

.decor-ascii {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.25;
  white-space: pre;
}

.ascii-green { color: rgba(74, 222, 155, 0.11); }
.ascii-purple { color: rgba(160, 106, 224, 0.13); }

/* posicionamento por seção */
#sobre .decor-img { top: -2rem; right: -140px; transform: rotate(6deg); }

#experiencia .decor-ascii { top: 9rem; left: -20px; font-size: 13px; }

#skills .decor-img { top: 3rem; left: -150px; transform: rotate(-5deg); }

#projetos .decor-img { top: -1rem; right: -130px; transform: rotate(6deg); }

#educacao .decor-ascii { top: 10rem; right: 30px; font-size: 14px; }

#contato .decor-ascii { bottom: 3rem; right: 90px; font-size: 13px; }

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.title-hash { color: var(--purple-glow); margin-right: 0.5rem; }
.title-slash { color: var(--green-bright); }

.section-lead {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

/* ===== reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   JANELA DE TERMINAL
   ============================================================ */
.terminal-window {
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(123, 63, 179, 0.08);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.terminal-window:hover {
  border-color: var(--purple-light);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(123, 63, 179, 0.25);
}

.terminal-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.45rem 0.6rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.terminal-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.t-controls {
  display: flex;
  gap: 6px;
}

.t-btn {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  user-select: none;
  transition: filter 0.15s;
}

.t-btn:hover { filter: brightness(1.35); }

.t-min, .t-max {
  background: rgba(32, 94, 68, 0.15);
  border: 1px solid var(--green);
  color: var(--green-bright);
}

/* o glifo □ assenta na baseline e fica visualmente baixo dentro do círculo */
.t-max { padding-bottom: 3px; }

.t-close {
  background: var(--purple);
  border: 1px solid var(--purple-light);
  color: #e6ddf2;
}

.terminal-body {
  padding: 1.3rem 1.4rem;
  font-size: 0.9rem;
}

.t-line { color: var(--text); margin-bottom: 0.5rem; }
.t-output {
  color: var(--text-dim);
  margin: 0 0 1rem 0;
  white-space: pre-line;
}
.t-desc { color: var(--text); font-family: var(--font-sans); }
.t-exit { color: var(--text-dim); font-size: 0.8rem; margin-left: 0.6rem; }

.badges { display: flex; flex-wrap: wrap; gap: 0.6rem; white-space: normal; }

/* badges externos (shields.io) dentro de terminal */
.t-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.t-theme-name {
  color: var(--text);
  margin-bottom: 0.35rem;
}

/* letreiro neon nos nomes dos temas */
.neon-grape {
  color: var(--green-bright);
  text-shadow:
    0 0 4px rgba(74, 222, 155, 0.9),
    0 0 10px rgba(74, 222, 155, 0.6),
    0 0 18px rgba(160, 106, 224, 0.75),
    0 0 32px rgba(160, 106, 224, 0.5);
  animation: neon-flicker 3.4s linear infinite;
}

.neon-sith {
  color: #ff5b5b;
  text-shadow:
    0 0 4px rgba(255, 91, 91, 0.9),
    0 0 10px rgba(217, 4, 4, 0.75),
    0 0 18px rgba(217, 4, 4, 0.55),
    0 0 32px rgba(217, 4, 4, 0.4);
  animation: neon-flicker 2.9s linear infinite reverse;
}

@keyframes neon-flicker {
  0%, 6%, 10%, 100% { opacity: 1; }
  7% { opacity: 0.55; }
  9% { opacity: 0.8; }
  42% { opacity: 1; }
  43% { opacity: 0.7; }
  44% { opacity: 1; }
  70% { opacity: 0.92; }
}

.t-badges a { display: inline-block; transition: transform 0.2s, filter 0.2s; }

.t-badges a:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px rgba(123, 63, 179, 0.55));
}

/* o badge do Shadow Lord brilha em vermelho, na cor do tema */
.t-badges a[href*="shadow-lord"]:hover {
  filter: drop-shadow(0 0 8px rgba(217, 4, 4, 0.65));
}

.t-badges img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 100%;
}

.badge {
  border: 1px solid var(--green);
  background: rgba(32, 94, 68, 0.15);
  color: var(--green-bright);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-size: 0.78rem;
}

/* ============================================================
   TIMELINE — EXPERIÊNCIA
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--purple-light), var(--green-light));
  box-shadow: 0 0 10px rgba(123, 63, 179, 0.5);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-marker {
  position: absolute;
  left: -2rem;
  top: 1.4rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--green-bright);
  box-shadow: 0 0 12px rgba(74, 222, 155, 0.7);
}

/* ===== cards genéricos ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--purple-light);
  border-radius: 8px;
  padding: 1.4rem 1.6rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateX(6px);
  border-left-color: var(--green-bright);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(47, 168, 118, 0.18);
}

.card-date { color: var(--text-dim); font-size: 0.78rem; margin-bottom: 0.5rem; }

.tag-now {
  background: var(--green);
  color: #eafff4;
  padding: 0.1rem 0.5rem;
  border-radius: 3px;
  font-size: 0.7rem;
  margin-left: 0.5rem;
  letter-spacing: 0.06em;
  animation: pulse-glow 2.4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 4px rgba(74, 222, 155, 0.4); }
  50% { box-shadow: 0 0 14px rgba(74, 222, 155, 0.85); }
}

.card-role { font-size: 1.15rem; color: var(--text); margin-bottom: 0.2rem; }
.card-company { color: var(--purple-glow); font-size: 0.82rem; margin-bottom: 0.8rem; }
.card-desc { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 1rem; }

/* ===== chips ===== */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--green-bright);
  background: rgba(32, 94, 68, 0.16);
  border: 1px solid rgba(47, 168, 118, 0.35);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  transition: all 0.2s;
  cursor: default;
}

.chip:hover {
  background: var(--green);
  color: #fff;
  box-shadow: 0 0 14px rgba(47, 168, 118, 0.55);
  transform: translateY(-2px);
}

/* ============================================================
   SKILLS
   ============================================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.4rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.skill-card:hover {
  border-color: var(--purple-light);
  box-shadow: 0 0 24px rgba(123, 63, 179, 0.22);
  transform: translateY(-4px);
}

.skill-cat {
  color: var(--purple-glow);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.skill-icon {
  color: var(--green-bright);
  margin-right: 0.5rem;
  font-size: 1.35rem;
  vertical-align: -0.12em;
}

/* ============================================================
   PROJETOS
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.4rem;
}

/* cards do grid têm a mesma altura: o rodapé "[...] exit 0" desce
   para o fundo em vez de deixar espaço sobrando */
.projects-grid .terminal-window {
  display: flex;
  flex-direction: column;
}

.projects-grid .terminal-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.projects-grid .terminal-body > .t-line:last-child { margin-top: auto; }

/* ============================================================
   EDUCAÇÃO
   ============================================================ */
.edu-list { display: flex; flex-direction: column; gap: 1.2rem; }

/* ============================================================
   CONTATO
   ============================================================ */
.contact-terminal {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.contact-list {
  list-style: none;
  margin: 0.4rem 0 1.4rem;
}

.contact-list li { margin-bottom: 0.55rem; }

.c-key { color: var(--purple-glow); }
.c-sep { color: var(--text-dim); margin: 0 0.4rem; }

.c-val {
  color: var(--green-bright);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: border-color 0.2s, text-shadow 0.2s;
}

a.c-val:hover {
  border-bottom-color: var(--green-bright);
  text-shadow: 0 0 12px rgba(74, 222, 155, 0.7);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  margin-top: 5rem;
  padding: 2.2rem 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.82rem;
  background: var(--bg-alt);
}

.footer-exit { margin-top: 0.5rem; opacity: 0.7; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 6, 18, 0.97);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.open { max-height: 340px; }

  .nav-links li { border-top: 1px solid var(--border); }

  .nav-links a {
    display: block;
    padding: 0.9rem 1.5rem;
  }

  .nav-links a.nav-cta { border: none; border-radius: 0; padding: 0.9rem 1.5rem; }

  .timeline { padding-left: 1.6rem; }
  .timeline-marker { left: -1.6rem; width: 13px; height: 13px; }

  .terminal-body { padding: 1rem; font-size: 0.82rem; }

  /* decorações mais discretas em telas pequenas */
  .decor-img { opacity: 0.07; width: 260px; }
  .decor-ascii { display: none; }
  #contato .decor-ascii { display: block; right: 10px; bottom: 1rem; }
}

/* ============================================================
   ACESSIBILIDADE — reduz movimento
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal { opacity: 1; transform: none; }
  #matrixCanvas { display: none; }
}
