/* ============================================================
   Isaac Oolibama — Currículo Web
   Tema: dark sólido, azul petróleo / cinza-escuro / preto
   ============================================================ */

:root {
  --bg: #090d12;
  --bg-alt: #0d131a;
  --surface: #131a22;
  --surface-hover: #1a232d;
  --border: #223040;

  --text: #e8edf2;
  --text-dim: #93a3b3;
  --text-faint: #56636f;

  --blue: #2f7dc0;
  --blue-deep: #123047;
  --cyan: #4fd1e8;
  --green: #34d399;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-pixel: "Press Start 2P", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 15% 10%, rgba(47, 125, 192, 0.16), transparent 42%),
    radial-gradient(circle at 85% 0%, rgba(79, 209, 232, 0.1), transparent 45%),
    radial-gradient(circle at 50% 95%, rgba(18, 48, 71, 0.35), transparent 50%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }

.container {
  width: min(1080px, 92%);
  margin-inline: auto;
}

/* ---------- utility ---------- */
.gradient-text {
  color: var(--cyan);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: blink 1.4s steps(2) infinite;
}

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

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}

.section-sub {
  color: var(--text-dim);
  margin-bottom: 40px;
  max-width: 60ch;
}

section {
  padding: clamp(44px, 5vw, 70px) 0;
  position: relative;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(9, 13, 18, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.nav.scrolled { border-bottom-color: var(--border); }

.nav-inner {
  width: min(1080px, 92%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  color: var(--text);
}

.logo span { color: var(--cyan); }

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
  color: var(--text-dim);
}

.nav-links a { transition: color 0.2s ease; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--cyan); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

.hero-role {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-dim);
  margin-bottom: 22px;
}

.hero-role strong { color: var(--cyan); font-weight: 600; }

.hero-desc {
  color: var(--text-dim);
  max-width: 56ch;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-bottom: 34px;
  font-size: 0.88rem;
  color: var(--text-faint);
}

.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(79, 209, 232, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.hero-meta a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.hero-meta svg { width: 16px; height: 16px; color: var(--cyan); flex-shrink: 0; }
.hero-meta .ico-oracle { width: 17px; height: 17px; color: #f80000; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn svg { width: 17px; height: 17px; }

.btn-primary {
  background: var(--blue);
  color: #06131e;
  box-shadow: 0 10px 30px -10px rgba(47, 125, 192, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(47, 125, 192, 0.7); background: var(--cyan); }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface-hover); transform: translateY(-2px); border-color: var(--cyan); }

.hero-social { display: inline-flex; gap: 10px; }
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.btn-icon svg { width: 19px; height: 19px; }
.btn-icon:hover { background: var(--surface-hover); border-color: var(--cyan); transform: translateY(-2px); }

/* hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-frame {
  position: relative;
  width: 78%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: var(--bg-alt);
}

.floaty {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
  translate: -50% -50%;
  transition: background 0.25s ease, border-color 0.25s ease,
              box-shadow 0.25s ease, scale 0.25s ease;
}
.floaty .ico {
  width: 26px;
  height: 26px;
  color: var(--cyan);
  flex-shrink: 0;
  transition: filter 0.25s ease;
}

/* neon no hover */
.floaty:hover {
  background: var(--surface-hover);
  border-color: var(--cyan);
  scale: 1.1;
  box-shadow:
    0 0 0 1px rgba(79, 209, 232, 0.35),
    0 0 18px rgba(79, 209, 232, 0.45),
    0 0 40px rgba(79, 209, 232, 0.2),
    var(--shadow);
}
.floaty:hover .ico { filter: drop-shadow(0 0 7px rgba(79, 209, 232, 0.7)); }

/* anel: 10 icones a cada 36deg num raio de 48% (a foto tem raio 39%) */
.f1  { top: 2.0%; left: 50.0%; animation-delay: 0s; }
.f2  { top: 11.2%; left: 78.2%; animation-delay: 1.5s; }
.f3  { top: 35.2%; left: 95.7%; animation-delay: 3s; }
.f4  { top: 64.8%; left: 95.7%; animation-delay: 0.6s; }
.f5  { top: 88.8%; left: 78.2%; animation-delay: 2.1s; }
.f6  { top: 98.0%; left: 50.0%; animation-delay: 3.6s; }
.f7  { top: 88.8%; left: 21.8%; animation-delay: 1.2s; }
.f8  { top: 64.8%; left: 4.3%; animation-delay: 2.7s; }
.f9  { top: 35.2%; left: 4.3%; animation-delay: 4.2s; }
.f10 { top: 11.2%; left: 21.8%; animation-delay: 0.9s; }

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

@media (max-width: 860px) {
  .floaty { width: 46px; height: 46px; }
  .floaty .ico { width: 22px; height: 22px; }
}

@media (max-width: 560px) {
  /* mantem Sankhya, Oracle, Java, Python, SQL e Linux, redistribuidos a 60deg */
  .f4, .f5, .f9, .f10 { display: none; }
  .f1  { top: 2.0%; left: 50.0%; }
  .f2  { top: 26.0%; left: 91.6%; }
  .f3  { top: 74.0%; left: 91.6%; }
  .f6  { top: 98.0%; left: 50.0%; }
  .f7  { top: 74.0%; left: 8.4%; }
  .f8  { top: 26.0%; left: 8.4%; }
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-faint);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--text-faint), transparent);
  animation: scrolldown 1.8s ease-in-out infinite;
}
@keyframes scrolldown { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-text p { color: var(--text-dim); margin-bottom: 16px; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.stat-card:hover { border-color: var(--blue); transform: translateY(-3px); }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--cyan);
}
.stat-label { color: var(--text-faint); font-size: 0.82rem; margin-top: 4px; }

