/*
Theme Name: Royaume d'Akuma
Theme URI: https://shibaduroyaumedakuma.fr/
Author: Adèle & Adrien — Royaume d'Akuma
Author URI: https://shibaduroyaumedakuma.fr/
Description: Thème éditorial sur-mesure pour l'élevage de Shiba Inu Royaume d'Akuma. Direction « Le silence d'abord » — sable & encre, ocre rare. Compatible Elementor : le design global (couleurs, typographies, composants) s'applique à toutes les pages construites avec Elementor. La page d'accueil est fournie clé en main via front-page.php.
Version: 4.0.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: royaume-akuma
Tags: elevage, editorial, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready, elementor
*/

/* ════════════════════════════════════════════════════════════════
   Ce fichier = en-tête de thème + design system complet.
   Tout le CSS ci-dessous provient du design « site-parfait » validé.
   Il est chargé sur TOUTES les pages — y compris celles construites
   avec Elementor — afin que les widgets Elementor héritent du style.
   ════════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════════
   ROYAUME D'AKUMA — DESIGN « LE SILENCE D'ABORD »
   Direction : éditorial japonisant, sable & encre, ocre rare
   ════════════════════════════════════════════════════════════════ */

:root {
  /* Palette restreinte, terreuse, chaude */
  --paper: #F4EFE6;        /* fond principal — papier vergé */
  --paper-warm: #EAE2D2;   /* nuance plus chaude */
  --ink: #1A1612;          /* texte presque-noir, tirant sur le brun */
  --ink-soft: #3D3530;     /* texte secondaire */
  --ash: #76695B;          /* gris cendre, métadonnées */
  --bone: #FBF7EE;         /* presque blanc, surface */
  --ochre: #B8763A;        /* accent rare, encre dorée */
  --ochre-deep: #8C5828;
  --sage: #5F6F5B;         /* vert poussiéreux, secondaire */
  --moss: #3D4836;
  --vermillion: #B23B2B;   /* utilisé une seule fois, comme un sceau */

  /* Typography scales */
  --serif: 'Newsreader', 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --fs-mega: clamp(3.5rem, 8vw, 8rem);
  --fs-display: clamp(2.5rem, 5.5vw, 5rem);
  --fs-h1: clamp(2rem, 4vw, 3.6rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.6rem);
  --fs-h3: clamp(1.25rem, 1.8vw, 1.6rem);

  --transition: cubic-bezier(.4, 0, .2, 1);
  --transition-slow: cubic-bezier(.25, .1, .25, 1);

  --measure: 62ch;        /* longueur de ligne de lecture */
  --measure-narrow: 48ch;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* texture papier subtile */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(184, 118, 58, 0.02) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(95, 111, 91, 0.02) 0%, transparent 40%);
}

/* Grain papier sur tout le body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0 0.07 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* Selection */
::selection { background: var(--ochre); color: var(--paper); }

/* Skip link */
.skip-link { position: absolute; top: -100px; left: 1rem; background: var(--ink); color: var(--paper); padding: .8rem 1.4rem; font-size: .78rem; letter-spacing: .12em; z-index: 9999; transition: top .2s; }
.skip-link:focus { top: 1rem; }

/* ────────────────────────────── NAV ────────────────────────────── */
nav.primary {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 3rem;
  background: rgba(244, 239, 230, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26, 22, 18, 0.06);
  transition: padding .3s var(--transition);
}
nav.primary.shrunk { padding: .9rem 3rem; }

.brand {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: .5rem;
}
.brand-mark {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ochre);
  font-weight: 400;
}
.brand-jp {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .25em;
  color: var(--ash);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  position: relative;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: .3rem 0;
  transition: color .25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--ochre);
  transition: width .35s var(--transition);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.burger { display: none; width: 30px; height: 30px; position: relative; z-index: 201; }
.burger span { position: absolute; left: 4px; width: 22px; height: 1.5px; background: var(--ink); transition: all .3s var(--transition); }
.burger span:nth-child(1) { top: 11px; }
.burger span:nth-child(2) { top: 18px; }
.burger.open span:nth-child(1) { top: 14px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { top: 14px; transform: rotate(-45deg); }

/* ─────────────────────── PROGRESS INDICATOR (top) ─────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--ochre);
  width: 0%;
  z-index: 250;
  transition: width .1s linear;
}

/* ─────────────────────────── LAYOUT HELPERS ─────────────────────────── */
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 3rem; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 3rem; }
.wrap-reading { max-width: 720px; margin: 0 auto; padding: 0 3rem; }

section { padding: 8rem 0; position: relative; z-index: 2; }
section.tight { padding: 5rem 0; }

/* Section number — typographic marker */
.section-num {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .25em;
  color: var(--ash);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.section-num::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--ochre);
}

/* Eyebrow */
.eyebrow {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ochre);
  display: inline-block;
  margin-bottom: 1.2rem;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -.01em;
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--ochre); }

h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 500; }

/* Body type */
.lead {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 300;
}
p { color: var(--ink-soft); }

/* Pilcrow / paragraph mark */
.pilcrow {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ochre);
  margin-right: .5rem;
}

