/* ======= PALETA VERDE + PRETO ======= */
:root {
  --bg: #050806; /* quase preto com tom esverdeado */
  --bg-2: #070d09;
  --panel: #0b140f;
  --panel-2: #0f1b14;
  --grid: #0d160f;

  --text: #e7f5ec; /* branco esverdeado */
  --muted: #a7cbb5;

  --green: #22c55e; /* verde principal */
  --green-2: #16a34a; /* verde escuro */
  --neon: #8bffb1; /* brilho suave */

  --border: #14331f;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.5);

  --radius: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  color: var(--text);
  background: radial-gradient(
      1200px 600px at 10% 0%,
      rgba(34, 197, 94, 0.08),
      transparent 60%
    ),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  max-width: 1100px;
  margin-inline: auto;
  padding: 0 20px;
}
.section {
  padding: 120px 0 90px;
  scroll-margin-top: 88px;
}
.section.alt {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%),
    repeating-linear-gradient(
      90deg,
      transparent 0 28px,
      rgba(139, 255, 177, 0.03) 28px 29px
    );
}

/* ======= NAVBAR ======= */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 72px;
  z-index: 999;
  background: rgba(7, 13, 9, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139, 255, 177, 0.12);
}
.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
  color: var(--neon);
  text-shadow: 0 0 12px rgba(139, 255, 177, 0.35);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-link {
  padding: 10px 10px;
  border-radius: 12px;
  color: var(--muted);
  transition: 0.2s ease;
}
.nav-link.active,
.nav-link:hover {
  color: var(--text);
  background: rgba(34, 197, 94, 0.12);
  outline: 1px solid rgba(139, 255, 177, 0.22);
}
.btn-ghost {
  border: 1px solid rgba(139, 255, 177, 0.25);
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.15s ease;
}
.btn-ghost:hover {
  background: rgba(34, 197, 94, 0.14);
}

.hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #caffdf;
  margin: 5px 0;
  border-radius: 2px;
}

/* ======= HERO ======= */
.hero {
  padding-top: 140px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}
.display {
  font-size: clamp(1.8rem, 4.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.2px;
}
.lead {
  margin-top: 12px;
  color: var(--muted);
  max-width: 60ch;
}

.hero-cta {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 800;
  display: inline-block;
  border: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-sm {
  padding: 10px 14px;
  font-weight: 700;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%);
  color: #071109;
  box-shadow: 0 10px 22px rgba(34, 197, 94, 0.25);
}
.btn-primary:hover {
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--neon);
  outline: 1px solid rgba(139, 255, 177, 0.35);
}
.btn-outline:hover {
  background: rgba(34, 197, 94, 0.12);
}

.hero-media {
  display: flex;
  justify-content: center;
}
.photo-frame {
  position: relative;
}
.photo-square {
  width: min(100%, 420px);
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  filter: saturate(1.05);
}
.photo-glow {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 26px;
  z-index: -1;
  background: radial-gradient(
      60% 60% at 30% 20%,
      rgba(139, 255, 177, 0.25),
      transparent 60%
    ),
    radial-gradient(
      60% 60% at 80% 80%,
      rgba(34, 197, 94, 0.22),
      transparent 70%
    );
  filter: blur(14px);
}

/* ======= FE (Estrutura nova) ======= */
.section-title {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 800;
}
.section-title.center {
  text-align: center;
}
.section-subtitle {
  margin-top: 8px;
  color: var(--muted);
}
.section-subtitle.center {
  text-align: center;
  max-width: 760px;
  margin: 8px auto 0;
}

.fe-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .fe-grid {
    grid-template-columns: 1fr;
  }
  .fe-sep {
    display: none;
  }
}

.fe-card {
  background: linear-gradient(180deg, #0d1a12 0%, #0c1711 100%);
  border: 1px solid rgba(139, 255, 177, 0.18);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.fe-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.fe-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(139, 255, 177, 0.28);
  border-radius: 10px;
}
.fe-list {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}
.fe-list li {
  background: rgba(139, 255, 177, 0.06);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(139, 255, 177, 0.18);
}

.fe-sep {
  display: grid;
  place-items: center;
  padding: 8px;
}
.fe-glyph {
  font-size: 30px;
  line-height: 1;
  padding: 14px;
  border-radius: 50%;
  border: 1px solid rgba(139, 255, 177, 0.28);
  background: radial-gradient(
    circle at 30% 30%,
    rgba(139, 255, 177, 0.12),
    rgba(139, 255, 177, 0.04)
  );
  box-shadow: var(--shadow);
}

/* ======= CARROSSEL ======= */
.carousel {
  position: relative;
  margin-top: 26px;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(139, 255, 177, 0.18);
  box-shadow: var(--shadow);
  background: #08120c;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.slide {
  min-width: 100%;
  position: relative;
}
.slide img {
  width: 100%;
  height: 52vw;
  max-height: 520px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}
.slide-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.8) 100%
  );
  padding: 22px;
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.carousel-btn {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(139, 255, 177, 0.35);
  background: rgba(7, 13, 9, 0.7);
  color: #d3ffe7;
  font-size: 26px;
  line-height: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.2s ease;
}
.carousel-btn:hover {
  background: rgba(7, 13, 9, 0.9);
}
.carousel-btn.prev {
  left: 10px;
}
.carousel-btn.next {
  right: 10px;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 12px 6px 0;
}
.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(139, 255, 177, 0.35);
  background: transparent;
  cursor: pointer;
}
.carousel-dots button.active {
  background: var(--green);
  border-color: var(--green);
}

