@charset "UTF-8";
/* ════════════════════════════════════════════════════════════
   portfolio.css — WilkyMatos
   Página de portfólio pessoal / currículo
   Depende de: style.css (variáveis, navbar simples, footer)
════════════════════════════════════════════════════════════ */


/* ════════════════════════════════════════════════════════════
   1. HERO
════════════════════════════════════════════════════════════ */
.pf-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px clamp(20px, 6vw, 80px) 64px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 70% 30%, rgba(139,0,0,0.35) 0%, transparent 65%),
    var(--black);
}

.pf-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.pf-hero__label {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--red-soft);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUp .6s .1s ease both;
}
.pf-hero__label::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--red-soft);
}

.pf-hero__name {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp .7s .2s ease both;
}
.pf-hero__name em {
  font-style: normal;
  color: var(--red-soft);
}

.pf-hero__title {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp .7s .32s ease both;
}
.pf-hero__title strong { color: var(--text); font-weight: 600; }

.pf-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  opacity: 0;
  animation: fadeUp .6s .44s ease both;
}
.pf-hero__chip {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-red);
  background: rgba(185,28,28,.07);
  color: var(--red-soft);
  white-space: nowrap;
}

.pf-hero__line {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(185,28,28,.5), transparent);
  animation: fadeUp .6s .6s ease both;
}

@media (max-width: 540px) {
  .pf-hero { padding: 100px 20px 48px; min-height: auto; }
  .pf-hero__name { font-size: clamp(2.4rem, 11vw, 3.2rem); }
}


/* ════════════════════════════════════════════════════════════
   2. LAYOUT PRINCIPAL
════════════════════════════════════════════════════════════ */
.pf-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px clamp(20px, 6vw, 80px) 80px;
}

.pf-block {
  margin-bottom: 72px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.pf-block.visible { opacity: 1; transform: translateY(0); }

.pf-block-label {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pf-block-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.pf-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}


/* ════════════════════════════════════════════════════════════
   3. BIO
════════════════════════════════════════════════════════════ */
.pf-bio__text p {
  font-size: 1rem;
  color: rgba(240,240,240,.78);
  line-height: 1.85;
  margin-bottom: 14px;
  max-width: 680px;
}
.pf-bio__text p:last-child { margin-bottom: 0; }
.pf-bio__text strong { color: var(--text); font-weight: 600; }

.pf-stats {
  display: flex;
  gap: 0;
  margin-top: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.pf-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 16px;
  border-right: 1px solid var(--border);
  transition: background .2s;
}
.pf-stat:last-child { border-right: none; }
.pf-stat:hover { background: rgba(185,28,28,.05); }
.pf-stat__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pf-stat__num span { color: var(--red-soft); }
.pf-stat__label {
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 480px) {
  .pf-stats { flex-wrap: wrap; }
  .pf-stat { flex: 1 1 50%; border-bottom: 1px solid var(--border); }
  .pf-stat:nth-child(even) { border-right: none; }
  .pf-stat:nth-last-child(-n+2) { border-bottom: none; }
}


/* ════════════════════════════════════════════════════════════
   4. HABILIDADES
════════════════════════════════════════════════════════════ */
.pf-skills-group { margin-bottom: 28px; }
.pf-skills-group:last-child { margin-bottom: 0; }

.pf-skills-group__title {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-soft);
  margin-bottom: 12px;
}

.pf-skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pf-skill {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .05em;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--surface);
  transition: color .25s, border-color .25s, background .25s;
  cursor: default;
}
.pf-skill:hover,
.pf-skill.active {
  color: var(--red-soft);
  border-color: var(--border-red);
  background: rgba(185,28,28,.07);
}


/* ════════════════════════════════════════════════════════════
   5. EXPERIÊNCIA E FORMAÇÃO — Timeline
════════════════════════════════════════════════════════════ */
.pf-timeline {
  position: relative;
  padding-left: 28px;
}
.pf-timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 10px; bottom: 10px;
  width: 1px;
  background: linear-gradient(to bottom, var(--red-soft), rgba(185,28,28,.1));
}

