/* ============================================================
   PORTFOLIO.CSS — Robis Brito Professional Portfolio
   ============================================================ */

/* ── Custom Properties ── */
:root {
  --pf-bg:         #070711;
  --pf-bg2:        #0c0c1a;
  --pf-bg3:        #10101e;
  --pf-card:       #13132a;
  --pf-card2:      #161628;
  --pf-border:     rgba(255, 255, 255, 0.07);
  --pf-border-br:  rgba(255, 255, 255, 0.13);
  --pf-text:       #dde1ed;
  --pf-muted:      rgba(221, 225, 237, 0.52);
  --pf-accent:     #3b82f6;
  --pf-accent2:    #8b5cf6;
  --pf-orange:     #f97316;
  --pf-green:      #10b981;
  --pf-red:        #ef4444;
  --pf-grad:       linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --pf-grad-warm:  linear-gradient(135deg, #f97316 0%, #ef4444 100%);
}

/* ── Base override ── */
body.portfolio-page {
  background-color: var(--pf-bg);
  color: var(--pf-text);
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  scroll-behavior: smooth;
}

/* ── Section reset ── */
.pf-section {
  padding: 6rem 0;
  position: relative;
}
.pf-section--dark    { background-color: var(--pf-bg); }
.pf-section--darker  { background-color: var(--pf-bg2); }
.pf-section--accent  {
  background: linear-gradient(160deg, #090920 0%, #0f0a1e 60%, #0c0c1a 100%);
  overflow: hidden;
}

/* ── Section typography ── */
.pf-section-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pf-accent);
  padding: 0.3rem 0.85rem;
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 50px;
  background: rgba(59, 130, 246, 0.07);
  margin-bottom: 0.85rem;
}
.pf-section-label--light {
  color: rgba(255,255,255,0.55);
  border-color: rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.04);
}

.pf-section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.pf-section-title--light { color: #fff; }

.pf-section-subtitle {
  font-size: 1.05rem;
  color: var(--pf-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}
.pf-section-subtitle--light { color: rgba(255,255,255,0.6); }

.pf-gradient-text {
  background: var(--pf-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pf-gradient-text-warm {
  background: var(--pf-grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pf-highlight { color: var(--pf-accent); font-weight: 600; }
.pf-divider {
  width: 56px; height: 3px;
  background: var(--pf-grad);
  border-radius: 2px;
  margin-top: 1.5rem;
}

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.pf-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 6rem 0 5rem;
}

.pf-hero-bg { position: absolute; inset: 0; z-index: 0; }

.pf-hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(59,130,246,0.14) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.55;
}

.pf-hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 70%);
  top: -150px; right: -100px;
  filter: blur(80px);
}
.glow-2 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(139,92,246,0.13) 0%, transparent 70%);
  bottom: -100px; left: 50px;
  filter: blur(80px);
}

.pf-hero-inner { position: relative; z-index: 1; }

/* Status badge */
.pf-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.5rem;
}

/* Name */
.pf-hero-name {
  font-size: clamp(3rem, 9vw, 5.75rem);
  font-weight: 900;
  color: #fff;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

/* Role */
.pf-hero-role {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.42);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* Tagline */
.pf-hero-tagline {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 460px;
  font-style: italic;
  border-left: 3px solid var(--pf-accent);
  padding-left: 1rem;
  margin-bottom: 0;
}

/* Buttons */
.pf-btn-primary {
  background: var(--pf-grad);
  color: #fff !important;
  border: none;
  padding: 0.78rem 1.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.pf-btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(59,130,246,0.4);
}

.pf-btn-secondary {
  background: transparent;
  color: rgba(255,255,255,0.82) !important;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.78rem 1.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.pf-btn-secondary:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}

/* Photo */
.pf-photo-container {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
}

.pf-photo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: pf-ring-spin linear infinite;
}
.pf-photo-ring.ring-1 {
  inset: 0;
  border-color: rgba(59,130,246,0.3);
  animation-duration: 9s;
}
.pf-photo-ring.ring-2 {
  inset: -22px;
  border-color: rgba(139,92,246,0.18);
  border-style: dashed;
  animation-duration: 16s;
  animation-direction: reverse;
}
.pf-photo-ring.ring-3 {
  inset: -44px;
  border-color: rgba(59,130,246,0.08);
  animation-duration: 24s;
}
@keyframes pf-ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.pf-photo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--pf-card);
  border: 3px solid rgba(59,130,246,0.28);
  z-index: 2;
}
.pf-photo img { width: 100%; height: 100%; object-fit: cover; }
.pf-photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(140deg, #14142a, #1c1030);
}
.pf-photo-placeholder i {
  font-size: 7rem;
  color: rgba(255,255,255,0.08);
}
.pf-photo-placeholder small {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  font-weight: 500;
}

