*{box-sizing:border-box}
:root{--yellow:#ffd400;--black:#090909;--white:#fff;--muted:#6f6f6f;--line:#e8e8e4;--soft:#f6f6f2}
html{scroll-behavior:smooth}
body{margin:0;font-family:"DM Sans",Arial,sans-serif;color:var(--black);background:var(--white)}
a{color:inherit;text-decoration:none}
button{font:inherit}.site-shell{min-height:100vh;display:grid;grid-template-columns:240px 1fr}
.sidebar{position:sticky;top:0;height:100vh;border-right:1px solid var(--line);padding:42px 30px 28px;display:flex;flex-direction:column;justify-content:space-between;background:#fff}
.brand-shape{width:122px;height:118px;background:var(--yellow);clip-path:polygon(16px 0,100% 0,100% 100%,0 100%,0 16px);display:flex;align-items:center;padding-left:24px}
.brand-shape span{font-family:"DM Sans",sans-serif;font-weight:700;font-size:21px;line-height:.98;letter-spacing:-.5px}
.main-nav{display:flex;flex-direction:column;gap:25px;margin-top:48px;flex:1}
.main-nav a{display:flex;gap:14px;align-items:center;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.15px}
.nav-icon{width:14px;text-align:center;font-size:15px}.main-nav a.active .nav-icon{color:#d8b000}
.sidebar-bottom{font-size:13px;line-height:1.65}.sidebar-bottom strong{display:block;margin-top:26px}.yellow-line{display:block;width:70px;height:2px;background:var(--yellow);margin-top:20px}
main{padding:0 54px 38px;min-width:0}.topbar{height:92px;display:flex;align-items:center;justify-content:space-between}
.domain-dot{font-weight:700;font-size:13px}.domain-dot span{display:inline-block;width:8px;height:8px;background:var(--yellow);border-radius:50%;margin-right:12px}
.search-btn{border:0;background:transparent;font-weight:700;text-transform:uppercase;font-size:12px;display:flex;gap:8px;cursor:pointer}
.hero{display:grid;grid-template-columns:400px 1fr;gap:54px;align-items:center;min-height:430px}.hero-copy h1{font-family:"Barlow Condensed",sans-serif;font-size:74px;font-weight:600;line-height:.86;margin:0 0 28px;letter-spacing:.2px}.hero-copy p{font-size:16px;line-height:1.5;margin:0 0 30px;max-width:330px}
.btn-yellow,.btn-black{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.4px;padding:16px 18px}.btn-yellow{background:var(--yellow)}.btn-black{background:#000;color:#fff}
.hero-visual{display:grid;grid-template-columns:1.25fr 1fr;min-height:385px}.architecture-card{overflow:hidden;background:#f3f3ef}.architecture-card img{width:100%;height:100%;object-fit:cover;display:block}
.featured-note{background:#fbfbf8;padding:58px 48px;display:flex;flex-direction:column;justify-content:center}.eyebrow{color:#d3a900;text-transform:uppercase;letter-spacing:.65px;font-size:11px;font-weight:800}.featured-note h2{font-family:"DM Sans",sans-serif;font-size:36px;line-height:1.05;margin:14px 0 4px;letter-spacing:-1.5px}.author{margin:0 0 18px}.small-line{width:34px;height:2px;background:var(--yellow);margin:4px 0 20px}.excerpt{max-width:320px;line-height:1.55}.featured-actions{display:flex;gap:36px;align-items:center;margin-top:24px}.rating{font-size:30px}
.section-heading{display:flex;align-items:center;gap:20px;margin:36px 0 18px}.section-heading h2{margin:0;font-size:14px;text-transform:uppercase;letter-spacing:2px}
.card-row{display:grid;grid-template-columns:repeat(6,minmax(150px,1fr));gap:22px}.note-card h3{font-size:15px;margin:8px 0 4px;line-height:1.25}.note-card p{margin:0 0 6px;font-size:13px}.note-card strong{font-size:15px}
.cover{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:3px;display:block;box-shadow:0 2px 12px rgba(0,0,0,.08);margin-bottom:11px}
.quick-links{border-top:1px solid var(--line);margin-top:34px;padding-top:28px;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.quick-card{display:grid;grid-template-columns:48px 1fr auto;gap:14px;align-items:center;padding:12px 6px}.round-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--yellow)}.quick-card strong{display:block;text-transform:uppercase;letter-spacing:1.6px;font-size:12px}.quick-card p{margin:6px 0 0;font-size:13px;line-height:1.35}
@media (max-width:1200px){.site-shell{grid-template-columns:190px 1fr}.sidebar{padding:30px 20px}main{padding:0 30px 30px}.hero{grid-template-columns:345px 1fr;gap:34px}.hero-copy h1{font-size:64px}.card-row{grid-template-columns:repeat(3,1fr)}}
@media (max-width:820px){.site-shell{display:block}.sidebar{position:relative;height:auto;border-right:0;border-bottom:1px solid var(--line);padding:18px}.brand-shape{width:88px;height:84px}.brand-shape span{font-size:16px}.main-nav{flex-direction:row;overflow:auto;margin:18px 0 0;gap:18px}.main-nav a{white-space:nowrap}.sidebar-bottom{display:none}main{padding:0 18px 24px}.topbar{height:70px}.hero{grid-template-columns:1fr;gap:22px}.hero-copy h1{font-size:58px;line-height:.9}.hero-visual{grid-template-columns:1fr}.architecture-card{min-height:300px}.featured-note{padding:34px 28px}.card-row{display:flex;overflow:auto}.note-card{min-width:180px}.quick-links{grid-template-columns:1fr}}

/* ---------- V4 : micro-interactions ---------- */
:root{
  --hover-yellow:#ffd400;
  --hover-black:#090909;
}

/* Menu gauche : fond jaune + contour noir pointillé */
.main-nav a{
  position:relative;
  width:max-content;
  max-width:100%;
  padding:7px 10px 7px 7px;
  margin-left:-7px;
  border:1px dashed transparent;
  transition:
    background-color .18s ease,
    border-color .18s ease,
    transform .18s ease,
    color .18s ease;
}
.main-nav a:hover,
.main-nav a:focus-visible{
  background:var(--hover-yellow);
  border-color:var(--hover-black);
  transform:translateX(4px);
  outline:none;
}
.main-nav a:hover .nav-icon,
.main-nav a:focus-visible .nav-icon{
  color:var(--hover-black);
}
.main-nav a.active{
  background:transparent;
  border-color:transparent;
}

/* Boutons principaux : déplacement + inversion de couleur */
.btn-yellow,
.btn-black{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  border:1px solid transparent;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    color .22s ease,
    background-color .22s ease,
    border-color .22s ease;
}
.btn-yellow::before,
.btn-black::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  transform:translateX(-102%);
  transition:transform .26s cubic-bezier(.2,.8,.2,1);
}
.btn-yellow::before{background:#090909;}
.btn-black::before{background:#ffd400;}

.btn-yellow:hover,
.btn-yellow:focus-visible{
  color:#fff;
  border-color:#090909;
  transform:translateY(-3px);
  box-shadow:5px 5px 0 #090909;
  outline:none;
}
.btn-yellow:hover::before,
.btn-yellow:focus-visible::before,
.btn-black:hover::before,
.btn-black:focus-visible::before{
  transform:translateX(0);
}
.btn-black:hover,
.btn-black:focus-visible{
  color:#090909;
  border-color:#090909;
  transform:translateY(-3px);
  box-shadow:5px 5px 0 #090909;
  outline:none;
}

/* La flèche du bouton jaune réagit aussi */
.btn-yellow span{
  transition:transform .2s ease;
}
.btn-yellow:hover span,
.btn-yellow:focus-visible span{
  transform:translateX(5px);
}

/* Cartes : très léger mouvement, sans effet "app gadget" */
.note-card{
  transition:transform .2s ease;
}
.note-card .cover{
  transition:transform .22s ease, box-shadow .22s ease;
}
.note-card:hover{
  transform:translateY(-3px);
}
.note-card:hover .cover{
  transform:scale(1.015);
  box-shadow:0 10px 28px rgba(0,0,0,.12);
}

/* Raccourcis du bas */
.quick-card{
  border:1px dashed transparent;
  transition:background-color .18s ease,border-color .18s ease,transform .18s ease;
}
.quick-card:hover,
.quick-card:focus-visible{
  background:#fff9d8;
  border-color:#090909;
  transform:translateY(-2px);
  outline:none;
}
.quick-card > span:last-child{
  transition:transform .2s ease;
}
.quick-card:hover > span:last-child,
.quick-card:focus-visible > span:last-child{
  transform:translateX(5px);
}

/* Recherche */
.search-btn{
  padding:8px 10px;
  border:1px dashed transparent;
  transition:background-color .18s ease,border-color .18s ease;
}
.search-btn:hover,
.search-btn:focus-visible{
  background:var(--hover-yellow);
  border-color:var(--hover-black);
  outline:none;
}

/* Respecte les personnes qui désactivent les animations */
@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    scroll-behavior:auto!important;
    transition:none!important;
    animation:none!important;
  }
}

/* ---------- V5 : menu plus léger et plus compact ---------- */
.main-nav{
  gap:22px;
}

/* Pas de bloc jaune : seulement un fin pointillé noir sous le lien */
.main-nav a{
  position:relative;
  width:max-content;
  max-width:100%;
  padding:2px 0 4px;
  margin-left:0;
  border:0;
  background:transparent;
  transform:none;
}

.main-nav a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:0;
  border-bottom:1px dotted transparent;
  transition:border-color .16s ease, transform .16s ease;
  transform:scaleX(.25);
  transform-origin:left center;
}

.main-nav a:hover,
.main-nav a:focus-visible{
  background:transparent;
  border:0;
  transform:none;
  color:var(--hover-black);
  outline:none;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after{
  border-color:var(--hover-black);
  transform:scaleX(1);
}

.main-nav a:hover .nav-icon,
.main-nav a:focus-visible .nav-icon{
  color:var(--hover-yellow);
}

/* On garde tout le bloc éditorial du bas visible au premier coup d'œil */
.sidebar{
  padding-top:30px;
  padding-bottom:22px;
}
.main-nav{
  margin-top:34px;
}
.sidebar-bottom{
  margin-top:20px;
}

/* ---------- V6 : curseur sur les couvertures ---------- */
.note-card,
.note-card .cover{
  cursor:pointer;
}

/* ---------- V7 : icônes SVG homogènes ---------- */
.icon{
  width:17px;
  height:17px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:0 0 auto;
}

.nav-icon{
  width:18px;
  height:18px;
  display:grid;
  place-items:center;
}

.main-nav a{
  gap:13px;
}

.search-btn{
  align-items:center;
}
.search-btn .search-icon{
  width:18px;
  height:18px;
}

.round-icon .icon{
  width:19px;
  height:19px;
  stroke-width:1.9;
}

/* Le coeur et l'étoile restent en contour pour garder le côté éditorial */
.round-icon{
  color:#090909;
}

/* ---------- V8 : vraie page article ---------- */
.article-shell{
  min-height:100vh;
  display:grid;
  grid-template-columns:220px 1fr;
  background:#fff;
}
.article-rail{
  min-height:100vh;
  border-right:1px solid var(--line);
  padding:34px 28px;
  display:flex;
  flex-direction:column;
  gap:36px;
}
.brand-shape.compact{
  width:104px;
  height:100px;
}
.brand-shape.compact span{
  font-size:18px;
}
.back-link{
  width:max-content;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.8px;
  border-bottom:1px dotted #111;
  padding-bottom:3px;
}
.article-rail-copy{
  margin-top:auto;
  font-size:13px;
  line-height:1.6;
}
.article-main{
  padding:0 64px 80px;
}
.article-topbar{
  height:90px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.5px;
}
.article-type{
  color:#b89500;
}
.article-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,520px);
  gap:70px;
  align-items:center;
  padding:32px 0 70px;
  border-bottom:1px solid var(--line);
}
.article-heading h1{
  font-family:"Barlow Condensed",sans-serif;
  font-size:82px;
  font-weight:600;
  line-height:.9;
  letter-spacing:.1px;
  margin:14px 0 24px;
  max-width:760px;
}
.article-intro{
  max-width:620px;
  font-size:19px;
  line-height:1.55;
  color:#333;
}
.article-rating{
  margin-top:30px;
  font-family:"Barlow Condensed",sans-serif;
  font-size:54px;
  font-weight:600;
}
.article-image{
  margin:0;
  background:#f5f5f1;
}
.article-image img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  display:block;
}
.article-body{
  max-width:760px;
  margin:70px auto 0;
}
.article-meta{
  display:flex;
  gap:10px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.8px;
  margin-bottom:34px;
  color:#666;
}
.article-body h2{
  font-family:"Barlow Condensed",sans-serif;
  font-size:48px;
  font-weight:500;
  line-height:1;
  margin:0 0 28px;
}
.article-body p{
  font-size:18px;
  line-height:1.72;
  margin:0 0 24px;
}
.article-end{
  margin-top:48px;
  padding-top:10px;
}
.article-end p{
  font-size:14px;
  color:#666;
}
.note-card[role="link"]:focus-visible{
  outline:1px dotted #111;
  outline-offset:6px;
}
@media (max-width:900px){
  .article-shell{display:block}
  .article-rail{
    min-height:auto;
    border-right:0;
    border-bottom:1px solid var(--line);
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    padding:18px;
  }
  .article-rail-copy{display:none}
  .brand-shape.compact{width:72px;height:68px}
  .brand-shape.compact span{font-size:13px}
  .article-main{padding:0 20px 54px}
  .article-topbar{height:70px}
  .article-hero{grid-template-columns:1fr;gap:34px;padding:22px 0 44px}
  .article-heading h1{font-size:56px}
  .article-intro{font-size:17px}
  .article-body{margin-top:42px}
  .article-body h2{font-size:40px}
  .article-body p{font-size:17px}
}

/* ---------- V9 : article plus cohérent avec la home ---------- */
.article-rail-copy strong{
  display:block;
  margin-top:26px;
}
.article-rail-copy .yellow-line{
  margin-top:20px;
}

/* Titre d'article : même langage typographique que LES NOTES DU CLUB */
.article-heading h1{
  font-family:"Barlow Condensed",sans-serif;
  font-size:66px;
  font-weight:600;
  line-height:.9;
  letter-spacing:.7px;
  text-transform:uppercase;
  max-width:780px;
}

/* Meta + partage */
.article-meta{
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:34px;
}
.article-meta-copy{
  display:flex;
  align-items:center;
  gap:10px;
}

.share-button{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px dotted #111;
  background:#fff;
  padding:9px 12px;
  font-family:"DM Sans",sans-serif;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.7px;
  cursor:pointer;
  transition:background-color .18s ease,transform .18s ease;
}
.share-button:hover,
.share-button:focus-visible{
  background:var(--yellow);
  transform:translateY(-2px);
  outline:none;
}
.share-button .icon{
  width:16px;
  height:16px;
}

/* Plus d'air entre le trait jaune final et la petite signature */
.article-end .yellow-line{
  margin-bottom:15px;
}
.article-end p{
  margin-top:0;
}

@media (max-width:900px){
  .article-heading h1{
    font-size:50px;
    line-height:.92;
  }
  .article-meta{
    align-items:flex-start;
  }
  .article-meta-copy{
    flex-wrap:wrap;
  }
}

/* ---------- V10 : colonne article fixe + partage plus discret ---------- */
.article-rail{
  position:sticky;
  top:0;
  height:100vh;
  min-height:100vh;
  align-self:start;
}

/* Le bouton de partage reste discret au repos */
.share-button{
  border:1px solid transparent;
  background:transparent;
}
.share-button:hover,
.share-button:focus-visible{
  border:1px dotted #111;
  background:var(--yellow);
}

/* Page “pensée” : accès direct au texte */
.thought-page .article-main{
  padding-bottom:90px;
}
.thought-intro{
  max-width:820px;
  padding:34px 0 34px;
  border-bottom:1px solid var(--line);
}
.thought-intro h1{
  font-family:"Barlow Condensed",sans-serif;
  font-size:66px;
  font-weight:600;
  line-height:.9;
  letter-spacing:.7px;
  text-transform:uppercase;
  margin:14px 0 22px;
}
.thought-intro p{
  max-width:700px;
  font-size:19px;
  line-height:1.55;
  margin:0;
  color:#333;
}
.thought-page .article-body{
  margin-top:46px;
}

@media (max-width:900px){
  .article-rail{
    position:relative;
    height:auto;
    min-height:auto;
  }
  .thought-intro h1{
    font-size:50px;
    line-height:.92;
  }
  .thought-intro p{
    font-size:17px;
  }
}

/* ---------- V11 : métadonnées utiles, pensée sans préambule ---------- */
.article-meta-copy{
  display:flex;
  align-items:center;
  gap:10px;
  color:#777;
}

.article-meta-type{
  color:#c7a000;
  font-weight:800;
}

.article-meta-brand,
.article-meta-separator,
.article-meta time{
  color:#777;
}

/* Sur une pensée, on arrive directement au texte */
.thought-page .article-body{
  margin-top:34px;
}

/* L'ancien bloc thought-intro n'est plus utilisé */
.thought-intro{
  display:none;
}

/* ---------- V12 : la “note” devient vraiment une page de carnet ---------- */
.carnet-note{
  max-width:860px;
  margin-top:42px;
}

.carnet-heading{
  margin:36px 0 34px;
}

.carnet-heading h1{
  font-family:"Barlow Condensed",sans-serif;
  font-size:64px;
  font-weight:600;
  line-height:.92;
  letter-spacing:.7px;
  text-transform:uppercase;
  margin:0 0 18px;
}

.carnet-mark{
  display:block;
  width:28px;
  height:6px;
  background:var(--yellow);
  clip-path:polygon(6px 0,100% 0,100% 100%,0 100%,0 6px);
}

.carnet-copy{
  max-width:720px;
}

.carnet-copy p{
  font-size:18px;
  line-height:1.72;
  margin:0 0 24px;
}

.carnet-copy .carnet-lead{
  font-size:22px;
  line-height:1.48;
  font-weight:500;
  letter-spacing:-.2px;
  margin-bottom:30px;
}

.carnet-end{
  max-width:720px;
  margin-top:54px;
  padding-top:0;
}

/* La ligne de métadonnées devient le vrai “haut de page” d’une note */
.carnet-note .article-meta{
  margin-bottom:0;
  padding-bottom:18px;
  border-bottom:1px solid var(--line);
}

/* Sur une note de carnet, le bouton Partager reste réellement secondaire */
.carnet-note .share-button{
  opacity:.66;
}
.carnet-note .share-button:hover,
.carnet-note .share-button:focus-visible{
  opacity:1;
}

/* Petit rappel du carnet dans la colonne gauche, sans pastiche rétro */
.thought-page .article-rail-copy::before{
  content:"EN COULISSES";
  display:block;
  margin-bottom:14px;
  color:#b89500;
  font-size:10px;
  font-weight:800;
  letter-spacing:1.4px;
}

@media (max-width:900px){
  .carnet-note{
    margin-top:28px;
  }
  .carnet-heading h1{
    font-size:48px;
  }
  .carnet-copy .carnet-lead{
    font-size:20px;
  }
}

/* ---------- V13 : icônes du bas pleines ---------- */
/* Uniquement les 3 raccourcis du bas : icônes noires remplies */
.quick-links .round-icon .icon{
  fill:#090909;
  stroke:#090909;
  stroke-width:1.35;
}

/* L’icône “écran” garde un peu de blanc à l’intérieur via le fond jaune */
.quick-links .round-icon{
  color:#090909;
}

/* ---------- V14 : échelle 1/10 + vraies flèches ---------- */
.quick-arrow{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:50%;
  transition:transform .18s ease, background-color .18s ease;
}

.quick-arrow .arrow-icon{
  width:22px;
  height:22px;
  stroke-width:1.7;
  fill:none;
}

.quick-card:hover .quick-arrow,
.quick-card:focus-visible .quick-arrow{
  transform:translateX(4px);
  background:var(--yellow);
}

/* Neutralise l'ancien effet appliqué au dernier span texte */
.quick-card > span:last-child{
  transition:none;
}
.quick-card:hover > span:last-child,
.quick-card:focus-visible > span:last-child{
  transform:none;
}

/* ---------- V16 : vraies pages de navigation ---------- */
.archive-head{
  padding:52px 0 42px;
  max-width:850px;
  border-bottom:1px solid var(--line);
}
.archive-head h1{
  font-family:"Barlow Condensed",sans-serif;
  font-size:72px;
  font-weight:600;
  line-height:.9;
  text-transform:uppercase;
  letter-spacing:.5px;
  margin:12px 0 20px;
}
.archive-head p{
  max-width:720px;
  font-size:18px;
  line-height:1.55;
  margin:0;
}
.archive-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(180px,1fr));
  gap:34px 24px;
  padding:42px 0 70px;
}
.archive-card{
  display:block;
  cursor:pointer;
}
.archive-card img{
  width:100%;
  aspect-ratio:3/4;
  object-fit:cover;
  display:block;
  margin-bottom:12px;
  transition:transform .2s ease, box-shadow .2s ease;
}
.archive-card:hover img{
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(0,0,0,.12);
}
.archive-card h2{
  font-size:16px;
  line-height:1.25;
  margin:7px 0 4px;
}
.archive-card p{
  font-size:13px;
  margin:0 0 5px;
  color:#555;
}
.archive-card strong{
  font-size:15px;
}
.about-block{
  grid-column:1/-1;
  max-width:760px;
  padding:12px 0;
}
.about-block h2{
  font-family:"Barlow Condensed",sans-serif;
  font-size:46px;
  font-weight:500;
  margin:0 0 22px;
  text-transform:uppercase;
}
.about-block p{
  font-size:18px;
  line-height:1.7;
  margin:0 0 20px;
}
@media (max-width:1100px){
  .archive-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:760px){
  .archive-head{padding:30px 0 28px}
  .archive-head h1{font-size:52px}
  .archive-grid{grid-template-columns:repeat(2,1fr);gap:26px 16px}
}

/* ---------- V17 : la section Notes n'est jamais chiffrée ---------- */
.note-only-card strong{
  display:none;
}
.note-only-card .note-date{
  color:#777;
  font-size:12px;
  margin-top:7px;
}

/* ---------- V19 : contenu alimenté par JS ---------- */
.note-card[data-href]{
  cursor:pointer;
}
.note-card[data-href]:focus-visible{
  outline:1px dotted #111;
  outline-offset:6px;
}
.archive-grid:empty::before{
  content:"Chargement des notes…";
  color:#777;
  font-size:14px;
}
