/* ==========================================================================
   5 GRAINES POUR LA VIE — style.css
   Feuille de style unique du site, séparée du HTML et des inclusions
   header/footer (voir js/site.js) pour une homogénéisation facile.
   Charte : fort contraste texte/fond (proche du noir sur blanc), légère
   teinte de fond, HTML aussi simple que possible.
   ========================================================================== */

:root {
  /* Fond et texte — fort contraste, légère teinte chaude */
  --bg: #fbfaf7;
  --bg-alt: #f3f0e9;
  --text: #201f1c;
  --text-soft: #55524a;
  --border: #ddd8cc;
  --white: #ffffff;

  /* Accent principal (navigation, boutons, liens) */
  --brand: #4a5d3f;
  --brand-dark: #333f2b;

  /* Couleurs par graine (accents seulement, jamais comme fond de texte) */
  --sante: #7C9473;
  --stabilite: #C2A661;
  --singularite: #D9A9A0;
  --cooperation: #A99FC4;
  --transmission: #8FB0BA;

  /* Typographie */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 6px;
  --max-width: 780px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a {
  color: var(--brand-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--brand); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-top: 2.2em; }
h3 { font-size: 1.3rem; margin-top: 1.6em; }

p { margin: 0 0 1.1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-wide {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Focus visibility (accessibilité) ---------- */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

/* ---------- HEADER ---------- */
header.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.site-logo span { color: var(--brand); }

nav.site-nav {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}
nav.site-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
nav.site-nav a:hover,
nav.site-nav a[aria-current="page"] {
  border-bottom-color: var(--brand);
  color: var(--brand-dark);
}

.site-nav-cta {
  background: var(--brand);
  color: var(--white) !important;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius);
  border-bottom: none !important;
}
.site-nav-cta:hover { background: var(--brand-dark); }

.site-header-right { display: flex; align-items: center; gap: 14px; }
.yv-logo { height: 28px; width: auto; display: block; }
.yv-logo--footer { height: 40px; margin-bottom: 0.6rem; }
.lang-switch { position: relative; }
.lang-current {
  display: flex; align-items: center; gap: 4px; background: none; border: 1px solid var(--border);
  border-radius: 20px; padding: 4px 10px; font-size: 0.85rem; cursor: pointer; font-family: inherit; color: var(--text);
}
.lang-caret { font-size: 0.7em; }
.lang-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 6px); background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  list-style: none; margin: 0; padding: 6px; min-width: 160px; z-index: 60;
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu li { padding: 0; }
.lang-menu a, .lang-menu .lang-soon { display: block; padding: 7px 10px; border-radius: 6px; font-size: 0.88rem; text-decoration: none; color: var(--text); }
.lang-menu a[aria-current="page"] { background: var(--bg-alt); font-weight: 600; }
.lang-menu .lang-soon { color: var(--text-soft); cursor: default; }
.lang-menu .lang-soon em { font-style: normal; font-size: 0.8em; }

/* ---------- FOOTER ---------- */
footer.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  margin-top: 4rem;
  padding: 2.5rem 1.5rem 1.2rem;
}
.site-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}
.site-footer-inner a { color: var(--text-soft); display: block; margin-bottom: 0.4rem; text-decoration: none; }
.site-footer-inner a:hover { color: var(--brand-dark); text-decoration: underline; }
.footer-brand p { margin: 0 0 0.3rem; }
.footer-col-title { font-family: var(--font-display); font-weight: 700; color: var(--text); margin-bottom: 0.6rem; font-size: 0.95rem; }
.footer-graines { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.footer-graines a { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 0; }
.site-footer-bottom {
  max-width: 1080px; margin: 1.6rem auto 0; padding-top: 1rem; border-top: 1px solid var(--border);
  font-size: 0.8rem; color: var(--text-soft);
}
@media (max-width: 760px) {
  .site-footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ---------- HERO ---------- */
.hero {
  padding: 4rem 0 3rem;
  text-align: center;
}
.hero--compact { padding: 2.5rem 0 1.5rem; text-align: left; }
.hero--compact .lead { max-width: 720px; margin: 0; }
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}
.hero p.lead {
  font-size: 1.2rem;
  color: var(--text-soft);
  max-width: 620px;
  margin: 0 auto 1.6em;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  border: 1px solid var(--brand);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
}
.btn-primary {
  background: var(--brand);
  color: var(--white);
}
.btn-primary:hover { background: var(--brand-dark); color: var(--white); }
.btn-secondary {
  background: transparent;
  color: var(--brand-dark);
}
.btn-secondary:hover { background: var(--bg-alt); }
.btn-row { display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; margin: 1.5rem 0; }

/* ---------- CARDS (graines, tests, ressources) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin: 2rem 0;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  text-decoration: none;
  color: var(--text);
  display: block;
  border-top: 4px solid var(--brand);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.07); }
.card h3 { margin-top: 0; font-size: 1.15rem; }
.card p { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 0; }

.card.g-sante { border-top-color: var(--sante); }
.card.g-stabilite { border-top-color: var(--stabilite); }
.card.g-singularite { border-top-color: var(--singularite); }
.card.g-cooperation { border-top-color: var(--cooperation); }
.card.g-transmission { border-top-color: var(--transmission); }

/* ---------- SECTIONS génériques ---------- */
section.block { padding: 2.5rem 0; }
section.block-alt { background: var(--bg-alt); }
.section-title-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
}

