/* ============================================================
   sobre.css — Página "Sobre" / Bio profissional
   ============================================================ */

.sobre-wrap {
  max-width: 920px;
  margin: 0 auto;
}

/* ── LANG SWITCH (PT/EN) ────────────────────────────────── */
.lang-switch {
  position: absolute;
  top: 18px;
  right: 22px;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface3);
  border: 1px solid var(--border-s);
  border-radius: 22px;
  z-index: 10;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 5px;
  background: transparent;
  border: none;
  border-radius: 18px;
  cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--muted);
  transition: all 0.15s;
}
.lang-btn:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text);
}
.lang-btn.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.lang-btn .flag {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  overflow: hidden;
  display: inline-block;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}
.lang-btn .flag svg {
  width: 100%;
  height: 100%;
  display: block;
}
.lang-btn .lang-code {
  letter-spacing: 0.5px;
}

@media (max-width: 600px) {
  .lang-switch {
    top: 14px;
    right: 14px;
  }
  .lang-btn {
    padding: 4px 8px 4px 4px;
    font-size: 10px;
  }
  .lang-btn .flag { width: 18px; height: 13px; }
}

/* ── HERO ────────────────────────────────────────────────── */
.sobre-hero {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 44px 0 36px;
  border-bottom: 1px solid var(--divider);
  margin-bottom: 36px;
}
.sobre-foto {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2, #001a4a) 100%);
  border: 3px solid var(--surface);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 52px;
  color: #fff;
  font-weight: 600;
  letter-spacing: -1px;
  overflow: hidden;
  position: relative;
}
.sobre-foto::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 60%);
  pointer-events: none;
}
.sobre-foto img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  /* Ajuste o foco vertical aqui (0% = topo, 50% = centro, 100% = baixo).
     Comum: 20%-30% pra fotos com headshot bem centralizado. */
  object-position: center 20%;
}
.sobre-hero-text { min-width: 0; flex: 1; }
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted2);
  margin: 0 0 8px;
}
.sobre-hero-text h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 40px;
  line-height: 1.05;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
  letter-spacing: -0.8px;
}
.sobre-hero-text .tagline {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 16px;
  max-width: 580px;
}
.sobre-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.sobre-hero-meta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--surface3);
  border: 1px solid var(--border-s);
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: all 0.15s;
}
.sobre-hero-meta a:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.sobre-hero-meta a svg { width: 12px; height: 12px; }

.sobre-hero-badge {
  display: inline-block;
  padding: 5px 11px;
  background: #FFF8E6;
  color: #7A5C00;
  border: 1px solid #E8DFB8;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

@media (max-width: 700px) {
  .sobre-hero { flex-direction: column; align-items: flex-start; gap: 18px; padding: 14px 0 26px; }
  .sobre-foto { width: 100px; height: 100px; font-size: 38px; }
  .sobre-hero-text h1 { font-size: 28px; }
  .sobre-hero-text .tagline { font-size: 13.5px; }
}

/* ── SECTION TITLES ──────────────────────────────────────── */
.sobre-secao { margin-bottom: 44px; }
.sobre-secao-titulo {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 22px;
}
.sobre-secao-titulo h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.3px;
}
.sobre-secao-titulo .secao-num {
  font-size: 11px;
  color: var(--muted2);
  font-weight: 600;
  letter-spacing: 1.5px;
}

/* ── PROSA EDITORIAL ────────────────────────────────────── */
.sobre-prosa {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  text-align: justify;
  hyphens: auto;
}
.sobre-prosa p { margin: 0 0 16px; }
.sobre-prosa p:last-child { margin-bottom: 0; }
.sobre-prosa strong { color: var(--navy); font-weight: 600; }

/* ════════════════════════════════════════════════════════════
   TIMELINE HORIZONTAL
   ════════════════════════════════════════════════════════════ */
