/* ════════════════════════════════════════════════════════════════════
   lefelin — Page « Générateur de noms de chat » (v2, sept. 2026)
   Scope .lf-nomspg. Charte Le Félin : crème, ocre/laiton, Fraunces + Manrope.
   Élément signature : la médaille de collier du hero (laiton gravé).
   ════════════════════════════════════════════════════════════════════ */
.lf-nomspg {
  --paper: #fcf7ee;
  --warm: #f5ecdc;
  --card: #fffbf4;
  --ink: #2a2117;
  --ink-2: #4a3f31;
  --muted: #85765f;
  --line: #eadcc6;
  --line-2: #dcc8a9;
  --accent: #b07a3c;
  --accent-deep: #7c5527;
  --brass-1: #e8c98f;
  --brass-2: #c9965a;
  --brass-3: #8f6128;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --native: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", "Noto Sans", "Apple SD Gothic Neo", "Malgun Gothic",
    "PingFang SC", "Microsoft YaHei", "Geeza Pro", "Noto Naskh Arabic", "Noto Sans Devanagari", "Noto Sans Hebrew", system-ui, sans-serif;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--paper);
  color: var(--ink-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
section.lf-noms-section { max-width: none; margin: 0; padding: 0; }
body.lf-noms #MainContent { padding-bottom: 0; }
.lf-nomspg *, .lf-nomspg *::before, .lf-nomspg *::after { box-sizing: border-box; }
/* resets à spécificité nulle (:where) : ne doivent jamais battre les composants */
:where(.lf-nomspg) img { display: block; max-width: 100%; }
:where(.lf-nomspg) a { color: inherit; text-decoration: none; }
:where(.lf-nomspg) button { font-family: inherit; color: inherit; }
:where(.lf-nomspg) ul { list-style: none; margin: 0; padding: 0; }
:where(.lf-nomspg) p { margin: 0; }
:where(.lf-nomspg) :is(h1, h2, h3) {
  font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; letter-spacing: -0.01em;
}
.lf-nomspg [lang="ja"], .lf-nomspg [lang="zh"], .lf-nomspg [lang="ko"], .lf-nomspg [lang="ar"],
.lf-nomspg [lang="fa"], .lf-nomspg [lang="he"], .lf-nomspg [lang="hi"] { font-family: var(--native); }
.lfn-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lfn-wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(18px, 4.5vw, 48px); }

