/* =========================
   EXPERIENCE SECTION
========================= */

.experience {
  background-color: #020617; /* mesmo background das outras */
  padding: 120px 24px;
}

/* =========================
   HEADER (CENTRALIZADO)
========================= */

.experience-header {
  max-width: 720px;
  margin: 0 auto 80px;
  text-align: center;
}

.experience-header h3 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.experience-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* =========================
   TIMELINE (CENTRAL + LINHA À ESQUERDA)
========================= */

.experience-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 26px; /* espaço entre linha e cards */
}

/* LINHA VERTICAL */
.experience-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
}

/* ITEM */
.experience-item {
  position: relative; /* 🔑 referência da bolinha */
  margin-bottom: 64px;
}

/* BOLINHA */
.experience-marker {
  position: absolute;
  left: -40px; /* alinha exatamente na linha */
  top: 32px;

  width: 14px;
  height: 14px;

  background: radial-gradient(
    circle,
    var(--blue-accent),
    rgba(59, 130, 246, 0.4)
  );

  border-radius: 50%;
}


/* =========================
   ITEM
========================= */

.experience-item {
  position: relative;
  margin-bottom: 56px;
  display: flex;
}

/* =========================
   MARKER (BOLINHA)
========================= */

.experience-marker {
  position: absolute;
  left: -8px;
  top: 32px;
  width: 14px;
  height: 14px;
  background: radial-gradient(
    circle,
    var(--blue-accent),
    rgba(59, 130, 246, 0.4)
  );
  border-radius: 50%;
}

/* =========================
   CONTENT (CARD CENTRALIZADO)
========================= */

.experience-content {
  margin: 0 auto;
  width: 100%;
  max-width: 760px;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.015)
  );

  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* =========================
   TEXT
========================= */

.experience-content h4 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.experience-role {
  display: block;
  font-size: 0.85rem;
  color: var(--blue-accent);
  margin-bottom: 16px;
}

.experience-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* =========================
   TAGS
========================= */

.experience-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.experience-tags li {
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: rgba(59, 130, 246, 0.14);
  color: var(--blue-accent);
}