/* ---------- Meditation box ---------- */
.meditation-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--graine-color, var(--brand));
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  margin: 1.6rem 0 2.2rem;
}
.meditation-box .label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  margin-bottom: 0.6rem;
}
.meditation-box p:last-child { margin-bottom: 0; font-style: italic; color: var(--text-soft); }

/* ---------- Practice box (corps / esprit) ---------- */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin: 1.4rem 0;
}
.practice-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  background: var(--white);
}
.practice-box .tag {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--graine-color, var(--brand));
  margin-bottom: 0.4rem;
}

/* ---------- Graine page header band (variante B) ---------- */
.graine-band {
  background: var(--bg);
  color: var(--text);
  padding: 3.2rem 0 2.4rem;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.graine-band .icon-circle {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--graine-color, var(--brand)); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.graine-band .icon-circle .icon-svg { width: 1.7rem; height: 1.7rem; }
.graine-band .eyebrow {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-soft); opacity: 1; margin-bottom: 0.3rem;
}
.graine-band h1 { color: var(--text); font-size: 2.4rem; margin: 0; }
.graine-band h1 .icon-svg { display: none; } /* l'icône vit désormais dans le badge rond */
.graine-band .band-rule { width: 64px; height: 1px; background: var(--graine-color, var(--brand)); margin: 1rem auto; }
.graine-band .subtitle { font-style: italic; color: var(--text-soft); opacity: 1; font-size: 1.05rem; }
.graine-band nav.substeps {
  display: flex; justify-content: center; gap: 0.4rem; flex-wrap: wrap; margin-top: 1.4rem;
}
.graine-band nav.substeps a {
  color: var(--text);
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
}
.graine-band nav.substeps a:hover { background: color-mix(in srgb, var(--graine-color, var(--brand)) 10%, white); border-color: var(--graine-color, var(--brand)); }

.step-anchor { scroll-margin-top: 90px; }
.step-heading {
  border-bottom: 2px solid var(--graine-color, var(--brand));
  padding-bottom: 0.4rem;
  display: inline-block;
}
.step-question {
  color: var(--text-soft);
  font-style: italic;
  margin-top: -0.6em;
  margin-bottom: 1.4em;
}

/* ---------- Test styles ---------- */
.test-question {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin-bottom: 1rem;
  background: var(--white);
}
.test-question p.q-text { font-weight: 500; margin-bottom: 0.7rem; }
.test-question label {
  display: block;
  padding: 0.4rem 0.2rem;
  cursor: pointer;
}
.test-question label:hover { color: var(--brand-dark); }
.test-question input { margin-right: 0.6rem; }

.progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin: 1rem 0 2rem;
  position: sticky; top: 70px; z-index: 20;
}
.progress-bar-fill {
  height: 100%;
  background: var(--brand);
  width: 0%;
  transition: width 0.2s ease;
}

.result-box {
  border: 2px solid var(--graine-color, var(--brand));
  border-radius: var(--radius);
  padding: 2rem;
  background: var(--white);
  margin: 1.5rem 0;
}
.result-box h2 { margin-top: 0; }

.checklist-affirmation {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.7rem;
  background: var(--white);
  cursor: pointer;
}
.checklist-affirmation input { margin-top: 0.25rem; }

/* ---------- Ma graine du moment (widget) ---------- */
.moment-widget {
  border: 1px solid var(--border);
  border-left: 5px solid var(--brand);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.3rem 1.5rem;
  margin: 1.6rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.moment-widget .m-icon { font-size: 1.8rem; }
.moment-widget .m-body { flex: 1; min-width: 200px; }
.moment-widget .m-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-soft); }
.moment-widget .m-title { font-family: var(--font-display); font-size: 1.3rem; margin: 0.1rem 0; }
.moment-widget .m-actions a { font-size: 0.9rem; margin-right: 0.8rem; }

