/* =========================================================
   JIMMY TREND — Design system (hybride)
   Chaleur & lisibilité façon Glitch + ADN typo fort.
   Home = faux feed social (@jimmytrend).
   ========================================================= */

:root {
  /* Surfaces */
  --paper: #faf8f3;          /* fond chaud */
  --card: #ffffff;
  --ink: #181613;            /* texte */
  --ink-2: #57534c;          /* texte secondaire */
  --ash: #9a948a;            /* tertiaire / méta */
  --line: #ece7dd;           /* hairline chaude */
  --line-2: #ddd6c8;

  /* Accent de marque */
  --accent: #ff5a36;
  --accent-ink: #d83c1c;
  --accent-soft: #fff0eb;

  /* Sources */
  --x: #181613;
  --li: #0a66c2;
  --li-soft: #eaf2fb;

  /* Scores par palier */
  --score-high: #1a8a55;     /* >= 16 */
  --score-mid:  #c07a12;     /* 11–15 */
  --score-low:  #c43a2e;     /* <= 10 */

  /* Fonts */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Type scale */
  --t-cap: 12px;
  --t-body: 16px;
  --t-h3: 20px;
  --t-h2: 30px;
  --t-h1: clamp(34px, 5vw, 54px);

  /* Spacing */
  --s-4: 4px; --s-6: 6px; --s-8: 8px; --s-12: 12px; --s-16: 16px;
  --s-20: 20px; --s-24: 24px; --s-32: 32px; --s-40: 40px; --s-56: 56px; --s-80: 80px;

  --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-full: 999px;
  --shadow: 0 1px 2px rgba(24,22,19,.04), 0 8px 24px rgba(24,22,19,.05);
  --shadow-hover: 0 2px 4px rgba(24,22,19,.06), 0 14px 34px rgba(24,22,19,.09);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.5;
  letter-spacing: -0.011em;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; }

