/*
Theme Name: Fabularium
Theme URI: https://fabularium.org
Author: Das Fabularium
Description: Thème artisanal pour l'atelier de marionnettes Das Fabularium.
Version: 1.0.1
Text Domain: fabularium
*/



/* =========================================================
   variables.css — Das Fabularium
   Tokens couleurs, ombres, rayons, espacements, z-index.
   Source : Étape 1 + Étape 4 + Responsive Recap.
========================================================= */

:root {
  /* ---- Palette papier ---- */
  --paper:        #f4ead5;
  --paper-light:  #fbf5e8;
  --paper-warm:   #ead8b9;
  --paper-deeper: #e3d4b1;

  /* ---- Encres ---- */
  --ink:          #241b15;
  --ink-soft:     #4a3a2d;
  --graphite:     #55514b;

  /* ---- Bleus nuit ---- */
  --blue-night:       #153c43;
  --blue-night-deep:  #0d2c33;
  --blue-water:       #5f7f82;
  --blue-aquarelle:   #3a5e6a;

  /* ---- Accents chauds ---- */
  --rust:       #a9482b;
  --rust-dark:  #7e2f1f;
  --rust-light: #c75a35;
  --ochre:      #c58a32;
  --gold-soft:  #d8b65f;
  --gold-deep:  #b8945a;

  /* ---- Naturels ---- */
  --sage:       #7d8b75;
  --sage-soft:  #a3b09a;
  --linen:      #d9c9a4;
  --terracotta: #b56448;

  /* ---- Surfaces translucides ---- */
  --surface-paper:        rgba(255, 250, 238, 0.78);
  --surface-paper-strong: rgba(255, 250, 238, 0.92);
  --surface-paper-soft:   rgba(255, 250, 238, 0.45);
  --surface-note:         #fff4d8;
  --surface-photo:        #d8cdb8;

  /* ---- Ombres ---- */
  --shadow-soft:  0 18px 45px rgba(44, 31, 18, 0.14);
  --shadow-paper: 0 10px 24px rgba(44, 31, 18, 0.18);
  --shadow-small: 0 6px 16px rgba(44, 31, 18, 0.12);
  --shadow-pin:   0 4px 4px rgba(42, 27, 12, 0.22);
  --shadow-deep:  0 28px 60px rgba(13, 24, 28, 0.32);

  /* ---- Rayons légèrement irréguliers (artisanal) ---- */
  --radius-small: 10px 13px 11px 12px;
  --radius-card:  14px 17px 13px 16px;
  --radius-large: 28px 32px 26px 30px;
  --radius-btn:   14px 17px 13px 16px;

  /* ---- Layout ---- */
  --container:      1340px;
  --container-wide: 1480px;
  --gutter:         clamp(14px, 2.8vw, 48px);

  /* ---- Espacements de section ---- */
  --section-padding:       clamp(80px, 12vw, 160px);
  --section-padding-small: clamp(56px, 8vw, 100px);

  /* ---- Typo ---- */
  --font-title: "IM Fell English", Georgia, "Times New Roman", serif;
  --font-body:  "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ui:    "Plus Jakarta Sans", "DM Sans", system-ui, sans-serif;

  /* ---- Tape look (jaune-jauni, légère transparence, ombre tight) ---- */
  --tape-filter:  sepia(0.35) hue-rotate(-12deg) saturate(1.15) drop-shadow(0 1px 1.5px rgba(60, 40, 18, 0.22));
  --tape-opacity: 0.86;

  /* ---- Tailles décor ---- */
  --pin-size:    28px;
  --tape-width:  118px;
  --star-size:   18px;

  /* ---- Z-index ---- */
  --z-bg:       1;
  --z-decor:    2;
  --z-content:  3;
  --z-floating: 4;
  --z-header:   60;
  --z-overlay:  100;
}

/* Réduction proportionnée des objets décoratifs sur petits écrans */
@media (max-width: 1023px) {
  :root {
    --pin-size:   24px;
    --tape-width: 96px;
  }
}

@media (max-width: 620px) {
  :root {
    --pin-size:   22px;
    --tape-width: 80px;
  }
}


/* =========================================================
   base.css — Das Fabularium
   Reset doux, fond papier global, typographie, focus.
========================================================= */

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

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--paper);
  background-image:
    /* lumière centrale chaude */
    radial-gradient(ellipse 60% 45% at 50% 18%, rgba(255, 250, 238, 0.55), transparent 70%),
    /* texture papier réelle — tile */
    url("/wp-content/themes/fabularium_by-claude/assets/texture-paper-tile.png"),
    /* variations chaudes */
    radial-gradient(circle at 20% 30%, rgba(206, 178, 130, 0.18), transparent 38%),
    radial-gradient(circle at 80% 70%, rgba(168, 135, 88, 0.14), transparent 42%),
    radial-gradient(circle at 50% 90%, rgba(120, 90, 55, 0.10), transparent 50%);
  background-repeat: no-repeat, repeat, no-repeat, no-repeat, no-repeat;
  background-size: 100% 100%, 520px 520px, auto, auto, auto;
  background-blend-mode: normal, multiply, normal, normal, normal;
  background-attachment: fixed, fixed, fixed, fixed, fixed;
}

/* Grain overlay subtil sur tout le viewport */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: url("/wp-content/themes/fabularium_by-claude/assets/overlay-grain.png") repeat;
  background-size: 600px 600px;
  opacity: 0.35;
  mix-blend-mode: multiply;
  z-index: var(--z-overlay);
}

/* Vignettage chaud très subtil sur le bord de la fenêtre */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 0 0 90px rgba(93, 58, 29, 0.14),
    inset 0 0 18px rgba(93, 58, 29, 0.06);
  z-index: var(--z-overlay);
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

/* ---------- Typographie ---------- */

h1, h2, h3, h4 {
  margin: 0 0 1rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1, h2 {
  font-family: var(--font-title);
}

h1 {
  font-size: clamp(2.8rem, 6.2vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
  line-height: 1;
}

h3 {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

p {
  margin: 0 0 1rem;
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
  line-height: 1.72;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--rust);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.text-long {
  max-width: 64ch;
}

.text-long p + p {
  margin-top: 1.2rem;
}

/* ---------- Liens ---------- */

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---------- Focus accessible ---------- */

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

/* ---------- Selection ---------- */

::selection {
  background: var(--rust);
  color: var(--paper-light);
}

/* ---------- A11y utilitaire ---------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  margin: -1px;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Motion reduced ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Scroll reveal (partagé tout le site) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 800ms cubic-bezier(.2, .7, .3, 1),
    transform 800ms cubic-bezier(.2, .7, .3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal "doux" : un peu moins de distance pour les sous-blocs */
.reveal.reveal-soft  { transform: translateY(20px); }
.reveal.reveal-soft.is-visible { transform: translateY(0); }

/* Variantes directionnelles (optionnelles) */
.reveal.reveal-left  { transform: translateX(-36px); }
.reveal.reveal-right { transform: translateX(36px); }
.reveal.reveal-left.is-visible,
.reveal.reveal-right.is-visible { transform: translateX(0); }

/* Délais en cascade */
.reveal.reveal-d1 { transition-delay: 80ms; }
.reveal.reveal-d2 { transition-delay: 160ms; }
.reveal.reveal-d3 { transition-delay: 240ms; }
.reveal.reveal-d4 { transition-delay: 320ms; }
.reveal.reveal-d5 { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}


/* =========================================================
   layout.css — Das Fabularium
   Containers, grilles génériques, sections, torn dividers.
========================================================= */

/* ---------- Site shell ---------- */

.site-shell {
  position: relative;
  overflow-x: clip;
}

/* ---------- Containers ---------- */

.container {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.container-wide {
  width: min(var(--container-wide), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: var(--section-padding);
}

.section-small {
  padding-block: var(--section-padding-small);
}

.section-paper {
  position: relative;
  isolation: isolate;
}

.section-paper::before {
  /* lumière douce sur le haut de la section */
  content: "";
  position: absolute;
  inset: 0 0 60% 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 100% at 50% 0, rgba(255, 250, 238, 0.45), transparent 70%);
  z-index: -1;
}

/* Section au fond papier "warm" (crème plus chaud) — alterne avec
   le fond papier "cool" par défaut du body pour rythmer les sections. */
.section-warm {
  background-color: var(--paper-warm);
  background-image:
    url("/wp-content/themes/fabularium_by-claude/assets/texture-paper-warm-lower.png");
  background-repeat: repeat;
  background-size: 760px 760px;
  background-blend-mode: multiply;
}

/* ---------- Transition entre sections (asset PNG papier déchiré) ---------- */

.transition-block {
  position: relative;
  width: 100%;
  height: clamp(80px, 9vw, 140px);
  margin: clamp(-30px, -3vw, -50px) 0 0;
  pointer-events: none;
  z-index: 5;
  background: url("/wp-content/themes/fabularium_by-claude/assets/transition-paper-bottom-full.png") bottom center / 100% 100% no-repeat;
  /* La déchirure est dans la partie haute de la portion peinte de l'asset ;
     une légère ombre porte la rupture sur la section suivante. */
  filter: drop-shadow(0 6px 10px rgba(44, 31, 18, 0.08));
}

/* ---------- Anciens torn-paper dividers (kept for compat) ---------- */

.torn-divider {
  position: relative;
  width: 100%;
  height: clamp(56px, 6vw, 96px);
  margin: clamp(-56px, -5vw, -40px) 0 0;
  pointer-events: none;
  z-index: 5;
  line-height: 0;
}

.torn-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

.torn-divider-down svg path.fill {
  fill: var(--paper-light);
}

.torn-divider-down svg path.shadow {
  fill: rgba(76, 50, 22, 0.10);
}

/* Variante : papier → bleu nuit (pour le footer)
   Utilise la bande aquarelle réelle au lieu du SVG. */
.torn-divider-night {
  height: clamp(120px, 14vw, 200px);
  margin: clamp(-30px, -3vw, -20px) 0 -1px;
  background: url("/wp-content/themes/fabularium_by-claude/assets/footer-watercolor-band.png") center bottom / 100% 100% no-repeat;
}

.torn-divider-night svg {
  display: none;
}

/* Variante : bleu nuit → papier */
.torn-divider-up {
  margin-top: 0;
  margin-bottom: clamp(-56px, -5vw, -40px);
  transform: scaleY(-1);
}

/* ---------- Grilles génériques ---------- */

.hero-grid {
  display: grid;
  /* 45/55 gauche-droite : texte à gauche, visuel à droite,
     alignés au même top en pleine largeur. Gap volontairement serré pour
     que le visuel reste proche du texte et "occupe" le hero. */
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr);
  align-items: start;
  gap: clamp(0.75rem, 1.6vw, 2rem);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(1.75rem, 3.5vw, 4rem);
  align-items: start;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.45fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 1fr;
  gap: clamp(18px, 2vw, 28px);
  align-items: start;
  /* Marge à droite : on garde de l'air à droite plutôt que de tendre
     les polaroids jusqu'au bord du container — asymétrie cohérente
     avec le reste du site. */
  width: 88%;
  margin-right: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.55fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

/* ---------- Responsive — paliers structurels ---------- */

/* L desktop / laptop */
@media (max-width: 1280px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(380px, 1.22fr);
    gap: clamp(0.75rem, 1.4vw, 1.6rem);
  }
}

/* Sous 1100px : la colonne texte gagne en proportion pour que les
   deux CTA tiennent sur une seule ligne le plus longtemps possible. */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  }
}

/* Tablette — on garde le hero en 2 colonnes le plus longtemps possible
   pour préserver la composition d'arrivée. Stack uniquement quand la
   largeur devient vraiment trop étroite. */
@media (max-width: 720px) {
  .hero-grid,
  .process-grid,
  .article-layout,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Footer : on garde l'alignement horizontal des 4 blocs aussi longtemps
   que possible. On stack uniquement quand la largeur devient vraiment
   trop étroite. */
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
}

/* Mobile L */
@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile S */
@media (max-width: 480px) {
  .section {
    padding-block: clamp(60px, 12vw, 100px);
  }
}


/* =========================================================
   components.css — Das Fabularium
   Header, nav, boutons, polaroid, taped-note, footer.
========================================================= */

/* =========================================================
   1. HEADER
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 1.5rem);
  width: min(var(--container-wide), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: clamp(18px, 2vw, 26px) 0 clamp(14px, 1.6vw, 20px);
  background: transparent;
}

/* Bandeau de fond pleine largeur, qui se fond progressivement vers
   le bas (mask-image) → plus de bord visible artificiel. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: linear-gradient(180deg,
    rgba(244, 234, 213, 0.96) 0%,
    rgba(244, 234, 213, 0.88) 50%,
    rgba(244, 234, 213, 0.55) 80%,
    rgba(244, 234, 213, 0) 100%);
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0, 0, 0, 0.55) 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0, 0, 0, 0.55) 78%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  /* Logo Fabularium — image PNG déjà colorisée pour fonctionner
     en local (file://) sans dépendre de la propriété CSS `mask`. */
  position: relative;
  width: clamp(58px, 4.4vw, 74px);
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  font-size: 0;
  color: transparent;
  background-image: url("/wp-content/themes/fabularium_by-claude/assets/logo-fabularium-symbol-blue.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* (ancien ::before avec mask supprimé — l'image colorée est posée
   directement en background pour fiabiliser le rendu offline) */

.brand-text {
  display: block;
}

.brand-title {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  display: block;
  margin-top: 6px;
  font-family: var(--font-ui);
  font-size: clamp(0.62rem, 0.72vw, 0.74rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ----- Navigation principale ----- */

.main-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.4rem);
}

.nav-link {
  position: relative;
  font-family: var(--font-ui);
  font-size: clamp(0.74rem, 0.85vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 4px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--rust);
  transform: scaleX(0) rotate(-1.5deg);
  transform-origin: left center;
  transition: transform 200ms ease;
  border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1) rotate(-1.5deg);
}

.nav-link.is-active {
  color: var(--rust);
}

.nav-link.is-active::before {
  content: "✶";
  position: absolute;
  right: -14px;
  top: -10px;
  font-size: 0.7rem;
  color: var(--gold-deep);
}

/* ----- Bouton recherche ----- */

.search-button {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(36, 27, 21, 0.22);
  background: rgba(255, 250, 238, 0.6);
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: background 180ms ease, transform 180ms ease;
}

.search-button:hover {
  background: rgba(255, 250, 238, 0.85);
  transform: rotate(-3deg);
}

.search-button svg {
  width: 18px;
  height: 18px;
}

/* ----- Menu mobile ----- */

.mobile-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 4px;
}

.mobile-toggle .bars {
  display: inline-grid;
  gap: 5px;
  width: 22px;
}

.mobile-toggle .bars span {
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  grid-column: 1 / -1;
  flex-direction: column;
  gap: 14px;
  padding: 18px 0 8px;
  margin-top: 8px;
  border-top: 1px solid rgba(36, 27, 21, 0.1);
}

.site-header.is-menu-open .mobile-nav {
  display: flex;
}

.mobile-nav .nav-link {
  font-size: 1rem;
}

@media (max-width: 1023px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    grid-template-areas: "brand lang toggle" "nav nav nav";
  }
  .brand { grid-area: brand; }
  .site-header > .lang-toggle {
    grid-area: lang;
    display: inline-flex;
    justify-self: end;
  }
  .mobile-toggle { grid-area: toggle; display: inline-flex; }
  .main-nav,
  .search-button { display: none; }
  .mobile-nav { grid-area: nav; }
}

/* =========================================================
   2. BOUTONS
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border: 0;
  border-radius: var(--radius-btn);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px) rotate(-0.4deg);
}

.btn-primary {
  color: var(--paper-light);
  background: linear-gradient(180deg, #b95736 0%, var(--rust) 100%);
  box-shadow: 0 12px 22px rgba(126, 47, 31, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 16px 28px rgba(126, 47, 31, 0.30);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid rgba(36, 27, 21, 0.30);
  background: rgba(255, 250, 238, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 250, 238, 0.85);
}

.btn .arrow {
  display: inline-block;
  transition: transform 180ms ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* Lien texte avec flèche */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--rust);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}

.text-link:hover {
  border-bottom-color: var(--rust);
}

.text-link .arrow {
  transition: transform 180ms ease;
}

.text-link:hover .arrow {
  transform: translateX(4px);
}

/* =========================================================
   3. CARTES PAPIER (génériques)
========================================================= */

.paper-card {
  position: relative;
  padding: clamp(1.5rem, 2.5vw, 2.2rem);
  background:
    linear-gradient(180deg, rgba(255, 250, 238, 0.85), rgba(247, 235, 211, 0.85));
  border: 1px solid rgba(36, 27, 21, 0.12);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-paper);
}

.paper-card::after {
  /* grain papier subtil */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.7' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.07  0 0 0 0 0.05  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.7;
}

/* =========================================================
   4. POLAROID
   Utilise le cadre papier réel (frame-polaroid-paper-v05).
   La photo intérieure est positionnée dans la découpe du cadre.
   Proportions du cadre : 897×962 → ratio ~0.932.
   Découpe interne : insets 7% 7.5% 22% 7.5%.
========================================================= */

.polaroid {
  position: relative;
  aspect-ratio: 897 / 962;
  background: transparent;
  border: 0;
  filter: drop-shadow(0 14px 18px rgba(35, 25, 18, 0.22));
}

.polaroid::after {
  /* Le cadre papier au-dessus de la photo */
  content: "";
  position: absolute;
  inset: 0;
  background: url("/wp-content/themes/fabularium_by-claude/assets/frame-polaroid-paper-v05_fabularium.png") center/100% 100% no-repeat;
  pointer-events: none;
  z-index: 3;
}

.polaroid .photo {
  position: absolute;
  inset: 7% 7.5% 22% 7.5%;
  background: var(--surface-photo);
  overflow: hidden;
  z-index: 1;
}

.polaroid .photo img,
.polaroid .photo .ph-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: contrast(0.96) saturate(0.92);
}

/* Cadrage spécifique : marionnette violette — remonter pour voir les cornes,
   moins de ventre. */
.polaroid .photo img[src*="purple-puppet"] {
  object-position: 50% 22%;
}

.polaroid figcaption {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 5.5%;
  z-index: 4;
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  color: var(--graphite);
  text-align: center;
  line-height: 1.2;
}

/* Tape sur polaroid — tape masking réelle */
.polaroid.taped::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  width: 96px;
  height: 40px;
  transform: translateX(-50%) rotate(1.5deg);
  background: url("/wp-content/themes/fabularium_by-claude/assets/tape-masking-paper.png") center / 100% 100% no-repeat;
  filter: var(--tape-filter);
  opacity: var(--tape-opacity);
  z-index: 2;
  pointer-events: none;
}

.polaroid.taped-left::before {
  left: 22%;
  transform: translateX(-50%) rotate(-8deg);
}

.polaroid.taped-right::before {
  left: 78%;
  transform: translateX(-50%) rotate(7deg);
}

/* =========================================================
   5. NOTE SCOTCHÉE
========================================================= */

.taped-note {
  position: relative;
  padding: clamp(1.4rem, 2.2vw, 2rem);
  background: var(--surface-note);
  border: 1px solid rgba(36, 27, 21, 0.08);
  box-shadow: var(--shadow-paper);
  transform: rotate(-1deg);
}

.taped-note::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  width: 96px;
  height: 40px;
  transform: translateX(-50%) rotate(2deg);
  background: url("/wp-content/themes/fabularium_by-claude/assets/tape-masking-paper.png") center / 100% 100% no-repeat;
  filter: var(--tape-filter);
  opacity: var(--tape-opacity);
  pointer-events: none;
}

.taped-note h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.10em;
  color: var(--ink);
}

.taped-note p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* =========================================================
   6. PUNAISE
========================================================= */

.pin {
  position: absolute;
  top: -6px;
  left: 50%;
  width: var(--pin-size);
  height: var(--pin-size);
  transform: translate(-50%, -20%);
  background: url("/wp-content/themes/fabularium_by-claude/assets/decor-pin-brass-ronde.png") center / contain no-repeat;
  filter: drop-shadow(0 3px 3px rgba(42, 27, 12, 0.32));
  z-index: 30;
}

.pin::after { content: none; }

/* Variante punaise plate (ronde laiton) */
.pin-flat {
  background: url("/wp-content/themes/fabularium_by-claude/assets/decor-pin-brass-plate.png") center / contain no-repeat;
  filter: drop-shadow(0 3px 3px rgba(42, 27, 12, 0.32));
}

/* =========================================================
   7. ÉTOILES OR
========================================================= */

.star {
  position: absolute;
  width: var(--star-size);
  height: var(--star-size);
  color: var(--gold-deep);
  opacity: 0.85;
  pointer-events: none;
}

.star svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.star.is-small  { --star-size: 12px; opacity: 0.65; }
.star.is-medium { --star-size: 22px; }
.star.is-large  { --star-size: 32px; }

/* =========================================================
   8. FOOTER (chrome — la composition est dans pages.css)
   La grosse bande aquarelle sert de support \u00e0 tout le contenu :
   plus de bloc bleu plein.
========================================================= */

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* Plus de place sous la déchirure aquarelle ; le contenu descend
     dans le corps bleu plutôt que de coller au bord du tearing */
  padding: clamp(220px, 26vw, 380px) 0 36px;
  margin-top: clamp(-40px, -4vw, -50px);
  color: var(--paper-light);
  /* Pas de fond plein par défaut : l'aquarelle PNG porte toute la
     couleur. Le fond bleu plein n'est ajouté qu'au breakpoint mobile
     où l'aquarelle n'est plus assez haute pour contenir l'empilement. */
  background-color: transparent;
}

