/* ==========================================================================
   PLATERO — « Studio » (2026)
   Fintech grand public premium : marine profond, bleu d'action, pastels doux,
   grands arrondis, boutons-pilules, cartes qui flottent.
   Règle d'or : on n'affiche que de l'information réelle (avis, dates, extraits).
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-var-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --navy-950: #070d24;
  --navy-900: #0b1536;
  --navy-800: #111e4a;
  --navy-700: #1b2c66;
  --blue-600: #2f5bff;
  --blue-700: #2447d6;
  --blue-100: #e7edff;
  --blue-50: #f1f4ff;

  --mint: #d3f4e8;
  --sky: #d9edff;
  --sand: #fbebd3;
  --lilac: #e6e0ff;

  --ink: #0d1330;
  --ink-soft: #2c3558;
  --muted: #545e82;
  --page: #f6f8fc;
  --surface: #ffffff;
  --line: #e1e7f4;

  --on-navy: #ffffff;
  --on-navy-soft: #c9d2f2;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-hero: clamp(40px, 6vw, 80px);
  --shadow-sm: 0 1px 2px rgba(13, 19, 48, 0.06), 0 4px 12px rgba(13, 19, 48, 0.05);
  --shadow-md: 0 2px 6px rgba(13, 19, 48, 0.06), 0 14px 34px -8px rgba(13, 19, 48, 0.16);
  --shadow-lg: 0 4px 10px rgba(7, 13, 36, 0.12), 0 30px 60px -16px rgba(7, 13, 36, 0.5);

  --container: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --step: clamp(56px, 8vw, 104px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; scrollbar-color: #b6c3ea var(--page); scrollbar-width: thin; }
body {
  margin: 0; padding-top: 0 !important;
  background: var(--page); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6; font-weight: 500;
  font-feature-settings: "tnum" 1, "cv11" 1;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  caret-color: var(--blue-600); accent-color: var(--blue-600);
}
img { max-width: 100%; height: auto; display: block; }
p { margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; color: var(--ink); }
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--blue-600); text-decoration-thickness: 2px; }
button { font: inherit; cursor: pointer; }
::selection { background: #c9d6ff; color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.sr-only:focus { position: fixed !important; left: 12px; top: 12px; width: auto; height: auto; margin: 0; padding: 10px 16px; clip: auto; background: var(--navy-900); color: #fff; z-index: 1000; border-radius: 999px; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--page); }
::-webkit-scrollbar-thumb { background: #b6c3ea; border: 3px solid var(--page); border-radius: 999px; }

/* neutralise GeneratePress (thème parent) */
.entry-title, .site-header, #masthead, #colophon, .generate-back-to-top, .inside-navigation, .main-navigation { display: none !important; }
#page, #content, #primary, .site-inner, .inside-site-container { display: contents !important; max-width: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
.site-content { display: contents !important; padding-top: 0 !important; margin-top: 0 !important; }
#main.site-main { display: block !important; padding: 0 !important; margin: 0 !important; max-width: none !important; float: none !important; width: auto !important; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--step) 0 0; }

/* ============ En-tête ============ */
.nav { position: sticky; top: 0; z-index: 50; background: var(--page); }
.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .nav { top: 46px; } }
.nav__inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.logo:hover { color: var(--ink); text-decoration: none; }
.logo__mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--blue-600); color: #fff; font-weight: 800; font-size: 18px; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; margin-right: 8px; }
.nav__link { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-soft); text-decoration: none; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.nav__link:hover { background: var(--blue-100); color: var(--ink); text-decoration: none; }
.nav__link.active { background: var(--blue-100); color: var(--blue-700); }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.nav__mobile { border-top: 1px solid var(--line); background: var(--surface); padding: 8px var(--gutter) 16px; }
.nav__mobile .nav__link { display: flex; height: 50px; border-radius: 14px; font-size: 17px; }
.nav__mobile[hidden] { display: none; }
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .nav .nav__cta { display: none; }
}