/* Floating badges */
.pf-float-badge {
  position: absolute;
  z-index: 3;
  background: rgba(15,15,30,0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
  animation: pf-float 4s ease-in-out infinite;
}
.pf-float-badge.fb-1 { top: 8%;  right: -18px; animation-delay: 0s; }
.pf-float-badge.fb-2 { top: 50%; right: -28px; animation-delay: 1.4s; }
.pf-float-badge.fb-3 { bottom: 8%; left: -16px; animation-delay: 0.7s; }
@keyframes pf-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* Scroll indicator */
.pf-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
  transition: color 0.2s;
}
.pf-scroll-hint:hover { color: rgba(255,255,255,0.5); }
.pf-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: pf-scroll-pulse 2.2s ease-in-out infinite;
}
@keyframes pf-scroll-pulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 0.9; }
}

/* ═══════════════════════════════════════════════════
   SOBRE MIM
   ═══════════════════════════════════════════════════ */
.pf-card {
  background: var(--pf-card);
  border: 1px solid var(--pf-border);
  border-radius: 16px;
  padding: 2.25rem;
}

.pf-text {
  color: var(--pf-muted);
  font-size: 1.02rem;
  line-height: 1.82;
  margin-bottom: 1rem;
}
.pf-text:last-child { margin-bottom: 0; }
.pf-text strong { color: var(--pf-text); }

.pf-quote-inline {
  border-left: 3px solid var(--pf-accent);
  padding: 0.8rem 1.25rem;
  margin: 1.5rem 0 0;
  background: rgba(59,130,246,0.06);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: rgba(255,255,255,0.72);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════
   O VALOR DO ESFORÇO
   ═══════════════════════════════════════════════════ */
.pf-accent-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(139,92,246,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.pf-value-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.065);
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.pf-value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.045);
}

.pf-vi {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  background: rgba(59,130,246,0.1);
  color: var(--vi-c, var(--pf-accent));
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1rem;
}
.pf-value-card h5 {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.pf-value-card p {
  color: var(--pf-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

/* ═══════════════════════════════════════════════════
   TIMELINE
   ═══════════════════════════════════════════════════ */
.pf-timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding-bottom: 1rem;
}

/* Center vertical line */
.pf-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom,
    rgba(59,130,246,0.5) 0%,
    rgba(139,92,246,0.5) 55%,
    rgba(249,115,22,0.5) 100%
  );
  transform: translateX(-50%);
}

.pf-tl-item {
  position: relative;
  display: flex;
  margin-bottom: 3rem;
  align-items: flex-start;
}

/* LEFT: content on left half, dot at center */
.pf-tl-item.pf-tl-left {
  flex-direction: row;
  justify-content: flex-end;
  padding-right: calc(50% + 28px);
}
/* RIGHT: dot at center, content on right half */
.pf-tl-item.pf-tl-right {
  flex-direction: row;
  justify-content: flex-start;
  padding-left: calc(50% + 28px);
}