/* La bande aquarelle ne porte que la déchirure du haut. Sa couleur
   pleine se fond dans la couleur du footer en dessous. */
.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -4%;
  width: 108%;
  aspect-ratio: 1536 / 1024;
  background: url("/wp-content/themes/fabularium_by-claude/assets/footer-watercolor-band.png") top center / 100% 100% no-repeat;
  z-index: -2;
  pointer-events: none;
}

.site-footer::before {
  /* étoiles éparpillées en pointillés, uniquement sur la zone bleue (bas) */
  content: "";
  position: absolute;
  inset: 30% 0 0 0;
  background-image:
    radial-gradient(circle, rgba(216, 182, 95, 0.7) 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255, 245, 210, 0.4) 0.6px, transparent 1px);
  background-size: 110px 110px, 60px 60px;
  background-position: 0 0, 30px 30px;
  opacity: 0.28;
  pointer-events: none;
  z-index: -1;
}

/* En mobile, l'aquarelle ne tient pas un empilement vertical ;
   on retombe sur un fond bleu plein (avec étoiles). */
@media (max-width: 760px) {
  .site-footer {
    padding-top: clamp(80px, 12vw, 120px);
    background-color: #1c3640;
  }
  .site-footer::after {
    display: none;
  }
  .site-footer::before {
    inset: 0;
  }
}

/* =========================================================
   Lang toggle (FR / DE)
========================================================= */

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  user-select: none;
}

.lang-btn {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 6px 6px;
  color: var(--ink-soft);
  cursor: pointer;
  font: inherit;
  text-transform: uppercase;
  transition: color 180ms ease;
  position: relative;
  line-height: 1;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.is-active {
  color: var(--rust-dark);
}

.lang-btn.is-active::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 2px;
  height: 1.5px;
  background: var(--rust);
  border-radius: 1px;
}

.lang-sep {
  color: var(--graphite);
  opacity: 0.40;
}

.lang-toggle--mobile {
  display: none;
  margin-top: 12px;
  align-self: flex-start;
}

/* Le sélecteur de langue est désormais toujours visible dans le header,
   donc le duplicata à l'intérieur du menu déroulé mobile reste caché. */

/* Variante sur fond bleu nuit (footer / overlays) */
.ph-on-dark .lang-btn {
  color: rgba(248, 240, 222, 0.7);
}
.ph-on-dark .lang-btn:hover {
  color: rgba(248, 240, 222, 0.95);
}
.ph-on-dark .lang-btn.is-active {
  color: var(--gold-soft);
}
.ph-on-dark .lang-btn.is-active::after {
  background: var(--gold-soft);
}
.ph-on-dark .lang-sep {
  color: rgba(248, 240, 222, 0.45);
}



/* =========================================================
   motion.css — Das Fabularium
   Animations légères, mises en mouvement subtiles.
   Tout est respectueux de prefers-reduced-motion.
========================================================= */

/* ---------- Keyframes ---------- */

@keyframes fab-float {
  0%, 100% { transform: translateY(0)      rotate(var(--rot, 0deg)); }
  50%      { transform: translateY(-6px)   rotate(calc(var(--rot, 0deg) - 1deg)); }
}

@keyframes fab-sway {
  0%, 100% { transform: rotate(var(--rot, 0deg)); }
  50%      { transform: rotate(calc(var(--rot, 0deg) + 1.8deg)); }
}

@keyframes fab-twinkle {
  0%, 100% { opacity: var(--base-opacity, 0.55); transform: scale(1)   rotate(var(--rot, 0deg)); }
  50%      { opacity: 1;                          transform: scale(1.08) rotate(calc(var(--rot, 0deg) + 6deg)); }
}

@keyframes fab-fade-in-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Décor : flottements doux ---------- */

/* Spools — léger flottement vertical */
.faq-hero-decor .deco-spool,
.processus-hero-decor .deco-spool {
  --rot: -10deg;
  animation: fab-float 7.5s ease-in-out infinite;
  transform-origin: center;
}

.faq-hero-decor .deco-spool { --rot: 14deg; }
.processus-hero-decor .deco-spool { --rot: -12deg; }

/* Tissus / swatches — balancement très lent */
.faq-hero-decor .deco-swatch {
  --rot: 6deg;
  animation: fab-sway 9s ease-in-out infinite;
  transform-origin: top center;
}

/* Étoiles — petit twinkle décalé */
.faq-hero-decor .deco-star-1,
.faq-hero-decor .deco-star-2,
.faq-hero-decor .deco-star-3,
.processus-hero-decor .deco-star-1,
.processus-hero-decor .deco-star-2,
.process-cta-deco,
.faq-cta-deco {
  --base-opacity: 0.55;
  animation: fab-twinkle 5.5s ease-in-out infinite;
}

.faq-hero-decor .deco-star-1 { --rot: -12deg; --base-opacity: 0.55; }
.faq-hero-decor .deco-star-2 { --rot: 18deg;  --base-opacity: 0.6;  animation-delay: 1.2s; }
.faq-hero-decor .deco-star-3 { --rot: -6deg;  --base-opacity: 0.45; animation-delay: 2.4s; }
.processus-hero-decor .deco-star-1 { --rot: -14deg; --base-opacity: 0.5; }
.processus-hero-decor .deco-star-2 { --rot: 16deg;  --base-opacity: 0.55; animation-delay: 1.6s; }
.faq-cta-deco               { --rot: -14deg; --base-opacity: 0.4;  animation-delay: 0.8s; }
.process-cta-deco           { --rot: 12deg;  --base-opacity: 0.45; animation-delay: 2.2s; }

/* ---------- Index (accueil) — petits éléments décoratifs ---------- */

.hero-spool {
  animation: fab-float 8.5s ease-in-out infinite;
}

.hero-fabric {
  animation: fab-sway 11s ease-in-out infinite;
  transform-origin: top center;
}

.hero-stars img {
  animation: fab-twinkle 6s ease-in-out infinite;
  --base-opacity: 0.92;
}

.deco-spool img:not(.hero-spool img) {
  /* footer-decor spools : flottement très léger */
  animation: fab-float 9s ease-in-out infinite;
}

/* ---------- Hover micro-interactions ---------- */

/* Polaroids : pivot redresse + lift (effet du polaroid hero unifié) */
.polaroid {
  transition: transform 320ms cubic-bezier(.2,.7,.3,1), filter 320ms ease;
}

.polaroid:hover {
  transform: translateY(-5px) rotate(0deg);
  /* drop-shadow suit la silhouette irrégulière du cadre papier
     au lieu d'un rectangle qui déborderait du polaroid */
  filter: drop-shadow(3px 7px 10px rgba(42, 36, 31, 0.22));
}

/* Cartes processus / FAQ : effet pousser */
.process-card,
.faq-card,
.value-card {
  transition: transform 320ms cubic-bezier(.2,.7,.3,1), box-shadow 320ms ease;
}

.process-card:hover,
.value-card:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: 4px 8px 16px rgba(42, 36, 31, 0.12);
}

/* Boutons : flèche qui glisse */
.btn:hover .arrow,
.text-link:hover .arrow {
  transform: translateX(4px);
}

/* Pastilles du sommaire FAQ : lift au survol (déjà partiel — on confirme) */
.faq-toc a {
  transition: background 200ms ease, transform 200ms cubic-bezier(.2,.7,.3,1), border-color 200ms ease, box-shadow 200ms ease;
}

.faq-toc a:hover {
  transform: translateY(-2px);
  box-shadow: 2px 4px 0 rgba(42, 36, 31, 0.06);
}

/* Catégories FAQ : surbrillance subtile au hover */
.faq-category:not([open]):hover > summary {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 6px;
}

.faq-category > summary {
  transition: background 200ms ease;
}

/* Étoile dorée des sections : petit twinkle pour star-large existante */
.star.star-large svg,
.star.is-large svg {
  animation: fab-twinkle 7s ease-in-out infinite;
  --base-opacity: 0.85;
  --rot: 0deg;
  transform-origin: center;
}

/* ---------- Entrée du hero (au chargement) ---------- */

.hero h1,
.processus-hero h1,
.about-hero h1,
.faq-hero h1,
.contact-hero h1 {
  animation: fab-fade-in-up 700ms cubic-bezier(.2,.7,.3,1) both;
  animation-delay: 80ms;
}

.hero .hero-lead,
.processus-hero .hero-lead,
.about-hero .hero-lead,
.faq-hero .hero-lead,
.contact-hero .hero-lead {
  animation: fab-fade-in-up 700ms cubic-bezier(.2,.7,.3,1) both;
  animation-delay: 220ms;
}

.hero .hero-actions,
.faq-hero .hero-actions,
.contact-hero .hero-actions {
  animation: fab-fade-in-up 700ms cubic-bezier(.2,.7,.3,1) both;
  animation-delay: 340ms;
}

/* ---------- Soulignement progressif des nav links (rust) ---------- */

.nav-link::after {
  /* déjà défini ; on remplace la transition existante par une plus organique */
  transition: transform 240ms cubic-bezier(.2,.7,.3,1);
}

/* ---------- Respect du reduced-motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .faq-hero-decor .deco-spool,
  .processus-hero-decor .deco-spool,
  .faq-hero-decor .deco-swatch,
  .faq-hero-decor .deco-star-1,
  .faq-hero-decor .deco-star-2,
  .faq-hero-decor .deco-star-3,
  .processus-hero-decor .deco-star-1,
  .processus-hero-decor .deco-star-2,
  .process-cta-deco,
  .faq-cta-deco,
  .hero-spool,
  .hero-fabric,
  .hero-stars img,
  .deco-spool img,
  .star.star-large svg,
  .star.is-large svg,
  .hero h1, .processus-hero h1, .about-hero h1, .faq-hero h1, .contact-hero h1,
  .hero .hero-lead, .processus-hero .hero-lead, .about-hero .hero-lead, .faq-hero .hero-lead, .contact-hero .hero-lead,
  .hero .hero-actions, .faq-hero .hero-actions, .contact-hero .hero-actions {
    animation: none !important;
  }
  .polaroid:hover,
  .process-card:hover,
  .value-card:hover,
  .faq-toc a:hover {
    transform: none !important;
  }
}


/* =========================================================
   pages.css — Das Fabularium
   Compositions par section (clusters d'assets).
========================================================= */

/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  padding: clamp(28px, 3.5vw, 64px) 0 clamp(72px, 7vw, 110px);
  min-height: clamp(640px, 82vh, 820px);
  display: block;
  overflow: hidden;
}

.hero .container {
  /* Avec .hero en block, .container retrouve son width: min() correct
     et son margin-inline: auto centrant la grille à l'intérieur. */
  height: 100%;
}

.hero-copy {
  position: relative;
  z-index: var(--z-content);
  max-width: 540px;
  /* Réserve un couloir libre sous les CTA pour pinceaux + ficelle —
     évite tout chevauchement entre le dernier bouton et les assets. */
  padding-bottom: clamp(48px, 5vw, 72px);
}

.hero-copy h1 {
  margin: 0 0 6px;
  max-width: 14ch;
}

.hero-lead {
  max-width: 38ch;
  /* Paragraphe rapproché du titre (plus de souligne rouge entre les deux) */
  margin: 1rem 0 0;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.hero-actions .btn {
  /* Empêche le wrap intempestif tant que la place est suffisante */
  flex: 0 0 auto;
  /* Boutons compacts dans le hero pour rester sur une seule ligne
     plus longtemps quand la largeur du navigateur se réduit. */
  padding: 0.6rem 0.95rem;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  min-height: 42px;
  gap: 10px;
}

.hero-actions .btn .arrow {
  margin-left: 2px;
}

/* ----- Cluster visuel droite ----- */

.hero-visual {
  position: relative;
  width: 100%;
  height: clamp(460px, 64vh, 640px);
  min-width: 0;
  z-index: var(--z-decor);
}

/* tache aquarelle bleue */
.hero-watercolor {
  position: absolute;
  top: -4%;
  right: -14%;
  width: 110%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.hero-watercolor img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.92;
}

/* étoiles éparpillées sur la tache */
.hero-stars {
  position: absolute;
  top: -2%;
  right: -10%;
  width: 105%;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.hero-stars img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.9;
}

/* marionnette principale */
.hero-puppet {
  position: absolute;
  top: 2%;
  right: 8%;
  height: 96%;
  width: auto;
  z-index: 4;
  pointer-events: none;
}

.hero-puppet img {
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
  filter: drop-shadow(0 22px 28px rgba(35, 25, 18, 0.28));
}

/* croquis sur note papier kraft, placé entre polaroid et tissus,
   par-dessus la marionnette pour cacher sa tige.
   Toutes les dimensions sont relatives au .hero-visual / au container
   → l'ensemble reste proportionné à toutes les largeurs. */
.hero-sketch {
  position: absolute;
  bottom: -1%;
  left: 52%;
  width: 18%;
  aspect-ratio: 3 / 4;
  max-width: 150px;
  z-index: 7;
  transform: rotate(-4deg);

  background-color: #c4a373;
  background-image:
    radial-gradient(ellipse 110% 90% at 50% 50%, transparent 55%, rgba(60, 38, 18, 0.18) 100%),
    url("/wp-content/themes/fabularium_by-claude/assets/texture-paper-tile.png");
  background-size: cover, 220px 220px;
  background-repeat: no-repeat, repeat;
  background-blend-mode: normal, multiply;

  border-radius: 3px 5px 2px 6px;
  filter: drop-shadow(0 12px 20px rgba(40, 26, 12, 0.32));
}

/* Bord déchiré subtil en haut + bas (lignes claires fines) */
.hero-sketch::before,
.hero-sketch::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  height: 3px;
  background:
    radial-gradient(circle at 10% 50%, rgba(248, 240, 222, 0.5) 1px, transparent 2px) 0 0/16px 3px repeat-x,
    rgba(196, 163, 115, 0.4);
  pointer-events: none;
  z-index: 1;
}
.hero-sketch::before { top: 0; }
.hero-sketch::after  { bottom: 0; }

.hero-sketch .sketch-img {
  position: absolute;
  inset: 4% 3% 4% 3%;
  width: 94%;
  height: 92%;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.97;
  z-index: 2;
}

/* Scotch posé à cheval sur le bord supérieur — moitié au-dessus,
   moitié sur la note. L'image PNG tape-masking-paper.png est carrée
   (1024×1024) avec le strip de scotch dans la bande centrale ; on centre
   donc l'image PILE sur le bord du papier (top:0 + translateY(-50%))
   → le strip visible se retrouve à cheval, quelle que soit la taille. */
.hero-sketch .sketch-tape {
  position: absolute;
  top: 0;
  left: 50%;
  width: 70%;
  transform: translate(-50%, -50%) rotate(-5deg);
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 1.5px 1.5px rgba(0, 0, 0, 0.30));
}

.hero-sketch .sketch-tape img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.78;
}

.hero-sketch .annotation {
  position: absolute;
  bottom: -28px;
  right: -6%;
  z-index: 4;
  transform: rotate(-4deg);
  white-space: nowrap;
}

/* polaroid hero */
/* polaroid hero — le wrapper prend la position, le polaroid (figure)
   garde juste la rotation. Les annotations (flèche + note) sont
   désormais frères du polaroid pour ne pas pivoter avec lui au hover. */
.hero-polaroid-wrap {
  position: absolute;
  left: 2%;
  bottom: 8%;
  width: 32%;
  max-width: 230px;
  z-index: 6;
}

.hero-polaroid {
  position: relative;
  width: 100%;
  transform: rotate(-7deg);
}

.hero-polaroid-wrap .hand-arrow {
  width: 80px;
  height: 60px;
  top: 35%;
  right: -28%;
  transform: rotate(-15deg);
}

.hero-polaroid-wrap .handwritten {
  top: 48%;
  right: -54%;
  width: 80px;
  text-align: left;
  z-index: 7;
}

/* échantillons tissu (paire bleu nuit + rouille, épinglés) */
.hero-fabric {
  position: absolute;
  right: -1%;
  bottom: 6%;
  width: 19%;
  max-width: 160px;
  z-index: 5;
  transform: rotate(-4deg);
}

.hero-fabric img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(44, 31, 18, 0.22));
}

/* bobine de fil rouille */
.hero-spool {
  position: absolute;
  right: 3%;
  bottom: 26%;
  width: 8%;
  max-width: 64px;
  z-index: 5;
}

.hero-spool img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(44, 31, 18, 0.30));
}

/* pot de pinceaux en bas-gauche du HERO (positionné relativement à
   .hero pour ne pas chevaucher les boutons de hero-actions).
   Taille "vie réelle" : le pot fait ~12 cm. */
.hero-brushes {
  position: absolute;
  left: clamp(0px, 0.5vw, 20px);
  bottom: clamp(0px, 0.5vw, 18px);
  width: clamp(128px, 12vw, 184px);
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 16px 22px rgba(35, 25, 18, 0.30));
}

.hero-brushes img {
  width: 100%;
  height: auto;
  display: block;
}

/* boule de ficelle (placeholder PNG attendu, ~7-8 cm IRL) */
.hero-twine {
  position: absolute;
  left: clamp(128px, 12.5vw, 198px);
  bottom: clamp(0px, 0.4vw, 12px);
  width: clamp(52px, 5vw, 74px);
  z-index: 4;
  opacity: 0.85;
}

/* palette de couleurs sur le hero (petit, dans la composition) */
.hero-palette {
  position: absolute;
  left: 6%;
  top: 18%;
  z-index: 6;
  transform: rotate(-6deg);
}

/* =========================================================
   PROCESS
========================================================= */

.process {
  position: relative;
  padding: clamp(80px, 9vw, 140px) 0 clamp(80px, 9vw, 140px);
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 250, 238, 0.6), transparent 70%);
}

.process-intro {
  position: relative;
  z-index: var(--z-content);
}

.process-intro h2 {
  max-width: 14ch;
  margin: 16px 0 18px;
}

.process-intro p {
  max-width: 42ch;
  margin-bottom: 1.8rem;
}

/* tableau process : 1 croquis + 1 polaroid */
.process-board {
  position: relative;
  min-height: 220px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.process-board-sketches {
  position: relative;
  width: 32%;
  max-width: 220px;
  margin-left: 6%;
  padding: 18px 14px 24px;
  transform: rotate(-3deg);
}

/* feuille de papier scotchée derrière le croquis : porte la pin */
.process-board-sketches .note-paper {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 250, 238, 0.96), rgba(247, 233, 205, 0.92));
  border: 1px solid rgba(36, 27, 21, 0.10);
  box-shadow: 0 10px 18px rgba(44, 31, 18, 0.18);
  transform: rotate(1.5deg);
  z-index: 0;
}

.process-board-sketches .note-paper::after {
  /* grain papier */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/wp-content/themes/fabularium_by-claude/assets/texture-paper-tile.png");
  background-size: 200px 200px;
  opacity: 0.35;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.process-board-sketches img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  z-index: 2;
  /* le sketch est noir sur blanc → multiply fond le blanc dans le papier */
  mix-blend-mode: multiply;
  filter: contrast(1.05);
}

.process-board-sketches .pin {
  z-index: 5;
}

.process-board-photo {
  position: absolute;
  right: 6%;
  top: 4%;
  width: 26%;
  max-width: 200px;
  z-index: 4;
  transform: rotate(4deg);
}

/* 5 cartes étapes */
.process-cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  grid-column: 1 / -1;
}

/* fil rouge cousu qui relie les 5 étapes (asset SVG).
   Les ancres de la courbe sont à x=10%/30%/50%/70%/90% → tombent
   pile sur le centre des 5 cartes. La piste s'étire sur toute
   la largeur de la rangée et passe par-dessus la moitié haute
   des cartes ; les rondelles step-number restent au-dessus du fil. */
.process-thread {
  position: absolute;
  top: -42%;
  left: 0;
  right: 0;
  z-index: 5;
  pointer-events: none;
}

.process-thread img {
  width: 100%;
  height: auto;
  display: block;
}

/* Variante "flourish" : fil rouge en marque d'ornement horizontal
   à la fin d'une section. Bord gauche caché dans la marge (le fil
   se déroule "à l'infini" hors de la page) ; angle anti-horaire. */
.thread-flourish.process-thread {
  position: relative;
  top: auto;
  /* On dépasse la largeur du container vers la gauche pour que
     le bout gauche sorte de la page. */
  width: 96%;
  max-width: 1100px;
  margin: clamp(28px, 4vw, 56px) auto clamp(-8px, -1vw, -16px) clamp(-180px, -14vw, -240px);
  transform: rotate(-3.4deg);
  transform-origin: right center;
  opacity: 0.92;
  filter: drop-shadow(0 6px 10px rgba(125, 35, 22, 0.10));
  overflow: visible;
}

.process-card {
  position: relative;
  padding: 22px 14px 18px;
  min-height: 145px;
  text-align: center;
}

.process-card .step-number {
  /* Pastille numérotée dans le coin SUPÉRIEUR DROIT de la carte
     (et plus en haut-centre comme une tape). */
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
  width: 30px;
  height: 30px;
  transform: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper-light);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.86rem;
  box-shadow: 0 3px 6px rgba(36, 27, 21, 0.28);
  z-index: 10;
}

