/* ==========================================================================
   Simon Daragon — design system « La République en Clair »
   Charte : encre marine #0c1730 · ivoire #f5f1e7 · or Riviera #b89158
   Typo : Libre Caslon Display (voix / autorité) + Public Sans (rigueur)
   ========================================================================== */

:root {
  --ink: #0c1730;
  --ink-deep: #08101f;
  --ink-2: #14264d;
  --ivory: #f5f1e7;
  --ivory-2: #ece5d5;
  --gold: #b89158;
  --gold-soft: #c9a978;
  --paper: #fffdf8;
  --line: rgba(245, 241, 231, .12);
  --line-ink: rgba(12, 23, 48, .12);
  --serif: 'Libre Caslon Display', Georgia, serif;
  --sans: 'Public Sans', system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
/* overflow-x: clip (pas hidden) — clippe le débordement SANS casser position:sticky du header */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
::selection { background: var(--gold); color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

/* ---- Kicker / eyebrow ---- */
.kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.kicker::before { content: ""; width: 40px; height: 1px; background: var(--gold); display: inline-block; }
.kicker.center::before { display: none; }
.sec-num { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(245,241,231,.5); }

/* ==========================================================================
   TOP BAR — annonce (nouveau livre)
   ========================================================================== */
.topbar { display: flex; align-items: center; justify-content: center; gap: 11px; padding: 9px 18px; background: var(--gold); color: var(--ink); font-size: 12.5px; letter-spacing: .03em; font-weight: 500; text-align: center; transition: background .25s; }
.topbar:hover { background: var(--gold-soft); }
.topbar .tb-tag { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; border: 1px solid rgba(12,23,48,.35); border-radius: 2px; padding: 2px 8px; }
.topbar .tb-arw { transition: transform .25s; }
.topbar:hover .tb-arw { transform: translateX(4px); }
@media (max-width: 560px) { .topbar { font-size: 11px; padding: 8px 12px; gap: 8px; } .topbar .tb-tag { display: none; } }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(12, 23, 48, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease), padding .4s var(--ease);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 48px);
  transition: padding .4s var(--ease);
}
.nav.shrink .nav-inner { padding-top: 13px; padding-bottom: 13px; }
.nav-logo { font-family: var(--serif); font-size: 21px; letter-spacing: .01em; white-space: nowrap; }
.nav-logo b { color: var(--gold); font-weight: 400; }
/* Le monogramme est bicolore (or + navy foncé) : sur fond bleu, la partie navy
   disparaît. Badge ivoire pour que le « S » ressorte. Image inline (vertical-align)
   pour ne PAS séparer « Simon » de « Daragon » (le gap flex le faisait). */