/* ════════ ATOMES ════════ */
.lfn-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-weight: 700; font-size: 0.98rem; line-height: 1.2; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.lfn-btn--primary { background: var(--ink); color: #fdf8ef; box-shadow: 0 14px 30px -18px rgba(42, 33, 23, 0.8); }
.lfn-btn--primary:hover { transform: translateY(-2px); background: #3a2e20; }
.lfn-btn--ghost { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.lfn-btn--ghost:hover { border-color: var(--accent); }
.lfn-btn--sm { padding: 9px 16px; font-size: 0.88rem; }
.lfn-link {
  background: none; border: 0; padding: 0; cursor: pointer; font-weight: 700; font-size: 0.88rem;
  color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.lfn-link:hover { color: var(--ink); }

/* ════════ HERO — médaille ════════ */
.lfn-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(36px, 5vw, 72px); }
.lfn-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.lfn-crumb { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--muted); margin-bottom: 26px; }
.lfn-crumb a:hover { color: var(--ink); text-decoration: underline; }
.lf-nomspg .lfn-h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 0.98; letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144; max-width: 11ch;
}
.lfn-lead { margin-top: 22px; max-width: 46ch; font-size: clamp(1.02rem, 1.4vw, 1.14rem); line-height: 1.65; color: var(--ink-2); }
.lfn-lead p { margin: 0; }
.lfn-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.lfn-facts li {
  padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 0.86rem; font-weight: 600; color: var(--ink-2); background: var(--card);
}
.lfn-medal-zone { display: flex; flex-direction: column; align-items: center; gap: 22px; padding-top: 12px; }
.lfn-paw { position: relative; width: min(430px, 88vw); aspect-ratio: 400 / 440; }
.lfn-paw__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 26px 30px rgba(80, 50, 15, 0.28)); }
.lfn-paw__face {
  position: absolute; left: 17%; right: 17%; top: 44%; bottom: 7%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
  color: #3d260b; text-shadow: 0 1px 0 rgba(255, 244, 222, 0.6);
}
.lfn-medal__origin { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: #6b4517; }
.lfn-medal__name {
  font-family: var(--serif); font-size: clamp(2.3rem, 5.6vw, 3.5rem); line-height: 1; letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144; color: #33200a; max-width: 100%; overflow-wrap: anywhere;
}
.lfn-medal__name.is-long { font-size: clamp(1.9rem, 4.4vw, 2.7rem); }
.lfn-medal__name.is-xlong { font-size: clamp(1.5rem, 3.6vw, 2.1rem); }
.lfn-medal__nat { font-size: 1.25rem; line-height: 1.2; color: #5a3a12; min-height: 1.2em; }
.lfn-medal__pron { font-size: 0.88rem; font-style: italic; color: #6b4517; min-height: 1.1em; }
.lfn-medal__sense { max-width: 26ch; font-size: 0.9rem; line-height: 1.35; color: #3d260b; }
.lfn-medal__nat:empty, .lfn-medal__pron:empty { display: none; }
.lfn-paw.is-press { animation: lfn-press 0.42s cubic-bezier(0.3, 0.7, 0.4, 1); }
.lfn-paw.is-press .lfn-paw__toes { animation: lfn-toes 0.42s cubic-bezier(0.3, 0.7, 0.4, 1); transform-origin: 50% 60%; }
@keyframes lfn-press { 0% { transform: scale(1); } 40% { transform: scale(0.94) translateY(4px); } 100% { transform: scale(1); } }
@keyframes lfn-toes { 0% { transform: translateY(0); } 40% { transform: translateY(6px); } 100% { transform: translateY(0); } }
.lfn-medal__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lfn-iconbtn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; cursor: pointer;
  background: var(--card); border: 1px solid var(--line-2); font-weight: 700; font-size: 0.9rem; color: var(--ink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.lfn-iconbtn:hover { border-color: var(--accent); }
.lfn-iconbtn--main { background: var(--ink); color: #fdf8ef; border-color: var(--ink); }
.lfn-iconbtn--main:hover { background: #3a2e20; }
.lfn-iconbtn[aria-pressed="true"] { color: #a33b2b; border-color: #e3b7a8; background: #fbeee8; }
.lfn-iconbtn[aria-pressed="true"] svg { fill: currentColor; }

/* ════════ GÉNÉRATEUR ════════ */
.lfn-tool { padding: clamp(40px, 5vw, 72px) 0; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.lfn-tool__grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 3.4vw, 48px); align-items: start; }
.lfn-filters-toggle { display: none; }
.lfn-filters { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 22px; max-height: calc(100vh - 120px); overflow-y: auto; padding: 2px 6px 12px 2px; scrollbar-width: thin; }
.lfn-f__label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 9px; font-weight: 800; font-size: 0.86rem; color: var(--ink); }
.lfn-emo { display: inline-block; margin-right: 7px; font-size: 1.05em; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.lfn-chip .lfn-emo { margin-right: 1px; font-size: 0.95em; }
.lfn-f__label small { font-weight: 600; font-size: 0.78rem; color: var(--muted); }
.lfn-search { position: relative; }
.lfn-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.lfn-search input {
  width: 100%; padding: 12px 14px 12px 40px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff;
  font: 500 0.95rem var(--sans); color: var(--ink); appearance: none;
}
.lfn-search input::placeholder { color: #a6977f; }
.lfn-search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.lfn-seg { display: flex; padding: 3px; border-radius: 12px; background: var(--warm); border: 1px solid var(--line); }
.lfn-seg button {
  flex: 1; padding: 8px 6px; border: 0; border-radius: 9px; background: transparent; cursor: pointer;
  font-weight: 700; font-size: 0.86rem; color: var(--ink-2);
}
.lfn-seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(42, 33, 23, 0.15); }
.lfn-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lfn-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: #fff; font-weight: 600; font-size: 0.83rem; color: var(--ink-2);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.lfn-chip:hover { border-color: var(--accent); }
.lfn-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fdf8ef; }
.lfn-chip__cat { font-size: 0.8rem; color: var(--accent); font-weight: 500; }
.lfn-chip[aria-pressed="true"] .lfn-chip__cat { color: var(--brass-1); }
.lfn-region + .lfn-region { margin-top: 10px; }
.lfn-region__label { display: block; margin-bottom: 6px; font-size: 0.76rem; font-weight: 600; color: var(--muted); }
.lfn-pedigree { padding: 14px; border-radius: 14px; border: 1px dashed var(--line-2); background: var(--paper); }
.lfn-pedi-head { display: flex; gap: 12px; align-items: flex-start; }
.lfn-pedi-head strong { display: flex; align-items: flex-start; font-size: 0.9rem; line-height: 1.4; color: var(--ink); }
.lfn-pedi-head strong .lfn-emo { margin-top: 1px; }
.lfn-pedi-head span { display: block; font-size: 0.8rem; line-height: 1.5; color: var(--muted); margin-top: 2px; }
.lfn-switch {
  flex: none; position: relative; width: 42px; height: 24px; margin-top: 1px; border-radius: 999px; cursor: pointer;
  border: 0; background: var(--line-2); transition: background-color 0.2s ease;
}
.lfn-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.2s ease;
}
.lfn-switch[aria-checked="true"] { background: var(--accent); }
.lfn-switch[aria-checked="true"]::after { transform: translateX(18px); }
.lfn-pedi-body { display: none; align-items: center; gap: 10px; margin-top: 12px; }
.lfn-pedigree.is-on .lfn-pedi-body { display: flex; }
.lfn-select { position: relative; flex: 1; }
.lfn-select select {
  width: 100%; appearance: none; padding: 9px 30px 9px 12px; border-radius: 10px; border: 1px solid var(--line-2);
  background: #fff; font: 600 0.88rem var(--sans); color: var(--ink); cursor: pointer;
}
.lfn-select svg { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.lfn-letter-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--ink-2); }
.lfn-letter-badge b {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
  font-family: var(--serif); font-size: 1.1rem; font-weight: 400; color: #fff; background: var(--accent);
}
.lfn-reset { align-self: flex-start; background: none; border: 0; padding: 0; cursor: pointer; font-weight: 700; font-size: 0.88rem; color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }

/* résultats */
.lfn-results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; min-height: 40px; }
.lfn-count { font-size: 0.95rem; color: var(--ink-2); }
.lfn-count b { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--ink); }
.lfn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 14px; }
.lfn-name {
  position: relative; display: flex; flex-direction: column; padding: 18px 18px 14px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.lfn-name:hover { border-color: var(--line-2); box-shadow: 0 18px 36px -28px rgba(80, 50, 15, 0.55); }
.lfn-name__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-size: 0.78rem; }
.lfn-name__g {
  display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%;
  font-size: 0.82rem; line-height: 1; background: var(--warm); color: var(--ink-2);
}
.lfn-name__g.is-m { background: #e7eef4; color: #3d5a73; }
.lfn-name__g.is-f { background: #f6e6e6; color: #8a3d45; }
.lfn-name__o { display: inline-flex; align-items: baseline; gap: 6px; font-weight: 600; color: var(--muted); }
.lfn-name__o span { color: var(--accent); font-weight: 500; }
.lfn-name__n { font-size: 1.62rem; line-height: 1.1; overflow-wrap: anywhere; }
.lfn-name__nat { font-size: 1.05rem; color: var(--accent-deep); margin-left: 4px; white-space: nowrap; }
.lfn-name__p { margin-top: 4px; font-size: 0.84rem; font-style: italic; color: var(--muted); }
.lfn-name__s { margin-top: 8px; font-size: 0.92rem; line-height: 1.5; color: var(--ink-2); flex: 1; }
.lfn-name__acts { display: flex; justify-content: flex-end; gap: 4px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.lfn-mini {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: transparent; cursor: pointer; color: var(--muted); transition: background-color 0.15s ease, color 0.15s ease;
}
.lfn-mini:hover { background: var(--warm); color: var(--ink); }
.lfn-mini svg { fill: none; }
.lfn-mini--fav[aria-pressed="true"] { color: #a33b2b; }
.lfn-mini--fav[aria-pressed="true"] svg { fill: currentColor; }
.lfn-empty { padding: 40px 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: 16px; }
.lfn-empty p { margin-bottom: 14px; color: var(--ink-2); }
.lfn-more { display: flex; justify-content: center; margin-top: 22px; }
.lfn-more:empty { display: none; }

/* favoris */
.lfn-favbar { margin-top: 34px; padding: 20px 22px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line-2); }
.lfn-favbar__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.lfn-favbar__head h2 { font-size: 1.35rem; }
.lfn-favbar__head h2 span { font-family: var(--sans); font-size: 0.9rem; color: var(--muted); }
.lfn-favbar__acts { display: flex; gap: 18px; }
.lfn-favbar__list { display: flex; flex-wrap: wrap; gap: 8px; }
.lfn-favbar__list li {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 999px;
  background: linear-gradient(145deg, var(--brass-1), var(--brass-2)); color: #3d260b;
}
.lfn-fav__n { font-family: var(--serif); font-size: 1.05rem; }
.lfn-fav__nat { font-size: 0.85rem; color: #5a3a12; }
.lfn-favbar__list button {
  width: 24px; height: 24px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 250, 240, 0.55);
  font-size: 1rem; line-height: 1; color: #3d260b;
}

/* toast */
.lfn-toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 11px 20px; border-radius: 999px; background: var(--ink); color: #fdf8ef; font-weight: 600; font-size: 0.9rem;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.lfn-toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ════════ SECTIONS ════════ */
.lfn-block { padding: clamp(52px, 6vw, 90px) 0; }
.lfn-block--warm { background: var(--warm); }
.lfn-head { max-width: 720px; margin: 0 auto clamp(28px, 3.5vw, 44px); text-align: center; }
.lfn-head--left { margin-left: 0; text-align: left; }
.lfn-head--gap { margin-top: clamp(48px, 6vw, 80px); }
.lfn-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.08; }
.lfn-head p, .lfn-head > div { margin-top: 14px; font-size: 1.04rem; line-height: 1.65; color: var(--ink-2); }
.lfn-head > div p { margin: 0; }

/* noms du monde */
.lfn-world__list { border-top: 1px solid var(--line-2); }
.lfn-world__row {
  display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 40px); align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--line-2);
}
.lfn-world__cat {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--accent);
  font-variation-settings: "opsz" 144; white-space: nowrap;
}
.lfn-world__cat[lang="ja"], .lfn-world__cat[lang="zh"], .lfn-world__cat[lang="ko"], .lfn-world__cat[lang="ar"],
.lfn-world__cat[lang="fa"], .lfn-world__cat[lang="he"], .lfn-world__cat[lang="hi"] {
  font-family: var(--native); font-weight: 500; font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}
