/* =========================================================
   Autour des Mondes · base (toutes les pages)
   ========================================================= */

:root {
  --paper: #fbf6ec;
  --paper-2: #f4ead8;
  --paper-3: #eadcc2;
  --ink: #2a2420;
  --ink-2: #594e46;
  --ink-3: #6b5f55;
  --red: #d7343f;
  --red-d: #b8252f;
  --orange: #f2792b;
  --logo-green: #10b463;
  --green: #357835;
  --yellow: #f5b83a;
  --pink: #ee7fa6;
  --night: #1d2752;

  --header-h: 76px;
  --wrap: 1180px;
  --wrap-text: 720px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --shadow-sm: 0 1px 0 rgb(60 40 20 / .06), 0 6px 18px -10px rgb(60 40 20 / .35);
  --shadow: 0 2px 0 rgb(60 40 20 / .05), 0 18px 40px -18px rgb(60 40 20 / .45);

  --ff-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-sans: Nunito, ui-rounded, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);

  /* forme « bord fait main » des boutons et cadres */
  --blob: 255px 18px 225px 18px / 18px 225px 18px 255px;
  --blob-2: 18px 225px 18px 255px / 255px 18px 225px 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--ff-sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* grain de papier sur toute la page */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 70;
  opacity: .32; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45  0 0 0 0 .38  0 0 0 0 .3  0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: #fde2b0; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--text { width: min(var(--wrap-text), 100% - 2 * var(--gutter)); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.h2 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.h2 em { font-style: italic; color: var(--ink-2); }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); text-wrap: pretty; }
.eyebrow, .kicker {
  font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: .9rem;
}