.caption { font-size: var(--t-cap); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ash); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,243,.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1080px; margin: 0 auto; padding: 0 var(--s-24);
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: var(--s-12); }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  /* Photo de profil : déposer "avatar.jpg" dans le même dossier que index.html.
     Tant que le fichier n'est pas là, un cercle sombre s'affiche (le "JT" est masqué). */
  background: var(--ink) url('avatar.jpg') center 22% / cover no-repeat;
  color: transparent; user-select: none;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  flex: none; overflow: hidden;
}
.avatar--lg { width: 72px; height: 72px; font-size: 28px; }
.avatar--sm { width: 44px; height: 44px; font-size: 17px; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.nav__links { display: flex; align-items: center; gap: var(--s-24); }
.nav__links a { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff !important;
  border-radius: var(--r-full); padding: 9px 18px;
  font-size: 14px; font-weight: 600; border: none; cursor: pointer;
  transition: background .15s, transform .05s;
}
.btn:hover { background: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.btn--ghost {
  background: transparent; color: var(--ink) !important;
  border: 1px solid var(--line-2);
}
.btn--ghost:hover { background: #fff; border-color: var(--ink); }

/* =========================================================
   LAYOUT : profil + feed + rail
   ========================================================= */
.shell { max-width: 1080px; margin: 0 auto; padding: 0 var(--s-24); }

/* En-tête de profil (style page X) */
.profile {
  display: flex; align-items: center; gap: var(--s-24);
  padding: var(--s-40) 0 var(--s-32); flex-wrap: wrap;
}
.profile__id { flex: 1 1 320px; }
.profile__name { display: flex; align-items: center; gap: var(--s-8); }
.profile__name h1 { font-size: clamp(28px, 4vw, 40px); }
.verified { color: var(--accent); font-size: 20px; }
.profile__handle { color: var(--ash); font-size: 15px; margin-top: 2px; }
.profile__bio { font-size: 16px; color: var(--ink-2); margin-top: var(--s-12); max-width: 52ch; line-height: 1.5; }
.profile__stats { display: flex; gap: var(--s-20); margin-top: var(--s-16); flex-wrap: wrap; }
.profile__stats span { font-size: 14px; color: var(--ash); }
.profile__stats b { color: var(--ink); font-weight: 600; }
.profile__cta { display: flex; gap: var(--s-8); align-items: center; }

/* Onglets / filtres du feed */
.feedtabs {
  display: flex; gap: var(--s-4); border-bottom: 1px solid var(--line);
  position: sticky; top: 64px; background: rgba(250,248,243,.9);
  backdrop-filter: blur(8px); z-index: 20;
}
.feedtabs a {
  padding: var(--s-16) var(--s-16); font-size: 14px; font-weight: 600; color: var(--ash);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.feedtabs a:hover { color: var(--ink); }
.feedtabs a.is-active { color: var(--ink); border-bottom-color: var(--accent); }

.layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: var(--s-40); padding: var(--s-32) 0 var(--s-80); }
.feed { max-width: 640px; width: 100%; display: flex; flex-direction: column; gap: var(--s-20); }

/* =========================================================
   CARTE DE POST (base)
   ========================================================= */
.post {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: var(--s-20);
  box-shadow: var(--shadow); transition: box-shadow .18s, transform .18s;
}
.post:hover { box-shadow: var(--shadow-hover); }
.post__head { display: flex; align-items: center; gap: var(--s-12); margin-bottom: var(--s-12); }
.post__id { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.post__line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.post__name { font-weight: 700; font-size: 15px; }
.post__name .verified { font-size: 15px; }
.post__handle, .post__time { color: var(--ash); font-size: 14px; }
.post__src { margin-left: auto; flex: none; }

.src {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: 4px 9px; border-radius: var(--r-full);
}
.src--x { background: var(--ink); color: #fff; }
.src--li { background: var(--li-soft); color: var(--li); }
.src--article { background: var(--accent-soft); color: var(--accent-ink); }

.post__text { font-size: 16px; line-height: 1.55; color: var(--ink); }
.post__text p { margin-bottom: var(--s-12); }
.post__text p:last-child { margin-bottom: 0; }
.post__text .tagx { color: var(--li); font-weight: 500; }
.post__text strong { font-weight: 700; }

/* média joint LinkedIn — format paysage */
.post__media {
  margin-top: var(--s-12); border-radius: var(--r-sm); overflow: hidden;
  border: 1px solid var(--line);
}
.post__media .ph {
  aspect-ratio: 16 / 9; background: var(--paper);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 36px; color: var(--line-2);
}

/* actions (X-like) */
.actions { display: flex; gap: var(--s-24); margin-top: var(--s-16); color: var(--ash); }
.actions span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.actions span:hover { color: var(--ink); cursor: default; }
.actions .ic { font-size: 15px; }

/* réactions LinkedIn-like */
.reactions { display: flex; align-items: center; gap: var(--s-8); margin-top: var(--s-16); padding-top: var(--s-12); border-top: 1px solid var(--line); color: var(--ash); font-size: 13px; }
.reactions .dots { letter-spacing: -2px; }

/* =========================================================
   CARTE ARTICLE / FICHE (dans le feed)
   ========================================================= */
.post--article { padding: 0; overflow: hidden; }
.article-card { display: block; }
.article-card__top { padding: var(--s-20) var(--s-20) var(--s-16); }
.article-card__head { display: flex; align-items: center; gap: var(--s-8); margin-bottom: var(--s-12); }
.article-card h3 { font-size: 24px; line-height: 1.08; }
.article-card__cover {
  width: 100%; aspect-ratio: 4 / 5; max-height: 70vh;
  background: var(--paper);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden;
  font-family: var(--font-display); font-size: 64px; color: var(--line-2);
}
.article-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.article-card__body { padding: var(--s-16) var(--s-20) var(--s-20); }
.article-card__dek { font-family: var(--font-serif); font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.article-card__foot { margin-top: var(--s-16); display: flex; align-items: center; justify-content: space-between; gap: var(--s-12); }
.article-card__read { font-size: 14px; font-weight: 600; color: var(--accent-ink); white-space: nowrap; }
.post--article:hover h3 { text-decoration: underline; text-underline-offset: 2px; }

/* Badge note */
.note {
  display: inline-flex; align-items: baseline; gap: 2px;
  font-family: var(--font-display); font-weight: 600; line-height: 1;
  color: #fff; padding: 6px 10px; border-radius: var(--r-sm); font-size: 18px;
}
.note small { font-family: var(--font-sans); font-size: 10px; font-weight: 600; opacity: .8; }
.note--high { background: var(--score-high); }
.note--mid  { background: var(--score-mid); }
.note--low  { background: var(--score-low); }
.note--lg { font-size: 30px; padding: 10px 14px; }

/* =========================================================
   RAIL latéral
   ========================================================= */
.rail { display: flex; flex-direction: column; gap: var(--s-20); position: sticky; top: 128px; align-self: start; }
.widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-20); }
.widget h4 { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-bottom: var(--s-16); }
.trend { display: flex; align-items: center; gap: var(--s-12); padding: var(--s-8) 0; }
.trend + .trend { border-top: 1px solid var(--line); }
.trend__rank { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ash); width: 22px; flex: none; }
.trend__info { flex: 1; min-width: 0; }
.trend__info b { font-size: 14px; font-weight: 600; display: block; }
.trend__info small { font-size: 12px; color: var(--ash); }
.widget__cta { display: block; text-align: center; margin-top: var(--s-12); font-size: 13px; font-weight: 600; color: var(--accent-ink); }

.legend li { list-style: none; display: flex; align-items: center; gap: var(--s-8); font-size: 13px; color: var(--ink-2); margin-bottom: var(--s-8); }
.legend .dot { width: 12px; height: 12px; border-radius: 3px; flex: none; }

.widget--cta { background: var(--ink); color: #fff; }
.widget--cta h4 { color: #fff; }
.widget--cta p { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: var(--s-16); line-height: 1.5; }

/* =========================================================
   PAGE FICHE (article)
   ========================================================= */
.article { padding: var(--s-40) 0 var(--s-80); }
.article-shell { max-width: 1080px; margin: 0 auto; padding: 0 var(--s-24); }
.crumb { font-size: 14px; color: var(--ash); margin-bottom: var(--s-24); }
.crumb a:hover { color: var(--ink); }
.article__head { max-width: 64ch; }
.article__tags { display: flex; align-items: center; gap: var(--s-12); margin-bottom: var(--s-16); flex-wrap: wrap; }
.article h1 { font-size: var(--t-h1); line-height: 1.02; margin-bottom: var(--s-16); }
.article__dek { font-family: var(--font-serif); font-size: 21px; line-height: 1.5; color: var(--ink-2); }
.byline { display: flex; align-items: center; gap: var(--s-12); margin-top: var(--s-24); padding-top: var(--s-16); border-top: 1px solid var(--line); }
.byline__txt { line-height: 1.25; }
.byline__txt b { font-weight: 700; font-size: 15px; }
.byline__txt small { display: block; color: var(--ash); font-size: 13px; }

.article__grid { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: var(--s-56); align-items: start; margin-top: var(--s-40); }
.prose { max-width: 65ch; }
.prose h2 { font-size: var(--t-h2); margin: var(--s-40) 0 var(--s-16); }
.prose p { font-family: var(--font-serif); font-size: 19px; line-height: 1.7; margin-bottom: var(--s-20); color: #221f1a; }
.prose p.lead { font-size: 22px; }
.prose em { font-style: italic; }
.figure { margin: var(--s-32) 0; }
.figure .ph {
  aspect-ratio: 9/16; max-width: 320px; max-height: 70vh;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  display: grid; place-items: center; color: var(--line-2); font-family: var(--font-display); font-size: 26px;
}

/* SCORECARD */
.scorecard { position: sticky; top: 88px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); overflow: hidden; }
.scorecard__top { padding: var(--s-24) var(--s-20); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.scorecard__verdict { font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.scorecard__verdict small { display: block; font-family: var(--font-sans); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ash); }
.criteria { padding: var(--s-20); display: flex; flex-direction: column; gap: var(--s-16); }
.criterion__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.criterion__name { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.criterion__val { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.criterion__val small { color: var(--ash); font-family: var(--font-sans); font-size: 11px; font-weight: 500; }
.meter { height: 6px; background: var(--paper); border-radius: var(--r-full); overflow: hidden; }
.meter__fill { height: 100%; background: var(--ink); border-radius: var(--r-full); }
.scorecard__foot { padding: var(--s-12) var(--s-20); border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 12px; color: var(--ash); }

/* VERDICT colonnes */
.verdict { margin: var(--s-40) 0; }
.verdict__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-16); }
.vcol { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-20); background: var(--card); }
.vcol h3 { font-family: var(--font-sans); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--s-16); display: flex; align-items: center; gap: 8px; }
.vcol--ok h3 { color: var(--score-high); }
.vcol--ko h3 { color: var(--score-low); }
.vcol ul { list-style: none; }
.vcol li { font-family: var(--font-serif); font-size: 16px; line-height: 1.5; padding-left: 22px; position: relative; margin-bottom: var(--s-12); }
.vcol li::before { position: absolute; left: 0; top: 0; font-weight: 700; font-family: var(--font-sans); }
.vcol--ok li::before { content: "+"; color: var(--score-high); }
.vcol--ko li::before { content: "–"; color: var(--score-low); }

.signoff { border-top: 1px solid var(--line); margin-top: var(--s-40); padding-top: var(--s-24); font-family: var(--font-display); font-weight: 600; font-size: 24px; }
.signoff span { display: block; margin-top: 6px; font-family: var(--font-serif); font-weight: 400; font-size: 15px; color: var(--ash); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { border-top: 1px solid var(--line); background: #fff; padding: var(--s-56) 0 var(--s-40); margin-top: var(--s-56); }
.footer__grid { max-width: 1080px; margin: 0 auto; padding: 0 var(--s-24); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-40); }
.footer__brand { display: flex; gap: var(--s-12); align-items: center; }
.footer__brand .blurb { font-family: var(--font-display); font-weight: 600; font-size: 22px; max-width: 16ch; line-height: 1.1; }
.footer__links { display: flex; gap: var(--s-56); }
.footer__col h5 { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--ash); margin-bottom: var(--s-12); }
.footer__col a { display: block; font-size: 15px; color: var(--ink-2); margin-bottom: var(--s-8); }
.footer__col a:hover { color: var(--ink); }
.footer__legal { max-width: 1080px; margin: var(--s-32) auto 0; padding: var(--s-16) var(--s-24) 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--ash); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-8); }

/* =========================================================
   FORMULAIRE — Proposer un cas
   ========================================================= */
.submit {
  background: var(--ink); color: #fff;
  border-radius: var(--r-lg); padding: clamp(28px, 5vw, 52px);
  margin: var(--s-40) 0;
}
.submit__head { max-width: 56ch; }
.submit h2 { color: #fff; font-size: clamp(26px, 4vw, 42px); line-height: 1.02; }
.submit .sub { color: rgba(255,255,255,.72); font-family: var(--font-serif); font-size: 18px; line-height: 1.5; margin-top: var(--s-12); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-16); margin-top: var(--s-32); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.55); }
.field label .req { color: var(--accent); }
.form input, .form textarea {
  font-family: inherit; font-size: 15px; color: #fff;
  padding: 13px 14px; border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06);
  transition: border-color .15s, background .15s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.1); }