.process-card h3 {
  margin: 0 0 6px;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.process-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.process-card .step-icon {
  margin: 12px auto 0;
  width: 44px;
  height: 44px;
  color: var(--graphite);
  opacity: 0.85;
}

.process-card:nth-child(1) { transform: rotate(-1.2deg); }
.process-card:nth-child(2) { transform: rotate(0.8deg) translateY(6px); }
.process-card:nth-child(3) { transform: rotate(-0.7deg); }
.process-card:nth-child(4) { transform: rotate(1deg) translateY(8px); }
.process-card:nth-child(5) { transform: rotate(-1.2deg); }

/* tape sur les cartes — désactivée depuis que le numéro est dans
   le coin (pas de double indication en haut). */
.process-card::before {
  content: none;
}

/* Décor sous les cartes process — proportions vie-réelle.
   Référence : 1 cm ≈ 18 px en pleine largeur.
   Ciseaux 15 cm (290 px) > pot/branche 12 cm (~220 px) >
   paire de tissus ~10 cm de large (200 px) > bobine 5 cm (100 px). */
.process-decor {
  position: relative;
  grid-column: 1 / -1;
  min-height: 220px;
  margin-top: clamp(32px, 4vw, 56px);
}

.process-decor .deco-swatch {
  position: absolute;
  left: 5%;
  top: 0;
  /* paire d'échantillons — ~10 cm de large dans le monde réel */
  width: clamp(140px, 13vw, 200px);
  transform: rotate(-12deg);
}

.process-decor .deco-swatch img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(44, 31, 18, 0.22));
}

.process-decor .deco-spool {
  position: absolute;
  left: 22%;
  top: 64px;
  /* bobine ~ 5 cm */
  width: clamp(78px, 7vw, 110px);
}

.process-decor .deco-spool img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(44, 31, 18, 0.30));
}

.process-decor .deco-scissors {
  position: absolute;
  left: 42%;
  top: 0;
  /* ciseaux ~15 cm → piece dominante (~ 3x une bobine) */
  width: clamp(210px, 20vw, 300px);
  transform: rotate(20deg);
  pointer-events: none;
}

.process-decor .deco-scissors img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(44, 31, 18, 0.30));
}

.process-decor .deco-branch {
  position: absolute;
  right: 5%;
  top: 8px;
  /* branche feuillue ~ 12 cm */
  width: clamp(170px, 15.5vw, 240px);
  color: var(--sage);
  opacity: 0.75;
  transform: rotate(-15deg);
}

/* =========================================================
   ARTICLE
========================================================= */

.article-section {
  padding: clamp(80px, 10vw, 140px) 0;
}

.article-section .article-layout {
  /* Aligne au centre vertical : depuis qu'on a passé l'intro en teaser
     (1 paragraphe), main est plus court que l'aside → centrer évite
     un déséquilibre haut/bas. */
  align-items: center;
}

.article-main {
  position: relative;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.article-main h2 {
  max-width: 18ch;
  margin-bottom: 1.4rem;
}

.article-main .text-long {
  max-width: 46ch;
}

.article-main .text-link {
  margin-top: 1.6rem;
}

.article-aside {
  position: relative;
  display: grid;
  gap: 2.4rem;
  padding-top: 2rem;
}

.article-aside .taped-note {
  margin-right: 8%;
}

.article-aside .polaroid {
  width: 80%;
  margin-left: 12%;
  transform: rotate(-4.5deg);
}

/* Zoom + léger angle interne sur le polaroid "Détail textile"
   pour casser l'alignement et éliminer le bord blanc autour
   des échantillons. Cadrage décentré pour casser la symétrie
   carré-dans-carré. */
.article-aside .polaroid .photo img {
  transform: scale(1.35) rotate(3deg);
  transform-origin: 38% 42%;
  object-position: 30% 38%;
}

.article-aside .aside-sketch {
  width: 70%;
  margin-left: 18%;
  aspect-ratio: 4 / 3;
  transform: rotate(-2deg);
}

.article-aside .aside-sketch img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(44, 31, 18, 0.12));
}

/* =========================================================
   GALLERY
========================================================= */

.gallery-section {
  padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 100px);
}

.gallery-intro {
  /* Aligné à gauche, comme le reste du site (process, article, about) :
     pas de bloc centré qui casse le rythme asymétrique. */
  text-align: left;
  margin: 0 0 clamp(40px, 5vw, 70px);
  max-width: 50ch;
}

.gallery-intro h2 {
  max-width: 18ch;
  margin: 16px 0 14px;
}

.gallery-item {
  position: relative;
}

.gallery-item .polaroid {
  width: 100%;
}

.gallery-grid .gallery-item:nth-child(1) { transform: rotate(-1.6deg) translateY(20px); }
.gallery-grid .gallery-item:nth-child(2) { transform: rotate(1deg) translateY(60px); }
.gallery-grid .gallery-item:nth-child(3) { transform: rotate(-0.5deg); }

.gallery-cta {
  margin-top: clamp(50px, 6vw, 80px);
  /* Le CTA suit l'alignement gauche du reste de la section. */
  text-align: left;
}

/* =========================================================
   ABOUT (mini-section atelier)
========================================================= */

.about-section {
  padding: clamp(80px, 10vw, 140px) 0;
}

.about-copy h2 {
  max-width: 16ch;
  margin: 16px 0 24px;
}

.about-copy .text-long p {
  margin-bottom: 1.1rem;
}

.about-copy .text-link {
  margin-top: 1.5rem;
}

.about-visual {
  position: relative;
}

.about-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-width: 320px;
  margin-left: auto;
}

.about-portrait .polaroid {
  width: 100%;
}

.about-portrait .handwritten {
  bottom: 8px;
  left: 12px;
  right: 12px;
  text-align: center;
  position: absolute;
  font-size: 0.95rem;
}

.about-portrait .star {
  top: -14px;
  right: -14px;
  --star-size: 28px;
  position: absolute;
}

/* =========================================================
   FOOTER COMPOSITION
========================================================= */

.footer-grid {
  position: relative;
  z-index: var(--z-content);
}

.footer-brand .brand-title {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(1.9rem, 2.8vw, 2.8rem);
  line-height: 1;
  color: var(--paper-light);
  letter-spacing: 0.01em;
}

.footer-brand .brand-tagline {
  display: block;
  margin-top: 12px;
  color: rgba(246, 236, 216, 0.82);
  font-family: var(--font-title);
  font-style: italic;
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
}

.footer-nav {
  display: grid;
  gap: 0.6rem;
}

.footer-nav a {
  color: var(--paper-light);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.80rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav a:hover {
  color: var(--gold-soft);
}

.footer-claim {
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  line-height: 1.35;
  color: rgba(255, 245, 220, 0.92);
}

.footer-contact {
  position: relative;
  padding: 32px 24px 26px;
  background: linear-gradient(180deg, #fbf2dc 0%, #f0dfb5 100%);
  color: var(--ink);
  border: 1px solid rgba(36, 27, 21, 0.10);
  box-shadow: var(--shadow-paper);
  transform: rotate(2deg);
  max-width: 240px;
}

.footer-contact .pin {
  top: -14px;
  left: 50%;
  position: absolute;
}

.footer-contact .tape {
  position: absolute;
  top: -16px;
  left: 22%;
  width: 90px;
  height: 38px;
  transform: translateX(-50%) rotate(-8deg);
  background: url("/wp-content/themes/fabularium_by-claude/assets/tape-masking-paper.png") center / 100% 100% no-repeat;
  filter: var(--tape-filter) brightness(1.6);
  opacity: var(--tape-opacity);
  pointer-events: none;
}

.footer-contact h3 {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-align: center;
  margin: 0 0 14px;
  color: var(--ink);
}

.footer-contact .lines {
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.footer-contact .socials {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 14px;
}

.footer-contact .socials a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-contact .socials a:hover {
  color: var(--rust);
}

.footer-bottom {
  position: relative;
  z-index: var(--z-content);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 24px;
  border-top: 1px solid rgba(246, 236, 216, 0.22);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(246, 236, 216, 0.75);
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--gold-soft);
}

/* décor footer (étoile + spool) */
.footer-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.footer-decor .deco-spool {
  position: absolute;
  right: 4%;
  bottom: 6%;
  width: 56px;
}

.footer-decor .deco-spool img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}

.footer-decor .star-large {
  position: absolute;
  right: 38%;
  top: 18%;
  --star-size: 26px;
  color: var(--gold-deep);
  opacity: 0.6;
}

/* =========================================================
   RESPONSIVE PAR SECTION
========================================================= */

/* Laptop : 5 cartes deviennent trop \u00e9triqu\u00e9es \u2192 passe en 3 + 2 */
@media (max-width: 1280px) {
  .hero-puppet { top: 4%; right: 6%; height: 92%; }
  .hero-sketch { width: 24%; }
  .hero-polaroid-wrap { width: 30%; }

  .process-cards {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 36px;
  }
}

@media (max-width: 720px) {
  /* hero stack */
  .hero {
    min-height: auto;
    padding: 30px 0 60px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-visual {
    height: clamp(420px, 56vw, 580px);
    margin-top: 1.5rem;
  }
  .hero-puppet { top: 4%; right: 14%; height: 92%; }
  .hero-polaroid-wrap { width: 30%; left: 2%; }
  .hero-sketch { width: 26%; }
  /* Pot de pinceaux gardé visible en tablette, juste rapetissé,
     repositionné dans la marge intérieure du hero (pas off-screen). */
  .hero-brushes {
    width: clamp(110px, 12vw, 160px);
    left: clamp(8px, 1.5vw, 24px);
    bottom: clamp(14px, 2vw, 28px);
  }
  .hero-twine { display: none; }

  .process-board {
    min-height: 200px;
  }
  .process-board-sketches { width: 30%; margin-left: 0; }
  .process-board-photo { width: 30%; }

  .process-cards {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }

  .process-decor .deco-branch {
    display: none;
  }
  /* Tablette : on garde les proportions vie-réelle, juste un peu réduites. */
  .process-decor .deco-scissors { width: clamp(180px, 22vw, 260px); left: 46%; }
  .process-decor .deco-swatch { width: clamp(120px, 14vw, 180px); }
  .process-decor .deco-spool { width: clamp(66px, 8vw, 96px); left: 24%; }

  .article-aside {
    grid-template-columns: 1fr 1fr;
    display: grid;
    gap: 1.4rem;
  }
  .article-aside .aside-sketch { display: none; }

  .about-portrait {
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .hero-copy h1 { max-width: 100%; }
  .hero-visual { height: clamp(380px, 88vw, 520px); }
  .hero-puppet { top: 4%; right: 14%; height: 90%; }
  .hero-polaroid-wrap { width: 38%; left: 2%; }
  .hero-sketch { width: 32%; }
  .hero-fabric { width: 22%; max-width: 90px; }
  .hero-spool { width: 16%; max-width: 60px; }
  .hero-palette { display: none; }

  .process-cards {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }

  .process-board-sketches { width: 78%; }
  .process-board-photo { width: 36%; right: 2%; }

  .article-aside { grid-template-columns: 1fr; gap: 1.8rem; }
  .article-aside .polaroid { margin-left: 0; width: 70%; }

  .gallery-grid .gallery-item:nth-child(2),
  .gallery-grid .gallery-item:nth-child(3) {
    transform: rotate(-0.6deg);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-contact {
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-decor .deco-spool { width: 60px; right: 3%; }
}

@media (max-width: 480px) {
  .process-cards { grid-template-columns: 1fr; row-gap: 32px; }
  .process-card:nth-child(n) { transform: rotate(-0.8deg); }
  .process-card:nth-child(even) { transform: rotate(0.8deg); }

  .hero-fabric { width: 20%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}


/* =========================================================
   blog.css — Das Fabularium
   Le carnet de l'atelier : liste d'articles + article.
   Style "mur d'atelier" : polaroids, masking tape, scribbles,
   tissus, bobines en décor.
========================================================= */

/* =========================================================
   HERO du blog
========================================================= */

.blog-hero {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 5vw, 70px);
  overflow: hidden;
  text-align: center;
}

.blog-hero .container {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.blog-hero h1 {
  margin: 8px 0 20px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.005em;
}

.blog-hero h1 em {
  font-style: italic;
  color: var(--rust);
}

.blog-hero .hero-lead {
  max-width: 56ch;
  margin: 0 auto;
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.6;
}

.blog-hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.blog-hero-decor .deco-star {
  position: absolute;
  color: var(--rust);
  opacity: 0.55;
}

.blog-hero-decor .deco-star-1 {
  top: 22%;
  left: 8%;
  width: 24px;
  height: 24px;
  transform: rotate(-12deg);
}

.blog-hero-decor .deco-star-2 {
  top: 36%;
  right: 10%;
  width: 16px;
  height: 16px;
  color: var(--blue-aquarelle);
  opacity: 0.6;
  transform: rotate(16deg);
}

.blog-hero-decor .deco-spool {
  position: absolute;
  top: 12%;
  right: 4%;
  width: clamp(60px, 6vw, 90px);
  transform: rotate(-12deg);
  opacity: 0.85;
}
.blog-hero-decor .deco-spool img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(2px 4px 5px rgba(42, 36, 31, 0.18));
}

.blog-hero-decor .deco-fabric {
  position: absolute;
  bottom: 10%;
  left: 4%;
  width: clamp(70px, 8vw, 120px);
  transform: rotate(8deg);
  opacity: 0.7;
}
.blog-hero-decor .deco-fabric img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(2px 3px 5px rgba(42, 36, 31, 0.14));
}

@media (max-width: 720px) {
  .blog-hero-decor .deco-spool,
  .blog-hero-decor .deco-fabric { display: none; }
}

/* =========================================================
   FILTRES par catégorie (pills horizontales)
========================================================= */

.blog-filters {
  padding: clamp(20px, 2.5vw, 30px) 0 clamp(30px, 3.5vw, 45px);
}

.blog-filters .container {
  max-width: 980px;
}

.filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}

.filter-pill {
  appearance: none;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(255, 250, 238, 0.7);
  border: 1px solid rgba(36, 27, 21, 0.18);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  cursor: pointer;
  transition: all 200ms cubic-bezier(.2,.7,.3,1);
}

.filter-pill:hover {
  background: rgba(255, 244, 216, 0.95);
  border-color: var(--rust);
  transform: translateY(-1px);
}

.filter-pill.is-active {
  background: var(--rust);
  color: var(--paper-light);
  border-color: var(--rust);
  box-shadow: 0 3px 0 rgba(126, 47, 31, 0.28);
}

/* =========================================================
   MUR D'ARTICLES — "atelier"
========================================================= */

.blog-wall {
  position: relative;
  padding: 0 0 clamp(60px, 7vw, 100px);
  overflow: hidden;
}

.wall-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.wall-star-a {
  top: 8%;
  left: 5%;
  width: 22px;
  height: 22px;
  color: var(--rust);
  opacity: 0.45;
  transform: rotate(-12deg);
}

.wall-star-b {
  bottom: 18%;
  right: 4%;
  width: 18px;
  height: 18px;
  color: var(--blue-aquarelle);
  opacity: 0.5;
  transform: rotate(14deg);
}

.wall-decor svg { width: 100%; height: 100%; }

.blog-wall .container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  /* marge droite plus généreuse pour aérer la grille */
  padding-right: clamp(28px, 6vw, 80px);
  padding-left: clamp(20px, 5vw, 56px);
}

/* ===== Article à la une ===== */
.article-card--featured {
  position: relative;
  margin: 0 auto clamp(40px, 5vw, 70px);
  max-width: 900px;
  background:
    linear-gradient(180deg, rgba(255, 250, 238, 0.96), rgba(247, 235, 211, 0.94));
  border: 1px solid rgba(36, 27, 21, 0.14);
  border-radius: 5px 9px 6px 8px;
  padding: clamp(26px, 3vw, 40px) clamp(24px, 3vw, 40px) clamp(28px, 3vw, 40px);
  box-shadow:
    4px 6px 0 rgba(42, 36, 31, 0.07),
    0 18px 40px rgba(42, 36, 31, 0.10);
  transform: rotate(-0.6deg);
  transform-origin: 30% 50%;
  transition: transform 320ms cubic-bezier(.2,.7,.3,1);
}

.article-card--featured:hover {
  transform: rotate(0) translateY(-3px);
}

.article-card--featured .article-pin {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-8deg);
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 2px 2px rgba(42, 36, 31, 0.4));
}
.article-card--featured .article-pin img { width: 100%; height: 100%; display: block; }

.article-card--featured .card-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
  text-decoration: none;
  color: inherit;
}

@media (max-width: 720px) {
  .article-card--featured .card-link {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

.article-card--featured .article-cover {
  width: 100%;
  transform: rotate(-3deg);
  transition: transform 360ms cubic-bezier(.2,.7,.3,1);
}

.article-card--featured:hover .article-cover {
  transform: rotate(0);
}

.article-card--featured .article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  flex-wrap: wrap;
}

.article-card--featured .article-title {
  margin: 0 0 14px;
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: 0.005em;
}

.article-card--featured .article-excerpt {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.article-card--featured .article-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  transition: gap 200ms ease;
}

.article-card--featured:hover .article-cta { gap: 14px; }

/* ===== Grille des autres articles — STYLE "POST-IT + PHOTO ID" =====
   Chaque carte est une note papier (post-it crème) sur laquelle une
   petite photo format identité est collée en haut. */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 56px) clamp(28px, 3vw, 40px);
}

@media (max-width: 980px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .article-grid { grid-template-columns: 1fr; gap: 36px; }
}