.pf-timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.pf-timeline-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.pf-timeline-item::before {
  content: '';
  position: absolute;
  left: -34px; top: 8px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--red-soft);
  border: 2px solid var(--black);
  box-shadow: 0 0 12px rgba(185,28,28,.6);
}

.pf-timeline-item__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.pf-timeline-item__role {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.pf-timeline-item__period {
  font-family: var(--font-mono);
  font-size: .65rem;
  color: var(--red-soft);
  letter-spacing: .08em;
  background: rgba(185,28,28,.08);
  border: 1px solid rgba(185,28,28,.2);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

.pf-timeline-item__company {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 500;
}

.pf-timeline-item__desc {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pf-timeline-item__desc li {
  font-size: .88rem;
  color: rgba(240,240,240,.7);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pf-timeline-item__desc li::before {
  content: '—';
  color: var(--red-soft);
  flex-shrink: 0;
  margin-top: 1px;
  font-family: var(--font-mono);
  font-size: .8rem;
}

.pf-timeline-item__tag {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.pf-timeline-item__tag.cursando {
  border-color: rgba(185,28,28,.3);
  color: var(--red-soft);
  background: rgba(185,28,28,.06);
}


/* ════════════════════════════════════════════════════════════
   6. PROJETOS
════════════════════════════════════════════════════════════ */
.pf-projects-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pf-project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  display: grid;
  grid-template-columns: 280px 1fr;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  position: relative;
}
.pf-project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), var(--red-soft));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.pf-project-card:hover::before { transform: scaleY(1); }
.pf-project-card:hover {
  border-color: var(--border-red);
  transform: translateX(4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 30px rgba(185,28,28,.08);
}

.pf-project-card__thumb {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--surface2);
  flex-shrink: 0;
}
.pf-project-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform .4s;
}
.pf-project-card:hover .pf-project-card__thumb img { transform: scale(1.06); }

.pf-project-card__body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.pf-project-card__tag {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red-soft);
}

.pf-project-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.pf-project-card__link {
  font-family: var(--font-mono);
  font-size: .65rem;
  color: var(--muted);
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .2s;
}
.pf-project-card:hover .pf-project-card__link { color: var(--red-soft); }

@media (max-width: 600px) {
  .pf-project-card {
    grid-template-columns: 1fr;
  }
  .pf-project-card__thumb { height: 160px; }
  .pf-project-card__body { padding: 18px 20px; }
  .pf-project-card:hover { transform: translateY(-3px); }
}


/* ════════════════════════════════════════════════════════════
   7. CTA FINAL
════════════════════════════════════════════════════════════ */
.pf-cta {
  text-align: center;
  padding: 56px 32px;
  background: var(--surface);
  border: 1px solid rgba(185,28,28,.22);
  border-radius: 20px;
  margin-top: 16px;
  position: relative;
  overflow: hidden;
}
.pf-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60%; height: 80%;
  background: radial-gradient(ellipse, rgba(185,28,28,.1) 0%, transparent 70%);
  pointer-events: none;
}

.pf-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  position: relative;
}

.pf-cta__sub {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 28px;
  position: relative;
}

.pf-cta__btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
}

.pf-cta__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-soft);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .9rem;
  padding: 13px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: 2px solid var(--red-soft);
  box-shadow: 0 0 28px rgba(185,28,28,.35);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.pf-cta__btn-primary:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(185,28,28,.55);
}

.pf-cta__btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  padding: 13px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid var(--border);
  background: transparent;
  transition: border-color .2s, background .2s, transform .15s;
}
.pf-cta__btn-secondary:hover {
  border-color: var(--border-red);
  background: rgba(185,28,28,.05);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .pf-cta { padding: 40px 20px; }
  .pf-cta__btns { flex-direction: column; align-items: center; }
  .pf-cta__btn-primary,
  .pf-cta__btn-secondary { width: 100%; justify-content: center; }
}