/* ===========================
   VARIÁVEIS & RESET
=========================== */
:root {
  --bg:       #080c14;
  --bg2:      #0e1420;
  --bg3:      #141c2e;
  --card:     rgba(255,255,255,0.04);
  --border:   rgba(255,255,255,0.08);
  --accent:   #00d4aa;
  --accent2:  #0ea5e9;
  --text:     #e2e8f0;
  --muted:    #7a8ba0;
  --white:    #ffffff;
  --radius:   16px;
  --radius-lg:28px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Mulish', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Canvas de partículas */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* ===========================
   UTILITÁRIOS
=========================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.destaque { color: var(--accent); }
.dot      { color: var(--accent); }

section { position: relative; z-index: 1; }

/* ===========================
   ANIMAÇÕES DE ENTRADA
=========================== */
.reveal-up, .reveal-fade {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-fade { transform: translateY(0); }
.reveal-up.visible, .reveal-fade.visible { opacity:1; transform:translateY(0); }

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.38s; }

/* ===========================
   HEADER
=========================== */
#header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--transition), backdrop-filter var(--transition);
}

#header.scrolled {
  background: rgba(8,12,20,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  font-family: 'Syne', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  flex-shrink: 0;
}

#header nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

#header nav a {
  font-family: 'Mulish', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

#header nav a:hover {
  color: var(--white);
  background: var(--card);
}

.btn-header {
  font-family: 'Mulish', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  padding: 9px 20px;
  border: 1.5px solid var(--accent);
  border-radius: 10px;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}

.btn-header:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ===========================
   BOTÕES
=========================== */
.btn-primary {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--bg);
  background: var(--accent);
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 12px;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,212,170,0.35);
}

.btn-outline {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
}

.hero-inner {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-tag {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.hero-nome {
  font-family: 'Syne', sans-serif;
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 800;
  line-height: 0.9;
  color: var(--white);
  letter-spacing: -3px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent2);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 17px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-desc strong { color: var(--text); }

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

/* Foto hero */
.hero-foto {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}

.foto-ring {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  padding: 5px;
  background: var(--bg2);
  box-shadow: 0 0 60px rgba(0,212,170,0.2), 0 0 120px rgba(0,212,170,0.08);
  overflow: hidden;
  flex-shrink: 0;
}

.foto-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.badge-familia {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  backdrop-filter: blur(10px);
}

/* Scroll hint */
.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 60px;
  opacity: 0.5;
}

.scroll-hint span {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===========================
   SEÇÃO — LABELS & TÍTULOS
=========================== */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  line-height: 1.1;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* ===========================
   SOBRE
=========================== */
.sobre {
  padding: 120px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.sobre-texto p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 18px;
  line-height: 1.8;
}

.sobre-texto p strong { color: var(--text); }

.sobre-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mini-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color var(--transition), transform var(--transition);
}

.mini-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.mini-icon {
  font-size: 26px;
  flex-shrink: 0;
  line-height: 1;
}

.mini-card strong {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 2px;
}

.mini-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* ===========================
   METAS
=========================== */
.metas {
  padding: 120px 0;
  background: var(--bg);
}

.metas-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.meta-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.meta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,170,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.meta-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,212,170,0.12);
}

.meta-card:hover::before { opacity: 1; }

.meta-num {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 2px;
}

.meta-icon { font-size: 28px; }

.meta-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.frase-destaque {
  font-family: 'Syne', sans-serif;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 800;
  color: var(--white);
  text-align: center;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  letter-spacing: -0.5px;
}

.frase-destaque span {
  color: var(--accent);
  font-size: 2em;
  line-height: 0;
  vertical-align: -0.3em;
}

/* ===========================
   HABILIDADES
=========================== */
.habilidades {
  padding: 120px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 60px;
  margin-bottom: 48px;
}

.skill-item { display: flex; flex-direction: column; gap: 8px; }

.skill-top {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.skill-pct { color: var(--accent); }

.skill-bar {
  height: 6px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 99px;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(0,212,170,0.08);
  border: 1px solid rgba(0,212,170,0.25);
  padding: 8px 16px;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition);
}

.tag:hover {
  background: rgba(0,212,170,0.16);
  transform: translateY(-2px);
}

/* ===========================
   DEVCLUB
=========================== */
.devclub {
  padding: 100px 0;
  background: var(--bg);
}

.devclub-inner {
  background: linear-gradient(135deg, rgba(0,212,170,0.08) 0%, rgba(14,165,233,0.06) 100%);
  border: 1px solid rgba(0,212,170,0.25);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.devclub-texto h3 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.devclub-texto p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 480px;
}

.devclub-badge {
  text-align: center;
  flex-shrink: 0;
}

.devclub-badge span {
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.devclub-badge span:first-child { color: var(--white); }
.devclub-badge .club { color: var(--accent); }

.devclub-badge p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 600;
}

/* ===========================
   CONTATO
=========================== */
.contato {
  padding: 120px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.contato-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
}

.contato-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  text-decoration: none;
  color: var(--text);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.contato-card:hover {
  border-color: var(--accent);
  transform: translateX(8px);
  box-shadow: 0 8px 32px rgba(0,212,170,0.12);
}

.contato-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0,212,170,0.12);
  border: 1px solid rgba(0,212,170,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.contato-card strong {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  display: block;
}

.contato-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.arrow {
  margin-left: auto;
  font-size: 20px;
  color: var(--accent);
  transition: transform var(--transition);
}

.contato-card:hover .arrow { transform: translate(4px, -4px); }

/* ===========================
   FOOTER
=========================== */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

footer p {
  font-size: 14px;
  color: var(--muted);
}

.footer-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(0,212,170,0.08);
  border: 1px solid rgba(0,212,170,0.2);
  padding: 6px 14px;
  border-radius: 50px;
}

/* ===========================
   RESPONSIVO — TABLET
=========================== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-desc { margin: 0 auto 36px; }
  .hero-ctas { justify-content: center; }
  .hero-foto { order: -1; }
  .foto-ring { width: 260px; height: 260px; }

  .sobre-grid { grid-template-columns: 1fr; }
  .metas-grid { grid-template-columns: repeat(2, 1fr); }
  .devclub-inner { grid-template-columns: 1fr; gap: 36px; }
  .devclub-badge { display: none; }
}

/* ===========================
   RESPONSIVO — MOBILE
=========================== */
@media (max-width: 600px) {
  #header nav { display: none; }
  .btn-header { font-size: 12px; padding: 8px 14px; }

  .hero { padding: 100px 20px 60px; }
  .hero-nome { letter-spacing: -2px; }
  .foto-ring { width: 220px; height: 220px; }

  .sobre, .metas, .habilidades, .devclub, .contato {
    padding: 80px 0;
  }

  .metas-grid { grid-template-columns: 1fr 1fr; }
  .skills-grid { grid-template-columns: 1fr; }

  .devclub-inner { padding: 36px 24px; }

  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .metas-grid { grid-template-columns: 1fr; }
}
