/* GUIDE-AYURVÉDA — « comptoir aux épices à la tombée du jour », v2.
   Structure : recherche omniprésente, sommaire d'article collant, hubs en
   rayonnage éditorial, glyphes botaniques au trait, filigrane sanskrit.
   Signature : le filet tricolore des trois doshas (Vata/Pitta/Kapha). */

:root {
  --nuit: #16241C;
  --nuit-2: #1F3328;
  --feuille: #3A5744;
  --curcuma: #F0A83A;
  --curcuma-doux: #F7C87B;
  --cuivre: #C06B36;
  --cuivre-fonce: #9A4F22;
  --papier: #FAF5E9;
  --papier-2: #F1E9D6;
  --creme: #FFFDF6;
  --encre: #26221A;
  --encre-2: #6E6350;
  --ligne: #E3D9C2;
  --vata: #8FB4D9;
  --pitta: #E0793A;
  --kapha: #7BA05B;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --texte: "Karla", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  --dosha-filet: linear-gradient(90deg, var(--vata) 0 33.4%, var(--pitta) 33.4% 66.7%, var(--kapha) 66.7% 100%);
  --ombre-douce: 0 16px 34px -18px rgba(22, 36, 28, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Transitions de page natives (fondu-glissé) — enrichissement progressif */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-sortie .22s ease both; }
::view-transition-new(root) { animation: vt-entree .3s ease both; }
@keyframes vt-sortie { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-entree { from { opacity: 0; transform: translateY(10px); } }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
::selection { background: var(--curcuma); color: var(--nuit); }
:focus-visible { outline: 2px solid var(--cuivre); outline-offset: 2px; border-radius: 3px; }

a { color: var(--cuivre-fonce); text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--cuivre) 45%, transparent); transition: color .15s ease; }
a:hover { color: var(--cuivre); }

.acces {
  position: absolute; left: -9999px; top: 0; z-index: 40;
  background: var(--curcuma); color: var(--nuit); padding: .6rem 1rem;
  border-radius: 0 0 10px 0; font-weight: 700; text-decoration: none;
}
.acces:focus { left: 0; }

/* ---------- Progression de lecture ---------- */
.progression { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 30; pointer-events: none; }
.progression span { display: block; height: 100%; width: 0; background: var(--dosha-filet); background-size: 100vw 100%; transition: width .1s linear; }

/* ---------- Glyphes botaniques ---------- */
.glyphe { width: 1.35em; height: 1.35em; flex: none; }