.article-card {
  position: relative;
  /* aspect post-it : papier crème, légère ombre portée
     (les variantes de couleur sont définies plus bas via nth-of-type) */
  background:
    linear-gradient(180deg, #fdf3c8 0%, #f4e6a8 100%);
  border: 1px solid rgba(36, 27, 21, 0.10);
  border-radius: 3px 6px 4px 5px;
  padding: 24px 22px 22px;
  box-shadow:
    1px 2px 0 rgba(42, 36, 31, 0.08),
    3px 8px 14px rgba(42, 36, 31, 0.10);
  transition: transform 320ms cubic-bezier(.2,.7,.3,1), box-shadow 320ms ease;
}

/* variantes de couleur — distribution pseudo-aléatoire (pas de
   stricte alternance, deux mêmes couleurs côte-à-côte OK) */

/* défaut = jaune chaud (utile si on dépasse 12 cartes) */
.article-card {
  background: linear-gradient(180deg, #fdf3c8 0%, #f4e6a8 100%);
}

/* bleu ciel doux */
.article-card:nth-of-type(2),
.article-card:nth-of-type(4),
.article-card:nth-of-type(9),
.article-card:nth-of-type(11) {
  background: linear-gradient(180deg, #d3e6f3 0%, #abc8de 100%);
}

/* rose corail */
.article-card:nth-of-type(3),
.article-card:nth-of-type(6),
.article-card:nth-of-type(7),
.article-card:nth-of-type(12) {
  background: linear-gradient(180deg, #f6d8cc 0%, #ecb9a6 100%);
}

/* (1, 5, 8, 10 restent en jaune par défaut) */

/* rotations — gardent la même logique mais sans suivre la couleur */
.article-card:nth-of-type(odd)  { transform: rotate(-1.2deg); }
.article-card:nth-of-type(even) { transform: rotate(0.8deg); }
.article-card:nth-of-type(3n)   { transform: rotate(-0.5deg); }

.article-card:hover {
  transform: rotate(0) translateY(-5px);
  box-shadow:
    2px 4px 0 rgba(42, 36, 31, 0.10),
    5px 14px 24px rgba(42, 36, 31, 0.14);
}

.article-card .card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* photo "ID" : petit format, centrée en haut, bord papier épais */
.article-card .article-cover {
  /* override polaroid/taped : photo identité posée sur la note */
  width: 60%;
  max-width: 160px;
  aspect-ratio: 4 / 5;
  margin: 0 auto 16px;
  padding: 6px 6px 18px;
  background: #fff;
  border: 1px solid rgba(36, 27, 21, 0.12);
  box-shadow:
    0 1px 0 rgba(42, 36, 31, 0.06),
    0 6px 14px rgba(42, 36, 31, 0.12);
  position: relative;
  display: block;
  transform: rotate(-2deg);
  transition: transform 320ms cubic-bezier(.2,.7,.3,1);
}

/* petit bout de masking tape qui maintient la photo */
.article-card .article-cover::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 44px;
  height: 14px;
  background: url("/wp-content/themes/fabularium_by-claude/assets/tape-masking-paper.png") center / 100% 100% no-repeat;
  filter: var(--tape-filter);
  opacity: var(--tape-opacity);
  pointer-events: none;
  z-index: 3;
}

.article-card .article-cover .photo {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #ddd;
}

.article-card .article-cover .photo img,
.article-card .article-cover .photo .ph-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* la figcaption du polaroid est inutile ici */
.article-card .article-cover figcaption { display: none; }

.article-card:hover .article-cover {
  transform: rotate(0) scale(1.03);
}

.article-card .article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 8px;
  flex-wrap: wrap;
}

.article-card .article-title {
  margin: 0 0 8px;
  font-family: var(--font-title);
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: 0.005em;
  text-align: center;
}

.article-card .article-excerpt {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-soft);
  text-align: center;
}

/* tag + date */
.article-tag {
  display: inline-block;
  padding: 3px 11px;
  background: rgba(169, 72, 43, 0.10);
  color: var(--rust);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.article-tag--inline {
  font-size: 0.66rem;
}

.article-date {
  font-family: "IM Fell English", Georgia, serif;
  font-style: italic;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ===== Pagination ===== */
.blog-pagination {
  margin-top: clamp(40px, 5vw, 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-family: var(--font-ui);
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.page-link {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid rgba(36, 27, 21, 0.18);
  border-radius: 6px;
  transition: all 200ms ease;
}

.page-link:hover {
  background: var(--paper-warm, #f1eadc);
  border-color: var(--rust);
  color: var(--rust);
}

.page-link.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.page-info {
  font-style: italic;
}

/* =========================================================
   Newsletter
========================================================= */

.blog-newsletter {
  position: relative;
  padding: clamp(60px, 8vw, 100px) 0;
  overflow: hidden;
  text-align: center;
}

.blog-newsletter .container {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.blog-newsletter h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 10px 0 14px;
  line-height: 1.1;
}

.blog-newsletter p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 auto 28px;
  max-width: 50ch;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1 1 240px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1.5px solid rgba(36, 27, 21, 0.3);
  background: rgba(255, 250, 238, 0.85);
  border-radius: 6px;
  color: var(--ink);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--rust);
  background: rgba(255, 250, 238, 1);
}

.newsletter-form input::placeholder {
  font-family: "IM Fell English", Georgia, serif;
  font-style: italic;
  color: rgba(36, 27, 21, 0.4);
}

.newsletter-deco {
  position: absolute;
  top: 20%;
  right: 8%;
  width: 26px;
  height: 26px;
  color: var(--rust);
  opacity: 0.45;
  transform: rotate(-14deg);
  pointer-events: none;
  z-index: 1;
}
.newsletter-deco svg { width: 100%; height: 100%; }

/* =========================================================
   ARTICLE — page individuelle
========================================================= */

.article-page-body {
  position: relative;
  padding: clamp(40px, 5vw, 70px) 0 clamp(60px, 7vw, 100px);
  overflow: hidden;
}

.article-container {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* décors latéraux discrets */
.article-decor {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

.article-decor-a {
  top: 12%;
  left: 4%;
  width: clamp(50px, 5vw, 75px);
  transform: rotate(14deg);
}
.article-decor-a img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(2px 4px 6px rgba(42, 36, 31, 0.16));
}

.article-decor-b {
  top: 8%;
  right: 5%;
  width: 24px;
  height: 24px;
  color: var(--rust);
  opacity: 0.45;
  transform: rotate(-14deg);
}
.article-decor-b svg { width: 100%; height: 100%; }

.article-decor-c {
  bottom: 16%;
  right: 4%;
  width: clamp(70px, 8vw, 100px);
  transform: rotate(-8deg);
  opacity: 0.55;
}
.article-decor-c img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(2px 3px 5px rgba(42, 36, 31, 0.14));
}

@media (max-width: 980px) {
  .article-decor { display: none; }
}

/* Breadcrumb */
.article-crumbs {
  margin-bottom: 28px;
}

.crumb-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: gap 200ms ease, color 200ms ease;
}

.crumb-back svg {
  width: 16px;
  height: 16px;
}

.crumb-back:hover {
  gap: 12px;
  color: var(--rust);
}

/* En-tête */
.article-head {
  margin-bottom: clamp(28px, 3vw, 40px);
  text-align: center;
}

.article-eyebrow {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
  justify-content: center;
}

.dot-sep {
  color: var(--rust);
  opacity: 0.7;
}

.article-head h1 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0.005em;
  margin: 8px 0 18px;
}

.article-head h1 em {
  font-style: italic;
  color: var(--rust);
}

.article-lead {
  font-family: "IM Fell English", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 36em;
  margin: 0 auto;
}

/* Image de tête */
.article-hero-figure {
  margin: 0 0 clamp(28px, 3.5vw, 44px);
  position: relative;
}

.article-hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 4px 8px rgba(42, 36, 31, 0.08),
    0 18px 40px rgba(42, 36, 31, 0.14);
}

.article-hero-photo .ph-photo,
.article-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero-figure figcaption {
  margin-top: 10px;
  text-align: center;
  font-family: "Caveat", "IM Fell English", cursive;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* Corps texte */
.article-body {
  font-family: "IM Fell English", Georgia, serif;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.75;
  color: var(--ink);
}

.article-body p {
  margin: 0 0 1.4em;
  text-wrap: pretty;
}

.article-body p:first-of-type::first-letter {
  /* lettrine légère sur le premier paragraphe */
  font-family: var(--font-title);
  font-size: 3.4em;
  line-height: 0.9;
  float: left;
  margin: 4px 10px 0 0;
  color: var(--rust);
}

.article-body h2 {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  margin: 1.8em 0 0.6em;
  line-height: 1.15;
  letter-spacing: 0.005em;
}

.article-body h3 {
  font-family: var(--font-title);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  margin: 1.5em 0 0.5em;
  line-height: 1.2;
}

.article-body em {
  font-style: italic;
  color: var(--ink);
}

.article-body strong {
  font-weight: 600;
  color: var(--ink);
}

/* Citation */
.article-quote {
  margin: clamp(28px, 3vw, 40px) 0;
  padding: clamp(22px, 2.5vw, 32px) clamp(24px, 3vw, 36px);
  background: rgba(216, 182, 95, 0.16);
  border-left: 3px solid var(--rust);
  border-radius: 0 6px 6px 0;
  position: relative;
}

.article-quote::before {
  /* gros guillemet décoratif */
  content: "“";
  position: absolute;
  top: -10px;
  left: 12px;
  font-family: var(--font-title);
  font-size: 4rem;
  line-height: 1;
  color: var(--rust);
  opacity: 0.5;
}

.article-quote p {
  margin: 0 0 8px;
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.35;
  color: var(--ink);
}

.article-quote cite {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Liste */
.article-list {
  margin: 0 0 1.4em;
  padding: 0;
  list-style: none;
}

.article-list li {
  position: relative;
  padding-left: 24px;
  margin: 0.7em 0;
  line-height: 1.65;
}

.article-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--rust);
  font-weight: 600;
}

/* Signature */
.article-signature {
  margin: clamp(36px, 4vw, 56px) 0 clamp(20px, 2.5vw, 30px);
  text-align: center;
}

.article-signature .caveat {
  font-family: "Caveat", "IM Fell English", cursive;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  color: var(--ink-soft);
  margin: 0;
}

/* Tags */
.article-tags {
  margin: 0 0 clamp(40px, 4vw, 60px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px dashed rgba(42, 36, 31, 0.2);
}

.tags-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-right: 4px;
}

.article-tags .article-tag {
  cursor: pointer;
  transition: all 200ms ease;
}

.article-tags .article-tag:hover {
  background: var(--rust);
  color: var(--paper-light);
}

/* Navigation prev/next */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-top: 32px;
  border-top: 1px solid rgba(42, 36, 31, 0.12);
}

@media (max-width: 620px) {
  .article-nav { grid-template-columns: 1fr; }
}

.article-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: rgba(255, 250, 238, 0.6);
  border: 1px solid rgba(36, 27, 21, 0.12);
  border-radius: 5px 8px 6px 7px;
  text-decoration: none;
  color: inherit;
  transition: all 280ms cubic-bezier(.2, .7, .3, 1);
}

.article-nav-prev { transform: rotate(-0.4deg); }
.article-nav-next { transform: rotate(0.4deg); text-align: right; }

.article-nav-link:hover {
  transform: rotate(0) translateY(-2px);
  background: rgba(255, 244, 216, 0.92);
  border-color: rgba(169, 72, 43, 0.5);
  box-shadow: 3px 5px 0 rgba(42, 36, 31, 0.06);
}

.article-nav-link .dir {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
}

.article-nav-link .title {
  font-family: var(--font-title);
  font-size: 1rem;
  line-height: 1.25;
  color: var(--ink);
}

/* helper accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* =========================================================
   about.css — page À propos
   Styles spécifiques aux 2 variations About.
========================================================= */

/* ---------- Tronc commun ---------- */

.about-page {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  isolation: isolate;
  overflow: hidden;
}

.about-page .container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.about-page section {
  position: relative;
}

/* ---------- Hero ---------- */

.about-hero {
  padding: clamp(80px, 10vw, 130px) 0 clamp(80px, 8vw, 110px);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.about-hero h1 {
  margin: 0.4rem 0 1.6rem;
}

.about-hero .hero-portrait {
  position: relative;
  aspect-ratio: 3 / 4;
}

.about-hero .hero-portrait .polaroid {
  width: 88%;
  margin-left: 6%;
  transform: rotate(-2.5deg);
}

.about-hero .hero-portrait .signature {
  position: absolute;
  bottom: -8px;
  right: 0;
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  color: var(--rust-dark);
  transform: rotate(-4deg);
}

.about-hero .hero-portrait .pin-decor {
  position: absolute;
  top: -8px;
  left: 14%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-soft), var(--gold-deep) 60%, var(--rust-dark));
  box-shadow: var(--shadow-pin);
}

/* ---------- Récit (genèse) ---------- */

.about-story {
  background: linear-gradient(180deg, transparent, rgba(229, 211, 167, 0.18) 30%, transparent 70%);
  padding: clamp(80px, 10vw, 140px) 0;
}

.about-story-inner {
  max-width: 64ch;
  margin-inline: auto;
  text-align: center;
}

.about-story-inner .text-long {
  text-align: left;
  margin-top: 2rem;
}

.about-story-inner .pull-quote {
  position: relative;
  margin: 2.8rem auto 0;
  padding: 1.4rem 2rem;
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  line-height: 1.4;
  color: var(--ink);
  border-left: 3px solid var(--rust);
  background: var(--surface-paper-strong);
  text-align: left;
}

.about-story-inner .pull-quote::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: -8px;
  font-size: 4rem;
  line-height: 1;
  color: var(--rust);
  font-family: var(--font-title);
  opacity: 0.6;
}

/* ---------- Principes ---------- */

.about-values {
  padding: clamp(80px, 8vw, 120px) 0;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
  margin-top: 3rem;
}

.value-card {
  position: relative;
  padding: 2rem 1.2rem;
  text-align: center;
}

.value-card .value-sketch {
  width: 78px;
  height: 78px;
  margin: 0 auto 1.4rem;
  display: grid;
  place-items: center;
}

.value-card .value-sketch img {
  max-width: 100%;
  max-height: 100%;
  filter: drop-shadow(0 3px 6px rgba(44, 31, 18, 0.14));
}

.value-card h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 0.6rem;
  color: var(--ink);
}

.value-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Timeline ---------- */

.about-timeline {
  padding: clamp(80px, 8vw, 120px) 0;
  background: linear-gradient(180deg, transparent, rgba(229, 211, 167, 0.22) 50%, transparent);
}

.timeline-inner {
  max-width: 720px;
  margin-inline: auto;
  position: relative;
  padding-top: 2rem;
}

.timeline-inner::before {
  content: "";
  position: absolute;
  left: 140px;
  top: 30px;
  bottom: 30px;
  width: 0;
  border-left: 1.5px dashed var(--rust);
  opacity: 0.4;
}

.timeline-row {
  display: grid;
  grid-template-columns: 120px 40px 1fr;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-row .year {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--rust);
}

.timeline-row .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  margin-top: 10px;
  justify-self: center;
  position: relative;
  z-index: 2;
}

.timeline-row .event h4 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 0.4rem;
  color: var(--ink);
}

.timeline-row .event p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ---------- Atelier mosaic ---------- */

.about-place {
  padding: clamp(80px, 10vw, 140px) 0;
}

.about-place-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.atelier-mosaic {
  position: relative;
  height: 460px;
}

.atelier-mosaic .polaroid {
  position: absolute;
  width: 36%;
}

.atelier-mosaic .p1 { left: 0%;   top: 6%;  transform: rotate(-3deg); }
.atelier-mosaic .p2 { left: 30%;  top: 28%; transform: rotate(2deg); }
.atelier-mosaic .p3 { right: 0%;  top: 0%;  transform: rotate(-2deg); }
.atelier-mosaic .p4 { right: 8%;  bottom: 0%; transform: rotate(3deg); width: 34%; }

/* Carte intégrée dans la mosaïque : même cadre polaroid + cassette de scotch,
   mais l'image est remplacée par un plan stylisé (SVG placeholder).
   À remplacer par un screenshot statique avant le bundle. */
.atelier-mosaic .map-card .map-placeholder,
.atelier-mosaic .map-card .map-embed {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e9dec3;
}

.atelier-mosaic .map-card .map-placeholder svg {
  width: 100%;
  height: 100%;
  display: block;
}

.atelier-mosaic .map-card .map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: saturate(0.78) contrast(0.96) sepia(0.10);
}

/* ---------- CTA pont ---------- */

.about-cta {
  padding: clamp(80px, 10vw, 140px) 0;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(229, 211, 167, 0.25));
}

.about-cta h2 {
  max-width: 22ch;
  margin-inline: auto;
}

.about-cta .lead {
  max-width: 50ch;
  margin: 1.4rem auto 2rem;
  font-size: 1.05rem;
}

.about-cta .hero-actions {
  justify-content: center;
}

/* =========================================================
   Touches "carnet" intégrées dans le tronc clean
   (handnote sous le hero, lettre signée pour le CTA)
========================================================= */

.hero-handnote {
  display: block;
  margin-top: 2rem;
  font-family: 'Caveat', cursive;
  font-size: 1.15rem;
  color: var(--rust-dark);
  transform: rotate(-1deg);
}

/* CTA letter style */
.about-cta.about-v2 {
  padding: clamp(80px, 8vw, 120px) 0 clamp(100px, 10vw, 160px);
  text-align: left;
  background: linear-gradient(180deg, transparent, rgba(229, 211, 167, 0.25));
}

.cta-letter {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 3rem;
  background: var(--surface-paper-strong);
  box-shadow: var(--shadow-paper);
  transform: rotate(-1deg);
}

.cta-letter::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 30%;
  width: 96px;
  height: 40px;
  transform: rotate(-4deg);
  background: url("/wp-content/themes/fabularium_by-claude/assets/tape-masking-paper.png") center / 100% 100% no-repeat;
  filter: var(--tape-filter);
  opacity: var(--tape-opacity);
}

.cta-letter::after {
  content: "";
  position: absolute;
  top: -14px;
  right: 28%;
  width: 96px;
  height: 40px;
  transform: rotate(3deg);
  background: url("/wp-content/themes/fabularium_by-claude/assets/tape-masking-paper.png") center / 100% 100% no-repeat;
  filter: var(--tape-filter);
  opacity: var(--tape-opacity);
}

.cta-letter h2 {
  margin-top: 0;
}

.cta-letter p {
  font-size: 1rem;
  line-height: 1.7;
  margin: 1rem 0;
}

.cta-letter .signature {
  margin-top: 2rem;
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  color: var(--rust-dark);
  text-align: right;
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 860px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .about-hero .hero-portrait {
    max-width: 360px;
    margin-inline: auto;
  }

  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-inner::before {
    left: 80px;
  }

  .timeline-row {
    grid-template-columns: 70px 30px 1fr;
    gap: 12px;
  }

  .timeline-row .year {
    font-size: 1.2rem;
  }

  .about-place-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .atelier-mosaic {
    height: 380px;
  }
}

@media (max-width: 560px) {
  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .cta-letter {
    padding: 2rem 1.5rem;
  }

  .cta-letter::before { left: 18%; }
  .cta-letter::after { right: 16%; }

  .atelier-mosaic {
    height: 540px;
  }
  .atelier-mosaic .polaroid { width: 56%; }
  .atelier-mosaic .p1 { left: 0; top: 0; }
  .atelier-mosaic .p2 { left: 30%; top: 30%; }
  .atelier-mosaic .p3 { right: 0; top: 8%; }
  .atelier-mosaic .p4 { right: 8%; bottom: 0; width: 50%; }
}


/* =========================================================
   contact.css — Das Fabularium
   Page Contact : formulaire "lettre à l'atelier",
   questions guidées, RGPD, aside, FAQ courte.
========================================================= */

/* =========================================================
   HERO contact — deux colonnes : texte + cartes
========================================================= */

.contact-hero {
  position: relative;
  padding: clamp(48px, 6vw, 90px) 0 clamp(40px, 5vw, 70px);
  overflow: hidden;
}

.contact-hero .container.hero-grid {
  position: relative;
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  text-align: left;
}

@media (max-width: 920px) {
  .contact-hero .container.hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }
}

.contact-hero .hero-text { position: relative; z-index: 2; }

.contact-hero h1 {
  margin: 0.4rem 0 0.6rem;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.02;
}

.contact-hero .hero-lead {
  max-width: 38ch;
  margin: 1rem 0 0;
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  color: var(--ink-soft);
}

@media (max-width: 920px) {
  .contact-hero .hero-lead { margin: 1rem auto 0; }
}

/* Petit graphique manuscrit "ou par ces autres voies…" */
.hero-doodle {
  position: relative;
  margin-top: clamp(28px, 4vw, 48px);
  display: inline-flex;
  align-items: flex-end;
  gap: 8px;
  color: var(--rust);
}

.hero-arrow {
  width: 110px;
  height: 80px;
  opacity: 0.7;
  transform: rotate(-4deg);
}

.hero-handwritten {
  font-family: "Caveat", "IM Fell English", cursive;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  color: var(--rust-dark);
  line-height: 1.1;
  padding-bottom: 24px;
  transform: rotate(-2deg);
}

@media (max-width: 920px) {
  .hero-doodle { display: none; }
}

/* étoiles éparses du hero (existantes) */
.contact-hero .star {
  pointer-events: none;
  z-index: 1;
}

.contact-hero .star-a { top: 14%; left: 8%;   --star-size: 18px; transform: rotate(-12deg); }
.contact-hero .star-b { top: 22%; right: 4%;  --star-size: 14px; opacity: 0.55; }
.contact-hero .star-c { top: 58%; left: 38%;  --star-size: 10px; opacity: 0.45; }
.contact-hero .star-d { top: 80%; left: 4%;   --star-size: 14px; opacity: 0.6;  transform: rotate(20deg); }

/* =========================================================
   HERO — colonne de droite : cartes contact
========================================================= */

.hero-cards {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 2.6vw, 32px);
  padding: clamp(20px, 2vw, 32px) 0;
}

.hero-cards-decor {
  position: absolute;
  inset: -8px -16px -8px -16px;
  pointer-events: none;
  z-index: 0;
}

.hero-cards-decor .deco-star {
  position: absolute;
  width: 18px;
  height: 18px;
  color: var(--rust);
  opacity: 0.55;
}
.hero-cards-decor .deco-star svg { width: 100%; height: 100%; }
.hero-cards-decor .deco-star--a {
  top: 8%;
  right: -4px;
  width: 22px;
  height: 22px;
  transform: rotate(-14deg);
}
.hero-cards-decor .deco-star--b {
  bottom: 18%;
  left: -10px;
  width: 14px;
  height: 14px;
  color: var(--blue-aquarelle);
  opacity: 0.6;
  transform: rotate(12deg);
}

.hero-cards-decor .deco-spool {
  position: absolute;
  top: 38%;
  right: -28px;
  width: 68px;
  transform: rotate(16deg);
  opacity: 0.75;
}
.hero-cards-decor .deco-spool img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(2px 4px 6px rgba(42, 36, 31, 0.18));
}

@media (max-width: 920px) {
  .hero-cards-decor .deco-spool { display: none; }
}

/* =========================================================
   Layout principal
========================================================= */

.contact-section {
  position: relative;
  padding: clamp(20px, 3vw, 40px) 0 clamp(80px, 8vw, 120px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: flex-start;
}

@media (max-width: 920px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =========================================================
   FORMULAIRE — feuille papier scotchée
========================================================= */

.letter-sheet {
  position: relative;
  padding: clamp(32px, 4vw, 56px) clamp(28px, 3.4vw, 48px) clamp(36px, 4vw, 52px);
  background:
    linear-gradient(180deg, rgba(255, 250, 238, 0.96), rgba(247, 235, 211, 0.94));
  border: 1px solid rgba(36, 27, 21, 0.16);
  box-shadow:
    4px 6px 0 rgba(42, 36, 31, 0.07),
    0 18px 40px rgba(42, 36, 31, 0.12);
  /* feuille nettement penchée en permanence — pas de redressement au hover */
  transform: rotate(-1.6deg);
  transform-origin: 25% 50%;
  /* lignes de cahier subtiles */
  background-image:
    linear-gradient(180deg, rgba(255, 250, 238, 0.96), rgba(247, 235, 211, 0.94)),
    repeating-linear-gradient(to bottom,
      transparent 0,
      transparent 31px,
      rgba(42, 36, 31, 0.07) 31px,
      rgba(42, 36, 31, 0.07) 32px);
  background-blend-mode: normal, multiply;
}

.letter-sheet::before {
  /* tape masking au-dessus du papier */
  content: "";
  position: absolute;
  top: -16px;
  left: 18%;
  width: 110px;
  height: 38px;
  transform: rotate(-5deg);
  background: url("/wp-content/themes/fabularium_by-claude/assets/tape-masking-paper.png") center / 100% 100% no-repeat;
  filter: var(--tape-filter);
  opacity: var(--tape-opacity);
  pointer-events: none;
  z-index: 4;
}

.letter-sheet::after {
  content: "";
  position: absolute;
  top: -14px;
  right: 16%;
  width: 110px;
  height: 38px;
  transform: rotate(4deg);
  background: url("/wp-content/themes/fabularium_by-claude/assets/tape-masking-paper.png") center / 100% 100% no-repeat;
  filter: var(--tape-filter);
  opacity: var(--tape-opacity);
  pointer-events: none;
  z-index: 4;
}

.letter-header {
  margin-bottom: clamp(18px, 2.4vw, 28px);
  border-bottom: 1px dashed rgba(42, 36, 31, 0.22);
  padding-bottom: clamp(14px, 1.8vw, 22px);
}

.letter-header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.05;
}

.letter-header .salutation {
  display: block;
  font-family: "IM Fell English", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  color: var(--ink-soft);
  margin-bottom: 4px;
}

/* =========================================================
   Questions guidées (mini-quiz)
========================================================= */

.guided {
  position: relative;
  margin: 0 0 clamp(24px, 3vw, 36px);
  padding: clamp(18px, 2.2vw, 26px) clamp(20px, 2.4vw, 30px) clamp(20px, 2.4vw, 30px);
  background: rgba(255, 244, 216, 0.85);
  border: 1px dashed rgba(169, 72, 43, 0.45);
  border-radius: 6px 9px 7px 8px;
  transform: rotate(0.6deg);
  transform-origin: center;
}

.guided-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.guided-title .label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
}

