/* =========================================================
   Portfolio Diamond v1.89 — Timeline Mobile Premium
   Escopo: somente smartphones. Desktop/tablet preservados.
========================================================= */

@media (max-width: 767px) {
  #sobre .professional-overview__content--timeline-only {
    width: 100% !important;
    margin-top: 24px !important;
  }

  #sobre .career-panel--full {
    width: 100% !important;
    padding: 30px 16px 24px !important;
    border: 1px solid rgba(83, 117, 210, 0.28) !important;
    border-radius: 18px !important;
    background:
      radial-gradient(circle at 18% 22%, rgba(109, 57, 255, 0.10), transparent 30%),
      radial-gradient(circle at 82% 76%, rgba(0, 174, 255, 0.08), transparent 34%),
      linear-gradient(160deg, rgba(4, 13, 36, 0.90), rgba(2, 8, 24, 0.82)) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.025),
      0 18px 46px rgba(0,0,0,.24) !important;
    overflow: hidden !important;
  }

  #sobre .career-panel--full > header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    margin: 0 0 26px !important;
    text-align: center !important;
  }

  #sobre .career-panel--full > header .system-kicker {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 0 !important;
    color: #f3d95a !important;
    font-size: .68rem !important;
    font-weight: 800 !important;
    letter-spacing: .105em !important;
    text-transform: uppercase !important;
  }

  #sobre .career-panel--full > header .system-kicker i {
    color: #8d52ff !important;
  }

  #sobre .career-panel--full > header h3 {
    max-width: 290px !important;
    margin: 0 !important;
    color: #f7f8ff !important;
    font-family: "League Spartan", sans-serif !important;
    font-size: clamp(1.48rem, 7vw, 1.92rem) !important;
    font-weight: 800 !important;
    line-height: 1.03 !important;
    letter-spacing: -.025em !important;
    text-wrap: balance !important;
  }

  #sobre .career-panel--full > header h3::after {
    content: "";
    display: block;
    width: 106px;
    height: 14px;
    margin: 17px auto 0;
    background:
      linear-gradient(90deg, transparent, #3f7cff) left center / 42px 1px no-repeat,
      linear-gradient(90deg, #9357ff, transparent) right center / 42px 1px no-repeat,
      linear-gradient(135deg, #3fb5ff, #9d42ff) center / 12px 12px no-repeat;
    transform: rotate(0deg);
    filter: drop-shadow(0 0 8px rgba(130, 74, 255, .72));
  }

  #sobre .career-timeline {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #sobre .career-timeline::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 35px !important;
    bottom: 74px !important;
    left: 28px !important;
    width: 2px !important;
    height: auto !important;
    background: linear-gradient(180deg, #9d49ff 0%, #6c56ff 35%, #14c9ff 68%, #4b7cff 100%) !important;
    box-shadow:
      0 0 8px rgba(121, 74, 255, .78),
      0 0 18px rgba(24, 177, 255, .34) !important;
    opacity: 1 !important;
  }

  #sobre .career-timeline article,
  #sobre .career-timeline article.career-current {
    position: relative !important;
    display: block !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 19px 0 23px 78px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(91, 119, 190, .16) !important;
    border-radius: 0 !important;
    background: transparent !important;
    text-align: left !important;
    overflow: visible !important;
  }

  #sobre .career-timeline article:first-child {
    padding-top: 12px !important;
  }

  #sobre .career-timeline article:last-child,
  #sobre .career-timeline article.career-current {
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
  }

  #sobre .career-timeline .career-node {
    position: absolute !important;
    top: 18px !important;
    left: 28px !important;
    z-index: 2 !important;
    display: grid !important;
    place-items: center !important;
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    border: 2px solid currentColor !important;
    border-radius: 50% !important;
    background: linear-gradient(145deg, rgba(8, 17, 46, .98), rgba(3, 9, 26, .98)) !important;
    color: #a561ff !important;
    box-shadow:
      0 0 0 5px rgba(104, 65, 255, .07),
      0 0 16px currentColor !important;
    transform: translateX(-50%) !important;
  }

  #sobre .career-timeline article:first-child .career-node { top: 11px !important; color: #ad65ff !important; }
  #sobre .career-timeline article:nth-child(2) .career-node { color: #7e68ff !important; }
  #sobre .career-timeline article:nth-child(3) .career-node { color: #1cc8ff !important; }
  #sobre .career-timeline article:nth-child(4) .career-node { color: #5d82ff !important; }

  #sobre .career-timeline .career-node i {
    color: #f4f7ff !important;
    font-size: 1.38rem !important;
    line-height: 1 !important;
  }

  #sobre .career-timeline .career-year {
    display: block !important;
    margin: 0 0 6px !important;
    color: #5d8eff !important;
    font-family: "League Spartan", sans-serif !important;
    font-size: .88rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: .045em !important;
    text-transform: uppercase !important;
  }

  #sobre .career-timeline article:nth-child(3) .career-year { color: #25baff !important; }

  #sobre .career-timeline article > strong {
    display: block !important;
    min-height: 0 !important;
    margin: 0 !important;
    color: #f5f7ff !important;
    font-family: "League Spartan", sans-serif !important;
    font-size: 1.12rem !important;
    font-weight: 800 !important;
    line-height: 1.16 !important;
    letter-spacing: -.01em !important;
  }

  #sobre .career-timeline article > p {
    max-width: 31ch !important;
    margin: 10px 0 0 !important;
    color: rgba(218, 225, 245, .72) !important;
    font-size: .82rem !important;
    line-height: 1.56 !important;
    text-align: left !important;
  }

  #sobre .career-timeline .career-next-step {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: calc(100% + 78px) !important;
    min-height: 48px !important;
    margin: 22px 0 0 -78px !important;
    padding: 12px 18px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(100deg, #258cff 0%, #7258ff 52%, #c128e8 100%) !important;
    color: #fff !important;
    font-family: "League Spartan", sans-serif !important;
    font-size: .88rem !important;
    font-weight: 800 !important;
    box-shadow: 0 12px 30px rgba(91, 66, 255, .28) !important;
  }

  #sobre .career-timeline .career-next-step i {
    margin-left: 7px !important;
    font-size: .9rem !important;
  }
}

@media (max-width: 380px) {
  #sobre .career-panel--full {
    padding-inline: 13px !important;
  }

  #sobre .career-timeline article,
  #sobre .career-timeline article.career-current {
    padding-left: 68px !important;
  }

  #sobre .career-timeline::before,
  #sobre .career-timeline .career-node {
    left: 24px !important;
  }

  #sobre .career-timeline .career-node {
    width: 46px !important;
    height: 46px !important;
  }

  #sobre .career-timeline article > strong {
    font-size: 1rem !important;
  }

  #sobre .career-timeline article > p {
    font-size: .76rem !important;
  }

  #sobre .career-timeline .career-next-step {
    width: calc(100% + 68px) !important;
    margin-left: -68px !important;
  }
}
