@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&family=Nunito:wght@400;500;600;700;800&family=Caveat:wght@400;500;600;700&display=swap&subset=latin,latin-ext,cyrillic,cyrillic-ext');

/* =========================================================
   TIMOUNBOOKS.FR — KHOKHLOMA & MATRIOCHKA DESIGN SYSTEM
   ========================================================= */

:root {
  /* PALETTE — 7 couleurs */
  --noir-laque: #1A1411;
  --rouge-laque: #C8102E;
  --or-antique: #C69C46;
  --bleu-gzhel: #3D5E8C;
  --vert-jostovo: #5A7A4D;
  --creme-porcelaine: #F8F2E4;
  --bois-blond: #E8D4B0;

  /* OPACITES noir */
  --noir-80: rgba(26, 20, 17, 0.80);
  --noir-65: rgba(26, 20, 17, 0.65);
  --noir-40: rgba(26, 20, 17, 0.40);
  --noir-20: rgba(26, 20, 17, 0.20);
  --noir-10: rgba(26, 20, 17, 0.10);
  --noir-06: rgba(26, 20, 17, 0.06);

  /* OPACITES creme */
  --creme-95: rgba(248, 242, 228, 0.95);
  --creme-75: rgba(248, 242, 228, 0.75);
  --creme-40: rgba(248, 242, 228, 0.40);

  /* OPACITES or */
  --or-40: rgba(198, 156, 70, 0.40);
  --or-20: rgba(198, 156, 70, 0.20);

  /* POLICES */
  --ff-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-body: 'Nunito', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --ff-accent: 'Caveat', 'Brush Script MT', cursive;

  /* MESURES */
  --measure-article: 680px;
  --measure-wide: 1280px;
  --measure-hero: 1440px;
  --gutter: clamp(1rem, 4vw, 2rem);

  /* TRANSITIONS */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 300ms;
  --dur: 500ms;
  --dur-slow: 700ms;

  /* TYPO RESPONSIVE */
  --fs-xs: clamp(0.75rem, 1.5vw, 0.8125rem);
  --fs-sm: clamp(0.875rem, 2vw, 0.9375rem);
  --fs-body: clamp(1rem, 2.2vw, 1.0625rem);
  --fs-lg: clamp(1.125rem, 2.5vw, 1.25rem);
  --fs-xl: clamp(1.375rem, 3vw, 1.625rem);
  --fs-h3: clamp(1.375rem, 3vw, 1.75rem);
  --fs-h2: clamp(1.75rem, 4.5vw, 2.375rem);
  --fs-h1: clamp(2.25rem, 6vw, 3.75rem);
  --fs-hero: clamp(2.75rem, 8vw, 5rem);
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--noir-laque);
  background: var(--creme-porcelaine);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }

a {
  color: var(--bleu-gzhel);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
a:hover { color: var(--rouge-laque); }

button { font-family: inherit; cursor: pointer; border: none; background: transparent; }

/* ============ TITRES ============ */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--noir-laque);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); margin-top: 3rem; margin-bottom: 1.25rem; }
h3 { font-size: var(--fs-h3); margin-top: 2.25rem; margin-bottom: 0.875rem; }
h4 { font-size: var(--fs-lg); margin-top: 1.75rem; margin-bottom: 0.625rem; }

/* Filet Khokhloma dore sous H2 */
.article-body h2 {
  position: relative;
  padding-bottom: 0.75rem;
}
.article-body h2::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 96px;
  height: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 10'><path d='M0 5 Q 6 0, 12 5 T 24 5 T 36 5 T 48 5 T 60 5 T 72 5 T 84 5 T 96 5' stroke='%23C69C46' stroke-width='1.8' fill='none'/><circle cx='12' cy='5' r='1.8' fill='%23C8102E'/><circle cx='36' cy='5' r='1.8' fill='%23C8102E'/><circle cx='60' cy='5' r='1.8' fill='%23C8102E'/><circle cx='84' cy='5' r='1.8' fill='%23C8102E'/><path d='M18 5 Q 20 2 24 3 Q 22 5 20 7' stroke='%235A7A4D' stroke-width='1' fill='none'/><path d='M42 5 Q 44 2 48 3 Q 46 5 44 7' stroke='%235A7A4D' stroke-width='1' fill='none'/><path d='M66 5 Q 68 2 72 3 Q 70 5 68 7' stroke='%235A7A4D' stroke-width='1' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  transform-origin: left center;
  transition: transform var(--dur-slow) var(--ease);
}
.article-body.visible h2::after { transform: scaleX(1.35); }