.guided-title .toggle {
  appearance: none;
  background: transparent;
  border: 0;
  font-family: "Caveat", "IM Fell English", cursive;
  font-size: 1.05rem;
  color: var(--ink-soft);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.guided-title .toggle:hover {
  color: var(--rust);
}

.guided[hidden] { display: none; }

.guided-q {
  margin-bottom: 14px;
}

.guided-q:last-child { margin-bottom: 0; }

.guided-q .qlabel {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.guided-q .qhint {
  font-family: "IM Fell English", Georgia, serif;
  font-style: italic;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink-soft);
  margin-left: 6px;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 99px;
  border: 1px solid rgba(36, 27, 21, 0.25);
  background: rgba(255, 250, 238, 0.55);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 160ms ease;
}

.chip:hover {
  border-color: var(--rust);
  background: rgba(255, 244, 216, 0.95);
  transform: translateY(-1px) rotate(-0.5deg);
}

.chip[aria-pressed="true"] {
  background: var(--rust);
  color: var(--paper-light);
  border-color: var(--rust);
  box-shadow: 0 3px 0 rgba(126, 47, 31, 0.25);
}

/* =========================================================
   Champs du formulaire
========================================================= */

.fields {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.2vw, 24px);
}

.field {
  position: relative;
}

.field-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.field-label .name {
  font-family: "Caveat", "IM Fell English", cursive;
  font-size: 1.25rem;
  color: var(--ink);
  font-weight: 600;
}

.field-label .hint {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite);
}

.field-label .required {
  color: var(--rust);
  margin-left: 4px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid rgba(36, 27, 21, 0.55);
  padding: 8px 4px 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.5;
  transition: border-color 180ms ease, background 180ms ease;
  border-radius: 0;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(36, 27, 21, 0.35);
  font-style: italic;
  font-family: "IM Fell English", Georgia, serif;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--rust);
  background: rgba(255, 244, 216, 0.4);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
  border-bottom: 0;
  border: 1.5px solid rgba(36, 27, 21, 0.30);
  padding: 12px 14px;
  background: rgba(255, 250, 238, 0.6);
  background-image: repeating-linear-gradient(to bottom,
    transparent 0,
    transparent 23px,
    rgba(42, 36, 31, 0.12) 23px,
    rgba(42, 36, 31, 0.12) 24px);
  line-height: 24px;
}

.field textarea:focus {
  border-color: var(--rust);
  background-color: rgba(255, 250, 238, 0.85);
}

/* =========================================================
   RGPD + captcha + soumission
========================================================= */

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.consent input[type="checkbox"] {
  appearance: none;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border: 1.5px solid rgba(36, 27, 21, 0.5);
  background: rgba(255, 250, 238, 0.7);
  cursor: pointer;
  border-radius: 3px;
  display: grid;
  place-items: center;
  transition: all 160ms ease;
}

.consent input[type="checkbox"]:checked {
  background: var(--rust);
  border-color: var(--rust);
}

.consent input[type="checkbox"]:checked::after {
  content: "✓";
  color: var(--paper-light);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.consent a {
  color: var(--rust);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding: 12px 14px;
  background: rgba(255, 244, 216, 0.55);
  border: 1px dashed rgba(42, 36, 31, 0.28);
  border-radius: 6px;
  font-family: "Caveat", "IM Fell English", cursive;
  font-size: 1.1rem;
  color: var(--ink);
}

.captcha-row label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.captcha-row .qtext {
  font-family: "IM Fell English", Georgia, serif;
  font-style: italic;
}

.captcha-row input {
  width: 64px;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 6px 8px;
  border: 1px solid rgba(36, 27, 21, 0.3);
  background: rgba(255, 250, 238, 0.8);
  text-align: center;
  border-radius: 4px;
}

.captcha-row input:focus {
  outline: none;
  border-color: var(--rust);
}

/* honeypot — invisible mais accessible aux bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none;
}

/* punaise sur la carte voice : très petite, juste un point */
.contact-card .card-pin {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(8deg);
  width: 16px;
  height: 16px;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 2px 2px rgba(42, 36, 31, 0.35));
}

.contact-card .card-pin img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(12px, 1.5vw, 18px);
}

.submit-row .hint-text {
  font-family: "Caveat", "IM Fell English", cursive;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* Feedback succès / erreur */
.form-feedback {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-feedback[data-state="success"] {
  background: rgba(125, 139, 117, 0.18);
  border: 1px solid rgba(125, 139, 117, 0.5);
  color: #3d4a35;
}

.form-feedback[data-state="error"] {
  background: rgba(169, 72, 43, 0.12);
  border: 1px solid rgba(169, 72, 43, 0.5);
  color: var(--rust-dark);
}

.form-feedback[hidden] { display: none; }

/* =========================================================
   ASIDE — coordonnées alternatives (style "notes épinglées")
========================================================= */

.contact-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 2.8vw, 32px);
}

/* décors répartis dans la marge de l'aside */
.aside-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.aside-decor .deco-star {
  position: absolute;
  width: 18px;
  height: 18px;
  color: var(--rust);
  opacity: 0.5;
}
.aside-decor .deco-star svg { width: 100%; height: 100%; }

.aside-decor .deco-star--a {
  top: 18%;
  right: -10px;
  width: 22px;
  height: 22px;
  transform: rotate(-14deg);
}
.aside-decor .deco-star--b {
  top: 56%;
  left: -14px;
  width: 14px;
  height: 14px;
  color: var(--blue-aquarelle);
  opacity: 0.55;
  transform: rotate(12deg);
}

.aside-decor .deco-spool {
  position: absolute;
  bottom: 28%;
  right: -22px;
  width: 68px;
  transform: rotate(16deg);
  opacity: 0.85;
}
.aside-decor .deco-spool img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(2px 4px 6px rgba(42, 36, 31, 0.18));
}

.aside-heading {
  position: relative;
  z-index: 1;
  margin: 8px 0 4px;
}

.aside-heading h2 {
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  margin: 6px 0 0;
  line-height: 1.1;
}

/* Cards "contact" — chacune un peu différente */
.contact-card {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px 18px 22px;
  background: rgba(255, 250, 238, 0.92);
  border: 1px solid rgba(36, 27, 21, 0.14);
  text-decoration: none;
  box-shadow:
    2px 3px 0 rgba(42, 36, 31, 0.06),
    0 10px 22px rgba(42, 36, 31, 0.08);
  border-radius: 5px 8px 4px 7px;
  transition: transform 280ms cubic-bezier(.2,.7,.3,1), box-shadow 280ms ease;
}

/* rotations variées pour casser l'alignement */
.contact-card--mail   { transform: rotate(-1.2deg); margin-right: 8%; }
.contact-card--insta  { transform: rotate( 1deg);  margin-left: 6%; }
.contact-card--voice  { transform: rotate(-0.6deg); margin-right: 4%; }

.contact-card:hover {
  transform: translateY(-3px) rotate(0);
  box-shadow:
    3px 5px 0 rgba(42, 36, 31, 0.08),
    0 14px 28px rgba(42, 36, 31, 0.14);
}

/* petit bout de masking tape sur chaque carte */
.contact-card .card-tape {
  position: absolute;
  top: -10px;
  width: 60px;
  height: 18px;
  background: url("/wp-content/themes/fabularium_by-claude/assets/tape-masking-paper.png") center / 100% 100% no-repeat;
  filter: var(--tape-filter);
  opacity: var(--tape-opacity);
  pointer-events: none;
  z-index: 3;
}
.contact-card--mail  .card-tape { left: 18%; transform: rotate(-6deg); }
.contact-card--insta .card-tape { right: 16%; transform: rotate(7deg);  }
.contact-card--voice .card-tape { left: 40%; transform: rotate(-3deg); width: 70px; }

.contact-card .icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--paper-warm);
  border: 1px solid rgba(36, 27, 21, 0.2);
  border-radius: 50%;
  color: var(--ink);
}

.contact-card .icon svg {
  width: 22px;
  height: 22px;
}

/* Variation visuelle par type */
.contact-card--insta .icon {
  background:
    radial-gradient(circle at 30% 30%, #f1eadc 0%, #e9cfa6 60%, #c9966a 100%);
  color: var(--ink);
  border-color: rgba(169, 72, 43, 0.35);
}
.contact-card--voice .icon {
  background:
    radial-gradient(circle at 30% 30%, #f1eadc 0%, #cfd9d5 60%, #8aa6a2 100%);
  border-color: rgba(21, 60, 67, 0.35);
  color: var(--blue-night, #153c43);
}

.contact-card .body {
  flex: 1;
  min-width: 0;
}

.contact-card .ctitle {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--graphite);
  margin: 0 0 4px;
}

.contact-card .cvalue {
  display: block;
  font-family: var(--font-title);
  font-size: 1.08rem;
  color: var(--ink);
  text-decoration: none;
  word-break: break-word;
  margin: 2px 0 6px;
}

.contact-card:hover .cvalue {
  color: var(--rust);
}

.contact-card .chint {
  display: block;
  font-family: "Caveat", "IM Fell English", cursive;
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.3;
}

/* Polaroid mini dans l'aside */
.aside-polaroid {
  position: relative;
  width: clamp(180px, 100%, 240px);
  margin: 8px auto 0;
  transform: rotate(2deg);
}

/* Note RGPD */
.rgpd-note {
  position: relative;
  padding: 18px 20px;
  background: rgba(216, 182, 95, 0.18);
  border: 1px solid rgba(184, 148, 90, 0.45);
  border-radius: 6px 9px 7px 8px;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--ink-soft);
  transform: rotate(-0.5deg);
}

.rgpd-note h3 {
  margin: 0 0 6px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
}

.rgpd-note p { margin: 0 0 6px; font-size: inherit; color: inherit; }
.rgpd-note p:last-child { margin: 0; }

.rgpd-note a {
  color: var(--rust);
  text-decoration: underline;
  text-decoration-style: dotted;
}

/* =========================================================
   FAQ courte
========================================================= */

.contact-faq {
  position: relative;
  padding: clamp(56px, 7vw, 100px) 0;
  background:
    linear-gradient(180deg, rgba(234, 216, 185, 0.6), rgba(227, 212, 177, 0.55));
  border-top: 1px dashed rgba(42, 36, 31, 0.18);
  border-bottom: 1px dashed rgba(42, 36, 31, 0.18);
}

.contact-faq .intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto clamp(28px, 3.5vw, 44px);
}

.contact-faq .intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 6px 0 14px;
}

.contact-faq .intro p {
  margin: 0;
  color: var(--ink-soft);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
}

@media (max-width: 820px) {
  .faq-grid { grid-template-columns: 1fr; }
}

.faq-card {
  position: relative;
  padding: 22px 22px 20px;
  background: rgba(255, 250, 238, 0.92);
  border: 1px solid rgba(36, 27, 21, 0.14);
  box-shadow: 3px 4px 0 rgba(42, 36, 31, 0.06);
  border-radius: 6px 9px 7px 8px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.faq-card:nth-child(1) { transform: rotate(-0.6deg); }
.faq-card:nth-child(2) { transform: rotate(0.4deg); }
.faq-card:nth-child(3) { transform: rotate(-0.3deg); }

.faq-card:hover {
  transform: translateY(-3px) rotate(0);
  box-shadow: 4px 6px 0 rgba(42, 36, 31, 0.08);
}

.faq-card .qnum {
  position: absolute;
  top: -12px;
  left: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--rust);
  color: var(--paper-light);
  display: grid;
  place-items: center;
  font-family: var(--font-title);
  font-size: 0.95rem;
  box-shadow: 0 3px 5px rgba(126, 47, 31, 0.25);
}

.faq-card h3 {
  margin: 6px 0 10px;
  font-family: var(--font-title);
  font-size: 1.2rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
}

.faq-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.faq-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--rust);
}

.faq-card .more:hover { gap: 10px; }

/* =========================================================
   Scroll reveal — d\u00e9fini dans css/base.css (partag\u00e9)
========================================================= */


/* =========================================================
   faq.css — Das Fabularium
   Page FAQ : catégories pliables, questions pliables.
   ========================================================= */

.faq-page main {
  background: var(--paper);
}

/* ---- Hero ---- */
.faq-hero {
  position: relative;
  padding: clamp(70px, 9vw, 130px) 0 clamp(40px, 5vw, 70px);
  overflow: hidden;
}

.faq-hero .container {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
  text-align: center;
}

/* ---- Décor du hero (étoiles, bobine, tissus, tape) ---- */
.faq-hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.faq-hero-decor .deco-star {
  position: absolute;
  width: 22px;
  height: 22px;
  color: var(--rust);
  opacity: 0.55;
}

.faq-hero-decor .deco-star-1 {
  top: 22%;
  left: 9%;
  width: 28px;
  height: 28px;
  transform: rotate(-12deg);
}

.faq-hero-decor .deco-star-2 {
  top: 38%;
  right: 11%;
  width: 16px;
  height: 16px;
  transform: rotate(18deg);
  color: var(--blue-aquarelle);
  opacity: 0.6;
}

.faq-hero-decor .deco-star-3 {
  bottom: 20%;
  left: 16%;
  width: 14px;
  height: 14px;
  transform: rotate(-6deg);
  color: var(--blue-aquarelle);
  opacity: 0.45;
}

.faq-hero-decor .deco-tape {
  position: absolute;
  top: -6px;
  left: 4%;
  width: clamp(110px, 12vw, 170px);
  transform: rotate(-7deg);
  opacity: 0.85;
}

.faq-hero-decor .deco-tape img {
  width: 100%;
  height: auto;
  display: block;
}

.faq-hero-decor .deco-spool {
  position: absolute;
  bottom: 8%;
  right: 5%;
  width: clamp(60px, 6vw, 88px);
  transform: rotate(14deg);
  opacity: 0.85;
}

.faq-hero-decor .deco-spool img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(2px 4px 4px rgba(42, 36, 31, 0.18));
}

.faq-hero-decor .deco-swatch {
  position: absolute;
  top: 14%;
  right: 4%;
  width: clamp(80px, 9vw, 120px);
  transform: rotate(6deg);
  opacity: 0.78;
}

.faq-hero-decor .deco-swatch img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(2px 3px 5px rgba(42, 36, 31, 0.14));
}

@media (max-width: 720px) {
  .faq-hero-decor .deco-swatch,
  .faq-hero-decor .deco-tape { display: none; }
  .faq-hero-decor .deco-spool {
    width: 50px;
    bottom: 4%;
    right: 6%;
  }
}

.faq-hero h1 {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 8px 0 18px;
  letter-spacing: 0.005em;
}

.faq-hero h1 em {
  font-style: italic;
  color: var(--rust);
}

.faq-hero .hero-lead {
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink-soft);
  line-height: 1.55;
}

.faq-hero .hero-lead a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* petit décor : une étoile et un trombone façon papier */
.faq-hero .deco-star {
  position: absolute;
  top: 18%;
  left: 8%;
  color: var(--rust);
  opacity: 0.6;
  width: 26px;
  height: 26px;
  transform: rotate(-12deg);
  display: none;
}

.faq-hero .deco-star.right {
  display: none;
}

/* ---- Sommaire / jump ---- */
.faq-toc {
  padding: clamp(20px, 3vw, 36px) 0 clamp(30px, 4vw, 50px);
}

.faq-toc .container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}

.faq-toc .toc-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 14px;
  text-align: center;
}

.faq-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}

.faq-toc a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(42, 36, 31, 0.14);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  text-decoration: none;
  color: var(--ink);
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.faq-toc a:hover {
  background: var(--paper-warm, #f1eadc);
  border-color: rgba(42, 36, 31, 0.28);
  transform: translateY(-1px);
}

.faq-toc .toc-num {
  font-family: var(--font-title);
  font-size: 0.78rem;
  color: var(--rust);
  letter-spacing: 0.04em;
}

/* ---- Body : catégories pliables ---- */
.faq-body {
  position: relative;
  padding: 0 0 clamp(60px, 8vw, 110px);
}

/* décor de marge le long de la liste de catégories */
.faq-body::before,
.faq-body::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  background: url("/wp-content/themes/fabularium_by-claude/assets/decor-fabric-swatches.png") center / contain no-repeat;
  opacity: 0.45;
  pointer-events: none;
}
.faq-body::before {
  top: 6%;
  left: 4%;
  transform: rotate(-10deg);
}
.faq-body::after {
  bottom: 14%;
  right: 3%;
  transform: rotate(12deg);
  width: 90px;
  height: 90px;
}

@media (max-width: 980px) {
  .faq-body::before,
  .faq-body::after { display: none; }
}

.faq-body .container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vw, 26px);
}

.faq-category {
  position: relative;
  scroll-margin-top: 100px;
  background:
    /* texture papier subtile sur la carte */
    linear-gradient(180deg, rgba(255, 250, 238, 0.92), rgba(247, 235, 211, 0.88));
  border: 1px solid rgba(42, 36, 31, 0.14);
  border-radius: 5px 8px 6px 7px;
  padding: 0;
  box-shadow:
    3px 4px 0 rgba(42, 36, 31, 0.06),
    0 10px 22px rgba(42, 36, 31, 0.06);
  transition: transform 320ms cubic-bezier(.2,.7,.3,1), box-shadow 320ms ease;
}

/* rotations variées subtiles — chaque catégorie penche un peu */
.faq-category:nth-of-type(odd)  { transform: rotate(-0.5deg); transform-origin: left center; }
.faq-category:nth-of-type(even) { transform: rotate(0.45deg); transform-origin: right center; }
.faq-category:nth-of-type(3n)   { transform: rotate(-0.3deg); }

.faq-category:hover {
  transform: translateY(-2px) rotate(0);
  box-shadow:
    4px 6px 0 rgba(42, 36, 31, 0.08),
    0 14px 28px rgba(42, 36, 31, 0.10);
}

/* petit washi tape en haut de chaque catégorie */
.faq-category::before {
  content: "";
  position: absolute;
  top: -10px;
  width: 90px;
  height: 22px;
  background: url("/wp-content/themes/fabularium_by-claude/assets/tape-masking-paper.png") center / 100% 100% no-repeat;
  filter: var(--tape-filter);
  opacity: var(--tape-opacity);
  pointer-events: none;
  z-index: 2;
}
.faq-category:nth-of-type(odd)::before  { left: 12%; transform: rotate(-6deg); }
.faq-category:nth-of-type(even)::before { right: 14%; transform: rotate(7deg); }
.faq-category:nth-of-type(3n)::before   { left: 38%; transform: rotate(-3deg); width: 110px; }

.faq-category > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: clamp(18px, 2vw, 24px) clamp(20px, 2.5vw, 30px);
  user-select: none;
}

.faq-category > summary::-webkit-details-marker { display: none; }

.faq-category .cat-num {
  font-family: var(--font-title);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  color: var(--rust);
  letter-spacing: 0.02em;
  flex: 0 0 auto;
}

.faq-category .cat-title {
  font-family: var(--font-title);
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1.25;
  flex: 1 1 auto;
}

.faq-category .cat-count {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  flex: 0 0 auto;
}

.faq-category .cat-chevron {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--ink-soft);
  transition: transform 200ms ease;
}

.faq-category[open] > summary .cat-chevron {
  transform: rotate(180deg);
}

.faq-category[open] > summary {
  border-bottom: 1px dashed rgba(42, 36, 31, 0.18);
}

.faq-list {
  display: flex;
  flex-direction: column;
  padding: 6px clamp(20px, 2.5vw, 30px) clamp(14px, 1.8vw, 22px);
}

/* ---- Question / réponse ---- */
.faq-item {
  border-bottom: 1px dashed rgba(42, 36, 31, 0.14);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 6px 16px 0;
  user-select: none;
}

.faq-item > summary::-webkit-details-marker { display: none; }

.faq-item .q-plus {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  position: relative;
  border: 1px solid rgba(42, 36, 31, 0.28);
  border-radius: 50%;
  transition: background 160ms ease, border-color 160ms ease;
}

