/* ============================================================
   Vivasso — « Le livre qui s'ouvre » — papier découpé
   Design system (prototype public)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  /* Page ground — the book's landscape (saturated, never cream) */
  --night-900: #061f24;
  --night-800: #082a30;
  --night: #0d3a40;
  --night-700: #14515a;
  --night-600: #1b6570;

  /* Paper — the cut-out material (surfaces, not the ground) */
  --paper: #f6efe0;
  --paper-2: #efe4cd;
  --paper-3: #e4d4b4;

  /* Ink — tinted from the night, never neutral gray */
  --ink: #12333a;
  --ink-soft: #30525a;
  --ink-faint: #3a5359;

  /* Cut-paper accents */
  --sun: #f2b23e;
  --sun-deep: #6e4a06;
  --rust: #cf5a36;
  --rust-deep: #7a2a14;
  --leaf: #5f8f5a;
  --leaf-deep: #2c4a30;
  --sky: #77a8c2;
  --sky-deep: #1d4a63;

  /* Depth — offset + soft blur, paper lifting */
  --shadow-1: 0 2px 6px -1px rgba(6, 26, 30, 0.22), 0 1px 2px rgba(6, 26, 30, 0.14);
  --shadow-2: 0 10px 26px -12px rgba(6, 26, 30, 0.5), 0 3px 8px -2px rgba(6, 26, 30, 0.22);
  --shadow-3: 0 22px 48px -20px rgba(6, 26, 30, 0.6), 0 6px 16px -6px rgba(6, 26, 30, 0.28);

  --font-display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: linear-gradient(180deg, var(--night-700) 0%, var(--night) 26%, var(--night-800) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--rust-deep); text-decoration-color: rgba(166, 62, 34, 0.4); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* ---------- Browser surfaces ---------- */
::selection { background: var(--sun); color: var(--night-900); }
input, textarea, select, button { caret-color: var(--rust); font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 2px;
  border-radius: 4px;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--night-600) transparent;
}
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--night-600);
  border-radius: 8px;
  border: 3px solid var(--night);
}

/* ---------- Layout helpers ---------- */
.container { width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
[hidden] { display: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
  padding-inline: var(--gutter);
  background: color-mix(in srgb, var(--night-900) 82%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(246, 239, 224, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.brand svg { width: 34px; height: 34px; }

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: 8px;
  flex: 1;
  min-width: 0;
}
.site-nav a {
  color: rgba(246, 239, 224, 0.86);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 10px;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--paper); background: rgba(246, 239, 224, 0.08); }
.site-nav a[aria-current="page"] { color: var(--sun); background: rgba(242, 178, 62, 0.12); }

.header-actions { display: flex; align-items: center; gap: 8px; }

.lang-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(246, 239, 224, 0.24);
  color: var(--paper);
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}
.lang-select:hover { background: rgba(246, 239, 224, 0.1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 0;
  font-weight: 800;
  font-size: 0.98rem;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-1);
  transition: transform 0.16s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.16s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-1); }

.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--sun);
  color: var(--night-900);
  box-shadow: var(--shadow-2);
}
.btn-primary:hover { box-shadow: var(--shadow-3); }

.btn-rust { background: var(--rust-deep); color: var(--paper); }
.btn-rust:hover { box-shadow: var(--shadow-3); }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(246, 239, 224, 0.3);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(246, 239, 224, 0.1); box-shadow: none; }

.btn-paper { background: var(--paper); color: var(--ink); }

.btn-block { width: 100%; }

/* ---------- Paper surfaces ---------- */
.paper {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.paper--flush { border-radius: 0; }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.chip--leaf { background: rgba(95, 143, 90, 0.16); color: var(--leaf-deep); border-color: rgba(62, 106, 68, 0.3); }
.chip--sky { background: rgba(119, 168, 194, 0.18); color: var(--sky-deep); border-color: rgba(57, 119, 154, 0.3); }
.chip--rust { background: rgba(207, 90, 54, 0.14); color: var(--rust-deep); border-color: rgba(166, 62, 34, 0.3); }
.chip--sun { background: rgba(242, 178, 62, 0.18); color: var(--sun-deep); border-color: rgba(207, 127, 28, 0.32); }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 800; font-size: 0.88rem; color: var(--ink); }

