
:root {
  --bg:        #050505;
  --bg2:       #0a0a0a;
  --bg3:       #111111;
  --border:    rgba(255,50,50,0.08);
  --borderh:   rgba(255,50,50,0.22);
  --text:      #f0eded;
  --muted:     #3a2a2a;
  --soft:      #7a5555;
  --accent:    #e03030;
  --accent2:   #ff5555;
  --r:         8px;
  --max:       1100px;
  --nav-h:     64px;
  --theme-btn-icon: '☀';
}

[data-theme="light"] {
  --bg:        #f4fdf4;
  --bg2:       #eaf7ea;
  --bg3:       #dff2df;
  --border:    rgba(0,140,50,0.12);
  --borderh:   rgba(0,140,50,0.3);
  --text:      #0a1f0a;
  --muted:     #8ab88a;
  --soft:      #3a6b3a;
  --accent:    #007a2a;
  --accent2:   #00a83a;
  --theme-btn-icon: '☾';
}

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

body, nav, section, footer, .proj-card, .skill-card, .cert-card,
.cert-wrap, .trilha-wrap, .contato-item, .timeline-content {
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}
[data-theme="light"] body::before { opacity: 0.15; }

.theme-toggle {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s, transform 0.3s;
}
.theme-toggle:hover {
  border-color: var(--accent);
  background: var(--bg2);
  transform: rotate(20deg) scale(1.1);
}

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

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

#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: rgba(5,5,5,0.75);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}

#navbar.scrolled {
  background: rgba(5,5,5,0.95);
  border-bottom-color: var(--borderh);
}

[data-theme="light"] #navbar {
  background: rgba(244,253,244,0.85);
}
[data-theme="light"] #navbar.scrolled {
  background: rgba(244,253,244,0.97);
}

.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo-bracket { color: var(--muted); }
.logo-accent  { color: var(--accent); }

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

.nav-links a {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--soft);
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--bg3);
}


.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  width: 100%;
  background: rgba(8,8,9,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 2rem;
  gap: 1rem;
  z-index: 190;
  transform: translateY(-110%);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-link {
  font-size: 18px;
  font-weight: 600;
  color: var(--soft);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-link:hover { color: var(--accent); }

section {
  padding: 120px 2rem;
  display: flex;
  justify-content: center;
}

.section-inner {
  max-width: var(--max);
  width: 100%;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.section-inner.column {
  flex-direction: column;
  align-items: flex-start;
}

.section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin-bottom: 2rem;
}

#hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 40px);
  align-items: center;
  position: relative;
}

.hero-grid {
  max-width: var(--max);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: center;
}


.hero-text h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 10vw, 110px);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 0.92;
  margin-bottom: 1.5rem;
}
.hero-name-accent { color: var(--accent); }

.hero-desc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--soft);
  line-height: 1.8;
  max-width: 420px;
}


.hero-image-wrap {
  position: relative;
  flex-shrink: 0;
  width: 100%;
}
.hero-image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  margin-left: auto;
}
.hero-image-frame img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(20%);
}