/* ---------- En-tête ---------- */
.entete {
  display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.6rem);
  padding: .7rem clamp(1rem, 3.5vw, 2.4rem);
  background: var(--nuit); color: var(--papier);
  position: sticky; top: 0; z-index: 20;
  border-bottom: 4px solid transparent;
  border-image: var(--dosha-filet) 1;
  flex-wrap: wrap;
}
.marque { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; }
.marque-logo { width: 30px; height: 30px; border-radius: 8px; }
.marque-nom {
  font-family: var(--display); font-size: 1.16rem; font-weight: 600;
  font-variation-settings: "opsz" 40, "SOFT" 60;
  color: var(--papier); white-space: nowrap;
}
.entete-nav { display: flex; gap: clamp(.5rem, 1.4vw, 1.1rem); flex-wrap: wrap; align-items: center; margin-left: auto; }
.entete-nav a { color: #D9D2BC; text-decoration: none; font-size: .92rem; font-weight: 500; }
.entete-nav a:hover { color: var(--curcuma); }
.entete-cta {
  background: var(--curcuma); color: var(--nuit) !important;
  padding: .32rem .9rem; border-radius: 999px; font-weight: 700;
  transition: background .15s ease, transform .15s ease;
}
.entete-cta:hover { background: var(--curcuma-doux); transform: translateY(-1px); }

/* ---------- Recherche ---------- */
.recherche { position: relative; display: flex; align-items: center; flex: 1 1 15rem; max-width: 26rem; }
.recherche-loupe { position: absolute; left: .75rem; width: 1rem; height: 1rem; color: #A9A28C; pointer-events: none; }
.recherche input {
  width: 100%; font: 500 .9rem/1 var(--texte); color: var(--papier);
  background: rgba(250, 245, 233, .09);
  border: 1px solid rgba(250, 245, 233, .22); border-radius: 999px;
  padding: .52rem 2.6rem .52rem 2.4rem;
  transition: background .15s ease, border-color .15s ease;
  appearance: none; -webkit-appearance: none;
}
.recherche input::placeholder { color: #A9A28C; }
.recherche input:focus { outline: none; background: rgba(250, 245, 233, .14); border-color: var(--curcuma); }
.recherche kbd {
  position: absolute; right: .7rem; font: 500 .68rem/1 var(--mono);
  color: #A9A28C; border: 1px solid rgba(250, 245, 233, .25);
  border-radius: 5px; padding: .18rem .4rem; pointer-events: none;
}
.recherche-panneau {
  position: absolute; top: calc(100% + .55rem); left: 0; right: 0; z-index: 25;
  background: var(--creme); color: var(--encre);
  border: 1px solid var(--ligne); border-radius: 14px;
  box-shadow: 0 24px 50px -20px rgba(22, 36, 28, .55);
  overflow: hidden; padding: .35rem;
}
.recherche-item {
  display: flex; align-items: baseline; gap: .7rem;
  padding: .55rem .7rem; border-radius: 9px; text-decoration: none; color: inherit;
}
.recherche-item:hover, .recherche-item.actif { background: var(--papier-2); color: inherit; }
.recherche-item-hub {
  font: 500 .62rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .12em;
  color: var(--cuivre); flex: none; width: 5.4rem;
}
.recherche-item-titre { font-weight: 600; font-size: .92rem; line-height: 1.35; }
.recherche-vide { margin: 0; padding: .7rem .8rem; font-size: .88rem; color: var(--encre-2); }

/* Recherche du héros : posée sur fond sombre, plus grande */
.recherche-heros { max-width: 34rem; margin-top: 1.6rem; }
.recherche-heros input { padding: .8rem 1.1rem .8rem 2.6rem; font-size: 1rem; background: rgba(250, 245, 233, .1); }
.recherche-heros .recherche-loupe { left: .95rem; width: 1.1rem; height: 1.1rem; }

/* ---------- Structure ---------- */
.principal { max-width: 76rem; margin: 0 auto; padding: 1.2rem clamp(1rem, 4vw, 2.6rem) 3.5rem; }
.fil { font-family: var(--mono); font-size: .73rem; color: var(--encre-2); margin: .6rem 0 1.6rem; }
.fil a { color: inherit; text-decoration: none; }
.fil a:hover { color: var(--cuivre); }

/* ---------- Typographie ---------- */
h1 {
  font-family: var(--display); font-weight: 560;
  font-variation-settings: "opsz" 90, "SOFT" 40;
  font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.08;
  letter-spacing: -.015em; margin: .2em 0 .45em; color: var(--nuit);
}
h2 {
  font-family: var(--display); font-weight: 540;
  font-variation-settings: "opsz" 60, "SOFT" 40;
  font-size: clamp(1.35rem, 2.7vw, 1.8rem); line-height: 1.2;
  margin: 1.7em 0 .5em; color: var(--nuit-2);
}
h3 { font-family: var(--display); font-weight: 560; font-size: 1.18rem; margin: 1.4em 0 .4em; color: var(--feuille); }
.chapo { font-size: 1.18rem; line-height: 1.6; color: var(--encre-2); max-width: 46rem; }
.surtitre {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .17em;
  font-size: .72rem; font-weight: 500; margin: 0 0 .4rem; color: var(--cuivre);
}
.surtitre a { color: var(--cuivre); text-decoration: none; }
.surtitre a:hover { color: var(--cuivre-fonce); }
.surtitre .glyphe { width: 1.5em; height: 1.5em; }
.article-tete { max-width: 46rem; }
.article-meta {
  font-family: var(--mono); font-size: .75rem; color: var(--encre-2);
  border-bottom: 1px solid var(--ligne); padding-bottom: 1.1rem;
}

/* ---------- Article + sommaire collant ---------- */
.article-grille {
  display: grid; grid-template-columns: minmax(0, 46rem) 14rem;
  gap: clamp(1.5rem, 4vw, 4rem); justify-content: center;
}
.article-grille article { min-width: 0; }
.sommaire {
  position: sticky; top: 5.2rem; align-self: start;
  border-left: 2px solid var(--ligne); padding-left: 1.1rem;
  font-size: .84rem; max-height: calc(100vh - 7rem); overflow-y: auto;
}
.sommaire-titre {
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .16em;
  font-size: .66rem; color: var(--encre-2); margin: .3rem 0 .6rem;
}
.sommaire ol { list-style: none; margin: 0; padding: 0; }
.sommaire li { margin: .45rem 0; }
.sommaire a { color: var(--encre-2); text-decoration: none; display: block; line-height: 1.4; }
.sommaire a:hover { color: var(--cuivre); }
.sommaire a.actif { color: var(--cuivre-fonce); font-weight: 700; }
@media (max-width: 64rem) {
  .article-grille { grid-template-columns: minmax(0, 46rem); }
  .sommaire {
    position: static; order: -1; max-height: none; overflow: visible;
    border: 1px solid var(--ligne); border-left: 3px solid var(--curcuma);
    border-radius: 10px; padding: .9rem 1.1rem; background: var(--creme);
    max-width: 46rem;
  }
  .sommaire ol { columns: 2; column-gap: 1.6rem; }
  .sommaire li { break-inside: avoid; }
}
@media (max-width: 40rem) { .sommaire ol { columns: 1; } }

.principal > .lies { max-width: 46rem; margin-inline: auto; }

.prose { max-width: 46rem; }
.prose p, .prose li { line-height: 1.78; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li::marker { color: var(--cuivre); }
.prose strong { color: var(--nuit); }
.prose h2 { scroll-margin-top: 5.5rem; }
article .prose > p:first-of-type::first-letter {
  font-family: var(--display); font-weight: 600;
  font-size: 3.4em; line-height: .82; float: left;
  padding: .07em .12em 0 0; color: var(--cuivre);
  font-variation-settings: "opsz" 100, "SOFT" 80;
}
.prose table { border-collapse: collapse; width: 100%; margin: 1.2rem 0; font-size: .94rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--ligne); padding: .55rem .75rem; text-align: left; vertical-align: top; background: var(--creme); }
.prose th { background: var(--nuit-2); color: var(--papier); font-weight: 700; }
.prose blockquote {
  margin: 1.3rem 0; padding: .3rem 1.2rem; border-left: 3px solid var(--curcuma);
  background: var(--papier-2); border-radius: 0 10px 10px 0; font-style: italic;
}

/* ---------- Avertissement ---------- */
.avertissement {
  max-width: 46rem; margin: 1.4rem 0; padding: .85rem 1.05rem .85rem 1.3rem;
  background: var(--creme);
  border: 1px solid var(--ligne); border-left: 4px solid var(--curcuma);
  border-radius: 6px; font-size: .89rem; color: var(--encre-2);
}
.avertissement strong { color: var(--cuivre-fonce); }

/* ---------- Fiche recette ---------- */
.fiche-recette {
  max-width: 46rem; margin: 1.6rem 0; padding: 1.3rem 1.5rem;
  background: var(--creme); border: 1px solid var(--ligne);
  border-top: 4px solid transparent; border-image: var(--dosha-filet) 1;
  box-shadow: 0 10px 30px -18px rgba(22, 36, 28, .35);
  border-radius: 0 0 14px 14px;
}
.fiche-recette h2 { margin-top: 0; }
.recette-meta { display: flex; gap: 1.3rem; flex-wrap: wrap; font-family: var(--mono); font-size: .8rem; color: var(--feuille); }
.recette-colonnes { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.5rem; }
.recette-colonnes ol li { margin-bottom: .55rem; }
@media (max-width: 40rem) { .recette-colonnes { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; margin-top: 2.6rem; }
.faq h2 { scroll-margin-top: 5.5rem; }
.faq details {
  border: 1px solid var(--ligne); border-radius: 12px; margin: .55rem 0;
  background: var(--creme); overflow: hidden; transition: border-color .15s ease;
}
.faq details:hover { border-color: var(--curcuma); }
.faq details[open] { border-color: var(--curcuma); box-shadow: 0 8px 24px -16px rgba(192, 107, 54, .5); }
.faq summary {
  cursor: pointer; padding: .85rem 1.05rem; font-weight: 700;
  color: var(--nuit); list-style: none; position: relative; padding-right: 2.4rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 1rem; top: 50%;
  transform: translateY(-52%); font-family: var(--display);
  font-size: 1.35rem; color: var(--cuivre); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-52%) rotate(45deg); }
.faq .faq-r { padding: 0 1.05rem .9rem; color: var(--encre-2); }

/* ---------- Cartes (accueil, « à lire ensuite ») ---------- */
.cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); gap: 1rem; margin: 1.1rem 0; }
.carte {
  display: flex; flex-direction: column; gap: .4rem; position: relative;
  background: var(--creme); border: 1px solid var(--ligne); border-radius: 14px;
  padding: 1.1rem 1.2rem 1rem; text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow: hidden;
}
.carte::before {
  content: ''; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px;
  background: var(--dosha-filet); opacity: 0; transition: opacity .18s ease;
}
.carte:hover {
  transform: translate(-4px, -4px);
  box-shadow: 7px 7px 0 var(--curcuma);
  border-color: var(--nuit); color: inherit;
}
.carte:hover::before { opacity: 1; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .carte, .rayon, .index-hub li {
      animation: apparait linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 34%;
    }
  }
}
@keyframes apparait { from { opacity: 0; transform: translateY(26px); } }
.carte-hub { font-family: var(--mono); text-transform: uppercase; letter-spacing: .16em; font-size: .66rem; color: var(--cuivre); }
.carte-titre { font-family: var(--display); font-weight: 580; font-size: 1.1rem; line-height: 1.28; color: var(--nuit); }
.carte-desc { font-size: .89rem; color: var(--encre-2); line-height: 1.55; }
.carte-meta { font-family: var(--mono); font-size: .7rem; color: var(--cuivre-fonce); margin-top: auto; padding-top: .35rem; }
.lies h2 { border-top: 1px solid var(--ligne); padding-top: 1.3rem; }