.faq-item .q-plus::before,
.faq-item .q-plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  left: 50%;
  top: 50%;
  transition: transform 200ms ease, opacity 200ms ease;
}

.faq-item .q-plus::before {
  width: 10px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.faq-item .q-plus::after {
  width: 1.5px;
  height: 10px;
  transform: translate(-50%, -50%);
}

.faq-item[open] .q-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-item[open] .q-plus {
  background: var(--rust);
  border-color: var(--rust);
}

.faq-item[open] .q-plus::before {
  background: #fff;
}

.faq-item .q-text {
  font-family: var(--font-body, "IM Fell English"), Georgia, serif;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.4;
  color: var(--ink);
  flex: 1 1 auto;
}

.faq-item .a-body {
  padding: 0 6px 22px 36px;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.65;
}

.faq-item .a-body p,
.faq-item .a-body ul {
  margin: 0 0 12px;
}

.faq-item .a-body p:last-child,
.faq-item .a-body ul:last-child {
  margin-bottom: 4px;
}

.faq-item .a-body ul {
  padding-left: 20px;
  list-style: none;
}

.faq-item .a-body ul li {
  position: relative;
  padding-left: 14px;
  margin: 6px 0;
}

.faq-item .a-body ul li::before {
  content: "—";
  position: absolute;
  left: -2px;
  color: var(--rust);
  font-weight: 600;
}

.faq-item .a-body strong {
  color: var(--ink);
  font-weight: 600;
}

.faq-item .a-body a {
  color: var(--rust);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-item .pill {
  display: inline-block;
  margin: 0 0 10px;
  padding: 3px 10px;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(169, 72, 43, 0.08);
  color: var(--rust);
  border-radius: 999px;
}

/* ---- CTA bas de page ---- */
.faq-cta {
  position: relative;
  padding: clamp(60px, 7vw, 100px) 0;
  overflow: hidden;
}

.faq-cta-deco {
  position: absolute;
  top: 18%;
  right: 8%;
  width: 22px;
  height: 22px;
  color: var(--rust);
  opacity: 0.4;
  transform: rotate(-14deg);
  pointer-events: none;
}

.faq-cta-deco svg {
  width: 100%;
  height: 100%;
}

.faq-cta .container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
  text-align: center;
}

.faq-cta .eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}

.faq-cta h2 {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 10px 0 14px;
  line-height: 1.1;
}

.faq-cta p {
  margin: 0 0 24px;
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.faq-cta .hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---- Reveal (apparition au scroll) ---- */
/* Les catégories utilisent la classe globale .reveal (base.css) ;
   on ajoute juste l'échelonnement spécifique aux catégories FAQ */

.faq-category.reveal:nth-of-type(2).is-visible { transition-delay: 80ms; }
.faq-category.reveal:nth-of-type(3).is-visible { transition-delay: 160ms; }
.faq-category.reveal:nth-of-type(4).is-visible { transition-delay: 80ms; }
.faq-category.reveal:nth-of-type(5).is-visible { transition-delay: 160ms; }

/* Variante "soft" du transition-block pour celle entre hero et sommaire */
.transition-block--soft {
  height: clamp(50px, 5vw, 90px);
  margin: clamp(-20px, -2vw, -36px) 0 0;
  opacity: 0.85;
}

/* ---- Responsive ---- */
@media (max-width: 720px) {
  .faq-category > summary {
    gap: 12px;
    padding: 16px 16px;
  }
  .faq-category .cat-count { display: none; }
  .faq-list { padding: 4px 14px 14px; }
  .faq-item .a-body { padding-left: 22px; }
  .faq-toc a { font-size: 0.78rem; padding: 7px 12px; }
}


/* =========================================================
   legal.css — Das Fabularium
   Pages légales : Impressum + Datenschutz
   Layout : sommaire collant + colonne de texte sobre.
========================================================= */

/* Bascule FR/DE : on rend deux blocs complets et on cache
   celui qui ne correspond pas à <html lang>. */
html[lang="fr"] [data-lang-block="de"] { display: none !important; }
html[lang="de"] [data-lang-block="fr"] { display: none !important; }

.legal-page main {
  padding-bottom: clamp(60px, 8vw, 100px);
}

/* =========================================================
   HERO légal — court, sobre
========================================================= */

.legal-hero {
  position: relative;
  padding: clamp(40px, 5vw, 80px) 0 clamp(28px, 3.5vw, 48px);
  border-bottom: 1px dashed rgba(42, 36, 31, 0.18);
}

.legal-hero .container {
  max-width: 980px;
}

.legal-hero .eyebrow {
  margin-bottom: 0.6rem;
}

.legal-hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1;
}

.legal-hero .meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 6px 14px;
  background: rgba(255, 244, 216, 0.7);
  border: 1px dashed rgba(169, 72, 43, 0.4);
  border-radius: 999px;
  font-family: "Caveat", "IM Fell English", cursive;
  font-size: 1rem;
  color: var(--ink-soft);
}

.legal-hero .meta strong {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
}

/* =========================================================
   Layout 2 colonnes : TOC + contenu
========================================================= */

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(40px, 5vw, 64px) 0 0;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 880px) {
  .legal-layout { grid-template-columns: 1fr; }
}

/* ----- Sommaire collant ----- */
.legal-toc {
  position: sticky;
  top: clamp(80px, 9vw, 110px);
  align-self: start;
  padding: 18px 18px 16px;
  background: rgba(255, 250, 238, 0.78);
  border: 1px solid rgba(36, 27, 21, 0.12);
  border-radius: 6px 9px 7px 8px;
  box-shadow: 2px 3px 0 rgba(42, 36, 31, 0.05);
  transform: rotate(-0.4deg);
  font-family: var(--font-ui);
  font-size: 0.84rem;
  line-height: 1.55;
}

.legal-toc h2 {
  margin: 0 0 12px;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
}

.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}

.legal-toc li {
  counter-increment: toc;
  margin-bottom: 6px;
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.legal-toc li::before {
  content: counter(toc, decimal-leading-zero);
  flex: 0 0 auto;
  font-family: "Caveat", "IM Fell English", cursive;
  font-size: 0.95rem;
  color: var(--rust);
  min-width: 22px;
}

.legal-toc a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 160ms ease;
}

.legal-toc a:hover,
.legal-toc a.is-active {
  color: var(--rust);
}

@media (max-width: 880px) {
  .legal-toc {
    position: relative;
    top: auto;
    transform: none;
  }
}

/* =========================================================
   Contenu — typographie de document légal
========================================================= */

.legal-content {
  max-width: 68ch;
}

.legal-content section {
  scroll-margin-top: 120px;
  margin-bottom: clamp(36px, 4vw, 56px);
}

.legal-content h2 {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  margin: 0 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(169, 72, 43, 0.35);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.legal-content h2 .num {
  display: inline-block;
  margin-right: 10px;
  font-family: "Caveat", "IM Fell English", cursive;
  font-size: 0.85em;
  color: var(--rust);
}

.legal-content h3 {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 1.6rem 0 0.6rem;
  color: var(--ink);
}

.legal-content p {
  font-size: 0.96rem;
  line-height: 1.7;
  margin: 0 0 0.9rem;
  color: var(--ink-soft);
}

.legal-content a {
  color: var(--rust);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  text-decoration-style: solid;
  color: var(--rust-dark);
}

.legal-content ul {
  margin: 0 0 1rem;
  padding: 0 0 0 1.2rem;
  list-style: none;
}

.legal-content ul li {
  position: relative;
  padding-left: 4px;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.legal-content ul li::before {
  content: "✶";
  position: absolute;
  left: -1.2rem;
  top: 0;
  color: var(--rust);
  font-size: 0.85rem;
}

/* Bloc d'adresse / contact (mis en valeur) */
.legal-content .address-block {
  margin: 0.8rem 0 1.4rem;
  padding: 18px 22px;
  background: rgba(255, 244, 216, 0.55);
  border-left: 3px solid var(--rust);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink);
}

.legal-content .address-block strong {
  font-weight: 700;
}

.legal-content .address-block p { margin: 0; color: inherit; font-size: inherit; }
.legal-content .address-block p + p { margin-top: 0.4rem; }

/* Note importante (encadré attention) */
.legal-content .legal-note {
  margin: 1rem 0 1.4rem;
  padding: 16px 20px;
  background: rgba(216, 182, 95, 0.18);
  border: 1px dashed rgba(184, 148, 90, 0.55);
  border-radius: 5px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.legal-content .legal-note strong {
  color: var(--ink);
  font-weight: 700;
}

/* Citation ou loi citée */
.legal-content blockquote {
  margin: 0.8rem 0 1.2rem;
  padding: 6px 18px;
  border-left: 2px solid rgba(36, 27, 21, 0.2);
  font-family: "IM Fell English", Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--graphite);
  line-height: 1.6;
}

/* Lien retour vers le haut */
.legal-content .back-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.4rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
  text-decoration: none;
}

.legal-content .back-top:hover { color: var(--rust); }

/* Tag de référence légale */
.legal-ref {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  background: rgba(169, 72, 43, 0.12);
  border-radius: 3px;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rust);
}


/* =========================================================
   projets.css — Das Fabularium
   Page "Projets en cours" — mur d'atelier, polaroids,
   masking tape, légère asymétrie. Au clic → modal avec
   fiche détaillée et lightbox photo.
========================================================= */

.projets-page main {
  background: var(--paper);
}

/* ---- Hero ---- */
.projets-hero {
  position: relative;
  padding: clamp(70px, 9vw, 130px) 0 clamp(34px, 5vw, 64px);
  overflow: hidden;
  text-align: center;
}

.projets-hero .container {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}

.projets-hero h1 {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 8px 0 18px;
}

.projets-hero h1 em {
  font-style: italic;
  color: var(--rust);
}

.projets-hero .hero-lead {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(1.02rem, 1.2vw, 1.16rem);
  color: var(--ink-soft);
  line-height: 1.6;
}

.projets-hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.projets-hero-decor .deco-star {
  position: absolute;
  color: var(--rust);
  opacity: 0.55;
}

.projets-hero-decor .deco-star-1 { top: 22%; left: 10%; width: 24px; height: 24px; transform: rotate(-12deg); }
.projets-hero-decor .deco-star-2 { bottom: 22%; right: 12%; width: 16px; height: 16px; color: var(--blue-aquarelle); opacity: 0.6; transform: rotate(16deg); }

.projets-hero-decor .deco-spool {
  position: absolute;
  bottom: 8%;
  left: 6%;
  width: clamp(56px, 6vw, 84px);
  transform: rotate(-14deg);
  opacity: 0.85;
}

.projets-hero-decor .deco-spool img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(2px 4px 5px rgba(42, 36, 31, 0.18));
}

/* ---- Note d'intro (carnet) ---- */
.projets-note {
  padding: 0 0 clamp(40px, 5vw, 70px);
}

.projets-note .container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}

.projets-note-card {
  position: relative;
  background: var(--paper-warm, #f4ecd9);
  padding: clamp(24px, 3vw, 38px) clamp(24px, 3.5vw, 44px);
  border-radius: 4px;
  box-shadow:
    2px 4px 0 rgba(42, 36, 31, 0.06),
    0 12px 24px rgba(42, 36, 31, 0.08);
  font-family: var(--font-body), Georgia, serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  transform: rotate(-0.4deg);
}

.projets-note-card::before {
  /* masking tape en haut */
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 110px;
  height: 22px;
  background: url("/wp-content/themes/fabularium_by-claude/assets/tape-masking-paper.png") center/contain no-repeat;
  transform: translateX(-50%) rotate(-3deg);
  opacity: 0.9;
}

.projets-note-card p {
  margin: 0 0 12px;
}

.projets-note-card p:last-child { margin-bottom: 0; }

.projets-note-card strong {
  color: var(--rust);
  font-weight: 600;
}

/* ---- Mur de projets ---- */
.projets-wall {
  padding: 0 0 clamp(70px, 9vw, 130px);
  position: relative;
}

.projets-wall .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}

.projets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 5vw, 72px) clamp(28px, 3vw, 44px);
  align-items: start;
}

.project-card {
  position: relative;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  display: block;
  width: 100%;
}

/* Petite asymétrie : décalages verticaux pour casser la grille rigide */
.projets-grid .project-card:nth-child(3n+1) { transform: translateY(0); }
.projets-grid .project-card:nth-child(3n+2) { transform: translateY(28px); }
.projets-grid .project-card:nth-child(3n+3) { transform: translateY(14px); }

/* Le polaroid (chacun garde sa rotation propre, alterne) */
.project-card .polaroid {
  width: 100%;
  display: block;
  transition: transform 360ms cubic-bezier(.2,.7,.3,1), filter 360ms ease;
}

.projets-grid .project-card:nth-child(odd)  .polaroid { transform: rotate(-2.4deg); }
.projets-grid .project-card:nth-child(even) .polaroid { transform: rotate(1.8deg); }
.projets-grid .project-card:nth-child(5n)   .polaroid { transform: rotate(-3deg); }

.project-card:hover .polaroid,
.project-card:focus-visible .polaroid {
  transform: rotate(0deg) translateY(-6px) scale(1.02);
  filter: drop-shadow(4px 8px 14px rgba(42, 36, 31, 0.22));
}

.project-card:focus-visible {
  outline: 2px dashed var(--rust);
  outline-offset: 12px;
  border-radius: 4px;
}

/* Caption sous le polaroid */
.project-card .project-meta {
  margin: 18px 6px 0;
  text-align: center;
}

.project-card .project-title {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--ink);
}

.project-card .project-sub {
  display: block;
  margin-top: 4px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Pastille de statut, posée sur le polaroid */
.project-status {
  position: absolute;
  top: -10px;
  right: -8px;
  z-index: 4;
  padding: 5px 11px;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--paper-light);
  border: 1px solid rgba(42, 36, 31, 0.18);
  border-radius: 999px;
  color: var(--ink);
  transform: rotate(6deg);
  white-space: nowrap;
}

.project-status[data-status="en-cours"]    { color: #b85a3a; }
.project-status[data-status="termine"]     { color: #1f6b58; }
.project-status[data-status="commande"]    { color: #15445c; }
.project-status[data-status="a-venir"]     { color: var(--ink-soft); transform: rotate(-5deg); }
.project-status[data-status="disponible"]  { color: #15445c; }

/* Carte "en pause / à venir" : ton plus discret, placeholder kraft */
.project-card.is-placeholder .polaroid {
  opacity: 0.65;
}

.project-card.is-placeholder:hover .polaroid {
  opacity: 1;
}

/* ---- Modal (fiche détaillée) ---- */
.project-modal {
  width: min(960px, calc(100vw - 32px));
  max-width: 960px;
  max-height: calc(100vh - 40px);
  padding: 0;
  border: none;
  border-radius: 6px;
  background: var(--paper-light);
  box-shadow: 0 30px 60px rgba(42, 36, 31, 0.3);
  overflow: hidden;
}

.project-modal::backdrop {
  background: rgba(20, 14, 6, 0.78);
  backdrop-filter: blur(2px);
}

.project-modal[open] {
  animation: pm-pop 280ms cubic-bezier(.2,.7,.3,1);
}

@keyframes pm-pop {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.pm-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  max-height: calc(100vh - 40px);
}

/* Colonne photos (lightbox interne) */
.pm-gallery {
  position: relative;
  background: #1a1410;
  min-height: 380px;
  display: grid;
  grid-template-rows: 1fr auto;
}

.pm-stage {
  position: relative;
  overflow: hidden;
  background: #1a1410;
}

.pm-stage img,
.pm-stage video,
.pm-stage .ph-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #1a1410;
  opacity: 0;
  transition: opacity 280ms ease;
}

.pm-stage img.is-active,
.pm-stage video.is-active,
.pm-stage .ph-photo.is-active {
  opacity: 1;
}

.pm-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  border: 0;
  transition: background 160ms ease;
  z-index: 2;
}

.pm-nav:hover { background: rgba(0, 0, 0, 0.7); }
.pm-prev { left: 10px; }
.pm-next { right: 10px; }

.pm-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.4);
  overflow-x: auto;
}

.pm-thumb {
  flex: 0 0 64px;
  height: 48px;
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
  background: #333;
  border: 2px solid transparent;
  transition: border-color 160ms ease, transform 160ms ease;
  position: relative;
}

.pm-thumb img,
.pm-thumb .video-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pm-thumb .video-icon {
  display: grid;
  place-items: center;
  background: #2a2118;
  color: #f6e4ba;
  font-size: 1.2rem;
}

.pm-thumb:hover { transform: translateY(-2px); }
.pm-thumb.is-active { border-color: var(--rust); }

/* Colonne info */
.pm-info {
  padding: clamp(24px, 2.5vw, 36px);
  overflow-y: auto;
  max-height: calc(100vh - 40px);
}

.pm-status {
  display: inline-block;
  padding: 4px 12px;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(169, 72, 43, 0.08);
  color: var(--rust);
  border-radius: 999px;
  margin: 0 0 16px;
}

.pm-info h2 {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.1;
  margin: 0 0 6px;
}

.pm-info .pm-subtitle {
  font-family: var(--font-ui);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin: 0 0 24px;
}

.pm-specs {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 16px;
}

.pm-specs dt {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  align-self: baseline;
}

.pm-specs dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
}

.pm-story {
  font-family: var(--font-body), Georgia, serif;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 24px;
  border-left: 2px solid rgba(169, 72, 43, 0.35);
  padding-left: 14px;
}

.pm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 8px;
}

.pm-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: transform 160ms ease;
}

.pm-close:hover { transform: rotate(90deg); }

/* ---- CTA ---- */
.projets-cta {
  padding: clamp(60px, 7vw, 100px) 0;
  position: relative;
  overflow: hidden;
}

.projets-cta-deco {
  position: absolute;
  top: 14%;
  left: 8%;
  width: 22px;
  height: 22px;
  color: var(--rust);
  opacity: 0.45;
  transform: rotate(-12deg);
  pointer-events: none;
}

.projets-cta-deco svg { width: 100%; height: 100%; }

.projets-cta .container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
  text-align: center;
  position: relative;
  z-index: 2;
}

.projets-cta .eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}

.projets-cta h2 {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 10px 0 14px;
  line-height: 1.1;
}

.projets-cta p {
  margin: 0 0 24px;
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .projets-grid { grid-template-columns: repeat(2, 1fr); }
  .projets-grid .project-card:nth-child(3n+2) { transform: translateY(0); }
  .projets-grid .project-card:nth-child(2n+2) { transform: translateY(24px); }

  .pm-body { grid-template-columns: 1fr; }
  .pm-gallery { min-height: 280px; }
  .pm-stage { aspect-ratio: 4/3; }
  .pm-info { max-height: none; }
  .project-modal { max-height: calc(100vh - 24px); }
}

@media (max-width: 600px) {
  .projets-grid { grid-template-columns: 1fr; gap: 50px; }
  .projets-grid .project-card:nth-child(n) { transform: none !important; }
  .pm-nav { width: 30px; height: 30px; font-size: 1.1rem; }
}


/* =========================================================
   processus.css — Das Fabularium
   Page Processus : mur d'atelier (fabrication) + timeline
   discrète (parcours client).
========================================================= */

/* =========================================================
   HERO court
========================================================= */
.processus-hero {
  position: relative;
  padding: clamp(48px, 6vw, 96px) 0 clamp(28px, 3vw, 48px);
  text-align: center;
  overflow: hidden;
}

.processus-hero .container { max-width: 820px; position: relative; z-index: 2; }

/* Décor discret du hero : étoiles + bobine */
.processus-hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.processus-hero-decor .deco-star {
  position: absolute;
  color: var(--rust);
  opacity: 0.5;
}

.processus-hero-decor .deco-star-1 {
  top: 26%;
  left: 9%;
  width: 26px;
  height: 26px;
  transform: rotate(-14deg);
}

.processus-hero-decor .deco-star-2 {
  bottom: 22%;
  right: 12%;
  width: 14px;
  height: 14px;
  color: var(--blue-aquarelle);
  opacity: 0.55;
  transform: rotate(16deg);
}

.processus-hero-decor .deco-spool {
  position: absolute;
  top: 18%;
  right: 6%;
  width: clamp(56px, 5vw, 82px);
  transform: rotate(-12deg);
  opacity: 0.85;
}

.processus-hero-decor .deco-spool img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(2px 4px 5px rgba(42, 36, 31, 0.18));
}

@media (max-width: 720px) {
  .processus-hero-decor .deco-spool {
    width: 48px;
    top: auto;
    bottom: 4%;
    right: 6%;
  }
}

/* Petit décor pour le CTA bas de page */
.process-cta {
  position: relative;
  overflow: hidden;
}

.process-cta-deco {
  position: absolute;
  bottom: 14%;
  left: 8%;
  width: 22px;
  height: 22px;
  color: var(--rust);
  opacity: 0.45;
  transform: rotate(12deg);
  pointer-events: none;
}

.process-cta-deco svg { width: 100%; height: 100%; }

.processus-hero h1 {
  margin: 0.4rem 0 0.8rem;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
}

.processus-hero .hero-lead {
  max-width: 56ch;
  margin: 1rem auto 0;
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.6;
}

/* =========================================================
   SECTION FABRICATION — mur d'atelier
========================================================= */
.fab-section {
  position: relative;
  padding: clamp(36px, 5vw, 80px) 0 clamp(60px, 7vw, 100px);
}

.fab-section .section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}

.fab-section .section-intro h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 8px 0 0.6rem;
}

