@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --accent: #3f6f4e;
  --accent-soft: #e6efe7;
  --ok: #3d8a4f;
  --warn: #c4a35a;
  --err: #b85c4c;
  --bg: #f5f2ea;
  --bg2: #ece6da;
  --card: #ffffff;
  --soft: #f3eee5;
  --text: #1f241f;
  --muted: #5c615a;
  --line: rgba(40, 44, 38, .12);
  --tap: 44px;
  --radius: 16px;
  --br: 16px;
  --brand: var(--accent);
  --border: 1px solid var(--line);
  --shadow: 0 1px 2px rgba(31, 36, 31, .05), 0 10px 28px rgba(31, 36, 31, .08);
  --font: "Outfit", ui-sans-serif, system-ui, sans-serif;
}

/* Couleur de la tuile d’accueil, reprise dans toute la rubrique. */
html.r-shop {
  --accent: #8a6414;
  --accent-soft: #f6ecd4;
  --bg: #f7f1e4;
}
html.r-cost {
  --accent: #5c5a4a;
  --accent-soft: #eeece3;
  --bg: #f4f3ee;
}
html.r-seed {
  --accent: #3d6a24;
  --accent-soft: #e5f0d8;
  --bg: #f1f6eb;
}
html.r-fest {
  --accent: #7a3a68;
  --accent-soft: #f3e4ef;
  --bg: #f7eef4;
}
html.r-mec {
  --accent: #3a5470;
  --accent-soft: #e4ebf3;
  --bg: #eef2f6;
}
html.r-mus {
  --accent: #5a3d88;
  --accent-soft: #ece6f6;
  --bg: #f3eef8;
}
html.r-rec {
  --accent: #2d6a42;
  --accent-soft: #e1f0e5;
  --bg: #eef5ef;
}
html.r-jeux {
  --accent: #8a3d58;
  --accent-soft: #f4e4ea;
  --bg: #f7eef1;
}
html.r-quiz {
  color-scheme: dark;
  --accent: #3d8fd9;
  --accent-soft: #243652;
  --bg: #121826;
  --bg2: #182132;
  --card: #1c283c;
  --soft: #243652;
  --text: #f3efe6;
  --muted: #b4bdc9;
  --line: rgba(243, 239, 230, .14);
  --ok: #3dcf7a;
  --err: #ff6b57;
  --warn: #e0b14a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 14px 36px rgba(0, 0, 0, .32);
  --qa: #2f74d6;
  --qb: #d99a12;
  --qc: #1a9a6c;
  --qd: #e0563a;
}
html.r-quiz body::before {
  background:
    radial-gradient(90% 55% at 80% -18%, color-mix(in oklab, var(--accent) 26%, transparent), transparent 58%),
    radial-gradient(70% 42% at 0% 100%, color-mix(in oklab, var(--qc) 14%, transparent), transparent 52%),
    var(--bg);
}
html.r-quiz .btn.danger {
  background: #c94b3c;
  color: #fff;
  box-shadow: none;
}
html.r-quiz .btn.mute {
  background: #3d4758;
  color: #e4e8ee;
  box-shadow: none;
}
html.r-quiz input,
html.r-quiz select,
html.r-quiz textarea {
  background: #f4f0e8;
  color: #141614;
  box-shadow: none;
}
html.r-quiz input::placeholder,
html.r-quiz textarea::placeholder {
  color: #6a7068;
}
html.r-quiz .chip {
  background: #f4f0e8;
  color: #141614;
  box-shadow: none;
}
html.r-quiz .chip.on,
html.r-quiz .chip.active {
  background: var(--accent);
  color: #fff;
}
html.r-idea {
  --accent: #8a5a28;
  --accent-soft: #f4e8d4;
  --bg: #f7f0e6;
}
html.r-fest.season-hiver {
  --accent: #3a5470;
  --accent-soft: #d5e0ec;
  --bg: #eef2f6;
}
html.r-fest.season-printemps {
  --accent: #3d6a24;
  --accent-soft: #dce8c4;
  --bg: #f1f6eb;
}
html.r-fest.season-ete {
  --accent: #8a6414;
  --accent-soft: #f4e6c0;
  --bg: #f7f1e4;
}
html.r-fest.season-automne {
  --accent: #8a3d20;
  --accent-soft: #f3d4c4;
  --bg: #f7efe8;
}
html.r-fest.season-lune {
  --accent: #5a3d88;
  --accent-soft: #ece6f6;
  --bg: #f3eef8;
}
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  min-height: 100%;
  min-height: 100dvh;
}
html, body { min-height: 100%; min-height: 100dvh; }
body {
  display: flex;
  flex-direction: column;
  margin: 0;
  isolation: isolate;
  font-family: var(--font);
  color: var(--text);
  background: transparent;
  padding: max(12px, env(safe-area-inset-top)) 18px calc(16px + env(safe-area-inset-bottom));
  touch-action: manipulation;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(80% 50% at 100% -10%, color-mix(in oklab, var(--accent) 12%, transparent), transparent 60%),
    var(--bg);
}
a { color: var(--accent); text-decoration: none; }
a.item { color: inherit; }
a.app-btn { color: var(--ink, inherit); }
button, .chip, .item, .app-btn, .fav-btn {
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(63, 111, 78, .16);
}
.page { flex: 1 0 auto; width: 100%; max-width: 720px; margin-inline: auto; }
.back {
  color: var(--accent);
  font-size: .9rem;
  font-weight: 650;
  letter-spacing: .01em;
  display: inline-block;
  min-height: 36px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}