/* ---------- Héros : pleine largeur, monumental ---------- */
.heros {
  position: relative; overflow: hidden;
  background:
    radial-gradient(64rem 34rem at 80% -20%, rgba(240, 168, 58, .4), transparent 62%),
    radial-gradient(44rem 30rem at -10% 120%, rgba(123, 160, 91, .26), transparent 64%),
    var(--nuit);
  border-radius: 0;
  margin: -1.2rem calc(50% - 50vw) 2.8rem;
  padding: clamp(3rem, 8vw, 5.5rem) max(calc(50vw - 38rem + 2.6rem), clamp(1.2rem, 5vw, 3rem)) 0;
  color: var(--papier);
}
.heros::before {
  content: ''; position: absolute; inset: -40%;
  background: conic-gradient(from 0deg at 70% 30%, transparent 0 70%, rgba(240, 168, 58, .12) 82%, transparent 94%);
  animation: heros-souffle 14s linear infinite;
  pointer-events: none;
}
@keyframes heros-souffle { to { transform: rotate(360deg); } }
.heros-sk {
  position: absolute; right: clamp(-2rem, 1vw, 3rem); top: -2.5rem; margin: 0;
  font-size: clamp(9rem, 24vw, 21rem); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(240, 168, 58, .4);
  pointer-events: none; user-select: none; font-weight: 700;
  animation: heros-flotte 11s ease-in-out infinite alternate;
}
@keyframes heros-flotte { from { transform: translateY(-8px) rotate(-1deg); } to { transform: translateY(14px) rotate(1.2deg); } }
.heros h1 {
  color: var(--papier); max-width: 14ch; position: relative;
  font-size: clamp(2.7rem, 8vw, 5.6rem); font-weight: 440; line-height: 1.02;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  animation: lever .65s ease both;
}
.heros h1 em {
  font-style: italic; color: var(--curcuma);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.heros .chapo { color: #CFC8B0; max-width: 42rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); position: relative; animation: lever .65s .12s ease both; }
.heros .recherche-heros { animation: lever .65s .22s ease both; }
.heros-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.5rem; position: relative; animation: lever .65s .32s ease both; }
@keyframes lever { from { opacity: 0; transform: translateY(22px); } }

/* Ruban défilant */
.defile {
  margin: clamp(2.2rem, 5vw, 3.5rem) calc(-1 * max(calc(50vw - 38rem + 2.6rem), clamp(1.2rem, 5vw, 3rem))) 0;
  border-top: 1px solid rgba(250, 245, 233, .16);
  padding: .95rem 0; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6% 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6% 94%, transparent);
}
.defile-piste { display: flex; width: max-content; animation: defile 44s linear infinite; }
.defile-groupe { display: flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; }
.defile-groupe span {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.5rem); color: #D6CFB9; white-space: nowrap;
  font-variation-settings: "opsz" 60, "SOFT" 100;
}
.pt { width: .5rem; height: .5rem; border-radius: 50%; flex: none; }
.pt-0 { background: var(--vata); } .pt-1 { background: var(--pitta); } .pt-2 { background: var(--kapha); }
@keyframes defile { to { transform: translateX(-50%); } }
.bouton {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--curcuma); color: var(--nuit); text-decoration: none;
  padding: .85rem 1.7rem; border-radius: 999px; font-weight: 800; font-size: 1.02rem;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.bouton::after { content: '→'; transition: transform .18s ease; }