.lfn-world__txt h3 { font-size: 1.4rem; line-height: 1.2; }
.lfn-world__catword { margin-top: 2px; font-size: 0.84rem; font-style: italic; color: var(--muted); }
.lfn-world__txt > p:not(.lfn-world__catword):not(.lfn-world__ex) { margin-top: 8px; max-width: 64ch; font-size: 0.96rem; line-height: 1.6; }
.lfn-world__ex { margin-top: 8px; max-width: 70ch; font-size: 0.9rem; line-height: 1.6; color: var(--accent-deep); }
.lfn-world__go {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--line-2); background: var(--card); font-weight: 700; font-size: 0.88rem; color: var(--ink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.lfn-world__go:hover { border-color: var(--ink); background: #fff; }

/* lettre de l'année */
.lfn-year { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.lfn-year__txt h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.1; margin-bottom: 18px; }
.lfn-year__txt p { font-size: 1.02rem; line-height: 1.7; margin: 0 0 14px; }
.lfn-year__txt p strong { color: var(--accent-deep); }
.lfn-year__note { margin-top: 18px; padding: 14px 18px; border-left: 3px solid var(--accent); background: var(--card); border-radius: 0 14px 14px 0; font-size: 0.94rem; line-height: 1.6; }
.lfn-yeartable { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 8px 10px 10px; }
.lfn-yeartable-cap { display: flex; justify-content: space-between; padding: 8px 16px 10px; font-size: 0.8rem; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.lfn-yeartable li { display: flex; align-items: center; gap: 14px; padding: 8px 16px; border-radius: 12px; }
.lfn-yeartable li + li { border-top: 1px solid var(--line); }
.lfn-yeartable li.is-now { background: var(--warm); border-top-color: transparent; }
.lfn-yr { font-weight: 700; color: var(--ink-2); width: 4ch; }
.lfn-lt {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
  font-family: var(--serif); font-size: 1.15rem; color: var(--accent-deep); background: var(--paper); border: 1px solid var(--line-2);
}
.lfn-yeartable li.is-now .lfn-lt { color: #3d260b; background: linear-gradient(145deg, var(--brass-1), var(--brass-2)); border-color: transparent; }
.lfn-tag { margin-left: auto; font-size: 0.82rem; font-weight: 700; color: var(--accent); }

/* conseils : colonne titre + liste */
.lfn-guide { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.lfn-guide__head { position: sticky; top: 110px; }
.lfn-guide__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.08; }
.lfn-guide__intro { margin-top: 14px; font-size: 1.04rem; line-height: 1.65; }
.lfn-guide__list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); isolation: isolate; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.lfn-guide__list li:first-child { padding-top: 4px; }
.lfn-medal-ic {
  position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin-top: 8px; border-radius: 50%; color: #3d260b;
  background: radial-gradient(circle at 32% 26%, rgba(255, 247, 226, 0.9), rgba(255, 247, 226, 0) 45%),
    linear-gradient(145deg, var(--brass-1), var(--brass-2) 55%, var(--brass-3));
  box-shadow: inset 0 0 0 3px rgba(255, 240, 205, 0.35), inset 0 -4px 8px rgba(90, 58, 18, 0.3), 0 10px 18px -12px rgba(80, 50, 15, 0.7);
}
.lfn-medal-ic::before {
  content: ""; position: absolute; top: -8px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  border: 2.5px solid #c3924f; z-index: -1;
}
.lfn-medal-ic .lfn-ico { width: 38px; height: 38px; }
.lfn-guide__list h3 { font-size: 1.3rem; line-height: 1.2; margin-bottom: 6px; }
.lfn-guide__list p { font-size: 0.98rem; line-height: 1.65; }

/* étagères (thèmes, robes) */
.lfn-shelf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); border-top: 1px solid var(--line-2); }
.lfn-shelf__row { position: relative; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.lfn-shelf__row h3 { font-size: 1.3rem; line-height: 1.2; }
.lfn-shelf__row p { margin-top: 6px; font-size: 0.95rem; line-height: 1.6; }
.lfn-shelf__names { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.lfn-shelf__names li { padding: 4px 11px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-family: var(--serif); font-size: 0.98rem; color: var(--ink); }
.lfn-shelf--robe .lfn-shelf__row { padding-left: 46px; }
.lfn-swatch { position: absolute; left: 0; top: 24px; width: 30px; height: 30px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(42, 33, 23, 0.15); }

/* maillage */
.lfn-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lfn-linkcard { display: flex; align-items: center; gap: 18px; padding: 22px 22px 20px; isolation: isolate; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: border-color 0.2s ease; }
.lfn-linkcard:hover { border-color: var(--accent); }
.lfn-linkcard__txt strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--ink); margin-bottom: 2px; }
.lfn-linkcard__txt span { font-size: 0.92rem; color: var(--muted); line-height: 1.5; }
.lfn-linkcard__arr { margin-left: auto; color: var(--accent); flex: none; transition: transform 0.2s ease; }
.lfn-linkcard:hover .lfn-linkcard__arr { transform: translateX(4px); }
.lfn-prose { max-width: 70ch; margin-top: 34px; font-size: 1.02rem; line-height: 1.75; }
.lfn-prose p { margin: 0 0 14px; }
.lfn-prose a { color: var(--accent-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* FAQ */
.lfn-faq { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.lfn-faq > h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.08; }
.lfn-faq-list { border-top: 1px solid var(--line-2); }
.lfn-qa { border-bottom: 1px solid var(--line-2); }
.lfn-qa__q { display: flex; align-items: flex-start; gap: 16px; padding: 20px 2px; cursor: pointer; list-style: none; }
.lfn-qa__q::-webkit-details-marker { display: none; }
.lfn-qa__qtext { flex: 1; font-weight: 700; font-size: 1.05rem; line-height: 1.45; color: var(--ink); }
.lfn-qa__chev { flex: none; color: var(--accent-deep); transition: transform 0.25s ease; }
.lfn-qa[open] .lfn-qa__chev { transform: rotate(180deg); }
.lfn-qa__a { padding: 0 2px 22px; font-size: 1rem; line-height: 1.7; max-width: 68ch; }
.lfn-qa__a p { margin: 0 0 12px; }
.lfn-qa__a p:last-child { margin-bottom: 0; }
.lfn-qa__a a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }

/* collections */
.lfn-cols-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 18px); }
.lfn-ccard { position: relative; display: block; overflow: hidden; border-radius: 16px; background: var(--warm); aspect-ratio: 4 / 5; }
.lfn-ccard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.lfn-ccard:hover img { transform: scale(1.04); }
.lfn-ccard-label {
  position: absolute; inset: auto 0 0 0; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 46px 16px 14px; color: #fff; background: linear-gradient(180deg, transparent, rgba(28, 18, 6, 0.72));
}
.lfn-ccard-label b { font-weight: 700; font-size: 0.95rem; line-height: 1.25; }

