:root {
  --sand: #f7f0e6;
  --sand-2: #efe4d4;
  --paper: #fffaf3;
  --ink: #2f2925;
  --ink-soft: #5b514a;
  --terra: #b75a3c;
  --terra-deep: #97462c;
  --terra-soft: #f0d5c8;
  --sage: #7d9476;
  --sage-deep: #4f6649;
  --sage-soft: #dfe7da;
  --blue: #a9bfd1;
  --blue-soft: #e2ebf2;
  --line: #e4d6c3;
  --radius-l: 36px;
  --radius-m: 24px;
  --shadow: 0 1px 2px rgba(80, 55, 35, .06), 0 12px 32px -12px rgba(80, 55, 35, .18);
  --serif: "Young Serif", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--terra-deep); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
  border-radius: 12px;
}

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 10;
}
.skip:focus { left: 16px; }

/* ---------- Barre haute ---------- */
.topbar { padding: 18px 0; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.back {
  font-size: 14px; color: var(--ink-soft); text-decoration: none;
  padding: 6px 12px; border-radius: 999px; transition: background .2s;
}
.back:hover { background: var(--sand-2); color: var(--ink); }
.topbar nav { display: flex; gap: 6px; flex-wrap: wrap; }
.topbar nav a {
  font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none;
  padding: 8px 14px; border-radius: 999px; transition: background .2s;
}
.topbar nav a:hover { background: var(--paper); }
.topbar nav a.pill { background: var(--ink); color: var(--paper); }
.topbar nav a.pill:hover { background: var(--terra-deep); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 32px 0 88px; }
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
}
.hello {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid var(--line);
  padding: 8px 16px 8px 10px; border-radius: 999px;
  font-size: 15px; color: var(--ink-soft); box-shadow: var(--shadow);
}
.hello .dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--sage);
  box-shadow: 0 0 0 4px var(--sage-soft);
}
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 6.2vw, 72px); line-height: 1.05;
  letter-spacing: -.01em; margin: 22px 0 18px;
}
.hero h1 em { font-style: normal; color: var(--terra); }
.hero .role {
  font-size: clamp(19px, 2.2vw, 23px); font-weight: 600; margin: 0 0 18px; color: var(--ink);
}
.hero .pitch { font-size: 18px; color: var(--ink-soft); max-width: 36em; margin: 0 0 26px; }
.tags { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
}
.tags li:nth-child(1) { background: var(--terra-soft); border-color: transparent; }
.tags li:nth-child(2) { background: var(--sage-soft); border-color: transparent; }
.tags li:nth-child(3) { background: var(--blue-soft); border-color: transparent; }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 16px;
  padding: 14px 22px; border-radius: 999px; text-decoration: none;
  border: 2px solid var(--ink); color: var(--ink); background: transparent;
  transition: transform .2s ease, background .2s, color .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--terra-deep); border-color: var(--terra-deep); color: #fff; }
.btn.primary:hover { background: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--paper); }

.portrait { position: relative; justify-self: center; width: min(420px, 100%); }
.portrait .blob {
  position: absolute; inset: -8% -12% -6% -10%; z-index: 0; width: 122%; height: 114%;
}
.portrait .arch {
  position: relative; z-index: 1;
  border-radius: 999px 999px var(--radius-l) var(--radius-l);
  overflow: hidden; aspect-ratio: 868 / 1054;
  border: 10px solid var(--paper); box-shadow: var(--shadow);
  background: var(--sand-2);
}
.portrait .arch img { width: 100%; height: 100%; object-fit: cover; }
.portrait .bubble {
  position: absolute; z-index: 2; left: -28px; bottom: 34px;
  background: var(--paper); border-radius: 22px 22px 22px 6px;
  padding: 12px 16px; font-size: 15px; font-weight: 600; box-shadow: var(--shadow);
  max-width: 230px; line-height: 1.35;
}
.portrait .bubble span { display: block; font-weight: 400; color: var(--ink-soft); font-size: 13px; }

/* ---------- Section dialogue ---------- */
.dialogue {
  background: var(--paper);
  border-radius: 56px 56px 0 0;
  padding: 88px 0 96px;
  position: relative;
}
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--sage-deep); margin-bottom: 10px;
}
h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 4.2vw, 46px); line-height: 1.12; margin: 0 0 14px;
}
.section-head p { color: var(--ink-soft); margin: 0; font-size: 18px; }

.chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: 0 auto 40px; max-width: 860px; padding: 0; list-style: none;
}
.chips a {
  display: inline-block; font-size: 14px; font-weight: 600; text-decoration: none;
  color: var(--ink); background: var(--sand); padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); transition: background .2s, border-color .2s;
}
.chips a:hover { background: var(--terra-soft); border-color: var(--terra-soft); }

.thread { max-width: 860px; margin: 0 auto; display: grid; gap: 18px; }
.qa {
  background: var(--sand); border-radius: var(--radius-l);
  border: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s;
  scroll-margin-top: 24px;
}
.qa[open] { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.qa summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 20px 24px;
}
.qa summary::-webkit-details-marker { display: none; }
.picto {
  width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; flex: none;
}
.picto svg { width: 36px; height: 36px; }
.qa:nth-of-type(3n+1) .picto { background: var(--terra-soft); color: var(--terra-deep); }
.qa:nth-of-type(3n+2) .picto { background: var(--sage-soft); color: var(--sage-deep); }
.qa:nth-of-type(3n+3) .picto { background: var(--blue-soft); color: #3f5a70; }
.q { display: block; }
.q small {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2px;
}
.q strong {
  display: block; font-family: var(--serif); font-weight: 400;
  font-size: clamp(19px, 2.3vw, 24px); line-height: 1.25;
}
.toggle {
  width: 40px; height: 40px; border-radius: 50%; background: var(--paper);
  display: grid; place-items: center; border: 1px solid var(--line); transition: transform .3s ease, background .2s;
}
.toggle svg { width: 16px; height: 16px; }
.qa[open] .toggle { transform: rotate(45deg); background: var(--terra-soft); border-color: transparent; }

.answer { padding: 0 24px 28px 100px; }
.reply {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: end;
}
.reply .text {
  background: var(--sand); border-radius: 26px 26px 6px 26px; padding: 20px 24px;
}
.reply .text p { margin: 0 0 12px; }
.reply .text p:last-child { margin-bottom: 0; }
.reply .avatar {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(80, 55, 35, .15); flex: none;
}
.reply .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.answer ul.dots { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.answer ul.dots li { position: relative; padding-left: 22px; }
.answer ul.dots li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px;
  border-radius: 50%; background: var(--terra);
}
.mini-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding: 0; list-style: none; }
.mini-tags li {
  font-size: 13px; font-weight: 600; padding: 4px 11px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
}