.bouton:hover::after { transform: translateX(5px); }
.bouton:hover { background: var(--curcuma-doux); color: var(--nuit); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(240, 168, 58, .6); }
.bouton-secondaire { background: transparent; color: var(--papier); box-shadow: inset 0 0 0 1.5px rgba(250, 245, 233, .55); }
.bouton-secondaire:hover { background: rgba(250, 245, 233, .1); color: #fff; box-shadow: inset 0 0 0 1.5px var(--papier); }

/* ---------- Titres de sections (accueil) : grands italiques ---------- */
.rayonnage h2, .lies h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.7rem); font-style: italic; font-weight: 500;
  font-variation-settings: "opsz" 100, "SOFT" 100;
  color: var(--nuit);
}

/* ---------- Rayonnage des rubriques ---------- */
.rayonnage h2 { border-top: 1px solid var(--ligne); padding-top: 1.3rem; }
.rayonnage-grille {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  column-gap: clamp(1.2rem, 3vw, 3rem);
}
.rayon {
  display: flex; align-items: center; gap: .95rem;
  padding: .95rem .35rem; text-decoration: none; color: inherit;
  border-bottom: 1px solid var(--ligne);
  transition: padding-left .18s ease, background .18s ease;
}
.rayon .glyphe { width: 1.7rem; height: 1.7rem; color: var(--cuivre); transition: color .18s ease, transform .18s ease; }
.rayon-texte { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.rayon-nom { font-family: var(--display); font-weight: 600; font-size: 1.12rem; color: var(--nuit); }
.rayon-desc { font-size: .85rem; color: var(--encre-2); line-height: 1.45; }
.rayon-nb {
  margin-left: auto; font-family: var(--mono); font-size: .74rem;
  color: var(--cuivre-fonce); border: 1px solid var(--ligne);
  border-radius: 999px; padding: .22rem .6rem; flex: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.rayon:hover { padding-left: 1rem; background: linear-gradient(90deg, color-mix(in srgb, var(--curcuma) 26%, var(--papier)), transparent 78%); color: inherit; }
.rayon:hover .glyphe { color: var(--pitta); transform: rotate(-8deg) scale(1.22); }
.rayon:hover .rayon-nb { background: var(--nuit); color: var(--curcuma); border-color: var(--nuit); transform: scale(1.12); }
.rayon .glyphe { width: 2rem; height: 2rem; }
.rayon-nom { font-size: 1.22rem; }

/* ---------- Index des hubs (liste éditoriale) ---------- */
.hub-tete { max-width: 60rem; padding: 1.2rem 0 .4rem; position: relative; }
.hub-tete::before { content: ''; display: block; width: 4.5rem; height: 4px; border-radius: 2px; background: var(--dosha-filet); margin-bottom: 1.1rem; }
.hub-tete .surtitre .glyphe { width: 2.2em; height: 2.2em; }
.hub-tete h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); max-width: 18ch; }
.index-hub { list-style: none; margin: 1.4rem 0 0; padding: 0; max-width: 52rem; }
.index-hub li { border-bottom: 1px solid var(--ligne); }
.index-hub li:first-child { border-top: 1px solid var(--ligne); }
.index-hub a {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.05rem .35rem; text-decoration: none; color: inherit;
  transition: padding-left .18s ease, background .18s ease;
}
.index-hub a:hover { padding-left: .9rem; background: linear-gradient(90deg, var(--papier-2), transparent 75%); }
.index-texte { display: flex; flex-direction: column; gap: .18rem; min-width: 0; }
.index-titre { font-family: var(--display); font-weight: 580; font-size: 1.16rem; line-height: 1.3; color: var(--nuit); }
.index-hub a:hover .index-titre { color: var(--cuivre-fonce); }
.index-desc { font-size: .88rem; color: var(--encre-2); line-height: 1.5; }
.index-min {
  margin-left: auto; flex: none; display: flex; align-items: center; gap: .45rem;
  font-family: var(--mono); font-size: .73rem; color: var(--encre-2); white-space: nowrap;
}
.index-min svg { width: 1rem; height: 1rem; color: var(--cuivre); opacity: 0; transform: translateX(-4px); transition: opacity .18s ease, transform .18s ease; }
.index-hub a:hover .index-min svg { opacity: 1; transform: none; }
@media (max-width: 40rem) { .index-min { display: none; } }