/* ============ PARAGRAPHES ============ */
p { margin-bottom: 1.15rem; }
.article-body p { max-width: var(--measure-article); color: var(--noir-80); }

/* Lettrine enluminure rouge-or au premier paragraphe */
.article-body > p:first-of-type::first-letter {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 3.75em;
  float: left;
  line-height: 0.85;
  margin: 0.25rem 0.75rem 0 0;
  color: var(--creme-porcelaine);
  background: var(--rouge-laque);
  padding: 0.35rem 0.55rem 0.4rem;
  border-radius: 3px;
  box-shadow: 0 2px 0 var(--or-antique);
}

ul, ol { padding-left: 1.5rem; margin-bottom: 1.15rem; max-width: var(--measure-article); color: var(--noir-80); }
li { margin-bottom: 0.4rem; }
strong { color: var(--noir-laque); font-weight: 700; }
em { font-style: italic; }

blockquote {
  border-left: 4px solid var(--rouge-laque);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-xl);
  color: var(--noir-laque);
  max-width: var(--measure-article);
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--or-40), transparent);
  margin: 3rem auto;
  max-width: var(--measure-article);
}

code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.9em;
  background: var(--bois-blond);
  padding: 0.1em 0.35em;
  border-radius: 3px;
  color: var(--rouge-laque);
}

/* ============ CONTAINER ============ */
.container { max-width: var(--measure-wide); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container-article { max-width: 960px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--creme-95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--dur-fast) var(--ease), padding var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  padding: 1rem 0;
}
.site-header.scrolled { box-shadow: 0 4px 24px var(--noir-10); padding: 0.625rem 0; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--noir-laque);
  line-height: 1;
}
.logo svg { width: 40px; height: 40px; flex-shrink: 0; }
.logo:hover { color: var(--rouge-laque); }
.logo-baseline {
  display: block;
  font-family: var(--ff-body);
  font-style: normal;
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--or-antique);
  text-transform: uppercase;
  margin-top: 0.1rem;
}

/* NAV */
.main-nav { display: flex; gap: 1.5rem; align-items: center; }
.main-nav a {
  color: var(--noir-laque);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--rouge-laque);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--dur-fast) var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

/* Lang switcher */
.lang-switcher {
  display: inline-flex;
  gap: 0.375rem;
  align-items: center;
  margin-left: 0.5rem;
  padding-left: 1rem;
  border-left: 1px solid var(--noir-10);
}
.lang-switcher a {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--noir-40);
  padding: 0.25rem 0.45rem;
  border-radius: 2px;
}
.lang-switcher a.active { color: var(--rouge-laque); background: var(--or-20); }
.lang-switcher a:hover { color: var(--rouge-laque); }
.lang-switcher a::after { display: none; }

.nav-toggle { display: none; width: 32px; height: 32px; flex-direction: column; justify-content: center; gap: 5px; padding: 0; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--noir-laque); transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    width: min(360px, 85vw);
    height: 100vh;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 6rem 2rem 2rem;
    background: var(--creme-porcelaine);
    box-shadow: -8px 0 32px var(--noir-20);
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
    align-items: flex-start;
    overflow-y: auto;
  }
  body.nav-open .main-nav { transform: translateX(0); }
  .main-nav a { font-size: 1.125rem; padding: 0.875rem 0; width: 100%; border-bottom: 1px solid var(--noir-10); }
  .lang-switcher { margin: 1.25rem 0 0; padding: 1rem 0 0; border-left: none; border-top: 1px solid var(--noir-10); }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  margin-top: 0;
  padding: 6rem 0 3rem;
}
.hero-home { min-height: 92vh; }

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(0.95);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(26, 20, 17, 0.92) 0%,
      rgba(200, 16, 46, 0.25) 55%,
      rgba(232, 212, 176, 0.10) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--creme-porcelaine);
  max-width: 900px;
  padding: 0 var(--gutter);
  margin: 0 auto;
  width: 100%;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--or-antique);
  margin-bottom: 1.25rem;
}
.hero-kicker::before { content: ''; width: 44px; height: 1px; background: var(--or-antique); }

.hero-kicker-cyrillic {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  letter-spacing: 0.3em;
  color: var(--or-antique);
  display: block;
  margin-top: 0.35rem;
  text-transform: uppercase;
  font-weight: 600;
}

