/* ============================================================
   Protegido.Digital — Página Sobre Mim
   Estilos específicos da /sobre/ — complementa style.css
   ============================================================ */

/* ═══════════════════════════════════════════════════════
   HERO — Apresentação pessoal
═══════════════════════════════════════════════════════ */
.sobre-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 48px) 0 72px;
  background: var(--c-bg);
}

.sobre-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sobre-hero-bg .grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(73,235,211,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73,235,211,0.022) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.sobre-hero-bg .glow {
  position: absolute; border-radius: 50%; filter: blur(100px);
}
.sobre-hero-bg .glow-1 {
  width: 600px; height: 500px;
  background: radial-gradient(ellipse, rgba(73,235,211,0.07) 0%, transparent 70%);
  top: -100px; right: -80px;
  animation: glow-drift 14s ease-in-out infinite alternate;
}
.sobre-hero-bg .glow-2 {
  width: 450px; height: 450px;
  background: radial-gradient(ellipse, rgba(13,148,136,0.09) 0%, transparent 70%);
  bottom: -80px; left: -60px;
  animation: glow-drift 18s ease-in-out infinite alternate-reverse;
}

/* Layout interno do hero */
.sobre-hero-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ── Foto ── */
.sobre-hero-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sobre-photo-placeholder {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(73,235,211,0.12) 0%, rgba(13,148,136,0.08) 100%);
  border: 2px solid rgba(73,235,211,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--c-accent);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Quando tiver foto real: .sobre-photo-placeholder img */
.sobre-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.sobre-photo-ring {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(73,235,211,0.15);
  animation: spin 30s linear infinite;
  z-index: 1;
}
.sobre-photo-ring::after {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 12px rgba(73,235,211,0.8);
  transform: translateX(-50%);
}

.sobre-photo-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73,235,211,0.12) 0%, transparent 70%);
  filter: blur(20px);
  animation: owl-breathe 4s ease-in-out infinite;
  z-index: 0;
}

/* ── Bio ── */
.sobre-hero-bio {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sobre-hero-name {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 10px;
}

.sobre-hero-title {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--c-accent);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.sobre-hero-text {
  color: var(--c-muted);
  font-size: clamp(0.92rem, 1.8vw, 1rem);
  line-height: 1.78;
  margin-bottom: 14px;
  max-width: 560px;
}

/* Skills — grade estruturada 2 colunas */
.sobre-skills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 20px 0 28px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
}

.skill-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-muted);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.18s ease, color 0.18s ease;
}
.skill-row:nth-last-child(-n+2) { border-bottom: none; }
.skill-row:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.05); }
.skill-row i {
  color: var(--c-accent);
  font-size: 0.78rem;
  width: 16px; text-align: center; flex-shrink: 0;
}
.skill-row:hover {
  background: rgba(73,235,211,0.05);
  color: var(--c-white);
}