/* ─────────────────────────── HERO ─────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 4rem 3rem 5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}

.hero-divider {
  background: linear-gradient(to bottom, transparent, var(--ash), transparent);
  opacity: .3;
  height: 60%;
  align-self: center;
}

.hero-left { position: relative; }

.hero-overline {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-overline::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 1px;
  background: var(--ochre);
}

h1.hero-title {
  font-family: var(--serif);
  font-size: var(--fs-mega);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 2rem;
}
h1.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--ochre);
}

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-meta {
  display: flex;
  gap: 2.5rem;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ash);
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.hero-meta-num {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  font-weight: 400;
}

.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 480px;
}

.hero-illustration {
  width: 100%;
  max-width: 520px;
  position: relative;
}
.hero-illustration svg {
  width: 100%;
  height: auto;
}

/* Kanji decorative — calligraphic feel */
.kanji-decoration {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ochre);
  opacity: 0.08;
  font-size: clamp(8rem, 16vw, 16rem);
  font-weight: 300;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.kanji-tl { top: -2rem; left: -3rem; }
.kanji-br { bottom: -2rem; right: -2rem; }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ash);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  animation: float 3s ease-in-out infinite;
}
.scroll-cue::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--ochre), transparent);
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─────────────────────────── MANIFESTE ─────────────────────────── */
.manifesto {
  background: var(--bone);
  padding: 9rem 3rem;
  position: relative;
}

.manifesto-quote {
  max-width: 1000px;
  margin: 0 auto;
}
.manifesto-quote h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -.015em;
}
.manifesto-quote h2 em {
  font-style: italic;
  color: var(--ochre);
}
.manifesto-quote-attr {
  margin-top: 3rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ash);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.manifesto-quote-attr::before {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: var(--ochre);
}

/* ─────────────────────────── EDITORIAL COLUMNS ─────────────────────────── */
.editorial {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 5rem;
  align-items: start;
}
.editorial-meta {
  position: sticky;
  top: 120px;
}
.editorial-meta-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ochre);
  margin-bottom: 1rem;
  font-weight: 400;
}
.editorial-meta-text {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ash);
  line-height: 1.8;
}

.editorial-body p {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.editorial-body p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 5rem;
  float: left;
  line-height: 1;
  margin: .2rem .6rem -.2rem 0;
  color: var(--ochre);
  font-weight: 400;
}
.editorial-body strong { color: var(--ink); font-weight: 500; }

/* ────────────────────── SIGNALS · INTERACTIVE ────────────────────── */
.signals-section {
  background: var(--paper-warm);
  position: relative;
  overflow: hidden;
}

.signals-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 5rem;
}
.signals-intro h2 {
  font-size: var(--fs-display);
  margin-bottom: 1.5rem;
}
.signals-intro p {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto;
}

.signals-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.signals-canvas {
  position: relative;
  aspect-ratio: 1;
  max-width: 500px;
  margin: 0 auto;
}

.signal-dot {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bone);
  border: 1.5px solid var(--ochre);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--ochre);
  font-weight: 500;
  transition: all .3s var(--transition);
  z-index: 5;
}
.signal-dot::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--ochre);
  opacity: 0.3;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.3); opacity: 0; }
}
.signal-dot:hover, .signal-dot.active {
  background: var(--ochre);
  color: var(--bone);
  transform: scale(1.15);
}
.signal-dot.active::before { display: none; }

.signal-content {
  padding: 2rem 0;
}
.signal-content-num {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 1rem;
}
.signal-content h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  color: var(--ink);
}
.signal-content h3 em { font-style: italic; color: var(--ochre); }
.signal-content-body {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.signal-content-example {
  background: rgba(184, 118, 58, 0.06);
  border-left: 2px solid var(--ochre);
  padding: 1rem 1.5rem;
  font-family: var(--sans);
  font-size: .92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  font-style: italic;
}

.signal-content-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 1.5rem;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ochre);
  transition: gap .25s;
}
.signal-content-link:hover { gap: .9rem; }

/* ─────────────────────── LETTRE D'ADÈLE ─────────────────────── */
.letter-section {
  background: var(--bone);
  padding: 9rem 0;
}

.letter {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 3rem;
}

.letter-header {
  text-align: center;
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(26, 22, 18, 0.1);
}
.letter-from {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 1.5rem;
}
.letter-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
}

.letter-body {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--ink-soft);
  font-weight: 300;
}
.letter-body p { margin-bottom: 1.6rem; }
.letter-body p:first-child::first-letter {
  font-family: var(--serif);
  font-size: 4.5rem;
  float: left;
  line-height: .9;
  margin: .25rem .55rem 0 0;
  color: var(--ochre);
  font-style: italic;
  font-weight: 400;
}
.letter-body strong { color: var(--ink); font-weight: 500; }
.letter-body em { font-style: italic; color: var(--ochre); }

.letter-signature {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(26, 22, 18, 0.1);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.letter-sig-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--ink);
  font-weight: 400;
}
.letter-sig-meta {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ash);
}