.hero h1 {
  color: var(--creme-porcelaine);
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  max-width: 20ch;
}

.hero-description {
  font-size: var(--fs-lg);
  color: var(--creme-75);
  max-width: 60ch;
  margin-bottom: 2rem;
  line-height: 1.55;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.875rem;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all var(--dur-fast) var(--ease);
}
.btn-primary { background: var(--rouge-laque); color: var(--creme-porcelaine); }
.btn-primary:hover { background: var(--creme-porcelaine); color: var(--rouge-laque); transform: translateY(-2px); box-shadow: 0 8px 20px var(--noir-20); }
.btn-secondary { background: transparent; color: var(--creme-porcelaine); border-color: var(--or-antique); }
.btn-secondary:hover { background: var(--or-antique); color: var(--noir-laque); }

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--or-antique);
  font-size: var(--fs-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeUp 2s ease-in-out infinite alternate;
}
@keyframes fadeUp { from { opacity: 0.4; transform: translate(-50%, 0); } to { opacity: 1; transform: translate(-50%, -6px); } }

/* ============ BREADCRUMB ============ */
.breadcrumb { font-size: var(--fs-xs); color: var(--creme-75); margin-bottom: 1.25rem; letter-spacing: 0.05em; }
.breadcrumb a { color: var(--or-antique); }
.breadcrumb a:hover { color: var(--creme-porcelaine); }
.breadcrumb .sep { margin: 0 0.5rem; opacity: 0.6; }
.article-meta { font-size: var(--fs-xs); color: var(--creme-75); letter-spacing: 0.05em; margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ============ ARTICLE LAYOUT ============ */
.article-summary {
  max-width: 780px;
  margin: 3rem auto 2rem;
  padding: 0 var(--gutter) 0 calc(var(--gutter) + 1.75rem);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-xl);
  line-height: 1.55;
  color: var(--noir-laque);
  border-left: 3px solid var(--rouge-laque);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: var(--measure-wide);
  margin: 2rem auto 4rem;
  padding: 0 var(--gutter);
  gap: 3rem;
}
@media (min-width: 1024px) {
  .article-layout { grid-template-columns: 220px minmax(0, 1fr); }
}

.toc-sticky { display: none; }
@media (min-width: 1024px) {
  .toc-sticky {
    display: block;
    position: sticky;
    top: 6rem;
    align-self: start;
    font-family: var(--ff-body);
    font-size: var(--fs-xs);
    padding-right: 1rem;
    border-right: 1px solid var(--noir-10);
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
  }
}
.toc-sticky h3 {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--or-antique);
  margin-bottom: 1rem;
  padding-bottom: 0;
  margin-top: 0;
}
.toc-sticky ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc-sticky li {
  counter-increment: toc;
  padding: 0.4rem 0;
  position: relative;
  padding-left: 2rem;
  border-bottom: 1px solid var(--noir-06);
  transition: padding-left var(--dur-fast) var(--ease);
}
.toc-sticky li::before {
  content: counter(toc, decimal-leading-zero) ".";
  position: absolute;
  left: 0;
  top: 0.4rem;
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--or-antique);
  font-size: 0.875em;
}
.toc-sticky li:hover { padding-left: 2.3rem; }
.toc-sticky a { color: var(--noir-80); display: block; line-height: 1.4; }
.toc-sticky a:hover { color: var(--rouge-laque); }

.article-body { min-width: 0; }
.article-body > * { max-width: var(--measure-article); }
.article-body img {
  max-width: 100%;
  margin: 2.5rem auto;
  border-radius: 2px;
  box-shadow: 0 8px 32px var(--noir-10);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.article-body h2 { max-width: var(--measure-article); }
.article-body h3 { max-width: var(--measure-article); }

/* ============ PULL QUOTE avec matriochka ============ */
.pull-quote {
  max-width: var(--measure-article);
  margin: 2.75rem auto;
  padding: 1.75rem 0 1.75rem 2.5rem;
  border-left: 4px solid var(--rouge-laque);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-xl);
  line-height: 1.45;
  color: var(--noir-laque);
  position: relative;
}
.pull-quote::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 1.5rem;
  width: 28px;
  height: 36px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 36'><ellipse cx='14' cy='22' rx='11' ry='13' fill='%23C8102E' stroke='%231A1411' stroke-width='0.8'/><path d='M3 22 Q 14 11 25 22' fill='%23F8F2E4' stroke='%231A1411' stroke-width='0.6'/><ellipse cx='14' cy='8' rx='7' ry='6' fill='%23F8F2E4' stroke='%231A1411' stroke-width='0.6'/><circle cx='11' cy='8' r='0.8' fill='%231A1411'/><circle cx='17' cy='8' r='0.8' fill='%231A1411'/><path d='M12 10 Q 14 11 16 10' stroke='%23C8102E' stroke-width='0.6' fill='none'/><path d='M8 16 Q 14 18 20 16' stroke='%23C69C46' stroke-width='0.5' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}
