/* ==========================================================================
   Afrique Love — feuille de style
   Palette tirée du logo : rouge bulle, or, sarcelle, encre nuit, terre.
   ========================================================================== */
:root {
  --paper: #FFFBF5;
  --cream: #FFF3E2;
  --sand: #F8EAD6;
  --ink: #1C1B33;
  --ink-2: #4A4863;
  --muted: #6F6C86;
  --line: #EADFCF;
  --red: #D32B27;
  --red-d: #B01F1C;
  --gold: #F2B134;
  --gold-d: #A8680A;
  --teal: #1E8A87;
  --teal-d: #14625F;
  --plum: #6B2D5C;
  --clay: #8A4B2D;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(28,27,51,.06), 0 8px 24px -8px rgba(28,27,51,.14);
  --shadow-lg: 0 2px 4px rgba(28,27,51,.06), 0 22px 48px -16px rgba(28,27,51,.28);
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
  --kente: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='12'%3E%3Cpath d='M0 12 6 0l6 12z' fill='%23D32B27'/%3E%3Cpath d='M12 12 18 0l6 12z' fill='%23F2B134'/%3E%3Cpath d='M24 12 30 0l6 12z' fill='%231E8A87'/%3E%3Cpath d='M36 12 42 0l6 12z' fill='%231C1B33'/%3E%3C/svg%3E");
  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M22 4 40 22 22 40 4 22z' fill='none' stroke='%23fff' stroke-opacity='.22' stroke-width='2'/%3E%3Cpath d='M22 13 31 22 22 31 13 22z' fill='%23fff' fill-opacity='.14'/%3E%3C/svg%3E");
}