/* ---------- Journal ---------- */
.journal-entry {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin-bottom: 0.9rem;
  background: var(--white);
}
.journal-entry .je-meta { font-size: 0.8rem; color: var(--text-soft); margin-bottom: 0.3rem; }
.journal-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 100px;
  resize: vertical;
}
.journal-form select, .journal-form input[type=text] {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ---------- Oracle ---------- */
.oracle-stage {
  text-align: center;
  padding: 2.5rem 0;
}
.oracle-card {
  width: 220px;
  min-height: 300px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--graine-color, var(--brand));
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.oracle-card .oc-icon { font-size: 2.6rem; margin-bottom: 0.8rem; }
.oracle-card .oc-back { font-family: var(--font-display); font-size: 1.3rem; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.muted { color: var(--text-soft); }
.small { font-size: 0.88rem; }
.mt-0 { margin-top: 0; }
.divider { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.tag-pill {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--text-soft);
  margin-bottom: 0.8rem;
}
.callout {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin: 1.4rem 0;
}
.callout.small-print { font-size: 0.88rem; color: var(--text-soft); }
.callout-links { border-left: 3px solid var(--brand); }
.callout-links ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.callout-links li { margin-bottom: 0.3rem; }
.divider-light { border: none; border-top: 1px dashed var(--border); margin: 1.8rem 0; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .graine-band { padding: 2.2rem 0 1.6rem; }
}

/* ---------- Print (export PDF via impression navigateur) ---------- */
@media print {
  header.site-header, footer.site-footer, nav.substeps, .btn-row, .no-print { display: none !important; }
  body { background: #fff; }
}

/* ---- Test Équipe ---- */
.form-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.form-row input[type="text"], .form-row select {
  flex: 1; min-width: 200px; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: 6px; font-family: inherit; font-size: 0.95rem; background: var(--white);
}
.participant-list { list-style: none; padding: 0; }
.participant-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px; margin-bottom: 6px;
  background: var(--white);
}
.link-btn { background: none; border: none; color: var(--text-soft); text-decoration: underline; cursor: pointer; font-size: 0.85rem; }
.quiz-card .option { display: block; padding: 10px 12px; margin: 6px 0; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; }
.quiz-card .option:hover { background: var(--bg-alt); }
.quiz-card input[type="radio"] { margin-right: 8px; }
.quiz-card--full .quiz-question { padding: 14px 0; border-bottom: 1px solid var(--border); }
.quiz-card--full .quiz-question:first-of-type { padding-top: 0; }
.quiz-card--full .quiz-question h3 { font-size: 1rem; margin: 0 0 8px; }
.quiz-card--full #submit-quiz { margin-top: 18px; }

.moment-widget--wide { align-items: flex-start; padding: 1.6rem 1.8rem; }
.moment-widget--wide .m-title { font-size: 1.5rem; margin-bottom: 0.6rem; }
.moment-widget--wide .m-body p { margin: 0.6rem 0; line-height: 1.55; }
.moment-widget--wide .m-icon { font-size: 2.2rem; }

.bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.bar-label { width: 110px; font-size: 0.9rem; font-weight: 500; }
.bar-track { flex: 1; height: 18px; background: var(--bg-alt); border-radius: 9px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 9px; transition: width .4s; }
.bar-vata { background: var(--stabilite); }
.bar-pitta { background: var(--singularite); }
.bar-kapha { background: var(--sante); }
.bar-count { width: 24px; text-align: right; font-weight: 600; }

.pairs-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.92rem; }
.pairs-table th, .pairs-table td { text-align: left; padding: 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.pairs-table th { font-family: var(--font-serif); font-weight: 700; }
.tag { display: inline-block; font-size: 0.78rem; background: var(--bg-alt); padding: 2px 8px; border-radius: 10px; margin-left: 4px; }
.actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* ---- Test Émotions ---- */
.scale-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.scale-opt { flex: 1; min-width: 110px; }
.scale-opt input { position: absolute; opacity: 0; }
.scale-opt span {
  display: block; text-align: center; padding: 10px 6px; border: 1px solid var(--border);
  border-radius: 6px; cursor: pointer; font-size: 0.88rem; transition: background .15s, border-color .15s;
}
.scale-opt input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--white); }
.scale-opt:hover span { border-color: var(--brand); }
.focus-card { border-top: 4px solid var(--brand); margin-bottom: 14px; }
.focus-card h3 { margin-top: 0; }
.graine-link { display: inline-block; margin-top: 4px; margin-right: 16px; font-size: 0.9rem; font-weight: 500; }
.graine-links { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 12px; }
.bar-row { position: relative; }
.bar-band { font-size: 0.82rem; color: var(--text-soft); width: 200px; text-align: right; white-space: nowrap; }
.sub-band-line { font-size: 0.82rem; color: var(--text-soft); margin: -6px 0 14px; padding-left: 2px; }
@media (max-width: 600px) {
  .bar-row { flex-wrap: wrap; }
  .bar-band { width: 100%; text-align: left; margin-left: 122px; white-space: normal; }
}
.scale-row--wrap .scale-opt { min-width: 160px; }