/* Frise courte */
.path { list-style: none; margin: 6px 0 0; padding: 0; position: relative; }
.path::before {
  content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--terra) 0 6px, transparent 6px 12px);
  opacity: .55;
}
.path li { position: relative; padding: 0 0 18px 40px; }
.path li:last-child { padding-bottom: 0; }
.path li::before {
  content: ""; position: absolute; left: 3px; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 3px solid var(--terra);
}
.path li:first-child::before { background: var(--terra); }
.path .when { font-size: 13px; font-weight: 700; color: var(--terra-deep); letter-spacing: .02em; }
.path .what { display: block; font-weight: 700; line-height: 1.35; }
.path .where { display: block; color: var(--ink-soft); font-size: 15px; }
.path .how { display: block; font-size: 15px; margin-top: 4px; }
.facts {
  margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.facts div { background: #fff; border-radius: 18px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.facts b { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 2px; }

.thread-tools { max-width: 860px; margin: 22px auto 0; display: flex; justify-content: center; }
.linkbtn {
  font: 600 15px var(--sans); color: var(--ink-soft); background: none; border: 0; cursor: pointer;
  padding: 8px 14px; border-radius: 999px; text-decoration: underline; text-underline-offset: 3px;
}
.linkbtn:hover { color: var(--ink); background: var(--sand); }

/* ---------- Contact ---------- */
.contact { background: var(--paper); padding: 0 0 96px; }
.card-cta {
  position: relative; overflow: hidden;
  background: var(--sage-deep); color: #fff;
  border-radius: 48px; padding: 64px 56px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.card-cta .deco { position: absolute; right: -80px; top: -90px; width: 360px; height: 360px; opacity: .22; pointer-events: none; }
.card-cta h2 { color: #fff; }
.card-cta p { margin: 0; color: #eef3ec; font-size: 18px; max-width: 32em; }
.card-cta .actions { position: relative; display: grid; gap: 12px; }
.card-cta .btn { border-color: #fff; color: #fff; justify-content: flex-start; }
.card-cta .btn.primary { background: #fff; color: var(--sage-deep); border-color: #fff; }
.card-cta .btn.primary:hover { background: var(--terra-soft); border-color: var(--terra-soft); color: var(--ink); }
.card-cta .btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.cv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cv-row .btn { justify-content: center; }

footer { background: var(--paper); padding: 0 0 40px; font-size: 14px; color: var(--ink-soft); }
footer .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--line); padding-top: 22px;
}
footer a { color: var(--ink-soft); }

/* ---------- Apparitions ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
  .qa[open] .answer { animation: pop .35s ease; }
  @keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .portrait .blob { animation: breathe 12s ease-in-out infinite alternate; transform-origin: center; }
  @keyframes breathe { to { transform: rotate(6deg) scale(1.03); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .toggle { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .portrait { order: -1; width: min(340px, 82%); }
  .card-cta { grid-template-columns: 1fr; padding: 48px 32px; }
}
@media (max-width: 720px) {
  .topbar nav a:not(.pill):not(.lang) { display: none; }
  .answer { padding: 0 18px 22px; }
  .qa summary { padding: 16px 18px; gap: 14px; }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .hero { padding-bottom: 64px; }
  .portrait .bubble { left: -8px; bottom: 18px; max-width: 200px; font-size: 14px; }
  .picto { width: 46px; height: 46px; border-radius: 16px; }
  .picto svg { width: 28px; height: 28px; }
  .toggle { width: 34px; height: 34px; }
  .qa summary { grid-template-columns: auto 1fr auto; gap: 12px; padding: 14px; }
  .answer { padding: 0 14px 18px; }
  .reply { grid-template-columns: 1fr; }
  .reply .avatar { display: none; }
  .reply .text { padding: 16px 18px; border-radius: 22px; }
  .dialogue { border-radius: 36px 36px 0 0; padding: 64px 0 72px; }
  .card-cta { padding: 40px 22px; border-radius: 32px; }
  .cv-row { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero .btns .btn { width: auto; flex: 1 1 auto; }
}

/* ---------- Enrichissements : méthode, leçon, témoignages ---------- */
.steps { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: step; }
.steps li {
  counter-increment: step; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px 5px 6px; font-size: 14px; font-weight: 600;
}
.steps li::before {
  content: counter(step); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sage-soft); color: var(--sage-deep); font-size: 12px; font-weight: 700;
}
.lesson {
  font-family: var(--serif); font-size: 18px; line-height: 1.45; color: var(--terra-deep);
  border-left: 3px solid var(--terra); padding-left: 14px; margin-top: 16px !important;
}

.voices { background: var(--sand); padding: 88px 0; }
.voices-grid { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: start; }
.voice.wide { grid-column: 1 / -1; }
.voice-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--sage-deep); background: var(--sage-soft); border-radius: 999px; padding: 3px 10px; margin-bottom: 12px; position: relative;
}
.voice:not(.wide) blockquote p { font-size: clamp(17px, 1.9vw, 19px); line-height: 1.5; }
.voices-more { text-align: center; margin: 28px 0 0; font-weight: 600; }
.voice {
  margin: 0; background: var(--paper); border-radius: var(--radius-l); padding: 32px 36px;
  border: 1px solid var(--line); position: relative;
}
.voice::before {
  content: "“"; position: absolute; top: -18px; left: 28px; font-family: var(--serif); font-size: 96px; line-height: 1;
  color: var(--terra-soft);
}
.voice blockquote { margin: 0 0 18px; position: relative; }
.voice blockquote p { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 26px); line-height: 1.35; margin: 0 0 6px; }
.voice figcaption strong { display: block; }
.voice figcaption span { display: block; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 640px) {
  .voices-grid { grid-template-columns: 1fr; }
  .voices { padding: 64px 0; }
  .voice { padding: 26px 22px; }
}

/* ---------- Site en ligne : marque et langue ---------- */
.back.brand { font-family: var(--serif); font-size: 18px; color: var(--ink); padding-left: 0; }
.back.brand:hover { background: none; }
.topbar nav a.lang { border: 1px solid var(--line); background: var(--paper); font-weight: 700; letter-spacing: .04em; }
.topbar nav a.lang:hover { border-color: var(--terra); color: var(--terra-deep); }