/* ============ Boutons ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-family: var(--font); font-weight: 700; font-size: 16px; letter-spacing: -0.005em; text-decoration: none; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease); }
.btn--primary { background: var(--blue-600); color: #fff; }
.btn--primary:hover { background: var(--blue-700); color: #fff; text-decoration: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: #c4cef0; }
.btn--ghost:hover { background: var(--surface); color: var(--ink); text-decoration: none; border-color: var(--blue-600); }
.btn--onnavy { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn--onnavy:hover { background: rgba(255, 255, 255, 0.1); color: #fff; text-decoration: none; border-color: #fff; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn:active { transform: translateY(0); }

/* ============ Héros ============ */
.hero { position: relative; overflow: hidden; background: var(--navy-950); color: var(--on-navy); border-radius: 0 0 var(--r-hero) var(--r-hero); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(48px, 7vw, 92px) 0 clamp(64px, 8vw, 112px); }
.hero__h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.1rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; max-width: 16ch; }
.hero__sub { margin-top: 22px; max-width: 50ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.6; font-weight: 500; color: var(--on-navy-soft); }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero__stack { position: relative; }
.panel { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: 10px; box-shadow: var(--shadow-lg); }
.panel__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 10px; font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.panel__head a { font-weight: 700; font-size: 14px; text-decoration: none; }
.panel__head a:hover { text-decoration: underline; }
.panel__item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 18px; text-decoration: none; color: var(--ink); transition: background-color 0.2s var(--ease); }
.panel__item:hover { background: var(--blue-50); color: var(--ink); text-decoration: none; }
.panel__name { display: block; font-weight: 800; font-size: 16.5px; letter-spacing: -0.015em; line-height: 1.2; }
.panel__meta { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--muted); }
.panel__go { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-700); font-weight: 800; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.panel__item:hover .panel__go { background: var(--blue-600); color: #fff; }
.panel-note { margin-top: 14px; background: var(--navy-800); color: var(--on-navy); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--r-md); padding: 16px 20px; }
.panel-note strong { display: block; font-size: 15px; letter-spacing: -0.01em; }
.panel-note p { margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--on-navy-soft); font-weight: 500; }
.panel-note a { color: #fff; font-weight: 700; font-size: 13.5px; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* pastilles d'initiales */
.chip { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; font-weight: 800; font-size: 15px; letter-spacing: -0.02em; color: var(--navy-900); }
.chip--mint { background: var(--mint); } .chip--sky { background: var(--sky); } .chip--sand { background: var(--sand); } .chip--lilac { background: var(--lilac); }
.chip--lg { width: 56px; height: 56px; border-radius: 18px; font-size: 19px; }

/* entrée du héros : un seul moment, une fois */
.hero__h1, .hero__sub, .hero__actions { animation: rise 0.8s var(--ease) both; }
.hero__sub { animation-delay: 0.07s; } .hero__actions { animation-delay: 0.14s; }
.panel { animation: float-in 0.9s var(--ease) 0.18s both; }
.panel-note { animation: float-in 0.9s var(--ease) 0.4s both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes float-in { from { opacity: 0; transform: translateY(26px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ============ Titres de section ============ */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -0.035em; max-width: 20ch; }
.sec-head p { margin-top: 10px; max-width: 54ch; color: var(--muted); font-size: 17px; font-weight: 500; }
.sec-head__link { font-weight: 700; font-size: 15px; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.sec-head__link:hover { text-decoration: underline; }
@media (max-width: 640px) { .sec-head { flex-direction: column; align-items: flex-start; } }

/* ============ Avis courtiers : bento ============ */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.avis { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); grid-column: span 3; }
.avis:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #c3cff3; color: var(--ink); text-decoration: none; }
.avis__name { font-weight: 800; font-size: 21px; letter-spacing: -0.03em; line-height: 1.12; }
.avis__text { font-size: 15.5px; line-height: 1.55; color: var(--muted); font-weight: 500; flex: 1; }
.avis__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.avis__cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: var(--blue-700); }
.avis:hover .avis__cta { color: var(--blue-600); }
.avis--lead { grid-column: span 6; grid-row: span 2; padding: 32px; background: var(--navy-900); border-color: transparent; color: #fff; }
.avis--lead .avis__name { font-size: clamp(1.9rem, 3vw, 2.5rem); color: #fff; }
.avis--lead .avis__text { color: var(--on-navy-soft); font-size: 17px; flex: 0 0 auto; }
.avis--lead .avis__foot { margin-top: auto; color: var(--on-navy-soft); }
.avis--lead .avis__cta { color: #fff; }
.avis--lead:hover { color: #fff; border-color: transparent; }
.avis--lead:hover .avis__cta { color: #fff; }
.avis--wide { grid-column: span 6; }
.avis__tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); color: #fff; font-weight: 700; font-size: 12.5px; }
@media (max-width: 1000px) { .avis { grid-column: span 6; } .avis--lead { grid-column: span 12; grid-row: auto; } }
@media (max-width: 620px) { .avis, .avis--wide { grid-column: span 12; } }

/* ============ Actualités ============ */
.news { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px; }
.news-lead { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 32px; border-radius: var(--r-lg); background: var(--blue-100); text-decoration: none; color: var(--ink); min-height: 340px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.news-lead:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--ink); text-decoration: none; }
.news-lead__title { font-size: clamp(1.6rem, 2.6vw, 2.15rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
.news-lead__text { margin-top: 14px; color: var(--ink-soft); font-size: 16.5px; line-height: 1.55; font-weight: 500; }
.news-lead__meta { font-size: 14px; font-weight: 700; color: var(--blue-700); }
.news-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px; box-shadow: var(--shadow-sm); }
.news-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 20px; text-decoration: none; color: var(--ink); transition: background-color 0.2s var(--ease); }
.news-row:hover { background: var(--blue-50); color: var(--ink); text-decoration: none; }
.news-row + .news-row { margin-top: 2px; }
.news-row__title { display: block; font-weight: 700; font-size: 16.5px; line-height: 1.3; letter-spacing: -0.015em; }
.news-row__meta { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.news-row .panel__go { flex: none; }
@media (max-width: 900px) { .news { grid-template-columns: 1fr; } .news-lead { min-height: 0; } }

/* ============ Guides : tuiles pastel ============ */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 148px; padding: 22px; border-radius: var(--r-md); text-decoration: none; color: var(--navy-900); font-weight: 800; font-size: 19px; letter-spacing: -0.025em; line-height: 1.2; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--navy-900); text-decoration: none; }
.tile .panel__go { background: rgba(255, 255, 255, 0.7); color: var(--navy-900); align-self: flex-end; }
.tile:hover .panel__go { background: var(--navy-900); color: #fff; }
.tile--mint { background: var(--mint); } .tile--sky { background: var(--sky); } .tile--sand { background: var(--sand); } .tile--lilac { background: var(--lilac); }
.tile:nth-child(1), .tile:nth-child(6), .tile:nth-child(7), .tile:nth-child(8) { grid-column: span 2; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile:nth-child(n) { grid-column: span 1; } .tile:nth-child(1) { grid-column: span 2; } }
@media (max-width: 460px) { .tiles { grid-template-columns: 1fr; } .tile:nth-child(n) { grid-column: span 1; } .tile { min-height: 112px; } }

/* ============ FAQ ============ */
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px 28px; box-shadow: var(--shadow-sm); }
.faq__item + .faq__item { border-top: 1px solid var(--line); }
.faq__q { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; line-height: 1.3; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); font-size: 20px; font-weight: 700; line-height: 1; transition: transform 0.25s var(--ease), background-color 0.2s var(--ease); }
.faq__item[open]:not(.is-closing) .faq__q::after { content: "−"; background: var(--blue-600); color: #fff; }
.faq__q:hover { color: var(--blue-700); }
.faq__a { overflow: hidden; padding: 0 0 24px; max-width: 70ch; color: var(--ink-soft); font-size: 16.5px; line-height: 1.65; }

/* ============ Bandeau transparence ============ */
.trust { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: var(--navy-900); color: var(--on-navy); }
.trust h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.2rem); max-width: 22ch; }
.trust p { margin-top: 12px; max-width: 62ch; color: var(--on-navy-soft); font-size: 16.5px; line-height: 1.6; }
.trust__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .trust { grid-template-columns: 1fr; } }

/* ============ Article ============ */
.read-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: var(--blue-600); z-index: 60; border-radius: 0 4px 4px 0; }
.art-hero { background: var(--blue-50); padding: 36px 0 12px; }
.art-breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.art-breadcrumb a { color: var(--muted); text-decoration: none; }
.art-breadcrumb a:hover { color: var(--blue-700); text-decoration: underline; }
.art-breadcrumb__sep { color: #a8b4d8; }
.art-breadcrumb__current { color: var(--ink); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art-title { margin-top: 24px; font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.035em; max-width: 24ch; }
.art-deck { margin-top: 18px; max-width: 60ch; font-size: 19px; line-height: 1.55; color: var(--ink-soft); font-weight: 500; }
.art-deck p { margin: 0; }
.art-facts { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.pill b { font-weight: 800; color: var(--ink); }
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 64px); padding: 36px 0 var(--step); align-items: start; }
.art-body { min-width: 0; }
.art-side { position: sticky; top: 92px; display: grid; gap: 18px; }
@media (max-width: 980px) { .art-grid { grid-template-columns: 1fr; } .art-side { position: static; } }

.side-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 8px; box-shadow: var(--shadow-sm); }
.side-list__head { padding: 14px 14px 8px; font-weight: 800; font-size: 16px; letter-spacing: -0.02em; }
.side-link { display: block; padding: 12px 14px; border-radius: 14px; text-decoration: none; color: var(--ink); transition: background-color 0.2s var(--ease); }
.side-link:hover { background: var(--blue-50); color: var(--ink); text-decoration: none; }
.side-link__date { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.side-link__title { font-weight: 700; font-size: 15px; line-height: 1.3; letter-spacing: -0.01em; }
.note-card { background: var(--navy-900); color: var(--on-navy); border-radius: var(--r-md); padding: 20px; }
.note-card strong { display: block; font-size: 16px; letter-spacing: -0.015em; }
.note-card p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--on-navy-soft); font-weight: 500; }
.note-card__links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; font-weight: 700; }
.note-card__links a { color: #fff; }

/* texte long */
.prose { max-width: 70ch; font-size: 17.5px; line-height: 1.72; color: var(--ink); font-weight: 500; }
.prose > * + * { margin-top: 1.2em; }
.prose a { color: var(--blue-700); font-weight: 600; }
.prose strong { font-weight: 800; }
.prose h2 { margin-top: 2.4em; font-size: clamp(1.55rem, 2.6vw, 2rem); letter-spacing: -0.03em; line-height: 1.15; }
.prose h3 { margin-top: 1.9em; font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -0.02em; line-height: 1.22; }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--blue-600); font-weight: 800; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose img { border-radius: var(--r-md); }
.prose blockquote { margin: 1.7em 0; padding: 18px 22px; background: var(--blue-100); border-radius: var(--r-md); font-size: 16px; line-height: 1.6; color: var(--ink-soft); font-style: normal; }
.prose blockquote p { margin: 0; } .prose blockquote p + p { margin-top: 0.6em; } .prose blockquote em { font-style: normal; }
.prose code { background: var(--blue-100); padding: 2px 7px; border-radius: 6px; font-size: 0.9em; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* tableaux */
.prose table, .entry-content table {
  width: 100% !important; margin: 1.9em 0 !important; border-collapse: separate !important; border-spacing: 0 !important;
  font-size: 15.5px !important; line-height: 1.45; background: var(--surface) !important; border: 1px solid var(--line) !important;
  border-radius: var(--r-md) !important; overflow: hidden; box-shadow: var(--shadow-sm) !important;
}
.prose table thead th, .entry-content table thead th {
  background: var(--blue-100) !important; color: var(--navy-900) !important; text-align: left !important; padding: 13px 16px !important;
  border: 0 !important; border-bottom: 1px solid #cdd8fb !important; font-size: 13.5px !important; font-weight: 800 !important; letter-spacing: 0.01em !important; text-transform: none !important;
}
.prose table td, .entry-content table td { padding: 13px 16px !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; color: var(--ink) !important; vertical-align: top; }
.prose table tr:last-child td, .entry-content table tr:last-child td { border-bottom: 0 !important; }
.prose table td:first-child, .entry-content table td:first-child { font-weight: 700; color: var(--navy-900) !important; }
.prose table tbody tr:hover td { background: var(--blue-50) !important; }
@media (max-width: 700px) { .prose table, .entry-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } .prose table td, .prose table th { min-width: 130px; } }

