/* ============================================
   MVNU ART — CARD / CHIP / TIMELINE PRIMITIVES
   Reusable building blocks for portfolio & section cards.
   ============================================ */

.mvnu-chip,
.home-section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated-alt);
  font-size: 0.8rem;
  color: var(--text);
  text-decoration: none;
  transition: 0.2s ease;
}

.mvnu-chip--ghost { background: var(--bg-elevated); }

.mvnu-chip:hover,
.home-section-tag:hover {
  background: var(--bg-alt);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.mvnu-btn-link,
.home-section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  margin-top: 12px;
}

.mvnu-btn-link::after {
  content: "→";
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}
.mvnu-btn-link:hover::after { transform: translateX(4px); }

.home-section-link span {
  transition: transform 0.2s ease;
}
.home-section-link:hover span {
  transform: translateX(3px);
}

/* --- Cartes de section (timeline) --- */
.home-section-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  backdrop-filter: var(--card-blur);
  -webkit-backdrop-filter: var(--card-blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 24px 24px 20px;
  margin-bottom: 22px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease, background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.25s ease;
}

.home-section-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), transparent 85%);
  opacity: 0.9;
}

.home-section-card:hover {
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-strong);
}

.home-section-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-section-header { margin-bottom: 8px; }

.home-section-kicker,
.mvnu-home-section-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.home-section-title,
.mvnu-home-section-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}

.home-section-text,
.mvnu-home-section-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 8px 0;
}

/* --- Timeline verticale --- */
.home-timeline {
  position: relative;
  height: 100%;
}

.home-timeline::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
  width: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, rgba(24, 164, 216, 0.3), var(--glow-accent));
}

.home-timeline-line {
  display: none;
}

.home-timeline-dot {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  border: 2px solid rgba(24, 164, 216, 0.7);
  box-shadow:
    0 0 0 4px rgba(24, 164, 216, 0.05),
    0 6px 16px rgba(15, 23, 42, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.home-timeline-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: #18a4d8;
  box-shadow: 0 0 6px rgba(24, 164, 216, 0.6);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.home-timeline-dot.is-active {
  background: var(--accent-2);
  border-color: var(--accent-2);
  box-shadow:
    0 0 0 4px var(--glow-accent),
    0 8px 22px var(--glow-accent);
  transform: translate(-50%, -50%) scale(1.05);
}

.home-timeline-dot.is-active::before {
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}