/* Content card */
.pf-tl-content {
  background: var(--pf-card);
  border: 1px solid var(--pf-border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  max-width: 380px;
  width: 100%;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.pf-tl-content:hover {
  border-color: rgba(59,130,246,0.28);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.pf-tl-content--hl {
  border-color: rgba(139,92,246,0.28);
  background: linear-gradient(140deg, #14142e, #1c1040);
}
.pf-tl-content--current {
  border-color: rgba(59,130,246,0.45);
  background: linear-gradient(140deg, #111828, #14142a);
  box-shadow: 0 0 0 1px rgba(59,130,246,0.15), 0 8px 32px rgba(59,130,246,0.1);
}

.pf-tl-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pf-accent);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 4px;
  padding: 0.18rem 0.55rem;
  margin-bottom: 0.5rem;
}
.pf-tl-badge--ai {
  color: var(--pf-accent2);
  background: rgba(139,92,246,0.1);
  border-color: rgba(139,92,246,0.22);
}
.pf-tl-badge--now {
  color: #fff;
  background: var(--pf-grad);
  border: none;
  padding: 0.22rem 0.7rem;
}
.pf-tl-content h4 {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.pf-tl-content p {
  color: var(--pf-muted);
  font-size: 0.87rem;
  line-height: 1.67;
  margin: 0;
}
.pf-tl-content p strong { color: rgba(255,255,255,0.75); }

/* Dot on center line */
.pf-tl-dot {
  position: absolute;
  left: 50%;
  top: 14px;
  width: 34px; height: 34px;
  background: var(--pf-card2);
  border: 2px solid rgba(59,130,246,0.45);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.85rem;
  color: var(--pf-accent);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.pf-tl-item:hover .pf-tl-dot {
  border-color: var(--pf-accent);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
}
.pf-tl-dot--now {
  background: var(--pf-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 0 5px rgba(59,130,246,0.18), 0 0 22px rgba(59,130,246,0.35);
}

.pf-tech-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
  background: rgba(139,92,246,0.13);
  color: rgba(167,139,250,0.9);
  border: 1px solid rgba(139,92,246,0.22);
}

/* ═══════════════════════════════════════════════════
   FILOSOFIA PROFISSIONAL
   ═══════════════════════════════════════════════════ */
.pf-section--philosophy {
  background: linear-gradient(135deg, #080814 0%, #130c22 50%, #080814 100%);
  padding: 7rem 0;
}

.pf-quote-icon {
  font-size: 4rem;
  line-height: 1;
  display: block;
  margin-bottom: -0.75rem;
  color: rgba(59,130,246,0.25);
}
.pf-quote-icon--xl {
  font-size: 6rem;
  color: rgba(255,255,255,0.06);
  margin-bottom: -1.5rem;
}

.pf-philosophy-quote {
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  font-style: italic;
  max-width: 700px;
  margin: 1rem auto 2rem;
}
.pf-philosophy-text {
  color: var(--pf-muted);
  font-size: 1.05rem;
  line-height: 1.82;
  max-width: 680px;
  margin: 0 auto 1rem;
}

/* ═══════════════════════════════════════════════════
   EVOLUÇÃO TECNOLÓGICA
   ═══════════════════════════════════════════════════ */
.pf-tech-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
}

.pf-tf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
}
.pf-tf-icon {
  width: 60px; height: 60px;
  border-radius: 15px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.45);
  transition: all 0.3s ease;
}
.pf-tf-step:hover .pf-tf-icon {
  background: rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.28);
  color: var(--pf-accent);
  transform: translateY(-4px);
}
.pf-tf-step span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--pf-muted);
  max-width: 78px;
  line-height: 1.3;
}
.pf-tf-step--hl .pf-tf-icon {
  background: rgba(139,92,246,0.12);
  border-color: rgba(139,92,246,0.3);
  color: var(--pf-accent2);
}
.pf-tf-step--hl span { color: var(--pf-accent2); }
.pf-tf-step--now .pf-tf-icon {
  background: var(--pf-grad);
  border: none;
  color: #fff;
  box-shadow: 0 4px 20px rgba(59,130,246,0.35);
}
.pf-tf-step--now span { color: var(--pf-accent); font-weight: 700; }