.nav-mark { height: 34px; width: 34px; display: inline-block; vertical-align: middle; margin: -3px 11px 0 0; object-fit: contain; background: var(--ivory); border-radius: 7px; padding: 4px; transition: transform .4s var(--ease); }
.nav-logo:hover .nav-mark { transform: rotate(-8deg) scale(1.05); }
.footer-brand { font-family: var(--serif); font-size: 30px; white-space: nowrap; }
.footer-mark { height: 46px; width: 46px; display: inline-block; vertical-align: middle; margin-right: 13px; object-fit: contain; background: var(--ivory); border-radius: 9px; padding: 6px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link {
  position: relative; cursor: pointer;
  display: inline-flex; align-items: center; line-height: 1;
  font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(245, 241, 231, .74); transition: color .25s;
  padding: 8px 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--ivory); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-has-sub { position: relative; }
/* chevron dessiné en CSS (triangle) — jamais de glyphe manquant / tofu */
.nav-has-sub .chev {
  display: inline-block; width: 0; height: 0; margin-left: 7px; vertical-align: middle;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: .55;
  transition: transform .3s var(--ease), opacity .25s;
}
.nav-has-sub:hover .chev { transform: rotate(180deg); opacity: 1; color: var(--gold); }
/* pont invisible (sur ::before pour NE PAS entrer en collision avec le
   soulignement .nav-link::after, sinon le pont hérite du fond or = gros trait). */
.nav-has-sub::before {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 22px; z-index: 61;
}
.nav-sub {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 3px;
  min-width: 272px; padding: 8px; opacity: 0; visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .25s;
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
}
.nav-has-sub:hover .nav-sub, .nav-sub:hover {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s 0s;
}
.nav-sub a {
  display: block; padding: 11px 14px; font-size: 13px; color: rgba(245,241,231,.8);
  border-radius: 2px; transition: background .2s, color .2s; text-transform: none; letter-spacing: 0;
}
.nav-sub a:hover { background: rgba(184,145,88,.14); color: var(--gold); }
.nav-cta {
  border: 1px solid var(--gold); color: var(--gold);
  padding: 9px 18px; border-radius: 2px; font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s;
}
.nav-cta:hover { background: var(--gold); color: var(--ink); }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav-burger span { width: 24px; height: 2px; background: var(--ivory); transition: transform .35s var(--ease), opacity .25s; }
.nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  font-weight: 600; padding: 15px 30px; border-radius: 2px; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s;
  border: 1px solid transparent; will-change: transform;
}
.btn .arw { transition: transform .3s var(--ease); }
.btn:hover .arw { transform: translateX(5px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--ivory); }
.btn-ghost { border-color: rgba(245, 241, 231, .3); color: var(--ivory); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline { border-color: var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: var(--ink-2); }
/* soulignement uniquement sous le TEXTE (la flèche, en inline-block, en est exclue) */
.link-gold {
  display: inline; font-size: 13px; font-weight: 600; color: var(--gold); cursor: pointer;
  text-decoration: underline; text-decoration-color: rgba(184,145,88,.45);
  text-underline-offset: 5px; text-decoration-thickness: 1px;
  transition: text-decoration-color .3s var(--ease);
}
.link-gold:hover { text-decoration-color: var(--gold); }
.link-gold .arw { display: inline-block; text-decoration: none; margin-left: 7px; transition: transform .3s var(--ease); }
.link-gold:hover .arw { transform: translateX(4px); }

/* ==========================================================================
   SECTIONS / SURFACES
   ========================================================================== */
.sec { padding: clamp(56px, 9vw, 100px) 0; }
.sec-light { background: var(--ivory); color: var(--ink); }
.sec-light .kicker { color: var(--gold); }
.sec-light .sec-num { color: #8a7a5c; }
.sec-light p { color: #40402f; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(28px, 4.4vw, 40px); line-height: 1.08; }
.eyebrow-row { margin-bottom: 20px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { display: grid; grid-template-columns: 1.12fr .88fr; min-height: min(88vh, 720px); }
.hero-copy { padding: clamp(48px, 7vw, 84px) clamp(20px, 5vw, 48px); display: flex; flex-direction: column; justify-content: center; max-width: 640px; margin-left: auto; }
.hero h1 { font-size: clamp(44px, 6.6vw, 78px); line-height: .98; margin: 22px 0 0; }
.hero h1 .em { font-style: italic; color: var(--gold); }
.hero-lead { font-size: clamp(15px, 1.6vw, 17px); line-height: 1.75; color: rgba(245, 241, 231, .78); max-width: 460px; margin: 24px 0 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-media { position: relative; overflow: hidden; background: var(--ink-deep); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; opacity: .92; will-change: transform; }
.hero-media .grad { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(12,23,48,.08) 42%, rgba(12,23,48,.12) 100%); }
.hero-quote {
  position: absolute; left: 32px; right: 32px; bottom: 32px;
  border-left: 2px solid var(--gold); padding-left: 16px;
  font-family: var(--serif); font-style: italic; font-size: clamp(14px, 1.5vw, 16px);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .6);
}

/* ---- Marquee ---- */
.marquee { background: var(--gold); color: var(--ink); overflow: hidden; white-space: nowrap; padding: 13px 0; font-family: var(--serif); font-size: 15px; letter-spacing: .03em; }
.marquee-track { display: inline-block; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { padding: 0 24px; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ==========================================================================
   CARDS / GRIDS
   ========================================================================== */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-ink); border: 1px solid var(--line-ink); }
.cap-card { background: var(--ivory); padding: 32px 24px 36px; transition: background .3s, transform .3s var(--ease); }
.cap-card:hover { background: var(--paper); }
.cap-card .n { font-family: var(--serif); font-size: 30px; color: var(--gold); margin-bottom: 14px; }
.cap-card h3 { font-size: 17px; font-weight: 600; font-family: var(--sans); margin-bottom: 10px; color: var(--ink); }
.cap-card p { font-size: 13.5px; line-height: 1.6; color: #4a4636; margin: 0; }

.split { display: grid; grid-template-columns: .92fr 1.08fr; align-items: stretch; }
.split.rev { grid-template-columns: 1.08fr .92fr; }
.split-media { position: relative; overflow: hidden; min-height: 440px; background: var(--ink-deep); }
/* léger sur-cadrage au repos (scale 1.03) : l'image déborde et est clippée par
   overflow:hidden → supprime la couture claire de sous-pixel au bord image/texte. */
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transform: scale(1.03); transition: transform 1.1s var(--ease); will-change: transform; }
.split-media:hover img { transform: scale(1.08); }
.split-media .grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,23,48,.05), rgba(12,23,48,.5)); }
.split-copy { padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.split-copy h2 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.12; margin: 16px 0 18px; }