/* ---------- timeline (experience) ---------- */
.timeline {
  position: relative;
  border-left: 2px solid var(--border);
  margin-left: 10px;
  padding-left: 34px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.timeline-item { position: relative; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--blue);
  box-shadow: 0 0 0 5px var(--bg), 0 0 14px rgba(79, 209, 232, 0.5);
}

.timeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.timeline-role { font-size: 1.15rem; font-weight: 700; }
.timeline-period {
  font-family: var(--font-pixel);
  font-size: 0.58rem;
  color: var(--cyan);
  background: rgba(79, 209, 232, 0.1);
  border: 1px solid rgba(79, 209, 232, 0.3);
  padding: 5px 10px;
  border-radius: 999px;
}
.timeline-company { color: var(--text-dim); font-weight: 600; margin-bottom: 14px; }

.timeline-list { display: flex; flex-direction: column; gap: 10px; }
.timeline-list li {
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
}
.timeline-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--cyan);
}
.timeline-list li strong { color: var(--text); }

/* ---------- projects ---------- */
.project-group { margin-bottom: 44px; }
.project-group:last-child { margin-bottom: 0; }
.project-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.project-group-title .dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dot-case { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.dot-private { background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.dot-public { background: var(--green); box-shadow: 0 0 8px var(--green); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.project-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.project-badge {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge-public { background: rgba(52, 211, 153, 0.14); color: var(--green); border: 1px solid rgba(52, 211, 153, 0.35); }
.badge-private { background: rgba(47, 125, 192, 0.14); color: var(--blue); border: 1px solid rgba(47, 125, 192, 0.4); }
.badge-case { background: rgba(79, 209, 232, 0.14); color: var(--cyan); border: 1px solid rgba(79, 209, 232, 0.4); }

.project-star { display: flex; align-items: center; gap: 4px; color: var(--cyan); font-size: 0.8rem; font-weight: 700; }
.project-star svg { width: 14px; height: 14px; }

.project-name { font-size: 1.08rem; font-weight: 700; }
.project-desc { color: var(--text-dim); font-size: 0.9rem; flex: 1; }

.project-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.72rem;
  color: var(--cyan);
  background: rgba(79, 209, 232, 0.08);
  border: 1px solid rgba(79, 209, 232, 0.25);
  padding: 3px 9px;
  border-radius: 999px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-top: auto;
}
.project-link svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.project-card:hover .project-link svg { transform: translate(2px, -2px); }
.project-link.disabled { color: var(--text-faint); cursor: default; }

/* ---------- skills ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.skill-card h3 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.skill-card h3 .ico { width: 20px; height: 20px; color: var(--cyan); }
.chip-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.chip {
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 9px;
}
.chip .ico { width: 14px; height: 14px; color: var(--text-dim); flex-shrink: 0; }
.chip:hover { color: var(--text); border-color: var(--blue); transform: translateX(3px); }
.chip:hover .ico { color: var(--cyan); }

/* ---------- education / certs ---------- */
.education-groups {
  display: grid;
  gap: 36px;
}

.education-panel {
  min-width: 0;
}

.education-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--text);
  font-size: 1rem;
}

.education-group-title::before {
  content: "";
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(79, 209, 232, 0.7);
}

.education-group-title span {
  margin-left: auto;
  color: var(--text-faint);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
}

.edu-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.edu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 14px 8px;
  min-width: 0;
  background: var(--bg-alt);
  border: 1px solid rgba(47, 125, 192, 0.75);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.edu-item:hover { transform: translateY(-3px) rotate(-0.4deg); border-color: var(--cyan); }
.edu-item .edu-icon { grid-column: 1; font-size: 1.35rem; }
.edu-item .edu-body {
  grid-column: 1 / -1;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.edu-item .edu-title { font-weight: 700; font-size: 0.95rem; line-height: 1.45; }
.edu-item .edu-meta {
  margin-top: auto;
  padding-top: 12px;
  color: var(--text-faint);
  font-size: 0.82rem;
}
.edu-tag {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-family: var(--font-pixel);
  font-size: 0.42rem;
  color: var(--cyan);
  background: rgba(79, 209, 232, 0.1);
  border: 1px solid rgba(79, 209, 232, 0.3);
  padding: 4px 6px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cert-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cert-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-width: 0;
  font-size: 0.88rem;
  color: var(--text-dim);
  padding: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.cert-item { text-decoration: none; }
.cert-item:hover { transform: translateY(-2px); border-color: var(--cyan); }
.cert-item svg { width: 17px; height: 17px; margin-top: 3px; color: var(--cyan); flex-shrink: 0; }
.cert-item strong { color: var(--text); }
.cert-body {
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto;
  gap: 12px 10px;
}
.cert-body strong {
  grid-column: 1 / -1;
  line-height: 1.45;
}
.cert-body span,
.cert-body time {
  color: var(--text-faint);
  font-size: 0.8rem;
}
.cert-body time {
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* certificacao oficial em destaque (com badge verificavel) */
.cert-item--featured {
  text-decoration: none;
  border-color: rgba(248, 0, 0, 0.5);
  background:
    linear-gradient(115deg, rgba(248, 0, 0, 0.09), rgba(248, 0, 0, 0) 55%),
    var(--bg-alt);
}
.cert-item--featured:hover { border-color: #f80000; transform: translateY(-2px); }
.cert-item--featured .cert-badge {
  width: 42px;
  height: auto;
  margin-top: -3px;
  flex-shrink: 0;
}
.cert-body .cert-verify {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 600;
}
.cert-body .cert-verify svg {
  width: 15px;
  height: 15px;
  margin-top: 0;
  flex-shrink: 0;
}

.cert-body .cert-verify--li {
  color: var(--text-faint);
  font-weight: 500;
  font-size: 0.74rem;
  transition: color 0.2s ease;
}
.cert-item:hover .cert-verify--li { color: var(--cyan); }
.cert-body .cert-verify--li svg { width: 13px; height: 13px; }

/* credencial com link direto do emissor: destaque maior que o fallback do LinkedIn */
.cert-body .cert-verify--direct {
  color: var(--cyan);
  font-size: 0.76rem;
}
.cert-body .cert-verify--direct svg { width: 14px; height: 14px; }

/* certificado fisico, sem credencial digital: nao e clicavel */
.cert-item--offline { cursor: default; }
.cert-item--offline:hover { transform: none; border-color: var(--border); }

/* cor por emissora: mesma moldura do card da Oracle, em intensidade menor
   para a certificacao oficial continuar sendo a mais forte da grade */
.cert-item--fiap,
.cert-item--alura,
.cert-item--udemy {
  border-color: rgba(var(--marca), 0.3);
  background:
    linear-gradient(115deg, rgba(var(--marca), 0.05), rgba(var(--marca), 0) 55%),
    var(--bg-alt);
}
.cert-item--fiap:hover,
.cert-item--alura:hover,
.cert-item--udemy:hover { border-color: rgba(var(--marca), 0.75); }

.cert-item--fiap  { --marca: 237, 20, 91; }
.cert-item--alura { --marca: 42, 110, 245; }
.cert-item--udemy { --marca: 164, 53, 240; }

.cert-item--fiap  > svg { color: #ED145B; }
.cert-item--alura > svg { color: #2A6EF5; }
.cert-item--udemy > svg { color: #A435F0; }
.cert-item--offline > svg { color: var(--text-faint); }

/* marcas das emissoras: alinhadas pela altura, nao pela largura,
   porque a da FIAP e um logotipo horizontal e as outras sao simbolos */
.cert-item .cert-logo {
  width: auto;
  height: 17px;
  margin-top: 1px;
  flex-shrink: 0;
}
.cert-item .cert-logo--fiap { height: 11px; margin-top: 4px; }


/* ---------- contact ---------- */
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-panel::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: var(--blue-deep);
  opacity: 0.4;
  filter: blur(70px);
  z-index: 0;
}
.contact-panel > * { position: relative; z-index: 1; }
.contact-panel h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
.contact-panel p { color: var(--text-dim); max-width: 50ch; margin: 0 auto 32px; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--border);
  margin-top: 20px;
  padding: 44px 0 40px;
  color: var(--text-faint);
  font-size: 0.82rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
}
.footer-role { margin-top: 4px; color: var(--text-dim); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.footer-links a {
  color: var(--text-dim);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--cyan); }

.footer-social { display: inline-flex; gap: 10px; }
.footer-social .btn-icon { width: 40px; height: 40px; }
.footer-social .btn-icon svg { width: 17px; height: 17px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

@media (max-width: 860px) {
  .footer-top,
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-brand { width: 100%; }
  .footer-links { justify-content: center; }
}

/* ---------- easter egg toast ---------- */
.egg-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--surface);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-pixel);
  font-size: 0.62rem;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 30px rgba(79, 209, 232, 0.3);
  z-index: 999;
  transition: transform 0.4s cubic-bezier(.2,.9,.3,1.3);
  text-align: center;
}
.egg-toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .edu-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cert-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .edu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-visual { order: -1; width: 60%; margin-inline: auto; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  /* no mobile o conteudo do hero passa da tela; centralizar jogava o topo
     do anel para debaixo da nav */
  .hero { align-items: flex-start; padding-top: 96px; padding-bottom: 56px; }
  /* a seta ficava sobreposta ao texto assim que o hero estourava a altura */
  .scroll-cue { display: none; }
}

@media (max-width: 860px) {
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 20px 6%;
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .contact-panel { padding: 36px 22px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .education-group-title { align-items: flex-start; }
  .education-group-title span { text-align: right; }
  .edu-list, .cert-list { grid-template-columns: 1fr; }
}