.fab-section .section-intro p {
  margin: 0;
  color: var(--ink-soft);
}

/* Grille du mur — chaque étape = une "tuile" avec polaroid + texte + note */
.fab-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 72px) clamp(36px, 4vw, 64px);
  position: relative;
}

@media (max-width: 760px) {
  .fab-wall { grid-template-columns: minmax(0, 1fr); }
}

/* Une tuile étape */
.fab-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
  align-items: start;
  min-width: 0;
}

@media (max-width: 520px) {
  .fab-step {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}

/* Décalage en quinconce pour donner du rythme */
.fab-step:nth-child(odd)  { transform: translateY(0); }
.fab-step:nth-child(even) { transform: translateY(clamp(20px, 3vw, 50px)); }

@media (max-width: 760px) {
  .fab-step:nth-child(even) { transform: none; }
}

/* Polaroid de l'étape */
.fab-polaroid {
  position: relative;
  background: var(--paper-light, #fdf6e6);
  padding: 12px 12px 50px;
  box-shadow:
    3px 5px 0 rgba(42, 36, 31, 0.08),
    0 14px 30px rgba(42, 36, 31, 0.12);
  border: 1px solid rgba(36, 27, 21, 0.08);
  transform: rotate(-1.5deg);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.fab-step:nth-child(2n) .fab-polaroid { transform: rotate(1.8deg); }
.fab-step:nth-child(3n) .fab-polaroid { transform: rotate(-2.5deg); }
.fab-step:nth-child(5n) .fab-polaroid { transform: rotate(2.2deg); }

.fab-polaroid:hover {
  transform: rotate(0) translateY(-6px);
  filter: drop-shadow(3px 7px 10px rgba(42, 36, 31, 0.22));
}

/* Zone photo (vide pour l'instant — placeholder) */
.fab-polaroid .photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg,
      rgba(216, 195, 158, 0.5),
      rgba(184, 148, 90, 0.35) 50%,
      rgba(216, 195, 158, 0.5));
  border: 1px solid rgba(36, 27, 21, 0.12);
  display: grid;
  place-items: center;
  color: rgba(42, 36, 31, 0.35);
  font-family: "Caveat", "IM Fell English", cursive;
  font-size: 1rem;
  text-align: center;
  padding: 8px;
  position: relative;
  overflow: hidden;
}

/* Texture papier kraft pour les placeholders */
.fab-polaroid .photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.25), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(42, 27, 12, 0.12), transparent 50%);
  pointer-events: none;
}

.fab-polaroid figcaption {
  margin-top: 14px;
  text-align: center;
  font-family: "Caveat", "IM Fell English", cursive;
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.2;
}

/* Numéro d'étape épinglé sur le polaroid */
.fab-polaroid .step-num {
  position: absolute;
  top: -14px;
  left: -14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--rust);
  color: var(--paper-light);
  display: grid;
  place-items: center;
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 4px 8px rgba(126, 47, 31, 0.32);
  z-index: 3;
  transform: rotate(-6deg);
}

/* Petite punaise en haut du polaroid */
.fab-polaroid::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #d8c389 0%, #a07b30 70%, #6b4f1c 100%);
  box-shadow:
    0 2px 4px rgba(42, 27, 12, 0.4),
    inset -1px -1px 2px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

/* Bloc texte à droite */
.fab-body {
  position: relative;
  padding-top: 8px;
  min-width: 0;
}

.fab-body h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-title);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.005em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.fab-body .when {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
}

.fab-body p {
  margin: 0 0 0.5rem;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.fab-body p:last-of-type { margin-bottom: 0; }

.fab-body .when-optional {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 3px 9px;
  background: rgba(216, 182, 95, 0.22);
  border: 1px dashed rgba(184, 148, 90, 0.5);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust-dark);
}

/* Note manuscrite épinglée — humoristique, technique-absurde */
.fab-margin-note {
  position: relative;
  display: inline-block;
  margin-top: 1rem;
  padding: 6px 14px 8px;
  background: rgba(255, 244, 216, 0.85);
  border: 1px dashed rgba(169, 72, 43, 0.4);
  border-radius: 4px 8px 5px 7px;
  font-family: "Caveat", "IM Fell English", cursive;
  font-size: 1.05rem;
  color: var(--rust-dark);
  line-height: 1.3;
  transform: rotate(-1.2deg);
  max-width: 28ch;
}

.fab-step:nth-child(2n) .fab-margin-note { transform: rotate(1.5deg); }
.fab-step:nth-child(3n) .fab-margin-note { transform: rotate(-2deg); }

.fab-margin-note::before {
  content: "✶";
  margin-right: 6px;
  color: var(--gold-deep);
}

/* =========================================================
   ENCADRÉ TEMPS DE TRAVAIL
========================================================= */
.work-time {
  position: relative;
  max-width: 760px;
  margin: clamp(60px, 7vw, 100px) auto;
  padding: clamp(28px, 3.5vw, 48px) clamp(32px, 4vw, 56px);
  background: rgba(255, 250, 238, 0.88);
  border: 1px solid rgba(36, 27, 21, 0.14);
  box-shadow:
    4px 6px 0 rgba(42, 36, 31, 0.08),
    0 16px 36px rgba(42, 36, 31, 0.12);
  transform: rotate(-0.3deg);
  text-align: center;
}

.work-time::before,
.work-time::after {
  content: "";
  position: absolute;
  top: -14px;
  width: 100px;
  height: 34px;
  background: url("/wp-content/themes/fabularium_by-claude/assets/tape-masking-paper.png") center / 100% 100% no-repeat;
  filter: var(--tape-filter);
  opacity: var(--tape-opacity);
  pointer-events: none;
}
.work-time::before { left: 20%; transform: rotate(-5deg); }
.work-time::after  { right: 20%; transform: rotate(4deg); }

.work-time .eyebrow {
  font-size: 0.7rem;
  color: var(--rust);
}

.work-time h2 {
  margin: 8px 0 0.8rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.work-time .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: clamp(20px, 2.5vw, 32px) 0 0;
}

@media (max-width: 600px) {
  .work-time .stats { grid-template-columns: 1fr; }
}

.work-time .stat {
  text-align: center;
  padding: 14px 6px;
  border-left: 1px dashed rgba(42, 36, 31, 0.2);
}

.work-time .stat:first-child { border-left: 0; }

@media (max-width: 600px) {
  .work-time .stat {
    border-left: 0;
    border-top: 1px dashed rgba(42, 36, 31, 0.2);
    padding-top: 18px;
  }
  .work-time .stat:first-child { border-top: 0; padding-top: 14px; }
}

.work-time .stat .num {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--rust);
  letter-spacing: -0.02em;
}

.work-time .stat .label {
  display: block;
  margin-top: 6px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  line-height: 1.4;
}

.work-time .footnote {
  margin: clamp(18px, 2vw, 26px) auto 0;
  max-width: 50ch;
  font-family: "IM Fell English", Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* =========================================================
   SECTION PARCOURS CLIENT — discrète, sobre
========================================================= */
.client-section {
  position: relative;
  padding: clamp(60px, 7vw, 100px) 0 clamp(80px, 9vw, 120px);
  background:
    linear-gradient(180deg, rgba(234, 216, 185, 0.45), rgba(227, 212, 177, 0.4));
  border-top: 1px dashed rgba(42, 36, 31, 0.18);
}

.client-section .section-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto clamp(40px, 5vw, 56px);
}

.client-section .section-intro h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin: 6px 0 0.6rem;
}

.client-section .section-intro p {
  margin: 0;
  color: var(--ink-soft);
}

/* Timeline verticale sobre */
.client-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: clamp(40px, 5vw, 60px);
}

.client-timeline::before {
  content: "";
  position: absolute;
  left: clamp(15px, 1.6vw, 20px);
  top: 8px;
  bottom: 8px;
  width: 1.5px;
  background: repeating-linear-gradient(to bottom,
    rgba(42, 36, 31, 0.35) 0,
    rgba(42, 36, 31, 0.35) 4px,
    transparent 4px,
    transparent 9px);
}

.client-step {
  position: relative;
  padding: 0 0 clamp(24px, 3vw, 32px) clamp(8px, 1vw, 14px);
}

.client-step:last-child { padding-bottom: 0; }

.client-step::before {
  content: "";
  position: absolute;
  left: clamp(-26px, -2.6vw, -34px);
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper-light, #fdf6e6);
  border: 2px solid var(--rust);
  box-shadow: 0 2px 4px rgba(126, 47, 31, 0.2);
}

.client-step .ctitle {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}

.client-step .ctitle h3 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink);
  line-height: 1.25;
}

.client-step .step-tag {
  font-family: "Caveat", "IM Fell English", cursive;
  font-size: 1rem;
  color: var(--rust);
}

.client-step p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* =========================================================
   CTA fin
========================================================= */
.process-cta {
  position: relative;
  padding: clamp(50px, 6vw, 90px) 0;
  text-align: center;
}

.process-cta h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin: 0 0 0.6rem;
}

.process-cta p {
  margin: 0 auto 1.6rem;
  max-width: 50ch;
  color: var(--ink-soft);
}


/* =========================================================
   placeholders.css — Das Fabularium
   Système de placeholders CSS-only.
   Chaque .ph-* est un substitut visuel d'un futur asset PNG/WebP.
   On peut les remplacer un par un sans toucher au layout.
========================================================= */

/* =========================================================
   1. CARTON COMMUN
   Indique discrètement que c'est un placeholder.
========================================================= */

.ph {
  position: relative;
  isolation: isolate;
}

/* label discret au coin pour identifier l'asset attendu
   Utilise ::before (libre) pour ne pas entrer en conflit avec
   les composants qui utilisent ::after pour leur propre habillage
   (ex : .polaroid::after qui pose le cadre papier). */
.ph[data-label] {
  position: relative;
}

.ph[data-label] > .ph-label {
  display: none;
}

.ph[data-label]::before {
  content: attr(data-label);
  position: absolute;
  bottom: 8px;
  right: 10px;
  z-index: 50;
  padding: 2px 7px;
  font-family: "Plus Jakarta Sans", "DM Sans", monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(36, 27, 21, 0.55);
  background: rgba(255, 250, 238, 0.7);
  border: 1px dashed rgba(36, 27, 21, 0.22);
  border-radius: 2px;
  pointer-events: none;
}

.ph-on-dark[data-label]::before {
  color: rgba(255, 245, 220, 0.7);
  background: rgba(13, 28, 33, 0.55);
  border-color: rgba(255, 245, 220, 0.30);
}

/* =========================================================
   2. WATERCOLOR — tache bleue irrégulière
   Réalisé inline en SVG (cf. HTML). Ces règles ne stylent
   que les conteneurs.
========================================================= */

.ph-watercolor {
  position: absolute;
  pointer-events: none;
}

.ph-watercolor svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* =========================================================
   3. FEUILLE DE PAPIER (générique, fond crème + grain)
========================================================= */

.ph-paper {
  position: relative;
  background:
    linear-gradient(180deg, #f8eed5 0%, #ecd8b1 100%);
  background-color: var(--paper-warm);
  box-shadow:
    var(--shadow-paper),
    inset 0 0 30px rgba(120, 80, 30, 0.10),
    inset 0 -10px 15px rgba(120, 80, 30, 0.08);
}

.ph-paper::before {
  /* grain SVG */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence baseFrequency='0.65' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.08  0 0 0 0 0.05  0 0 0 0.10 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.55;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

/* Variante : papier quadrillé / millimétré */
.ph-paper-grid {
  background-image:
    repeating-linear-gradient(0deg,
      rgba(85, 65, 40, 0.16) 0,
      rgba(85, 65, 40, 0.16) 1px,
      transparent 1px,
      transparent 22px),
    repeating-linear-gradient(90deg,
      rgba(85, 65, 40, 0.16) 0,
      rgba(85, 65, 40, 0.16) 1px,
      transparent 1px,
      transparent 22px),
    linear-gradient(180deg, #f6ebcf 0%, #ecd6ac 100%);
  background-blend-mode: multiply, multiply, normal;
}

/* Bord papier déchiré (clip-path irrégulier) */
.ph-paper-torn {
  clip-path: polygon(
    1% 3%,  6% 1%, 12% 4%, 18% 1%, 26% 5%, 34% 2%, 42% 4%, 50% 1%,
    58% 5%, 66% 2%, 74% 4%, 82% 1%, 90% 5%, 96% 2%, 99% 6%,
    99% 96%, 95% 99%, 88% 96%, 80% 99%, 72% 95%, 64% 98%, 55% 96%, 47% 99%,
    38% 95%, 30% 98%, 22% 96%, 14% 99%, 7% 95%, 2% 98%, 1% 92%
  );
}

/* =========================================================
   4. PHOTO PLACEHOLDER
   Pour l'intérieur des polaroids et de la galerie.
========================================================= */

.ph-photo {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 60% 40%, rgba(255, 230, 180, 0.45) 0%, transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(46, 64, 70, 0.55) 0%, transparent 60%),
    linear-gradient(155deg, #6a5840 0%, #3a3328 60%, #1f1c18 100%);
  overflow: hidden;
}

.ph-photo::before {
  /* halo lumineux suggérant un sujet centré */
  content: "";
  position: absolute;
  inset: 18% 22%;
  background: radial-gradient(ellipse 70% 60% at 50% 45%,
    rgba(220, 180, 130, 0.32) 0%,
    transparent 60%);
  filter: blur(8px);
}

.ph-photo::after {
  /* grain photo */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.25'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.6;
}

.ph-photo.warm {
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 220, 160, 0.55) 0%, transparent 55%),
    radial-gradient(circle at 30% 80%, rgba(140, 75, 45, 0.45) 0%, transparent 60%),
    linear-gradient(160deg, #8b6440 0%, #54402b 60%, #2e2418 100%);
}

.ph-photo.studio {
  background:
    radial-gradient(circle at 55% 38%, rgba(255, 235, 195, 0.50) 0%, transparent 55%),
    radial-gradient(circle at 50% 80%, rgba(60, 70, 80, 0.55) 0%, transparent 65%),
    linear-gradient(170deg, #4a4036 0%, #2c2a26 70%, #161413 100%);
}

.ph-photo.night {
  background:
    radial-gradient(circle at 50% 30%, rgba(220, 220, 240, 0.40) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(20, 30, 45, 0.65) 0%, transparent 70%),
    linear-gradient(180deg, #1f3340 0%, #0b1620 100%);
}

/* =========================================================
   5. SILHOUETTE MARIONNETTE (hero)
   Cercle aquarelle bleu + silhouette feutre placeholder.
========================================================= */

.ph-puppet {
  position: relative;
  width: 100%;
  height: 100%;
}

.ph-puppet svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 14px 18px rgba(35, 25, 18, 0.22));
}

/* =========================================================
   6. ÉCHANTILLON DE TISSU (frayed cloth)
========================================================= */

.ph-swatch {
  position: relative;
  display: block;
}

.ph-swatch svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 10px rgba(35, 25, 18, 0.18));
}

/* =========================================================
   7. BOBINE DE FIL
========================================================= */

.ph-spool {
  position: relative;
  display: block;
}

.ph-spool svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 12px rgba(35, 25, 18, 0.22));
}

/* =========================================================
   8. PALETTE DE COULEURS (cartoline)
========================================================= */

.ph-palette {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px 22px;
  background: linear-gradient(180deg, #f8efd7 0%, #ead7ac 100%);
  border: 1px solid rgba(36, 27, 21, 0.12);
  box-shadow: var(--shadow-small);
}

.ph-palette .swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
}

.ph-palette .swatches > span {
  display: block;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(36, 27, 21, 0.18);
  border-radius: 1px;
}

/* =========================================================
   9. SOULIGNEMENT DESSINÉ (sous le H1)
========================================================= */

.hand-underline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  color: var(--rust);
}

.hand-underline svg {
  width: clamp(120px, 14vw, 200px);
  height: auto;
}

.hand-underline .star {
  position: static;
  width: 16px;
  height: 16px;
  color: var(--rust);
  opacity: 0.85;
}

/* =========================================================
  10. FLÈCHE DESSINÉE (annotation)
========================================================= */

.hand-arrow {
  position: absolute;
  pointer-events: none;
  color: var(--graphite);
  opacity: 0.7;
}

.hand-arrow svg {
  width: 100%;
  height: 100%;
}

/* Annotation manuscrite */
.handwritten {
  font-family: var(--font-title);
  font-style: italic;
  color: var(--graphite);
  font-size: clamp(0.85rem, 1vw, 1rem);
  line-height: 1.2;
  position: absolute;
}

/* =========================================================
  11. DÉCORS DISPERSÉS (étoiles éparpillées)
========================================================= */

.star-scatter {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.star-scatter .star {
  position: absolute;
}

/* =========================================================
  12. SCROLL CUE
========================================================= */

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(36, 27, 21, 0.30);
  border-radius: 999px;
  background: rgba(255, 250, 238, 0.55);
  color: var(--ink);
  text-decoration: none;
  font-size: 1.1rem;
  z-index: 6;
  animation: scrollCueBob 2.6s ease-in-out infinite;
}

.scroll-cue:hover {
  background: rgba(255, 250, 238, 0.85);
}

@keyframes scrollCueBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

@media (max-width: 767px) {
  .scroll-cue { display: none; }
}

/* =========================================================
  13. SVG DÉFINITIONS SHARED (svg dans l'HTML pour réutilisation)
========================================================= */

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}


/* =========================================================
   puppets.css — Das Fabularium
   Marionnettes qui "observent" le visiteur depuis derrière
   des éléments. Système basé sur :
     .puppet-spot     → conteneur (carte, section, transition)
     .puppet-peek     → la marionnette qui dépasse
     .puppet-art      → l'image (svg ou png)
   
   Variantes de position :
     .puppet-peek--top         → dépasse par le haut
     .puppet-peek--bottom      → dépasse par le bas
     .puppet-peek--side-left   → dépasse par la gauche
     .puppet-peek--side-right  → dépasse par la droite
   
   Variantes de comportement :
     .puppet-peek--shy   → se cache au hover (au lieu de sortir)
     .puppet-peek--idle  → micro-mouvement de respiration
   ========================================================= */

.puppet-spot {
  position: relative;
  /* important : laisser dépasser la marionnette en-dehors */
  /* (ne PAS mettre overflow:hidden sur ce conteneur) */
}

.puppet-peek {
  position: absolute;
  z-index: 0;           /* derrière le contenu du spot */
  pointer-events: none; /* ne capture pas les clics — le spot reste cliquable */
  width: clamp(60px, 8vw, 110px);
  transition:
    transform 720ms cubic-bezier(.2, .7, .3, 1.25),
    filter 360ms ease;
  filter: drop-shadow(2px 6px 8px rgba(42, 36, 31, 0.18));
  will-change: transform;
}

.puppet-peek .puppet-art {
  width: 100%;
  height: auto;
  display: block;
}

/* ====== Positionnement : par le HAUT ======
   La marionnette est au-dessus du spot, on la pousse vers le bas
   pour ne montrer que le sommet de la tête (translateY positive). */
.puppet-peek--top {
  left: 50%;
  bottom: 100%;
  margin-bottom: -6px;
  transform: translate(-50%, 68%) rotate(var(--peek-rot, -3deg));
  transform-origin: 50% 100%;
}

.puppet-peek--top.is-right { left: auto; right: 8%; transform-origin: 80% 100%; }
.puppet-peek--top.is-left  { left: 8%;  right: auto; transform-origin: 20% 100%; }

/* ====== Positionnement : par le BAS ======
   Au-dessous du spot, la tête dépasse par en haut. */
.puppet-peek--bottom {
  left: 50%;
  top: 100%;
  margin-top: -6px;
  transform: translate(-50%, -68%) rotate(var(--peek-rot, 4deg));
  transform-origin: 50% 0%;
}

/* ====== Positionnement : par les CÔTÉS ====== */
.puppet-peek--side-right {
  right: 100%;
  top: 30%;
  margin-right: -10px;
  transform: translate(70%, 0) rotate(var(--peek-rot, -4deg));
  transform-origin: 100% 50%;
}

.puppet-peek--side-left {
  left: 100%;
  top: 30%;
  margin-left: -10px;
  transform: translate(-70%, 0) rotate(var(--peek-rot, 4deg));
  transform-origin: 0% 50%;
}

/* ====== Comportement au HOVER ====== */
/* Par défaut : la marionnette monte/sort davantage */
.puppet-spot:hover  .puppet-peek--top,
.puppet-spot:focus-within .puppet-peek--top {
  transform: translate(-50%, 14%) rotate(var(--peek-rot-hover, -1deg));
}
.puppet-spot:hover  .puppet-peek--top.is-right,
.puppet-spot:focus-within .puppet-peek--top.is-right {
  transform: translate(0, 14%) rotate(var(--peek-rot-hover, -1deg));
  right: 8%;
}
.puppet-spot:hover  .puppet-peek--top.is-left,
.puppet-spot:focus-within .puppet-peek--top.is-left {
  transform: translate(0, 14%) rotate(var(--peek-rot-hover, 1deg));
  left: 8%;
}
.puppet-spot:hover  .puppet-peek--bottom,
.puppet-spot:focus-within .puppet-peek--bottom {
  transform: translate(-50%, -14%) rotate(var(--peek-rot-hover, 2deg));
}
.puppet-spot:hover  .puppet-peek--side-right,
.puppet-spot:focus-within .puppet-peek--side-right {
  transform: translate(20%, 0) rotate(var(--peek-rot-hover, -1deg));
}
.puppet-spot:hover  .puppet-peek--side-left,
.puppet-spot:focus-within .puppet-peek--side-left {
  transform: translate(-20%, 0) rotate(var(--peek-rot-hover, 1deg));
}