/* CTAs */
.sobre-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-sep {
  width: 1px; height: 32px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.cta-icon-link {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-muted);
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.cta-icon-link:hover {
  border-color: #0077b5;
  color: #0077b5;
  background: rgba(0,119,181,0.08);
  transform: scale(1.08);
}

/* ═══════════════════════════════════════════════════════
   ÁREAS DE ATUAÇÃO
═══════════════════════════════════════════════════════ */
.sobre-areas {
  padding: var(--sp-section) 0;
  background: var(--c-bg2);
  position: relative;
  overflow: hidden;
}
.sobre-areas::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(73,235,211,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.area-card {
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.area-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--g-main);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.area-card:hover {
  border-color: rgba(73,235,211,0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.area-card:hover::after {
  transform: scaleX(1);
}

.area-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(73,235,211,0.07);
  border: 1px solid rgba(73,235,211,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--c-accent);
  margin-bottom: 18px;
  transition: all 0.3s ease;
}
.area-card:hover .area-icon {
  background: rgba(73,235,211,0.12);
  border-color: rgba(73,235,211,0.3);
}

.area-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--c-white);
}
.area-card p {
  font-size: 0.86rem;
  color: var(--c-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   CERTIFICAÇÕES — seção âncora
═══════════════════════════════════════════════════════ */
.sobre-certs {
  padding: var(--sp-section) 0;
  background: var(--c-bg);
  position: relative;
}
.sobre-certs::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(73,235,211,0.2), transparent);
}

/* Stats de certificações */
.certs-stats {
  display: flex;
  gap: 0;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 36px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.certs-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 40px;
  border-right: 1px solid var(--c-border);
  background: rgba(255,255,255,0.02);
  min-width: 120px;
}
.certs-stat:last-child {
  border-right: none;
}

.certs-stat-num {
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  background: var(--g-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.certs-stat-label {
  font-size: 0.68rem;
  color: var(--c-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  white-space: nowrap;
}

/* Filtros dentro da seção de certs */
.sobre-certs .cred-filters {
  margin-bottom: 24px;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════
   CTA SECTION (reutiliza style.css .cta-section)
═══════════════════════════════════════════════════════ */
.cta-section {
  padding: var(--sp-section) 0;
  background: var(--c-bg2);
}
.cta-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cta-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(73,235,211,0.08);
  border: 1px solid rgba(73,235,211,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--c-accent);
  margin-bottom: 4px;
}
.cta-inner h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
}
.cta-inner p {
  color: var(--c-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   REVEAL ANIMATION
═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sobre-hero {
    padding: calc(var(--nav-h) + 32px) 0 56px;
    min-height: auto;
  }
  .sobre-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .sobre-hero-photo {
    order: -1;
  }
  .sobre-photo-placeholder {
    width: 160px;
    height: 160px;
    font-size: 3.5rem;
  }
  .sobre-photo-ring {
    width: 200px;
    height: 200px;
  }
  .sobre-photo-glow {
    width: 220px;
    height: 220px;
  }
  .sobre-hero-text {
    margin-left: auto;
    margin-right: auto;
  }
  .sobre-skills {
    justify-content: center;
  }
  .sobre-hero-actions {
    justify-content: center;
  }
  .areas-grid {
    grid-template-columns: 1fr;
  }
  .certs-stats {
    width: 100%;
  }
  .certs-stat {
    flex: 1;
    padding: 16px 12px;
    min-width: 0;
  }
  .certs-stat-num {
    font-size: 1.5rem;
  }
  .sobre-certs .cred-filters {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .sobre-hero-name {
    font-size: 2rem;
  }
  .area-card {
    padding: 24px 20px;
  }
  .certs-stats {
    flex-wrap: wrap;
    border-radius: 12px;
  }
  .certs-stat {
    border-right: none;
    border-bottom: 1px solid var(--c-border);
    width: 50%;
    flex: none;
  }
  .certs-stat:nth-child(odd) {
    border-right: 1px solid var(--c-border);
  }
  .certs-stat:last-child {
    border-bottom: none;
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════
   CONTATO RÁPIDO (hero)
═══════════════════════════════════════════════════════ */
.sobre-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 24px;
}
.sobre-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  color: var(--c-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.sobre-contact-item i { color: var(--c-accent); font-size: 0.78rem; }
a.sobre-contact-item:hover { color: var(--c-accent); }

/* ═══════════════════════════════════════════════════════
   NÚMEROS
═══════════════════════════════════════════════════════ */
.sobre-numeros {
  padding: 56px 0;
  background: var(--c-bg2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.numeros-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: stretch;
}
.numero-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end; /* labels pin to bottom */
  padding: 28px 16px;
  border-right: 1px solid var(--c-border);
  text-align: center;
  min-height: 140px;
  gap: 10px;
}
.numero-item:last-child { border-right: none; }
.numero-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--g-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
  padding: 4px 0;
  margin-bottom: 0;
}
.numero-val span { font-size: 2rem; }
.numero-label {
  font-size: 0.78rem;
  color: var(--c-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   TRAJETÓRIA — timeline elegante por seção
═══════════════════════════════════════════════════════ */
.sobre-trajetoria {
  padding: var(--sp-section) 0;
  background: var(--c-bg);
}

/* Seção com label lateral */
.traj-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0 48px;
  margin-bottom: 64px;
  align-items: start;
}
.traj-section:last-child { margin-bottom: 0; }

.traj-section-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 4px;
  position: sticky;
  top: 80px;
}
.traj-section-icon {
  width: 44px; height: 44px; border-radius: 13px;
  background: rgba(73,235,211,0.08);
  border: 1px solid rgba(73,235,211,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--c-accent);
}
.traj-section-icon--green { background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.2); color: #22c55e; }
.traj-section-icon--gold  { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.2); color: #f59e0b; }
.traj-section-label > span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  color: var(--c-dim);
  text-transform: uppercase; letter-spacing: 0.12em;
  line-height: 1.4;
}

/* Timeline vertical */
.traj-timeline {
  position: relative;
  padding-left: 32px;
  border-left: 1px solid rgba(73,235,211,0.12);
}
.traj-item {
  position: relative;
  padding-bottom: 36px;
}
.traj-item:last-child { padding-bottom: 0; }

/* Dot */
.traj-dot {
  position: absolute;
  left: -40px; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--c-accent);
  border: 2px solid var(--c-accent);
  box-shadow: 0 0 14px rgba(73,235,211,0.55);
  transition: all 0.2s;
}
.traj-dot--accent {
  background: var(--c-accent);
  border-color: var(--c-accent);
  box-shadow: 0 0 14px rgba(73,235,211,0.55);
}
.traj-dot--green {
  background: #22c55e;
  border-color: #22c55e;
  box-shadow: 0 0 12px rgba(34,197,94,0.4);
}
.traj-dot--blue {
  background: #60a5fa;
  border-color: #60a5fa;
  box-shadow: 0 0 14px rgba(96,165,250,0.55);
}
.traj-dot--gold {
  background: #f59e0b;
  border-color: #f59e0b;
  box-shadow: 0 0 12px rgba(245,158,11,0.4);
}
.traj-item:hover .traj-dot { transform: scale(1.25); }

/* Content */
.traj-content {
  background: var(--c-bg2);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 20px 24px;
  transition: all 0.22s;
}
.traj-item:hover .traj-content {
  border-color: rgba(73,235,211,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transform: translateX(4px);
}

/* Level badge */
.traj-level {
  display: inline-block;
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(73,235,211,0.08);
  color: var(--c-accent);
  border: 1px solid rgba(73,235,211,0.2);
  margin-bottom: 10px;
}
.traj-level--grad {
  background: rgba(167,139,250,0.08);
  color: #a78bfa;
  border-color: rgba(167,139,250,0.25);
}

/* Course title */
.traj-course {
  font-size: 1rem; font-weight: 700;
  color: var(--c-white);
  line-height: 1.3; margin-bottom: 6px;
}

/* School / role */
.traj-school {
  font-size: 0.8rem; font-weight: 600;
  color: var(--c-accent);
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 10px;
}
.traj-school i { font-size: 0.72rem; }
.traj-school--green { color: #22c55e; }
.traj-school--gold  { color: #f59e0b; }

/* Description */
.traj-desc {
  font-size: 0.86rem; color: var(--c-muted); line-height: 1.7;
}

/* Experiência: header com badge */
.traj-exp-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px; flex-wrap: wrap;
}
.traj-badge-atual {
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 2px 9px; border-radius: 999px;
  background: rgba(73,235,211,0.1);
  color: var(--c-accent);
  border: 1px solid rgba(73,235,211,0.25);
}

/* Cursos em andamento */
.certs-em-andamento {
  margin-top: 48px; padding: 28px 32px;
  background: var(--c-bg2); border: 1px solid var(--c-border);
  border-radius: 16px; border-left: 3px solid var(--c-accent);
}
.certs-andamento-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.certs-andamento-header i { color: var(--c-accent); font-size: 1rem; }
.certs-andamento-header h3 { font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--c-white); margin: 0; }
.certs-andamento-badge { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 3px 10px; border-radius: 999px; background: rgba(245,158,11,0.1); color: #f59e0b; border: 1px solid rgba(245,158,11,0.25); }
.certs-andamento-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.certs-andamento-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: rgba(255,255,255,0.02); border-radius: 8px; border: 1px solid var(--c-border); font-size: 0.82rem; color: var(--c-muted); transition: all 0.2s; }
.certs-andamento-item:hover { border-color: rgba(73,235,211,0.2); color: var(--c-white); }
.certs-andamento-item i { color: var(--c-accent); font-size: 0.9rem; flex-shrink: 0; }

@media (max-width: 900px) {
  .traj-section { grid-template-columns: 1fr; gap: 20px; }
  .traj-section-label { flex-direction: row; align-items: center; position: static; }
  .traj-section-label > span { font-size: 0.9rem; }
}
@media (max-width: 600px) {
  .traj-timeline { padding-left: 24px; }
  .traj-dot { left: -32px; }
  .certs-andamento-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE ADDITIONS
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .trajetoria-grid { grid-template-columns: 1fr; gap: 40px; }
  .numeros-grid { grid-template-columns: repeat(2, 1fr); }
  .numero-item:nth-child(2) { border-right: none; }
  .numero-item:nth-child(1),
  .numero-item:nth-child(2) { border-bottom: 1px solid var(--c-border); }
}
@media (max-width: 600px) {
  .numeros-grid { grid-template-columns: repeat(2, 1fr); }
  .sobre-contact-row { flex-direction: column; gap: 10px; }
  .certs-em-andamento { padding: 20px; }
  .certs-andamento-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   PREMIAÇÕES
═══════════════════════════════════════════════════════ */
.premiacoes-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.premiacao-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  transition: all 0.2s;
}
.premiacao-card:hover {
  border-color: rgba(73,235,211,0.2);
  transform: translateX(4px);
}
.premiacao-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.premiacao-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 4px;
}
.premiacao-desc {
  font-size: 0.8rem;
  color: var(--c-muted);
  line-height: 1.55;
}