.pull-quote cite {
  display: block;
  font-family: var(--ff-accent);
  font-style: normal;
  font-size: 1.25rem;
  color: var(--or-antique);
  margin-top: 0.75rem;
  letter-spacing: 0.02em;
}
.pull-quote cite::before { content: '— '; }

/* ============ FAQ accordeon couronne Khokhloma ============ */
.faq-section { max-width: 880px; margin: 4rem auto; padding: 0 var(--gutter); }
.faq-section > h2 {
  font-family: var(--ff-display);
  font-size: var(--fs-h2);
  margin-bottom: 2rem;
  text-align: center;
}
.faq-section > h2 > .faq-section-kicker {
  display: block;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--or-antique);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.faq-item {
  border-bottom: 1px solid var(--noir-10);
  padding: 0.25rem 0;
  transition: background var(--dur-fast) var(--ease);
}
.faq-item-button {
  width: 100%;
  text-align: left;
  padding: 1.25rem 3.5rem 1.25rem 0;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-lg);
  color: var(--noir-laque);
  position: relative;
  display: block;
  line-height: 1.4;
}
.faq-item-button::after {
  content: '';
  position: absolute;
  right: 0.25rem;
  top: 50%;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none'><circle cx='16' cy='16' r='14' stroke='%23C69C46' stroke-width='1'/><path d='M16 8 L16 24 M8 16 L24 16' stroke='%23C8102E' stroke-width='1.5' stroke-linecap='round'/><path d='M16 6 Q 18 8 16 10 Q 14 8 16 6 M26 16 Q 24 18 22 16 Q 24 14 26 16 M16 26 Q 18 24 16 22 Q 14 24 16 26 M6 16 Q 8 18 10 16 Q 8 14 6 16' fill='%235A7A4D'/><circle cx='16' cy='16' r='2' fill='%23C69C46'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform var(--dur) var(--ease);
}
.faq-item.open .faq-item-button::after { transform: rotate(45deg); }
.faq-item-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur) var(--ease), padding var(--dur) var(--ease);
  color: var(--noir-80);
  line-height: 1.65;
}
.faq-item.open .faq-item-answer { max-height: 1200px; padding: 0 0 1.5rem 0; }
.faq-item.open { background: var(--noir-06); margin: 0 -1rem; padding: 0 1rem; border-radius: 2px; }