/* Variante "timide" : se cache au hover (au lieu de sortir) */
.puppet-spot:hover  .puppet-peek--shy.puppet-peek--top,
.puppet-spot:focus-within .puppet-peek--shy.puppet-peek--top {
  transform: translate(-50%, 102%) rotate(var(--peek-rot-hover, -8deg));
  filter: drop-shadow(2px 4px 4px rgba(42, 36, 31, 0.10)) brightness(0.95);
}
.puppet-spot:hover  .puppet-peek--shy.puppet-peek--bottom,
.puppet-spot:focus-within .puppet-peek--shy.puppet-peek--bottom {
  transform: translate(-50%, -102%) rotate(var(--peek-rot-hover, 8deg));
}

/* ====== Micro-mouvement d'idle (respiration / curiosité) ====== */
@keyframes puppet-idle-top {
  0%, 100% { transform: translate(-50%, 68%) rotate(var(--peek-rot, -3deg)); }
  48%      { transform: translate(-50%, 65%) rotate(calc(var(--peek-rot, -3deg) + 0.6deg)); }
  52%      { transform: translate(-50%, 65%) rotate(calc(var(--peek-rot, -3deg) - 0.4deg)); }
}

@keyframes puppet-glance-top {
  /* la marionnette jette un coup d'œil rapide, comme un battement d'ailes */
  0%, 84%, 100% { transform: translate(-50%, 68%) rotate(var(--peek-rot, -3deg)); }
  88%           { transform: translate(-50%, 46%) rotate(calc(var(--peek-rot, -3deg) + 2deg)); }
  92%           { transform: translate(-50%, 56%) rotate(calc(var(--peek-rot, -3deg) - 1deg)); }
}

.puppet-peek--idle.puppet-peek--top { animation: puppet-idle-top 6.5s ease-in-out infinite; }
.puppet-peek--glance.puppet-peek--top { animation: puppet-glance-top 11s ease-in-out infinite; }

/* L'animation prend la main sur le hover ? non — au hover, on désactive l'idle
   pour laisser le hover faire sa transition propre. */
.puppet-spot:hover  .puppet-peek--idle,
.puppet-spot:hover  .puppet-peek--glance,
.puppet-spot:focus-within .puppet-peek--idle,
.puppet-spot:focus-within .puppet-peek--glance {
  animation: none;
}

/* ====== Tailles ====== */
.puppet-peek--xs { width: clamp(40px, 4.5vw, 60px); }
.puppet-peek--sm { width: clamp(56px, 6vw, 80px); }
.puppet-peek--md { width: clamp(70px, 8vw, 110px); }
.puppet-peek--lg { width: clamp(100px, 12vw, 160px); }

/* ====== Reduced motion ====== */
@media (prefers-reduced-motion: reduce) {
  .puppet-peek {
    transition: none;
    animation: none !important;
  }
}


/* =========================================================
   error-404.css — Das Fabularium
   Page d'erreur 404 — "marionnette perdue dans l'atelier".
========================================================= */

.error-page main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px - 360px); /* approx. header + footer */
  padding: clamp(40px, 6vw, 80px) 0;
  position: relative;
  overflow: hidden;
}

.error-stage {
  position: relative;
  width: min(900px, 92vw);
  margin: 0 auto;
  text-align: center;
}

/* ----- Étoiles éparses ----- */
.error-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.error-stars .star {
  position: absolute;
  color: var(--gold-deep);
  opacity: 0.7;
}
.error-stars .s1 { top:  4%; left:  6%; --star-size: 22px; transform: rotate(-12deg); }
.error-stars .s2 { top: 10%; right: 8%; --star-size: 16px; opacity: 0.55; }
.error-stars .s3 { top: 70%; left: 10%; --star-size: 18px; opacity: 0.6;  transform: rotate(18deg); }
.error-stars .s4 { top: 80%; right: 14%; --star-size: 12px; opacity: 0.5; }
.error-stars .s5 { top: 50%; left: 4%;  --star-size: 10px; opacity: 0.5; }
.error-stars .s6 { top: 30%; right: 4%; --star-size: 14px; opacity: 0.55; transform: rotate(-20deg); }

/* ----- Le grand 404 sur papier déchiré ----- */
.error-note {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: clamp(36px, 5vw, 64px) clamp(40px, 6vw, 84px);
  background: rgba(255, 250, 238, 0.94);
  border: 1px solid rgba(36, 27, 21, 0.16);
  box-shadow:
    6px 8px 0 rgba(42, 36, 31, 0.10),
    0 22px 50px rgba(42, 36, 31, 0.18);
  transform: rotate(-1.2deg);
  background-image:
    linear-gradient(180deg, rgba(255, 250, 238, 0.96), rgba(247, 235, 211, 0.94)),
    repeating-linear-gradient(to bottom,
      transparent 0,
      transparent 31px,
      rgba(42, 36, 31, 0.06) 31px,
      rgba(42, 36, 31, 0.06) 32px);
  background-blend-mode: normal, multiply;
}

/* Scotch déchiré en haut */
.error-note::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 22%;
  width: 120px;
  height: 40px;
  transform: rotate(-6deg);
  background: url("/wp-content/themes/fabularium_by-claude/assets/tape-masking-paper.png") center / 100% 100% no-repeat;
  filter: var(--tape-filter);
  opacity: var(--tape-opacity);
  pointer-events: none;
}
.error-note::after {
  content: "";
  position: absolute;
  top: -14px;
  right: 22%;
  width: 110px;
  height: 38px;
  transform: rotate(5deg);
  background: url("/wp-content/themes/fabularium_by-claude/assets/tape-masking-paper.png") center / 100% 100% no-repeat;
  filter: var(--tape-filter);
  opacity: var(--tape-opacity);
  pointer-events: none;
}

.error-number {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(6rem, 18vw, 14rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0;
}

.error-number .digit {
  display: inline-block;
}
.error-number .digit:nth-child(1) { transform: rotate(-3deg); }
.error-number .digit:nth-child(2) { transform: rotate(2deg);  color: var(--rust); }
.error-number .digit:nth-child(3) { transform: rotate(-1.5deg); }

.error-eyebrow {
  display: block;
  margin: 0 0 1rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
}

.error-title {
  margin: 0.6rem 0 0;
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  color: var(--ink);
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.error-lead {
  margin: 1.2rem auto 0;
  max-width: 50ch;
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
  line-height: 1.7;
  color: var(--ink-soft);
}

.error-handwritten {
  display: inline-block;
  margin-top: 1.4rem;
  font-family: "Caveat", "IM Fell English", cursive;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  color: var(--rust);
  transform: rotate(-2deg);
}

.error-actions {
  margin-top: clamp(28px, 3vw, 40px);
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----- Décors flottants : bobine + ciseaux ----- */
.error-decor-spool,
.error-decor-scissors {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 8px 14px rgba(42, 27, 12, 0.18));
}

.error-decor-spool {
  bottom: -10px;
  left: -40px;
  width: clamp(80px, 10vw, 130px);
  transform: rotate(-15deg);
}

.error-decor-scissors {
  top: -10px;
  right: -30px;
  width: clamp(90px, 11vw, 150px);
  transform: rotate(20deg);
}

@media (max-width: 720px) {
  .error-decor-spool { left: -10px; bottom: -30px; }
  .error-decor-scissors { right: -10px; top: -20px; }
}

/* ----- Fil rouge qui serpente à travers la scène ----- */
.error-thread {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;            /* derrière la note, devant les étoiles */
  pointer-events: none;
  overflow: visible;
}

/* Animation "draw in" : on remplit la stroke avec un dash très long
   pour pouvoir l'animer comme un trait qui se dessine. */
.error-thread .thread-line,
.error-thread .thread-shadow {
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: thread-draw 2.8s ease-out 0.2s forwards;
}

.error-thread .thread-shadow {
  animation-delay: 0.25s;
}

.error-thread .thread-knot {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: thread-draw 0.6s ease-out 2.1s forwards;
}

.error-thread .thread-end {
  opacity: 0;
  animation: thread-fade 0.6s ease-out 2.7s forwards;
}

@keyframes thread-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes thread-fade {
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .error-thread .thread-line,
  .error-thread .thread-shadow,
  .error-thread .thread-knot {
    animation: none;
    stroke-dashoffset: 0;
  }
  .error-thread .thread-end { opacity: 1; animation: none; }
}

/* Petit polaroid "ne pas chercher ici" en marge */
.error-side-polaroid {
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: 150px;
  z-index: 3;
  transform: rotate(7deg);
}

@media (max-width: 720px) {
  .error-side-polaroid { display: none; }
}


/* =========================================================
   instagram.css — Das Fabularium
   Section Instagram sur la landing : 3-4 posts en grille
   square façon Instagram, clairement distincts des photos
   "atelier" du reste du site.
========================================================= */

.insta-section {
  position: relative;
  padding: clamp(60px, 7vw, 100px) 0;
  overflow: hidden;
}

.insta-section .container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
  position: relative;
  z-index: 2;
}

/* ---- Décor ---- */
.insta-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.insta-decor .deco-star {
  position: absolute;
  color: var(--rust);
  opacity: 0.5;
}
.insta-decor .deco-star svg { width: 100%; height: 100%; }
.insta-decor .deco-star--a {
  top: 14%;
  left: 6%;
  width: 22px;
  height: 22px;
  transform: rotate(-12deg);
}
.insta-decor .deco-star--b {
  bottom: 16%;
  right: 8%;
  width: 14px;
  height: 14px;
  color: var(--blue-aquarelle);
  opacity: 0.6;
  transform: rotate(16deg);
}

.insta-decor .deco-spool {
  position: absolute;
  top: 18%;
  right: 4%;
  width: clamp(58px, 5vw, 80px);
  transform: rotate(14deg);
  opacity: 0.7;
}
.insta-decor .deco-spool img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(2px 4px 6px rgba(42, 36, 31, 0.16));
}

@media (max-width: 720px) {
  .insta-decor .deco-spool { display: none; }
}

/* ---- Intro ---- */
.insta-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(32px, 4vw, 48px);
}

.insta-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 8px 0 12px;
  line-height: 1.15;
}

.insta-intro .insta-tag {
  /* tag @dasfabularium dans le titre — couleur signature Insta-ish */
  background: linear-gradient(135deg, #d97a5a 0%, #a9482b 60%, #7b2418 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  border-bottom: 1.5px dashed rgba(169, 72, 43, 0.6);
  padding-bottom: 2px;
  font-style: italic;
  transition: opacity 200ms ease;
}

.insta-intro .insta-tag:hover {
  opacity: 0.75;
}

.insta-intro .insta-lead {
  margin: 0;
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ---- Grille de posts ---- */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}

@media (max-width: 880px) {
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Post Instagram (style sobre, carré, distinct des polaroids du site) ---- */
.insta-post {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  box-shadow:
    0 2px 5px rgba(42, 36, 31, 0.08),
    0 8px 20px rgba(42, 36, 31, 0.06);
  transition:
    transform 280ms cubic-bezier(.2, .7, .3, 1),
    box-shadow 280ms ease;
  /* contour fin "papier glacé" qui distingue d'un polaroid mat */
  outline: 1px solid rgba(36, 27, 21, 0.10);
  outline-offset: -1px;
}

.insta-post:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow:
    0 4px 10px rgba(42, 36, 31, 0.12),
    0 14px 28px rgba(42, 36, 31, 0.12);
}

/* zone photo */
.insta-photo {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.insta-photo img,
.insta-photo .ph-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* coin Instagram : badge bien visible, code couleur signature */
.insta-corner {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background:
    linear-gradient(135deg, #f9d967 0%, #d97a5a 35%, #a9482b 65%, #7b2418 100%);
  color: #fff;
  box-shadow: 0 2px 4px rgba(42, 36, 31, 0.25);
  pointer-events: none;
  z-index: 3;
  transition: transform 200ms ease;
}

.insta-corner svg {
  width: 16px;
  height: 16px;
  display: block;
}

.insta-post:hover .insta-corner {
  transform: scale(1.08) rotate(-4deg);
}

/* léger voile sur la photo au hover */
.insta-post::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(36, 27, 21, 0.18));
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
  z-index: 2;
}

.insta-post:hover::after { opacity: 1; }

/* ---- CTA "Voir tout" ---- */
.insta-cta {
  margin-top: clamp(28px, 3vw, 40px);
  text-align: center;
}

.insta-cta .btn-icon {
  width: 16px;
  height: 16px;
  margin-right: 2px;
}

/* === Compatibilité avec un iframe LightWidget collé dans .insta-grid ===
   Quand tu remplaceras les <a class="insta-post"> par un iframe LightWidget,
   le code suivant s'assurera qu'il s'intègre proprement dans la grille. */
.insta-grid > iframe {
  grid-column: 1 / -1;
  width: 100%;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 2px 5px rgba(42, 36, 31, 0.08),
    0 8px 20px rgba(42, 36, 31, 0.06);
}


/* =========================================================
   liens.css — Das Fabularium
   Page "Compagnons de route" : annuaire de liens regroupés
   par catégorie, sous forme de cartes "notes épinglées".
========================================================= */

/* ---- HERO ---- */
.liens-hero {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 5vw, 70px);
  overflow: hidden;
  text-align: center;
}

.liens-hero .container {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.liens-hero h1 {
  margin: 8px 0 18px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
}

.liens-hero h1 em {
  font-style: italic;
  color: var(--rust);
}

.liens-hero .hero-lead {
  max-width: 58ch;
  margin: 0 auto;
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.6;
}

.liens-hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.liens-hero-decor .deco-star {
  position: absolute;
  color: var(--rust);
  opacity: 0.55;
}

.liens-hero-decor .deco-star-1 {
  top: 18%;
  left: 9%;
  width: 24px;
  height: 24px;
  transform: rotate(-12deg);
}

.liens-hero-decor .deco-star-2 {
  bottom: 22%;
  right: 11%;
  width: 16px;
  height: 16px;
  color: var(--blue-aquarelle);
  opacity: 0.6;
  transform: rotate(16deg);
}

.liens-hero-decor .deco-spool {
  position: absolute;
  top: 16%;
  right: 5%;
  width: clamp(60px, 6vw, 88px);
  transform: rotate(-14deg);
  opacity: 0.75;
}
.liens-hero-decor .deco-spool img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(2px 4px 5px rgba(42, 36, 31, 0.18));
}

@media (max-width: 720px) {
  .liens-hero-decor .deco-spool { display: none; }
}

/* ---- SOMMAIRE ---- */
.liens-toc {
  padding: clamp(20px, 3vw, 36px) 0 clamp(28px, 3.5vw, 44px);
}

.liens-toc .container {
  max-width: 980px;
}

.liens-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}

.liens-toc a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(42, 36, 31, 0.14);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  text-decoration: none;
  color: var(--ink);
  transition: all 200ms ease;
}

.liens-toc a:hover {
  background: var(--paper-warm, #f1eadc);
  border-color: var(--rust);
  transform: translateY(-1px);
}

.liens-toc .num {
  font-family: var(--font-title);
  font-size: 0.78rem;
  color: var(--rust);
}

/* ---- SECTIONS ---- */
.liens-section {
  position: relative;
  padding: clamp(50px, 6vw, 90px) 0;
  overflow: hidden;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(32px, 4vw, 50px);
  position: relative;
}

.section-head .section-num {
  display: inline-block;
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--rust);
  line-height: 1;
  opacity: 0.55;
  margin-bottom: 6px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 14px;
  line-height: 1.1;
}

.section-head p {
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 56ch;
}

/* ---- GRILLE DE LIENS ---- */
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 2.6vw, 32px);
}

@media (max-width: 880px) { .link-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .link-grid { grid-template-columns: 1fr; } }

.link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(20px, 2.4vw, 26px);
  background:
    linear-gradient(180deg, rgba(255, 250, 238, 0.95), rgba(247, 235, 211, 0.92));
  border: 1px solid rgba(36, 27, 21, 0.14);
  border-radius: 5px 8px 6px 7px;
  box-shadow:
    3px 4px 0 rgba(42, 36, 31, 0.06),
    0 10px 22px rgba(42, 36, 31, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 280ms cubic-bezier(.2,.7,.3,1), box-shadow 280ms ease;
}

/* rotations légères pour casser l'alignement (mur d'atelier) */
.link-card:nth-of-type(3n+1) { transform: rotate(-0.5deg); }
.link-card:nth-of-type(3n+2) { transform: rotate(0.4deg); }
.link-card:nth-of-type(3n+3) { transform: rotate(-0.3deg); }

.link-card:hover {
  transform: rotate(0) translateY(-3px);
  box-shadow:
    4px 6px 0 rgba(42, 36, 31, 0.08),
    0 14px 28px rgba(42, 36, 31, 0.10);
  border-color: rgba(169, 72, 43, 0.4);
}

/* petit masking tape en haut */
.link-card .card-tape {
  position: absolute;
  top: -10px;
  width: 72px;
  height: 20px;
  background: url("/wp-content/themes/fabularium_by-claude/assets/tape-masking-paper.png") center / 100% 100% no-repeat;
  filter: var(--tape-filter);
  opacity: var(--tape-opacity);
  pointer-events: none;
  z-index: 2;
}

.link-card:nth-of-type(3n+1) .card-tape { left: 14%; transform: rotate(-6deg); }
.link-card:nth-of-type(3n+2) .card-tape { right: 16%; transform: rotate(7deg); }
.link-card:nth-of-type(3n+3) .card-tape { left: 38%; transform: rotate(-3deg); width: 92px; }

.card-cat {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  background: rgba(169, 72, 43, 0.10);
  color: var(--rust);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.link-card h3 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  line-height: 1.2;
  color: var(--ink);
}

.link-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
  flex: 1;
}

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
  transition: gap 200ms ease;
}

.link-cta svg {
  width: 14px;
  height: 14px;
}

.link-card:hover .link-cta { gap: 12px; }

/* ---- OUTRO ---- */
.liens-outro {
  margin-top: clamp(40px, 5vw, 60px);
  text-align: center;
}

.liens-outro .caveat {
  font-family: "Caveat", "IM Fell English", cursive;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 56ch;
  line-height: 1.4;
}

.liens-outro .caveat a {
  color: var(--rust);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}



/* =========================================================
   WP EXTRAS
========================================================= */
.handwritten { position:absolute; font-family:var(--font-title); font-style:italic; font-size:clamp(0.78rem,0.95vw,0.92rem); color:var(--graphite); line-height:1.3; pointer-events:none; z-index:8; }
.hand-arrow { position:absolute; width:80px; height:60px; color:var(--graphite); opacity:0.65; pointer-events:none; z-index:8; }
.hand-arrow svg { width:100%; height:100%; }
.scroll-cue { position:absolute; bottom:clamp(18px,2.5vw,32px); left:50%; transform:translateX(-50%); display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:50%; border:1px solid rgba(36,27,21,0.25); color:var(--ink-soft); text-decoration:none; font-size:1rem; background:rgba(255,250,238,0.5); z-index:10; }
.insta-section { padding:clamp(60px,8vw,120px) 0; position:relative; }
.insta-intro { text-align:center; margin-bottom:clamp(32px,5vw,56px); }
.insta-intro h2 { margin:12px auto 16px; max-width:22ch; }
.insta-tag { color:var(--rust); text-decoration:none; }
.insta-lead { max-width:52ch; margin-inline:auto; color:var(--ink-soft); }
.insta-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(10px,1.5vw,20px); margin-bottom:clamp(28px,4vw,48px); }
.insta-post { position:relative; display:block; aspect-ratio:1/1; overflow:hidden; border-radius:var(--radius-card); background:var(--surface-photo); text-decoration:none; transition:transform 280ms ease; }
.insta-post:hover { transform:translateY(-3px) rotate(0.4deg); }
.insta-photo { display:block; width:100%; height:100%; }
.insta-corner { position:absolute; bottom:8px; right:8px; width:24px; height:24px; color:white; opacity:0.85; }
.insta-cta { text-align:center; }
.insta-decor { position:absolute; inset:0; pointer-events:none; z-index:0; }
.ph-photo { display:block; width:100%; height:100%; background:linear-gradient(135deg,var(--surface-photo) 25%,var(--linen) 100%); position:relative; }
.btn-icon { width:18px; height:18px; flex-shrink:0; }
.page-hero { padding:clamp(60px,8vw,110px) 0 clamp(40px,5vw,60px); position:relative; }
.page-body { padding:clamp(60px,8vw,100px) 0; }
.entry-content { max-width:68ch; margin:0 auto; }
.entry-content h2,.entry-content h3 { margin-top:2rem; }
.entry-content ul,.entry-content ol { padding-left:1.5rem; margin-bottom:1rem; }
.entry-content li { margin-bottom:0.4rem; line-height:1.72; color:var(--ink-soft); }
.entry-content a { color:var(--rust); }
html.admin-bar .site-header { top:32px; }
@media screen and (max-width:782px) { html.admin-bar .site-header { top:46px; } }
@media (max-width:720px) { .insta-grid { grid-template-columns:repeat(2,1fr); } }