/* Thèmes par rubrique */
.t-default,
.t-rencontres-seduction { --accent: var(--red);   --accent-ink: var(--red-d);  --tint: #FDE7E3; --grad: linear-gradient(135deg, #E8483F, #A91F28); }
.t-vie-de-couple        { --accent: var(--gold);  --accent-ink: var(--gold-d); --tint: #FFF0CC; --grad: linear-gradient(135deg, #F5BC48, #D98A12); }
.t-lifestyle-culture    { --accent: var(--teal);  --accent-ink: var(--teal-d); --tint: #DDF2F0; --grad: linear-gradient(135deg, #2BA7A2, #146A68); }
.t-rupture-solo         { --accent: #4B4A9A;      --accent-ink: #3A3980;        --tint: #E8E7F8; --grad: linear-gradient(135deg, #5B59B3, #2D2C66); }
.t-psychologie-amoureuse{ --accent: var(--plum);  --accent-ink: var(--plum);    --tint: #F6E4F0; --grad: linear-gradient(135deg, #8A3E78, #521F46); }
.t-default              { --accent: var(--clay);  --accent-ink: var(--clay);    --tint: #F6E7DC; --grad: linear-gradient(135deg, #A4603F, #6B3820); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .18em; }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 200; transition: top .2s; }
.skip-link:focus { top: 12px; }
.center { text-align: center; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.wrap--narrow { width: min(780px, 100% - 2.5rem); }
.wrap--post { width: min(860px, 100% - 2.5rem); }

.kente { height: 8px; background: var(--kente) repeat-x left bottom / 48px 12px; background-color: transparent; }
.kente--lg { height: 12px; }

/* ---------- Boutons / chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; cursor: pointer; border: 0;
  font: 700 .95rem/1 var(--font-body); padding: .95rem 1.4rem; border-radius: 999px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(28,27,51,.4); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-d); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #F7C25A; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2D2B52; }

.chip {
  display: inline-block; font: 700 .72rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-ink, var(--red-d)); background: var(--tint, #FDE7E3); padding: .42rem .7rem; border-radius: 999px; text-decoration: none;
  transition: background-color .15s, color .15s;
}
.chip:hover { background: var(--accent, var(--red)); color: #fff; }
.chip--lg { font-size: .8rem; padding: .55rem .9rem; letter-spacing: .04em; text-transform: none; font-weight: 600; }
.chip small { opacity: .7; margin-left: .25em; font-weight: 500; }
/* chip lisible sur fond teinté */
.post-hero .chip, .page-hero .chip { background: #fff; }
.chips { list-style: none; padding: 0; margin: 1.1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }

.eyebrow { font: 700 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--red-d); margin: 0 0 .9rem; display: flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow--gold { color: var(--gold); }

.notice { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: var(--radius-sm); font-weight: 500; }
.notice--ok { background: #DDF2F0; color: var(--teal-d); }
.notice--err { background: #FDE7E3; color: var(--red-d); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; flex-shrink: 0; }
.brand__mark { width: 38px; height: 38px; }
.brand__word { font: 700 1.45rem/1 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.brand__word em { font-style: italic; font-weight: 600; color: var(--red); margin-left: .06em; }
.brand--light .brand__word { color: #fff; }

.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: block; padding: .6rem .75rem; font: 600 .9rem/1.1 var(--font-body); text-decoration: none; border-radius: 999px; color: var(--ink); white-space: nowrap; }
.nav__link:hover, .nav__item:focus-within > .nav__link { background: var(--sand); }
.nav__item--pill .nav__link { background: var(--ink); color: #fff; margin-left: .35rem; }
.nav__item--pill .nav__link:hover { background: var(--red); }
.nav__toggle { display: none; }
.nav__sub { list-style: none; margin: 0; padding: .5rem; position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .8rem; border-radius: 9px; text-decoration: none; font-size: .92rem; font-weight: 500; }
.nav__sub a:hover { background: var(--cream); }
.nav__sub small { color: var(--muted); font-weight: 500; }

.header-actions { display: flex; align-items: center; gap: .25rem; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; border-radius: 50%; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--sand); }
.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.search-panel { border-top: 1px solid var(--line); background: var(--paper); padding: 1rem 0 1.2rem; }
.search-panel[hidden] { display: none; }

.searchbar { display: flex; gap: .5rem; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: .35rem; transition: border-color .15s, box-shadow .15s; }
.searchbar:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(211,43,39,.12); }
.searchbar input { flex: 1; min-width: 0; border: 0; background: none; font: 500 1rem var(--font-body); padding: .6rem 1rem; color: var(--ink); }
.searchbar input:focus { outline: none; }
.searchbar .btn { padding: .8rem 1.3rem; }
.searchbar--hero { max-width: 560px; box-shadow: var(--shadow); }

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(900px 420px at 85% 0%, rgba(242,177,52,.22), transparent 70%),
  radial-gradient(700px 420px at 0% 100%, rgba(30,138,135,.12), transparent 70%), var(--paper); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 1.02; letter-spacing: -.03em; margin-bottom: .45em; }
.hl { color: var(--red); font-style: italic; position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .16em; background: var(--gold); opacity: .55; border-radius: 3px; z-index: -1; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 36em; margin-bottom: 1.6rem; }
.hero__stats { list-style: none; display: flex; flex-wrap: wrap; gap: 1.6rem 2.2rem; padding: 0; margin: 2rem 0 0; }
.hero__stats strong { display: block; font: 700 1.9rem/1 var(--font-display); color: var(--ink); }
.hero__stats span { font-size: .85rem; color: var(--muted); }
.hero__art { position: relative; display: grid; place-items: center; min-height: 340px; }
/* Hero animé : couple (respiration), bulle (battement), cœurs qui montent, étiquettes qui flottent */
.hero__scene { position: relative; width: min(100%, 460px); aspect-ratio: 1; translate: calc(var(--mx, 0) * 8px) calc(var(--my, 0) * 6px); transition: translate .25s ease-out; cursor: pointer; }
.hero__scene img { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 20px 30px rgba(28,27,51,.18)); }
.hero__body { transform-origin: 50% 100%; animation: breathe 5s ease-in-out infinite, lean 9s ease-in-out infinite; }
.hero__bubble { transform-origin: 52% 92%; animation: bubble-in .8s cubic-bezier(.34,1.56,.64,1) .2s backwards, heartbeat 2.6s ease-in-out 1s infinite; translate: calc(var(--mx, 0) * 14px) calc(var(--my, 0) * 10px); }
.rise { position: absolute; left: calc(50% + var(--x, 0px)); top: 22%; color: var(--red); font-size: var(--s, 1.1rem); line-height: 1; opacity: 0; pointer-events: none; animation: rise 4.8s ease-out var(--d, 0s) infinite; }
.hero__ring { position: absolute; inset: 8% 6%; border: 3px dashed rgba(242,177,52,.55); border-radius: 50%; animation: spin 40s linear infinite; }
.hero__blob { position: absolute; inset: 6% 4%; background: var(--cream); border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; box-shadow: inset 0 0 0 10px rgba(242,177,52,.28); animation: morph 14s ease-in-out infinite; }
.float { position: absolute; background: #fff; border-radius: 999px; padding: .55rem 1rem; font: 700 .85rem var(--font-body); box-shadow: var(--shadow); transform: rotate(var(--r, 0deg)); translate: calc(var(--mx, 0) * var(--k, 10) * -1px) calc(var(--my, 0) * var(--k, 10) * -1px); animation: pop .6s cubic-bezier(.34,1.56,.64,1) var(--d, .5s) backwards, bob 6s ease-in-out calc(var(--d, .5s) + .6s) infinite; transition: box-shadow .2s; }
.float:hover { box-shadow: 0 10px 26px rgba(28,27,51,.22); }
.float::before { content: "♥"; color: var(--red); margin-right: .45em; display: inline-block; animation: heartbeat 2.6s ease-in-out infinite; }
.float--a { top: 12%; left: 2%; --r: -6deg; --d: .6s; --k: 14; }
.float--b { bottom: 18%; right: 0; --r: 5deg; --d: .9s; --k: 8; }
.float--c { bottom: 6%; left: 10%; --r: -3deg; --d: 1.2s; --k: 12; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes breathe { 0%,100% { transform: scale(1, 1); } 50% { transform: scale(1.012, 1.02); } }
@keyframes lean { 0%,100% { rotate: 0deg; } 50% { rotate: .9deg; } }
@keyframes heartbeat { 0%,100% { transform: scale(1); } 12% { transform: scale(1.09); } 24% { transform: scale(1); } 36% { transform: scale(1.06); } 50% { transform: scale(1); } }
@keyframes bubble-in { from { transform: scale(0) translateY(30px); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes rise { 0% { transform: translateY(0) scale(.5) rotate(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-120px) scale(1.15) rotate(var(--rot, 14deg)); opacity: 0; } }
@keyframes pop { from { transform: rotate(var(--r, 0deg)) scale(0); opacity: 0; } to { transform: rotate(var(--r, 0deg)) scale(1); opacity: 1; } }
@keyframes bob { 0%,100% { transform: rotate(var(--r, 0deg)) translateY(0); } 50% { transform: rotate(calc(var(--r, 0deg) * -.5)) translateY(-9px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes morph { 0%,100% { border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; } 50% { border-radius: 56% 44% 46% 54% / 44% 56% 48% 52%; } }
.burst { position: absolute; color: var(--red); pointer-events: none; font-size: 1.2rem; animation: burst .9s ease-out forwards; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) scale(1.4); opacity: 0; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--tight { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #E9E7F5; background-image: var(--lattice); background-size: 44px 44px; }
.section--ink h2, .section--ink h3, .section--ink .card__title a { color: #fff; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.section__head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; }
.more { font-weight: 700; font-size: .95rem; color: var(--red-d); text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }
.empty { color: var(--ink-2); font-size: 1.1rem; }

/* ---------- Cartes ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; height: 100%; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__media { display: block; text-decoration: none; }
.thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--grad); }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .thumb img { transform: scale(1.04); }
.thumb__fallback { position: absolute; inset: 0; display: grid; place-items: center; background: var(--lattice), var(--grad); background-size: 44px 44px, auto; }
.thumb__fallback span { font: 600 clamp(1rem, 1.6vw, 1.35rem)/1.2 var(--font-display); font-style: italic; color: #fff; text-align: center; padding: 1rem; text-shadow: 0 2px 14px rgba(0,0,0,.25); max-width: 80%; }
.card__body { display: flex; flex-direction: column; gap: .65rem; padding: 1.15rem 1.25rem 1.3rem; flex: 1; align-items: flex-start; }
.card__title { font-size: 1.22rem; line-height: 1.22; margin: 0; }
.card__title a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s; }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* carte entièrement cliquable */
.card { position: relative; }
.card .chip { position: relative; z-index: 2; }
.card:hover .card__title a { background-size: 100% 2px; }
.card__excerpt { color: var(--ink-2); font-size: .96rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { margin: auto 0 0; padding-top: .3rem; display: flex; gap: .5rem; color: var(--muted); font-size: .84rem; }

.card--lg { }
.card--lg .thumb { aspect-ratio: 16 / 9; }
.card--lg .card__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.card--lg .card__body { padding: 1.5rem 1.7rem 1.7rem; gap: .8rem; }
.card--row { flex-direction: row; }
.card--row .card__media { flex: 0 0 38%; }
.card--row .thumb { height: 100%; aspect-ratio: auto; min-height: 150px; }
.card--row .card__title { font-size: 1.12rem; }
.card--row .card__excerpt { -webkit-line-clamp: 2; font-size: .9rem; }
.card--sm .thumb { aspect-ratio: 4 / 3; }
.card--sm .card__title { font-size: 1.05rem; }
.card--sm .card__body { padding: .95rem 1.05rem 1.1rem; }
.bento { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.6rem; align-items: stretch; }
.bento__side { display: grid; gap: 1.6rem; grid-template-rows: 1fr 1fr; }
.grid--dark .card { background: #26244A; border-color: rgba(255,255,255,.1); }
.grid--dark .card__excerpt, .grid--dark .card__meta { color: #C9C6E4; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(270px, 74vw); gap: 1.2rem; overflow-x: auto; padding: .4rem .2rem 1.4rem; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--clay) transparent; }
.rail > * { scroll-snap-align: start; }
.rail:focus-visible { outline-offset: 0; }

/* ---------- Thèmes (tuiles) ---------- */
.topics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.topic { display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem 1.2rem; border-radius: var(--radius); background: var(--tint); color: var(--ink); text-decoration: none; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; border: 1px solid transparent; }
.topic:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.topic__icon { color: var(--accent-ink); margin-bottom: .6rem; }
.topic__name { font: 600 1.15rem/1.15 var(--font-display); }
.topic__count { font-weight: 700; font-size: .8rem; color: var(--accent-ink); }
.topic__subs { font-size: .82rem; color: var(--ink-2); margin-top: .4rem; line-height: 1.45; }
.topic::after { content: ""; position: absolute; right: -26px; bottom: -26px; width: 90px; height: 90px; border-radius: 50%; background: var(--accent); opacity: .14; }

/* ---------- Deux colonnes / sidebar ---------- */
.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2.5rem; align-items: start; }
.layout-2 .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1.5rem; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.widget__title { font-size: 1.2rem; margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 2px solid var(--ink); }
.popular { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: p; }
.popular li { display: flex; gap: .9rem; align-items: flex-start; }
.popular__n { flex: 0 0 auto; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--red-d); font: 700 1rem var(--font-display); }
.popular a { font-weight: 600; line-height: 1.3; text-decoration: none; display: block; }
.popular a:hover { color: var(--red-d); text-decoration: underline; }
.popular small { color: var(--muted); }
.layout-2 > div > .center { margin-top: 2rem; }

/* ---------- Newsletter ---------- */
.newsletter { border-radius: var(--radius); }
.newsletter h2 { margin-bottom: .4em; }
.newsletter p { margin-bottom: .8em; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.newsletter__form input[type=email] { flex: 1 1 220px; min-width: 0; font: 500 1rem var(--font-body); padding: .95rem 1.2rem; border: 2px solid transparent; border-radius: 999px; background: #fff; color: var(--ink); }
.newsletter__form input[type=email]:focus { outline: none; border-color: var(--gold); }
.newsletter__msg { flex-basis: 100%; margin: 0; min-height: 1.3em; font-weight: 600; font-size: .92rem; }
.newsletter__msg.is-ok { color: #0E5A2A; }
.newsletter__msg.is-err { color: var(--red-d); }
.newsletter--band { background: var(--red); background-image: var(--lattice); background-size: 44px 44px; color: #fff; padding: clamp(1.8rem, 4vw, 3rem); display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; box-shadow: var(--shadow-lg); }
.newsletter--band h2, .newsletter--band .eyebrow { color: #fff; }
.newsletter--band .eyebrow::before { background: var(--gold); }
.newsletter--band .newsletter__msg.is-ok, .newsletter--band .newsletter__msg.is-err { color: #fff; }
.newsletter--box { background: var(--ink); color: #E9E7F5; padding: 1.5rem; }
.newsletter--box h2 { color: #fff; font-size: 1.4rem; }
.newsletter--box .eyebrow { color: var(--gold); }
.newsletter--box p { font-size: .93rem; }
.newsletter--box .newsletter__form { flex-direction: column; align-items: stretch; }
.newsletter--box .newsletter__form input[type=email] { flex: none; width: 100%; }
.newsletter--box .newsletter__msg.is-ok { color: #9FE3B5; }
.newsletter--box .newsletter__msg.is-err { color: #FFB4AE; }

/* ---------- Sécurité ---------- */
.secu__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.secu__head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: .3em; }
.secu__head p { max-width: 40em; margin: 0; color: #C9C6E4; }

/* ---------- En-têtes de page ---------- */
.page-hero { background: var(--tint); padding: clamp(1.5rem, 3.5vw, 2.8rem) 0 clamp(1.8rem, 4vw, 3rem); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: var(--accent); opacity: .12; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: .3em; }
.page-hero__intro { font-size: 1.15rem; color: var(--ink-2); max-width: 46em; }
.page-hero__count { font-weight: 700; font-size: .85rem; color: var(--accent-ink); margin: 0; letter-spacing: .02em; }
.crumbs { margin-bottom: 1rem; font-size: .86rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .3rem; opacity: .5; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; color: var(--ink); }

/* ---------- Pagination ---------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-top: 2.5rem; }
.pagination ul { list-style: none; display: flex; gap: .3rem; padding: 0; margin: 0; }
.pagination li a, .pagination li span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .5rem; border-radius: 50%; font-weight: 700; text-decoration: none; border: 1px solid var(--line); background: #fff; }
.pagination li a:hover { border-color: var(--ink); }
.pagination li span[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .gap { border: 0; background: none; min-width: 20px; }
.pagination__nav { font-weight: 700; text-decoration: none; padding: .7rem 1.1rem; border-radius: 999px; background: var(--cream); }
.pagination__nav:hover { background: var(--sand); }

/* ---------- Article ---------- */
.progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: var(--red); z-index: 300; transition: width .1s linear; }
.post-hero { background: var(--tint); padding: clamp(1.5rem, 3.5vw, 2.6rem) 0 0; position: relative; }
.post-hero h1 { font-size: clamp(2rem, 4.8vw, 3.3rem); margin: .9rem 0 .5em; letter-spacing: -.025em; }
.post-hero__lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink-2); line-height: 1.55; margin-bottom: 1rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: .35rem .6rem; font-size: .9rem; color: var(--muted); margin: 0 0 1.8rem; font-weight: 500; }
.post-cover { margin: 0 0 -3.5rem; position: relative; }
.thumb--cover { aspect-ratio: 16 / 8; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: center; padding-top: 5.5rem; padding-bottom: 3rem; gap: 2.5rem; }
.post-layout.has-toc { grid-template-columns: 260px minmax(0, 740px); }
.post { min-width: 0; }
.toc { position: relative; }
.toc__box { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; }
.toc__box summary { font: 700 .78rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; color: var(--red-d); list-style: none; display: flex; justify-content: space-between; }
.toc__box summary::-webkit-details-marker { display: none; }
.toc__box summary::after { content: "−"; font-size: 1.2rem; line-height: .8; }
.toc__box:not([open]) summary::after { content: "+"; }
.toc ol { list-style: none; padding: 0; margin: .9rem 0 0; display: grid; gap: .1rem; counter-reset: t; }
.toc li { counter-increment: t; }
.toc li a { display: flex; gap: .6rem; font-size: .9rem; line-height: 1.35; padding: .4rem .5rem; border-radius: 8px; text-decoration: none; color: var(--ink-2); }
.toc li a::before { content: counter(t); font-weight: 700; color: var(--muted); flex: 0 0 1.2em; }
.toc li a:hover, .toc li a.is-active { background: var(--cream); color: var(--ink); }
.toc li a.is-active::before { color: var(--red); }

/* Contenu éditorial */
.prose { font-size: 1.125rem; line-height: 1.8; color: #272540; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); margin: 2.4em 0 .6em; }
.prose h3 { font-size: 1.35rem; margin: 2em 0 .5em; }
.prose h4 { font-size: 1.1rem; margin: 1.6em 0 .4em; font-family: var(--font-body); font-weight: 700; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.25em; }
.prose a { color: var(--red-d); font-weight: 500; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose li::marker { color: var(--red); font-weight: 700; }
.prose blockquote { margin: 1.8em 0; padding: 1.2rem 1.5rem; border-left: 5px solid var(--gold); background: var(--cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-display); font-size: 1.15em; font-style: italic; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose hr { border: 0; height: 24px; margin: 2.4em 0; background: var(--kente) repeat-x center / 48px 12px; opacity: .55; max-width: 140px; margin-inline: auto; }
.prose sup { font-size: .68em; line-height: 0; color: var(--red-d); font-weight: 700; margin-left: 1px; }
.prose img { border-radius: var(--radius-sm); }
.prose figure { margin: 1.8em 0; }
.prose h2[id], .prose h3[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.table-wrap { overflow-x: auto; margin: 1.8em 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline-offset: 2px; }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.prose th, .prose td { text-align: left; padding: .75rem 1rem; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { background: var(--ink); color: #fff; font-weight: 700; white-space: nowrap; }
.prose tbody tr:nth-child(even) { background: #FFFAF1; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose td strong { color: var(--ink); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 3rem 0 2rem; padding: 1.1rem 0; border-block: 1px solid var(--line); }
.share__label { font-weight: 700; margin-right: .4rem; }
.share__btn { font: 700 .85rem/1 var(--font-body); padding: .7rem 1rem; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; border: 0; cursor: pointer; }
.share__btn:hover { opacity: .88; }
.share__btn--wa { background: #1B9E4B; } .share__btn--fb { background: #1877F2; } .share__btn--x { background: #000; }
button.share__btn:not(.share__btn--wa) { background: var(--cream); color: var(--ink); }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.prevnext__a { display: block; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; background: #fff; transition: border-color .15s, transform .15s; }
.prevnext__a:hover { border-color: var(--red); transform: translateY(-2px); }
.prevnext__a small { display: block; color: var(--muted); font-weight: 700; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .35rem; }
.prevnext__a span { font: 600 1rem/1.3 var(--font-display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prevnext__a--next { text-align: right; grid-column: 2; }

/* ---------- 404 ---------- */
.notfound { padding-block: clamp(2.5rem, 6vw, 5rem); }
.notfound__code { font: 700 clamp(5rem, 16vw, 10rem)/1 var(--font-display); color: var(--red); margin: 0; letter-spacing: -.05em; }
.notfound .searchbar { margin: 1.5rem auto; }
.notfound .section__head { margin-top: 3rem; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #C9C6E4; margin-top: 0; }
.site-footer .kente { background-color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2rem; padding-block: 3.2rem 2.4rem; }
.footer-brand p { font-size: .94rem; margin-top: 1rem; max-width: 26em; }
.footer-brand a { color: #fff; }
.footer-title { font: 700 .8rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: .9rem; }
.footer-title a { text-decoration: none; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-col a { text-decoration: none; font-size: .92rem; } .footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; padding: 0; margin: 0; }
.footer-links a { text-decoration: none; } .footer-links a:hover { color: #fff; text-decoration: underline; }

.to-top { position: fixed; right: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-lg); z-index: 90; transition: transform .2s, background-color .2s; }
.to-top:hover { background: var(--red); transform: translateY(-3px); }
.to-top[hidden] { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1500px) {
  .nav__link { padding-inline: .5rem; font-size: .86rem; }
  .nav__item--pill .nav__link { margin-left: .1rem; }
}
@media (max-width: 1180px) {
  .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav__link { padding-inline: .55rem; font-size: .86rem; }
}
@media (max-width: 1290px) {
  .burger { display: flex; }
  /* backdrop-filter crée un bloc conteneur pour les enfants fixed : on le coupe en mobile */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; width: auto; margin: 0; background: var(--paper); padding: 1rem 1.25rem 2rem; overflow-y: auto; overscroll-behavior: contain; opacity: 0; transform: translateY(-10px); visibility: hidden; pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 99; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link { flex: 1; font-size: 1.1rem; padding: 1rem .25rem; border-radius: 0; }
  .nav__link:hover, .nav__item:focus-within > .nav__link { background: none; }
  .nav__item--pill { border: 0; margin-top: 1rem; } .nav__item--pill .nav__link { text-align: center; border-radius: 999px; margin: 0; padding: 1rem; }
  .nav__toggle { display: grid; place-items: center; width: 48px; height: 48px; background: none; border: 0; color: var(--ink); cursor: pointer; }
  .nav__toggle svg { transition: transform .2s; }
  .nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: var(--cream); border-radius: 12px; flex-basis: 100%; display: none; margin-bottom: .8rem; }
  .nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { /* pas de survol en mobile */ }
  .nav__sub.is-open { display: block; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 1024px) {
  .layout-2 { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .post-layout.has-toc { grid-template-columns: minmax(0, 740px); }
  .toc__box { position: static; max-height: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; min-height: 240px; }
  .hero__scene { width: min(62%, 300px); }
  .bento { grid-template-columns: 1fr; }
  .grid--3, .layout-2 .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .newsletter--band { grid-template-columns: 1fr; }
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .wrap, .wrap--narrow, .wrap--post { width: calc(100% - 2rem); }
  .grid--3, .layout-2 .grid--3 { grid-template-columns: 1fr; }
  .card--row { flex-direction: column; } .card--row .card__media { flex: none; } .card--row .thumb { aspect-ratio: 16 / 10; height: auto; }
  .prose { font-size: 1.06rem; line-height: 1.75; }
  .searchbar { flex-wrap: wrap; border-radius: 22px; } .searchbar .btn { width: 100%; }
  .hero__stats { gap: 1rem 1.6rem; }
  .prevnext { grid-template-columns: 1fr; } .prevnext__a--next { grid-column: auto; }
  .thumb--cover { aspect-ratio: 16 / 10; border-radius: 14px; }
  .post-cover { margin-bottom: -2.5rem; } .post-layout { padding-top: 4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
  .brand__word { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .newsletter, .share, .prevnext, .to-top, .progress, .toc, .kente, section.section--sand { display: none !important; }
  .post-layout { padding-top: 1rem; } .prose { font-size: 11pt; }
}

/* ================= Monétisation ================= */
.grid__full { grid-column: 1 / -1; }
.small { font-size: .88rem; color: var(--muted, #6b6a80); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Publicités */
.ad { margin: 1.6rem auto; text-align: center; max-width: 100%; overflow: hidden; }
.ad__label { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #8a8999; margin-bottom: .3rem; }
.ad__box { display: flex; justify-content: center; max-width: 100%; overflow: hidden; }
.ad__box > * { max-width: 100%; }
.ad--preview { border: 2px dashed var(--gold, #F2B134); border-radius: 12px; padding: .7rem; background: #fffaf0; }
.ad__ph { font-size: .85rem; color: #7a5b10; }
.ad--header_below { margin: 1rem auto; }
.house-ad { display: grid; gap: .25rem; padding: 1.1rem 1.3rem; border-radius: 14px; background: linear-gradient(135deg, var(--ink, #1C1B33), #34325e); color: #fff; text-align: left; text-decoration: none; width: 100%; max-width: 728px; }
.house-ad strong { font-family: var(--font-display, inherit); font-size: 1.15rem; }
.house-ad span { opacity: .85; font-size: .92rem; }
.house-ad em { font-style: normal; color: var(--gold, #F2B134); font-weight: 600; }

/* Affiliation */
.aff-mark { color: var(--red, #D32B27); font-weight: 700; margin-left: 1px; }
.aff-box { margin: 1.8rem 0; padding: 1.2rem 1.4rem; border: 1px solid var(--line, #e7e1d6); border-left: 5px solid var(--gold, #F2B134); border-radius: 14px; background: #fffaf0; }
.aff-box__tag { display: inline-block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; background: var(--gold, #F2B134); color: var(--ink, #1C1B33); padding: .15rem .55rem; border-radius: 999px; margin-bottom: .4rem; font-weight: 700; }
.aff-box__name { display: block; font-size: 1.1rem; }
.aff-box p { margin: .3rem 0 .8rem; }
.disclosure { font-size: .88rem; color: #5b5a70; background: var(--sand, #f6f0e4); border-radius: 12px; padding: .8rem 1rem; margin: 1.5rem 0; }

/* CTA */
.cta-card { display: flex; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 2rem 0; padding: 1.3rem 1.5rem; border-radius: 16px; background: var(--ink, #1C1B33); color: #fff; }
.cta-card p { margin: .25rem 0 0; opacity: .85; }
.cta-split { display: flex; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-split h2 { margin: 0 0 .3rem; }

/* Boutons additionnels */
.btn--out { background: transparent; color: var(--ink, #1C1B33); border: 2px solid var(--ink, #1C1B33); }
.btn--out:hover { background: var(--ink, #1C1B33); color: #fff; }
.btn--wa { background: #1faa59; color: #fff; }
.btn--wa:hover { background: #168a47; }

/* Formulaires */
.formcard { display: grid; gap: .9rem; background: #fff; border: 1px solid var(--line, #e7e1d6); border-radius: 18px; padding: 1.4rem; box-shadow: 0 8px 28px rgba(28,27,51,.06); }
.formcard--wide { max-width: 760px; }
.formcard h2 { margin: 0; }
.formcard label { display: grid; gap: .3rem; font-weight: 600; font-size: .93rem; }
.formcard label small { font-weight: 400; color: #77768a; }
.formcard input, .formcard select, .formcard textarea { width: 100%; max-width: 100%; box-sizing: border-box; font: inherit; padding: .7rem .8rem; border: 1px solid #d8d2c4; border-radius: 10px; background: #fff; }
.formcard input:focus, .formcard select:focus, .formcard textarea:focus { outline: 3px solid rgba(30,138,135,.3); border-color: var(--teal, #1E8A87); }
.formcard fieldset { border: 1px solid #e3ddd0; border-radius: 12px; padding: .8rem 1rem; margin: 0; }
.formcard legend { font-weight: 600; font-size: .9rem; padding: 0 .4rem; }
.formcard .chk, .plans .chk { display: flex; align-items: center; gap: .55rem; font-weight: 400; padding: .2rem 0; }
.formcard .chk input, .plans .chk input { width: auto; }
.formcard .two, .two { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.formcard--wide .premium-fields { background: #fffaf0; }
.formcard ul { margin: 0; padding-left: 1.1rem; }
.notice--err { background: #fdecea; color: #8e1d19; border: 1px solid #f3c1bd; padding: .7rem 1rem; border-radius: 10px; }
.notice--ok { background: #e8f6f1; color: #14665f; border: 1px solid #b9e2d8; padding: .7rem 1rem; border-radius: 10px; }
.sidebar--form { position: sticky; top: calc(var(--header-h, 72px) + 1rem); align-self: start; }
.layout-2--wide { grid-template-columns: minmax(0, 1fr) 420px; }
.linkbox { word-break: break-all; background: var(--sand, #f6f0e4); padding: .8rem 1rem; border-radius: 10px; }

/* Annonceurs */
.kit-stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; padding: 0; margin: 0 0 2rem; }
.kit-stats li { background: #fff; border: 1px solid var(--line, #e7e1d6); border-radius: 14px; padding: 1rem; }
.kit-stats strong { display: block; font-family: var(--font-display, inherit); font-size: 1.8rem; color: var(--red, #D32B27); line-height: 1.1; }
.kit-stats span { font-size: .88rem; color: #6b6a80; }
.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1rem 0 2rem; }
.formats article { border: 1px solid var(--line, #e7e1d6); border-radius: 14px; padding: 1rem 1.1rem; background: #fff; }
.formats h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.formats p { margin: 0; font-size: .93rem; }
.rates, .checks { padding-left: 1.2rem; }

/* Annuaire */
.dirfilters { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.2rem; }
.dirfilters input, .dirfilters select { font: inherit; padding: .65rem .8rem; border: 1px solid #d8d2c4; border-radius: 999px; background: #fff; min-width: 0; flex: 1 1 160px; }
.lcard { background: #fff; border: 1px solid var(--line, #e7e1d6); border-radius: 16px; padding: 1.1rem; display: grid; gap: .6rem; align-content: start; }
.lcard--premium { border-color: var(--teal, #1E8A87); }
.lcard--featured { border: 2px solid var(--gold, #F2B134); background: #fffaf0; box-shadow: 0 8px 24px rgba(242,177,52,.18); }
.lcard__top { display: flex; gap: .85rem; align-items: center; }
.lcard__logo { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; flex: none; }
.lcard__logo--ph { display: grid; place-items: center; background: var(--ink, #1C1B33); color: #fff; font-weight: 700; font-size: 1.3rem; }
.lcard__name { margin: .1rem 0 0; font-size: 1.1rem; }
.lcard__name a { color: inherit; text-decoration: none; }
.lcard__name a:hover { color: var(--red, #D32B27); }
.lcard__meta { margin: 0; font-size: .85rem; color: #6b6a80; }
.lcard__desc { margin: 0; font-size: .94rem; }
.badge { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .15rem .55rem; border-radius: 999px; }
.badge--premium { background: var(--teal, #1E8A87); color: #fff; }
.badge--featured { background: var(--gold, #F2B134); color: var(--ink, #1C1B33); }
.fiche__cover { width: 100%; max-height: 340px; object-fit: cover; border-radius: 16px; margin-bottom: 1rem; }
.fiche__lead { font-size: 1.15rem; line-height: 1.6; }
.contact { display: grid; gap: .6rem; }
.contact .btn { text-align: center; justify-content: center; }
.linkline { display: block; padding: .3rem 0; }
.plans { display: grid; gap: .8rem; max-width: 640px; margin-bottom: 2rem; }
.plan { display: flex; gap: .7rem; align-items: flex-start; border: 1px solid var(--line, #e7e1d6); border-radius: 12px; padding: .8rem 1rem; background: #fff; cursor: pointer; }
.plan input { margin-top: .3rem; }
.plans fieldset { border: 1px solid #e3ddd0; border-radius: 12px; }

/* Boutique */
.pcard { display: grid; gap: .5rem; align-content: start; background: #fff; border: 1px solid var(--line, #e7e1d6); border-radius: 16px; padding: 1rem; }
.pcard__cover { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, var(--teal, #1E8A87), var(--ink, #1C1B33)); }
.pcard__cover img { width: 100%; height: 100%; object-fit: cover; }
.pcard__ph { display: grid; place-items: center; height: 100%; color: #fff; font-weight: 700; font-size: 2rem; }
.pcard__title { margin: .3rem 0 0; font-size: 1.15rem; }
.pcard__title a { color: inherit; text-decoration: none; }
.pcard p { margin: 0; }
.pcard__price { font-weight: 700; color: var(--red, #D32B27); }
.pcard__price--big { font-size: 1.9rem; margin: 0; }

@media (max-width: 1180px) { .layout-2--wide { grid-template-columns: 1fr; } .sidebar--form { position: static; } }
@media (max-width: 600px) { .formcard .two, .two { grid-template-columns: 1fr; } .cta-card, .cta-split { align-items: stretch; } .cta-card .btn, .cta-split .btn { text-align: center; } }
.kit-stats strong { overflow-wrap: anywhere; font-size: clamp(1.3rem, 5vw, 1.8rem); } .kit-stats li { min-width: 0; }

/* ================= Communauté ================= */
.inlineform { display: inline; margin: 0; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--teal, #1E8A87); cursor: pointer; text-decoration: underline; }
.linkbtn--mod { color: var(--red, #D32B27); }
.btn--sm { padding: .4rem .9rem; font-size: .85rem; }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin: 1rem 0; }
.lead-small { max-width: 60ch; margin: 0 0 1.2rem; color: #4b4a62; }
.kit-stats--inline { grid-template-columns: repeat(3, minmax(0, 150px)); margin: 1rem 0 0; }
.commbar { display: flex; gap: .8rem 1.5rem; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 1.4rem; padding: .7rem 1rem; background: #fff; border: 1px solid var(--line, #e7e1d6); border-radius: 14px; }
.commbar__search { display: flex; gap: .5rem; flex: 1 1 280px; }
.commbar__search input { flex: 1; min-width: 0; font: inherit; padding: .55rem .9rem; border: 1px solid #d8d2c4; border-radius: 999px; }
.commbar__me { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; font-size: .93rem; }
.avatar { display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: hsl(var(--h) 55% 38%); color: #fff; font-weight: 700; }
.catgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2.2rem; }
.catcard { display: grid; gap: .3rem; align-content: start; padding: 1.1rem; background: #fff; border: 1px solid var(--line, #e7e1d6); border-radius: 16px; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.catcard:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(28,27,51,.09); }
.catcard__icon { font-size: 1.7rem; }
.catcard__desc { font-size: .9rem; color: #5d5c73; }
.catcard__n { font-size: .8rem; font-weight: 600; color: var(--teal, #1E8A87); }
.trow { display: flex; gap: .9rem; align-items: center; padding: .9rem 1rem; background: #fff; border: 1px solid var(--line, #e7e1d6); border-radius: 14px; margin-bottom: .6rem; }
.trow--pinned { border-color: var(--gold, #F2B134); background: #fffaf0; }
.trow__main { flex: 1; min-width: 0; }
.trow__title { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.trow__title a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.trow__title a:hover { color: var(--red, #D32B27); }
.trow__meta { margin: .25rem 0 0; font-size: .83rem; color: #6b6a80; }
.trow__stats { text-align: center; flex: none; min-width: 64px; }
.trow__stats strong { display: block; font-size: 1.2rem; }
.trow__stats span { font-size: .72rem; color: #6b6a80; }
.chip { display: inline-block; font-size: .75rem; background: var(--sand, #f6f0e4); border-radius: 999px; padding: .1rem .6rem; }
.member { font-weight: 600; color: inherit; text-decoration: none; }
a.member:hover { color: var(--red, #D32B27); }
.badge--mod { background: var(--red, #D32B27); color: #fff; }
.badge--op { background: var(--sand, #f6f0e4); color: var(--ink, #1C1B33); }
.tabs { display: flex; gap: .4rem; margin-bottom: 1rem; flex-wrap: wrap; }
.tabs a { padding: .4rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line, #e7e1d6); text-decoration: none; color: inherit; font-size: .9rem; }
.tabs a.is-on { background: var(--ink, #1C1B33); color: #fff; }
.pagination { display: flex; gap: .4rem; flex-wrap: wrap; margin: 1.4rem 0; }
.pagination a { min-width: 38px; text-align: center; padding: .45rem .7rem; border-radius: 10px; border: 1px solid var(--line, #e7e1d6); background: #fff; text-decoration: none; color: inherit; }
.pagination a.is-current { background: var(--ink, #1C1B33); color: #fff; }
.wrap--thread { max-width: 860px; }
.h1--thread { font-size: clamp(1.5rem, 4.5vw, 2.3rem); overflow-wrap: anywhere; }
.msg { background: #fff; border: 1px solid var(--line, #e7e1d6); border-radius: 16px; padding: 1.1rem 1.2rem; margin-bottom: .9rem; }
.msg--op { border-left: 5px solid var(--red, #D32B27); }
.msg__head { display: flex; gap: .8rem; align-items: center; margin-bottom: .6rem; }
.msg__body { overflow-wrap: anywhere; }
.msg__body p { margin: 0 0 .8rem; }
.reacts { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; }
.react { font: inherit; font-size: .85rem; padding: .3rem .8rem; border-radius: 999px; border: 1px solid #d8d2c4; background: #fff; cursor: pointer; }
.react:hover { border-color: var(--teal, #1E8A87); }
.react.is-on { background: var(--teal, #1E8A87); border-color: var(--teal, #1E8A87); color: #fff; }
.msgactions { display: flex; gap: .9rem; flex-wrap: wrap; align-items: center; margin-top: .7rem; font-size: .82rem; color: #77768a; }
.reportbox summary { cursor: pointer; color: #77768a; }
.reportbox form { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .5rem; }
.reportbox select, .reportbox input { font: inherit; padding: .35rem .6rem; border: 1px solid #d8d2c4; border-radius: 8px; max-width: 100%; }
.replies-title { margin: 1.6rem 0 .8rem; }
.replybox { margin-top: 1.6rem; }
.replybox textarea { width: 100%; box-sizing: border-box; }
.care { background: #f3f9f8; border-radius: 8px; padding: .5rem .8rem; }
.profilehead { display: flex; gap: 1rem; align-items: center; }
.profilehead h1 { margin: 0; }
.charter .checks { padding-left: 1.1rem; }
@media (max-width: 860px) { .catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .catgrid { grid-template-columns: 1fr; } .kit-stats--inline { grid-template-columns: repeat(3, 1fr); } .trow { padding: .75rem; gap: .7rem; } .trow__stats { min-width: 50px; } .msg { padding: .9rem; } }
.commbar__search { min-width: 0; } .commbar__search .btn { flex: none; } @media (max-width: 600px) { .commbar__search .btn { padding-inline: 1rem; } }

/* ================= Quiz ================= */
.lead { font-size: 1.15rem; line-height: 1.65; }
.quizcard { display: flex; gap: 1.4rem; align-items: center; background: #fff; border: 1px solid var(--line, #e7e1d6); border-radius: 20px; padding: 1.6rem; box-shadow: 0 10px 30px rgba(28,27,51,.07); max-width: 780px; }
.quizcard__icon { font-size: 3.2rem; flex: none; }
.quizcard h2 { margin: 0 0 .4rem; }
.theory { background: #fff; border: 1px solid var(--line, #e7e1d6); border-radius: 14px; padding: .8rem 1.1rem; margin-bottom: 1.4rem; }
.theory summary { cursor: pointer; font-weight: 600; }
.quizform { display: grid; gap: 1rem; }
.quizprogress { height: 8px; background: #eee7d8; border-radius: 99px; position: relative; margin-bottom: 1.6rem; }
.quizprogress__bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--red, #D32B27), var(--gold, #F2B134)); border-radius: 99px; transition: width .25s; }
.quizprogress__txt { position: absolute; top: 14px; left: 0; font-size: .82rem; color: #6b6a80; }
.quizform:not(.is-stepper) .quizprogress { display: none; }
.qstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.qstep[hidden] { display: none; }
.qstep legend { font-family: var(--font-display, inherit); font-size: clamp(1.25rem, 4.2vw, 1.6rem); line-height: 1.3; margin-bottom: 1.1rem; padding: 0; font-weight: 600; }
.qstep__n { display: inline-block; font-family: var(--font-body, inherit); font-size: .8rem; background: var(--sand, #f6f0e4); border-radius: 99px; padding: .1rem .6rem; margin-right: .3rem; vertical-align: middle; }
.quizform:not(.is-stepper) .qstep { border-bottom: 1px solid var(--line, #e7e1d6); padding-bottom: 1.2rem; }
.likert { display: grid; gap: .55rem; }
.likert__opt { position: relative; display: block; }
.likert__opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.likert__opt span { display: block; padding: .85rem 1rem; border: 2px solid #ddd6c6; border-radius: 12px; background: #fff; font-weight: 500; transition: border-color .15s, background .15s; }
.likert__opt:hover span { border-color: var(--teal, #1E8A87); }
.likert__opt input:checked + span { border-color: var(--teal, #1E8A87); background: #e8f6f4; font-weight: 700; }
.likert__opt input:focus-visible + span { outline: 3px solid rgba(30,138,135,.4); outline-offset: 2px; }
.quiznav { display: flex; gap: .7rem; justify-content: space-between; margin-top: .6rem; flex-wrap: wrap; }
.quizhero--teal { background: linear-gradient(135deg, #dff1ef, #f3fbfa); }
.quizhero--red { background: linear-gradient(135deg, #fbe3e1, #fff4f3); }
.quizhero--gold { background: linear-gradient(135deg, #fdefcf, #fffaf0); }
.quizhero--ink { background: linear-gradient(135deg, #dcdcec, #f2f2f9); }
.quizres h2 { margin-top: 1.8rem; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.6rem 0; }
.quizbox { border-radius: 16px; padding: 1.1rem 1.3rem; }
.quizbox h2 { margin: 0 0 .5rem; font-size: 1.2rem; }
.quizbox ul { margin: 0; padding-left: 1.1rem; }
.quizbox li { margin-bottom: .45rem; }
.quizbox--good { background: #e8f6f1; border: 1px solid #b9e2d8; }
.quizbox--warn { background: #fff4e0; border: 1px solid #f3d9a4; }
.quiztips li { margin-bottom: .6rem; }
.quizexo { background: var(--ink, #1C1B33); color: #fff; border-radius: 16px; padding: 1.1rem 1.4rem; margin: 1.4rem 0; }
.quizexo p { margin: .3rem 0 0; opacity: .92; }
.quizwith dt { font-weight: 700; margin-top: .8rem; }
.quizwith dd { margin: .15rem 0 0; }
.quizmap { margin: 1.6rem auto; max-width: 440px; text-align: center; }
.quizmap svg { width: 100%; height: auto; }
.quizmap figcaption { font-size: .85rem; color: #6b6a80; }
.qm { stroke: #fff; stroke-width: 3; opacity: .55; }
.qm.is-on { opacity: 1; }
.qm--teal { fill: #9ad3cf; } .qm--red { fill: #f2a9a6; } .qm--gold { fill: #f7d58e; } .qm--ink { fill: #b9b9d6; }
.qm__icon { font-size: 22px; }
.qm__lbl { font-size: 10.5px; font-weight: 600; fill: #3b3a55; }
.qm__lbl.is-on { fill: #1C1B33; font-weight: 800; }
.qm__dot { fill: var(--red, #D32B27); stroke: #fff; stroke-width: 3; }
.qm__you { font-size: 8px; font-weight: 800; fill: #fff; display: none; }
.qm__axis { font-size: 9px; fill: #6b6a80; }
.sharebtns { display: grid; gap: .5rem; }
.sharebtns .btn { text-align: center; justify-content: center; }
@media (max-width: 700px) { .cols2 { grid-template-columns: 1fr; } .quizcard { flex-direction: column; align-items: flex-start; } }

/* ================= Klomin ================= */
.klomin-head { display: flex; align-items: center; gap: 1.4rem; }
.klomin-head h1 { margin: .2rem 0; }
.klomin-avatar { flex: none; border-radius: 50%; box-shadow: 0 8px 22px rgba(28,27,51,.18); }
.klomin-form { display: grid; gap: 1.6rem; }
.klomin-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.klomin-form legend { font-family: var(--font-display, inherit); font-size: 1.35rem; font-weight: 600; margin-bottom: .8rem; padding: 0; }
.klomin-form legend small { font-family: var(--font-body, inherit); font-size: .8rem; font-weight: 400; color: #6b6a80; }
.klomin-care .likert__opt span { border-style: dashed; font-size: .92rem; }
.klomin-rem { margin: 1rem 0; }
.klomin-rem h3 { margin: 0 0 .4rem; }
.klomin-basics { background: #f6f0e4; border: 1px solid #e7e1d6; }
.klomin-plan { list-style: none; counter-reset: d; padding: 0; margin: 1rem 0; }
.klomin-plan li { counter-increment: d; position: relative; padding: .2rem 0 1rem 3.2rem; }
.klomin-plan li::before { content: counter(d); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--red, #D32B27); color: #fff; font-weight: 800; display: grid; place-items: center; }
.klomin-plan p { margin: .2rem 0 0; }
.klomin-word { margin: 2rem 0; padding: 1.2rem 1.5rem; border-left: 5px solid var(--gold, #F2B134); background: #fffaf0; font-family: var(--font-display, inherit); font-size: 1.25rem; font-style: italic; }
.klomin-word footer { font-size: .9rem; font-style: normal; margin-top: .4rem; color: #6b6a80; }
.center { text-align: center; }
@media (max-width: 600px) { .klomin-head { flex-direction: column; align-items: flex-start; } }

/* ================= Jeu de couple ================= */
.jeu-steps { padding-left: 1.2rem; display: grid; gap: .7rem; margin: 0 0 1.6rem; }
.jeu-start { background: #fff; border: 1px solid var(--line, #e7e1d6); border-radius: 16px; padding: 1.2rem; margin-bottom: 1rem; }
.jeu-start label, .jeu-name { display: block; font-weight: 600; margin-bottom: .4rem; }
.jeu-start__row { display: flex; gap: .6rem; flex-wrap: wrap; }
.jeu-start input, .jeu-name input { flex: 1; min-width: 0; width: 100%; padding: .8rem 1rem; border: 2px solid #ddd6c6; border-radius: 12px; font: inherit; }
.jeu-name { margin-bottom: 1rem; }
.jeu-list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .7rem; }
.jeu-item { border-radius: 14px; padding: .8rem 1rem; border: 1px solid; }
.jeu-item.is-ok { background: #e8f6f1; border-color: #b9e2d8; }
.jeu-item.is-ko { background: #fff4e0; border-color: #f3d9a4; }
.jeu-item p { margin: 0; }
.jeu-item__q { font-weight: 600; margin-bottom: .3rem !important; }
.jeu-tag { display: inline-block; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #fff; text-align: center; line-height: 1.5rem; font-weight: 800; }
.jeu-guess { color: #6b6a80; font-size: .95rem; }
.jeu-duel { background: var(--ink, #1C1B33); color: #fff; border-radius: 16px; padding: 1.1rem 1.4rem; margin-bottom: 1.4rem; }
.jeu-duel p { margin: .3rem 0 0; opacity: .9; }

/* ================= Jeux & outils (accueil) ================= */
.wrap--wide { width: min(1360px, 100% - 2.5rem); }
.section--tools { background: linear-gradient(180deg, var(--cream, #FFFBF4) 0%, #FBF1DE 100%); padding-block: clamp(3rem, 6vw, 5.5rem); }
.tools__head { text-align: center; max-width: 720px; margin: 0 auto clamp(1.8rem, 4vw, 3rem); }
.tools__head h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: .2rem 0 .6rem; line-height: 1.15; }
.tools__head p:last-child { margin: 0; color: #5d5b73; font-size: 1.08rem; }
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.8rem); }
.tool { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; min-height: 340px; padding: clamp(1.5rem, 2.6vw, 2.3rem); border-radius: 28px; color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.tool::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lattice); background-size: 44px 44px; opacity: .55; }
.tool::after { content: ""; position: absolute; z-index: -1; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.14); transition: transform .35s; }
.tool:hover, .tool:focus-visible { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.tool:hover::after, .tool:focus-visible::after { transform: scale(1.35); }
.tool:focus-visible { outline: 3px solid var(--ink, #1C1B33); outline-offset: 3px; }
.tool--gold { background: linear-gradient(145deg, #F7C24F, #E39A16); color: var(--ink, #1C1B33); }
.tool--red { background: linear-gradient(145deg, #E8483F, #A91F28); }
.tool--teal { background: linear-gradient(145deg, #1E8A87, #0F5553); }
.tool__icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; background: rgba(255,255,255,.22); font-size: 2.4rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); margin-bottom: .5rem; }
.tool__tag { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.tool h3 { margin: 0; font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.2; color: inherit; }
.tool p { margin: 0; font-size: 1.02rem; line-height: 1.55; opacity: .95; }
.tool__cta { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; background: #fff; color: var(--ink, #1C1B33); font-weight: 700; padding: .75rem 1.3rem; border-radius: 999px; box-shadow: 0 6px 16px rgba(28,27,51,.18); }
.tool__cta i { font-style: normal; transition: transform .2s; }
.tool:hover .tool__cta i { transform: translateX(5px); }
@media (max-width: 1024px) { .tools { grid-template-columns: 1fr; } .tool { min-height: 0; } .tool__cta { margin-top: .8rem; } }
@media (prefers-reduced-motion: reduce) { .tool, .tool::after, .tool__cta i { transition: none; } .tool:hover { transform: none; } }
.tools__head .eyebrow { justify-content: center; }
.tools__head h2 { max-width: none; text-wrap: balance; }

/* ================= Horoscope ================= */
.hs-el--feu { --hs: #E8483F; --hs2: #A91F28; --hs-t: #FDE7E3; }
.hs-el--terre { --hs: #8A6B2D; --hs2: #5C4416; --hs-t: #F4EBD6; }
.hs-el--air { --hs: #D99A16; --hs2: #A66E05; --hs-t: #FFF0CC; }
.hs-el--eau { --hs: #1E8A87; --hs2: #0F5553; --hs-t: #DDF2F0; }
.hs-tools { display: grid; grid-template-columns: 1fr auto; gap: 1rem; margin-bottom: 1.6rem; align-items: stretch; }
.hs-find { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; background: #fff; border: 1px solid var(--line, #e7e1d6); border-radius: 18px; padding: 1rem 1.2rem; }
.hs-find select, .hs-compatform select { padding: .7rem .9rem; border: 2px solid #ddd6c6; border-radius: 12px; font: inherit; background: #fff; max-width: 100%; }
.hs-compatlink { display: flex; align-items: center; gap: .8rem; background: var(--ink, #1C1B33); color: #fff; border-radius: 18px; padding: 1rem 1.4rem; text-decoration: none; font-size: 1.6rem; }
.hs-compatlink span { display: grid; font-size: 1rem; } .hs-compatlink small { opacity: .8; font-size: .85rem; }
.hs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; margin-bottom: 1.6rem; }
.hs-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .35rem; padding: 1.3rem 1.3rem 1.1rem; border-radius: 22px; background: #fff; border: 1px solid var(--line, #e7e1d6); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.hs-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--hs), var(--hs2)); }
.hs-card:hover, .hs-card:focus-visible { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.hs-card__sym { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--hs-t); color: var(--hs2); font-size: 1.9rem; margin-bottom: .2rem; }
.hs-card__name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.hs-card__dates { font-size: .8rem; color: #6b6a80; }
.hs-card__txt { font-size: .95rem; line-height: 1.5; margin-top: .3rem; }
.hs-card__hearts { font-size: .8rem; margin-top: auto; padding-top: .5rem; letter-spacing: 1px; }
.hs-card__more { font-weight: 700; font-size: .9rem; color: var(--hs2); }
.hs-head { display: flex; align-items: center; gap: 1.2rem; }
.hs-head__sym { display: grid; place-items: center; flex: none; width: 92px; height: 92px; border-radius: 26px; background: linear-gradient(145deg, var(--hs), var(--hs2)); color: #fff; font-size: 3.4rem; box-shadow: var(--shadow); }
.hs-hero { background: linear-gradient(135deg, var(--hs-t), #fff); }
.hs-head h1 { margin: .2rem 0; }
.hs-days { display: flex; gap: .4rem; margin-bottom: 1rem; flex-wrap: wrap; }
.hs-days a { padding: .5rem 1rem; border-radius: 999px; background: #fff; border: 2px solid #ddd6c6; text-decoration: none; font-weight: 600; color: inherit; }
.hs-days a[aria-current] { background: var(--ink, #1C1B33); border-color: var(--ink, #1C1B33); color: #fff; }
.hs-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 1.4rem 0; }
.hs-meter { display: flex; justify-content: space-between; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line, #e7e1d6); border-radius: 12px; padding: .65rem .9rem; }
.hs-meter > span:first-child { color: #6b6a80; font-size: .9rem; }
.hs-traits { display: flex; gap: .5rem; flex-wrap: wrap; } .hs-traits span { background: var(--hs-t, #f6f0e4); border-radius: 999px; padding: .3rem .9rem; font-size: .9rem; font-weight: 600; }
.hs-compat-links { display: flex; gap: .6rem; flex-wrap: wrap; }
.hs-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.hs-mini a { display: grid; place-items: center; padding: .5rem .2rem; border-radius: 12px; background: #f6f0e4; text-decoration: none; color: inherit; font-size: 1.4rem; text-align: center; }
.hs-mini small { font-size: .62rem; } .hs-mini a[aria-current] { background: var(--ink, #1C1B33); color: #fff; }
.hs-compatform { display: flex; gap: .8rem; flex-wrap: wrap; align-items: end; background: #fff; border: 1px solid var(--line, #e7e1d6); border-radius: 18px; padding: 1.1rem; margin-bottom: 1.6rem; }
.hs-compatform label { display: grid; gap: .3rem; font-weight: 600; flex: 1 1 160px; } .hs-plus { font-size: 1.6rem; font-weight: 800; padding-bottom: .5rem; }
.hs-result { text-align: center; background: linear-gradient(145deg, #fff4e0, #fde7e3); border-radius: 22px; padding: 1.6rem 1rem; margin-bottom: 1.4rem; }
.hs-result__signs { display: flex; justify-content: center; align-items: center; gap: 1.2rem; font-size: 3rem; } .hs-result__signs span { display: grid; place-items: center; } .hs-result__signs small { font-size: .9rem; font-weight: 700; }
.hs-score strong { font-family: var(--font-display); font-size: 3rem; display: block; line-height: 1.1; }
.hs-bars { display: grid; gap: .5rem; max-width: 420px; margin: 1rem auto 0; text-align: left; }
.hs-bar { display: grid; grid-template-columns: 110px 1fr 46px; gap: .6rem; align-items: center; font-size: .9rem; } .hs-bar i { display: block; height: 10px; background: #fff; border-radius: 99px; overflow: hidden; } .hs-bar b { display: block; height: 100%; background: linear-gradient(90deg, var(--red, #D32B27), var(--gold, #F2B134)); border-radius: 99px; } .hs-bar em { font-style: normal; text-align: right; }
@media (max-width: 1100px) { .hs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .hs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hs-tools { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .hs-grid { grid-template-columns: 1fr; } .hs-stats { grid-template-columns: 1fr; } .hs-head__sym { width: 70px; height: 70px; font-size: 2.6rem; } .hs-bar { grid-template-columns: 112px 1fr 40px; font-size: .85rem; gap: .4rem; } }
.hs-strip { display: flex; align-items: center; gap: 1rem 1.4rem; flex-wrap: wrap; justify-content: center; margin-top: clamp(1.4rem, 3vw, 2.2rem); background: #fff; border: 1px solid var(--line, #e7e1d6); border-radius: 22px; padding: 1rem 1.4rem; box-shadow: var(--shadow); }
.hs-strip__title { text-decoration: none; color: inherit; font-size: 1.1rem; white-space: nowrap; }
.hs-strip__chips { display: flex; gap: .45rem; flex-wrap: wrap; justify-content: center; }
.hs-strip__chips a { padding: .4rem .85rem; border-radius: 999px; background: #f6f0e4; text-decoration: none; color: inherit; font-weight: 600; font-size: .9rem; transition: background .15s, color .15s; }
.hs-strip__chips a:hover { background: var(--ink, #1C1B33); color: #fff; }

/* Boutique : couvertures d'ebooks en format portrait */
.pcard__cover { aspect-ratio: 3 / 4; }
.fiche__cover { display: block; width: auto; max-width: min(100%, 360px); max-height: 520px; border-radius: 12px; margin: 0 0 1.25rem; box-shadow: 0 10px 30px rgba(28,27,51,.18); }

/* ===== Mise en avant des ebooks ===== */
.ebar { background: #2a0b18; color: #f3d89a; text-align: center; font-size: .9rem; }
.ebar a { display: block; padding: .5rem 1rem; color: inherit; text-decoration: none; }
.ebar a:hover { color: #fff; }
.ebar strong { color: #fff; }
.nav__item--ebook .nav__link { color: var(--red, #D32B27); font-weight: 700; }
.nav__new { display: inline-block; margin-left: .25rem; padding: .05rem .4rem; border-radius: 999px; background: var(--red, #D32B27); color: #fff; font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.section--ebooks { background: linear-gradient(135deg, #2a0b18 0%, #5b1530 100%); color: #fff; }
.section--ebooks h2, .section--ebooks .section__head h2 { color: #fff; }
.section--ebooks .eyebrow { color: #f3d89a; }
.section__lead { margin: .4rem 0 0; max-width: 46rem; color: rgba(255,255,255,.82); }
.ebooks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.ebooks--wide { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.ebook { position: relative; display: flex; flex-direction: column; gap: .5rem; color: #fff; text-decoration: none; transition: transform .2s; }
.ebook:hover { transform: translateY(-4px); }
.ebook__cover { width: 100%; height: auto; aspect-ratio: 5 / 7; object-fit: cover; border-radius: 8px; box-shadow: 0 12px 28px rgba(0,0,0,.45); }
.ebook__title { font-weight: 700; font-size: .92rem; line-height: 1.25; }
.ebook__price { color: #f3d89a; font-size: .85rem; }
.ebook__price small { color: rgba(255,255,255,.7); }
.ebook--bundle .ebook__cover { outline: 3px solid #c8962e; outline-offset: 2px; }
.ebook__badge { position: absolute; z-index: 2; top: -.5rem; right: -.35rem; background: #c8962e; color: #2a0b18; font-weight: 800; font-size: .8rem; padding: .25rem .6rem; border-radius: 999px; box-shadow: 0 4px 10px rgba(0,0,0,.3); }
.pcard__cover { position: relative; }
.pcard .ebook__badge { top: .6rem; right: .6rem; }
.ebook__badge--inline { position: static; display: inline-block; margin-left: .4rem; box-shadow: none; }
.ebook-promo { display: flex; gap: 1.1rem; align-items: center; margin: 2rem 0; padding: 1.1rem; background: linear-gradient(135deg, #fbf5ea, #f4e6cc); border: 1px solid #e5d3ad; border-left: 5px solid #c8962e; border-radius: 14px; }
.ebook-promo__img img { display: block; width: 96px; height: auto; border-radius: 6px; box-shadow: 0 8px 20px rgba(42,11,24,.3); }
.ebook-promo--end .ebook-promo__img img { width: 120px; }
.ebook-promo__tag { margin: 0 0 .15rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #8a2a45; }
.ebook-promo__title { margin: 0 0 .25rem; font-size: 1.15rem; line-height: 1.25; }
.ebook-promo__sub { margin: 0 0 .3rem; color: #5a4d48; font-size: .92rem; }
.ebook-promo__price { margin: 0 0 .7rem; font-weight: 700; color: var(--red, #D32B27); }
@media (max-width: 1000px) { .ebooks, .ebooks--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .ebooks, .ebooks--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ebook-promo { flex-direction: column; text-align: center; }
  .ebar { font-size: .8rem; }
}

/* Avis des lecteurs */
.reviews{margin-top:2.5rem}.review{border-bottom:1px solid #eadfd0;padding:1rem 0}.review p{margin:.3rem 0}.review__stars{color:#c8962e;letter-spacing:.1em;font-size:1.05rem}.review__v{color:#2f7a4d;font-weight:600}.review__sum{font-size:1.15rem;margin-bottom:1rem}
.rate{border:0;padding:0;display:flex;flex-direction:row-reverse;justify-content:flex-end}.rate legend{float:left;width:100%;padding:0 0 .3rem}.rate input{position:absolute;opacity:0}.rate label{font-size:2rem;line-height:1;color:#d8ccb8;cursor:pointer;padding-right:.15rem}.rate input:checked~label,.rate label:hover,.rate label:hover~label{color:#c8962e}.rate input:focus-visible+label{outline:2px solid #5b1530}

/* Boutons rouges : texte toujours blanc (même dans .prose / encarts), contraste renforcé */
a.btn.btn--red, .prose a.btn.btn--red, .ebook-promo a.btn.btn--red { background: #b3201c; color: #fff !important; text-decoration: none; font-weight: 700; box-shadow: 0 3px 10px rgba(179,32,28,.35); }
a.btn.btn--red:hover, .prose a.btn.btn--red:hover { background: #8f1815; color: #fff !important; }

/* Page de vente pack */
.tablewrap{overflow-x:auto}.cmp{width:100%;border-collapse:collapse;margin:1rem 0}.cmp th,.cmp td{border:1px solid #e5d3ad;padding:.7rem .8rem;text-align:center;vertical-align:middle}.cmp th{background:#5b1530;color:#fff}.cmp td:first-child,.cmp th:first-child{text-align:left}.cmp tr:nth-child(even) td{background:#fbf5ea}

/* Bandeau « Page d'amour » (accueil) */
.lp-promo { display: flex; align-items: center; gap: 1.2rem; padding: 1.1rem 1.4rem; background: linear-gradient(110deg, #FFF3E2, #FDE3DF); border: 1px solid #f0d3c4; border-radius: 20px; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.lp-promo:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.lp-promo__ico { font-size: 2.4rem; line-height: 1; }
.lp-promo__txt { flex: 1; display: grid; gap: .15rem; }
.lp-promo__txt strong { font: 700 1.2rem var(--font-display); }
.lp-promo__txt small { color: #55546b; font-size: .92rem; }
@media (max-width: 700px) { .lp-promo { flex-wrap: wrap; } .lp-promo .btn { width: 100%; text-align: center; } }

/* v22 : bandeau d'annonce, réseaux, newsletter */
.announce{color:#fff;text-align:center;font-size:.92rem;padding:.55rem 1rem}.announce a{color:#fff;font-weight:700;text-decoration:underline}
.footer-social{display:flex;flex-wrap:wrap;gap:.4rem .9rem}.footer-social a{color:inherit;opacity:.85}
.newsletter__more{margin:.4rem 0 0;font-size:.85rem}.newsletter__more a{color:inherit;opacity:.85}
.formcard fieldset{border:1px solid #e3ddd0;border-radius:12px;padding:.8rem 1rem;margin:1rem 0}.formcard .chk{display:flex;gap:.5rem;align-items:center;margin:.35rem 0}.formcard .chk input{width:auto}

/* v23 : bandeau défilant */
.ticker{display:flex;align-items:center;gap:.6rem;background:var(--tk-bg,#1c1b33);color:var(--tk-fg,#fff);font-size:.92rem;line-height:1.2;position:relative;z-index:95}
.ticker--fixed{position:fixed;left:0;right:0;bottom:0;box-shadow:0 -4px 18px rgba(0,0,0,.18)}
.ticker--preview{position:relative}
.ticker__label{flex:none;margin-left:.6rem;padding:.2rem .6rem;border-radius:99px;background:rgba(255,255,255,.18);font-weight:700;font-size:.76rem;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.ticker__viewport{flex:1;min-width:0;overflow:hidden;padding:.55rem 0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 24px),transparent)}
.ticker__track{display:flex;width:max-content;animation:ticker-run var(--tk-dur,40s) linear infinite}
.ticker__group{display:flex;flex:none;min-width:100vw;margin:0;padding:0;list-style:none;align-items:center}
.ticker__group li{flex:none;white-space:nowrap}
.ticker__group li::after{content:"✦";margin:0 1.4rem;opacity:.55}
.ticker a{color:inherit;text-decoration:none}.ticker a:hover,.ticker a:focus-visible{text-decoration:underline}
.ticker__viewport:hover .ticker__track,.ticker:has(a:focus-visible) .ticker__track,.ticker.is-paused .ticker__track{animation-play-state:paused}
.ticker__btn{flex:none;border:0;background:rgba(255,255,255,.14);color:inherit;width:28px;height:28px;border-radius:50%;cursor:pointer;font-size:.7rem;line-height:1;display:grid;place-items:center}
.ticker__btn:last-child{margin-right:.6rem}.ticker__btn:hover{background:rgba(255,255,255,.3)}
.ticker__btn[data-ticker-close]{font-size:1.1rem}
@keyframes ticker-run{from{transform:translateX(0)}to{transform:translateX(-50%)}}
body.has-ticker-bottom{padding-bottom:46px}
body.has-ticker-bottom .to-top{bottom:62px}
@media (max-width:520px){.ticker__label{display:none}.ticker{font-size:.86rem}}
@media (prefers-reduced-motion:reduce){.ticker__track{animation:none}.ticker__viewport{overflow-x:auto;-webkit-mask-image:none;mask-image:none}.ticker__group[aria-hidden]{display:none}.ticker__group{min-width:0}.ticker [data-ticker-pause]{display:none}}
.ticker[hidden]{display:none}