/* étiquette « Planche N » : le numéro au dos des cartes de kamishibaï */
.tag-planche {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 800; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 1.1rem;
}
.tag-planche i {
  width: 22px; height: 16px; border: 1.5px solid currentColor; border-radius: 3px; position: relative;
  box-shadow: 4px -4px 0 -1.5px var(--paper), 4px -4px 0 0 currentColor;
}
.tag-planche--light { color: #c9cff0; }
.tag-planche--light i { box-shadow: 4px -4px 0 -1.5px var(--night), 4px -4px 0 0 currentColor; }

/* ---------- boutons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: .85rem 1.5rem;
  border: 0; border-radius: var(--blob);
  background: var(--bg); color: var(--fg);
  font: 800 1rem/1.1 var(--ff-sans); text-decoration: none; letter-spacing: .01em; text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 0 rgb(0 0 0 / .12), 0 10px 20px -12px rgb(0 0 0 / .5);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-radius .5s var(--ease), background-color .25s;
}
.btn:hover { transform: translateY(-2px) rotate(-.6deg); border-radius: var(--blob-2); box-shadow: 0 3px 0 rgb(0 0 0 / .12), 0 16px 26px -14px rgb(0 0 0 / .55); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn:disabled, .btn.is-loading { opacity: .7; cursor: progress; }
.btn--red { --bg: var(--red); }
.btn--red:hover { --bg: var(--red-d); }
.btn--yellow { --bg: var(--yellow); --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { --bg: rgb(255 255 255 / .6); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--sm { min-height: 42px; padding: .6rem 1.1rem; font-size: .92rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-weight: 800; text-decoration: none; color: var(--red-d);
}
.link-arrow svg { width: 26px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- logo reconstruit en SVG ---------- */
.wordmark { display: block; overflow: visible; }
.wordmark text { font-family: var(--ff-serif); font-size: 92px; font-weight: 400; fill: var(--ink); letter-spacing: 1px; }
.wordmark__des { font-style: italic; font-weight: 600; }
.wordmark__arc { fill: none; stroke: var(--ink); stroke-width: 4.5; stroke-linecap: round; filter: url(#f-crayon); opacity: .9; }
.wordmark__o--1 { fill: var(--orange); }
.wordmark__o--2 { fill: var(--logo-green); }
.wordmark__d { fill: var(--yellow); filter: url(#f-crayon); }
.wordmark__traveler { fill: var(--red); opacity: 0; }

/* =========================================================
   EN-TÊTE
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
  padding-inline: var(--gutter);
  transition: background-color .4s, box-shadow .4s, transform .5s var(--ease);
}
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.site-header.is-scrolled, body:not(.home) .site-header {
  background: rgb(251 246 236 / .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgb(60 40 20 / .08), 0 8px 24px -18px rgb(60 40 20 / .5);
}
.site-header.is-hidden { transform: translateY(-110%); }
.admin-bar .site-header.is-hidden { transform: translateY(calc(-110% - 46px)); }
.brand { display: block; width: clamp(190px, 18vw, 270px); flex-shrink: 0; margin-top: 4px; }
.brand .wordmark { width: 100%; height: auto; }
.site-nav { margin-inline: auto; }
.site-nav ul { display: flex; gap: clamp(14px, 2vw, 30px); list-style: none; margin: 0; padding: 0; }
.site-nav a { position: relative; text-decoration: none; font-weight: 700; font-size: .98rem; padding: .4rem 0; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5 C 25 2, 60 1, 98 4' fill='none' stroke='%23f2792b' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  clip-path: inset(0 100% 0 0); transition: clip-path .45s var(--ease);
}
.site-nav a:hover::after, .site-nav a.is-current::after, .site-nav .current-menu-item > a::after, .site-nav .current_page_parent > a::after { clip-path: inset(0 0 0 0); }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; transition: background-color .25s; }
.icon-btn:hover { background: rgb(42 36 32 / .07); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn svg .fill { fill: var(--ink); stroke: none; }
.cart__count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--logo-green); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; padding: 0 4px; }
.cart__count[data-count="0"] { display: none; }
.cart.is-bump { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.25) rotate(-8deg); } 60% { transform: scale(.95) rotate(4deg); } }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.menu-mobile {
  position: fixed; inset: 0; z-index: 55;
  background: var(--paper-2);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  overflow: auto; transform-origin: 100% 0;
}
.menu-mobile[hidden] { display: none; }
.menu-mobile ul { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu-mobile li { border-bottom: 1px dashed var(--paper-3); counter-increment: m; }
.menu-mobile a:not(.btn) { display: block; padding: 14px 0; text-decoration: none; font: 500 2rem/1.1 var(--ff-serif); }
.menu-mobile a:not(.btn)::before { content: "Planche " counter(m); display: block; font: 800 .7rem/1 var(--ff-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.menu-mobile__contact { margin: 28px 0 0; }
.menu-mobile__world { width: 160px; margin: 30px auto 0; }

/* =========================================================
   PAGES INTÉRIEURES
   ========================================================= */
.page-main { padding-top: calc(var(--header-h) + clamp(32px, 5vw, 64px)); padding-bottom: clamp(100px, 12vw, 160px); }
.page-head { max-width: 820px; margin-bottom: clamp(28px, 4vw, 48px); }
.page-head .h2 { margin-bottom: .8rem; }
.page-head .lead { margin-bottom: 0; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 1.4rem; font-size: .85rem; font-weight: 700; color: var(--ink-3); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { opacity: .6; }

/* rubriques du blog */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow-sm); text-decoration: none; font-weight: 800; font-size: .9rem;
  transition: transform .3s var(--ease), background-color .25s;
}
.chip small { font-size: .75rem; color: var(--ink-3); }
.chip:hover { transform: translateY(-2px) rotate(-1deg); }
.chip.is-current { background: var(--ink); color: var(--paper); }
.chip.is-current small { color: var(--paper-3); }

/* ---------- cartes d'articles ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 34px); }
.posts--grid { row-gap: clamp(34px, 4vw, 54px); }
.post a { display: block; text-decoration: none; height: 100%; }
.post__img { overflow: hidden; border-radius: 18px; margin-bottom: 16px; box-shadow: var(--shadow-sm); background: var(--paper-3); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post__img img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: transform .8s var(--ease); }
.post a:hover .post__img { transform: rotate(-1.2deg) translateY(-4px); box-shadow: var(--shadow); }
.post a:hover .post__img img { transform: scale(1.05); }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .85rem; color: var(--ink-3); font-weight: 700; margin-bottom: .5rem; }
.post__cat { padding: 3px 10px; border-radius: 999px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; color: var(--ink); background: var(--paper-3); }
.post__cat--bienetre, .chip--bienetre.is-current { background: #fbd9c6; color: var(--ink); }
.post__cat--voyage, .chip--voyage.is-current { background: #d3e7f4; color: var(--ink); }
.post__cat--nature, .chip--nature.is-current { background: #d9ecd2; color: var(--ink); }
.post__title { font: 600 1.35rem/1.2 var(--ff-serif); margin-bottom: .5rem; text-wrap: balance; }
.post__excerpt { color: var(--ink-2); font-size: .97rem; margin: 0; }

/* ---------- pagination ---------- */
.pagination { margin-top: clamp(40px, 5vw, 64px); }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px;
  background: #fff; box-shadow: var(--shadow-sm); text-decoration: none; font-weight: 800;
}
.page-numbers.current { background: var(--ink); color: var(--paper); }
.page-numbers.dots { background: none; box-shadow: none; }
.page-numbers svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   ARTICLE
   ========================================================= */
.article__title { font: 500 clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem)/1.08 var(--ff-serif); letter-spacing: -.015em; text-wrap: balance; margin-bottom: 1.1rem; }
.article__meta { margin-bottom: 0; }
.article__cover { margin-block: clamp(28px, 4vw, 48px); max-width: 980px; }
.article__frame {
  padding: clamp(8px, 1.2vw, 16px); background: linear-gradient(160deg, #262423, #141312 55%, #0d0c0c);
  border-radius: 10px; box-shadow: var(--shadow); rotate: -.6deg;
}
.article__frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.article__foot { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 24px; }
.article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.article__tags a { padding: 4px 12px; border-radius: 999px; background: var(--paper-2); text-decoration: none; font-size: .85rem; font-weight: 700; }
.author-box { display: flex; gap: 18px; align-items: flex-start; padding: 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.author-box img { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; background: var(--paper); padding: 5px; }
.author-box p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.author-box .author-box__name { font: 600 1.15rem/1.3 var(--ff-serif); color: var(--ink); margin-bottom: .3rem; }
.related { margin-top: clamp(64px, 8vw, 110px); }
.related__title { margin-bottom: clamp(24px, 3vw, 40px); }

/* ---------- texte long (articles, pages) ---------- */
.prose { font-size: 1.12rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose > * { margin-bottom: 0; }
.prose h2 { font: 500 clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem)/1.15 var(--ff-serif); margin-top: 2em; text-wrap: balance; }
.prose h3 { font: 600 clamp(1.3rem, 1.1rem + .7vw, 1.6rem)/1.2 var(--ff-serif); margin-top: 1.8em; }
.prose h4 { font: 800 1.05rem/1.3 var(--ff-sans); margin-top: 1.6em; }
.prose a { color: var(--red-d); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:hover { color: var(--red-d); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--red); }
.prose img, .prose figure img { border-radius: 12px; }
.prose figure { margin-inline: 0; }
.prose figcaption, .prose .wp-caption-text, .prose .wp-element-caption { margin-top: .6rem; font-size: .9rem; font-style: italic; color: var(--ink-3); text-align: center; }
.prose .wp-caption { max-width: 100%; }
.prose blockquote, .prose .wp-block-quote {
  margin-inline: 0; padding: 18px 22px 18px 26px; position: relative;
  font: italic 500 1.2rem/1.55 var(--ff-serif); background: #fff; border-radius: 4px 16px 16px 4px; box-shadow: var(--shadow-sm);
}
.prose blockquote::before, .prose .wp-block-quote::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 2px; background: var(--yellow); }
.prose blockquote p { margin: 0; }
.prose blockquote cite { display: block; margin-top: .6rem; font: 800 .85rem/1 var(--ff-sans); font-style: normal; color: var(--ink-3); }
.prose hr, .prose .wp-block-separator {
  border: 0; height: 14px; margin-block: 2.4em; opacity: .7;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Cpath d='M2 8 C 20 2, 40 12, 60 7 S 100 2, 118 8' fill='none' stroke='%23d7343f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 120px 14px no-repeat;
}
.prose table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--paper-3); text-align: left; }
.prose pre { overflow-x: auto; padding: 16px; background: var(--paper-2); border-radius: 12px; font-size: .9rem; white-space: pre-wrap; }
.prose .alignwide { width: min(var(--wrap), 100vw - 2 * var(--gutter)); max-width: none; margin-inline: calc((100% - min(var(--wrap), 100vw - 2 * var(--gutter))) / 2); }
.prose .alignfull { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); }
.prose .aligncenter { margin-inline: auto; }
.prose .wp-block-image.alignleft, .prose .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.prose .wp-block-image.alignright, .prose .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.prose .wp-block-button__link { border-radius: var(--blob); font-weight: 800; padding: .85rem 1.5rem; text-decoration: none; }
.prose .wp-block-gallery { gap: 12px; }
.prose::after { content: ""; display: table; clear: both; }