/* Météo intérieure */
.meteo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 14px; margin: 1.4rem 0; }
.meteo-item {
  display: flex; align-items: center; gap: 12px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.2rem;
}
.meteo-icon { font-size: 1.8rem; }
.meteo-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-soft); }
.meteo-value { font-family: var(--font-display); font-size: 1.2rem; }
.meteo-ressource-txt { background: var(--bg-alt); border-radius: var(--radius); padding: 1rem 1.2rem; }

/* Parcours visuel pratique / question / petit pas */
.focus-steps { margin: 1.4rem 0; }
.focus-step {
  display: flex; gap: 16px; padding: 4px 0 22px;
  position: relative;
}
.focus-step:not(:last-child)::before {
  content: ''; position: absolute; left: 23px; top: 50px; bottom: 0; width: 2px;
  background: var(--border);
}
.focus-step-icon {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; z-index: 1;
}
.focus-step-body { flex: 1; padding-top: 6px; }
.focus-step-label {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em;
  font-weight: 600; margin-bottom: 5px;
}
.focus-step-text { line-height: 1.6; }
.focus-step-text--question { font-style: italic; }
.focus-step--action {
  background: var(--bg-alt); border-radius: var(--radius); padding: 14px 16px;
  margin-left: -4px;
}
.focus-step--action::before { display: none; }

/* ---- Test Génie collectif ---- */
.genie-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 1rem; }
.genie-cols h3 { font-size: 1.05rem; }
@media (max-width: 760px) { .genie-cols { grid-template-columns: 1fr; } }

/* ---- Pour aller plus loin (pratiques complémentaires) ---- */
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 1rem 0 1.4rem; }
.filter-btn {
  border: 1px solid var(--border); background: var(--white); border-radius: 20px;
  padding: 6px 14px; font-size: 0.85rem; cursor: pointer; font-family: inherit;
  color: var(--text-soft); transition: background .15s, border-color .15s, color .15s;
}
.filter-btn:hover { border-color: var(--graine-color, var(--brand)); }
.filter-btn.active { background: var(--graine-color, var(--brand)); border-color: var(--graine-color, var(--brand)); color: #fff; }

.pratiques-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.pratique-card {
  border: 1px solid var(--border); border-left: 4px solid var(--graine-color, var(--brand));
  border-radius: var(--radius); background: var(--white); padding: 14px 16px;
}
.pratique-card-head {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  width: 100%; background: none; border: none; padding: 0; cursor: pointer; text-align: left; font-family: inherit;
  position: relative;
}
.pratique-type-tag { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--graine-color, var(--brand)); font-weight: 600; }
.pratique-titre { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; padding-right: 24px; }
.pratique-duree { font-size: 0.78rem; color: var(--text-soft); }
.pratique-chevron { position: absolute; top: 0; right: 0; color: var(--text-soft); transition: transform .2s; }
.pratique-card.open .pratique-chevron { transform: rotate(180deg); }
.pratique-resume { font-size: 0.88rem; color: var(--text-soft); margin: 8px 0 0; }
.pratique-detail { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 0.92rem; line-height: 1.55; }
.pratique-detail p { margin: 0; }

/* ---- Icônes ligne (remplacent les emojis) ---- */
.icon-svg { width: 1.15em; height: 1.15em; vertical-align: -0.2em; display: inline-block; }
h1 .icon-svg, h2 .icon-svg, h3 .icon-svg { width: 1em; height: 1em; vertical-align: -0.12em; }

/* ---- Hub des tests ---- */
.tests-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 16px; margin: 1.6rem 0 3rem; }
.test-link-card {
  display: block; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; background: var(--white); text-decoration: none; color: inherit;
  transition: box-shadow .15s, transform .15s;
}
.test-link-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.07); transform: translateY(-2px); }
.tlc-title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--brand-dark); margin-bottom: 0.4rem; }
.test-link-card p { margin: 0; font-size: 0.9rem; color: var(--text-soft); }

/* ---- Ebooks ---- */
.ebooks-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 1.8rem 0 3rem; }
.ebook-card { flex: 1 1 230px; max-width: 260px; }
.ebook-card { border: 1px solid var(--border); border-top: 4px solid var(--brand); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.5rem; background: var(--white); }
.ebook-icon { font-size: 1.6rem; margin-bottom: 0.3rem; }
.ebook-graine { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-soft); margin-bottom: 0.3rem; }
.ebook-card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.ebook-card p { font-size: 0.9rem; color: var(--text-soft); min-height: 3em; }
.ebook-soon { display: inline-block; font-size: 0.85rem; color: var(--text-soft); font-style: italic; }