/* ============ CARDS ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 1.75rem;
  margin: 2rem 0;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--creme-porcelaine);
  border: 1px solid var(--noir-10);
  border-radius: 2px;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  text-decoration: none;
  color: inherit;
  height: 100%;
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px var(--noir-10); border-color: var(--or-antique); }
.card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 24px; height: 24px;
  background: linear-gradient(225deg, var(--bois-blond) 50%, transparent 50%);
  z-index: 2;
}

.card-image {
  aspect-ratio: 3 / 2;
  width: 100%;
  object-fit: cover;
  display: block;
  background: var(--bois-blond);
}

.card-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }

.card-kicker {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--or-antique);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-title {
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--noir-laque);
}

.card-excerpt { font-size: var(--fs-sm); color: var(--noir-65); line-height: 1.55; flex: 1; margin-bottom: 1rem; }

.card-meta { font-family: var(--ff-accent); font-size: 1.125rem; color: var(--bleu-gzhel); margin-top: auto; }

/* Badges (age, langue, recommande) */
.card-badges { position: absolute; top: 0.875rem; left: 0.875rem; display: flex; gap: 0.4rem; z-index: 2; }
.card-badge {
  background: var(--creme-95);
  padding: 0.3rem 0.65rem;
  border-radius: 2px;
  font-family: var(--ff-accent);
  font-size: 1rem;
  color: var(--rouge-laque);
  box-shadow: 0 2px 8px var(--noir-10);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.card-badge-age { color: var(--rouge-laque); }
.card-badge-age-0-3 { color: var(--vert-jostovo); }
.card-badge-age-4-7 { color: var(--bleu-gzhel); }
.card-badge-age-8-12 { color: var(--or-antique); }
.card-badge-age-12-16 { color: var(--rouge-laque); }
.card-badge-lang { background: var(--noir-laque); color: var(--creme-porcelaine); font-family: var(--ff-body); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }

.card-rekomend {
  position: absolute;
  top: 0.875rem;
  right: 1.25rem;
  font-family: var(--ff-accent);
  font-size: 1.25rem;
  color: var(--rouge-laque);
  transform: rotate(-8deg);
  z-index: 3;
  text-shadow: 0 1px 2px var(--creme-95);
  font-weight: 700;
}

/* Grille asymetrique piliers homepage */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}
.guides-grid .card { height: 100%; }
.guides-grid .g-sq { grid-column: span 4; }
.guides-grid .g-feature { grid-column: span 8; }
.guides-grid .g-feature .card-image { aspect-ratio: 21 / 9; }
.guides-grid .g-po { grid-column: span 4; }
.guides-grid .g-po .card-image { aspect-ratio: 3 / 4; }
@media (max-width: 780px) {
  .guides-grid { grid-template-columns: 1fr; }
  .guides-grid .g-sq, .guides-grid .g-feature, .guides-grid .g-po { grid-column: span 1; }
}

/* ============ SECTIONS ============ */
section { padding: 4.5rem 0; }
.section-dark { background: var(--noir-laque); color: var(--creme-porcelaine); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--creme-porcelaine); }
.section-dark p { color: var(--creme-75); }
.section-dark .card { background: var(--creme-porcelaine); }
.section-dark .card .card-title, .section-dark .card h3 { color: var(--noir-laque); }
.section-dark .card .card-excerpt, .section-dark .card p { color: var(--noir-65); }
.section-dark .card .card-kicker { color: var(--or-antique); }
.section-dark .card .card-meta { color: var(--bleu-gzhel); }
.section-alt { background: var(--bois-blond); }

.section-kicker {
  display: block;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--or-antique);
  font-weight: 600;
  margin-bottom: 0.875rem;
}

.section-title { font-family: var(--ff-display); font-size: var(--fs-h2); max-width: 720px; margin-bottom: 1rem; }
.section-intro { max-width: 60ch; color: var(--noir-65); font-size: var(--fs-lg); margin-bottom: 2.5rem; }
.section-dark .section-intro { color: var(--creme-75); }

/* Section immersive KLUCH */
.section-immersive {
  position: relative;
  color: var(--creme-porcelaine);
  padding: 8rem 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.section-immersive-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.section-immersive-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(26,20,17,0.88) 0%, rgba(200,16,46,0.5) 80%); z-index: 1; }
.section-immersive .container { position: relative; z-index: 2; }
.section-immersive h2 { color: var(--creme-porcelaine); max-width: 20ch; }
.section-immersive p { color: var(--creme-75); max-width: 50ch; }

/* ============ FOOTER ============ */
.site-footer { background: var(--noir-laque); color: var(--creme-75); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .logo { color: var(--creme-porcelaine); margin-bottom: 1rem; font-size: 1.5rem; }
.footer-brand p { color: var(--creme-75); font-size: var(--fs-sm); max-width: 38ch; }
.footer-column h4 {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--or-antique);
  margin-bottom: 1rem;
  margin-top: 0;
  font-weight: 600;
}
.footer-column ul { list-style: none; padding: 0; }
.footer-column li { margin-bottom: 0.5rem; }
.footer-column a { color: var(--creme-75); font-size: var(--fs-sm); }
.footer-column a:hover { color: var(--or-antique); }

.footer-bottom { border-top: 1px solid var(--noir-20); padding-top: 1.75rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: var(--fs-xs); color: var(--creme-40); }
.footer-bottom a { color: var(--creme-75); }

