/* ============================================================
   CAPEXIA — Design System
   Base: variables CSS, reset, typographie, éléments partagés
   ============================================================ */

:root {
  --navy: #0d1b2a;
  --navy-mid: #132236;
  --navy-light: #1c3352;
  --accent: #c8a96e;
  --accent-light: #e8c98a;
  --white: #f8f5f0;
  --grey: #8a9bb0;
  --grey-light: #d4dde8;
  --text: #e8ecf0;
  --text-muted: #7a8fa6;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--text);
  overflow-x: hidden;
}

/* ── Typographie ─────────────────────────────────────────── */
h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 26px;
}
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 23px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}
h1 em, h2 em { font-style: italic; color: var(--accent); }

/* ── Shared ──────────────────────────────────────────────── */
section { padding: 100px 60px; }

.section-tag {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-lead {
  font-size: 16px;
  line-height: 1.78;
  color: var(--grey);
  max-width: 560px;
  font-weight: 300;
}

/* ── Boutons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--navy);
  padding: 15px 30px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .3s;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--grey-light);
  font-size: 13px;
  text-decoration: none;
  letter-spacing: .5px;
  border: none;
  border-bottom: 1px solid rgba(212,221,232,.3);
  padding-bottom: 2px;
  transition: all .3s;
  cursor: pointer;
  background: none;
  font-family: 'DM Sans', sans-serif;
}
.btn-secondary:hover { color: var(--white); border-color: var(--white); }

/* ── Animations scroll ───────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(28px); transition: all .7s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.breadcrumb-item { font-size: 12px; color: var(--text-muted); text-decoration: none; transition: color .2s; }
.breadcrumb-item:hover { color: var(--accent); }
.breadcrumb-sep { font-size: 10px; color: var(--text-muted); opacity: .4; }
.breadcrumb-item.current { color: var(--grey); }

/* ── Author block ────────────────────────────────────────── */
.author-block {
  display: flex; align-items: center; gap: 20px;
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin: 46px 0;
}
.author-avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-light), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; color: var(--navy); font-weight: 500; flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 500; color: var(--white); margin-bottom: 3px; }
.author-title { font-size: 12px; color: var(--text-muted); }