/* ────────────────────── JOURNAL DE LA PORTÉE ────────────────────── */
.journal-section { background: var(--paper); }
.journal-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 5rem;
}
.journal-intro h2 { font-size: var(--fs-display); margin-bottom: 1.5rem; }

.journal-timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.journal-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--ochre), var(--ochre), transparent);
}

.journal-entry {
  position: relative;
  padding-left: 80px;
  margin-bottom: 3.5rem;
}
.journal-entry::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 8px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--ochre);
}

.journal-week {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: .5rem;
}
.journal-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: .8rem;
}
.journal-title em { font-style: italic; color: var(--ochre); }
.journal-text {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ─────────────────────────── ENGAGEMENTS ─────────────────────────── */
.commitments-section {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.commitments-section::before {
  content: '六';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(20rem, 40vw, 38rem);
  color: var(--ochre);
  opacity: 0.04;
  pointer-events: none;
  font-weight: 300;
}
.commitments-section .section-num { color: rgba(244, 239, 230, 0.5); }
.commitments-section .section-num::before { background: var(--ochre); }
.commitments-section h2 { color: var(--paper); }

.commitments-intro {
  max-width: 720px;
  margin-bottom: 5rem;
}
.commitments-intro h2 {
  font-size: var(--fs-display);
  line-height: 1.1;
}
.commitments-intro p {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.65;
  color: rgba(244, 239, 230, 0.65);
  margin-top: 1.5rem;
}

.commitments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(244, 239, 230, 0.1);
  position: relative;
  z-index: 1;
}
.commitment {
  padding: 3rem 0 3rem;
  padding-right: 3rem;
  border-bottom: 1px solid rgba(244, 239, 230, 0.1);
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.commitment:nth-child(even) {
  padding-right: 0;
  padding-left: 3rem;
  border-left: 1px solid rgba(244, 239, 230, 0.1);
}
.commitment-num {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .15em;
  color: var(--ochre);
  padding-top: .4rem;
}
.commitment h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--paper);
  margin-bottom: .8rem;
  line-height: 1.2;
}
.commitment p {
  font-family: var(--sans);
  font-size: .95rem;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.6);
}

/* ────────────────────────── PORTÉE ACTUELLE ────────────────────────── */
.litter-section {
  background: var(--paper);
  padding: 9rem 0;
}
.litter-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 5rem;
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 3rem;
}
.litter-info h2 {
  font-size: var(--fs-display);
  margin-bottom: 2rem;
  line-height: 1.05;
}
.litter-status {
  display: inline-block;
  background: var(--vermillion);
  color: var(--paper);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  padding: .5rem 1rem;
  margin-bottom: 1.5rem;
  /* style "sceau" */
  transform: rotate(-1.5deg);
  box-shadow: 0 2px 8px rgba(178, 59, 43, 0.15);
}
.litter-text p {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 1.3rem;
}
.litter-specs {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(26, 22, 18, 0.1);
}
.litter-spec-label {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: .5rem;
}
.litter-spec-value {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
  font-weight: 400;
}

.litter-card-stack {
  position: relative;
}
.puppy-card {
  background: var(--bone);
  padding: 2rem;
  border: 1px solid rgba(26, 22, 18, 0.06);
  margin-bottom: -1px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  transition: all .3s var(--transition);
  position: relative;
}
.puppy-card:hover { background: var(--paper-warm); }
.puppy-card-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--ochre);
  font-style: italic;
}
.puppy-card-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: .25rem;
  font-weight: 400;
}
.puppy-card-meta {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ash);
}
.puppy-card-status {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--sage);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.puppy-card-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}
.puppy-card-status.reserved { color: var(--vermillion); }
.puppy-card-status.reserved::before { background: var(--vermillion); }

/* ─────────────────────────── TÉMOIGNAGES ─────────────────────────── */
.testimonials-section { background: var(--paper-warm); padding: 9rem 0; }
.testimonials-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 5rem;
}
.testimonials-intro h2 { font-size: var(--fs-display); margin-bottom: 1.5rem; }
.testimonials-intro p { font-family: var(--serif); font-size: 1.15rem; line-height: 1.65; color: var(--ink-soft); }

.testimonials-stack {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 3rem;
}

.testimonial {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(26, 22, 18, 0.1);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 3rem;
  align-items: start;
}
.testimonial:last-child { border-bottom: none; }

.testimonial-meta {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ash);
  line-height: 1.8;
  padding-top: .5rem;
}
.testimonial-meta strong {
  color: var(--ink);
  font-weight: 500;
  display: block;
  margin-bottom: .3rem;
}
.testimonial-meta-stars {
  margin-top: .8rem;
  color: var(--ochre);
  font-size: .9rem;
  letter-spacing: .1em;
}

.testimonial-text {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 300;
  position: relative;
  padding-left: 2rem;
}
.testimonial-text::before {
  content: '\201C';
  position: absolute;
  left: -.5rem;
  top: -1rem;
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--ochre);
  font-style: italic;
  line-height: 1;
  font-weight: 400;
}
.testimonial-text em { font-style: italic; color: var(--ochre); }

