/* ============================
   TEMA POKÉMON (AZUL + AMARELO)
================================ */

:root {
  --bg-main: #f5f7ff;
  --bg-card: #ffffff;
  --primary: #3d7dca;  /* azul Pokémon */
  --primary-dark: #003a70;
  --accent: #ffcb05;   /* amarelo Pokémon */
  --text-main: #0f172a;
  --text-soft: #64748b;
  --border-soft: #d4d4f5;
}

/* RESET BÁSICO */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #dbeafe 0, #f5f7ff 45%, #ffffff 100%);
  color: var(--text-main);
  line-height: 1.6;
}

/* NAVBAR */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 247, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 212, 245, 0.8);
  z-index: 10;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  background: #fff;
}

.navbar-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.navbar-links {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
}

.navbar-links a {
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}

.navbar-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 999px;
  transition: width 0.2s ease;
}

.navbar-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.navbar-links a:hover {
  color: var(--primary-dark);
}

.navbar-links a:hover::after {
  width: 100%;
}

/* HERO LAYOUT (2 COLUNAS) */

.hero {
  min-height: 100vh;
  padding: 140px 20px 72px;
  display: flex;
  justify-content: center;
  background: radial-gradient(circle at top, #dbeafe 0, #f5f7ff 35%, #ffffff 100%);
}

.hero-layout {
  max-width: 1040px;
  width: 100%;
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: center;
  column-gap: 48px;
}

.hero-left {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-right {
  text-align: left;
}

.avatar-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 6px solid var(--accent);
  background: radial-gradient(circle, #ffffff 0%, #e0f2fe 55%, #bfdbfe 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.avatar-circle:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 55px rgba(15, 23, 42, 0.28);
}

.avatar-circle img {
  width: 190px;      /* ajusta o tamanho dentro do círculo */
  height: 190px;
  image-rendering: pixelated;
}

.hero-title {
  font-size: 3rem;
  margin: 24px 0 8px;
}

.hero-highlight {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.hero-text {
  max-width: 520px;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* BOTÕES */

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
              color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 58, 112, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(0, 58, 112, 0.55);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary-dark);
  background: #ffffff;
}

.btn-outline:hover {
  background: rgba(61, 125, 202, 0.06);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.sobre-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.btn-curriculo {
  min-width: 260px;
  border-radius: 999px;
}

/* LINKS SOCIAIS */

.hero-social {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.hero-social a {
  font-size: 0.96rem;
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 500;
}

.hero-social a:hover {
  text-decoration: underline;
}

/* SEÇÕES GENÉRICAS */

.section {
  padding: 72px 20px;
}

.section-light {
  background: linear-gradient(180deg, #f9fafb 0%, #f5f7ff 60%, #ffffff 100%);
}

.section-container {
  max-width: 980px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.section-text {
  color: var(--text-soft);
  max-width: 720px;
}

/* CARDS DE PROJETOS */

.cards-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 20px 20px 18px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at top right, rgba(61, 125, 202, 0.16), transparent 60%);
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

/* fundos dos cards por tipo */
.card-fire {
  background: linear-gradient(145deg, #fff7f7 0%, #ffe4e6 40%, #ffffff 100%);
}

.card-water {
  background: linear-gradient(145deg, #eff6ff 0%, #bfdbfe 40%, #ffffff 100%);
}

.card-grass {
  background: linear-gradient(145deg, #f0fdf4 0%, #bbf7d0 35%, #ffffff 100%);
}
.card-title {
  font-size: 1.1rem;
}

.card-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0f172a;
  background: #e0f2fe;
}

/* tags com tipos estilo Pokémon */
.card-tag-fire {
  background: #fed7d7;
  color: #9b1c1c;
}

.card-tag-water {
  background: #bfdbfe;
  color: #1d4ed8;
}

.card-tag-grass {
  background: #bbf7d0;
  color: #166534;
}

.card-tag-psychic {
  background: #fbcfe8;
  color: #9d174d;
}

.card-text {
  font-size: 0.94rem;
  color: var(--text-soft);
}

.card-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-decoration: none;
  cursor: pointer;
}

.card-link:hover {
  text-decoration: underline;
}

/* CONQUISTAS / INSÍGNIAS */

.badge-list {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.badge-item {
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px dashed #e5e7eb;
  background: rgba(255, 203, 5, 0.06);
  font-size: 0.94rem;
  line-height: 1.5;
}

/* CONTATO */

.contact-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.contact-grid a {
  color: var(--primary-dark);
}

.contact-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* RODAPÉ */

.footer {
  padding: 18px 20px 26px;
  text-align: center;
  font-size: 0.85rem;
  color: #e5e7eb;
  background: #020617;
}

/* LINK ATIVO NO MENU */

.navbar-links a.active-link {
  color: var(--primary-dark);
}

.navbar-links a.active-link::after {
  width: 100%;
}

/* RESPONSIVO */

@media (max-width: 768px) {
  .navbar {
    padding: 12px 16px;
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .hero-right {
    text-align: center;
  }

  .navbar-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .about-highlights {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-item {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .contact-actions {
    flex-direction: column;
  }
}

/* HIGHLIGHTS SOBRE MIM */

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-item {
  background: #f5f7ff;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.about-label {
  font-weight: 600;
  color: #4a4f68;
}

.about-value {
  color: #1f2430;
}
