/* HT EXPERIENCE — pages de contenu (Qui suis-je) */

:root {
  --ink: #252525;
  --ink-soft: #555;
  --muted: #8a8a8a;
  --dark: #252525;
  --paper: #ffffff;
  --page: #f6f6f3;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #252525;
  --font: "Avenir Next", "Segoe UI", Inter, system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--page); -webkit-font-smoothing: antialiased; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header { background: var(--dark); display: flex; justify-content: center; padding: clamp(14px, 2.5vh, 28px) 16px; }
.site-header__logo { line-height: 0; }
.site-header__logo img { width: clamp(200px, 22vw, 300px); }
.site-header__logo:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* Hero */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: clamp(40px, 7vw, 88px) 0; }
.hero__inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__photo { width: clamp(180px, 22vw, 280px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 8px var(--page), 0 0 0 9px var(--line); }
.eyebrow { margin: 0 0 8px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero__name { margin: 0; font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.05; letter-spacing: -.02em; }
.hero__role { margin: 10px 0 22px; font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 600; color: var(--ink-soft); }
.hero__intro { margin: 0 0 14px; max-width: 64ch; font-size: 1.05rem; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--accent); background: var(--accent); color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: #fff; }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); padding: clamp(40px, 6vw, 72px) 0; align-items: start; }

.section-title { margin: 0 0 28px; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.01em; }
.section-title--small { font-size: 1.2rem; margin-bottom: 16px; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--line); }
.job { position: relative; padding-bottom: 40px; }
.job:last-child { padding-bottom: 0; }
.job::before { content: ""; position: absolute; left: -36px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--page); border: 3px solid var(--ink); }
.job:first-child::before { background: var(--ink); }
.job__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-bottom: 10px; }
.job__title { margin: 0; font-size: 1.12rem; line-height: 1.35; }
.job__title span { font-weight: 500; color: var(--ink-soft); }
.job__date { margin: 0; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.job__list { margin: 0 0 10px; padding-left: 18px; color: var(--ink-soft); }
.job__list li { margin-bottom: 6px; }
.job__list strong { color: var(--ink); }
.job__clients { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.job__clients strong { color: var(--ink); }

/* Sidebar */
.sidebar { display: grid; gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.card__sub { margin: 18px 0 8px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card__sub:first-of-type { margin-top: 0; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 4px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .82rem; }
.chips--light li { background: transparent; color: var(--ink); border: 1px solid rgba(0,0,0,.18); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.facts strong { display: block; font-size: .95rem; line-height: 1.4; }
.facts span { font-size: .85rem; color: var(--muted); }

/* Activités */
.activities { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0; }
.activities__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.activity { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 32px 20px; border-radius: 14px; text-align: center; text-decoration: none; font-weight: 500; font-size: .95rem; transition: transform .25s ease, box-shadow .25s ease; position: relative; overflow: hidden; }
.activity::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--strip); }
.activity:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.activity img { width: min(70%, 200px); height: 90px; object-fit: contain; }
.activity--nolime { background: #f4f1fd; color: #5b3fc4; --strip: linear-gradient(90deg, #366efb 0 33.3%, #8d67e4 33.3% 66.6%, #25a382 66.6%); }
.activity--6angles { background: #eaf3f9; color: #242e7c; --strip: linear-gradient(180deg, #242e7c 0 50%, #e30613 50%); }
.activity--acry { background: #fff5ee; color: #29235c; --strip: linear-gradient(90deg, #fbb816 4%, #eb5b3a 25%, #e71e72 50%, #46aee3 75%, #64bead 100%); }

/* Footer */
.site-footer { background: var(--dark); color: rgba(255,255,255,.6); font-size: .8rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 24px; padding: 12px 16px; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: #fff; text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .activities__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hero__intro { text-align: left; }
  .hero__actions { justify-content: center; }
  .job__date { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Footer mobile : copyright sur une ligne, liens dessous */
@media (max-width: 520px) {
  .site-footer > span { flex-basis: 100%; text-align: center; }
}