.frame-corner {
  position: absolute;
  width: 20px;
  height: 20px;
}
.frame-corner.tl { top: 8px; left: 8px;  border-top: 2px solid var(--accent); border-left:  2px solid var(--accent); }
.frame-corner.tr { top: 8px; right: 8px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.frame-corner.bl { bottom: 8px; left: 8px;  border-bottom: 2px solid var(--accent); border-left:  2px solid var(--accent); }
.frame-corner.br { bottom: 8px; right: 8px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }


.badge-num { display: block; font-size: 22px; font-weight: 800; line-height: 1; }
.badge-text { font-family: 'JetBrains Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; }

/* Scroll hint removido */

/* ─────────────────────────────────────────
   DADOS PESSOAIS
───────────────────────────────────────── */
#dados { padding: 60px 2rem; }

.dados-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.dado-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.5rem 2rem;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.dado-item:last-child { border-right: none; }
.dado-item:hover { background: var(--bg2); }

.dado-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.dado-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

#sobre { background: var(--bg2); }

.sobre-img {
  position: relative;
  flex-shrink: 0;
}
.sobre-img img {
  width: 280px;
  border-radius: 16px;
  border: 1px solid var(--border);
  filter: grayscale(30%);
}
.sobre-img-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

.sobre-texto { flex: 1; }

.sobre-texto h2 { margin-bottom: 1.5rem; }

.sobre-texto p {
  font-size: 15px;
  color: var(--soft);
  margin-bottom: 1rem;
  line-height: 1.8;
  text-align: justify;
}
.sobre-texto p strong { color: var(--text); font-weight: 600; }

.sobre-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  margin-top: 0.3rem;
  max-width: 120px;
  line-height: 1.4;
}

.timeline {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1.5rem;
  padding-bottom: 3rem;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}
.marker-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
  flex-shrink: 0;
}
.marker-line {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin-top: 8px;
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.timeline-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}
.timeline-company {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(232,200,74,0.1);
  padding: 2px 8px;
  border-radius: 20px;
}

.timeline-content h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.timeline-content p {
  font-size: 14px;
  color: var(--soft);
  line-height: 1.8;
  margin-bottom: 1rem;
  text-align: justify;
}
.timeline-company-logo {
  display: flex;
  align-items: center;
}
.timeline-company-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.timeline-tags span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--soft);
}

#projetos { background: var(--bg2); }

.proj-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.proj-header h2 { margin-bottom: 0; }

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.carousel-btn {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.carousel-btn:hover {
  border-color: var(--accent);
  background: var(--bg2);
  transform: scale(1.1);
}
.carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
  transform: none;
}
.carousel-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
  border: none;
  padding: 0;
}
.carousel-dot.active {
  background: var(--accent);
  width: 18px;
  border-radius: 3px;
}

.carousel-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.proj-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.proj-slide-img {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  min-height: 380px;
}
.proj-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s;
  padding: 1rem;
}
.proj-slide:hover .proj-slide-img img { transform: scale(1.04); }

.proj-slide-num {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.45);
  padding: 3px 8px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
}

.placeholder-img {
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.placeholder-icon {
  font-family: 'JetBrains Mono', monospace;
  font-size: 48px;
  color: var(--muted);
}

.proj-slide-body {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}
.proj-slide-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.proj-slide-body h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}
.proj-slide-body p {
  font-size: 14px;
  color: var(--soft);
  line-height: 1.75;
  margin: 0;
  text-align: justify;
}
.proj-slide-links { margin-top: 0.5rem; }
.proj-btn-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.5rem 1.1rem;
  border-radius: var(--r);
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}
.proj-btn-link:hover {
  background: var(--accent);
  color: #000;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.skill-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.3s, transform 0.3s;
}
.skill-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.skill-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 1rem;
}
.skill-icon svg {
  width: 100%;
  height: 100%;
}

.skill-card h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  color: var(--soft);
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.skill-list span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}
.skill-list span:last-child { border-bottom: none; }

#certificados { background: var(--bg2); }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
  margin-bottom: 4rem;
}

.cert-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.3s;
}
.cert-card:hover {
  border-color: var(--borderh);
  transform: translateY(-4px);
}

.cert-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.cert-logo-wrap {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  height: 34px;
}
.cert-logo-text {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}
.infosoft-logo { color: var(--accent); }
.cotrijal-wrap { padding: 3px 8px; }
.cert-logo-img {
  height: 26px;
  width: auto;
  object-fit: contain;
}
.cert-platform {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
}

.cert-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.cert-card p {
  font-size: 13px;
  color: var(--soft);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  text-align: justify;
}

.cert-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  transition: opacity 0.2s;
}
.cert-link:hover { opacity: 0.7; }

