/* ============================================
   MVNU ART — PAGE: BIO / CV (mvnuart.php)
   ============================================ */

.bio-hero-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.bio-hero-photo {
  max-width: 560px;
  display: block;
}

.bio-hero-lottie {
  width: 100%;
  max-width: 540px;
  padding: 10px 0 18px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========= CV WRAPPER (bande signature, comme le header/hero) ========= */

.cv-wrapper {
  background: radial-gradient(circle at top left, var(--brand-teal-1) 0%, var(--brand-teal-2) 55%, var(--brand-navy) 100%);
  padding: 50px 0 60px;
  transition: background 0.5s ease;
}

.cv-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.cv-card {
  background: var(--bg-elevated);
  border-radius: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 26px 24px 26px;
  position: relative;
  overflow: hidden;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

.cv-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at top left, var(--glow-accent), transparent 60%),
    radial-gradient(circle at bottom right, var(--hero-glow-cyan), transparent 55%);
  opacity: 0.5;
  pointer-events: none;
}

.cv-card-inner {
  position: relative;
  z-index: 1;
}

.cv-header-img {
  text-align: center;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.cv-header-img img {
  max-width: 420px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 35px rgba(15, 23, 42, 0.35));
}

.cv-card-head {
  margin-bottom: 24px;
}

.cv-head-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-faint);
  margin-bottom: 6px;
}

.cv-head-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}

.cv-head-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

.cv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.35fr);
  gap: 32px;
}

.cv-block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.cv-block-title i {
  color: var(--accent);
}

.cv-block-title h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cv-pill {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  background: var(--bg-elevated-alt);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  border: 1px solid var(--border-strong);
  white-space: nowrap;
}

/* ========= TIMELINE EXPÉRIENCES (même langage que la home) ========= */

.cv-xp-wrapper {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.cv-timeline {
  position: relative;
  height: 100%;
}

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

.cv-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));
}

.cv-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;
}

.cv-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;
}

.cv-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);
}

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

.cv-xp-list {
  margin-top: 4px;
}

.cv-xp-item {
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 14px 16px 12px;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease, background-color 0.35s ease, border-color 0.35s ease;
}

.cv-xp-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cv-xp-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.cv-xp-role {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
}

.cv-xp-company {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 4px;
}

.cv-xp-item ul {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cv-xp-item ul li {
  margin-bottom: 3px;
}

/* ========= FORMATIONS & COMPÉTENCES ========= */

.cv-formation-item { margin-bottom: 12px; }

.cv-formation-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2px;
}

.cv-formation-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.cv-formation-lieu {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cv-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 18px;
  margin-bottom: 6px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cv-skill-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.cv-skill-list li {
  position: relative;
  padding-left: 12px;
}

.cv-skill-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent);
  font-size: 0.7rem;
}

/* ========= BLOC CONFIANCE ========= */

.trust-section {
  margin-top: 32px;
  margin-bottom: 50px;
}

.trust-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 26px 24px 24px;
  text-align: center;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

.trust-card img {
  max-width: 380px;
  width: 100%;
  height: auto;
  margin-bottom: 16px;
  transition: filter 0.35s ease;
}

:root[data-theme="dark"] .trust-card img {
  filter: invert(1) hue-rotate(180deg);
}

.trust-card h4 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ========= RESPONSIVE ========= */
@media (max-width: 900px) {
  .cv-grid { grid-template-columns: minmax(0, 1fr); }
  .cv-card { padding: 22px 20px 22px; }

  .cv-xp-wrapper {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 6px;
  }
}

@media (max-width: 600px) {
  .cv-inner { padding: 0 16px 40px; }
  .trust-card img { max-width: 320px; }

  .cv-xp-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