h1 {
  font-size: 2.05rem;
  font-weight: 750;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin: .15rem 0 .9rem;
}
.lead, .muted { color: var(--muted); }
.sr, .visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  border: 0;
}
.d-none { display: none !important; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 0 16px;
  border-radius: 12px;
  border: 0;
  background: var(--card);
  font-weight: 600;
  line-height: 1;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn.primary, .primary {
  background: var(--accent);
  color: #fff;
  box-shadow: none;
}
.btn.ghost, .ghost {
  background: var(--card);
  color: var(--text);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--text) 18%, transparent);
}
.btn.danger, .danger { color: var(--err); }

input, select, textarea {
  width: 100%;
  min-height: var(--tap);
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  background: var(--card);
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--text) 16%, transparent);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent);
}

.card {
  background: var(--card);
  border: 0;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}

.chip {
  flex: 0 0 auto;
  min-height: 34px;
  border: 0;
  background: var(--card);
  border-radius: 999px;
  padding: 0 .8rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--text) 16%, transparent);
}
.chip.on, .chip.active {
  background: var(--accent);
  color: #fff;
  box-shadow: none;
}
.chips {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }

.list, .block {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  background: var(--card);
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.item {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  min-height: var(--tap);
  padding: .85rem 1rem;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  text-align: left;
  color: inherit;
}
.list .item:first-child, .block .item:first-of-type { border-top: 0; }
.heading {
  margin: 0;
  padding: .7rem 1rem;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.badge {
  display: inline-block;
  font-size: .72rem;
  padding: .1rem .5rem;
  border-radius: 999px;
  background: var(--soft);
  border: var(--border);
  color: var(--muted);
}

body.home::before {
  background:
    radial-gradient(70% 42% at 8% -8%, color-mix(in oklab, #d4a84b 22%, transparent), transparent 58%),
    radial-gradient(80% 50% at 100% -10%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 60%),
    var(--bg);
}
body.home .page { max-width: 430px; }
.home-head { padding: 18px 4px 28px; }
.home-head .kicker {
  margin: 0 0 6px;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.home-head h1 {
  margin: 0;
  font-size: 2.65rem;
  font-weight: 750;
  letter-spacing: -.05em;
  line-height: 1.02;
}
.home-hello {
  margin: 10px 0 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
}

.site-foot, .home-foot {
  flex-shrink: 0;
  width: 100%;
  margin: auto 0 0;
  padding: 22px 8px 0;
  text-align: center;
  font-size: .86rem;
  font-weight: 500;
  line-height: 1.45;
}
html.sheet-open .site-foot,
html.sheet-open .home-foot { visibility: hidden; }
.site-foot a, .home-foot a {
  color: var(--text);
  opacity: .72;
  text-decoration: none;
}
.site-foot a:hover, .home-foot a:hover,
.site-foot a.is-here { color: var(--accent); opacity: 1; }
html:not(.is-admin) [data-admin] { display: none !important; }

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.app-btn {
  --tint: #efe9de;
  --ink: #1f241f;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  min-height: 148px;
  padding: 16px;
  border: 0;
  border-radius: 22px;
  background: var(--tint);
  color: var(--ink);
  font-weight: 650;
  font-size: 1.06rem;
  letter-spacing: -.02em;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 22px rgba(31, 36, 31, .07);
  transition: transform .15s ease, filter .15s ease;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
  appearance: none;
  -webkit-appearance: none;
  touch-action: pan-y;
}
@media (hover: hover) and (pointer: fine) {
  .app-btn { cursor: grab; }
  .app-btn:hover { filter: brightness(1.03); }
}
.app-btn.dragging {
  opacity: .8;
  transform: scale(1.03);
  z-index: 2;
  cursor: grabbing;
  box-shadow: var(--shadow);
}
.app-grid.sorting .app-btn { cursor: grabbing; }
.app-grid.sorting .app-btn:active { transform: none; }
.app-btn:active { transform: scale(.98); }
.app-ico {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .62);
  color: var(--ink);
}
.app-ico svg { width: 20px; height: 20px; display: block; }
.app-btn svg, .app-btn .app-ico, .app-btn .label { pointer-events: none; }
.app-btn .label { display: block; line-height: 1.2; }
body.menu-sorting {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}
/* Une teinte par sujet : miel, pierre, feuille, prune, tomate, ardoise,
   lavande, vert de maison, rose. Un cran plus vivant qu’avant, sans
   basculer dans le flashy. */
.app-btn.t-shop { --tint: #f4d89a; --ink: #5c4210; }
.app-btn.t-cost { --tint: #ddd8c4; --ink: #3f3f34; }
.app-btn.t-seed { --tint: #c5e3a8; --ink: #2d4a18; }
.app-btn.t-fest { --tint: #e8c4de; --ink: #5a284e; }
.app-btn.t-veg { --tint: #f3c4b0; --ink: #6e301c; }
.app-btn.t-mec { --tint: #c5d6ea; --ink: #243648; }
.app-btn.t-mus { --tint: #d4c8f0; --ink: #3c2460; }
.app-btn.t-rec { --tint: #c5e0c8; --ink: #1e4a2c; }
.app-btn.t-jeux { --tint: #ecc0d0; --ink: #5a2840; }
.app-btn.wide { grid-column: 1 / -1; min-height: 80px; flex-direction: row; align-items: center; gap: 14px; }
.app-btn.wide .app-ico { margin-bottom: 0; }

.fiche { max-width: 640px; }
.fiche-head { padding: 4px 2px 8px; }
.fiche-head .kicker {
  margin: 0 0 8px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.fiche-head h1 { margin: 0 0 .45rem; }
.fiche-when { margin: 0 0 14px; color: var(--muted); font-size: .95rem; }
.fiche-lead {
  margin: 0 0 18px;
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 500;
}
.fiche-card {
  background: color-mix(in oklab, var(--accent-soft) 35%, var(--card));
  border-radius: var(--radius);
  padding: 16px 18px 14px;
  margin-bottom: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 22px rgba(31, 36, 31, .06);
}
.fiche-card h2 {
  margin: 0 0 10px;
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.fiche-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fiche-card li {
  position: relative;
  padding: .45rem 0 .45rem 1.1rem;
  line-height: 1.45;
  border-top: 1px solid var(--line);
}
.fiche-card li:first-child { border-top: 0; padding-top: 0; }
.fiche-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .95em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .7;
}
.fiche-spirit {
  background: #ece6d8;
  color: #4a3a1f;
}
.fiche-spirit h2 { color: #3f6f4e; }
.fiche-spirit p { margin: .5rem 0 0; line-height: 1.5; }
.fiche-spirit.spring {
  background: #cfe6b8;
  color: #2d4a18;
}
.fiche-spirit.spring h2 { color: #2d4a18; }
.fiche-spirit.winter {
  background: #d5e0ec;
  color: #243648;
}
.fiche-spirit.winter h2 { color: #243648; }
.fiche-spirit.summer {
  background: #f4d89a;
  color: #5c4210;
}
.fiche-spirit.summer h2 { color: #5c4210; }
.fiche-spirit.autumn {
  background: #f3c4b0;
  color: #6e301c;
}
.fiche-spirit.autumn h2 { color: #6e301c; }
.fiche-spirit.moon {
  background: #e4d8f2;
  color: #3c2460;
}
.fiche-spirit.moon h2 { color: #3c2460; }
.fiche-words {
  margin: 0;
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.4;
}