/* ════════ FOCUS & MOUVEMENT ════════ */
.lf-nomspg :where(a, button, select, summary, [role="switch"]):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .lf-nomspg *, .lf-nomspg *::before, .lf-nomspg *::after { transition: none !important; animation: none !important; }
}

/* ════════ RESPONSIVE ════════ */
@media (max-width: 1020px) {
  .lfn-tool__grid { grid-template-columns: 1fr; }
  .lfn-filters-toggle {
    display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 10px 16px; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--line-2); background: #fff; font-weight: 700; font-size: 0.92rem; color: var(--ink);
  }
  .lfn-filters { display: none; position: static; max-height: none; overflow: visible; padding: 18px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
  .lfn-filters.is-open { display: flex; }
  .lfn-cols-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .lfn-hero__grid, .lfn-year, .lfn-guide, .lfn-faq { grid-template-columns: 1fr; }
  .lfn-hero__txt { text-align: left; }
  .lfn-medal-zone { margin-top: 20px; }
  .lfn-guide__head { position: static; }
  .lfn-shelf, .lfn-link-grid { grid-template-columns: 1fr; }
  .lfn-world__row { grid-template-columns: 1fr; gap: 10px; }
  .lfn-world__go { justify-self: start; }
}
@media (max-width: 600px) {
  .lfn-grid { grid-template-columns: 1fr; gap: 10px; }
  .lfn-name { padding: 16px 16px 10px; }
  .lfn-medal__sense { font-size: 0.8rem; }
  .lfn-medal__nat { font-size: 1.05rem; }
  .lfn-paw__face { top: 43%; bottom: 5%; left: 15%; right: 15%; }
  .lfn-medal__actions { gap: 6px; flex-wrap: nowrap; }
  .lfn-medal__actions .lfn-iconbtn { padding: 9px 11px; gap: 6px; font-size: 0.82rem; }
  .lfn-hero .lfn-btn--primary { width: 100%; }
}

/* Sélecteur FR / EN (discret, en haut à droite du hero) */
.lfn-hero { position: relative; }
.lfn-lang {
  position: absolute; top: clamp(10px, 1.6vw, 18px); z-index: 2;
  right: max(clamp(18px, 4.5vw, 48px), calc((100% - 1180px) / 2 + clamp(18px, 4.5vw, 48px)));
  display: flex; align-items: center; gap: 5px;
  font: 600 0.72rem/1 var(--sans); letter-spacing: 0.08em; color: var(--muted);
}
.lfn-lang a { color: inherit; text-decoration: none; padding: 4px 2px; opacity: 0.75; transition: opacity .2s, color .2s; }
.lfn-lang a:hover, .lfn-lang a:focus-visible { opacity: 1; color: var(--ink); }
.lfn-lang a[aria-current] { opacity: 1; color: var(--ink); box-shadow: inset 0 -1.5px 0 var(--brass-2); }
.lfn-lang span { opacity: 0.45; }
.lf-nomspg.lfn-is-swapping { opacity: 0; }
.lf-nomspg { transition: opacity .18s ease; }