.pf-tf-arr {
  color: rgba(255,255,255,0.18);
  font-size: 1rem;
  padding: 0 0.15rem;
  margin-top: -20px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   TECNOLOGIAS & ESPECIALIDADES
   ═══════════════════════════════════════════════════ */
.pf-tech-card {
  background: var(--pf-card);
  border: 1px solid var(--pf-border);
  border-radius: 18px;
  padding: 1.85rem;
  height: 100%;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.pf-tech-card:hover {
  border-color: rgba(59,130,246,0.22);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.pf-tech-card--ai {
  border-color: rgba(139,92,246,0.18);
  background: linear-gradient(140deg, #14142e, #1c1040);
}
.pf-tech-card--ai:hover { border-color: rgba(139,92,246,0.38); }

.pf-tc-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}
.pf-tc-header h5 {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
}
.pf-tc-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(59,130,246,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  color: var(--tc, var(--pf-accent));
  flex-shrink: 0;
}

.pf-tag {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0.28rem 0.7rem;
  border-radius: 6px;
  line-height: 1;
}
.pf-tag--b { background: rgba(59,130,246,0.1);  color: #60a5fa; border: 1px solid rgba(59,130,246,0.18); }
.pf-tag--g { background: rgba(16,185,129,0.1);  color: #34d399; border: 1px solid rgba(16,185,129,0.18); }
.pf-tag--p { background: rgba(139,92,246,0.1);  color: #a78bfa; border: 1px solid rgba(139,92,246,0.18); }
.pf-tag--o { background: rgba(249,115,22,0.1);  color: #fb923c; border: 1px solid rgba(249,115,22,0.18); }

/* ═══════════════════════════════════════════════════
   PRINCIPAIS PRODUTOS
   ═══════════════════════════════════════════════════ */
.pf-product-card {
  background: var(--pf-card);
  border: 1px solid var(--pf-border);
  border-radius: 18px;
  padding: 2rem 1.6rem 1.6rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.pf-product-card:hover {
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.pf-product-card--feat {
  border-color: rgba(239,68,68,0.25);
  background: linear-gradient(160deg, #1c0e0e, #14142a);
}
.pf-product-card--feat:hover {
  border-color: rgba(239,68,68,0.45);
  box-shadow: 0 20px 50px rgba(239,68,68,0.12);
}

.pf-prod-star {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  background: rgba(239,68,68,0.13);
  color: #fca5a5;
  border: 1px solid rgba(239,68,68,0.28);
  border-radius: 50px;
}

.pf-prod-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--pi, var(--pf-accent));
  margin-bottom: 1.25rem;
}
.pf-product-card h4 {
  color: #fff;
  font-weight: 800;
  font-size: 1.12rem;
  margin-bottom: 0.65rem;
}
.pf-product-card p {
  color: var(--pf-muted);
  font-size: 0.88rem;
  line-height: 1.68;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}
.pf-prod-foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--pf-border);
}
.pf-prod-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--pf-accent);
  text-decoration: none;
  transition: color 0.2s;
}
.pf-prod-link:hover { color: #93c5fd; }
.pf-prod-link--r { color: #f87171; }
.pf-prod-link--r:hover { color: #fca5a5; }
.pf-prod-chip {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--pf-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--pf-border);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
}

/* ═══════════════════════════════════════════════════
   VISÃO DE FUTURO
   ═══════════════════════════════════════════════════ */
.pf-section--vision {
  background: linear-gradient(135deg, #080820 0%, #0f0828 50%, #080820 100%);
  padding: 7rem 0;
  overflow: hidden;
}
.pf-vision-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(59,130,246,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.pf-vision-text {
  color: rgba(255,255,255,0.62);
  font-size: 1.06rem;
  line-height: 1.82;
  max-width: 680px;
  margin: 0 auto 1rem;
}
.pf-vision-text strong { color: rgba(255,255,255,0.88); }

.pf-vision-goals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}
.pf-goal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 1.5rem 1.25rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.065);
  border-radius: 16px;
  min-width: 115px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.pf-goal-item:hover {
  background: rgba(59,130,246,0.07);
  border-color: rgba(59,130,246,0.18);
  transform: translateY(-4px);
}
.pf-goal-item i {
  font-size: 1.75rem;
  background: var(--pf-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pf-goal-item span {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  text-align: center;
  line-height: 1.3;
}

/* ═══════════════════════════════════════════════════
   VALORES / PRINCÍPIOS
   ═══════════════════════════════════════════════════ */
.pf-principle {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--pf-border);
  border-radius: 16px;
  padding: 1.85rem 1rem;
  text-align: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.pf-principle:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--pf-border-br);
  transform: translateY(-5px);
}
.pf-princ-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(59,130,246,0.09);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--pi2, var(--pf-accent));
  margin: 0 auto 1rem;
  transition: background 0.3s, transform 0.3s;
}
.pf-principle:hover .pf-princ-icon {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(59,130,246,0.15);
}
.pf-principle h6 {
  color: rgba(255,255,255,0.75);
  font-weight: 700;
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.3;
}

/* ═══════════════════════════════════════════════════
   FRASE FINAL
   ═══════════════════════════════════════════════════ */
.pf-final-quote {
  background: linear-gradient(135deg, #040410 0%, #090820 100%);
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.pf-final-quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(139,92,246,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 50%, rgba(59,130,246,0.06) 0%, transparent 55%);
  pointer-events: none;
}

.pf-final-text {
  font-size: clamp(1.2rem, 2.8vw, 1.8rem);
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  line-height: 1.58;
  font-style: italic;
  max-width: 800px;
  margin: 1.5rem auto 3rem;
}
.pf-final-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.pf-final-divider {
  width: 48px; height: 2px;
  background: var(--pf-grad);
  border-radius: 2px;
  margin-bottom: 0.6rem;
}
.pf-final-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.pf-final-role {
  font-size: 0.82rem;
  color: var(--pf-muted);
  letter-spacing: 0.04em;
  margin: 0;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

/* Tablets landscape */
@media (max-width: 991px) {
  .pf-timeline::before {
    left: 20px;
    transform: none;
  }
  .pf-tl-item.pf-tl-left,
  .pf-tl-item.pf-tl-right {
    padding-left: 58px;
    padding-right: 0;
    justify-content: flex-start;
    flex-direction: row;
  }
  .pf-tl-dot {
    left: 20px;
    transform: translateX(-50%);
  }
  .pf-tl-content { max-width: 100%; }

  .pf-photo-container { width: 240px; height: 240px; }
  .pf-hero-name { font-size: 3.2rem; }
}

/* Tablets portrait / phones */
@media (max-width: 767px) {
  .pf-section  { padding: 4rem 0; }
  .pf-hero     { padding-top: 5rem; padding-bottom: 3rem; min-height: auto; }
  .pf-hero-name { font-size: 2.6rem; }
  .pf-hero-role { font-size: 0.75rem; }
  .pf-philosophy-quote { font-size: 1.3rem; }
  .pf-section-title { font-size: 1.85rem; }
  .pf-final-text { font-size: 1.15rem; }

  /* Hero centralizado no mobile */
  .pf-hero-inner .col-lg-6.order-2 {
    text-align: center;
  }
  .pf-badge { justify-content: center; }
  .pf-hero-tagline {
    border-left: none;
    padding-left: 0;
    border-top: 3px solid var(--pf-accent);
    padding-top: 0.85rem;
    margin: 0 auto;
  }
  .pf-hero-inner .d-flex.flex-wrap { justify-content: center; }

  /* Sobre Mim centralizado no mobile */
  #pf-sobre .col-lg-5 {
    text-align: center;
  }
  #pf-sobre .pf-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .pf-float-badge { display: none; }
  .pf-scroll-hint  { display: none; }

  .pf-tf-arr { transform: rotate(90deg); }

  .pf-section--vision,
  .pf-section--philosophy,
  .pf-final-quote { padding: 4.5rem 0; }

  .pf-vision-goals { gap: 0.75rem; }
  .pf-goal-item    { padding: 1.1rem; min-width: 95px; }

  .pf-btn-primary,
  .pf-btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .pf-hero-name { font-size: 2.1rem; }
  .pf-photo-container { width: 180px; height: 180px; }
  .pf-photo-ring.ring-2,
  .pf-photo-ring.ring-3 { display: none; }
  .pf-philosophy-quote { font-size: 1.15rem; }
  .pf-final-text { font-size: 1rem; }
}

/* ═══════════════════════════════════════════════════
   BOTÃO TEMA CLARO/ESCURO
   ═══════════════════════════════════════════════════ */
.pf-theme-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.3s;
  flex-shrink: 0;
}
.pf-theme-toggle:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
  transform: rotate(20deg) scale(1.1);
}

/* Transição suave ao trocar tema */
body.portfolio-page,
body.portfolio-page * {
  transition:
    background-color 0.35s ease,
    border-color     0.35s ease,
    color            0.35s ease,
    box-shadow       0.35s ease;
}
/* Exceções: animações não devem herdar a transição */
body.portfolio-page .pf-photo-ring,
body.portfolio-page .pf-float-badge,
body.portfolio-page .pf-scroll-line {
  transition: none;
}

/* ═══════════════════════════════════════════════════
   TEMA CLARO — OVERRIDES
   ═══════════════════════════════════════════════════ */
body.portfolio-page.light-theme {
  --pf-bg:        #f2f4fb;
  --pf-bg2:       #e8ecf6;
  --pf-bg3:       #dde3f0;
  --pf-card:      #ffffff;
  --pf-card2:     #f2f4fb;
  --pf-border:    rgba(0, 0, 0, 0.08);
  --pf-border-br: rgba(0, 0, 0, 0.15);
  --pf-text:      #0d0d22;
  --pf-muted:     rgba(13, 13, 40, 0.55);
  background-color: var(--pf-bg);
  color: var(--pf-text);
}

/* Botão toggle — mantém estilo claro pois a navbar sempre fica escura */

/* ── Hero ── */
body.portfolio-page.light-theme .pf-hero {
  background-color: var(--pf-bg);
}
body.portfolio-page.light-theme .pf-hero-grid {
  background-image: radial-gradient(circle, rgba(59,130,246,0.22) 1px, transparent 1px);
  opacity: 0.45;
}
body.portfolio-page.light-theme .glow-1 {
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
}
body.portfolio-page.light-theme .glow-2 {
  background: radial-gradient(circle, rgba(139,92,246,0.07) 0%, transparent 70%);
}
body.portfolio-page.light-theme .pf-hero-name  { color: #080820; }
body.portfolio-page.light-theme .pf-hero-role  { color: rgba(13,13,40,0.42); }
body.portfolio-page.light-theme .pf-hero-tagline {
  color: rgba(13,13,40,0.6);
  border-left-color: var(--pf-accent);
}
body.portfolio-page.light-theme .pf-badge {
  color: rgba(13,13,40,0.6);
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.1);
}
body.portfolio-page.light-theme .pf-photo {
  border-color: rgba(59,130,246,0.22);
  background: #dde3f4;
}
body.portfolio-page.light-theme .pf-photo-placeholder {
  background: linear-gradient(140deg, #dde3f4, #d0d8ee);
}
body.portfolio-page.light-theme .pf-photo-placeholder i { color: rgba(0,0,0,0.1); }
body.portfolio-page.light-theme .pf-photo-placeholder small { color: rgba(0,0,0,0.25); }
body.portfolio-page.light-theme .pf-float-badge {
  background: rgba(255,255,255,0.9);
  color: rgba(13,13,40,0.75);
  border-color: rgba(0,0,0,0.1);
}
body.portfolio-page.light-theme .pf-scroll-hint { color: rgba(0,0,0,0.28); }

/* ── Seção labels e títulos ── */
body.portfolio-page.light-theme .pf-section-title       { color: #080820; }
body.portfolio-page.light-theme .pf-section-title--light { color: #080820; }
body.portfolio-page.light-theme .pf-section-subtitle    { color: rgba(13,13,40,0.55); }
body.portfolio-page.light-theme .pf-section-subtitle--light { color: rgba(13,13,40,0.55); }
body.portfolio-page.light-theme .pf-section-label--light {
  color: rgba(13,13,40,0.5);
  border-color: rgba(0,0,0,0.1);
  background: rgba(0,0,0,0.04);
}

/* ── Sobre Mim ── */
body.portfolio-page.light-theme .pf-quote-inline {
  background: rgba(59,130,246,0.06);
  color: rgba(13,13,40,0.7);
}

/* ── O Valor do Esforço ── */
body.portfolio-page.light-theme .pf-section--accent {
  background: linear-gradient(160deg, #eeeaff 0%, #f3eeff 60%, #e8ecf6 100%);
}
body.portfolio-page.light-theme .pf-accent-pattern {
  background-image: radial-gradient(circle, rgba(139,92,246,0.1) 1px, transparent 1px);
}
body.portfolio-page.light-theme .pf-value-card {
  background: rgba(255,255,255,0.7);
  border-color: rgba(0,0,0,0.07);
}
body.portfolio-page.light-theme .pf-value-card:hover {
  background: #ffffff;
  border-color: rgba(0,0,0,0.12);
}
body.portfolio-page.light-theme .pf-value-card h5 { color: #080820; }

/* ── Timeline ── */
body.portfolio-page.light-theme .pf-tl-dot { background: #ffffff; }
body.portfolio-page.light-theme .pf-tl-content h4 { color: #080820; }
body.portfolio-page.light-theme .pf-tl-content--hl {
  background: linear-gradient(140deg, #f2eeff, #ede6ff);
  border-color: rgba(139,92,246,0.22);
}
body.portfolio-page.light-theme .pf-tl-content--current {
  background: linear-gradient(140deg, #eef4ff, #e6f0ff);
  border-color: rgba(59,130,246,0.35);
  box-shadow: 0 0 0 1px rgba(59,130,246,0.12), 0 8px 32px rgba(59,130,246,0.07);
}

/* ── Filosofia ── */
body.portfolio-page.light-theme .pf-section--philosophy {
  background: linear-gradient(135deg, #f5f2ff 0%, #faf8ff 50%, #f5f2ff 100%);
}
body.portfolio-page.light-theme .pf-quote-icon    { color: rgba(59,130,246,0.25); }
body.portfolio-page.light-theme .pf-quote-icon--xl { color: rgba(0,0,0,0.05); }
body.portfolio-page.light-theme .pf-philosophy-quote { color: #080820; }
body.portfolio-page.light-theme .pf-philosophy-text  { color: rgba(13,13,40,0.58); }

/* ── Evolução Tecnológica ── */
body.portfolio-page.light-theme .pf-tf-icon {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.08);
  color: rgba(13,13,40,0.45);
}
body.portfolio-page.light-theme .pf-tf-step:hover .pf-tf-icon {
  background: rgba(59,130,246,0.08);
  border-color: rgba(59,130,246,0.22);
}
body.portfolio-page.light-theme .pf-tf-step span  { color: rgba(13,13,40,0.52); }
body.portfolio-page.light-theme .pf-tf-arr        { color: rgba(0,0,0,0.18); }

/* ── Tecnologias ── */
body.portfolio-page.light-theme .pf-tc-header h5   { color: #080820; }
body.portfolio-page.light-theme .pf-tech-card--ai {
  background: linear-gradient(140deg, #f4f0ff, #f0ebff);
  border-color: rgba(139,92,246,0.18);
}

/* ── Produtos ── */
body.portfolio-page.light-theme .pf-product-card h4 { color: #080820; }
body.portfolio-page.light-theme .pf-product-card--feat {
  background: linear-gradient(160deg, #fff2f2, #f0f4ff);
}

/* ── Visão de Futuro ── */
body.portfolio-page.light-theme .pf-section--vision {
  background: linear-gradient(135deg, #eef2ff 0%, #f0f4ff 50%, #eef2ff 100%);
}
body.portfolio-page.light-theme .pf-vision-glow {
  background: radial-gradient(ellipse at 50% 50%, rgba(59,130,246,0.06) 0%, transparent 65%);
}
body.portfolio-page.light-theme .pf-vision-text        { color: rgba(13,13,40,0.62); }
body.portfolio-page.light-theme .pf-vision-text strong { color: rgba(13,13,40,0.9); }
body.portfolio-page.light-theme .pf-goal-item {
  background: rgba(255,255,255,0.6);
  border-color: rgba(0,0,0,0.07);
}
body.portfolio-page.light-theme .pf-goal-item:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(59,130,246,0.18);
}
body.portfolio-page.light-theme .pf-goal-item span { color: rgba(13,13,40,0.65); }

/* ── Valores / Princípios ── */
body.portfolio-page.light-theme .pf-principle {
  background: rgba(255,255,255,0.6);
  border-color: rgba(0,0,0,0.07);
}
body.portfolio-page.light-theme .pf-principle:hover {
  background: #ffffff;
  border-color: rgba(0,0,0,0.12);
}
body.portfolio-page.light-theme .pf-principle h6 { color: rgba(13,13,40,0.78); }

/* ── Frase Final ── */
body.portfolio-page.light-theme .pf-final-quote {
  background: linear-gradient(135deg, #eef1fb 0%, #e8eef8 100%);
}
body.portfolio-page.light-theme .pf-final-quote::before {
  background:
    radial-gradient(ellipse at 25% 50%, rgba(139,92,246,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 50%, rgba(59,130,246,0.05) 0%, transparent 55%);
}
body.portfolio-page.light-theme .pf-final-text { color: rgba(13,13,40,0.78); }
body.portfolio-page.light-theme .pf-final-name { color: #080820; }
body.portfolio-page.light-theme .pf-final-role { color: rgba(13,13,40,0.5); }