/* ────────────────────── NOTES (BLOG) ────────────────────── */
.notes-section { background: var(--bone); padding: 9rem 0; }
.notes-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}
.notes-header h2 {
  font-size: var(--fs-display);
  line-height: 1.05;
  max-width: 14ch;
}
.notes-header-link {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ochre);
  transition: gap .25s;
  display: inline-flex;
  gap: .5rem;
  align-items: center;
}
.notes-header-link:hover { gap: 1rem; }

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(26, 22, 18, 0.1);
}
.note {
  padding: 2.5rem 2rem 2.5rem 0;
  border-bottom: 1px solid rgba(26, 22, 18, 0.1);
  border-right: 1px solid rgba(26, 22, 18, 0.1);
  transition: background .25s;
  position: relative;
}
.note:nth-child(3n) { border-right: none; padding-right: 0; }
.note:nth-child(3n+2) { padding-left: 2rem; }
.note:nth-child(3n+3) { padding-left: 2rem; }
.note:hover { background: var(--paper-warm); }

.note-cat {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 1.2rem;
}
.note-date {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 1rem;
}
.note h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 1rem;
}
.note h3 em { font-style: italic; color: var(--ochre); }
.note p {
  font-family: var(--sans);
  font-size: .93rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.note-read {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  gap: .4rem;
  align-items: center;
  transition: gap .25s;
}
.note-read:hover { gap: .7rem; color: var(--ochre); }

/* ─────────────────────── INVITATION ─────────────────────── */
.invitation-section {
  background: var(--ink);
  color: var(--paper);
  padding: 12rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.invitation-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(184, 118, 58, 0.12), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(95, 111, 91, 0.08), transparent 50%);
  pointer-events: none;
}

.invitation-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 3rem;
}
.invitation-eyebrow {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 2rem;
}
.invitation h2 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--paper);
  margin-bottom: 2rem;
  letter-spacing: -.015em;
}
.invitation h2 em { font-style: italic; color: var(--ochre); }
.invitation p {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.65;
  color: rgba(244, 239, 230, 0.7);
  margin-bottom: 3.5rem;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

.invitation-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 1.1rem 2.2rem;
  transition: all .3s var(--transition);
  cursor: pointer;
  border: none;
}
.btn svg { width: 14px; height: 14px; transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }

.btn-ochre {
  background: var(--ochre);
  color: var(--paper);
}
.btn-ochre:hover { background: var(--ochre-deep); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(244, 239, 230, 0.2);
}
.btn-ghost:hover { border-color: var(--ochre); color: var(--ochre); }

/* ─────────────────────────── COLOPHON / FOOTER ─────────────────────────── */
footer {
  background: var(--paper);
  padding: 6rem 0 3rem;
  border-top: 1px solid rgba(26, 22, 18, 0.08);
}
.colophon {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 3rem;
}
.colophon-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(26, 22, 18, 0.1);
}
.colophon-brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 1rem;
  font-weight: 400;
}
.colophon-brand em { font-style: italic; color: var(--ochre); }
.colophon-jp {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .25em;
  color: var(--ash);
  margin-bottom: 2rem;
}
.colophon-about {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 32ch;
}
.colophon-col-title {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 1.4rem;
}
.colophon-links { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.colophon-links a {
  font-family: var(--sans);
  font-size: .9rem;
  color: var(--ink-soft);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.colophon-links a:hover { color: var(--ochre); }
.colophon-links svg { width: 14px; height: 14px; }

.colophon-bottom {
  padding-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.colophon-copyright {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ash);
}
.colophon-set {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .12em;
  color: var(--ash);
  font-style: italic;
  text-align: right;
  max-width: 50ch;
  line-height: 1.6;
}

.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 1.5px solid var(--ochre);
  border-radius: 50%;
  color: var(--ochre);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  margin: 0 auto 2rem;
}

/* WhatsApp floating */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 1.25rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  z-index: 150;
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 26px; height: 26px; }