.input {
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--paper-3);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  box-shadow: inset 0 1px 2px rgba(6, 26, 30, 0.08);
}
.input:focus { border-color: var(--rust); outline: none; box-shadow: 0 0 0 3px rgba(207, 90, 54, 0.2); }
.input::placeholder { color: var(--ink-faint); }

.searchbar {
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex-wrap: wrap;
}
.searchbar .input { flex: 1 1 220px; }

.select {
  min-height: 46px;
  padding: 10px 34px 10px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--paper-3);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%2312333a' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  cursor: pointer;
}
.check input { width: 20px; height: 20px; accent-color: var(--rust); }

/* ---------- Cards (real content, never icon+heading scaffolding) ---------- */
.card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-2), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.card + .card { margin-top: 14px; }

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.card-title { font-size: 1.2rem; margin: 0; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-decoration-color: var(--rust); }

.meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.meta .tag { gap: 6px; }
.meta .tag svg { width: 14px; height: 14px; }

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--paper-3);
}

/* Flat list — content separated by dividers, no nested cards */
.flat-list { display: flex; flex-direction: column; }
.flat-list > * + * { border-top: 1px dashed var(--paper-3); margin-top: 16px; padding-top: 16px; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 56px;
  padding: 40px var(--gutter) 56px;
  color: rgba(246, 239, 224, 0.82);
  border-top: 1px solid rgba(246, 239, 224, 0.1);
}
.site-footer .container { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.site-footer a { color: rgba(246, 239, 224, 0.82); text-decoration-color: rgba(246, 239, 224, 0.4); }
.site-footer strong { color: var(--paper); font-family: var(--font-display); font-weight: 800; }
.footer-col { display: flex; flex-direction: column; gap: 8px; min-width: 150px; }
.footer-note { font-size: 0.85rem; color: rgba(246, 239, 224, 0.9); max-width: 42ch; }

/* ============================================================
   Home — the book that opens
   ============================================================ */
.book {
  --spread: min(1220px, 100% - var(--gutter) * 2);
  position: relative;
  width: var(--spread);
  margin: clamp(20px, 4vw, 48px) auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  background: var(--night-900);
}

/* central gutter */
.book::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 46px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.32) 48%, rgba(0, 0, 0, 0.32) 52%, transparent);
  pointer-events: none;
}

.page { position: relative; padding: clamp(24px, 4vw, 56px); }

.page--left {
  background: var(--night);
  color: var(--paper);
}
.page--left h1 { color: var(--paper); }
.page--left .lede { color: rgba(246, 239, 224, 0.85); font-size: 1.08rem; max-width: 46ch; }

.page--right {
  background: linear-gradient(180deg, var(--night-600) 0%, var(--night-700) 40%, var(--night-800) 100%);
  overflow: hidden;
}

/* the three chapters */
.chapters { display: flex; flex-direction: column; gap: 14px; margin: 28px 0 24px; }
.chapter {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-2);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease;
}
.chapter:hover, .chapter:focus-visible {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow: var(--shadow-3);
}
.chapter .ico {
  flex: none;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--night);
  color: var(--sun);
}
.chapter .ico svg { width: 28px; height: 28px; }
.chapter-body { min-width: 0; }
.chapter-body strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.chapter-body span { display: block; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.35; }
.chapter .go { margin-left: auto; color: var(--rust-deep); flex: none; }
.chapter .go svg { width: 22px; height: 22px; }

/* the pop-up scene */
.scene {
  position: relative;
  height: clamp(360px, 46vw, 560px);
  margin: -8px -8px 0;
}
.layer {
  position: absolute;
  inset: 0;
  will-change: transform, filter;
}
.layer svg { width: 100%; height: 100%; }
.layer path, .layer circle, .layer rect { transform-origin: center; }

