/* =========================================================
   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: #2f5d8c;
  --cote-b: #3e7c59;

  --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(--cote-b); font-weight: 700; }
td.ko::before { content: "✕ "; color: var(--tampon); 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(--tampon); }
.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 */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.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; }

/* V2 — isolated visual proposal. Original mockup files remain independent. */
:root {
  --text: #20252d; --text-2: #59616c; --text-3: #68717e;
  --dark: #19232f; --border: #e5e7e9; --cape-marque: #2f62d6;
  --section-gap: 88px; --surface: #f5f5f2;
}
.page-home { background: #fdfdfb; }
.container { width: 100%; max-width: 1280px; padding-inline: 32px; margin-inline: auto; }
a, button, input, select { -webkit-tap-highlight-color: transparent; }
:where(a,button,input,select):focus-visible { outline: 3px solid #769cff; outline-offset: 4px; }
.home-hero {
  max-width: 1440px; margin: 16px auto 0; min-height: 640px; padding: 28px 40px 40px;
  display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.1fr);
  grid-template-rows: auto 1fr; gap: 28px 48px; align-items: center;
  background: radial-gradient(ellipse at 20% 68%, #354b68 0, transparent 52%), #19232f;
}
.home-hero::after { display: none; }
.nav-h { grid-column: 1 / -1; gap: 16px; align-self: start; position: relative; z-index: 5; }
.nav-h .logo { font-size: 24px; }
.nav-h__links { gap: 12px; }
.nav-h__links .nav-h__plain, .nav-dd__btn { font-size: 14px; }
.nav-h__right { margin-left: auto; gap: 8px; }
.icon-btn, .btn-white, .filter, .sort select, .page-btn { min-height: 44px; border-radius: 8px; }
.icon-btn { width: 44px; }
.btn-white { font-size: 15px; font-weight: 600; padding-inline: 18px; }
.home-hero__spot {
  grid-column: 1; grid-row: 2; position: relative; inset: auto; z-index: 0;
  width: 100%; max-width: 440px; justify-self: center; align-self: center;
}
.home-hero__spot::before, .tile__spot::before {
  inset: 8%; background: radial-gradient(closest-side, rgba(162,190,225,.28), rgba(162,190,225,0) 100%);
}
.featured { grid-column: 2; grid-row: 2; margin: 0; align-self: center; max-width: 600px; padding-block: 24px; }
.featured__wrap { align-items: flex-start; }
.featured__pill { border: 1px solid #637287; border-radius: 8px; padding-inline: 12px; height: 32px; background: #ffffff08; color: #e1e7ef; font-size: 13px; }
.featured h1 { font-size: clamp(38px,3.6vw,52px); line-height: 1.12; letter-spacing: -.035em; font-weight: 600; margin-top: 24px; text-wrap: balance; }
.featured p { color: #c9d2df; margin-top: 20px; font-size: 18px; line-height: 28px; max-width: 50ch; }
.dots { justify-content: flex-start; margin-top: 28px; }
.blog-head { padding-top: 64px; }
.blog-head h2, .brand-story h2, .code-indic__head h2, .transp h2 { font-size: 36px; line-height: 44px; font-weight: 600; letter-spacing: -.025em; }
.blog-head > p, .code-indic__head p { max-width: 720px; font-size: 17px; line-height: 27px; }
.toolbar { margin-top: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.filters { gap: 4px; }
.filter { padding-inline: 16px; color: var(--text-2); }
.filter.is-active { background: #e8eefb; color: #244eae; }
.filter:hover { background: #eff2f6; }
.sort { font-size: 14px; gap: 12px; }
.sort select { background: transparent; color: var(--text); border: 1px solid #d6dbe2; font: inherit; font-weight: 500; padding-inline: 12px; }
.grid { gap: 48px 28px; margin-top: 28px; }
.card { display: flex; flex-direction: column; min-width: 0; }
.card[hidden] { display: none; }
.card__media { aspect-ratio: 16 / 10; border-radius: 16px; flex: none; padding: 32px; isolation: isolate; }
.card__cat { top: 16px; left: 16px; border-radius: 6px; font-size: 12px; line-height: 20px; padding: 3px 9px; background: #111a2b45; border: 1px solid #ffffff1a; }
.card__vs { font-size: 26px; line-height: 34px; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.m-facture { background: linear-gradient(135deg,#263b58,#516f95); }
.m-vendre { background: linear-gradient(135deg,#393c60,#7675a0); }
.m-banque { background: linear-gradient(135deg,#283b48,#597986); }
.m-ia { background: linear-gradient(135deg,#35374d,#71768e); }
.card__meta { margin-top: 20px; font-size: 12px; line-height: 20px; color: var(--text-2); }
.card h3 { min-height: 56px; font-size: 21px; line-height: 28px; margin-top: 8px; font-weight: 600; letter-spacing: -.02em; }
.blog-head .card__excerpt { font-size: 16px; line-height: 24px; margin-top: 10px; margin-bottom: 20px; min-height: 48px; }
.card__author { margin-top: auto; font-size: 13px; gap: 8px; }
.card__author .avatar { width: 28px; height: 28px; }
.pagination { margin-top: 48px; gap: 8px; }
.page-btn { min-width: 44px; }
.page-btn.is-active { background: #e8eefb; color: #244eae; font-weight: 600; }
.brand-story { margin-top: var(--section-gap); grid-template-columns: minmax(0,.7fr) minmax(0,1.5fr); gap: 64px; padding-top: 64px; border-top: 1px solid var(--border); }
.brand-story__art { max-width: 320px; justify-self: center; }
.brand-story__lead { font-size: 19px; line-height: 29px; }
.brand-story__steps { gap: 24px; margin-top: 28px; }
.brand-story__steps > div { border-top: 2px solid #c5d2ee; }
.brand-story__steps h3 { font-size: 17px; line-height: 24px; }
.brand-story__steps p { font-size: 14px; line-height: 22px; }
.brand-story__next { margin-top: 24px; font-size: 14px; color: var(--text-2); }
.brand-story + .code-indic { margin-top: var(--section-gap); }
.code-indic__grid { gap: 16px; margin-top: 32px; }
.code-card { border-radius: 16px; padding: 20px 20px 24px; background: var(--surface); }
.code-card__art { max-width: 210px; margin: 0 auto 20px; }
.code-card__tag { font-size: 11px; gap: 7px; }
.code-card__tag::before { width: 8px; height: 8px; }
.code-card h3 { font-size: 20px; line-height: 28px; }
.code-card p { font-size: 14px; line-height: 22px; }
.transp { margin-top: var(--section-gap); }
.transp__card { grid-template-columns: 180px minmax(0,1fr); gap: 40px; padding: 40px; border-radius: 16px; border: 0; background: var(--surface); }
.transp h2 { font-size: 30px; line-height: 38px; }
.transp p { font-size: 16px; line-height: 25px; max-width: none; }
.transp__tag { border-radius: 8px; }
.transp__links { padding-top: 8px; }
.footer-h { max-width: 1440px; margin: 64px auto 16px; background: #19232f; border-radius: 24px; padding: 48px 40px 32px; }
.footer-h__grid { max-width: 1216px; margin-inline: auto; grid-template-columns: 1.5fr .9fr .8fr 1.2fr; gap: 32px; }
.footer-h .logo { font-size: 25px; }
.footer-h__mission { font-size: 14px; line-height: 23px; color: #c3ccd8; }
.footer-h ul a { font-size: 14px; color: #c3ccd8; }
.footer-h__bottom { max-width: 1216px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid #ffffff20; font-size: 12px; }
.sub-pill { border-radius: 8px; height: 52px; border-color: #6c7a8c; padding: 3px 3px 3px 12px; }
.sub-pill button { border-radius: 6px; height: 44px; font-size: 13px; }
.sub-pill input::placeholder { color: #b2bdcd; }
.sub-pill:focus-within { outline: 2px solid #769cff; outline-offset: 3px; }
.reveal { opacity: 1; transform: none; }
@media (max-width: 1472px) { .home-hero, .footer-h { margin-inline: 16px; } }
@media (max-width: 1100px) {
  .home-hero { gap: 24px; padding: 24px 32px 36px; min-height: 600px; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); }
  .featured h1 { font-size: 40px; }
  .brand-story { grid-template-columns: minmax(0,.65fr) minmax(0,1.5fr); gap: 32px; }
  .brand-story__steps { grid-template-columns: 1fr; gap: 16px; }
  .brand-story__steps > div { padding-top: 12px; }
  .code-indic__grid { grid-template-columns: repeat(2,1fr); }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-h__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  :root { --section-gap: 56px; }
  .container { padding-inline: 20px; }
  .home-hero { margin: 8px; border-radius: 24px; min-height: 0; padding: 16px 20px 28px; grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 12px; }
  .nav-h { grid-column: 1; grid-row: 1; gap: 8px; }
  .nav-h .logo { font-size: 20px; gap: 6px; }
  .nav-h .logo__img { width: 30px; height: 34px; }
  .nav-h__right { gap: 0; }
  .nav-h .icon-btn { width: 40px; }
  .home-hero__spot { grid-column: 1; grid-row: 2; max-width: 200px; width: 60%; margin-block: -8px -4px; }
  .featured { grid-column: 1; grid-row: 3; padding: 0; max-width: none; }
  .featured h1 { font-size: 34px; line-height: 39px; margin-top: 16px; }
  .featured p { font-size: 16px; line-height: 25px; margin-top: 16px; }
  .dots { margin-top: 20px; }
  .blog-head { padding-top: 40px; }
  .blog-head h2, .brand-story h2, .code-indic__head h2, .transp h2 { font-size: 28px; line-height: 36px; }
  .blog-head > p, .code-indic__head p { font-size: 16px; line-height: 25px; }
  .toolbar { margin-top: 24px; gap: 16px; padding-bottom: 16px; }
  .filters { width: 100%; gap: 0; }
  .filter { padding-inline: 12px; font-size: 14px; flex: none; }
  .sort { width: 100%; justify-content: space-between; }
  .grid { grid-template-columns: 1fr; gap: 32px; margin-top: 24px; }
  .card__media { aspect-ratio: 16 / 9; padding: 28px; }
  .card__vs { font-size: 25px; line-height: 32px; }
  .card h3 { min-height: 0; font-size: 21px; line-height: 28px; }
  .blog-head .card__excerpt { margin-bottom: 16px; min-height: 0; }
  .card__meta { margin-top: 16px; }
  .pagination { margin-top: 32px; gap: 4px; }
  .brand-story { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .brand-story__art { width: 180px; justify-self: start; }
  .brand-story__lead { font-size: 17px; line-height: 27px; }
  .brand-story__steps { margin-top: 24px; }
  .brand-story__steps p { font-size: 15px; line-height: 23px; }
  .code-indic__grid { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .code-card { display: grid; grid-template-columns: 90px minmax(0,1fr); column-gap: 16px; padding: 20px 16px; align-content: start; }
  .code-card__art { grid-column: 1; grid-row: 1 / span 3; width: 100%; margin: 0; align-self: center; }
  .code-card__tag, .code-card h3, .code-card p { grid-column: 2; }
  .code-card h3 { font-size: 18px; line-height: 26px; margin-top: 4px; }
  .code-card p { font-size: 14px; line-height: 21px; margin-top: 6px; }
  .transp__card { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .transp__art { width: 112px; }
  .transp__links { gap: 12px 20px; }
  .footer-h { margin: 40px 8px 8px; padding: 32px 24px 24px; }
  .footer-h__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-h__grid > :first-child, .footer-h__grid > form { grid-column: 1 / -1; }
  .footer-h__bottom { gap: 16px; margin-top: 32px; }
  .footer-h__bottom nav { gap: 16px; flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .home-hero { padding-inline: 16px; }
  .nav-h .logo { font-size: 18px; }
  .nav-h .logo__img { width: 26px; }
  .nav-h .icon-btn { width: 36px; }
  .featured h1 { font-size: 30px; line-height: 36px; }
  .code-card { grid-template-columns: 72px minmax(0,1fr); gap: 12px; }
}
@media (max-width: 767px) {
  .filter { font-size: 13px; padding-inline: 10px; }
  .filters { scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
}

/* V2 motion: short entrances, tactile controls, restrained illustration movement. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .motion-ready .reveal {
    transition: opacity 520ms ease var(--enter-delay, 0ms),
                translate 520ms cubic-bezier(.2,.7,.3,1) var(--enter-delay, 0ms),
                box-shadow 240ms ease, background-color 240ms ease;
    translate: 0 0;
  }
  .motion-ready .reveal.motion-pending { opacity: 0; translate: 0 14px; }
  .featured__wrap > * { animation: indic-arrive 600ms cubic-bezier(.2,.7,.3,1) both; }
  .featured__wrap > :nth-child(2) { animation-delay: 90ms; }
  .featured__wrap > :nth-child(3) { animation-delay: 160ms; }
  .home-hero__spot img { animation: indic-float 2400ms ease-in-out 2; transform-origin: 50% 85%; }
  .card__media { transition: transform 280ms ease, box-shadow 280ms ease; }
  .card__vs { transition: transform 320ms ease; }
  .card h3 { transition: color 200ms ease; }
  .code-card__art img, .tile__spot img { transition: transform 350ms cubic-bezier(.2,.7,.3,1); }
  .btn-white, .filter, .page-btn, .icon-btn, .sub-pill button {
    transition: transform 160ms ease, background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
  }
  .btn-white .icon { transition: transform 200ms ease; }
  .sub-pill { transition: border-color 200ms ease, box-shadow 200ms ease; }
  .sub-pill:focus-within { box-shadow: 0 0 0 4px #769cff15; }
  .btn-white:active, .filter:active, .page-btn:active, .icon-btn:active, .sub-pill button:active { transform: scale(.97); }
  .mobile-menu.is-open { animation: indic-menu 220ms ease both; }
  @media (hover: hover) and (pointer: fine) {
    .card:hover .card__media, .card:focus-visible .card__media { transform: translateY(-4px); box-shadow: 0 10px 24px -14px #263b5870; }
    .card:hover .card__vs { transform: scale(1.025); }
    .card:hover h3 { color: #244eae; text-decoration: none; }
    .code-card:hover { box-shadow: 0 8px 24px -16px #263b5855; background-color: #f0f1ef; }
    .code-card:hover .code-card__art img { transform: translateY(-4px) rotate(-1deg); }
    .tile:hover .tile__spot img { transform: translateY(-4px); }
    .btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 18px -8px #060e2066; }
    .btn-white:hover .icon { transform: translateX(3px); }
    .page-btn:hover { transform: translateY(-2px); }
  }
}
@keyframes indic-arrive { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
@keyframes indic-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px) rotate(-.4deg); } }
@keyframes indic-menu { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-ready .reveal, .motion-ready .reveal.motion-pending { opacity: 1; transform: none; translate: none; }
  .card:hover .card__media, .btn-white:hover, .round-socials a:hover { transform: none; }
}

/* Light direction and pencil marks — V2 only. All decoration scales with its pose. */
.home-hero__spot, .tile__spot, .code-card__art, .brand-story__art, .transp__art {
  position: relative; isolation: isolate;
  --sketch-ink: #303945;
}
.mascot-sketch {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  pointer-events: none; color: var(--sketch-ink); z-index: -1;
}
.sketch-ground { opacity: .35; }
.sketch-motion { opacity: .44; }
.sketch-impact { opacity: .55; }
.sketch-contact { fill: #19232f; opacity: .12; filter: blur(2px); }
.sketch-floor-light { fill: transparent; }
.home-hero__spot, .tile__spot { --sketch-ink: #e1e2df; }
.home-hero__spot::before, .tile__spot::before {
  inset: -8% -12% -2%; border-radius: 0;
  background:
    radial-gradient(ellipse 33% 42% at 58% 48%,
      rgba(245,233,211,.46) 0%, rgba(233,224,209,.32) 27%,
      rgba(207,215,219,.14) 56%, rgba(179,200,218,.035) 78%, transparent 100%);
  z-index: -2;
}
.home-hero__spot::after, .tile__spot::after {
  content: ''; position: absolute; inset: -10% 8% 13% 8%; pointer-events: none;
  background: linear-gradient(164deg, rgba(247,235,214,.12), rgba(222,228,232,.045) 58%, transparent 85%);
  clip-path: polygon(38% 0, 55% 0, 92% 100%, 4% 100%);
  filter: blur(18px); opacity: .65; z-index: -1;
}
.home-hero__spot img, .tile__spot img {
  filter: drop-shadow(0 -1px 1px rgba(241,234,219,.32)) drop-shadow(0 5px 8px rgba(5,12,20,.16));
}
.home-hero__spot .sketch-floor-light, .tile__spot .sketch-floor-light {
  fill: #e7dfcc; opacity: .04; filter: blur(14px);
}
.home-hero__spot .sketch-contact, .tile__spot .sketch-contact { fill: #080e16; opacity: .4; }
.home-hero__spot .sketch-ground, .tile__spot .sketch-ground { opacity: .28; }
.home-hero__spot .sketch-motion, .tile__spot .sketch-motion { opacity: .4; }
/* A grounded stance reads better with the new contact shadow. */
.home-hero__spot img { animation: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .sketch-motion, .sketch-impact { transition: opacity 300ms ease; }
  .code-card:hover .sketch-motion, .tile:hover .sketch-motion { opacity: .72; }
  .brand-story__art:hover .sketch-impact { opacity: .75; }
  .code-card:hover .code-card__art img, .tile:hover .tile__spot img { transform: rotate(-.65deg); transform-origin: 59% 86%; }
}
@media (max-width: 767px) {
  .home-hero__spot::before, .tile__spot::before { opacity: .9; }
  .code-card__art .sketch-motion { opacity: .3; }
}
/* Feather the directional light: no visible cone edge. */
.home-hero__spot::after, .tile__spot::after {
  inset: -12% 20% 18% 20%; clip-path: none;
  background: radial-gradient(ellipse at 46% 16%, rgba(246,235,216,.11), rgba(221,225,225,.045) 48%, transparent 74%);
  filter: blur(20px); transform: rotate(-12deg); opacity: .7;
}

/* Restore the V1 mosaic composition with the approved illustrations. */
.mosaic .tile__spot { position: absolute; z-index: -1; }

/* Slightly more compact V1 newsletter and count tiles. */
.mosaic__col { grid-template-rows: 360px 260px; align-content: start; }
@media (max-width: 768px) {
  .mosaic__col { grid-template-rows: auto auto; }
  .mosaic .tile--dark { min-height: 270px; }
  .mosaic .tile--count { min-height: 240px; }
}
/* Match the right tile to the combined height of the two left tiles. */
@media (min-width: 1025px) {
  .mosaic .tile--tall { min-height: 632px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .mosaic .tile--tall { min-height: 400px; }
}
@media (max-width: 768px) {
  .mosaic .tile--tall { min-height: 400px; }
}
/* One more small, even reduction across all three mosaic tiles. */
.mosaic__col { grid-template-rows: 340px 245px; }
@media (min-width: 1025px) {
  .mosaic .tile--tall { min-height: 601px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .mosaic .tile--tall { min-height: 380px; }
}
@media (max-width: 768px) {
  .mosaic .tile--dark { min-height: 255px; }
  .mosaic .tile--count { min-height: 225px; }
  .mosaic .tile--tall { min-height: 380px; }
}
.mosaic .tile--tall { align-items: flex-start; justify-content: flex-start; }
.mosaic .tile--tall h3 { align-self: flex-start; }

/* Existing V2 tones stay on the lead cards; repeats use related, distinct gradients. */
.m-vendre-alt-1 { background: linear-gradient(135deg, #263b58 0%, #476785 55%, #839bb3 100%); }
.m-vendre-alt-2 { background: linear-gradient(135deg, #414257 0%, #696b87 55%, #a0a2b6 100%); }
.m-vendre-alt-3 { background: linear-gradient(135deg, #47354d 0%, #765b78 55%, #ae92a8 100%); }
.m-facture-alt-1 { background: linear-gradient(135deg, #344762 0%, #667e9e 55%, #a1b5cc 100%); }
.m-facture-alt-2 { background: linear-gradient(135deg, #263b58 0%, #456979 55%, #84a4ac 100%); }

/* =========================================================
   V2.1 : décisions de Do du 01/10/2026 (issue #006 + étude des favoris)
   1. Tampon bleu marque. 2. Une seule nav (voir styles-article-v2.css).
   3. Ni « · » ni → dans l'interface. 4. Police Figtree, titres en 500.
   5. Cartes variées : une carte à la une, des fiches à cadre constant, sans dégradé.
   6. Plus de fondus : le contenu est visible dès le chargement.
   ========================================================= */
:root {
  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --tampon: var(--cape-marque);
  --ink: #19232f;
  --fiche-bord: #d9dde3; /* filet des métas */
}
body { font-family: var(--font); }

/* 4. titres en 500 */
.featured h1, .blog-head h2, .brand-story h2, .code-indic__head h2, .transp h2 { font-weight: 500; }
.featured h1 { letter-spacing: -.03em; }

/* 6. plus de fondus (le JS ajoute .is-in partout, ceci couvre aussi l'absence de JS) */
.reveal, .motion-ready .reveal, .motion-ready .reveal.motion-pending { opacity: 1; transform: none; translate: none; }
.featured__wrap > * { animation: none; }

/* 3. métas des cartes : un filet au lieu du point */
.card__meta { gap: 0; }
.card__meta span + span { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--fiche-bord); }

/* 5. vignettes : les dégradés de la V2 de Do sont conservés (validés le 01/10/2026) */
.card__vs-mid { opacity: .7; font-weight: 400; }

/* 5. la carte à la une (onglet « Tout » seulement : .grid[data-filter="all"]) : même anatomie que les autres cartes (vignette, méta, titre, extrait, auteur),
   sur 2 colonnes. Sa vignette a exactement la hauteur de celle de sa voisine : 2 colonnes + 1 gouttière
   pour une hauteur de 16/10 d'une colonne, soit un rapport d'environ 3,32. */
.grid { grid-auto-flow: dense; }
.grid[data-filter="all"] > .card:first-child { grid-column: span 2; }
.grid[data-filter="all"] > .card:first-child .card__media {
  aspect-ratio: 332 / 100; display: flex; align-items: center; justify-content: flex-start; padding: 0 40% 0 40px;
}
.grid[data-filter="all"] > .card:first-child .card__vs { text-align: left; padding: 0; font-size: clamp(28px, 2.4vw, 36px); line-height: 1.1; }
.grid[data-filter="all"] > .card:first-child h3 { font-size: 24px; line-height: 28px; font-weight: 600; }
.grid[data-filter="all"] > .card:first-child .card__excerpt { -webkit-line-clamp: 2; }
.card__mascot { display: none; }
.grid[data-filter="all"] > .card:first-child .card__mascot { display: block; position: absolute; right: 9%; bottom: 0; height: 90%; width: auto; max-width: none; }
@media (max-width: 767px) {
  .grid[data-filter="all"] > .card:first-child { grid-column: auto; }
  .grid[data-filter="all"] > .card:first-child .card__media { aspect-ratio: 16 / 9; padding: 0 44% 0 24px; }
  .grid[data-filter="all"] > .card:first-child .card__vs { font-size: 26px; }
  .grid[data-filter="all"] > .card:first-child .card__mascot { height: 66%; right: 5%; }
  .grid[data-filter="all"] > .card:first-child h3 { font-size: 21px; }
}

/* survol : léger, sans fondu ni ombre portée */
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__media, .card:focus-visible .card__media { transform: translateY(-3px); }
}

/* V2.1 : mosaïque du bas (01/10/2026). Même largeur et mêmes marges que le hero et le footer,
   et taille réduite d'environ 18 %, de façon homogène sur les 3 tuiles. */
.mosaic { max-width: 1440px; margin: var(--section-gap) auto 0; padding: 0; gap: 12px; }
@media (max-width: 1472px) { .mosaic { margin-inline: 16px; } }
.mosaic__col { grid-template-rows: 280px 200px; gap: 12px; }
@media (min-width: 1025px) { .mosaic .tile--tall { min-height: 492px; } }
.mosaic .tile { padding: 24px; }
.mosaic .tile h3 { font-size: 25px; line-height: 33px; font-weight: 500; }
.mosaic .tile p { font-size: 16px; line-height: 25px; }
.mosaic .tile--tall h3 { font-size: 33px; line-height: 42px; max-width: 520px; }
.mosaic .tile--count strong { font-size: 38px; line-height: 44px; }
.mosaic .tile .btn-white { margin-top: 18px; }
@media (min-width: 769px) and (max-width: 1024px) { .mosaic .tile--tall { min-height: 320px; } }
@media (max-width: 768px) {
  .mosaic { margin-inline: 8px; }
  .mosaic .tile--dark { min-height: 220px; }
  .mosaic .tile--count { min-height: 190px; }
  .mosaic .tile--tall { min-height: 320px; }
  .mosaic .tile h3 { font-size: 22px; line-height: 29px; }
  .mosaic .tile--tall h3 { font-size: 26px; line-height: 34px; }
}

/* V2.1 : nav alignée à droite (01/10/2026). Logo à gauche, rubriques collées au groupe loupe + S'abonner. */
.nav-h__links { margin: 0 0 0 auto; }
.nav-h__right { margin-left: 12px; }

/* =========================================================
   V2.1 : structure (01/10/2026)
   Deux règles pour toute la page :
   - les CADRES (hero, mosaïque, footer) sont à 16 px du bord (8 px en mobile), 1440 px max ;
   - le CONTENU (logo, nav, texte du hero, Journal, cartes, contenu du footer) tient dans UNE colonne :
     celle du .container (1280 px max, gouttière 32 px, donc 1216 px utiles).
   Le padding des cadres est calculé pour que leur contenu tombe pile sur cette colonne.
   ========================================================= */
:root {
  --col-gut: 32px;
  --frame-gap: max(16px, (100vw - 1440px) / 2);
  --col-edge: max(var(--col-gut), (100vw - 1280px) / 2 + var(--col-gut));
  --frame-pad: calc(var(--col-edge) - var(--frame-gap));
}
@media (max-width: 767px) { :root { --col-gut: 24px; --frame-gap: 8px; } }
.container { padding-inline: var(--col-gut); }
.home-hero { padding-inline: var(--frame-pad); }
.footer-h { padding-inline: var(--frame-pad); }
.footer-h__grid, .footer-h__bottom { max-width: none; }

/* Barre du Journal : onglets soulignés et tri sur la même ligne de base */
.toolbar { align-items: flex-end; gap: 24px; padding-bottom: 0; border-bottom: 1px solid var(--border); }
.filters { gap: 28px; }
.filter, .filter:hover, .filter.is-active {
  height: 44px; min-height: 44px; padding: 0; border-radius: 0; background: none;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  font-size: 15px; font-weight: 500; color: var(--text-2);
}
.filter:hover { color: var(--text); }
.filter.is-active { color: var(--text); border-bottom-color: var(--text); }
.sort { height: 44px; align-items: center; gap: 6px; font-size: 15px; color: var(--text-2); white-space: nowrap; }
.sort select {
  min-height: 0; height: 44px; border: 0; border-radius: 0; padding: 0 22px 0 0; background-color: transparent;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2319232f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 0 center / 16px;
  color: var(--text); font: inherit; font-weight: 500; cursor: pointer;
}
/* même langage pour la pagination : état actif en encre */
.page-btn.is-active { background: var(--text); color: #fff; }
@media (max-width: 767px) {
  .toolbar { flex-direction: column; align-items: stretch; gap: 0; }
  .filters { gap: 22px; overflow-x: auto; flex-wrap: nowrap; }
  .filter { flex: none; font-size: 14px; }
  .sort { width: auto; justify-content: flex-start; height: 40px; font-size: 14px; border-top: 1px solid var(--border); }
  .home-hero { padding-inline: calc(var(--col-gut) - var(--frame-gap)); }
  .footer-h { padding-inline: calc(var(--col-gut) - var(--frame-gap)); }
}

/* nav : poussée à droite aussi quand les rubriques passent dans le menu burger */
@media (max-width: 1360px) { .nav-h__right { margin-left: auto; } }

/* =========================================================
   V2.1 : vignettes du Journal (01/10/2026)
   4 teintes accordées (même direction, même clarté), en cycle de 4 sur une grille de 3 colonnes :
   jamais deux voisines identiques, ni en ligne ni en colonne.
   La carte à la une garde le bleu nuit le plus profond.
   Sans JS : nth-child. Avec JS : data-tone recalculé après chaque filtre.
   ========================================================= */
:root {
  --tone-a: linear-gradient(135deg, #263b58 0%, #4b6890 55%, #8ba3c1 100%); /* bleu nuit */
  --tone-b: linear-gradient(135deg, #36385c 0%, #626396 55%, #a2a1c6 100%); /* violet ardoise */
  --tone-c: linear-gradient(135deg, #22404a 0%, #4a727d 55%, #8eb0b5 100%); /* sarcelle */
  --tone-d: linear-gradient(135deg, #47354f 0%, #775e80 55%, #b09bb2 100%); /* mauve */
  --tone-une: linear-gradient(135deg, #1d2f48 0%, #34507a 60%, #5d7ea8 100%);
}
.grid > .card .card__media { background: var(--tone-a); }
.grid > .card:nth-child(4n+3) .card__media { background: var(--tone-b); }
.grid > .card:nth-child(4n+4) .card__media { background: var(--tone-c); }
.grid > .card:nth-child(4n+5) .card__media { background: var(--tone-d); }
.grid > .card[data-tone="a"] .card__media { background: var(--tone-a); }
.grid > .card[data-tone="b"] .card__media { background: var(--tone-b); }
.grid > .card[data-tone="c"] .card__media { background: var(--tone-c); }
.grid > .card[data-tone="d"] .card__media { background: var(--tone-d); }
.grid[data-filter="all"] > .card:first-child .card__media { background: var(--tone-une); }

/* =========================================================
   V2.1 : TYPOGRAPHIE ET LISIBILITÉ (01/10/2026), passe générale
   Échelle unique de 8 crans, rien en dessous de 13 px :
     label 13 · meta 14 · ui 16 · body-s 16 · body 18 · lead 20 · h3 22 · h2 30→40 · h1 40→56
   Graisses : texte 400, interface 500, titres 600. Texte foncé, contraste ≥ 4,5:1 partout.
   Aucun halo, flou ni texte en opacité partielle : la lecture reste nette.
   ========================================================= */
:root {
  --text: #111418;      /* 18:1 sur le fond */
  --text-2: #454f5c;    /* 8:1 */
  --text-3: #5a6470;    /* 5,9:1, minimum pour un texte */
  --on-dark: #ffffff;
  --on-dark-2: #d6dde7; /* 11,6:1 sur #19232f */
  --t-label: 13px; --lh-label: 1.4;
  --t-meta: 14px;  --lh-meta: 1.5;
  --t-ui: 16px;    --lh-ui: 1.4;
  --t-body-s: 16px; --lh-body-s: 1.6;
  --t-body: 18px;  --lh-body: 1.65;
  --t-lead: 20px;  --lh-lead: 1.6;
  --t-h3: 22px;    --lh-h3: 1.3;
  --t-h2: clamp(30px, 1.2vw + 22px, 40px); --lh-h2: 1.15;
  --t-h1: clamp(40px, 2.2vw + 24px, 56px); --lh-h1: 1.08;
  /* dégradés assombris : le blanc garde ≥ 5:1 jusque dans le coin le plus clair */
  --tone-a: linear-gradient(135deg, #263b58 0%, #40597e 55%, #566f93 100%);
  --tone-b: linear-gradient(135deg, #33355a 0%, #515283 55%, #666795 100%);
  --tone-c: linear-gradient(135deg, #203c46 0%, #3d636d 55%, #4f747d 100%);
  --tone-d: linear-gradient(135deg, #43324b 0%, #664f6e 55%, #7a6181 100%);
  --tone-une: linear-gradient(135deg, #1d2f48 0%, #2f4a70 60%, #46658e 100%);
}
@media (max-width: 767px) {
  :root { --t-body: 17px; --t-lead: 18px; --t-h3: 20px; --t-h2: 28px; --t-h1: 34px; }
}
body { font-size: var(--t-body-s); line-height: var(--lh-body-s); color: var(--text); font-kerning: normal; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

/* --- aucun halo : fonds pleins, pas de lumière diffuse ni de verre flou derrière du texte --- */
.home-hero { background: #19232f; }
.home-hero__spot::before, .home-hero__spot::after, .tile__spot::before, .tile__spot::after { display: none; }
.home-hero__spot img, .tile__spot img { filter: none; }
.card__cat { backdrop-filter: none; }
.nav-dd__btn, .nav-h__plain, .nav-h__links a { opacity: 1; }
.card__vs-mid { opacity: 1; color: #dbe3ee; }

/* --- nav --- */
.nav-h .logo { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.nav-dd__btn, .nav-h__plain { font-size: 15px; font-weight: 500; color: var(--on-dark); }
.nav-dd__btn:hover, .nav-h__plain:hover { opacity: 1; color: var(--on-dark-2); }
.btn-white { font-size: var(--t-ui); font-weight: 600; }
.nav-dd__title { font-size: var(--t-label); letter-spacing: .02em; text-transform: none; font-weight: 600; color: var(--text-3); }
.nav-dd__col a { font-size: 15px; line-height: 1.45; }
.nav-dd__all { font-size: var(--t-meta); }

/* --- hero --- */
.featured__pill { height: auto; padding: 5px 12px; font-size: var(--t-meta); font-weight: 500; line-height: var(--lh-meta); color: var(--on-dark); border-color: #5d6b7d; background: transparent; }
.featured h1 { font-size: var(--t-h1); line-height: var(--lh-h1); font-weight: 600; letter-spacing: -.03em; }
.featured p { font-size: var(--t-lead); line-height: var(--lh-lead); color: var(--on-dark-2); }

/* --- Journal --- */
.blog-head h2, .brand-story h2, .code-indic__head h2, .transp h2 { font-size: var(--t-h2); line-height: var(--lh-h2); font-weight: 600; letter-spacing: -.025em; }
.blog-head > p, .code-indic__head p { font-size: var(--t-body); line-height: var(--lh-body); color: var(--text-2); max-width: 62ch; }
.filter, .filter:hover, .filter.is-active { font-size: var(--t-ui); }
.sort { font-size: var(--t-ui); color: var(--text-2); }
.card__cat { font-size: var(--t-label); line-height: var(--lh-label); font-weight: 500; padding: 3px 9px; color: var(--on-dark); background: #0e1622b3; border-color: #ffffff2e; }
.card__vs { font-weight: 600; }
.card__meta { font-size: var(--t-meta); line-height: var(--lh-meta); color: var(--text-3); margin-top: 18px; }
.card h3 { font-size: var(--t-h3); line-height: var(--lh-h3); font-weight: 600; letter-spacing: -.015em; min-height: calc(2 * var(--lh-h3) * var(--t-h3)); margin-top: 8px; }
.blog-head .card__excerpt { font-size: var(--t-body-s); line-height: var(--lh-body-s); color: var(--text-2); margin-top: 8px; min-height: calc(2 * var(--lh-body-s) * var(--t-body-s)); }
.card__author { font-size: var(--t-meta); font-weight: 500; color: var(--text); }
.grid[data-filter="all"] > .card:first-child h3 { font-size: calc(var(--t-h3) + 4px); line-height: var(--lh-h3); }
.page-btn { font-size: var(--t-ui); }

/* --- Pourquoi l'Indic --- */
.brand-story__kicker { font-size: var(--t-meta); font-weight: 600; letter-spacing: 0; text-transform: none; color: #2a56c0; }
.brand-story__lead { font-size: var(--t-lead); line-height: var(--lh-lead); color: var(--text-2); max-width: 60ch; }
.brand-story__steps h3 { font-size: 18px; line-height: 1.35; font-weight: 600; }
.brand-story__steps p { font-size: var(--t-body-s); line-height: var(--lh-body-s); color: var(--text-2); }
.brand-story__next { font-size: var(--t-body-s); font-weight: 500; color: var(--text); }

/* --- Le code de l'Indic --- */
.code-card__tag { font-size: var(--t-label); font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text-2); }
.code-card__tag::before { width: 10px; height: 10px; }
.code-card h3 { font-size: 20px; line-height: 1.3; font-weight: 600; }
.code-card p { font-size: var(--t-body-s); line-height: var(--lh-body-s); color: var(--text-2); }

/* --- Transparence --- */
.transp__tag { font-size: var(--t-label); font-weight: 500; color: var(--text-2); }
.transp p { font-size: 17px; line-height: 1.65; color: var(--text-2); max-width: 68ch; }
.transp p strong, .transp__merci { color: var(--text); }
.transp__links a { font-size: var(--t-ui); font-weight: 500; }

/* --- Mosaïque --- */
.mosaic .tile h3 { font-weight: 600; letter-spacing: -.015em; }
.mosaic .tile p { font-size: var(--t-body-s); line-height: var(--lh-body-s); color: var(--on-dark-2); }
.mosaic .tile--count h3 { font-size: 22px; line-height: 1.3; }

/* --- Footer --- */
.footer-h .logo { font-size: 22px; font-weight: 600; }
.footer-h__mission { font-size: var(--t-body-s); line-height: var(--lh-body-s); color: var(--on-dark-2); }
.footer-h h4 { font-size: var(--t-ui); font-weight: 600; }
.footer-h ul a { font-size: 15px; line-height: 1.45; color: var(--on-dark-2); }
.footer-h ul a:hover { color: var(--on-dark); }
.footer-h__bottom { font-size: var(--t-meta); color: #b9c3cf; }
.footer-h__bottom a { color: #b9c3cf; }
.sub-pill input { font-size: 15px; }
.sub-pill input::placeholder { color: #b9c3cf; }
.sub-pill button { font-size: var(--t-meta); font-weight: 600; }
.mobile-menu a { font-weight: 500; }
.nav-h__links .nav-h__plain, .nav-h__links .nav-dd__btn { font-size: 15px; }
.mosaic .tile h3 { font-size: var(--t-h3); line-height: var(--lh-h3); }
.mosaic .tile--tall h3 { font-size: var(--t-h2); line-height: var(--lh-h2); }
/* filet de section : il s'arrête aux bords de la colonne de contenu, pas à ceux du padding */
.brand-story { border-top: 0; background: linear-gradient(var(--border), var(--border)) no-repeat center top / calc(100% - 2 * var(--col-gut)) 1px; }

/* =========================================================
   V2.1 : structure, révision (01/10/2026)
   Le contenu s'aligne sur la marge intérieure des cadres (40 px, 16 px en mobile),
   et non l'inverse : les cadres respirent, la page utilise toute sa largeur.
   ========================================================= */
:root {
  --frame-pad: 40px;
  --col-edge: calc(var(--frame-gap) + var(--frame-pad));
}
@media (max-width: 767px) { :root { --frame-pad: 16px; } }
.container { max-width: none; padding-inline: var(--col-edge); }
.home-hero, .footer-h { padding-inline: var(--frame-pad); }
@media (max-width: 767px) { .home-hero, .footer-h { padding-inline: var(--frame-pad); } }
.brand-story { background-size: calc(100% - 2 * var(--col-edge)) 1px; }

/* Étiquettes (01/10/2026) : verre léger, sans contour. Le flou porte sur le fond, le texte reste net. */
.card__cat, .featured__pill {
  border: 0; border-radius: 8px; padding: 4px 10px;
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%);
  color: #fff; font-size: var(--t-label); line-height: var(--lh-label); font-weight: 500;
}
.featured__pill { font-size: var(--t-meta); line-height: var(--lh-meta); padding: 5px 12px; height: auto; }
/* Étiquettes, révision : verre fumé sombre (teinte des vignettes conservée), sans contour, plus grandes.
   Contraste du blanc ≥ 10:1 même sur le coin le plus clair d'un dégradé (fond mélangé ≈ #3f384d). */
.card__cat, .featured__pill {
  border: 0; background: rgba(14, 22, 34, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font-size: var(--t-meta); line-height: 20px; font-weight: 600; letter-spacing: .005em;
  padding: 6px 12px; border-radius: 8px;
}
.card__cat { top: 16px; left: 16px; }
.featured__pill { font-size: 15px; padding: 7px 14px; background: rgba(255, 255, 255, .1); }
@media (max-width: 767px) { .card__cat { top: 12px; left: 12px; } }
.card__cat, .featured__pill { height: auto; }
/* Étiquettes sur fond clair (ex. « Collaboration commerciale ») : même système, sans contour,
   verre fumé clair, texte encre (contraste ≥ 14:1). */
.transp__tag {
  height: auto; border: 0; border-radius: 8px; padding: 6px 12px;
  background: rgba(25, 35, 47, .08); color: var(--text);
  font-size: var(--t-meta); line-height: 20px; font-weight: 600; letter-spacing: .005em;
}

/* =========================================================
   DESIGN SYSTEM L'Indic V2.1 : tokens figés (01/10/2026). Référence : DESIGN-SYSTEM.md
   ========================================================= */
:root {
  /* filets : 2 valeurs seulement sur fond clair, 1 sur fond sombre */
  --border: #e3e6ea;          /* séparateurs, cadres de cartes */
  --border-strong: #cdd2d9;   /* contours de contrôles (pagination, champs) */
  --border-dark: rgba(255, 255, 255, .16); /* sur fond sombre */
  /* arrondis */
  --r-frame: 24px; --r-card: 16px; --r-ctl: 8px; --r-ctl-inner: 6px; --r-round: 999px;
}
/* rythme vertical : une seule valeur entre les sections */
.blog-head { padding-top: var(--section-gap); }
.footer-h { margin-top: var(--section-gap); }
/* filets unifiés */
.toolbar { border-bottom-color: var(--border); }
.card__meta span + span { border-left-color: var(--border-strong); }
.page-btn--arrow { border-color: var(--border-strong); }
.brand-story__steps > div { border-top: 2px solid var(--text); }
.sub-pill { border-color: var(--border-dark); }
.footer-h__bottom { border-top-color: var(--border-dark); }
/* champ : 16 px minimum (sinon iOS zoome) */
.sub-pill input { font-size: 16px; }
/* arrondis : tokens */
.home-hero, .footer-h { border-radius: var(--r-frame); }
.card__media, .code-card, .transp__card, .mosaic .tile { border-radius: var(--r-card); }
.btn-white, .icon-btn, .page-btn, .card__cat, .featured__pill, .transp__tag, .sub-pill { border-radius: var(--r-ctl); }
.sub-pill button { border-radius: var(--r-ctl-inner); }