/* ---------- newsletter (WPForms « Newsletter Francesca ») ---------- */
.newsletter-box { padding: 26px; background: var(--paper-2); border-radius: var(--radius); }
.newsletter-box__title, .soir__newsletter-title { font: 600 1.35rem/1.25 var(--ff-serif); margin-bottom: .3rem; }
.newsletter-box > p:not(.newsletter-box__title) { color: var(--ink-2); }
div.wpforms-container-full, div.wpforms-container { margin: 16px 0 0 !important; }
.wpforms-container .wpforms-form .wpforms-field-container { display: grid; gap: 14px; }
.wpforms-container .wpforms-form .wpforms-field { padding: 0 !important; }
.wpforms-container .wpforms-form .wpforms-field-label { font: 800 .82rem/1.3 var(--ff-sans) !important; margin-bottom: 6px !important; color: inherit !important; }
.wpforms-container .wpforms-form input[type="text"], .wpforms-container .wpforms-form input[type="email"], .wpforms-container .wpforms-form textarea, .wpforms-container .wpforms-form select {
  width: 100% !important; max-width: none !important; height: 50px; padding: 0 14px !important;
  border: 2px solid var(--paper-3) !important; border-radius: 12px !important; background: var(--paper) !important;
  font: inherit !important; color: var(--ink) !important; box-shadow: none !important;
}
.wpforms-container .wpforms-form textarea { height: 140px; padding: 12px 14px !important; }
.wpforms-container .wpforms-form input:focus, .wpforms-container .wpforms-form textarea:focus { border-color: var(--orange) !important; outline: none; }
.wpforms-container .wpforms-form .wpforms-field-row { max-width: none !important; display: flex; gap: 12px; margin: 0 !important; }
.wpforms-container .wpforms-form .wpforms-field-row::before, .wpforms-container .wpforms-form .wpforms-field-row::after { display: none !important; }
.wpforms-container .wpforms-form .wpforms-field-row-block { flex: 1; width: auto !important; padding: 0 !important; margin: 0 !important; float: none !important; }
.wpforms-container .wpforms-form .wpforms-field-sublabel { font-size: .75rem !important; color: var(--ink-3) !important; }
.wpforms-container .wpforms-form .wpforms-submit-container { padding: 14px 0 0 !important; }
.wpforms-container .wpforms-form button[type="submit"] {
  min-height: 52px !important; padding: .85rem 1.5rem !important; border: 0 !important; border-radius: var(--blob) !important;
  background: var(--red) !important; color: #fff !important; font: 800 1rem/1.1 var(--ff-sans) !important;
  box-shadow: 0 2px 0 rgb(0 0 0 / .12), 0 10px 20px -12px rgb(0 0 0 / .5) !important; cursor: pointer;
}
.wpforms-container .wpforms-form button[type="submit"]:hover { background: var(--red-d) !important; }
.wpforms-confirmation-container-full { background: #e7f4e3 !important; border: 0 !important; border-radius: 12px !important; color: var(--ink) !important; }

/* ---------- commentaires ---------- */
.comments { margin-top: clamp(56px, 7vw, 90px); }
.comments__title { font: 500 clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem)/1.15 var(--ff-serif); margin-bottom: 1.4rem; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { margin-left: clamp(16px, 4vw, 44px); }
.comment-body { padding: 18px 20px; margin-bottom: 14px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: .6rem; font-size: .85rem; color: var(--ink-3); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); }
.comment-author .avatar { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata a { text-decoration: none; }
.comment-content p:last-child { margin-bottom: 0; }
.reply { margin-top: .6rem; }
.comment-reply-link { font-weight: 800; font-size: .85rem; color: var(--red); text-decoration: none; }
.comment-respond { margin-top: 28px; padding: 24px; background: var(--paper-2); border-radius: var(--radius); }
.comment-reply-title { font: 600 1.35rem/1.25 var(--ff-serif); margin-bottom: .6rem; }
.comment-form { display: grid; gap: 12px; }
.comment-form label { display: block; font-weight: 800; font-size: .82rem; margin-bottom: 6px; }
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea {
  width: 100%; padding: 12px 14px; border: 2px solid var(--paper-3); border-radius: 12px; background: var(--paper); font: inherit;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--orange); outline: none; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.comment-form-cookies-consent label { font-weight: 600; font-size: .9rem; }
.comment-notes { font-size: .9rem; color: var(--ink-3); }

/* ---------- recherche, liste vide, 404 ---------- */
.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form input {
  flex: 1; min-width: 0; height: 50px; padding: 0 16px; border: 2px solid var(--paper-3); border-radius: 12px; background: #fff; font: inherit;
}
.search-form input:focus { border-color: var(--orange); outline: none; }
.search-form .btn { min-height: 50px; }
@media (max-width: 480px) { .search-form .btn span { display: none; } }
.search-again { margin-bottom: clamp(28px, 4vw, 44px); }
.empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 30px 0; }
.empty img { width: 180px; }
.lost { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: center; min-height: 60vh; }
.lost__world { width: min(320px, 70%); margin-inline: auto; animation: float 5s ease-in-out infinite alternate; }
@keyframes float { to { transform: translateY(-14px) rotate(-3deg); } }
.lost .h2 { margin-bottom: 1rem; }
.lost__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 2rem; }

