/* ============================================================
   PÁGINAS INTERNAS (sobre.html, curriculo.html)
   Carregado após landing.css
   ============================================================ */

/* ---- Layout ---- */
.ip-main {
  padding-top: var(--lp-header-h);
  min-height: 100vh;
  background: #000;
}

.ip-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 24px 100px;
}

/* Breadcrumb / voltar */
.ip-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 56px;
  transition: color 0.2s;
}

.ip-back:hover { color: rgba(255, 255, 255, 0.8); }

.ip-back svg { flex-shrink: 0; }

/* ============================================================
   SOBRE — perfil
   ============================================================ */

.ip-profile {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}


.ip-profile-info { flex: 1; min-width: 200px; }

.ip-name {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.ip-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--lp-accent);
  font-weight: 500;
  margin-bottom: 20px;
}

/* Contatos */
.ip-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.ip-contact-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.ip-contact-item ion-icon { font-size: 15px; flex-shrink: 0; }

.ip-contact-item ion-icon,
.ip-social ion-icon {
  display: block;
}

.ip-contact-item address {
  margin: 0;
}

.ip-contact-item a {
  color: inherit;
  transition: color 0.2s;
}
.ip-contact-item a:hover { color: #fff; }

/* Social */
.ip-social {
  display: flex;
  gap: 14px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ip-social li {
  display: flex;
}

.ip-social a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  transition: color 0.2s;
}

.ip-social a:hover { color: #fff; }

/* Texto sobre */
.ip-about-text {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 48px;
}

.ip-about-text p {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 20px;
}

.ip-about-text p:last-child { margin-bottom: 0; }

/* ============================================================
   CURRÍCULO — timeline
   ============================================================ */

.ip-section {
  margin-bottom: 56px;
}

.ip-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--lp-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ip-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* linha vertical */
.ip-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--lp-accent), rgba(30, 205, 180, 0.08));
}

.ip-timeline-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 0 0 32px 20px;
  position: relative;
}

/* ponto na linha */
.ip-timeline-item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lp-accent);
  box-shadow: 0 0 0 3px rgba(30, 205, 180, 0.15);
}

.ip-timeline-item:last-child { padding-bottom: 0; }

.ip-timeline-title {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
}

.ip-timeline-period {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--lp-accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ip-timeline-text {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  line-height: 1.75;
  margin-top: 6px;
}

/* Skills */
.ip-skills-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ip-skill-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ip-skill-label {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.ip-skill-pct {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.ip-skill-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.ip-skill-fill {
  height: 100%;
  background: var(--lp-accent);
  border-radius: 99px;
}

/* Skills pills */
.ip-pills-section {
  padding-top: 36px;
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.ip-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ip-pills li {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.58);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, color 0.2s;
}

.ip-pills li:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.85);
}

.ip-cta-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--lp-accent);
  color: #000;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}

.ip-cta-primary:hover {
  background: hsl(165, 72%, 60%);
  transform: translateY(-2px);
}

.ip-cta-ghost {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.65);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.ip-cta-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

/* Improved avatar on inner pages */
.ip-avatar-wrap {
  flex-shrink: 0;
  position: relative;
  width: 100px;
  height: 100px;
}

.ip-avatar-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--lp-accent) 0%, transparent 60%);
  opacity: 0.5;
  z-index: 0;
}

.ip-avatar-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (min-width: 600px) {
  .ip-avatar-wrap { width: 120px; height: 120px; }
  .ip-avatar-wrap img { border-radius: 28px; }
  .ip-avatar-wrap::before { border-radius: 32px; }

  .ip-timeline { padding-left: 12px; }
  .ip-timeline-item { padding-left: 28px; }
  .ip-timeline-item::before { left: -5px; width: 11px; height: 11px; }
  .ip-timeline-title { font-size: 16px; }
  .ip-timeline-text  { font-size: 14px; }
}

@media (min-width: 768px) {
  .ip-inner { padding: 80px 40px 120px; }

  .ip-timeline { padding-left: 16px; }
  .ip-timeline-item { padding-left: 36px; padding-bottom: 40px; }
}
