/* =========================================================
   L'Indic Tech — le Journal · prototype statique
   Mise en page copiée de deux maquettes (mesures prises dans les pixels) :
   - article : Untitled UI « the Journal » (hero dégradé, sommaire collant, footer carte)
   - accueil : Latitudes (hero à la une, filtres, grille 3 colonnes, mosaïque, footer)
   ========================================================= */

:root {
  /* couleurs mesurées */
  --bg-outer: #eeeeee;        /* fond hors feuille (mesuré) */
  --bg: #ffffff;
  --text: #0f0f10;            /* texte quasi noir (mesuré #000–#171717) */
  --text-2: #535862;          /* secondaire */
  --text-3: #717680;          /* tertiaire / méta */
  --border: #eaecf0;          /* séparateurs sidebar (mesuré #f2f2f2) */
  --border-2: #dcdcdc;        /* bord boîte newsletter (mesuré) */
  --input: #d5d7da;
  --dark: #1f1f21;            /* footer + bouton (mesuré) */
  --dark-border: #39393b;     /* bord bouton footer (mesuré) */
  --dark-text-2: #cecfd2;
  --dark-text-3: #94969c;
  --pill: #eaecf0;

  /* identité L'Indic (accent tampon) */
  --tampon: #c8372d;
  --cote-a: #2b2b30;   /* côté A d'un duel : graphite (neutre, hors code couleur) */
  --cote-b: #a39785;   /* côté B d'un duel : grège (neutre, hors code couleur) */

  --radius-sheet: 40px;
  --radius-hero: 24px;
  --radius-card: 16px;
  --radius-sm: 10px;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; text-decoration: none; color: inherit; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.logo__mark { width: 30px; height: 30px; }
.logo__journal { font-weight: 400; font-size: 18px; letter-spacing: 0; margin-left: 2px; opacity: .8; }
.logo__journal b { font-style: normal; font-weight: 400; letter-spacing: .04em; font-variant: small-caps; }

/* ---------- Icônes ---------- */
.icon { width: 20px; height: 20px; }

/* =========================================================
   PAGE ARTICLE (Untitled UI)
   ========================================================= */
.page-article { background: var(--bg-outer); }
.sheet {
  max-width: 1440px;
  margin: 16px auto;
  background: var(--bg);
  border-radius: var(--radius-sheet);
  padding: 16px;
}

/* Hero dégradé */
.hero-a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-hero);
  min-height: 770px;
  padding: 28px 44px 72px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: #1b0a3a;
}
.hero-a__bg { position: absolute; inset: -12%; z-index: -1; filter: blur(34px) saturate(1.25); }
.hero-a__bg::before, .hero-a__bg::after { content: ""; position: absolute; inset: 0; }
.hero-a__bg {
  background:
    radial-gradient(38% 42% at 18% 30%, #8ff3ff 0%, rgba(143,243,255,0) 70%),
    radial-gradient(44% 50% at 30% 40%, #00b7ff 0%, rgba(0,183,255,0) 72%),
    radial-gradient(40% 46% at 50% 38%, #0026ff 0%, rgba(0,38,255,0) 70%),
    radial-gradient(22% 55% at 62% 18%, #05030d 0%, rgba(5,3,13,0) 70%),
    radial-gradient(46% 60% at 86% 34%, #ff5a00 0%, rgba(255,90,0,0) 70%),
    radial-gradient(40% 40% at 96% 82%, #8a2400 0%, rgba(138,36,0,0) 70%),
    radial-gradient(46% 42% at 62% 86%, #9b2cff 0%, rgba(155,44,255,0) 72%),
    radial-gradient(34% 36% at 6% 90%, #f0a400 0%, rgba(240,164,0,0) 70%),
    radial-gradient(28% 30% at 34% 96%, #b3001b 0%, rgba(179,0,27,0) 70%),
    linear-gradient(135deg, #3b0a6a 0%, #1a0633 100%);
}
.hero-a__bg::after { /* traînées de lumière, façon mesh */
  background:
    linear-gradient(118deg, rgba(255,255,255,0) 38%, rgba(255,255,255,.35) 46%, rgba(255,255,255,0) 54%),
    linear-gradient(64deg, rgba(0,0,0,0) 44%, rgba(0,0,0,.55) 52%, rgba(0,0,0,0) 60%);
  mix-blend-mode: soft-light;
}
.nav-a { display: flex; align-items: center; gap: 24px; }
.nav-a__links { margin-left: auto; }
.nav-a .logo { color: #fff; }
.nav-a__links { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-a__links a { text-decoration: none; font-weight: 500; font-size: 16px; line-height: 24px; display: inline-flex; align-items: center; gap: 4px; opacity: .96; transition: opacity .2s var(--ease); }
.nav-a__links a:hover { opacity: .75; }
.nav-a__right { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 8px; color: inherit; background: transparent; border: 0; cursor: pointer; transition: background .2s var(--ease); }
.icon-btn:hover { background: rgba(255,255,255,.14); }
.btn-glass { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; color: #fff; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.42); backdrop-filter: blur(6px); transition: background .2s var(--ease); }
.btn-glass:hover { background: rgba(255,255,255,.28); }
.burger { display: none; }

.hero-a__content { margin-top: auto; max-width: 1110px; }
.hero-a h1 { font-size: 60px; line-height: 72px; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.hero-a__lead { margin-top: 20px; max-width: 760px; font-size: 20px; line-height: 30px; opacity: .95; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; padding: 0; list-style: none; }
.tag { display: inline-flex; align-items: center; height: 36px; padding: 0 13px; border-radius: 10px; border: 1px solid rgba(255,255,255,.72); font-weight: 500; font-size: 14px; line-height: 20px; }

/* Corps + sidebar */
.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 816px) 364px;
  justify-content: space-between;
  gap: 64px;
  padding: 112px 44px 0;
}
.prose { font-size: 18px; line-height: 28px; color: var(--text); }
.prose > * + * { margin-top: 20px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--text-2); }
.prose .dropcap::first-letter { float: left; font-size: 64px; line-height: 56px; font-weight: 600; margin: 4px 10px 0 0; }
.prose h2 { margin-top: 56px; font-size: 30px; line-height: 38px; font-weight: 500; letter-spacing: -0.01em; scroll-margin-top: 24px; }
.prose h3 { margin-top: 44px; font-size: 24px; line-height: 32px; font-weight: 500; scroll-margin-top: 24px; }
.prose ol, .prose ul { padding-left: 28px; }
.prose li + li { margin-top: 6px; }
.prose figure { margin: 48px 0; }
.prose blockquote { margin: 56px 0 48px; }
.quote__text { font-size: 30px; line-height: 40px; font-weight: 500; letter-spacing: -0.01em; }
.quote__by { display: flex; align-items: center; gap: 8px; margin-top: 28px; font-size: 16px; line-height: 24px; color: var(--text-2); }
.quote__by .avatar { width: 24px; height: 24px; }

.sidebar { position: relative; }
.sidebar__inner { position: sticky; top: 24px; }
.toc { list-style: none; margin: 0; padding: 0 0 26px; border-bottom: 1px solid var(--border); }
.toc li + li { margin-top: 11px; }
.toc a { font-size: 18px; line-height: 28px; font-weight: 500; text-decoration: none; color: var(--text); transition: color .2s var(--ease); }
.toc a:hover, .toc a.is-active { color: var(--tampon); }
.side-block { padding: 26px 0; border-bottom: 1px solid var(--border); }
.side-block__label { font-size: 16px; line-height: 24px; font-weight: 500; }
.person { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.person + .person { margin-top: 14px; }
.person__name { font-size: 16px; line-height: 24px; font-weight: 500; }
.person__role { font-size: 16px; line-height: 24px; color: var(--text-2); }
.avatar { width: 48px; height: 48px; border-radius: 999px; background: #f4f4f5; display: grid; place-items: center; color: var(--text); flex: none; overflow: hidden; }
.avatar svg { width: 72%; height: 72%; }
.avatar--data { background: #fff5f4; color: var(--tampon); font-weight: 600; font-size: 14px; }
.newsletter { padding-top: 26px; }
.newsletter__box { margin-top: 16px; border: 1px solid var(--border-2); border-radius: 16px; padding: 10px; }
.input { width: 100%; height: 44px; border: 1px solid var(--input); border-radius: 10px; padding: 0 14px; font-size: 16px; color: var(--text); background: #fff; }
.input::placeholder { color: var(--text-3); }
.input:focus { outline: 2px solid var(--text); outline-offset: 1px; }
.btn-dark { width: 100%; height: 44px; margin-top: 10px; border: 0; border-radius: 10px; background: var(--dark); color: #fff; font-weight: 600; font-size: 16px; cursor: pointer; transition: background .2s var(--ease); }
.btn-dark:hover { background: #3a3a3d; }
.form-msg { margin-top: 8px; font-size: 14px; color: var(--text-2); min-height: 20px; }

/* ---- Composants L'Indic dans l'article ---- */
.disclosure { font-size: 14px; line-height: 20px; color: var(--text-2); padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px; }
.disclosure a { color: var(--text); }
.tuyau { border: 1px solid var(--text); border-radius: var(--radius-card); padding: 24px; position: relative; }
.tuyau__stamp { position: absolute; top: -14px; left: 20px; background: #fff; color: var(--tampon); border: 2px solid var(--tampon); border-radius: 6px; padding: 2px 10px; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-2deg); }
.tuyau__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tuyau__col h3 { margin: 0; font-size: 18px; line-height: 28px; font-weight: 600; }
.tuyau__col p { margin-top: 6px; font-size: 16px; line-height: 24px; color: var(--text-2); }
.prose a.btn-outline { text-decoration: none; color: var(--text); }
.prose a.btn-outline:hover { color: #fff; }
.btn-outline { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--text); font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s var(--ease), color .2s var(--ease); }
.btn-outline:hover { background: var(--text); color: #fff; }
.btn-outline small { font-weight: 500; opacity: .7; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.stat { background: #fff; padding: 20px; }
.stat__value { font-size: 30px; line-height: 38px; font-weight: 600; letter-spacing: -0.02em; }
.stat__label { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--text-2); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-card); }
table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 24px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { font-size: 14px; color: var(--text-2); font-weight: 500; background: #fafafa; }
tr:last-child td { border-bottom: 0; }
td.ok::before { content: "✓ "; color: var(--cape-tient); font-weight: 700; }
td.ko::before { content: "✕ "; color: var(--cape-cloche); font-weight: 700; }

/* visuel « avis flottants » (remplace la photo aux avatars) */
.avis-visual { position: relative; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 816 / 540; background: linear-gradient(160deg, #f6f1e7 0%, #efe6d6 100%); }
.avis-visual__mascot { position: absolute; left: 50%; top: 52%; width: 34%; transform: translate(-50%, -50%); color: var(--text); opacity: .95; }
.bubble { position: absolute; max-width: 230px; background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: 0 12px 24px -8px rgba(16,24,40,.18), 0 2px 6px -2px rgba(16,24,40,.08); font-size: 13px; line-height: 18px; color: var(--text-2); }
.bubble b { display: block; color: var(--text); font-size: 12px; letter-spacing: .02em; }
.bubble .stars { color: #f5a400; letter-spacing: 1px; }
.figcap { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--text-3); }

.bars { display: grid; gap: 14px; }
.bar__label { display: flex; justify-content: space-between; font-size: 15px; line-height: 22px; }
.bar__track { margin-top: 6px; height: 12px; border-radius: 999px; background: #f2f3f5; overflow: hidden; }
.bar__fill { height: 100%; border-radius: 999px; width: 0; transition: width 1.1s var(--ease); }
.bar__fill.a { background: var(--cote-a); }
.bar__fill.b { background: var(--cote-b); }
.bar__fill.warn { background: var(--cape-cloche); }
.bar__fill.good { background: var(--cape-tient); }
.legend { display: flex; gap: 16px; font-size: 14px; color: var(--text-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: 0; }
.months { display: grid; grid-template-columns: repeat(19, 1fr); align-items: end; gap: 6px; height: 180px; padding-top: 10px; }
.months span { display: block; background: #d8dbe0; border-radius: 4px 4px 0 0; height: 0; transition: height 1s var(--ease); position: relative; }
.months span.peak { background: var(--tampon); }
.months span.peak::after { content: attr(data-n); position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 600; color: var(--tampon); }
.months-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); margin-top: 6px; }
.faq details { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 24px; color: var(--text-3); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; color: var(--text-2); font-size: 16px; line-height: 24px; }
.method-note { font-size: 14px; line-height: 20px; color: var(--text-2); }
.method-note a { color: var(--text); }

/* Footer carte (Untitled) */
.footer-card { margin-top: 120px; background: var(--dark); color: #fff; border-radius: var(--radius-hero); padding: 64px 44px 48px; }
.footer-card__cta { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.footer-card__cta h2 { font-size: 30px; line-height: 38px; font-weight: 500; letter-spacing: -0.01em; }
.footer-card__cta p { margin-top: 16px; font-size: 20px; line-height: 30px; color: var(--dark-text-2); }
.btn-ghost-dark { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--dark-border); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; white-space: nowrap; transition: background .2s var(--ease); }
.btn-ghost-dark:hover { background: #2c2c2f; }
.footer-card__mid { display: flex; justify-content: space-between; gap: 32px; margin-top: 80px; }
.footer-card__mid .logo { color: #fff; }
.footer-card__tagline { margin-top: 24px; max-width: 290px; font-size: 16px; line-height: 24px; color: var(--dark-text-2); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 32px 0 0; padding: 0; list-style: none; }
.footer-links a { text-decoration: none; font-weight: 600; font-size: 16px; color: #fff; transition: color .2s var(--ease); }
.footer-links a:hover { color: var(--dark-text-2); }
.follow__label { font-size: 16px; font-weight: 600; }
.store-btn { display: flex; align-items: center; gap: 10px; margin-top: 14px; height: 42px; padding: 0 12px; border: 1px solid #a4a7ae; border-radius: 8px; text-decoration: none; color: #fff; font-size: 15px; font-weight: 600; min-width: 142px; transition: background .2s var(--ease); }
.store-btn:hover { background: #2c2c2f; }
.store-btn small { display: block; font-size: 9px; font-weight: 500; line-height: 10px; opacity: .85; }
.footer-card__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 64px; font-size: 16px; color: var(--dark-text-3); }
.socials { display: flex; gap: 24px; }
.socials a { color: var(--dark-text-3); transition: color .2s var(--ease); }
.socials a:hover { color: #fff; }
.socials svg { width: 24px; height: 24px; }

/* =========================================================
   PAGE ACCUEIL DU JOURNAL (Latitudes)
   ========================================================= */
.page-home { background: #fff; }
.home-hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 10px; border-radius: 24px; min-height: 800px;
  padding: 26px 32px 44px; color: #fff;
  display: flex; flex-direction: column;
  background:
    radial-gradient(60% 50% at 70% 30%, rgba(214,120,72,.55) 0%, rgba(214,120,72,0) 70%),
    radial-gradient(70% 60% at 20% 20%, rgba(92,81,80,.9) 0%, rgba(92,81,80,0) 70%),
    linear-gradient(180deg, #2e2a33 0%, #4b3f3f 42%, #1a1d1f 100%);
}
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 100%); }
.home-hero__art { position: absolute; z-index: -1; left: 4%; bottom: -2%; width: min(40%, 540px); color: rgba(255,255,255,.12); }
.nav-h { display: flex; align-items: center; gap: 32px; }
.nav-h .logo { color: #fff; font-size: 26px; font-weight: 500; }
.nav-h .logo__mark { width: 34px; height: 34px; }
.nav-h__links { display: flex; gap: 48px; list-style: none; margin: 0 auto; padding: 0; }
.nav-h__links a { color: #fff; text-decoration: none; font-size: 17px; opacity: .92; transition: opacity .2s var(--ease); }
.nav-h__links a:hover { opacity: .7; }
.nav-h__right { display: flex; align-items: center; gap: 12px; }
.btn-white { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; background: #fff; color: var(--text); text-decoration: none; font-weight: 500; font-size: 16px; border: 0; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -6px rgba(0,0,0,.35); }
.featured { margin-top: auto; align-self: flex-end; max-width: 560px; }
.featured__pill { display: inline-flex; height: 32px; align-items: center; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.8); font-size: 14px; background: rgba(0,0,0,.25); }
.featured__wrap { display: flex; flex-direction: column; align-items: flex-end; text-align: left; }
.featured h1 { margin-top: 14px; font-size: 38px; line-height: 46px; font-weight: 500; letter-spacing: -0.01em; }
.featured h1 a { text-decoration: none; }
.featured p { margin-top: 12px; font-size: 18px; line-height: 28px; color: rgba(255,255,255,.82); }
.dots { display: flex; gap: 6px; justify-content: flex-end; margin-top: 18px; }
.dots span { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.4); }
.dots span.on { background: #fff; }

.container { max-width: 1440px; margin: 0 auto; padding: 0 32px; }
.blog-head { padding-top: 40px; }
.blog-head h2 { font-size: 36px; line-height: 44px; font-weight: 600; letter-spacing: -0.02em; }
.blog-head p { margin-top: 12px; font-size: 18px; line-height: 28px; color: var(--text-2); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { height: 40px; padding: 0 20px; border-radius: 10px; border: 0; background: transparent; color: var(--text); font-weight: 500; font-size: 15px; cursor: pointer; transition: background .2s var(--ease); }
.filter:hover { background: #f5f5f6; }
.filter.is-active { background: var(--pill); }
.sort { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-2); }
.sort select { appearance: none; height: 38px; padding: 0 34px 0 14px; border-radius: 10px; border: 0; background: var(--text) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; color: #fff; font-weight: 500; cursor: pointer; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 48px; margin-top: 36px; }
.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card[hidden] { display: none; }
.card__media { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 450 / 290; color: #fff; display: grid; place-items: center; transition: transform .35s var(--ease); }
.card:hover .card__media { transform: translateY(-3px); }
.card__cat { position: absolute; top: 14px; left: 14px; height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 6px; font-size: 12px; background: rgba(0,0,0,.38); backdrop-filter: blur(6px); }
.card__vs { font-weight: 600; font-size: 30px; line-height: 36px; letter-spacing: -0.02em; text-align: center; padding: 0 24px; text-wrap: balance; }
.card__vs-mid { font-weight: 400; opacity: .75; padding: 0 6px; }
.card__meta { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; line-height: 20px; color: var(--text-2); }
.card__meta i { width: 5px; height: 5px; border-radius: 999px; background: var(--text); }
.card h3 { margin-top: 10px; font-size: 20px; line-height: 30px; font-weight: 600; letter-spacing: -0.01em; }
.card:hover h3 { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.card__excerpt { margin-top: 8px; font-size: 14px; line-height: 21px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__author { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; font-weight: 500; }
.card__author .avatar { width: 32px; height: 32px; }
.m-facture { background: linear-gradient(135deg, #1f3b5c, #2f5d8c 55%, #6aa2d6); }
.m-banque { background: linear-gradient(135deg, #1c2233, #3b4a6b 55%, #9aa8c7); } /* ardoise : pas de vert (réservé à « ça tient ») */
.m-vendre { background: linear-gradient(135deg, #3a1d52, #7b3fb2 55%, #d08cf0); }
.m-ia { background: linear-gradient(135deg, #16161a, #3a3550 50%, #8e7fb8); } /* graphite lilas : pas de rouge (réservé à « ça cloche ») */
.m-seo { background: linear-gradient(135deg, #2e2a26, #6e645a 55%, #cfc3b3); } /* grège : pas de jaune (réservé à « attention ») */
.m-entreprise { background: linear-gradient(135deg, #102a33, #1e6f7d 55%, #86d1d6); }
.m-btp { background: linear-gradient(135deg, #332414, #7a5a2a 55%, #d9b36c); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 88px; }
.page-btn { min-width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 8px; font-size: 15px; text-decoration: none; color: var(--text); border: 1px solid transparent; transition: background .2s var(--ease); }
.page-btn:hover { background: #f5f5f6; }
.page-btn.is-active { background: #d9d9d9; }
.page-btn--arrow { border-color: #d0d5dd; }

.mosaic { display: grid; grid-template-columns: 1fr 1.36fr; gap: 12px; margin-top: 96px; padding: 0 10px; }
.mosaic__col { display: grid; grid-template-rows: 420px 330px; gap: 12px; }
.tile { position: relative; overflow: hidden; border-radius: 16px; color: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; }
.tile h3 { font-size: 30px; line-height: 40px; font-weight: 500; letter-spacing: -0.01em; }
.tile p { margin-top: 10px; font-size: 18px; line-height: 28px; color: rgba(255,255,255,.82); }
.tile .btn-white { margin-top: 22px; align-self: flex-start; }
.tile--dark { background: linear-gradient(160deg, #3b3b3d 0%, #111 70%); justify-content: center; }
.tile--count { background: linear-gradient(180deg, #2c4a6a 0%, #1f3b5c 60%, #0f1e2e 100%); }
.tile--count strong { font-size: 44px; line-height: 52px; font-weight: 600; }
.tile--tall { background: linear-gradient(180deg, #40245e 0%, #7a3a55 45%, #c4643b 80%, #3a2016 100%); justify-content: center; min-height: 762px; }
.tile--tall h3 { font-size: 40px; line-height: 52px; max-width: 620px; }
.tile__art { position: absolute; right: 24px; bottom: 24px; width: 160px; color: rgba(255,255,255,.28); }

.footer-h { margin: 12px 10px 10px; background: #000; color: #fff; border-radius: 16px; padding: 56px 40px 36px; }
.footer-h__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-h .logo { color: #fff; font-size: 28px; font-weight: 500; }
.footer-h__mission { margin-top: 22px; max-width: 360px; font-size: 16px; line-height: 26px; color: #d0d0d0; }
.footer-h h4 { font-size: 16px; font-weight: 500; }
.footer-h ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.footer-h ul a { color: #d0d0d0; text-decoration: none; font-size: 15px; transition: color .2s var(--ease); }
.footer-h ul a:hover { color: #fff; }
.sub-pill { display: flex; align-items: center; margin-top: 18px; height: 44px; border: 1px solid #555; border-radius: 999px; padding: 4px 4px 4px 16px; }
.sub-pill input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font-size: 14px; }
.sub-pill input::placeholder { color: #8a8a8a; }
.sub-pill input:focus { outline: none; }
.sub-pill button { height: 34px; padding: 0 14px; border-radius: 999px; border: 0; background: #fff; color: #000; font-weight: 500; font-size: 14px; cursor: pointer; }
.round-socials { display: flex; gap: 12px; margin-top: 20px; }
.round-socials a { width: 36px; height: 36px; border-radius: 999px; background: #fff; color: #000; display: grid; place-items: center; transition: transform .2s var(--ease); }
.round-socials a:hover { transform: translateY(-2px); }
.round-socials svg { width: 18px; height: 18px; }
.footer-h__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; font-size: 14px; color: #d0d0d0; }
.footer-h__bottom nav { display: flex; gap: 24px; }
.footer-h__bottom a { color: #d0d0d0; text-decoration: none; }

/* Reveal */
/* le fondu n'existe que si le JS tourne : sans JS, tout est visible */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bar__fill, .months span { transition: none; }
}

/* Menu mobile */
.mobile-menu { display: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .article-wrap { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
  .grid { gap: 48px 28px; }
  .nav-h__links { gap: 28px; }
}
@media (max-width: 1024px) {
  .nav-a__links, .nav-a__right .btn-glass, .nav-h__links, .nav-h__right .btn-white { display: none; }
  .burger { display: inline-grid; }
  .mobile-menu { position: fixed; inset: 0; z-index: 50; background: rgba(15,15,16,.98); color: #fff; padding: 24px; flex-direction: column; gap: 8px; }
  .mobile-menu.is-open { display: flex; }
  .mobile-menu a { color: #fff; text-decoration: none; font-size: 22px; line-height: 44px; }
  .mobile-menu__close { align-self: flex-end; }
  .article-wrap { grid-template-columns: 1fr; padding: 64px 20px 0; }
  .sidebar__inner { position: static; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .mosaic { grid-template-columns: 1fr; }
  .tile--tall { min-height: 480px; }
  .footer-h__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .sheet { margin: 0; border-radius: 0; padding: 12px; }
  .hero-a { min-height: 720px; padding: 20px 20px 36px; border-radius: 20px; }
  .nav-a .logo { font-size: 16px; }
  .nav-a .logo__journal { font-size: 18px; }
  .nav-a .logo__mark { width: 26px; height: 26px; }
  .home-hero__art { width: 70%; left: auto; right: -6%; }
  .hero-a h1 { font-size: 36px; line-height: 44px; }
  .hero-a__lead { font-size: 18px; line-height: 28px; }
  .prose .dropcap::first-letter { font-size: 56px; line-height: 48px; }
  .prose h2 { font-size: 24px; line-height: 32px; }
  .prose h3 { font-size: 20px; line-height: 30px; }
  .quote__text { font-size: 24px; line-height: 32px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .tuyau__grid { grid-template-columns: 1fr; }
  .footer-card { margin-top: 80px; padding: 40px 20px 32px; }
  .footer-card__cta, .footer-card__mid, .footer-card__bottom { flex-direction: column; }
  .footer-card__mid { margin-top: 48px; }
  .home-hero { min-height: 620px; padding: 20px; }
  .featured { align-self: stretch; }
  .featured__wrap { align-items: flex-start; }
  .featured h1 { font-size: 28px; line-height: 36px; }
  .container { padding: 0 16px; }
  .toolbar { flex-direction: column; align-items: flex-start; }
  .filters { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; }
  .filter { white-space: nowrap; }
  .grid { grid-template-columns: 1fr; gap: 40px; }
  .tile h3 { font-size: 24px; line-height: 32px; }
  .tile--tall h3 { font-size: 30px; line-height: 40px; }
  .mosaic__col { grid-template-rows: auto auto; }
  .tile { min-height: 300px; }
  .footer-h { padding: 40px 20px 28px; }
  .footer-h__grid { grid-template-columns: 1fr; }
  .footer-h__bottom { flex-direction: column; }
}

/* =========================================================
   MASCOTTE L'INDIC + CODE COULEUR DE LA CAPE (30/09/2026)
   cf. code-couleur-mascotte.md — teintes synchronisées avec scripts/cape.py
   ========================================================= */
:root {
  --cape-marque: #2f62d6;     /* bleu : l'Indic */
  --cape-tient: #2e9d5b;      /* vert : ça tient */
  --cape-attention: #e8b422;  /* jaune : attention */
  --cape-cloche: #d6382c;     /* rouge : ça cloche */
  --spot: 255, 244, 225;      /* lumière du projecteur */
}
.logo__img { width: 40px; height: 40px; border-radius: 999px; background: #f4efe4; object-fit: cover; flex: none; }
.nav-h .logo__img { width: 44px; height: 44px; }
.avatar--indic { background: #f4efe4; }
.avatar--indic img { width: 100%; height: 100%; object-fit: cover; }

/* l'Indic dans son rond de lumière (sur fond sombre) */
.home-hero__spot, .tile__spot { position: absolute; z-index: -1; pointer-events: none; }
.home-hero__spot::before, .tile__spot::before {
  content: ""; position: absolute; inset: 6% 4% 2%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--spot), .96) 0%, rgba(var(--spot), .82) 52%, rgba(var(--spot), .28) 82%, rgba(var(--spot), 0) 100%);
}
.home-hero__spot img, .tile__spot img { position: relative; display: block; width: 100%; height: auto; }
.home-hero__spot { left: 3%; bottom: 0; width: min(42%, 600px); }
.tile { isolation: isolate; }
.tile__spot { right: 2%; bottom: 0; width: min(62%, 440px); }
.tile__spot--sm { right: -2%; bottom: -4%; width: 46%; }
.tile--dark h3, .tile--dark p, .tile--dark .btn-white { max-width: 60%; }

/* section « Le code de l'Indic » */
.code-indic { margin-top: 112px; }
.code-indic__head h2 { font-size: 36px; line-height: 44px; font-weight: 600; letter-spacing: -0.02em; }
.code-indic__head p { margin-top: 12px; max-width: 720px; font-size: 18px; line-height: 28px; color: var(--text-2); }
.code-indic__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.code-card { position: relative; border-radius: 16px; background: #f6f5f2; padding: 20px 22px 26px; }
.code-card--marque { --c: var(--cape-marque); }
.code-card--tient { --c: var(--cape-tient); }
.code-card--attention { --c: var(--cape-attention); }
.code-card--cloche { --c: var(--cape-cloche); }
.code-card__art { aspect-ratio: 1; margin: -4px -6px 8px; }
.code-card__art img { width: 100%; height: 100%; object-fit: contain; }
.code-card__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); }
.code-card__tag::before { content: ""; width: 12px; height: 12px; border-radius: 999px; background: var(--c); }
.code-card h3 { margin-top: 8px; font-size: 22px; line-height: 30px; font-weight: 600; letter-spacing: -0.01em; }
.code-card p { margin-top: 8px; font-size: 15px; line-height: 23px; color: var(--text-2); }

@media (max-width: 1024px) {
  .code-indic__grid { grid-template-columns: repeat(2, 1fr); }
  .home-hero__spot { width: min(48%, 460px); }
}
@media (max-width: 768px) {
  .home-hero__spot { left: auto; right: -4%; top: 64px; bottom: auto; width: 62%; }
  .tile__spot { width: 58%; }
  .tile--dark h3, .tile--dark p, .tile--dark .btn-white { max-width: 64%; }
  .code-indic { margin-top: 72px; }
  .code-indic__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .code-card { padding: 14px 14px 18px; }
  .code-card h3 { font-size: 18px; line-height: 26px; }
  .code-card p { font-size: 14px; line-height: 21px; }
}
/* logo : la pose d'atterrissage, détourée, sans rond (remplace l'avatar rond) */
.logo__img { width: auto; height: 40px; border-radius: 0; background: none; object-fit: contain; }
.nav-h .logo__img { height: 46px; }
.footer-h .logo__img { height: 52px; }
@media (max-width: 768px) { .nav-h .logo__img { height: 38px; } }

/* ---------- navbar : rubriques avec menus par format (30/09/2026) ---------- */
.nav-h__links { gap: 26px; align-items: center; }
.nav-dd { position: relative; }
.nav-dd__btn, .nav-h__plain { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0; border: 0; background: none; color: #fff; font: inherit; font-size: 16px; opacity: .92; cursor: pointer; text-decoration: none; white-space: nowrap; transition: opacity .2s var(--ease); }
.nav-dd__btn:hover, .nav-h__plain:hover { opacity: .7; }
.nav-dd__chev { width: 12px; height: 12px; transition: transform .2s var(--ease); }
.nav-dd:hover .nav-dd__chev, .nav-dd:focus-within .nav-dd__chev { transform: rotate(180deg); }
.nav-dd__panel { position: absolute; top: 100%; left: -20px; z-index: 30; padding-top: 12px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
.nav-dd:hover .nav-dd__panel, .nav-dd:focus-within .nav-dd__panel, .nav-dd.is-open .nav-dd__panel { opacity: 1; visibility: visible; transform: none; }
.nav-dd__inner { display: grid; grid-template-columns: repeat(2, minmax(200px, 1fr)); gap: 20px 28px; width: max-content; max-width: 560px; padding: 22px 24px; border-radius: 16px; background: #fff; color: var(--text); box-shadow: 0 18px 40px -12px rgba(16,24,40,.28), 0 0 0 1px rgba(16,24,40,.06); }
.nav-dd__title { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.nav-dd__col ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.nav-dd__col a { color: var(--text); text-decoration: none; font-size: 15px; line-height: 21px; }
.nav-dd__col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.nav-dd__all { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--border); color: var(--text); font-weight: 600; font-size: 14px; text-decoration: none; }
.mobile-menu__label { margin-top: 18px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #94969c; }
@media (max-width: 1280px) { .nav-h__links { gap: 18px; } .nav-dd__btn, .nav-h__plain { font-size: 15px; } }

/* ---------- transparence sur la landing ---------- */
.transp { margin-top: 96px; }
.transp__card { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; padding: 36px 44px; border-radius: 20px; background: #f6f5f2; border: 1px solid var(--border); }
.transp__art img { width: 100%; height: auto; display: block; }
.transp__tag { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--border-2); font-size: 13px; font-weight: 500; color: var(--text-2); background: #fff; }
.transp h2 { margin-top: 14px; font-size: 32px; line-height: 40px; font-weight: 600; letter-spacing: -0.02em; }
.transp p { margin-top: 12px; max-width: 760px; font-size: 17px; line-height: 27px; color: var(--text-2); }
.transp p strong { color: var(--text); font-weight: 600; }
.transp__merci { color: var(--text) !important; font-weight: 500; }
.transp__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.transp__links a { color: var(--text); font-weight: 500; font-size: 15px; text-underline-offset: 3px; }
@media (max-width: 768px) {
  .transp { margin-top: 64px; }
  .transp__card { grid-template-columns: 1fr; gap: 12px; padding: 24px 20px; }
  .transp__art { max-width: 200px; }
  .transp h2 { font-size: 26px; line-height: 34px; }
  .transp p { font-size: 16px; line-height: 25px; }
}
.nav-h__links { gap: 24px; }
.nav-dd__inner a, .nav-dd__inner a:visited { color: var(--text); opacity: 1; }
.nav-dd__chev { display: block; flex: none; width: 12px; height: 12px; opacity: .8; }
.nav-h { gap: 24px; }
.nav-h__links { gap: 20px; }
.nav-dd__btn, .nav-h__plain { font-size: 15px; }
@media (max-width: 1360px) {
  .nav-h__links { display: none; }
  .nav-h .burger { display: inline-grid; }
  .page-home .mobile-menu { position: fixed; inset: 0; z-index: 50; background: rgba(15,15,16,.98); color: #fff; padding: 24px; flex-direction: column; gap: 8px; overflow-y: auto; }
  .page-home .mobile-menu.is-open { display: flex; }
  .page-home .mobile-menu a { color: #fff; text-decoration: none; font-size: 22px; line-height: 44px; }
  .page-home .mobile-menu__close { align-self: flex-end; }
}
.nav-h__links { gap: 14px; }
.nav-dd__btn { gap: 4px; }
.nav-dd:nth-last-child(-n+3) .nav-dd__panel { left: auto; right: -20px; }
/* article : nouvelle mascotte */
.nav-a .logo__img { height: 42px; }
.footer-card .logo__img { height: 52px; }
.avis-visual__mascot { width: 40%; top: 56%; opacity: 1; }
@media (max-width: 768px) { .nav-a .logo__img { height: 34px; } }

/* ---------- Pourquoi « l'Indic » ? (histoire de la marque) ---------- */
.brand-story { margin-top: 112px; display: grid; grid-template-columns: minmax(280px, 440px) 1fr; gap: 56px; align-items: center; }
.brand-story__art img { width: 100%; height: auto; display: block; }
.brand-story__kicker { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--cape-marque); }
.brand-story h2 { margin-top: 10px; font-size: 44px; line-height: 52px; font-weight: 600; letter-spacing: -0.02em; }
.brand-story__lead { margin-top: 16px; max-width: 720px; font-size: 22px; line-height: 33px; color: var(--text-2); }
.brand-story__lead strong { color: var(--text); font-weight: 600; }
.brand-story__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.brand-story__steps > div { padding-top: 16px; border-top: 2px solid var(--text); }
.brand-story__steps h3 { font-size: 19px; line-height: 26px; font-weight: 600; }
.brand-story__steps p { margin-top: 6px; font-size: 15px; line-height: 23px; color: var(--text-2); }
.brand-story__next { margin-top: 28px; font-size: 16px; font-weight: 500; color: var(--text); }
.brand-story + .code-indic { margin-top: 72px; }
@media (max-width: 1024px) { .brand-story { grid-template-columns: 1fr; gap: 16px; } .brand-story__art { max-width: 360px; } }
@media (max-width: 768px) {
  .brand-story { margin-top: 72px; }
  .brand-story h2 { font-size: 32px; line-height: 40px; }
  .brand-story__lead { font-size: 18px; line-height: 28px; }
  .brand-story__steps { grid-template-columns: 1fr; gap: 16px; }
}
/* page méthode : le code de l'Indic en 2 × 2 dans la colonne de lecture */
.method-code { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.method-code .code-card { padding: 14px 16px 18px; }
.method-code .code-card__art { width: 55%; margin: 0 auto 6px; }
.method-code .code-card h3 { margin-top: 6px; font-size: 18px; line-height: 26px; }
.method-code .code-card p { margin-top: 4px; font-size: 15px; line-height: 22px; }

/* ---------- signaux du code couleur dans un article (V1) ---------- */
.signal { display: inline-flex; align-items: center; gap: 8px; margin-top: 56px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.signal::before { content: ""; width: 12px; height: 12px; border-radius: 999px; background: var(--c); }
.signal + h2 { margin-top: 8px; }
.signal--tient { --c: var(--cape-tient); }
.signal--attention { --c: var(--cape-attention); }
.signal--cloche { --c: var(--cape-cloche); }
.signal--marque { --c: var(--cape-marque); }
.bilan { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: #f6f5f2; font-size: 15px; }
.bilan span { display: inline-flex; align-items: center; gap: 8px; }
.bilan i { width: 10px; height: 10px; border-radius: 999px; background: var(--c); }
.sig-list { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.sig-list li { position: relative; padding-left: 22px; }
.sig-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 999px; background: var(--c); }
.sources { font-size: 14px; line-height: 21px; color: var(--text-3); margin-top: 10px; }
.sources a { color: var(--text-2); }

/* ---------- capsule de mise à jour (V1, à utiliser lors des passes de révision) ----------
   Montre l'ancienne info, la nouvelle, la date du changement et la source.
   Rouge pastel + horloge + libellé « Mis à jour le » : à ne pas confondre avec un bloc « ça cloche ». */
.maj-capsule { margin: 20px 0; padding: 14px 18px 16px; border-radius: 14px; background: #fdeeec; color: var(--text); font-size: 15px; line-height: 23px; }
.maj-capsule__head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #9a3a31; }
.maj-capsule__head svg { width: 16px; height: 16px; flex: none; }
.maj-capsule dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 10px 0 0; }
.maj-capsule dt { font-weight: 600; color: var(--text-2); }
.maj-capsule dd { margin: 0; }
.maj-capsule .maj-capsule__old { color: var(--text-2); text-decoration: line-through; text-decoration-thickness: 1px; }
.maj-capsule__src { margin-top: 8px; font-size: 13px; color: var(--text-3); }
.maj-capsule__src a { color: var(--text-2); }
.maj-historique { margin-top: 32px; font-size: 14px; line-height: 21px; color: var(--text-2); }
.maj-historique li { margin-top: 4px; }

/* ---------- en-tête de bloc de signal : la mascotte à la bonne cape (remplace la pastille) ---------- */
.sig-head { display: flex; align-items: center; gap: 18px; margin-top: 56px; padding: 12px 20px 12px 12px; border-radius: 16px; background: #f6f5f2; }
.sig-head__img { width: 92px; height: 92px; object-fit: contain; flex: none; }
.sig-head__label { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.prose .sig-head h2 { margin-top: 2px; }
.sig-head + .sig-list { margin-top: 20px; }
@media (max-width: 768px) { .sig-head { gap: 12px; padding: 10px 14px 10px 8px; } .sig-head__img { width: 68px; height: 68px; } }

/* ---------- « Choisis-le si, évite-le si » : deux cartes visuelles ---------- */
.choix { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.choix__card { border-radius: 16px; background: #f6f5f2; padding: 20px 22px 22px; }
.choix__head { display: flex; align-items: center; gap: 10px; }
.choix__dot { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.prose .choix__head h3 { margin: 0; font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -0.01em; }
.choix__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.choix__chips span { font-size: 13px; line-height: 18px; padding: 5px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--border); color: var(--text-2); }
.prose .choix__title { margin: 18px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.prose .choix__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.prose .choix__list li { position: relative; margin: 0; padding: 10px 12px 10px 38px; border-radius: 10px; background: #fff; font-size: 15px; line-height: 22px; }
.choix__list li::before { position: absolute; left: 12px; top: 10px; width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.choix__oui::before { content: "✓"; background: var(--cape-tient); }
.choix__non::before { content: "✕"; background: var(--cape-cloche); }
@media (max-width: 768px) { .choix { grid-template-columns: 1fr; } }

/* ---------- confort de lecture (30/09/2026) ---------- */
/* longueur de ligne : 70 caractères max (WCAG 1.4.8 recommande 80 au plus) ; les blocs visuels gardent toute la largeur */
.prose > p, .prose > ul, .prose > ol { max-width: 38em; }
/* barre de progression de lecture, à la couleur du bloc lu */
.read-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 60; background: var(--cape-marque); transition: background-color .3s var(--ease); pointer-events: none; }
/* bilan cliquable */
.bilan a { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; }
.bilan a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* sommaire mobile en tête d'article */
.toc-mobile { display: none; margin: 0 0 24px; border: 1px solid var(--border); border-radius: 14px; }
.toc-mobile summary { cursor: pointer; padding: 14px 16px; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; }
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile summary::after { content: "+"; font-weight: 400; }
.toc-mobile[open] summary::after { content: "–"; }
.toc-mobile ol { margin: 0; padding: 0 16px 14px 34px; display: grid; gap: 8px; }
.toc-mobile a { color: var(--text); text-decoration: none; font-size: 16px; }
@media (max-width: 1024px) {
  .toc-mobile { display: block; }
  .sidebar .toc { display: none; }
}
@media (max-width: 768px) {
  table { font-size: 14px; line-height: 20px; }
  th, td { padding: 10px 10px; }
  .tuyau .btn-outline { width: 100%; justify-content: center; }
}


/* ---------- « Le dossier de l'Indic » : synthèse visible + détail replié en tableau ---------- */
.dossier { margin-top: 64px; }
.prose .dossier__stats { margin: 16px 0 0; font-size: 15px; line-height: 23px; color: var(--text-2); }
.dossier__count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.dossier__count div { padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; }
.dossier__count strong { display: block; font-size: 28px; line-height: 32px; font-weight: 600; letter-spacing: -0.02em; }
.dossier__count span { display: block; margin-top: 2px; font-size: 13px; line-height: 18px; color: var(--text-2); }
.dossier__detail { margin-top: 12px; }
.dossier__detail summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border); font-size: 15px; font-weight: 500; }
.dossier__detail summary::-webkit-details-marker { display: none; }
.dossier__detail summary::after { content: "+"; color: var(--text-3); }
.dossier__detail[open] summary::after { content: "–"; }
.dossier__detail .table-wrap { margin-top: 12px; }
.src-table { font-size: 14px; line-height: 20px; }
.src-table td, .src-table th { padding: 10px 14px; vertical-align: top; }
.src-table tr.src-cat th { background: #f6f5f2; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); text-align: left; }
.src-table a { color: var(--text); font-weight: 500; text-decoration: none; }
.src-table a:hover { text-decoration: underline; text-underline-offset: 3px; }
.src-table .src-d { white-space: nowrap; color: var(--text-3); }
@media (max-width: 768px) { .dossier__count { grid-template-columns: 1fr 1fr; } .src-table td:nth-child(2) { min-width: 140px; } }

/* newsletter mensuelle : mention discrète de la fréquence */
.newsletter__note { margin-top: 8px; font-size: 13px; line-height: 18px; color: var(--text-3); }
.footer-nl__note { margin-top: 6px; font-size: 14px; color: #bdbdbd; }

/* ---------- « La tendance, trimestre par trimestre » (guideline §10.7) ---------- */
.tend-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.tend { border-radius: 16px; background: #f6f5f2; padding: 18px 20px; }
.tend__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.prose .tend__head h3 { margin: 0; font-size: 20px; line-height: 26px; font-weight: 600; }
.tend__verdict { margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: #fff; border: 1px solid var(--border); color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; }
.tend__verdict::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--text-3); }
.tend__verdict--cloche::before { background: var(--cape-cloche); }
.tend__verdict--tient::before { background: var(--cape-tient); }
.tend__chart { display: flex; align-items: flex-end; gap: 8px; height: 150px; margin-top: 14px; }
.tend__col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; min-width: 0; }
.tend__bar { width: 100%; max-width: 34px; border-radius: 6px 6px 2px 2px; background: var(--cape-cloche); opacity: .85; }
.tend__col--faible .tend__bar { background: #cfcac2; opacity: 1; }
.tend__col--faible .tend__val { color: var(--text-3); }
.tend__val { font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap; }
.tend__lab { font-size: 11px; color: var(--text-3); white-space: nowrap; }
.prose .tend__alerte { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff; font-size: 14px; line-height: 21px; border-left: 4px solid var(--cape-attention); }
@media (max-width: 768px) { .tend-grid { grid-template-columns: 1fr; } }

/* note de méthode repliée dans le dossier de sources */
.dossier__detail + .dossier__detail { margin-left: 8px; }
.dossier__methode-body { margin-top: 12px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; }
.prose .dossier__methode-body p { margin: 0; font-size: 14px; line-height: 21px; color: var(--text-2); max-width: none; }
.prose .dossier__methode-body p + p { margin-top: 8px; }
.dossier__methode-links a { color: var(--text); margin-right: 14px; }
@media (max-width: 768px) { .dossier__detail + .dossier__detail { margin-left: 0; margin-top: 8px; display: block; } }
