/* ═══════════════════════════════════════════════════════════
   BIO PAGE — Personal brand editorial design
   Reuses ecoles.css design tokens (navy/gold/cream)
   ═══════════════════════════════════════════════════════════ */

:root {
  --bio-navy: #0B1426;
  --bio-charcoal: #202124;
  --bio-gold: #D4A24C;
  --bio-gold-light: #E5BB6A;
  --bio-cream: #FAFAF9;
  --bio-grey-50: #F5F5F4;
  --bio-grey-100: #E7E5E4;
  --bio-grey-500: #78716C;
  --bio-grey-700: #44403C;

  --bio-font-display: 'Playfair Display', Georgia, serif;
  --bio-font-body: 'Inter', system-ui, sans-serif;
}

/* ─── HERO — portrait + text side by side ─────────────── */

.bio-hero {
  position: relative;
  background: var(--bio-cream);
  padding: 120px 0 80px;
  overflow: hidden;
}

.bio-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 25% 40%, rgba(212, 162, 76, 0.06), transparent),
    linear-gradient(180deg, var(--bio-cream) 0%, #F0EDE8 100%);
  pointer-events: none;
}

.bio-hero__container {
  position: relative;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: center;
  z-index: 1;
}

.bio-hero__portrait {
  position: relative;
}

.bio-hero__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(11, 20, 38, 0.12);
}

.bio-hero__kicker {
  display: inline-block;
  font-family: var(--bio-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--bio-gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--bio-gold);
}

.bio-hero__name {
  font-family: var(--bio-font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--bio-navy);
  margin: 0 0 20px;
}

.bio-hero__tagline {
  font-family: var(--bio-font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  font-style: italic;
  color: var(--bio-charcoal);
  margin: 0 0 24px;
  line-height: 1.3;
}

.bio-hero__intro {
  font-family: var(--bio-font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--bio-grey-700);
  margin: 0 0 28px;
  max-width: 580px;
}

.bio-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.bio-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--bio-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--bio-grey-500);
}

.bio-hero__meta-item svg {
  color: var(--bio-gold);
  flex-shrink: 0;
}

/* ─── STATS BANDEAU ───────────────────────────────────── */

.bio-stats {
  background: var(--bio-navy);
  padding: 48px 0;
}

.bio-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.bio-stat__num {
  font-family: var(--bio-font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.bio-stat__unit {
  font-size: 0.6em;
  color: var(--bio-gold);
}

.bio-stat__label {
  font-family: var(--bio-font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/* ─── NARRATIVE — personal story ──────────────────────── */

.bio-narrative__body p {
  font-family: var(--bio-font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--bio-grey-700);
  margin: 0 0 24px;
}

.bio-narrative__body p:first-child::first-letter {
  font-family: var(--bio-font-display);
  font-size: 3.2em;
  float: left;
  line-height: 0.85;
  margin-right: 8px;
  margin-top: 4px;
  color: var(--bio-navy);
}

.bio-narrative__body p:last-child {
  margin-bottom: 0;
}

/* ─── REPÈRES — compact milestones ─────────────────────── */

.bio-reperes__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bio-reperes__list li {
  font-family: var(--bio-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--bio-grey-700);
  padding: 16px 0;
  border-bottom: 1px solid var(--bio-grey-100);
  position: relative;
  padding-left: 20px;
}

.bio-reperes__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 24px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bio-gold);
}

.bio-reperes__list li:last-child {
  border-bottom: none;
}

.bio-reperes__list li:last-child::before {
  box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.2);
}

.bio-reperes__list strong {
  color: var(--bio-navy);
  font-weight: 700;
}

/* ─── DOMAINS — 2x2 grid ─────────────────────────────── */

.bio-domains__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.bio-domain {
  padding: 36px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--bio-grey-100);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.bio-domain:hover {
  box-shadow: 0 12px 40px rgba(11, 20, 38, 0.06);
  border-color: var(--bio-gold);
}

.bio-domain__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--bio-gold);
}

.bio-domain__icon svg {
  width: 32px;
  height: 32px;
}

.bio-domain h3 {
  font-family: var(--bio-font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--bio-navy);
  margin: 0 0 12px;
}

.bio-domain p {
  font-family: var(--bio-font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--bio-grey-500);
  margin: 0;
}

/* ─── LOGOS / REFS ────────────────────────────────────── */

.bio-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.bio-logo {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: #fff;
  border-radius: 100px;
  font-family: var(--bio-font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--bio-navy);
  border: 1px solid var(--bio-grey-100);
  transition: border-color 0.2s ease;
}

.bio-logo:hover {
  border-color: var(--bio-gold);
}

/* ─── LANGUES — banner ────────────────────────────────── */

.bio-langs {
  background: var(--bio-navy);
  padding: 56px 0;
  text-align: center;
}

.bio-langs__title {
  font-family: var(--bio-font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 32px;
}

.bio-langs__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.bio-lang {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.bio-lang--highlight {
  border-color: var(--bio-gold);
  background: rgba(212, 162, 76, 0.1);
}

.bio-lang__code {
  font-family: var(--bio-font-body);
  font-size: 14px;
  font-weight: 800;
  color: var(--bio-gold);
}

.bio-lang__level {
  font-family: var(--bio-font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* ─── CTA FINAL ───────────────────────────────────────── */

.bio-cta {
  background: var(--bio-cream);
  padding: 80px 0;
  text-align: center;
}

.bio-cta__inner {
  max-width: 640px;
  margin: 0 auto;
}

.bio-cta__title {
  font-family: var(--bio-font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--bio-navy);
  margin: 0 0 16px;
}

.bio-cta__desc {
  font-family: var(--bio-font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--bio-grey-700);
  margin: 0 0 32px;
}

.bio-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ─── RESPONSIVE ──────────────────────────────────────── */

@media (max-width: 900px) {
  .bio-hero__container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .bio-hero__portrait {
    max-width: 240px;
    margin: 0 auto;
  }

  .bio-hero__intro {
    max-width: none;
  }

  .bio-hero__meta {
    justify-content: center;
  }

  .bio-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .bio-domains__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .bio-hero {
    padding: 100px 0 60px;
  }

  .bio-stats__grid {
    grid-template-columns: 1fr 1fr;
  }

  .bio-langs__row {
    gap: 12px;
  }

  .bio-lang {
    padding: 10px 16px;
  }
}