.form ::placeholder { color: rgba(255,255,255,.38); }
.form textarea { min-height: 116px; resize: vertical; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: var(--s-16); flex-wrap: wrap; margin-top: var(--s-4); }
.form__note { font-size: 12px; color: rgba(255,255,255,.5); max-width: 44ch; line-height: 1.45; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .feed { max-width: 100%; }
  .rail { display: none; }
  .article__grid { grid-template-columns: 1fr; }
  .scorecard { position: static; }
}
@media (max-width: 620px) {
  .nav__links a:not(.btn) { display: none; }
  .profile { gap: var(--s-16); }
  .verdict__cols { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
}

/* =========================================================
   PERFS + DISTINCTIONS (page review)
   ========================================================= */
.distinctions { display: flex; flex-wrap: wrap; gap: var(--s-8); margin-top: var(--s-16); }
.laurel {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #8a6d1f;
  background: #fbf4dd; border: 1px solid #efe2b5;
  padding: 4px 10px; border-radius: var(--r-full);
}
.perfs { margin-top: var(--s-20); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-20); }
.perfs h4 { font-family: var(--font-display); font-weight: 600; font-size: 16px; margin-bottom: var(--s-12); }
.perfs ul { list-style: none; }
.perfs li { display: flex; align-items: baseline; justify-content: space-between; padding: var(--s-8) 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.perfs li:last-of-type { border-bottom: none; }
.perfs li span { color: var(--ink-2); }
.perfs li b { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.perfs__cta { display: block; margin-top: var(--s-12); font-size: 13px; font-weight: 600; color: var(--accent-ink); }

/* =========================================================
   ARCHIVE — masonry par mois
   ========================================================= */
.archive__head { max-width: 60ch; margin-bottom: var(--s-40); }
.archive__title { font-size: clamp(34px, 5vw, 56px); margin: var(--s-8) 0; }
.archive__sub { font-family: var(--font-serif); font-size: 18px; color: var(--ink-2); }
.archive__month { margin-bottom: var(--s-56); }
.archive__monthhead { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--ink); padding-bottom: var(--s-12); margin-bottom: var(--s-24); }
.archive__monthhead h2 { font-size: var(--t-h2); }

.masonry { column-count: 4; column-gap: var(--s-20); }
.tile { display: block; break-inside: avoid; margin-bottom: var(--s-24); }
.tile__cover {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm);
  overflow: hidden; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 48px; color: var(--line-2);
}
.tile__cover img { width: 100%; height: 100%; object-fit: cover; }
.tile__note { position: absolute; left: var(--s-8); bottom: var(--s-8); }
.tile__laurel { position: absolute; right: var(--s-8); top: var(--s-8); font-size: 18px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.tile__body { padding-top: var(--s-12); }
.tile h3 { font-size: 17px; line-height: 1.12; margin-bottom: 4px; }
.tile:hover h3 { text-decoration: underline; text-underline-offset: 2px; }
.tile__brand { font-size: 12px; color: var(--ash); }

@media (max-width: 1024px) { .masonry { column-count: 3; } }
@media (max-width: 700px)  { .masonry { column-count: 2; column-gap: var(--s-16); } }
@media (max-width: 420px)  { .masonry { column-count: 1; } }

/* =========================================================
   RETOUR À CHAUD — ajustements
   ========================================================= */

/* Grille home : feed flush à gauche, rail à droite, un seul gap */
.shell { max-width: 1080px; }
.layout { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s-32); align-items: start; }
.feed { max-width: none; }