/* ---- Stats hero ---- */
.stats-row { display: flex; gap: 2.2rem; justify-content: center; margin-top: 2.2rem; flex-wrap: wrap; }
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--brand-dark); }
.stat-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-soft); }

/* ---- Personas ---- */
.personas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; }
.persona-card { text-align: center; padding: 1.4rem 1.2rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); }
.persona-icon { font-size: 1.8rem; margin-bottom: 0.6rem; }
.persona-icon .icon-svg { width: 1.8rem; height: 1.8rem; }
.persona-card h3 { font-size: 1.02rem; margin: 0 0 0.4rem; }
.persona-card p { font-size: 0.88rem; color: var(--text-soft); margin: 0; }

/* ---- Graines "pétales" ---- */
.graines-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.graine-petal {
  width: 168px; min-height: 300px;
  background: color-mix(in srgb, var(--petal-color) 12%, white);
  border: 1px solid color-mix(in srgb, var(--petal-color) 30%, white);
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  display: flex; flex-direction: column; align-items: center;
  padding: 42px 16px 20px;
  text-align: center; text-decoration: none; color: var(--text);
  font-family: inherit; cursor: pointer;
  transition: transform .18s, box-shadow .18s;
}
.graine-petal:hover { transform: translateY(-6px); box-shadow: 0 10px 22px rgba(0,0,0,0.08); }
.graine-petal.active { box-shadow: 0 0 0 3px var(--petal-color); }
.petal-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
.petal-icon .icon-svg { width: 1.8rem; height: 1.8rem; }
.petal-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 0.4rem; }
.petal-sub { font-size: 0.82rem; color: var(--text-soft); line-height: 1.3; }
.petal-chevron {
  margin-top: auto; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--petal-color) 45%, white);
  color: var(--petal-color); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
@media (max-width: 700px) {
  .graine-petal { width: 130px; min-height: 230px; padding-top: 30px; border-radius: 50% 50% 50% 50% / 55% 55% 45% 45%; }
  .petal-title { font-size: 1rem; }
  .petal-sub { display: none; }
}

/* ---- Oracle teaser ---- */
.oracle-teaser { display: flex; align-items: center; gap: 2.2rem; flex-wrap: wrap; }
.oracle-teaser-visual { font-size: 4rem; color: var(--brand); flex: 0 0 auto; }
.oracle-teaser-visual .icon-svg { width: 4rem; height: 4rem; }
.oracle-teaser-body { flex: 1; min-width: 260px; }
.oracle-teaser-body h2 { margin-top: 0; }

/* ---- Ebooks preview mini ---- */
.ebooks-preview-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.ebook-mini-card {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  width: 130px; padding: 1rem 0.8rem; border: 1px solid var(--border); border-top: 3px solid var(--brand);
  border-radius: var(--radius); text-decoration: none; color: var(--text); background: var(--white);
}
.ebook-mini-card .icon-svg { width: 1.5rem; height: 1.5rem; }
.ebook-mini-card strong { font-size: 0.85rem; line-height: 1.2; }
.ebook-mini-sub { font-size: 0.74rem; color: var(--text-soft); font-style: italic; margin-top: -2px; }
.ebook-mini-status { font-size: 0.72rem; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.04em; }

/* ---- Image de référence (non cliquable) ---- */
.flower-reference { text-align: center; margin: 0.5rem 0 2rem; }
.flower-reference img { max-width: 340px; width: 100%; height: auto; border-radius: var(--radius); pointer-events: none; user-select: none; }

/* ---- Panneau des besoins ---- */
.besoins-panel {
  margin-top: 1.6rem; border: 1px solid var(--border); border-top: 4px solid var(--petal-color, var(--brand));
  border-radius: var(--radius); background: var(--white); padding: 1.4rem 1.6rem;
}
.besoins-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.besoins-panel-title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.besoins-panel-pd { margin: 0.3rem 0 0; font-size: 0.88rem; color: var(--text-soft); font-style: italic; }
.besoins-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 10px; }
.besoin-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.besoin-head {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; background: var(--bg-alt); border: none; cursor: pointer;
  font-family: inherit; font-size: 0.95rem; font-weight: 600; text-align: left;
}
.besoin-chevron { transition: transform .2s; color: var(--text-soft); }
.besoin-item.open .besoin-chevron { transform: rotate(180deg); }
.besoin-questions { padding: 12px 14px; font-size: 0.88rem; }
.besoin-questions ul { margin: 0 0 10px; padding-left: 1.1rem; }
.besoin-questions li { margin-bottom: 5px; color: var(--text-soft); }
.besoin-questions a { font-size: 0.86rem; font-weight: 600; }

