:root {
  --paper: #FDFBF8;
  --ink: #17171A;
  --ink-soft: #5A575C;
  --blush: #E7CBCE;
  --blush-deep: #C48E93;
  --line-soft: #E7E3DC;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;

  --measure: 40rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .theme-label, .exp-role {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
}

a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blush-deep);
  outline-offset: 3px;
}

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.6rem 1.5rem;
  background: rgba(253, 251, 248, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-soft);
  flex-wrap: wrap;
}

.wordmark img {
  display: block;
  height: 54px;
  width: auto;
}

.nav {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
  font-weight: 400;
}

.nav a { color: var(--ink-soft); }
.nav a:hover { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--blush-deep); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 5.5rem 1.5rem 5rem;
  overflow: hidden;
  text-align: center;
}

.hero-stroke {
  display: block;
  width: min(90%, 34rem);
  height: 3.2rem;
  margin: 0 auto -1.6rem;
}
.hero-stroke path {
  fill: none;
  stroke: var(--blush);
  stroke-width: 16;
  stroke-linecap: round;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin: 0 auto;
  animation: rise 0.7s ease-out both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-kicker {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(1.9rem, 4.6vw, 2.9rem);
  line-height: 1.2;
  margin: 0 0 1.5rem;
  color: var(--ink);
}

.hero-sub {
  max-width: var(--measure);
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.08rem;
  text-align: left;
}

.hero-cta {
  display: inline-block;
  margin-top: 1.75rem;
  padding: 0.7rem 1.5rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 400;
  font-size: 0.95rem;
  border-radius: 2px;
}
.hero-cta:hover { background: var(--blush-deep); text-decoration: none; }

/* ---------- Sections, generic ---------- */

section {
  padding: 4.5rem 1.5rem;
}

h2 {
  font-size: 1.5rem;
  margin: 0 0 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Services (dossier index) ---------- */

.services { border-top: 1px solid var(--line-soft); }

.service-list {
  max-width: 48rem;
  margin: 0 auto;
}

.service-row {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line-soft);
}
.service-row:last-child { border-bottom: 1px solid var(--line-soft); }

.service-row dt {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.service-row dd {
  margin: 0;
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  .service-row { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ---------- Why ---------- */

.why {
  max-width: 40rem;
  margin: 0 auto;
  text-align: left;
}
.why-quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  border-left: 3px solid var(--blush);
  padding-left: 1.25rem;
  margin: 0 0 1.5rem;
  line-height: 1.4;
}
.why p:not(.why-quote) { color: var(--ink-soft); }

/* ---------- Parcours ---------- */

.parcours { border-top: 1px solid var(--line-soft); }

.parcours-grid {
  max-width: 48rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.parcours-col h3 {
  font-size: 1rem;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.theme-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blush-deep);
  margin: 1.25rem 0 0.5rem;
}
.theme-label:first-of-type { margin-top: 0; }

.parcours-col ul, .exp-list {
  list-style: none;
  margin: 0 0 0.25rem;
  padding: 0;
  color: var(--ink-soft);
}
.parcours-col li, .exp-list li {
  padding: 0.4rem 0;
  border-top: 1px solid var(--line-soft);
}
.parcours-col li:first-child, .exp-list li:first-child { border-top: none; }

.exp-role { font-weight: 700; color: var(--ink); }

@media (max-width: 640px) {
  .parcours-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---------- Studio ---------- */

.studio {
  background: var(--blush);
  color: var(--ink);
}
.studio-inner {
  max-width: 40rem;
  margin: 0 auto;
}
.studio h2 { color: var(--ink); text-align: left; margin-left: 0; }
.studio p { color: #4A3336; }
.studio-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--ink);
  border-bottom: 1px solid rgba(23,23,26,0.4);
}
.studio-link:hover { border-bottom-color: var(--ink); }

/* ---------- References ---------- */

.references { border-top: 1px solid var(--line-soft); }

.ref-list {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: ref;
  color: var(--ink-soft);
}
.ref-list li {
  counter-increment: ref;
  padding: 1rem 0 1rem 2.25rem;
  border-top: 1px solid var(--line-soft);
  position: relative;
}
.ref-list li:last-child { border-bottom: 1px solid var(--line-soft); }
.ref-list li::before {
  content: counter(ref);
  position: absolute;
  left: 0;
  top: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blush-deep);
}
.ref-name { font-weight: 500; color: var(--ink); font-family: var(--font-body); }

/* ---------- Enseignement ---------- */

.enseignement {
  max-width: 48rem;
  margin: 0 auto;
  padding-top: 0;
  color: var(--ink-soft);
}
.enseignement strong { color: var(--ink); font-weight: 500; }

/* ---------- Contact ---------- */

.contact {
  max-width: 48rem;
  margin: 0 auto;
  border-top: 1px solid var(--line-soft);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
}