.trilha-wrap {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 2rem 1.75rem;
}
.trilha-wrap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.trilha-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.trilha-progress-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  background: rgba(var(--accent-rgb, 224,48,48), 0.08);
  border: 1px solid var(--borderh);
  padding: 3px 10px;
  border-radius: 20px;
}

.roadmap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.roadmap-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.roadmap-turn-right {
  align-self: flex-end;
  height: 28px;
  margin-right: 0;
  position: relative;
}
.roadmap-turn-right::after {
  content: '';
  position: absolute;
  right: calc(12.5% - 1px);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--muted);
  border-radius: 2px;
}

.roadmap-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0 0.5rem 1.5rem;
}

.rnode-connector {
  position: absolute;
  top: 22px;
  height: 2px;
  width: calc(50% + 0.5rem);
  background: var(--accent);
  z-index: 0;
}
.rnode-connector.right { left: 50%; }
.rnode-connector.left  { right: 50%; }
.rnode-connector.dim   { background: var(--muted); }

.rnode-sem {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.rnode-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  position: relative;
  z-index: 1;
  transition: border-color 0.3s, transform 0.3s;
  text-decoration: none;
  color: inherit;
}
.roadmap-node.done .rnode-box  { border-color: var(--borderh); }
.roadmap-node.current .rnode-box {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent);
}
.rnode-box:hover { transform: translateY(-3px); }

.rnode-clickable:hover {
  border-color: var(--accent) !important;
  background: color-mix(in srgb, var(--accent) 3%, var(--bg2));
  cursor: pointer;
}
.rnode-clickable:hover .rnode-cert-hint {
  opacity: 1;
  transform: translateY(0);
}

.rnode-cert-hint {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--accent);
  margin-top: 0.35rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
  letter-spacing: 0.03em;
}

.rnode-check {
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.roadmap-node.done .rnode-check {
  background: var(--accent);
  color: #000;
  font-size: 11px;
}
.roadmap-node.current .rnode-check {
  color: var(--accent);
  font-size: 10px;
}
.roadmap-node.future .rnode-check {
  color: var(--muted);
  border: 1px solid var(--muted);
  font-size: 11px;
}

.pulse-ring {
  animation: pulse-node 2s ease-in-out infinite;
}
@keyframes pulse-node {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50%       { text-shadow: 0 0 8px var(--accent); }
}

.rnode-content { flex: 1; }

.rnode-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 0.35rem;
}
.done-badge    { background: rgba(var(--accent-rgb, 224,48,48), 0.12); color: var(--accent); }
.current-badge { background: rgba(var(--accent-rgb, 224,48,48), 0.18); color: var(--accent); border: 1px solid var(--borderh); }
.future-badge  { background: var(--bg3); color: var(--muted); }

.rnode-content p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--soft);
  line-height: 1.4;
  margin: 0;
}
.roadmap-node.future .rnode-content p { color: var(--muted); }

.roadmap-row.reverse { direction: rtl; }
.roadmap-row.reverse .roadmap-node { direction: ltr; }

.trilha-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.dot-accent {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
}

.section-inner.column.contato-inner {
  align-items: center;
  text-align: center;
  width: 100%;
}

.section-inner.column.contato-inner .section-tag {
  align-self: flex-start;
  text-align: left;
}

.contato-desc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--soft);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 3rem;
  text-align: center;
}

.contato-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 780px;
}

.contato-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  transition: border-color 0.3s, transform 0.3s;
}
.contato-item:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.contato-curriculo {
  border-color: var(--borderh);
  background: color-mix(in srgb, var(--accent) 3%, var(--bg2));
}
.contato-curriculo:hover {
  background: color-mix(in srgb, var(--accent) 3%, var(--bg2));
}
.contato-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contato-icon svg {
  width: 100%;
  height: 100%;
}
.contato-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
}
.contato-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  word-break: break-all;
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--muted);
}
.footer-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}

