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

:root {
  --bg: #f8f5f2;
  --surface: #ebe7e0;
  --surface2: #ddd9d0;
  --border: #c4bbb0;
  --accent: #385144;
  --text: #2c2c2c;
  --muted: #7a7a7a;
  --font-display: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background: rgba(248, 245, 242, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

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

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--accent) !important;
  color: #f8f5f2 !important;
  padding: 0.45rem 1.2rem;
  border-radius: 100px;
  font-weight: 700 !important;
}

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(56, 81, 68, 0.1);
  top: 5%;
  right: -100px;
}

.glow-2 {
  width: 350px;
  height: 350px;
  background: rgba(56, 81, 68, 0.08);
  bottom: 5%;
  left: -80px;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 2rem;
  animation: fadeUp 0.5s ease both;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.75);
  }
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.5s 0.1s ease both;
}

h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.5s 0.2s ease both;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.5s 0.3s ease both;
}

.btn {
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s,
    opacity 0.2s;
  display: inline-block;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.88;
}

.btn-green {
  background: var(--accent);
  color: #f8f5f2;
}

.btn-border {
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
}

.btn-border:hover {
  border-color: #444;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.5s 0.4s ease both;
}

.stat-n {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
}

.stat-l {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

section {
  padding: 6rem 2.5rem;
}
.wrap {
  max-width: 900px;
  margin: 0 auto;
}

.sec-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h2 em {
  font-style: normal;
  color: var(--accent);
}

#sobre {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2.5rem;
}

.sobre-text p {
  color: var(--muted);
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
}

.sobre-text p strong {
  color: var(--text);
  font-weight: 500;
}

.info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.info-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
}

.ic-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.ic-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

.proj-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.proj-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition:
    transform 0.25s,
    border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.proj-card:hover {
  transform: translateY(-5px);
  border-color: #2e2e2e;
}

.proj-card.featured {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 2.5rem;
  background: linear-gradient(135deg, #e5e1d8, #ddd9d0);
  border-color: rgba(56, 81, 68, 0.2);
}

.feat-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feat-thumb {
  flex-shrink: 0;
  width: 220px;
  height: 140px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(56, 81, 68, 0.08),
    rgba(56, 81, 68, 0.05)
  );
  border: 1px solid rgba(56, 81, 68, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.proj-featured-badge {
  display: inline-block;
  background: rgba(56, 81, 68, 0.12);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
  width: fit-content;
}

.proj-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.proj-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.proj-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

.proj-tags {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.tag {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
}

.proj-btns {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.proj-btn {
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition:
    transform 0.2s,
    opacity 0.2s;
}

.proj-btn:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}
.proj-btn.green {
  background: var(--accent);
  color: #f8f5f2;
}
.proj-btn.outline {
  border: 1px solid var(--border);
  color: var(--muted);
}
.proj-btn.outline:hover {
  border-color: #444;
  color: var(--text);
}

#habilidades {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 2.5rem;
}

.skill-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.2s;
}

.skill-card:hover {
  border-color: #2e2e2e;
}

.skill-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
}

.skill-lvl {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
}

.dots {
  display: flex;
  gap: 4px;
}

.d-on,
.d-off {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.d-on {
  background: var(--accent);
}
.d-off {
  background: var(--border);
}

.contato-box {
  background: linear-gradient(135deg, #e5e1d8, #ddd9d0);
  border: 1px solid rgba(56, 81, 68, 0.15);
  border-radius: 24px;
  padding: 4rem;
  text-align: center;
  margin-top: 2.5rem;
  position: relative;
  overflow: hidden;
}

.contato-box::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(56, 81, 68, 0.08), transparent 70%);
  top: -80px;
  right: -40px;
  pointer-events: none;
}

.contato-box p {
  color: var(--muted);
  font-weight: 300;
  max-width: 400px;
  margin: 0.75rem auto 2rem;
  font-size: 0.95rem;
}

.contato-links {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

footer {
  padding: 1.75rem 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer p {
  font-size: 0.78rem;
  color: var(--muted);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge,
h1,
.hero-desc,
.hero-btns,
.hero-stats {
  animation-fill-mode: both;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 1rem 1.25rem;
  }
  .nav-links {
    display: none;
  }
  section {
    padding: 4rem 1.25rem;
  }
  #hero {
    padding: 7rem 1.25rem 3rem;
  }
  h1 {
    font-size: 3rem;
  }
  .hero-stats {
    gap: 2rem;
  }
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .proj-grid {
    grid-template-columns: 1fr;
  }
  .proj-card.featured {
    grid-column: span 1;
    flex-direction: column;
  }
  .feat-thumb {
    width: 100%;
    height: 90px;
  }
  .skills-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contato-box {
    padding: 2.5rem 1.5rem;
  }
  footer {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.cert-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition:
    transform 0.2s,
    border-color 0.2s;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: #2e2e2e;
}

.cert-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cert-badge {
  background: rgba(56, 81, 68, 0.12);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
}

.cert-horas {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.cert-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  flex: 1;
}

.cert-date {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.cert-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
  margin-top: 0.25rem;
}

.cert-link:hover {
  opacity: 0.7;
}

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

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

.cert-plataforma {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.foto-wrapper {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-bottom: 2rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, #ebe7e0, #e5e1d8);
  border: 1px solid rgba(56, 81, 68, 0.15);
  border-radius: 16px;
}

.foto-perfil {
  width: 110px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid rgba(56, 81, 68, 0.4);
  box-shadow: 0 0 30px rgba(56, 81, 68, 0.1);
  flex-shrink: 0;
}

.foto-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.foto-nome {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text);
}

.foto-cargo {
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .foto-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .foto-perfil {
    width: 100px;
    height: 100px;
  }
}