/* Classement du mois : note alignée à droite */
.trend { align-items: center; }
.trend__info { flex: 1; min-width: 0; }
.trend__info small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.trend__note {
  margin-left: auto; flex: none;
  font-size: 13px; padding: 3px 8px; border-radius: var(--r-sm);
}

/* Newsletter inline (rail) */
.news { display: flex; flex-direction: column; gap: var(--s-8); margin-top: var(--s-12); }
.news input {
  font-family: inherit; font-size: 14px; color: #fff;
  padding: 11px 13px; border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06);
}
.news input::placeholder { color: rgba(255,255,255,.4); }
.news input:focus { outline: none; border-color: var(--accent); }
.news .btn { width: 100%; justify-content: center; }

/* Distinctions : libellés texte (pas d'icône "prix maison") */
.distinctions { display: flex; flex-wrap: wrap; gap: var(--s-8); margin-top: var(--s-16); }
.laurel {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  color: var(--ink); background: transparent;
  border: 1px solid var(--ink); border-radius: var(--r-full);
  padding: 4px 12px;
}

/* Awards sur les tuiles d'archive */
.tile__awards { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.award { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: var(--r-full); padding: 2px 8px; }

/* =========================================================
   ARCHIVE — barre de filtres + mosaïque unique
   ========================================================= */
.filters-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-12);
  padding: var(--s-16) 0; margin-bottom: var(--s-24);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
  position: sticky; top: 64px; background: rgba(250,248,243,.92);
  backdrop-filter: blur(8px); z-index: 20;
}
.filters-bar .group { display: flex; align-items: center; gap: var(--s-8); }
.filters-bar label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ash); }
.filters-bar select {
  font-family: inherit; font-size: 14px; color: var(--ink);
  padding: 8px 12px; border: 1px solid var(--line-2); border-radius: var(--r-full);
  background: var(--card); cursor: pointer;
}
.filters-bar select:focus { outline: none; border-color: var(--ink); }
.filters-bar .count { margin-left: auto; font-size: 13px; color: var(--ash); }
.tile.is-hidden { display: none; }
.archive-empty { padding: var(--s-40) 0; color: var(--ash); font-family: var(--font-serif); font-size: 18px; }