/* ---------- prix (partagés accueil / boutique) ---------- */
.price { font: 800 1.1rem/1 var(--ff-sans); }
.price--big { font-size: 1.7rem; }
.price del { color: var(--ink-3); font-weight: 600; margin-right: 4px; text-decoration-thickness: 1.5px; }
.price ins { text-decoration: none; }
.price--free, .price .price--free { color: var(--green); }

.reassure { list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; border-top: 1px dashed var(--paper-3); font-weight: 700; font-size: .92rem; color: var(--ink-2); }
.reassure li::before { content: "✦"; color: var(--red); margin-right: 8px; }
.fly-star { position: fixed; z-index: 90; width: 22px; height: 22px; pointer-events: none; background: var(--yellow); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.site-footer { position: relative; z-index: 2; margin-top: -60px; }
.hills { display: block; width: 100%; height: clamp(90px, 12vw, 190px); }
.hills__3 { fill: #a9c97a; }
.hills__2 { fill: #7fae4a; }
.hills__1 { fill: #3e702b; }
.site-footer__body { background: #3e702b; color: #f6f1e4; padding: 10px 0 30px; margin-top: -1px; }
.fin { text-align: center; padding: 10px 0 50px; }
.fin__word { font: italic 600 clamp(3.4rem, 2rem + 6vw, 7rem)/1 var(--ff-serif); margin: 0; }
.fin__sub { margin: .6rem 0 0; font-size: 1.1rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.4fr; gap: 32px; padding: 34px 0; border-top: 1px dashed rgb(246 241 228 / .35); }
.footer-grid h2 { font: 800 .75rem/1 var(--ff-sans); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-grid a:not(.btn) { text-decoration: none; }
.footer-grid a:not(.btn):hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-grid .btn { word-break: break-all; }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand__emblem { width: 72px; height: 72px; background: #fbf6ec; border-radius: 50%; padding: 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px dashed rgb(246 241 228 / .35); font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }
.back-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.back-top svg { width: 12px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-credit { display: inline-flex; align-items: center; gap: 8px; }
.footer-credit img { width: 20px; height: 20px; border-radius: 5px; }
.footer-bottom .footer-credit a { text-decoration: underline; text-decoration-color: rgb(246 241 228 / .45); text-underline-offset: 3px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .site-nav { display: none; }
  .burger { display: block; }
  .site-header__actions { margin-left: auto; }
}
@media (max-width: 999px) {
  .posts { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lost { grid-template-columns: 1fr; text-align: center; }
  .lost__ctas, .lost .search-form { justify-content: center; margin-inline: auto; }
}
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .site-header { gap: 10px; }
  .site-header__cta, .site-header .icon-btn:first-child { display: none; }
  .posts { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; }
  .prose .alignleft, .prose .alignright { float: none; max-width: 100%; margin-inline: 0; }
}

/* =========================================================
   MOUVEMENT RÉDUIT : tout reste lisible, rien ne bouge seul
   ========================================================= */
.reduced-motion *, .reduced-motion *::before, .reduced-motion *::after { animation: none !important; transition-duration: .01ms !important; }

/* ---------- pages de travail : encadré et passages à compléter ---------- */
.prose .adm-note { padding: 16px 20px; border-radius: 14px; background: #fff4d6; border: 1px dashed #e0b84a; font-size: .97rem; }
mark.adm-todo { background: #fde68a; color: var(--ink); padding: 0 .25em; border-radius: 4px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.contact__intro .h2 { margin-bottom: 1.2rem; }
.contact__text { font-size: 1.08rem; }
.contact__text ul { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 1.4em; }
.contact__text li { position: relative; padding: 14px 16px 14px 46px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); font-size: 1rem; line-height: 1.5; }
.contact__text li + li { margin-top: 0; }
.contact__text li::before { content: "✦"; position: absolute; left: 18px; top: 14px; color: var(--red); }
.contact__alt { margin-top: 1.8rem; color: var(--ink-2); font-size: .97rem; line-height: 1.8; }
.contact__alt a { color: var(--red-d); font-weight: 700; text-underline-offset: 3px; }
/* le formulaire : une carte bordée du papier fleuri du butaï */
.contact__card { position: relative; padding: calc(clamp(22px, 3vw, 34px) + 12px) clamp(22px, 3vw, 34px) clamp(22px, 3vw, 34px); background: #fff; border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; rotate: .4deg; }
.contact__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 14px; background: url(../img/sakura.webp) 0 0 / 160px; box-shadow: inset 0 -2px 0 #151312; }
.contact__card div.wpforms-container-full { margin: 0 !important; }
.contact__card .wpforms-container .wpforms-form .wpforms-field-container { gap: 16px; }
.contact__privacy { margin: 14px 0 0; font-size: .85rem; color: var(--ink-3); }
.contact__privacy a { color: inherit; }
.footer-mail { margin: .7rem 0 0; font-size: .85rem; }
.footer-mail a { text-decoration: underline !important; text-underline-offset: 3px; }
@media (max-width: 999px) {
  .contact { grid-template-columns: 1fr; }
  .contact__card { rotate: 0deg; }
}

/* ---------- la lettre (page Newsletter) ---------- */
.lettre { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.lettre__intro .h2 { margin-bottom: 1rem; }
.lettre__illus { width: 100%; border-radius: 22px; box-shadow: var(--shadow); margin-top: 1.6rem; rotate: -.6deg; }
.lettre__card { margin-top: clamp(0px, 4vw, 60px); }
.lettre__recu { margin-top: clamp(56px, 8vw, 100px); }
.lettre__recu .h2 { margin-bottom: 1.6rem; }
.lettre__recu ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 34px); }
.lettre__recu img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-sm); margin-bottom: 14px; aspect-ratio: 3 / 2; object-fit: cover; }
.lettre__recu h3 { font: 600 1.3rem/1.2 var(--ff-serif); margin-bottom: .4rem; }
.lettre__recu p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.contact__illus { width: 100%; max-width: 420px; border-radius: 18px; box-shadow: var(--shadow-sm); margin-top: 1.6rem; rotate: -.8deg; }

/* ---------- Bienvenue : l'histoire offerte, sous les étoiles ---------- */
.bienvenue { position: relative; overflow: clip; background: var(--night); color: #f4efe6; padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(120px, 14vw, 180px); }
.bienvenue .night-sky { position: absolute; inset: 0; opacity: .9; background-image:
  radial-gradient(1.5px 1.5px at 8% 18%, #fff, transparent), radial-gradient(1px 1px at 22% 62%, #fff, transparent),
  radial-gradient(2px 2px at 35% 12%, #ffe9a8, transparent), radial-gradient(1px 1px at 48% 80%, #fff, transparent),
  radial-gradient(1.5px 1.5px at 62% 28%, #fff, transparent), radial-gradient(1px 1px at 75% 70%, #fff, transparent),
  radial-gradient(2px 2px at 88% 16%, #fff, transparent), radial-gradient(1px 1px at 94% 52%, #ffe9a8, transparent);
  background-size: 600px 400px; }
.bienvenue__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; grid-template-areas: "text player" "text coin"; gap: clamp(28px, 3vw, 40px) clamp(32px, 6vw, 90px); align-items: center; }
.bienvenue__text { grid-area: text; }
.bienvenue__player { grid-area: player; }
.bienvenue .coin-parents { grid-area: coin; justify-self: center; }
.bienvenue .h2 { margin-bottom: 1.2rem; }
.bienvenue .h2 em { color: #ffd98a; }
.bienvenue__content { font-size: 1.08rem; line-height: 1.75; color: #dfe3f7; }
.bienvenue__content a { color: #ffd98a; }
.bienvenue__player { margin: 0; display: grid; justify-items: center; gap: 18px; text-align: center; }
.bienvenue__player img { width: min(320px, 70vw); aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 8px rgb(255 255 255 / .06), 0 0 60px 10px rgb(255 222 140 / .25), 0 30px 60px -20px rgb(0 0 0 / .7); }
.bienvenue__title { margin: 0 0 10px; font: italic 600 1.35rem/1.2 var(--ff-serif); }
.bienvenue__player audio { width: min(340px, 80vw); }
.bienvenue__tip { margin: 8px 0 0; font-size: .9rem; color: #c9cff0; }
@media (max-width: 999px) {
  .lettre, .bienvenue__inner { grid-template-columns: 1fr; }
  .lettre__recu ul { grid-template-columns: 1fr; }
  .bienvenue__inner { grid-template-areas: "player" "text" "coin"; }
}

/* Le coin des parents : la place du partenaire (Klelia), pour l'adulte, toujours signalée */
.coin-parents { display: grid; gap: 14px; max-width: 680px; padding-top: 22px; border-top: 1px dashed var(--paper-3); }
.coin-parents[hidden] { display: none; }
.coin-parents__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.coin-parents__title { margin: 0; font: 500 1.35rem/1.2 var(--ff-serif); color: var(--ink); }
.coin-parents__tag { padding: 5px 10px; border: 1px solid currentColor; border-radius: 999px; font: 800 .66rem/1 var(--ff-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.coin-parents__body { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; }
.coin-parents__icon { width: 56px; height: 56px; border-radius: 13px; }
.coin-parents__text { display: grid; gap: 10px; justify-items: start; }
.coin-parents__text p { margin: 0; color: var(--ink-2); }
.coin-parents__text strong { color: var(--ink); }
.coin-parents .coin-parents__mot { font: italic 1.05rem/1.5 var(--ff-serif); color: var(--ink); }
.coin-parents__mot span { margin-left: 4px; font: 800 .8rem/1 var(--ff-sans); color: var(--ink-3); }
.coin-parents__disclose { margin: 0; font-size: .82rem; color: var(--ink-3); }
.coin-parents--carte { width: min(100%, 440px); padding: 20px 22px; border-top: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink); text-align: left; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); }

/* ---------- carte d'un jeu (accueil, pages par âge, pages des jeux, après l'achat) ---------- */
.jeu-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; background: #fffaf1; box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.jeu-card:hover, .jeu-card:focus-visible { transform: translateY(-3px) rotate(-.3deg); box-shadow: var(--shadow); }
.jeu-card__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.jeu-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.jeu-card:hover .jeu-card__img img { transform: scale(1.04); }
.jeu-card__play { position: absolute; right: 12px; bottom: 12px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: var(--shadow-sm); }
.jeu-card__play svg { width: 20px; height: 20px; margin-left: 3px; fill: var(--red); }
.jeu-card__body { display: grid; align-content: start; gap: 4px; padding: 16px 18px 20px; }
.jeu-card__meta { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.jeu-card__name { font: 500 1.3rem/1.2 var(--ff-serif); }
.jeu-card__text { font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