/* paper thickness: soft offset shadows on each layer */
.layer--far { filter: drop-shadow(0 10px 14px rgba(4, 16, 19, 0.35)); }
.layer--mid { filter: drop-shadow(0 16px 22px rgba(4, 16, 19, 0.42)); }
.layer--near { filter: drop-shadow(0 26px 34px rgba(4, 16, 19, 0.55)); }

/* the pop-up rises out of the page — already-visible default, quick ease-out */
@keyframes rise {
  from { transform: translateY(var(--rise, 22px)); opacity: 0.62; }
  to { transform: translateY(0); opacity: 1; }
}
.scene.is-live .layer svg {
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i, 0) * 90ms);
}

/* reduced-motion fallback: everything settled, no rise */
@media (prefers-reduced-motion: reduce) {
  .layer { transform: none !important; }
  .scene .layer { animation: none !important; }
  .scene.is-live .layer svg { animation: none !important; }
}

/* ============================================================
   Associations — paper-cut map + list
   ============================================================ */
.section-intro { padding: 28px 0 12px; }
.section-intro h1 { color: var(--paper); }
.section-intro p { color: rgba(246, 239, 224, 0.82); max-width: 62ch; }

.filter-panel { padding: 18px; margin-bottom: 20px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filter-row .chip { cursor: pointer; }
.filter-row .chip[aria-pressed="true"] { background: var(--rust); color: var(--paper); border-color: var(--rust); }

.results-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 1fr);
  gap: 20px;
  align-items: start;
}

.map-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--night-700);
  box-shadow: var(--shadow-2), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  min-height: 420px;
}
.map-canvas { width: 100%; height: clamp(360px, 52vw, 620px); }
.map-canvas .house { cursor: pointer; }
.map-canvas .house:hover .house-body { transform: translateY(-4px); }

.house-body { transition: transform 0.18s ease; }

.map-tools {
  position: absolute;
  top: 12px; left: 12px;
  display: flex;
  gap: 8px;
}
.map-tools .btn { min-height: 40px; padding: 8px 12px; font-size: 0.85rem; }

.list-panel { display: flex; flex-direction: column; gap: 14px; }

.view-toggle {
  display: none;
  margin-bottom: 14px;
}
.view-toggle .btn { flex: 1; }

/* list equivalent (WCAG) */
.list-caption { font-size: 0.88rem; color: rgba(246, 239, 224, 0.92); margin-bottom: 8px; }

/* ---------- Fiche association — double page ---------- */
.spread {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  position: relative;
}
.spread::before {
  content: "";
  position: absolute;
  left: 50%; top: 0; bottom: 0; width: 40px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.3) 48%, rgba(0,0,0,0.3) 52%, transparent);
  pointer-events: none;
  z-index: 2;
}
.spread > .paper { border-radius: 0; box-shadow: none; }

.cover-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--leaf) 0%, var(--leaf-deep) 60%, var(--night-700) 100%);
  border: 2px solid var(--paper-3);
  border-radius: 2px;
  overflow: hidden;
}
.cover-photo .label {
  position: absolute;
  left: 12px; bottom: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(6, 31, 36, 0.72);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 800;
}

.action-stack { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }

/* ---------- Bourses ---------- */
.needs-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 16px; }
.needs-list .card + .card { margin-top: 0; }

.qualif { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.qualif .tag { background: rgba(242, 178, 62, 0.18); color: var(--sun-deep); }

.contact-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.contact-note svg { width: 16px; height: 16px; color: var(--leaf-deep); }

/* ============================================================
   Pour votre association — volet C (les 3 familles)
   ============================================================ */
.assoc-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px) 0 8px;
}
.assoc-hero h1 { color: var(--paper); }
.assoc-hero .lede { color: rgba(246, 239, 224, 0.88); font-size: 1.12rem; max-width: 52ch; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 26px 0 0; padding: 0; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.9rem; color: rgba(246, 239, 224, 0.94); }
.hero-proof li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); flex: none; }

.assoc-hero-art { position: relative; }
.assoc-hero-art svg { width: 100%; height: auto; }

.section-intro--assoc { padding: 40px 0 20px; }
.section-intro--assoc h2 { color: var(--paper); }