/* ---- Tagline v2 dans le hero des graines ---- */
.hero-tagline { font-family: var(--font-display); font-size: 1.05rem; color: #fff; opacity: 0.85; margin: 0.3rem 0 0; font-style: italic; }

/* ---- Retrouver son calme dans la tempête ---- */
.temps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 14px; margin-top: 1rem; }
.temps-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.3rem; background: var(--white); transition: border-color .15s, box-shadow .15s; }
.temps-card--active { border-color: var(--brand); border-width: 2px; box-shadow: 0 4px 14px rgba(0,0,0,0.06); }
.temps-card-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; color: var(--text-soft); margin-bottom: 0.5rem; }
.temps-card--active .temps-card-label { color: var(--brand-dark); }
.temps-card p { margin: 0; font-size: 0.92rem; line-height: 1.55; }

/* ---- Hero à deux colonnes avec mini-fleur ---- */
.hero--split { display: flex; align-items: center; gap: 3rem; padding: 3rem 0; flex-wrap: wrap; }
.hero-text { flex: 1 1 420px; }
.hero-flower { flex: 0 0 300px; max-width: 300px; }
.hero-flower-img { width: 100%; height: auto; transition: transform .2s; display: block; }
.hero-flower-img:hover { transform: scale(1.02); }
@media (max-width: 860px) {
  .hero--split { flex-direction: column; text-align: center; }
  .hero-flower { order: -1; max-width: 240px; }
}

/* ---- Vidéos intégrées ---- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 14px; margin: 1rem 0; }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); background: #000; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.dosha-accordion details { border: 1px solid var(--border); border-radius: var(--radius); padding: 0.8rem 1.1rem; margin-bottom: 10px; background: var(--white); }
.dosha-accordion summary { cursor: pointer; font-weight: 600; font-family: var(--font-display); font-size: 1.02rem; }
.dosha-accordion details p { font-size: 0.92rem; margin-top: 0.6rem; }

/* ---- Page Présentation ---- */
.book-card { display: flex; gap: 1.6rem; align-items: center; flex-wrap: wrap; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; margin-top: 1rem; }
.book-cover-placeholder {
  flex: 0 0 140px; height: 190px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 6px;
  display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--font-display);
  font-weight: 700; color: var(--brand-dark); padding: 1rem;
}
.book-card-body { flex: 1; min-width: 260px; }

/* ---- Fiche à deux colonnes (façon v2) ---- */
.fiche-tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--border); margin-bottom: 1.6rem; padding-bottom: 2px; }
.fiche-tab {
  background: none; border: none; border-bottom: 2px solid transparent; padding: 8px 12px;
  font-family: inherit; font-size: 0.85rem; color: var(--text-soft); cursor: pointer;
}
.fiche-tab.active { border-bottom-color: var(--tab-color); color: var(--text); font-weight: 600; }
.fiche-tab:hover { color: var(--text); }

.fiche-two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.2rem; }
@media (max-width: 860px) { .fiche-two-col { grid-template-columns: 1fr; } }

.fiche-eyebrow { font-size: 0.75rem; letter-spacing: 0.08em; color: var(--petal-color); font-weight: 600; }
.fiche-title { font-family: var(--font-display); font-size: 2rem; margin: 0.3rem 0 0; }
.fiche-subtitle { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--petal-color); margin: 0.1rem 0 1rem; }
.fiche-intro { color: var(--text-soft); }

.fiche-accordion details { border-top: 1px solid var(--border); padding: 0.9rem 0; }
.fiche-accordion summary { cursor: pointer; font-weight: 600; font-family: var(--font-display); font-size: 1.02rem; }
.fiche-accordion details p { font-size: 0.92rem; color: var(--text-soft); margin: 0.6rem 0 0; line-height: 1.6; }

.fiche-right { display: flex; flex-direction: column; gap: 14px; }
.fiche-bubble { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.3rem; }
.fiche-bubble-tag { display: inline-block; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; background: var(--bg-alt); color: var(--text-soft); padding: 2px 9px; border-radius: 10px; margin-bottom: 0.5rem; }
.fiche-bubble-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 0.4rem; }
.fiche-bubble-text { font-size: 0.88rem; color: var(--text-soft); margin: 0; }
.fiche-bubble-list { margin: 0; padding-left: 1.1rem; font-size: 0.88rem; color: var(--text-soft); }
.fiche-bubble-list li { margin-bottom: 3px; }