/* ---------- Promesse ---------- */
.promesse { background: var(--nuit-2); color: #D6CFB9; border-radius: 18px; padding: 1.5rem 1.8rem; margin-top: 2.4rem; max-width: none; }
.promesse h2 { margin-top: 0; border: 0; padding-top: 0; color: var(--curcuma-doux); }
.promesse strong { color: var(--papier); }
.promesse a { color: var(--curcuma-doux); }
.promesse a:hover { color: var(--curcuma); }

/* ---------- Lexique ---------- */
.lexique-lettre h2 {
  font-size: 2.2rem; color: var(--curcuma);
  border-top: 1px solid var(--ligne); padding-top: 1.1rem;
  font-variation-settings: "opsz" 120, "SOFT" 100; font-style: italic;
}
.lexique-lettre dl { margin: 0; }
.lexique-entree { padding: .55rem 0; border-bottom: 1px dashed var(--ligne); }
.lexique-entree dt { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.lexique-entree dd { margin: .15rem 0 0; color: var(--encre-2); font-size: .92rem; }

/* ---------- Pied de page ---------- */
.pied {
  position: relative; overflow: hidden;
  background: var(--nuit); color: #C9C2AB; margin-top: 4rem;
  padding: 2.6rem clamp(1rem, 4vw, 2.6rem) 2rem;
  border-top: 4px solid transparent; border-image: var(--dosha-filet) 1;
}
.pied-sk {
  position: absolute; right: -1rem; bottom: -3.5rem; margin: 0;
  font-size: clamp(6rem, 14vw, 11rem); line-height: 1; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1px rgba(240, 168, 58, .16);
  pointer-events: none; user-select: none;
}
.pied-marque {
  margin: 0 auto 2.2rem; max-width: 82rem; position: relative;
  font-family: var(--display); font-weight: 640; font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: clamp(2.8rem, 9.5vw, 7.5rem); line-height: .95; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(240, 168, 58, .5);
  pointer-events: none; user-select: none; white-space: nowrap; overflow: hidden;
}
.mur-liens { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 1.5rem; max-width: 82rem; margin: 0 auto; }
.mur-groupe h3 { margin: 0 0 .45rem; font-family: var(--display); font-size: 1.02rem; font-weight: 600; }
.mur-groupe h3 a { color: var(--curcuma); text-decoration: none; }
.mur-groupe h3 a:hover { color: var(--curcuma-doux); }
.mur-groupe ul { list-style: none; margin: 0; padding: 0; }
.mur-groupe li { margin: .22rem 0; }
.mur-groupe a { color: #A9A28C; text-decoration: none; font-size: .85rem; }
.mur-groupe a:hover { color: var(--papier); }
.voir-tout { font-family: var(--mono); font-size: .74rem !important; color: var(--curcuma) !important; }
.pied-legal { position: relative; max-width: 82rem; margin: 2rem auto 0; border-top: 1px solid rgba(250, 245, 233, .14); padding-top: 1.1rem; font-size: .8rem; }
.pied-legal a { color: #A9A28C; }
.pied-legal a:hover { color: var(--papier); }

/* ---------- Responsive en-tête ---------- */
@media (max-width: 58rem) {
  .entete { row-gap: .55rem; }
  .recherche { order: 3; flex-basis: 100%; max-width: none; }
  .recherche kbd { display: none; }
  .entete-nav { margin-left: auto; }
}

/* ---------- Accessibilité mouvement ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