.timeline-h {
  position: relative;
  padding: 12px 8px 30px;
  margin-bottom: 28px;
}
.timeline-h-line {
  position: absolute;
  top: 76px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(to right,
    var(--pos) 0%,
    var(--navy) 28%,
    var(--border) 65%,
    var(--border) 100%);
}
.timeline-h-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.timeline-h-item {
  position: relative;
  text-align: center;
  padding-top: 12px;
}
.timeline-h-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.timeline-h-logo img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}
.timeline-h-logo span {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  color: var(--navy);
  font-weight: 600;
}
.timeline-h-dot {
  position: absolute;
  top: 76px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 1px var(--border);
  z-index: 3;
}
.timeline-h-item.atual .timeline-h-dot {
  background: var(--pos);
  box-shadow: 0 0 0 1px var(--pos), 0 0 0 5px var(--pos-bg);
}
.timeline-h-item.atual .timeline-h-logo {
  border-color: var(--pos);
  box-shadow: 0 0 0 3px var(--pos-bg), 0 2px 6px rgba(0,0,0,0.05);
}
.timeline-h-period {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.7px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.timeline-h-item.atual .timeline-h-period { color: var(--pos); }
.timeline-h-org {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.timeline-h-role {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.35;
}
.timeline-h-item.small .timeline-h-logo {
  width: 48px;
  height: 48px;
  margin-bottom: 30px;
}
.timeline-h-item.small .timeline-h-org { font-size: 13px; }
.timeline-h-item.small .timeline-h-role { font-size: 10.5px; }

@media (max-width: 800px) {
  .timeline-h-items { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .timeline-h-line { display: none; }
  .timeline-h-dot { display: none; }
}
@media (max-width: 480px) {
  .timeline-h-items { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   CARDS DE EXPERIÊNCIA (Itaú e Inter)
   ════════════════════════════════════════════════════════════ */
.exp-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.exp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  transition: transform .2s, box-shadow .2s;
}
.exp-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.exp-card.destaque {
  border-color: var(--pos);
  background: linear-gradient(180deg, var(--pos-bg) 0%, var(--surface) 28%);
}
.exp-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.exp-card-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 4px;
}
.exp-card-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.exp-card-logo-fallback {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
}
.exp-card-titles { flex: 1; min-width: 0; }
.exp-card-empresa {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 2px;
}
.exp-card-periodo {
  font-size: 11.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.exp-card-tag {
  background: var(--pos);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
  padding: 3px 9px;
  border-radius: 4px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.exp-card-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 14px;
}
.exp-card-stats {
  display: flex;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--divider);
}
.exp-stat { flex: 1; }
.exp-stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}
.exp-card.destaque .exp-stat-num { color: var(--pos); }
.exp-stat-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
}
.exp-stat-label small {
  text-transform: none;
  font-weight: 500;
  color: var(--muted2);
  font-size: 10px;
}

@media (max-width: 700px) {
  .exp-cards { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   FORMAÇÃO
   ════════════════════════════════════════════════════════════ */
.form-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color .15s;
}
.form-item:hover { border-color: var(--navy); }
.form-item-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 4px;
}
.form-item-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.form-item-logo span {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  color: var(--navy);
  font-weight: 600;
}
.form-item-text { min-width: 0; flex: 1; }
.form-item-curso {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.form-item-inst {
  font-size: 11.5px;
  color: var(--muted);
}

/* ════════════════════════════════════════════════════════════
   SKILLS / ESPECIALIDADES
   ════════════════════════════════════════════════════════════ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.skill-bloco {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.skill-bloco h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.skill-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.skill-chip {
  display: inline-block;
  padding: 4px 10px;
  background: var(--navy-lt);
  color: var(--navy);
  border-radius: 14px;
  font-size: 11.5px;
  font-weight: 500;
  border: 1px solid var(--border);
}
.skill-chip.tec  { background: var(--info-bg); color: var(--info); }
.skill-chip.cert { background: #FFF8E6; color: #7A5C00; font-weight: 700; }

/* ════════════════════════════════════════════════════════════
   PROJETOS
   ════════════════════════════════════════════════════════════ */
.projetos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  /* Quando tem 1 card só, mantém proporção elegante */
  max-width: 460px;
}
.projeto-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.projeto-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.projeto-card .projeto-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--navy-lt);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.projeto-card .projeto-icon svg { width: 18px; height: 18px; }
.projeto-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
  letter-spacing: -0.2px;
}
.projeto-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 12px;
  flex: 1;
}
.projeto-card .projeto-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.projeto-card .projeto-tag {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--info);
  background: var(--info-bg);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ════════════════════════════════════════════════════════════
   CONTATO CTA
   ════════════════════════════════════════════════════════════ */
.contato-cta {
  background: linear-gradient(135deg, var(--navy) 0%, #001a4a 100%);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contato-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 60%);
  pointer-events: none;
}
.contato-cta-text {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.contato-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: #fff;
  color: var(--navy);
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
}
.contato-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}
.contato-cta-btn svg { width: 16px; height: 16px; }
.contato-cta-email {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin: 16px 0 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.3px;
}

/* ════════════════════════════════════════════════════════════
   PRINT
   ════════════════════════════════════════════════════════════ */
@media print {
  .sobre-secao { page-break-inside: avoid; }
  .contato-cta { background: #fff; color: #000; border: 1px solid #ccc; }
  .contato-cta-text { color: #000; }
  .contato-cta-btn { background: #000; color: #fff; }
}