/* ---- Stats ---- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 32px; margin-top: 8px; }
.stat .num { font-family: var(--serif); font-size: clamp(38px, 5vw, 48px); color: var(--gold); line-height: 1; }
.stat .lbl { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(245, 241, 231, .6); margin-top: 8px; }
.sec-light .stats { border-top-color: var(--line-ink); }
.sec-light .stat .lbl { color: #8a7a5c; }

/* ---- Feature emphasis / quote band ---- */
.emphasis { position: relative; padding: clamp(64px, 10vw, 100px) 0; text-align: center; background: radial-gradient(120% 120% at 50% 0%, var(--ink-2), var(--ink)); }
.emphasis h2 { font-size: clamp(30px, 5vw, 52px); line-height: 1.06; margin: 18px auto; max-width: 780px; }
.emphasis p { font-size: 15.5px; color: rgba(245, 241, 231, .75); max-width: 600px; margin: 0 auto 34px; }

/* ---- Grille de logos (entreprises) ---- */
.brands { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.brand-tile { background: #fff; border: 1px solid rgba(12,23,48,.07); border-radius: 8px; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; padding: 20px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.brand-tile:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(12,23,48,.14); }
.brand-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 820px) { .brands { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .brands { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---- Livres : les deux éditions ---- */
.books { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.books-covers { display: flex; gap: clamp(16px, 3vw, 30px); align-items: flex-end; justify-content: center; }
.book-cover { position: relative; flex: 0 1 auto; }
.book-cover img { display: block; width: 100%; max-width: 190px; border-radius: 3px; box-shadow: 0 22px 50px rgba(12,23,48,.3); transition: transform .5s var(--ease); }
.book-cover:hover img { transform: translateY(-8px) rotate(-1deg); }
.book-cover.featured img { max-width: 220px; box-shadow: 0 28px 60px rgba(12,23,48,.4); }
.book-cover .badge { position: absolute; top: -11px; right: -6px; z-index: 2; background: var(--gold); color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 11px; border-radius: 2px; box-shadow: 0 8px 18px rgba(0,0,0,.2); }
.book-cover .ed { display: block; text-align: center; margin-top: 14px; font-family: var(--sans); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #8a7a5c; }
.books-text h3 { font-family: var(--serif); font-size: clamp(24px, 3.2vw, 32px); color: var(--ink); margin: 10px 0 14px; }
.books-text p { color: #40402f; }
@media (max-width: 820px) { .books { grid-template-columns: 1fr; gap: 36px; } .book-cover img { max-width: 150px; } .book-cover.featured img { max-width: 172px; } }

/* ---- Culture cards (livre / slam) ---- */
.culture { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.cul-book { display: flex; gap: 22px; background: var(--paper); padding: 28px; align-items: center; }
.cul-book img { width: 118px; height: 158px; object-fit: cover; flex: none; box-shadow: 0 16px 34px rgba(12,23,48,.22); }
.cul-slam { position: relative; overflow: hidden; padding: 28px; color: var(--ivory); min-height: 216px; display: flex; flex-direction: column; justify-content: flex-end; }
.cul-slam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.cul-slam:hover img { transform: scale(1.06); }
.cul-slam .grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,23,48,.1), rgba(12,23,48,.85)); }
.cul-slam .inner { position: relative; }
.cul-tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.cul-book h3, .cul-slam h3 { font-family: var(--serif); font-size: 22px; margin: 8px 0 10px; color: inherit; }
.cul-book h3 { color: var(--ink); }
.cul-book p { font-size: 13px; color: #4a4636; margin: 0 0 14px; }
.cul-slam p { font-size: 13px; color: rgba(245,241,231,.85); margin: 0 0 14px; max-width: 380px; }

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { cursor: pointer; }
.blog-card .thumb { overflow: hidden; margin-bottom: 16px; aspect-ratio: 16/10; background: var(--ink-deep); }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.blog-card:hover .thumb img { transform: scale(1.06); }
.blog-card .cat { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.blog-card h3 { font-size: 19px; line-height: 1.28; margin: 8px 0 0; transition: color .25s; }
.blog-card:hover h3 { color: var(--gold); }
.blog-card .date { font-size: 12px; color: rgba(245,241,231,.5); margin-top: 10px; }
.sec-light .blog-card .date { color: #8a7a5c; }
.blog-card .meta-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }

/* ==========================================================================
   ARTICLE — mise en page éditoriale
   ========================================================================== */
.article-hero { position: relative; padding: clamp(70px, 11vw, 130px) 0 clamp(34px, 5vw, 60px); background: radial-gradient(130% 120% at 74% 0%, var(--ink-2), var(--ink)); overflow: hidden; }
.article-hero::before { content: ""; position: absolute; top: -40%; right: -8%; width: 460px; height: 460px; background: radial-gradient(circle, rgba(184,145,88,.14), transparent 68%); pointer-events: none; }
.article-hero .wrap { position: relative; }
.article-hero .meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px; }
.article-hero .meta .cat { color: var(--ink); background: var(--gold); padding: 5px 12px; border-radius: 2px; font-weight: 600; }
.article-hero .meta .dot { color: rgba(245,241,231,.35); }
.article-hero .meta .m { color: rgba(245,241,231,.6); }
.article-hero h1 { font-size: clamp(32px, 5.2vw, 58px); line-height: 1.04; max-width: 900px; }
.article-byline { display: flex; align-items: center; gap: 13px; margin-top: 28px; }
.article-byline .av { width: 44px; height: 44px; border-radius: 50%; background: var(--ivory); border: 1px solid rgba(184,145,88,.4); display: flex; align-items: center; justify-content: center; flex: none; }
.article-byline .av img { width: 30px; height: 30px; }
.article-byline .who { font-size: 14px; color: var(--ivory); font-weight: 500; }
.article-byline .role { font-size: 12.5px; color: rgba(245,241,231,.55); }

.article-cover { max-width: 1020px; margin: -34px auto 0; padding: 0 clamp(20px, 5vw, 48px); position: relative; z-index: 2; }
.article-cover img { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: 4px; box-shadow: 0 40px 90px rgba(0,0,0,.4); }

.article-shell { max-width: 1080px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 48px) 20px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 68px); align-items: start; }
.article-toc { position: sticky; top: 96px; }
.article-toc-label { font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.article-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; border-left: 1px solid var(--line); }
.article-toc li { counter-increment: t; }
.article-toc a { display: block; padding: 8px 0 8px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: 13px; line-height: 1.4; color: rgba(245,241,231,.55); transition: color .25s, border-color .25s; }
.article-toc a:hover, .article-toc a.active { color: var(--ivory); border-left-color: var(--gold); }

.article-body { max-width: 720px; font-size: 18px; line-height: 1.82; color: rgba(245,241,231,.86); }
.article-body > p:first-of-type { font-size: 1.12em; color: var(--ivory); }
.article-body > p:first-of-type::first-letter { font-family: var(--serif); font-size: 3.4em; line-height: .82; float: left; margin: .06em .12em 0 0; color: var(--gold); }
.article-body h2 { font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); line-height: 1.15; margin: 1.9em 0 .6em; color: var(--ivory); padding-top: .3em; scroll-margin-top: 90px; position: relative; }
.article-body h2::before { content: ""; position: absolute; left: -22px; top: 1.05em; width: 12px; height: 2px; background: var(--gold); }
.article-body h3 { font-size: 20px; margin: 1.5em 0 .5em; color: var(--gold-soft); font-family: var(--sans); font-weight: 700; }
.article-body p { margin: 0 0 1.25em; }
.article-body ul, .article-body ol { margin: 0 0 1.4em; padding-left: 4px; list-style: none; }
.article-body ul li, .article-body ol li { margin-bottom: .7em; padding-left: 26px; position: relative; }
.article-body ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border: 1.5px solid var(--gold); transform: rotate(45deg); }
.article-body ol { counter-reset: n; }
.article-body ol li { counter-increment: n; }
.article-body ol li::before { content: counter(n); position: absolute; left: 0; top: 0; font-family: var(--serif); color: var(--gold); font-size: .95em; }
.article-body a:not(.btn):not(.link-gold) { color: var(--gold); border-bottom: 1px solid rgba(184,145,88,.4); }
.article-body strong { color: var(--ivory); font-weight: 600; }
.article-body blockquote { border-left: 2px solid var(--gold); margin: 1.6em 0; padding: 4px 0 4px 24px; font-family: var(--serif); font-style: italic; font-size: 1.24em; line-height: 1.5; color: var(--ivory); }

.author-card { display: flex; gap: 22px; align-items: center; margin: 48px 0 0; padding: 30px 32px; background: linear-gradient(135deg, rgba(184,145,88,.09), rgba(20,38,77,.4)); border: 1px solid rgba(184,145,88,.24); border-radius: 6px; }
.author-card .av { width: 64px; height: 64px; border-radius: 50%; background: var(--ivory); border: 1px solid rgba(184,145,88,.45); display: flex; align-items: center; justify-content: center; flex: none; }
.author-card .av img { width: 44px; height: 44px; }
.author-card .lbl { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.author-card h4 { font-family: var(--serif); font-size: 21px; color: var(--ivory); margin: 0 0 6px; font-weight: 400; }
.author-card p { font-size: 13.5px; color: rgba(245,241,231,.68); margin: 0; line-height: 1.6; }

@media (max-width: 860px) {
  .article-shell { grid-template-columns: 1fr; gap: 0; }
  .article-toc { display: none; }
  .article-body { max-width: none; font-size: 17px; }
  .article-body h2::before { display: none; }
  .author-card { flex-direction: column; text-align: center; align-items: center; }
}

/* ---- Slam : morceaux + vidéo ---- */
.morceau { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; margin-top: 8px; }
.morceau.rev { direction: rtl; } .morceau.rev > * { direction: ltr; }
.video-wrap { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.45); border: 1px solid rgba(184,145,88,.2); }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.morceau h3 { font-family: var(--serif); font-size: clamp(24px, 3.2vw, 34px); color: var(--ivory); margin: 12px 0 16px; font-weight: 400; }
.slam-quote { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 4.4vw, 44px); line-height: 1.25; color: var(--ivory); text-align: center; max-width: 760px; margin: 0 auto; }
.slam-quote .mark { color: var(--gold); }
@media (max-width: 760px) { .morceau, .morceau.rev { grid-template-columns: 1fr; direction: ltr; } }

/* ---- Pages légales ---- */
.legal-body { max-width: 780px; margin: 0 auto; padding: clamp(36px,6vw,64px) clamp(20px,5vw,48px) 20px; font-size: 15.5px; line-height: 1.75; color: rgba(245,241,231,.82); }
.legal-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(20px,2.6vw,26px); color: var(--ivory); margin: 1.9em 0 .5em; scroll-margin-top: 90px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 16px; font-weight: 700; color: var(--gold-soft); margin: 1.4em 0 .4em; }
.legal-body p { margin: 0 0 1em; }
.legal-body ul { margin: 0 0 1.2em; padding-left: 0; list-style: none; }
.legal-body li { position: relative; padding-left: 22px; margin-bottom: .5em; }
.legal-body li::before { content: ""; position: absolute; left: 3px; top: .6em; width: 6px; height: 6px; border: 1.5px solid var(--gold); transform: rotate(45deg); }
.legal-body a { color: var(--gold); border-bottom: 1px solid rgba(184,145,88,.4); }
.legal-body strong { color: var(--ivory); }
.legal-body .upd { margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--line); font-size: 13px; color: rgba(245,241,231,.5); }