/* ─────────────────────────── REVEAL ─────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--transition-slow), transform .9s var(--transition-slow); }
.reveal.in { opacity: 1; transform: none; }

/* ─────────────────────────── MOBILE ─────────────────────────── */
@media (max-width: 1024px) {
  nav.primary { padding: 1rem 1.5rem; }
  .wrap, .wrap-narrow, .wrap-reading { padding: 0 1.5rem; }
  section { padding: 5rem 0; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bone);
    flex-direction: column;
    justify-content: center;
    padding: 5rem 2rem;
    transition: right .4s var(--transition);
    border-left: 1px solid rgba(26, 22, 18, 0.08);
  }
  .nav-links.open { right: 0; }
  .burger { display: block; }

  .hero { padding: 7rem 1.5rem 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-divider { display: none; }
  .hero-right { min-height: 320px; }

  .editorial { grid-template-columns: 1fr; gap: 2rem; }
  .editorial-meta { position: static; }

  .signals-stage { grid-template-columns: 1fr; gap: 2rem; }
  .signals-canvas { max-width: 360px; }

  .litter-grid { grid-template-columns: 1fr; gap: 3rem; padding: 0 1.5rem; }

  .commitments-grid { grid-template-columns: 1fr; }
  .commitment:nth-child(even) { padding-left: 0; border-left: none; }
  .commitment { padding-right: 0; }

  .testimonial { grid-template-columns: 1fr; gap: 1.5rem; padding: 0 1.5rem 3rem; }
  .testimonials-stack { padding: 0; }

  .notes-grid { grid-template-columns: 1fr; }
  .note { border-right: none !important; padding: 2rem 0 !important; }

  .colophon-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .colophon { padding: 0 1.5rem; }

  .journal-timeline::before { left: 12px; }
  .journal-entry { padding-left: 50px; }
  .journal-entry::before { left: 4px; }
}
@media (max-width: 640px) {
  .commitment { grid-template-columns: 1fr; gap: .5rem; }
  .colophon-grid { grid-template-columns: 1fr; }
  .invitation-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .litter-specs { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
   Ce fichier = en-tête de thème + design system complet.
   Tout le CSS ci-dessous provient du design « site-parfait » validé.
   Il est chargé sur TOUTES les pages — y compris celles construites
   avec Elementor — afin que les widgets Elementor héritent du style.
   ════════════════════════════════════════════════════════════════ */


/* ════════════════════════════════════════════════════════════════
   AJOUTS v4.0 — Navigation des signaux (boutons précédent / suivant)
   ════════════════════════════════════════════════════════════════ */
.signal-nav {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 2.25rem;
  flex-wrap: wrap;
}
.signal-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--bone);
  border: 1px solid rgba(26, 22, 18, 0.18);
  padding: .7rem 1.1rem;
  border-radius: 2px;
  transition: all .25s var(--transition);
}
.signal-nav-btn:hover {
  border-color: var(--ochre);
  color: var(--ochre);
}
.signal-nav-btn:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 3px;
}
.signal-nav-btn svg { width: 13px; height: 13px; }
.signal-nav-btn[disabled] {
  opacity: .35;
  cursor: not-allowed;
  pointer-events: none;
}
.signal-nav-count {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .15em;
  color: var(--ash);
  margin-left: .35rem;
}

/* ════════════════════════════════════════════════════════════════
   COMPATIBILITÉ ELEMENTOR
   Les pages éditées avec Elementor utilisent le gabarit « Elementor
   Pleine largeur » ou « Elementor Canvas ». On garantit que la
   palette et les typographies y restent disponibles.
   ════════════════════════════════════════════════════════════════ */
.elementor-page .wrap,
.elementor-page .wrap-narrow { max-width: none; }

/* Boutons natifs Elementor → look Royaume d'Akuma si la classe utilitaire est posée */
.elementor-button.akuma-ochre {
  background: var(--ochre);
  color: var(--paper);
  font-family: var(--mono);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.elementor-button.akuma-ochre:hover { background: var(--ochre-deep); }

/* Titres Elementor : héritent de la serif éditoriale si classe posée */
.elementor-heading-title.akuma-serif {
  font-family: var(--serif);
  font-weight: 400;
}
.elementor-heading-title.akuma-serif em { font-style: italic; color: var(--ochre); }

/* Largeur de lecture réutilisable dans un widget HTML Elementor */
.akuma-reading { max-width: var(--measure); margin-inline: auto; }

/* État « portée à venir » — carte d'attente quand le nombre de chiots n'est pas connu */
.litter-pending {
  border: 1px dashed rgba(184, 118, 58, 0.5);
  border-radius: 3px;
  padding: 2.4rem 2rem;
  background: rgba(184, 118, 58, 0.04);
  text-align: center;
}
.litter-pending-kicker {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: .9rem;
}
.litter-pending p {
  font-family: var(--serif);
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--ink-soft);
}


/* ============================================================
   Reproducteurs · Lisibilité (overrides typographie/contraste)
   Les styles d'origine sont injectés en inline dans la page,
   on utilise donc !important pour garantir l'application.
   ============================================================ */