/* ---- Matrice signature Génie collectif ---- */
.genie-matrix-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.8rem; font-size: 0.9rem; }
.genie-matrix-table th, .genie-matrix-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.genie-matrix-table th { font-family: var(--font-display); font-weight: 700; color: var(--text-soft); font-size: 0.82rem; }
.dots-cell { white-space: nowrap; }
.dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--brand); margin-right: 4px; background: transparent; }
.dot.filled { background: var(--brand); }

/* ---- Sélecteur des 5 graines (haut/bas de page) ---- */
.graine-switcher { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 1rem 0; }
.graine-switcher-pill {
  display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--border); border-radius: 20px;
  padding: 6px 14px; font-size: 0.85rem; text-decoration: none; color: var(--text-soft); background: var(--white);
  transition: border-color .15s, color .15s;
}
.graine-switcher-pill .icon-svg { width: 1em; height: 1em; }
.graine-switcher-pill:hover, .graine-switcher-pill.active { border-color: var(--pill-color); color: var(--text); font-weight: 600; }

.graine-switcher-top-wrap { margin-top: 1.2rem; }
.graine-switcher-top-wrap .graine-switcher { justify-content: center; }
.graine-switcher-top-wrap .graine-switcher-pill { background: var(--white); border-color: var(--border); color: var(--text-soft); }
.graine-switcher-top-wrap .graine-switcher-pill:hover, .graine-switcher-top-wrap .graine-switcher-pill.active { background: color-mix(in srgb, var(--pill-color) 12%, white); color: var(--text); border-color: var(--pill-color); }

.ebook-card-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; margin-top: 0.6rem; }

/* ---- Rayonner : jeux + ateliers ---- */
.rayonner-jeux-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 16px; margin-bottom: 1.6rem; }
.rayonner-jeux-grid .practice-box h4 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 0.4rem; }
.rayonner-lien { font-size: 0.85rem; color: var(--text-soft); margin-top: 0.8rem; padding-top: 0.7rem; border-top: 1px dashed var(--border); }

.rayonner-ateliers-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 1rem; }
.atelier-card { border: 1px solid var(--border); border-left: 4px solid var(--graine-color, var(--brand)); border-radius: var(--radius); padding: 0.9rem 1.2rem; background: var(--white); }
.atelier-card summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; list-style: none; }
.atelier-card summary::-webkit-details-marker { display: none; }
.atelier-titre { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.atelier-meta { font-size: 0.82rem; color: var(--text-soft); }
.atelier-objectif { margin: 0.8rem 0 0.6rem; font-size: 0.92rem; color: var(--text-soft); font-style: italic; }
.atelier-etapes { margin: 0; padding-left: 1.2rem; font-size: 0.9rem; }
.atelier-etapes li { margin-bottom: 4px; }

/* ---- Oracle — tirages ---- */
.tirage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 14px; }
.tirage-card {
  text-align: left; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white);
  padding: 1.1rem 1.3rem; cursor: pointer; font-family: inherit; transition: box-shadow .15s, transform .15s;
}
.tirage-card { position: relative; }
.tirage-card:hover { box-shadow: 0 8px 18px rgba(0,0,0,0.07); transform: translateY(-2px); }
.tirage-card::after {
  content: "Tirer →"; position: absolute; top: 14px; right: 14px;
  background: var(--brand); color: #fff; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.03em; padding: 3px 10px; border-radius: 12px;
}
.tirage-n { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand-dark); font-weight: 600; margin-bottom: 0.3rem; }
.tirage-titre { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.4rem; }
.tirage-card p { font-size: 0.88rem; color: var(--text-soft); margin: 0; }

.oracle-drawn-grid, .oracle-browse-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 16px; margin-top: 1rem; }

.oracle-full-card {
  border: 1px solid var(--border); border-top: 4px solid var(--fam-color, var(--brand));
  border-radius: var(--radius); background: var(--white); padding: 1.2rem 1.4rem;
}
.ofc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.4rem; }
.ofc-num { font-size: 0.75rem; color: var(--text-soft); }
.ofc-fam { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--fam-color, var(--brand)); font-weight: 600; }
.ofc-titre { font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 0.1rem; }
.ofc-sous { font-size: 0.82rem; color: var(--text-soft); margin: 0 0 0.7rem; font-style: italic; }
.ofc-image { font-size: 0.85rem; color: var(--text-soft); border-left: 2px solid var(--border); padding-left: 0.7rem; margin: 0 0 0.8rem; }
.ofc-message { font-size: 0.94rem; margin-bottom: 0.7rem; }
.ofc-field { font-size: 0.88rem; margin: 0.5rem 0; }
.ofc-deite { color: var(--text-soft); }
.oracle-graine-link { display: inline-block; margin-top: 0.6rem; font-size: 0.85rem; font-weight: 600; text-decoration: none; }