.family {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow-2), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.family-head { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 4px; }
.family-head > div { flex: 1 1 220px; }
.family-num {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--paper);
}
.family-head h3 { margin: 0; }
.family-desc { color: var(--ink-soft); margin: 4px 0 0; }
.family-tag { margin-left: auto; flex: none; }
.family-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.family-list li { position: relative; padding-left: 26px; color: var(--ink); }
.family-list li::before {
  content: "";
  position: absolute; left: 3px; top: 8px;
  width: 11px; height: 11px;
  border-radius: 3px;
  transform: rotate(45deg);
}

.family--rust .family-num { background: var(--rust); }
.family--rust .family-list li::before { background: var(--rust); }
.family--leaf .family-num { background: var(--leaf); }
.family--leaf .family-list li::before { background: var(--leaf); }
.family--sun .family-num { background: var(--sun); color: var(--night-900); }
.family--sun .family-list li::before { background: var(--sun); }

.family-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.closing-cta {
  margin-top: clamp(40px, 7vw, 72px);
  text-align: center;
  background: linear-gradient(135deg, var(--night-700), var(--night-800));
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 64px);
  box-shadow: var(--shadow-3);
}
.closing-cta h2 { color: var(--paper); }
.closing-cta p { color: rgba(246, 239, 224, 0.88); max-width: 50ch; margin-inline: auto; }
.closing-cta .hero-actions { justify-content: center; margin-top: 24px; }

@media (max-width: 860px) {
  .assoc-hero { grid-template-columns: 1fr; }
  .assoc-hero-art { order: -1; max-width: 420px; margin-inline: auto; }
  .family-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Tarifs
   ============================================================ */
.price-card {
  max-width: 560px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 44px);
  text-align: center;
}
.price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 9vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.price > span { font-size: 0.4em; font-weight: 700; letter-spacing: 0; color: var(--ink-soft); }
.price-tagline { margin: 14px 0 22px; font-weight: 800; font-size: 1.12rem; color: var(--rust-deep); }
.price-list {
  list-style: none;
  margin: 0 auto 26px;
  padding: 0;
  max-width: 42ch;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-list li { position: relative; padding-left: 28px; color: var(--ink); }
.price-list li::before {
  content: "";
  position: absolute; left: 2px; top: 7px;
  width: 12px; height: 12px;
  border-radius: 3px;
  transform: rotate(45deg);
  background: var(--leaf);
}
.price-note { margin: 16px 0 0; font-size: 0.88rem; color: var(--ink-soft); }

.quota-panel { padding: clamp(24px, 4vw, 36px); }
.quota-example {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 18px;
}
.quota-stack { display: inline-flex; gap: 4px; }
.quota-stack svg { width: 24px; height: 24px; color: var(--rust); }
.quota-result { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--rust-deep); }

.included-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.included-list li { position: relative; padding-left: 26px; color: var(--ink); }
.included-list li::before {
  content: "";
  position: absolute; left: 2px; top: 8px;
  width: 11px; height: 11px;
  border-radius: 3px;
  transform: rotate(45deg);
  background: var(--leaf);
}
.included-list strong { font-family: var(--font-display); font-weight: 800; color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .site-nav { display: none; }

  /* the book folds to a single page */
  .book { grid-template-columns: 1fr; }
  .book::before { display: none; }
  .page--left { order: 2; }
  .page--right { order: 1; }
  .scene { height: clamp(280px, 78vw, 420px); }

  .results-grid { grid-template-columns: 1fr; }
  .map-panel { min-height: 340px; }
  .map-canvas { height: clamp(300px, 88vw, 480px); }
  .view-toggle { display: flex; gap: 8px; }
  .list-panel[data-view="map"] { display: none; }
  .map-panel[data-view="list"] { display: none; }

  .spread { grid-template-columns: 1fr; }
  .spread::before { display: none; }
}

@media (max-width: 480px) {
  :root { --header-h: 56px; }
  .header-actions .lang-select { display: none; }
  .chapter { padding: 14px; }
  .chapter .ico { width: 44px; height: 44px; }
}
