:root {
  --bg: #1a1612;
  --bg-elevated: #251e18;
  --bg-quote: #2a2219;
  --text: #f5ecd7;
  --text-soft: #d8caa8;
  --text-muted: #a89a7e;
  --accent: #f0c870;
  --accent-soft: #d4ad58;
  --calm: #8fb8a8;       /* vert sauge — accent secondaire pour zen */
  --rule: #4a3d2e;
  --rule-soft: #322a21;

  --font-body: 'Atkinson Hyperlegible', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Lora', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 32px 96px;
}

/* ===== TOP NAV ===== */
.topnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--rule-soft);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}
.topnav .brand {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.topnav .brand .small {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 12px;
}
.topnav .progress {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 700;
}

/* ===== HERO ===== */
.hero {
  padding: 48px 0 64px;
  text-align: center;
}
.hero .eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 700;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: 64px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--text);
}
.hero h1 em { font-style: italic; font-weight: 500; color: var(--accent); }
.hero .sub {
  font-size: 23px;
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto;
  font-weight: 400;
}

/* ===== TITLES ===== */
h2 {
  font-family: var(--font-head);
  font-size: 42px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 64px 0 16px;
}
h3 {
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--text);
  margin: 48px 0 18px;
}
h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 36px 0 14px;
}

p { margin: 0 0 22px; color: var(--text); }
p.lead {
  font-size: 24px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 36px;
  font-weight: 400;
}

em { color: var(--accent); font-style: italic; font-weight: 700; }
strong { color: var(--text); font-weight: 700; }
a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
a:hover { border-bottom-color: var(--accent); }

/* ===== STEP HEADER ===== */
.step-header {
  margin: 40px 0 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule-soft);
}
.step-header .num {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 700;
}
.step-header h1 {
  font-family: var(--font-head);
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 18px;
}
.step-header .duration {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 15px;
  color: var(--text-soft);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.step-header .duration .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--calm);
}

/* ===== EXERCISE BOX ===== */
.exercise {
  margin: 40px 0;
  padding: 32px;
  background: var(--bg-elevated);
  border-radius: 12px;
  border-left: 4px solid var(--calm);
}
.exercise .label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--calm);
  font-weight: 700;
  margin-bottom: 12px;
}
.exercise .title {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.25;
}
.exercise ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.exercise ol li {
  counter-increment: step;
  position: relative;
  padding: 16px 0 16px 56px;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 20px;
  line-height: 1.6;
}
.exercise ol li:last-child { border-bottom: none; }
.exercise ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 16px;
  width: 36px;
  height: 36px;
  background: var(--calm);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

/* ===== TIP ===== */
.tip {
  margin: 36px 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(240, 200, 112, 0.10), rgba(240, 200, 112, 0.04));
  border: 1px solid var(--accent-soft);
  border-radius: 10px;
}
.tip .l {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.tip p { margin: 0; font-size: 19px; line-height: 1.65; }
.tip p:not(:last-child) { margin-bottom: 12px; }

/* ===== QUOTE ===== */
.quote {
  margin: 48px 0;
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.quote .text {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 26px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}
.quote .text::before { content: "« "; color: var(--accent-soft); }
.quote .text::after { content: " »"; color: var(--accent-soft); }
.quote .attr {
  display: block;
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 700;
}

/* ===== SCHEMA AREA ===== */
.schema {
  margin: 40px 0;
  padding: 36px;
  background: var(--bg-elevated);
  border-radius: 12px;
  text-align: center;
}
.schema .caption {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 20px;
}

/* ===== BREATH ANIMATION ===== */
.breath-anim {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.breath-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 184, 168, 0.35), rgba(143, 184, 168, 0.05));
  border: 2px solid var(--calm);
  animation: breathe 8s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--calm);
  font-family: var(--font-head);
  font-style: italic;
  font-size: 22px;
  font-weight: 600;
}
@keyframes breathe {
  0%, 100% { transform: scale(0.7); }
  50% { transform: scale(1); }
}
.breath-anim .labels {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== STEP CARDS (index) ===== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 40px 0;
}
.step-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: var(--bg-elevated);
  border-radius: 10px;
  border-left: 3px solid var(--rule);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
  border-bottom: none;
}
.step-card:hover {
  border-left-color: var(--accent);
  transform: translateX(4px);
  border-bottom: none;
}
.step-card .n {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
}
.step-card .body { flex: 1; }
.step-card .title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}
.step-card .meta {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

/* ===== BOTTOM NAV ===== */
.bottomnav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--rule-soft);
}
.bottomnav a {
  padding: 24px;
  background: var(--bg-elevated);
  border-radius: 10px;
  text-decoration: none;
  border-bottom: none;
  color: var(--text);
  transition: background 0.2s;
}
.bottomnav a:hover {
  background: var(--bg-quote);
  border-bottom: none;
}
.bottomnav .arrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 8px;
}
.bottomnav .title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.3;
}
.bottomnav .right { text-align: right; }
.bottomnav .disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ===== LIST ===== */
ul.dots, ol.dots {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
ul.dots li, ol.dots li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--rule-soft);
  line-height: 1.6;
  font-size: 20px;
}
ul.dots li:last-child, ol.dots li:last-child { border-bottom: none; }
ul.dots li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--calm);
  font-weight: 700;
  font-size: 22px;
}

/* ===== TWO-COLUMN COMPARE ===== */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.compare > div {
  padding: 22px 24px;
  background: var(--bg-elevated);
  border-radius: 8px;
}
.compare .reactive { border-top: 3px solid #d97a5e; }
.compare .conscious { border-top: 3px solid var(--calm); }
.compare h5 {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 12px;
}
.compare .reactive h5 { color: #f49680; }
.compare .conscious h5 { color: var(--calm); }
.compare p { font-size: 17px; line-height: 1.5; margin: 0; }

/* ===== HR ===== */
hr.orn { border: none; text-align: center; margin: 56px 0; color: var(--calm); }
hr.orn::before { content: "❋"; font-size: 22px; }

/* ===== DEFINITION ===== */
.definition {
  margin: 40px 0;
  padding: 28px 32px;
  background: var(--bg-elevated);
  border-radius: 10px;
  border-left: 4px solid var(--accent);
}
.definition .l {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}
.definition .text {
  font-family: var(--font-head);
  font-size: 22px;
  line-height: 1.5;
  font-style: italic;
  color: var(--text);
}
.definition .src {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

/* ===== MOBILE ===== */
@media (max-width: 720px) {
  body { font-size: 19px; line-height: 1.7; }
  .container { padding: 24px 20px 64px; }
  .topnav { padding: 16px 20px; }
  .topnav .brand { font-size: 18px; }
  .topnav .brand .small { display: none; }
  .hero h1, .step-header h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
  .exercise { padding: 22px; }
  .exercise .title { font-size: 22px; }
  .exercise ol li { font-size: 17px; padding-left: 48px; }
  .compare { grid-template-columns: 1fr; }
  .bottomnav { grid-template-columns: 1fr; }
  .bottomnav .right { text-align: left; }
  .step-card { padding: 18px 20px; gap: 14px; }
  .step-card .n { font-size: 32px; min-width: 44px; }
  .step-card .title { font-size: 18px; }
}