/* ============ BOOK/ANIMATION FICHE LAYOUT ============ */
.fiche-cover-card {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 2rem;
  margin: 2.5rem 0 3rem;
  padding: 2rem;
  background: var(--bois-blond);
  border: 1px solid var(--or-40);
  border-radius: 2px;
  align-items: start;
}
@media (max-width: 780px) { .fiche-cover-card { grid-template-columns: 1fr; } }
.fiche-cover-image {
  aspect-ratio: 3 / 2;
  width: 100%;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 8px 24px var(--noir-20);
}
.fiche-cover-meta { font-family: var(--ff-body); font-size: var(--fs-sm); }
.fiche-cover-meta dl { display: grid; grid-template-columns: auto 1fr; gap: 0.55rem 1.25rem; }
.fiche-cover-meta dt {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--or-antique);
  padding-top: 0.15rem;
}
.fiche-cover-meta dd { color: var(--noir-80); margin: 0; }
.fiche-cover-meta .cyrillic { font-family: var(--ff-display); font-style: italic; color: var(--bleu-gzhel); font-size: 1.05em; }

/* ============ UTILITAIRES ============ */
.text-center { text-align: center; }
.text-accent { color: var(--rouge-laque); }
.text-gold { color: var(--or-antique); }
.text-cyrillic { font-family: var(--ff-display); font-style: italic; color: var(--bleu-gzhel); }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 120ms; }
.reveal-delay-2 { transition-delay: 240ms; }
.reveal-delay-3 { transition-delay: 360ms; }

/* ============ MATRIOCHKA FILIGRANE ============ */
.matriochka-watermark {
  position: absolute;
  width: 380px;
  height: 380px;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><g fill='none' stroke='%23C69C46' stroke-width='0.5'><ellipse cx='50' cy='60' rx='26' ry='32'/><ellipse cx='50' cy='30' rx='18' ry='12'/><circle cx='44' cy='30' r='1'/><circle cx='56' cy='30' r='1'/><path d='M45 34 Q 50 36 55 34'/><ellipse cx='50' cy='65' rx='14' ry='10'/><path d='M36 65 Q 50 55 64 65' /><circle cx='50' cy='65' r='2' fill='%23C69C46'/><path d='M40 70 Q 44 76 40 82'/><path d='M60 70 Q 56 76 60 82'/></g></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}
.matriochka-tl { top: -60px; left: -60px; }
.matriochka-br { bottom: -60px; right: -60px; }

/* ============ 404 ============ */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 6rem 2rem; background: var(--bois-blond); }
.error-page h1 { font-size: clamp(5rem, 16vw, 10rem); font-style: italic; color: var(--rouge-laque); line-height: 1; margin-bottom: 1rem; }
.error-page p { max-width: 48ch; margin: 0 auto 2rem; color: var(--noir-65); }

/* ============ PLAN DU SITE ============ */
.sitemap-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem; margin: 2rem 0; }
.sitemap-col h3 { font-family: var(--ff-body); font-size: var(--fs-xs); letter-spacing: 0.22em; text-transform: uppercase; color: var(--or-antique); border-bottom: 1px solid var(--or-40); padding-bottom: 0.5rem; margin-bottom: 0.75rem; margin-top: 0; font-weight: 600; }
.sitemap-col ul { list-style: none; padding: 0; }
.sitemap-col li { margin-bottom: 0.35rem; }
.sitemap-col a { font-size: var(--fs-sm); color: var(--noir-80); }
.sitemap-col a:hover { color: var(--rouge-laque); }

/* ============ CONTACT ============ */
.contact-card {
  max-width: 560px;
  margin: 2rem auto;
  padding: 2.5rem;
  background: var(--creme-porcelaine);
  border: 1px solid var(--or-40);
  border-radius: 2px;
  text-align: center;
  box-shadow: 0 4px 16px var(--noir-06);
}
.contact-card h2 { margin-top: 0; }
.contact-mailto {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding: 0.95rem 2rem;
  background: var(--rouge-laque);
  color: var(--creme-porcelaine);
  font-family: var(--ff-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--fs-sm);
  border-radius: 2px;
}
.contact-mailto:hover { background: var(--noir-laque); color: var(--or-antique); }

/* ============ RELATED ============ */
.related-section { padding: 4rem 0; background: var(--bois-blond); margin-top: 4rem; }
.related-section .section-kicker { text-align: center; }
.related-section .section-title { text-align: center; margin-left: auto; margin-right: auto; margin-bottom: 2.5rem; }

/* ============ PRINT ============ */
@media print {
  .site-header, .site-footer, .related-section, .faq-section, .scroll-indicator { display: none; }
  body { background: white; color: black; }
  .hero { min-height: auto; padding: 2rem 0; }
  .hero-overlay { display: none; }
  .article-body img { max-width: 60%; }
}