/* ---- Bandeau cookies ---- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 720px; margin: 0 auto; background: var(--ink-2); border: 1px solid rgba(184,145,88,.3); border-radius: 6px; box-shadow: 0 24px 60px rgba(0,0,0,.45); padding: 18px 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; animation: cb-up .5s var(--ease); }
@keyframes cb-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie-banner .cb-text { flex: 1 1 300px; font-size: 12.5px; line-height: 1.55; color: rgba(245,241,231,.8); }
.cookie-banner .cb-text a { color: var(--gold); }
.cookie-banner .cb-actions { display: flex; gap: 10px; }
.cookie-banner button { font-family: var(--sans); font-size: 12px; letter-spacing: .04em; padding: 9px 18px; border-radius: 2px; cursor: pointer; border: 1px solid transparent; }
.cookie-banner .cb-refuse { background: transparent; border-color: rgba(245,241,231,.3); color: rgba(245,241,231,.8); }
.cookie-banner .cb-refuse:hover { border-color: var(--gold); color: var(--gold); }
.cookie-banner .cb-accept { background: var(--gold); color: var(--ink); font-weight: 600; }
.cookie-banner .cb-accept:hover { background: var(--ivory); }
.cookie-banner .cb-actions { flex-wrap: wrap; }
.cookie-banner .cb-custom { background: transparent; border-color: rgba(245,241,231,.22); color: rgba(245,241,231,.7); }
.cookie-banner .cb-custom:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 560px) { .cookie-banner { flex-direction: column; align-items: stretch; } .cookie-banner .cb-actions { justify-content: stretch; } .cookie-banner button { flex: 1; text-align: center; } }

/* ---- Panneau de préférences cookies (RGPD granulaire) ---- */
.cc-modal { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(6,10,22,.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: cb-up .25s ease; }
.cc-panel { background: var(--ink-2); border: 1px solid rgba(184,145,88,.28); border-radius: 8px; width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow-y: auto; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.cc-panel .cc-head { padding: 24px 26px 16px; border-bottom: 1px solid var(--line); }
.cc-panel .cc-head h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--ivory); }
.cc-panel .cc-head p { font-size: 12.5px; color: rgba(245,241,231,.66); margin: 8px 0 0; line-height: 1.55; }
.cc-panel .cc-head p a { color: var(--gold); }
.cc-body { padding: 8px 26px; }
.cc-cat { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.cc-cat:last-child { border-bottom: none; }
.cc-cat .t { font-size: 14px; font-weight: 600; color: var(--ivory); }
.cc-cat .d { font-size: 12px; color: rgba(245,241,231,.6); margin-top: 5px; line-height: 1.5; }
.cc-sw { position: relative; width: 42px; height: 24px; flex: none; margin-top: 2px; }
.cc-sw input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cc-sw .track { position: absolute; inset: 0; background: rgba(245,241,231,.16); border-radius: 12px; transition: background .25s; }
.cc-sw .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .25s; }
.cc-sw input:checked + .track { background: var(--gold); }
.cc-sw input:checked + .track::after { transform: translateX(18px); }
.cc-sw input:disabled + .track { background: rgba(184,145,88,.4); }
.cc-sw input:disabled { cursor: not-allowed; }
.cc-foot { padding: 18px 26px 24px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; border-top: 1px solid var(--line); }
.cc-foot button { font-family: var(--sans); font-size: 12px; padding: 10px 18px; border-radius: 2px; cursor: pointer; border: 1px solid transparent; }
.cc-foot .cc-refuse { background: transparent; border-color: rgba(245,241,231,.28); color: rgba(245,241,231,.8); }
.cc-foot .cc-save { background: transparent; border-color: var(--gold); color: var(--gold); }
.cc-foot .cc-save:hover { background: rgba(184,145,88,.1); }
.cc-foot .cc-accept { background: var(--gold); color: var(--ink); font-weight: 600; }
.cc-foot .cc-accept:hover { background: var(--ivory); }
@media (max-width: 480px) { .cc-foot { justify-content: stretch; } .cc-foot button { flex: 1; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 72px) 0 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 28px; }
.footer-brand { font-family: var(--serif); font-size: 30px; margin-bottom: 10px; }
.footer-brand b { color: var(--gold); font-weight: 400; }
.footer p { font-size: 13px; color: rgba(245, 241, 231, .6); margin: 0; max-width: 340px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.footer-nav a { color: rgba(245,241,231,.72); transition: color .2s; }
.footer-nav a:hover { color: var(--gold); }
/* Icônes réseaux brandées : masque SVG monochrome qui hérite la couleur du texte
   (ivoire → or au survol). Le libellé texte est masqué (font-size:0). */
.footer-social { display: flex; gap: 16px; align-items: center; }
.footer-social a { display: inline-flex; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; align-items: center; justify-content: center; font-size: 0; color: rgba(245,241,231,.72); transition: color .25s, border-color .25s, background .25s; }
.footer-social a:hover { color: var(--gold); border-color: rgba(184,145,88,.5); background: rgba(184,145,88,.08); }
.footer-social a::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.footer-social a[href*="facebook"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E"); }
.footer-social a[href*="instagram"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z'/%3E%3C/svg%3E"); }
.footer-social a[href*="linkedin"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.225 0z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.225 0z'/%3E%3C/svg%3E"); }
.footer-social a[href*="youtube"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 00-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 00.502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 002.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 002.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 00-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 00.502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 002.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 002.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E"); }
.footer-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(245,241,231,.1); font-size: 11.5px; color: rgba(245, 241, 231, .45); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form { display: grid; gap: 18px; max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(245,241,231,.04); border: 1px solid var(--line);
  color: var(--ivory); padding: 13px 15px; border-radius: 2px; font-family: var(--sans); font-size: 15px;
  transition: border-color .25s, background .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(245,241,231,.06); }
.field textarea { min-height: 130px; resize: vertical; }
.field select option { color: #0c1730; }

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-mask] { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease); }
[data-reveal-mask].in { clip-path: inset(0 0 0 0); }
.rise-line { display: block; overflow: hidden; }
.rise-line > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); }
.rise-line.in > span { transform: translateY(0); }

/* custom cursor */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 999; }
.cursor-dot { width: 6px; height: 6px; background: var(--gold); transform: translate(-50%, -50%); }
.cursor-ring { width: 32px; height: 32px; border: 1px solid rgba(184,145,88,.55); transform: translate(-50%, -50%); transition: width .25s, height .25s, background .25s, border-color .25s; }
.cursor-ring.hover { width: 50px; height: 50px; border-color: rgba(184,145,88,.85); background: rgba(184,145,88,.08); }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* scroll progress */
.scroll-prog { position: fixed; top: 0; left: 0; height: 2px; background: var(--gold); z-index: 70; width: 0; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 940px) {
  /* backdrop assombri derrière le panneau */
  .nav::before { content: ""; position: fixed; inset: 0; background: rgba(6,10,22,.5); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; z-index: 64; }
  .nav.open::before { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; height: 100dvh; width: min(84vw, 360px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
    background: var(--ink-2); border-left: 1px solid rgba(184,145,88,.18);
    padding: 96px 36px 44px; overflow-y: auto;
    transform: translateX(100%); transition: transform .55s var(--ease), visibility 0s .55s;
    visibility: hidden; z-index: 65; box-shadow: -30px 0 80px rgba(0,0,0,.4);
  }
  .nav.open .nav-links { transform: translateX(0); visibility: visible; transition: transform .55s var(--ease); }
  .nav-burger { display: flex; z-index: 67; }
  .nav-links > .nav-link, .nav-links > .nav-cta { width: 100%; font-size: 15px; padding: 13px 0; border-bottom: 1px solid rgba(245,241,231,.08); letter-spacing: .04em; }
  .nav-link::after { display: none; }
  .nav-cta { display: block; border: none; color: var(--gold); padding: 15px 0 !important; text-align: left; font-size: 15px; }
  .nav-cta:hover { background: none; color: var(--ivory); }
  /* le groupe « Fiscalité » passe en bloc → les sous-items s'empilent DESSOUS,
     pas à côté (sinon rendu cassé en inline-flex). */
  .nav-links > .nav-has-sub { display: block; width: 100%; padding: 13px 0 8px; }
  .nav-has-sub::before { display: none; }
  .nav-has-sub .chev { display: none; }
  .nav-sub { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; background: transparent; border: none; min-width: 0; padding: 8px 0 2px; margin-top: 8px; }
  .nav-sub a { display: block; padding: 9px 0 9px 15px; font-size: 13px; color: rgba(245,241,231,.6); border-left: 1px solid rgba(184,145,88,.35); border-bottom: none; }
  .nav-sub a:hover { color: var(--gold); }
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: 320px; order: -1; }
  .hero-copy { max-width: none; margin: 0; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split.rev { grid-template-columns: 1fr; }
  .split-media { min-height: 300px; }
  .culture { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .cursor-dot, .cursor-ring { display: none; }
}
@media (max-width: 560px) {
  .cap-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
/* Mobile : forcer les grilles (y compris celles avec grid-template inline
   comme repeat(4)/repeat(3)) à passer en 2 puis 1 colonne. */
@media (max-width: 900px) {
  .blog-grid, .cap-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 540px) {
  .blog-grid, .cap-grid { grid-template-columns: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-reveal-mask], .rise-line > span { opacity: 1; transform: none; clip-path: none; }
}