.rayonner-fiche-link { display: inline-block; margin-top: 0.9rem; padding-top: 0.7rem; border-top: 1px dashed var(--border); font-size: 0.88rem; font-weight: 600; }

.atelier-infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 1rem; background: var(--bg-alt); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 1rem 0 1.8rem; font-size: 0.92rem; }
.atelier-steps-full { padding-left: 1.3rem; }
.atelier-steps-full li { margin-bottom: 1.2rem; }
.atelier-steps-full li p { margin: 0.3rem 0 0; color: var(--text-soft); }

/* ---- Toutes les ressources ---- */
.ressource-graine-block { border-top: 3px solid var(--graine-color, var(--brand)); padding-top: 1.4rem; }
.ressources-list { display: flex; flex-direction: column; }
.ressource-item { display: flex; align-items: baseline; gap: 12px; padding: 10px 4px; text-decoration: none; color: var(--text); font-size: 0.95rem; border-bottom: 1px solid var(--border); }
.ressource-item:hover { color: var(--graine-color, var(--brand)); }
.ri-type { flex: 0 0 90px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-soft); }

.tests-grid--single { grid-template-columns: minmax(260px, 420px); justify-content: center; }
.tests-grid--double { grid-template-columns: repeat(2, minmax(260px, 1fr)); max-width: 760px; margin-left: auto; margin-right: auto; }
.tests-grid--oracle { margin-top: 2.2rem; }
@media (max-width: 700px) { .tests-grid--double { grid-template-columns: 1fr; } }

.tirage-grid--single { grid-template-columns: minmax(260px, 480px); justify-content: center; margin-bottom: 1.6rem; }
.tirage-grid--double { grid-template-columns: repeat(2, minmax(240px, 1fr)); }
.ofc-slot-label { display: inline-block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--fam-color, var(--brand)); background: color-mix(in srgb, var(--fam-color, var(--brand)) 12%, white); padding: 2px 10px; border-radius: 10px; margin-bottom: 0.6rem; }

.ebook-soustitre { font-size: 0.8rem; font-style: italic; color: var(--text-soft); margin: -0.3rem 0 0.6rem; }

.graines-row--compact { gap: 10px; flex-wrap: nowrap; }
.graine-petal--small { width: 128px; min-height: 170px; padding: 26px 10px 14px; }
.graine-petal--small .petal-icon { font-size: 1.4rem; margin-bottom: 0.5rem; }
.graine-petal--small .petal-title { font-size: 0.95rem; margin-bottom: 0; }
@media (max-width: 700px) {
  .graines-row--compact { flex-wrap: wrap; }
  .graine-petal--small { width: 100px; min-height: 130px; }
}

.autres-livres-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 14px; margin-top: 1rem; }
.autre-livre-card { display: flex; gap: 1rem; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; text-decoration: none; color: var(--text); background: var(--white); }
.autre-livre-card:hover { border-color: var(--brand); }
.book-cover-placeholder--small { flex: 0 0 70px; height: 95px; font-size: 0.78rem; padding: 0.5rem; }

.test-link-card--oracle { border-color: #6b4a8a; background: color-mix(in srgb, #6b4a8a 6%, white); }
.test-link-card--oracle .tlc-title { color: #6b4a8a; }
.test-link-card--oracle:hover { box-shadow: 0 6px 18px rgba(107,74,138,0.15); }

.substeps-abc { list-style: none; margin: 0.3rem 0 0; padding: 0; }
.substeps-abc li { margin-bottom: 0.6rem; padding-left: 1.5rem; text-indent: -1.5rem; }
.substep-letter { font-weight: 700; color: var(--graine-color, var(--brand)); }

.fiche-table { width: 100%; border-collapse: collapse; margin: 0.8rem 0 1.4rem; font-size: 0.88rem; }
.fiche-table th, .fiche-table td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }
.fiche-table th { background: var(--bg-alt); font-family: var(--font-display); font-weight: 700; }

.book-cover-img { flex: 0 0 70px; height: 95px; width: 70px; object-fit: cover; border-radius: 3px; box-shadow: 0 2px 6px rgba(0,0,0,0.15); }

/* ---- Pages docs/comprendre-*.html ---- */
.docs-toc { background: var(--bg-alt); border-radius: var(--radius); padding: 1.2rem 1.6rem; margin: 1.4rem 0 2rem; }
.docs-toc strong { font-family: var(--font-display); }
.docs-toc ol { margin: 0.6rem 0 0; padding-left: 1.2rem; }
.docs-toc li { margin-bottom: 4px; }
.docs-toc a { color: var(--text); }
.doc-article { border-top: 3px solid var(--graine-color, var(--brand)); padding-top: 1.6rem; scroll-margin-top: 90px; }
.doc-article h2 { margin-top: 0; }