/* précédent / suivant */
.art-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 3.2em; }
.art-postnav__item { display: block; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.art-postnav__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--ink); text-decoration: none; }
.art-postnav__item--next { text-align: right; }
.art-postnav__dir { display: block; font-size: 13px; font-weight: 800; color: var(--blue-700); margin-bottom: 4px; }
.art-postnav__title { display: block; font-weight: 700; font-size: 16px; line-height: 1.3; letter-spacing: -0.01em; }
@media (max-width: 600px) { .art-postnav { grid-template-columns: 1fr; } .art-postnav__item--next { text-align: left; } }

/* ============ Archives ============ */
.cat-hero { background: var(--blue-50); padding: clamp(44px, 6vw, 84px) 0 24px; }
.cat-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); line-height: 1.04; letter-spacing: -0.035em; max-width: 18ch; }
.cat-hero__sub { margin-top: 16px; max-width: 58ch; font-size: 19px; color: var(--ink-soft); font-weight: 500; }
.cat-list { display: grid; gap: 12px; padding-top: 12px; }
.cat-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.cat-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--ink); text-decoration: none; }
.cat-item__meta { font-size: 13px; font-weight: 700; color: var(--blue-700); margin-bottom: 6px; }
.cat-item__title { font-weight: 800; font-size: clamp(1.1rem, 1.7vw, 1.3rem); letter-spacing: -0.025em; line-height: 1.25; }
.cat-item__text { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.55; font-weight: 500; max-width: 74ch; }
@media (max-width: 560px) { .cat-item { padding: 18px; } .cat-item .panel__go { display: none; } .cat-item { grid-template-columns: 1fr; } }
.pager { margin-top: 36px; padding-bottom: var(--step); }
.pager ul.page-numbers { list-style: none; margin: 0; padding: 6px; display: flex; flex-wrap: wrap; gap: 4px; width: fit-content; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.pager .page-numbers li { margin: 0; }
.pager a.page-numbers, .pager span.page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink); }
.pager a.page-numbers:hover { background: var(--blue-100); text-decoration: none; }
.pager span.page-numbers.current { background: var(--blue-600); color: #fff; }

/* ============ Pied de page ============ */
.footer { margin-top: var(--step); padding-top: clamp(40px, 5vw, 64px); background: var(--navy-950); color: var(--on-navy); border-radius: var(--r-hero) var(--r-hero) 0 0; }
.footer__notice { background: var(--navy-800); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6); }
.footer__notice-head { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; margin-bottom: 12px; color: #fff; }
.footer__notice-body { display: grid; gap: 10px; max-width: 100ch; font-size: 15px; line-height: 1.6; color: var(--on-navy-soft); font-weight: 500; }
.footer__notice-body strong { color: #fff; font-weight: 800; }
.footer__notice-body a { color: #fff; font-weight: 700; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding: 44px 0 40px; }
.footer__brand p { margin-top: 14px; max-width: 36ch; font-size: 15px; color: var(--on-navy-soft); line-height: 1.6; }
.footer .logo { color: #fff; }
.footer__col h4 { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: -0.01em; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col a { font-weight: 600; font-size: 15px; color: var(--on-navy-soft); text-decoration: none; }
.footer__col a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 20px 0 32px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13.5px; font-weight: 600; color: #9aa6d3; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__legal a { color: #9aa6d3; text-decoration: none; } .footer__legal a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ============ Pages (mentions, à propos, affiliation…) ============ */
.page .inside-article, .page .entry-content { max-width: 78ch; margin-left: auto; margin-right: auto; padding: var(--step) var(--gutter); font-size: 17.5px; line-height: 1.72; }
.page .entry-content h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); letter-spacing: -0.035em; margin-bottom: 0.5em; }
.page .entry-content h2 { margin-top: 2em; font-size: 1.7rem; letter-spacing: -0.03em; }
.page .entry-content > * + * { margin-top: 1em; }
.legal-page { font-family: var(--font) !important; color: var(--ink) !important; max-width: none !important; padding: 0 !important; }
.legal-page h1, .legal-page h2 { color: var(--ink) !important; font-family: var(--font) !important; }
.legal-page h2 { border-bottom: 0 !important; padding-bottom: 0 !important; }
.legal-page a { color: var(--blue-700) !important; }
.legal-page .legal-box { background: var(--blue-100) !important; border: 0 !important; border-radius: var(--r-md) !important; }

/* ============ Mouvement réduit ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ============ Consentement aux cookies ============ */
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); color: #fff; text-decoration: none; }
.consent { position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px; max-width: 760px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.consent[hidden] { display: none; }
.consent:focus { outline: 3px solid var(--blue-600); outline-offset: 2px; }
.consent__body { padding: 22px 24px; display: grid; gap: 12px; }
.consent__title { font-size: 19px; letter-spacing: -0.02em; }
.consent__text { font-size: 15px; line-height: 1.55; color: var(--ink-soft); font-weight: 500; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.consent__actions .btn { min-height: 46px; padding: 0 22px; }
.consent__custom { background: none; border: 0; padding: 10px 6px; font: inherit; font-weight: 700; font-size: 15px; color: var(--blue-700); text-decoration: underline; text-underline-offset: 0.2em; }
.consent__custom:hover { color: var(--blue-600); }
.consent__panel { display: grid; gap: 10px; padding: 14px; background: var(--blue-50); border-radius: var(--r-md); }
.consent__panel[hidden] { display: none; }
.consent__opt { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; cursor: pointer; }
.consent__opt input { width: 20px; height: 20px; margin-top: 2px; }
.consent__opt strong { display: block; font-size: 15px; }
.consent__opt small { display: block; font-size: 13.5px; line-height: 1.45; color: var(--muted); font-weight: 500; }
.footer__cookies { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: #9aa6d3; text-decoration: none; cursor: pointer; }
.footer__cookies:hover { color: #fff; text-decoration: underline; }
@media (max-width: 560px) { .consent { left: 8px; right: 8px; bottom: 8px; } .consent__body { padding: 18px; } .consent__actions .btn { flex: 1 1 calc(50% - 5px); padding: 0 12px; } }