.fade-up,
.fade-left,
.fade-right {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.fade-up   { transform: translateY(30px); }
.fade-left { transform: translateX(-30px); }
.fade-right{ transform: translateX(30px); }

.fade-up.visible,
.fade-left.visible,
.fade-right.visible {
  opacity: 1;
  transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ─────────────────────────────────────────
   RESPONSIVO
───────────────────────────────────────── */

/* ── Tablet grande ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 240px; gap: 2.5rem; }
  .hero-image-frame { max-width: 240px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Tablet ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-image-wrap { display: none; }
  .hero-desc { margin: 0 auto 0; }
  .hero-scroll-hint { display: none; }

  .dados-grid { grid-template-columns: repeat(2, 1fr); }
  .dado-item:nth-child(2) { border-right: none; }
  .dado-item:nth-child(3) { border-right: none; }
  .dado-item:nth-child(1),
  .dado-item:nth-child(2) { border-bottom: 1px solid var(--border); }

  .section-inner { flex-direction: column; }
  .sobre-img { order: -1; width: 100%; display: flex; flex-direction: column; align-items: center; }
  .sobre-img img { width: 100%; max-width: 300px; }
  .sobre-texto { text-align: left; }

  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: 1fr; }
  .dados-grid { grid-template-columns: repeat(2, 1fr); }
  .dado-item:nth-child(2) { border-right: none; }
  .dado-item:nth-child(1),
  .dado-item:nth-child(2) { border-bottom: 1px solid var(--border); }

  .proj-slide { grid-template-columns: 1fr; }
  .proj-slide-img { min-height: 200px; }
  .proj-slide-img img { height: 240px; object-fit: contain; }
  .proj-slide-body { padding: 1.5rem; }

  .roadmap-row { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .roadmap-row.reverse { direction: ltr; }
  .roadmap-turn-right { display: none; }
  .rnode-connector { display: none; }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Tipografia */
  h2 { font-size: 28px; }
  .hero-text h1 { font-size: clamp(60px, 14vw, 80px); }

  /* Espaçamento */
  section { padding: 72px 1.25rem; }

  /* Hero centralizado */
  .hero-grid { text-align: center; }
  .hero-desc { text-align: center; }
  .sobre-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-top: 1.5rem;
    justify-content: flex-start;
  }
  .stat-num { font-size: 24px; }

  /* Skills 2 colunas */
  .skills-grid { grid-template-columns: 1fr 1fr; }

  /* Projetos */
  .proj-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .proj-slide-body h3 { font-size: 20px; }
  .proj-slide-body p { font-size: 13px; }

  /* Roadmap 1 coluna */
  .roadmap-row { grid-template-columns: 1fr; }
  .roadmap-row.reverse { direction: ltr; }
  .trilha-wrap { padding: 1.25rem; }
  .trilha-wrap-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .trilha-progress-label { font-size: 10px; }

  /* Contato — centralizado em coluna */
  .section-inner.column.contato-inner {
    align-items: center;
    text-align: center;
  }
  .section-inner.column.contato-inner .section-tag {
    align-self: center;
    text-align: center;
  }
  .section-inner.column.contato-inner h2 {
    text-align: center;
  }
  .contato-desc { text-align: center; margin-bottom: 2rem; }
  .contato-links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 400px;
    gap: 0.75rem;
  }
  .contato-item {
    width: 100%;
    max-width: 100%;
    min-width: unset;
    flex-direction: row;
    justify-content: flex-start;
    padding: 1rem 1.25rem;
    gap: 1rem;
  }
  .contato-icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .contato-label { font-size: 13px; }

  /* Footer */
  footer { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ── Mobile pequeno ── */
@media (max-width: 480px) {
  section { padding: 64px 1rem; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .sobre-stats { gap: 1rem; }
  .proj-slide-img { min-height: 160px; }
  .proj-slide-img img { height: 180px; }
  .rnode-box { padding: 0.7rem 0.75rem; }
  .rnode-content p { font-size: 10px; }
  .trilha-title { font-size: 13px; }
}