/* ======= FERRAMENTAS (tijolos verticais com tilt) ======= */
.tools-grid {
  margin-top: 22px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.tool-tile {
  background: linear-gradient(180deg, #0a160f 0%, #0a140e 100%);
  border: 1px solid rgba(139, 255, 177, 0.18);
  border-radius: 20px;
  padding: 18px 14px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
  will-change: transform;
  perspective: 600px;
}
.tool-tile:hover {
  transform: translateY(-5px) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(139, 255, 177, 0.18) inset;
  border-color: rgba(139, 255, 177, 0.38);
}
.tool-tile i {
  font-size: 44px;
  filter: drop-shadow(0 0 6px rgba(139, 255, 177, 0.25));
}
.tool-meta {
  text-align: center;
}
.tool-name {
  font-weight: 700;
}
.tool-years {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ======= FOOTER ======= */
.footer {
  padding: 70px 0 22px;
  background: #071109;
  border-top: 1px solid rgba(139, 255, 177, 0.16);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-cta {
  margin-top: 14px;
}
.contact-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.contact-list a {
  color: #caffdf;
}
.icon {
  width: 20px;
  height: 20px;
  fill: #caffdf;
  margin-right: 8px;
}
.contact-list li {
  display: flex;
  align-items: center;
}
.footer-bottom {
  margin-top: 24px;
  text-align: center;
  color: #a6d8bd;
  font-size: 0.95rem;
}

/* ======= Navbar responsiva ======= */
@media (max-width: 980px) {
  .nav-links {
    position: absolute;
    top: 72px;
    right: 0;
    background: #071109;
    width: 100%;
    border-bottom: 1px solid rgba(139, 255, 177, 0.16);
    display: none;
    flex-direction: column;
    padding: 12px 16px;
    gap: 8px;
  }
  .nav-links.open {
    display: flex;
  }
  .hamburger {
    display: block;
  }
}

/* ====== Abas (Formação | Experiência) ====== */
.tabs-fe {
  margin: 18px auto 6px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.tab-fe {
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(139, 255, 177, 0.25);
  transition: 0.15s ease;
}
.tab-fe:hover {
  background: rgba(34, 197, 94, 0.1);
}
.tab-fe.is-active {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%);
  color: #071109;
  border-color: transparent;
  font-weight: 800;
}
.tab-fe:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

.panel-fe {
  display: none;
  margin-top: 20px;
}
.panel-fe.is-active {
  display: block;
}

/* ====== Timeline vertical ====== */
.timeline {
  position: relative;
  list-style: none;
  margin: 20px 0 0;
  padding-left: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: calc(50% - 1px);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(139, 255, 177, 0.15),
    rgba(139, 255, 177, 0.05)
  );
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin: 26px 0;
}
.tl-item:nth-child(odd) .tl-card {
  grid-column: 1;
}
.tl-item:nth-child(odd) .tl-marker {
  left: calc(50% - 7px);
}
.tl-item:nth-child(even) .tl-card {
  grid-column: 2;
}
.tl-item:nth-child(even) .tl-marker {
  left: calc(50% - 7px);
}

@media (max-width: 900px) {
  .timeline::before {
    left: 12px;
  }
  .tl-item {
    grid-template-columns: 1fr;
    padding-left: 26px;
  }
  .tl-item .tl-card {
    grid-column: 1;
  }
  .tl-item .tl-marker {
    left: 6px;
  }
}

.tl-marker {
  position: absolute;
  top: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18),
    0 0 18px rgba(139, 255, 177, 0.45);
  border: 1px solid rgba(139, 255, 177, 0.65);
}

.tl-card {
  background: linear-gradient(180deg, #0d1a12 0%, #0c1711 100%);
  border: 1px solid rgba(139, 255, 177, 0.18);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.tl-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.muted {
  color: var(--muted);
}

.badge {
  display: inline-block;
  font-size: 0.85rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(139, 255, 177, 0.28);
  color: #caffdf;
  transform: translateY(-1px);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.chips li {
  list-style: none;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(139, 255, 177, 0.08);
  border: 1px dashed rgba(139, 255, 177, 0.22);
  color: #d6ffe9;
}

/* Barras de progresso decorativas (opcional) */
.bars {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}
.bar {
  position: relative;
  background: #08120c;
  border: 1px solid rgba(139, 255, 177, 0.15);
  border-radius: 999px;
  overflow: hidden;
  height: 10px;
}
.bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, var(--green-2), var(--green));
  box-shadow: 0 0 22px rgba(34, 197, 94, 0.35) inset;
  transition: width 0.9s ease;
}
.bar label {
  position: absolute;
  right: 10px;
  top: -24px;
  font-size: 0.85rem;
  color: #a6d8bd;
}
@media (prefers-reduced-motion: reduce) {
  .bar span {
    transition: none;
  }
}