/* =========================================================
   PAGE NEWSLETTER
   ========================================================= */
.news-page { max-width: 620px; margin: 0 auto; text-align: center; }
.news-page__title { font-size: clamp(34px, 5vw, 56px); line-height: 1.02; margin: var(--s-12) 0; }
.news-page__lead { font-family: var(--font-serif); font-size: 20px; line-height: 1.5; color: var(--ink-2); }
.news-page__form { display: flex; gap: var(--s-8); margin: var(--s-32) auto var(--s-12); max-width: 460px; }
.news-page__form input {
  flex: 1; font-family: inherit; font-size: 16px;
  padding: 14px 16px; border-radius: var(--r-full);
  border: 1px solid var(--line-2); background: var(--card);
}
.news-page__form input:focus { outline: none; border-color: var(--ink); }
.news-page__form .btn { padding: 14px 24px; }
.news-page__note { font-size: 13px; color: var(--ash); }
@media (max-width: 480px) { .news-page__form { flex-direction: column; } .news-page__form .btn { width: 100%; justify-content: center; } }

/* =========================================================
   AJUSTEMENTS — note orange, sticky groupé, prose sans-serif, hero vidéo
   ========================================================= */
:root { --score-mid: #e8772e; } /* orange intermédiaire (au lieu du doré "médaille") */

/* Scorecard + perfs solidaires et fixes au scroll */
.scorecard { position: static; top: auto; }
.review-aside { position: sticky; top: 88px; display: flex; flex-direction: column; gap: var(--s-20); }

/* Texte d'article en sans-serif */
.prose p { font-family: var(--font-sans); font-size: 17px; line-height: 1.7; }
.prose p.lead { font-size: 20px; }

/* Hero review : titre + note à gauche, vidéo à droite */
.review-hero.has-media { display: grid; grid-template-columns: 1fr 360px; gap: var(--s-40); align-items: start; }
.review-hero__media { min-width: 0; }
.hero-media { width: 100%; border-radius: var(--r-md); border: 1px solid var(--line); background: #000; display: block; max-height: 80vh; }
.hero-embed { position: relative; padding-top: 56.25%; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.hero-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.review-hero__media .instagram-media { min-width: 0 !important; margin: 0 auto !important; }

@media (max-width: 880px) {
  .review-hero.has-media { grid-template-columns: 1fr; }
  .review-hero__media { margin-top: var(--s-24); }
  .review-aside { position: static; }
}

/* =========================================================
   MISE EN PAGE REVIEW — trame unique alignée (cleanup)
   Réf. : mesure de lecture 60–70 caractères, grille cohérente,
   sidebars = blocs distincts, whitespace.
   ========================================================= */
.article-shell { max-width: 1080px; }

/* Même gabarit de colonnes pour le hero ET le corps → rails alignés */
.review-hero.has-media,
.article__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: var(--s-40);
  align-items: start;
}
.review-hero { margin-bottom: var(--s-40); }
.article__grid { margin-top: 0; }

/* La colonne de gauche définit la mesure de lecture (~66 car.) */
.prose { max-width: none; }

/* Le rail droit (scorecard + perfs) reste collé et fixe */
.review-aside { position: sticky; top: 88px; display: flex; flex-direction: column; gap: var(--s-20); }

/* Verdict : aligné dans la colonne de lecture, espacé proprement */
.verdict { margin: var(--s-40) 0 0; }

@media (max-width: 880px) {
  .review-hero.has-media,
  .article__grid { grid-template-columns: 1fr; gap: var(--s-32); }
  .review-aside { position: static; }
}

/* =========================================================
   BANDEAU NOIR (hero review) — vidéo à gauche, infos à droite
   ========================================================= */
.article { padding-top: 0; }

.review-banner { background: #14110d; color: #fff; }
.review-banner__inner {
  max-width: 1080px; margin: 0 auto; padding: var(--s-56) var(--s-24);
  display: grid; grid-template-columns: minmax(300px, 420px) 1fr;
  gap: var(--s-40); align-items: center;
}
.review-banner__media { min-width: 0; }
.review-banner__media .instagram-media { min-width: 0 !important; margin: 0 auto !important; }
.review-banner .hero-media { width: 100%; border-radius: var(--r-md); background: #000; display: block; max-height: 78vh; }
.review-banner .hero-embed { position: relative; padding-top: 56.25%; border-radius: var(--r-md); overflow: hidden; }
.review-banner .hero-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.banner-cover { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); }
.banner-cover--glyph {
  display: grid; place-items: center;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.28); font-family: var(--font-display); font-size: 80px;
}

.review-banner__text h1 { color: #fff; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.04; margin: var(--s-12) 0; }
.banner-dek { font-family: var(--font-serif); font-size: 19px; line-height: 1.5; color: rgba(255,255,255,.8); max-width: 52ch; }
.review-banner .article__tags { align-items: center; }
.banner-meta { color: rgba(255,255,255,.6); font-size: 13px; }
.crumb--light { color: rgba(255,255,255,.5); }
.crumb--light a { color: rgba(255,255,255,.5); }
.crumb--light a:hover { color: #fff; }
.byline--light { border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.65); margin-top: var(--s-20); }
.byline--light b { color: #fff; }
.byline--light .avatar { border: 1px solid rgba(255,255,255,.25); }
.distinctions--light { margin-top: var(--s-12); }
.laurel--light { color: #fff; border-color: rgba(255,255,255,.4); }

/* Corps sous le bandeau */
.review-body { padding-top: var(--s-40); }
.review-body .article__grid { margin-top: 0; }

@media (max-width: 880px) {
  .review-banner__inner { grid-template-columns: 1fr; gap: var(--s-24); padding: var(--s-32) var(--s-24); }
  .review-banner__media { max-width: 380px; }
}

/* =========================================================
   BANDEAU REVIEW — version claire (fond blanc, typo noire) + vidéo réduite
   ========================================================= */
.review-banner { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.review-banner__inner { grid-template-columns: minmax(220px, 300px) 1fr; gap: var(--s-40); }

.review-banner__text h1 { color: var(--ink); }
.banner-dek { color: var(--ink-2); }
.banner-meta { color: var(--ash); }
.crumb--light, .crumb--light a { color: var(--ash); }
.crumb--light a:hover { color: var(--ink); }

.byline--light { border-top: 1px solid var(--line); color: var(--ink-2); }
.byline--light b { color: var(--ink); }
.byline--light .avatar { border: none; }

.laurel--light { color: var(--ink); border-color: var(--ink); }

.banner-cover--glyph {
  background: var(--paper); border: 1px solid var(--line);
  color: var(--line-2);
}

@media (max-width: 880px) {
  .review-banner__inner { grid-template-columns: 1fr; }
  .review-banner__media { max-width: 300px; }
}

/* =========================================================
   FIX — flèches des selects (filtres reviews) alignées
   ========================================================= */
.filters-bar select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding: 8px 34px 8px 14px;
  background-color: var(--card);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23181613' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 10px 6px;
}

/* Message de confirmation après envoi du formulaire */
.submit__ok { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: #fff; padding: var(--s-16) 0; line-height: 1.3; }

/* Message de confirmation inscription newsletter (couleur héritée du contexte) */
.news-ok { font-weight: 600; line-height: 1.4; }

/* =========================================================
   RETOURS — avatar profil plus grand + formulaire éclairci
   ========================================================= */
/* Photo de profil plus importante dans le bandeau du haut */
.profile .avatar--lg { width: 104px; height: 104px; font-size: 40px; }
@media (max-width: 600px) { .profile .avatar--lg { width: 80px; height: 80px; font-size: 30px; } }

/* Formulaire « Proposer un cas » en version claire (lisibilité) */
.submit { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.submit h2 { color: var(--ink); }
.submit .sub { color: var(--ink-2); }
.submit .field label { color: var(--ash); }
.submit .form input, .submit .form textarea {
  color: var(--ink); border: 1px solid var(--line-2); background: var(--paper);
}
.submit .form input::placeholder, .submit .form textarea::placeholder { color: var(--ash); }
.submit .form input:focus, .submit .form textarea:focus { border-color: var(--accent); background: #fff; }
.submit .form__note { color: var(--ink-2); }
.submit__ok { color: var(--ink); }

/* =========================================================
   RETOURS 2 — police Merriweather + bandeau visuel plus petit
   ========================================================= */
:root {
  --font-display: 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-serif: 'Merriweather', Georgia, 'Times New Roman', serif;
}
/* Merriweather n'a pas de 500 : on monte les titres en 700 + interligne un poil plus aéré */
h1, h2, h3 { font-weight: 700; line-height: 1.18; letter-spacing: -0.01em; }
.brand__name { font-weight: 700; }
.article-card h3, .tile h3 { line-height: 1.2; }

/* Bandeau review : visuel plus compact + l'embed Instagram se cale dans la colonne */
.review-banner__inner { grid-template-columns: minmax(0, 250px) 1fr; gap: var(--s-40); }
.review-banner__media .instagram-media { min-width: 0 !important; width: 100% !important; }
.review-banner .banner-cover, .review-banner .hero-media { max-width: 250px; }
@media (max-width: 880px) {
  .review-banner__media { max-width: 280px; }
}