/* Intro / sous-titre de page */
.rk-rep-sub { font-size: 1.18rem !important; line-height: 1.75 !important; color: #3a2a1c !important; }
.rk-rep-section-intro { font-size: 1.12rem !important; line-height: 1.8 !important; color: #3a2a1c !important; max-width: 680px !important; }

/* Navigation interne sticky */
.rk-rep-nav a { font-size: 0.82rem !important; letter-spacing: 0.1em !important; }

/* En-tête de section (LES MÂLES, LES FEMELLES, etc.) */
.rk-rep-section-header h2 { font-size: clamp(1.95rem, 3.2vw, 2.9rem) !important; }

/* Fiches : titres, méta et description plus lisibles */
.rk-rep-card .rk-rep-name { font-size: 1.65rem !important; line-height: 1.25 !important; color: #1a1208 !important; }
.rk-rep-card .rk-rep-meta { font-size: 0.82rem !important; letter-spacing: 0.09em !important; color: #7a5d3a !important; margin: 0 0 1.1rem !important; }
.rk-rep-card .rk-rep-desc { font-size: 1.05rem !important; line-height: 1.75 !important; color: #3a2a1c !important; }
.rk-rep-card .rk-rep-tests { font-size: 0.82rem !important; line-height: 1.7 !important; color: #3a2a1c !important; letter-spacing: 0.03em !important; padding-top: 1.1rem !important; }
.rk-rep-card .rk-rep-tests strong { color: #2a1810 !important; }

/* Badges plus visibles */
.rk-rep-badge { font-size: 0.78rem !important; letter-spacing: 0.1em !important; padding: 10px 16px !important; }

/* Espacements entre fiches plus aérés */
.rk-rep-grid { gap: 3rem !important; }
.rk-rep-section { padding-top: 5.5rem !important; padding-bottom: 5.5rem !important; }

/* Retraités : remontée des tailles trop petites */
.rk-rep-card--retired .rk-rep-name { font-size: 1.3rem !important; }
.rk-rep-card--retired .rk-rep-meta { font-size: 0.78rem !important; letter-spacing: 0.08em !important; }
.rk-rep-card--retired .rk-rep-desc { font-size: 0.98rem !important; line-height: 1.7 !important; color: #3a2a1c !important; }

/* Invitation / bloc final */
.rk-rep-invitation p { font-size: 1.18rem !important; line-height: 1.8 !important; color: #3a2a1c !important; }
.rk-rep-btn { font-size: 0.92rem !important; padding: 1rem 2.2rem !important; }

/* Mobile : maintien d’une taille confortable */
@media (max-width: 720px) {
  .rk-rep-card .rk-rep-name { font-size: 1.45rem !important; }
  .rk-rep-card .rk-rep-desc { font-size: 1rem !important; line-height: 1.7 !important; }
  .rk-rep-card .rk-rep-meta { font-size: 0.78rem !important; }
  .rk-rep-card .rk-rep-tests { font-size: 0.8rem !important; }
  .rk-rep-grid { gap: 2rem !important; }
  .rk-rep-section { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
}


/* === A11y AA + Perf (priorite 3C/4) === */
/* Eyebrows et petits textes en gold : on fonce le ton pour WCAG AA (4.5:1) tout en gardant l’identite editoriale */
.eyebrow,.loc-eyebrow,.cab-eyebrow,p.eyebrow,.tag,.kicker,[class*=eyebrow],[class*=Eyebrow]{color:#7a5f2e!important}
/* Focus visible pour accessibilite clavier */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #a8864c;outline-offset:3px;border-radius:2px}
/* WhatsApp + back-to-top labels lus par lecteurs d’ecran */
.wa-float:focus-visible{outline:2px solid #25D366;outline-offset:4px}


/* === FIX contraste eyebrow portée === */
html body .rk-portee-eyebrow,
html body p.rk-portee-eyebrow,
html body [class*="eyebrow"].rk-portee-eyebrow {
  color: #fbf7ee !important;
  background: #b23b2b !important;
}
html body .rk-portee-eyebrow * {
  color: #fbf7ee !important;
}
.approche-photo{
	margin: 2.5rem 0 0;
	
}
.approche-photo img{
	width: 100%;
	height: 380px;
	object-fit: cover;
	display: block;
	border-radius: 4px;
}
.approche-photo figcaption{
	margin-top: .6rem;
	font-size: .8rem;
	font-style: italic;
	color: #8b6f47;
}

/* ═══════════════════════════════════════════════════════════
 * TOUCHE PREMIUM · Le silence d'abord
 * Détails d'orfèvre appliqués à tout le site : ascenseur aux
 * couleurs de la maison, défilement doux vers les ancres,
 * soulignements typographiques des liens, focus élégant.
 * ═══════════════════════════════════════════════════════════ */

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

html { scrollbar-color: #c9b998 #F8F3EA; scrollbar-width: thin; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #F8F3EA; }
::-webkit-scrollbar-thumb { background: #c9b998; border-radius: 6px; border: 2px solid #F8F3EA; }
::-webkit-scrollbar-thumb:hover { background: #B08D4F; }

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

main p a:not([class]), main li a:not([class]), .faq-item p a, .litter-text a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	text-decoration-color: #c9b998;
	transition: color 0.25s ease, text-decoration-color 0.25s ease;
}
main p a:not([class]):hover, main li a:not([class]):hover, .faq-item p a:hover, .litter-text a:hover {
	color: #C0502E;
	text-decoration-color: #C0502E;
}

:focus-visible { outline: 2px solid #B08D4F; outline-offset: 3px; }


/* ═══ HABILLAGE ARTICLES v2 · s'applique aux deux gabarits d'article ═══ */

body.single article.rakuma-single h2:not(.faq-title) {
	font-family: "Newsreader", Georgia, serif !important;
	border-left: 4px solid #C0502E;
	padding-left: 0.85rem;
	line-height: 1.25;
}
body.single article.rakuma-single h3 { font-family: "Newsreader", Georgia, serif !important; }

body.single article.rakuma-single .schema-faq-section {
	background: #FDFAF4 !important;
	border: 1px solid #e0d5c5 !important;
	border-radius: 6px;
	padding: 1.1rem 1.25rem !important;
	margin: 0 0 0.9rem !important;
}
body.single article.rakuma-single .schema-faq-question {
	display: block;
	font-family: "Newsreader", Georgia, serif !important;
	font-size: 1.12rem !important;
	font-weight: 500;
	color: #2B2118 !important;
	margin: 0 0 0.45rem;
}
body.single article.rakuma-single .schema-faq-question::before {
	content: "問";
	color: #B08D4F;
	margin-right: 0.55rem;
	font-size: 1rem;
}
body.single article.rakuma-single .schema-faq-answer {
	display: block;
	color: #5a4f42 !important;
	line-height: 1.65;
	padding-left: 1.6rem;
}

.akuma-auteur { position: relative; padding-right: 4.2rem; }
.akuma-auteur::after {
	content: "柴";
	position: absolute;
	right: 0.9rem;
	top: 50%;
	transform: translateY(-50%) rotate(4deg);
	width: 2.4rem;
	height: 2.4rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #C0502E;
	border-radius: 4px;
	color: #C0502E;
	font-family: "Newsreader", Georgia, serif;
	font-size: 1.25rem;
	opacity: 0.85;
}
@media (max-width: 640px) { .akuma-auteur { padding-right: 3.4rem; } .akuma-auteur::after { width: 2rem; height: 2rem; font-size: 1.05rem; right: 0.5rem; } }


/* ═══ HANKO QUI S'ENCRE · le sceau se tamponne à l'apparition ═══ */
@media (prefers-reduced-motion: no-preference){
.rda-signal .k.rda-encre{animation:rda-encre-tampon .5s cubic-bezier(.2,1.4,.4,1) both}
.rkah-hanko.rda-encre{animation:rda-encre-tampon-r5 .5s cubic-bezier(.2,1.4,.4,1) both}
.akuma-auteur.rda-encre::after{animation:rda-encre-tampon-c .5s cubic-bezier(.2,1.4,.4,1) both}
.qdvc-hanko{animation:rda-encre-tampon .5s cubic-bezier(.2,1.4,.4,1) .15s both}
@keyframes rda-encre-tampon{0%{transform:translateY(-12px) rotate(0deg) scale(1.2);opacity:0}60%{transform:translateY(1px) rotate(5deg) scale(.95);opacity:1}100%{transform:translateY(0) rotate(4deg) scale(1);opacity:1}}
@keyframes rda-encre-tampon-r5{0%{transform:translateY(-12px) rotate(0deg) scale(1.2);opacity:0}60%{transform:translateY(1px) rotate(6deg) scale(.95);opacity:1}100%{transform:translateY(0) rotate(5deg) scale(1);opacity:1}}
@keyframes rda-encre-tampon-c{0%{transform:translateY(-62%) rotate(0deg) scale(1.2);opacity:0}60%{transform:translateY(-48%) rotate(5deg) scale(.95);opacity:1}100%{transform:translateY(-50%) rotate(4deg) scale(1);opacity:1}}
}

/* ─────────────────────────────────────────────────────────────
   Résumé direct en tête d’article
   Réponse courte avant le développement, pour les moteurs de réponses
   et pour le lecteur pressé. Voir § 9 du cahier des charges.
   ───────────────────────────────────────────────────────────── */
.rda-chapo{
	font-family:var(--serif);
	font-size:1.14rem;
	line-height:1.62;
	color:var(--ink);
	border-left:2px solid var(--ochre);
	padding:.15rem 0 .15rem 1.15rem;
	margin:0 0 2rem;
	max-width:var(--measure);
}
@media (max-width:640px){
	.rda-chapo{font-size:1.05rem;padding-left:.9rem}
}

/* ─────────────────────────────────────────────────────────────
   Sommaire d’article
   Le style existait uniquement en CSS inline dans quelques articles,
   portée sous .rda-article. Règle globale ici pour que tous les sommaires
   se ressemblent, sans écraser les styles inline plus spécifiques.
   ───────────────────────────────────────────────────────────── */
.rda-toc{
	background:var(--paper-warm);
	border-left:3px solid var(--ochre);
	padding:1.4rem 1.7rem;
	margin:2rem 0 2.4rem;
	border-radius:3px;
	max-width:var(--measure);
}
.rda-toc-title{
	font-family:var(--sans);
	font-size:.76rem;
	letter-spacing:.18em;
	text-transform:uppercase;
	color:var(--ochre-deep);
	margin:0 0 .85rem;
}
.rda-toc ol{margin:0;padding-left:1.25rem}
.rda-toc li{margin:.4rem 0;line-height:1.45}
.rda-toc a{text-decoration:none;border-bottom:1px solid transparent;transition:border-color var(--transition)}
.rda-toc a:hover{border-bottom-color:var(--ochre)}
@media (max-width:640px){.rda-toc{padding:1.1rem 1.2rem}}

/* ─────────────────────────────────────────────────────────────
   Contraste AA sur les petits textes (§ 13)

   L’ocre --ochre sur --paper donne 3,22:1, l’or 2,81:1, le gris chaud 3,5:1.
   Sous 24px, WCAG demande 4,5:1. Ces accents sont donc conformes en gros
   titres et hors-la-loi en légendes, sur-titres et métadonnées.

   On fonce uniquement là où la couleur porte du texte courant.
   --ochre-deep sur --paper : 5,18:1. --ash sur --paper : 4,65:1.
   Les filets, bordures et grands titres gardent l’ocre d’origine.
   Le préfixe body passe devant les CSS inline injectées dans les contenus.
   ───────────────────────────────────────────────────────────── */
body .rda-overline,
body .editorial-meta-title,
body .journal-week,
body .testimonial-meta-stars,
body .ec-bandeau-tag,
body .ec-bandeau-fleche,
body .haut,
body .qdvc-overline,
body .arrivees-overline,
body .ec-home-sur,
body .ec-home-num,
body .faq-overline,
body .section-num{
	color:var(--ochre-deep);
}

body .hero-avis,
body .rda-compte,
body .qdvc-etape,
body .qdvc-note,
body .litter-acaced,
body .rda-board-etat,
body .arrivees-note{
	color:var(--ash);
}

/* ─────────────────────────────────────────────────────────────
   Bande basse mobile (§ 14)

   Trois éléments fixes se partagent le bas de l’écran : le Chef de Gare à
   gauche, WhatsApp à droite, et le bouton de gestion des cookies entre les
   deux. À 390px ils tiennent encore côte à côte, en dessous ils se marchent
   dessus. On empile le bouton cookies au-dessus plutôt qu’à côté.
   ───────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
	#cmplz-manage-consent .cmplz-manage-consent,
	button.cmplz-manage-consent.manage-consent-1 {
		right: 16px;
		bottom: 88px;
		max-width: calc(100vw - 32px);
	}

	.wa-float {
		right: 16px;
		bottom: 18px;
	}
}


/* ═══════════════════════════════════════════════════════════════
   EMPLACEMENTS D'IMAGES (rk-slots)

   Un emplacement vide est un <div class="rk-manga rk-cover-ph">
   stylé comme une case de manga : fond, double filet, padding.
   Une fois rempli, le filtre le remplace par un <figure> qui garde
   la classe .rk-manga et hérite donc de la décoration du vide :
   la couverture se retrouve encadrée deux fois et rognée.

   On neutralise la décoration dès que l'emplacement est rempli.
   Le sélecteur distingue les deux états sans JavaScript : le vide
   est un div, le rempli est un figure.
   ═══════════════════════════════════════════════════════════════ */
figure.rk-manga {
	display: block;
	background: none;
	border: 0;
	padding: 0;
	gap: 0;
}

figure.rk-manga::before {
	content: none;
}

figure.rk-manga img,
.rk-manga-img {
	display: block;
	width: 100%;
	height: auto;
}

/* Le ratio de l'emplacement rempli doit être identique à celui du vide,
   sinon la boîte réservée avant chargement est fausse : la couverture
   s'étire jusqu'à ce que l'image arrive, si elle arrive.
   Les couvertures sont en 2/3, les planches en 4/5, comme les placeholders. */
/* Sélecteur volontairement lourd : une règle inline de la page pose
   img[width][height]{aspect-ratio:attr(width)/attr(height)}, or attr()
   n'est pas valide pour aspect-ratio. La valeur devient invalide, le
   ratio naturel est perdu et l'image s'étire. On repasse devant en
   spécificité plutôt que d'employer !important. */
figure.rk-slot--cov img[width][height],
figure.rk-slot--cov img {
	aspect-ratio: 2 / 3;
	object-fit: cover;
}

figure.rk-slot--case img[width][height],
figure.rk-slot--case img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
}


/* ═══════════════════════════════════════════════════════════════
   SIGNATURE D'AUTEUR EN FIN DE DOSSIER
   ═══════════════════════════════════════════════════════════════ */
.rda-signature {
	margin: 3.5rem auto 1rem;
	max-width: 720px;
	padding: 1.8rem 1.6rem;
	background: #F8F4E9;
	border-left: 2px solid #B75B2C;
}

.rda-signature__sur {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: .58rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: #B75B2C;
	margin: 0 0 .6rem !important;
}

.rda-signature__nom {
	font-family: "Newsreader", Georgia, serif;
	font-size: 1.25rem;
	line-height: 1.3;
	color: #161310;
	margin: 0 0 .7rem !important;
}

.rda-signature__bio {
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: .88rem;
	line-height: 1.7;
	color: #5c4e3e;
	margin: 0 0 1rem !important;
}

.rda-signature__liens {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.3rem;
	margin: 0 0 .9rem !important;
}

.rda-signature__liens a {
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: .82rem;
	color: #B75B2C;
	text-decoration: none;
	border-bottom: 1px solid rgba(183, 91, 44, .4);
}

.rda-signature__liens a:hover,
.rda-signature__liens a:focus {
	border-bottom-color: #B75B2C;
}

.rda-signature__maj {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: .62rem;
	letter-spacing: .06em;
	color: #8a7c6c;
	margin: 0 !important;
}
