/* =====================================================================
   thePING — feuille de style
   ---------------------------------------------------------------------
   Une seule feuille pour la page d'accueil (index.html), les pages
   articles (articles/*.html) et les archives.
   Les couleurs, typographies et proportions sont celles du magazine.
   ===================================================================== */

:root{
  --ink:#14100f;
  --ink-2:#1c1614;
  --paper:#ede6d8;
  --paper-dim:#c9c0ae;
  --red:#c41e3a;
  --red-deep:#8f1527;
  --blue:#1e3a5f;
  --ash:#8b8478;
  --wood:#b9895a;
  --sponge:#f0c230;
  --line: rgba(237,230,216,0.14);

  /* teintes des titres de rubriques (héritées de la maquette) */
  --title-yellow:#e6e260;
  --title-blue:#6f7dec;
  --title-red:#c41e3a;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth; -webkit-text-size-adjust:100%;}
body{
  background:var(--ink);
  color:var(--paper);
  font-family:'Archivo', sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
::selection{background:var(--red); color:var(--paper);}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}

.display{font-family:'Anton', sans-serif; letter-spacing:0.01em;}
.mono{font-family:'IBM Plex Mono', monospace;}

.wrap{max-width:1240px; margin:0 auto; padding:0 32px;}

.tone-yellow{color:var(--title-yellow);}
.tone-blue{color:var(--title-blue);}
.tone-red{color:var(--title-red);}
.tone-paper{color:var(--paper);}

/* ---------- MASTHEAD ---------- */
header.masthead{
  position:sticky; top:0; z-index:50;
  background:rgba(20,16,15,0.92);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
}
.masthead-inner{
  display:flex; align-items:center; justify-content:space-between;
  height:76px; gap:16px;
}
.masthead-logo-row{display:flex; align-items:center; gap:12px; min-width:0;}
.masthead-logo-link{display:flex; align-items:center; cursor:pointer;}
.masthead-logo-link:focus-visible{outline:2px solid currentColor; outline-offset:4px;}
.site-logo-img{display:block; width:auto;}
.site-logo-header{height:64px;}
.site-logo-footer{height:44px;}
.masthead-right{display:flex; align-items:center; gap:22px; flex-shrink:0;}
.issue-tag{font-size:11px; color:var(--ash); letter-spacing:0.12em; white-space:nowrap;}
.back-link{
  font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--paper-dim); white-space:nowrap;
  transition:color .2s ease;
}
.back-link:hover{color:var(--paper);}

.nav-toggle{
  display:flex; flex-direction:column; justify-content:center; gap:5px;
  width:32px; height:32px; background:none; border:none; cursor:pointer; padding:0;
}
.nav-toggle span{display:block; width:100%; height:2px; background:var(--paper); transition:transform .2s ease, opacity .2s ease;}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

nav#main-nav{
  display:none; position:absolute; top:100%; left:0; right:0;
  background:var(--ink); border-bottom:1px solid var(--line);
  flex-direction:column; padding:8px 0;
  max-height:70vh; overflow-y:auto;
}
nav#main-nav.open{display:flex;}
nav#main-nav a{
  font-size:12.5px; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--paper-dim); font-weight:600;
  padding:16px 32px; border-bottom:1px solid var(--line);
  transition:color .2s ease;
}
nav#main-nav a:last-child{border-bottom:none;}
nav#main-nav a:hover{color:var(--paper);}
nav#main-nav a .nav-cat{
  display:block; font-family:'IBM Plex Mono', monospace; font-size:10px;
  letter-spacing:0.12em; color:var(--red); margin-bottom:4px; font-weight:500;
}

/* ---------- COUVERTURE ---------- */
.hero{position:relative; padding:96px 0 80px; overflow:hidden;}
.hero-bg{
  position:absolute; inset:0;
  background:linear-gradient(115deg, var(--ink) 0%, var(--ink) 46%, var(--red-deep) 46.4%, var(--red) 100%);
}
.hero-bg::before{
  content:""; position:absolute; inset:0;
  background-image:radial-gradient(rgba(237,230,216,0.18) 1.4px, transparent 1.4px);
  background-size:14px 14px;
  mix-blend-mode:overlay; opacity:.5;
}
.hero-arc{position:absolute; right:6%; top:8%; width:46vw; max-width:620px; height:auto; opacity:.9;}
.hero-content{position:relative; z-index:2; width:100%;}
.hero-cover-row{display:grid; grid-template-columns:3fr 2fr; column-gap:60px; align-items:start;}
.cover-figure{margin:0;}
.cover-figure img{width:100%; height:auto; aspect-ratio:2/3; object-fit:cover;}
.hero-titles-col{padding-top:8px;}
.cover-lines-title{
  display:block; font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.16em;
  text-transform:uppercase; color:rgba(237,230,216,0.7); margin-bottom:14px;
}
.cover-line{
  display:flex; align-items:baseline; gap:14px; padding:11px 0;
  border-top:1px solid rgba(237,230,216,0.2);
}
.cover-line:last-child{border-bottom:1px solid rgba(237,230,216,0.2);}
.cover-line-num{font-family:'IBM Plex Mono', monospace; font-size:11px; color:rgba(237,230,216,0.6); width:16px; flex-shrink:0;}
.cover-line-text{font-size:20px; line-height:1.25; color:var(--paper); transition:color .2s ease;}
.cover-line:hover .cover-line-text{color:#fff; text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1px;}

/* ---------- MISE EN PAGE : COLONNE PRINCIPALE + COLONNE DE DROITE ---------- */
.page-layout{
  display:grid; grid-template-columns:6fr 2fr; column-gap:60px;
  max-width:1240px; margin:0 auto; padding:0 32px; align-items:start;
}
.page-main, .page-sidebar{min-width:0;}
.page-sidebar{border-left:1px solid var(--line); padding-left:32px;}
.page-sidebar .section:last-child{border-bottom:none;}

.section{padding:72px 0; border-bottom:1px solid var(--line);}
.section-num{
  font-family:'IBM Plex Mono', monospace; font-size:13px; color:var(--red);
  letter-spacing:0.1em; margin-bottom:16px; display:block; text-transform:uppercase;
}
.section-title{font-size:clamp(30px, 4vw, 46px); line-height:1;}
.section-desc{max-width:340px; font-size:13.5px; color:var(--ash); line-height:1.5;}
.section-head{
  display:flex; align-items:baseline; justify-content:space-between;
  margin-bottom:40px; gap:24px; flex-wrap:wrap;
}
.custom-row-inner{display:grid; grid-template-columns:1fr 1fr; gap:60px;}
.custom-col{min-width:0;}

/* ---------- ENCARTS (sommaire éditorial) ----------
   Un encart = un lien entier vers un article.
   Variantes : --edito, --feature, --portrait, --wide, --side, --dark, --ranking
   --------------------------------------------------- */
.encart{display:block; color:inherit; position:relative;}
.encart:focus-visible{outline:2px solid var(--red); outline-offset:6px;}
.encart-cat{
  font-family:'IBM Plex Mono', monospace; font-size:13px; color:var(--red);
  letter-spacing:0.1em; margin-bottom:16px; display:block; text-transform:uppercase;
}
.encart-title{font-family:'Anton', sans-serif; letter-spacing:0.01em; font-size:clamp(30px, 4vw, 46px); line-height:1;}
.encart-title.is-small{font-size:clamp(26px, 3vw, 36px);}
.encart-teaser{
  margin-top:22px; font-size:15.5px; line-height:1.65; color:var(--paper-dim);
  max-width:60ch;
}
.encart-teaser.is-placeholder{font-style:italic; color:var(--ash);}
.encart-more{
  display:inline-flex; align-items:center; gap:10px; margin-top:22px;
  font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.16em;
  text-transform:uppercase; color:var(--paper);
}
.encart-more::before{content:""; width:22px; height:1px; background:var(--red); transition:width .25s ease;}
.encart:hover .encart-more::before{width:38px;}
.encart:hover .encart-more{color:#fff;}
.encart-figure{margin:0; overflow:hidden;}
.encart-figure img{width:100%; height:auto; transition:opacity .3s ease;}
.encart:hover .encart-figure img{opacity:.88;}

/* Édito : texte seul, filet rouge */
.encart--edito{border-left:3px solid var(--red); padding-left:28px;}
.encart--edito .encart-teaser{max-width:64ch; font-size:16.5px;}

/* Grand sujet : image à gauche, texte à droite */
.encart--feature{display:grid; grid-template-columns:5fr 7fr; gap:40px; align-items:start;}
.encart--feature .encart-figure img{aspect-ratio:4/5; object-fit:cover;}

/* Portrait : image haute à droite, texte à gauche */
.encart--portrait{display:grid; grid-template-columns:7fr 5fr; gap:40px; align-items:start;}
.encart--portrait .encart-figure{order:2;}
.encart--portrait .encart-figure img{aspect-ratio:3/4; object-fit:cover; object-position:center top;}

/* Format large : image paysage au-dessus */
.encart--wide .encart-figure{margin-bottom:28px;}
.encart--wide .encart-figure img{width:100%; height:auto;} /* image complète, jamais recadrée */

/* Colonne Grand Smash (deux colonnes) : image carrée sous le titre */
.encart--column .encart-figure{margin-top:24px;}
.encart--column .encart-figure img{width:100%; height:auto;}
.encart--column .encart-teaser{margin-top:20px;}

/* Colonne de droite */
.encart--side .encart-title{font-size:clamp(26px, 2.6vw, 36px);}
.encart--side .encart-figure{margin-top:20px;}
.encart--side .encart-figure img{aspect-ratio:3/4; object-fit:cover; object-position:center top;}
.encart--side .encart-teaser{font-size:14px; margin-top:18px;}
.encart--side .encart-more{font-size:10.5px; margin-top:16px;}

/* Dark Side of the Game : encadré sombre, filet rouge */
.encart--dark{
  background:linear-gradient(180deg, #0f0c0b 0%, var(--ink-2) 100%);
  border:1px solid rgba(196,30,58,0.45);
  padding:26px 24px 28px; margin:0 -1px;
}
.encart--dark .encart-figure img{aspect-ratio:1/1; object-fit:cover; filter:saturate(.85) contrast(1.05);}
.encart--dark .encart-cat{color:var(--paper); letter-spacing:0.18em;}

/* KiX : image carrée */
.encart--kix .encart-figure img{aspect-ratio:1/1; object-fit:cover;}

/* Power Ranking : image + top 3 */
.encart--ranking{display:grid; grid-template-columns:5fr 7fr; gap:60px; align-items:start;}
.encart--ranking .encart-figure img{aspect-ratio:1/1; object-fit:cover; object-position:center 34%;}
.rank-preview{display:grid; grid-template-columns:1fr 1fr; gap:40px; margin-top:32px;}
.ranking-col-title{
  font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:0.2em; color:var(--red);
  margin-bottom:6px; padding-bottom:14px; border-bottom:2px solid var(--red);
}
.rank-preview-row{
  display:grid; grid-template-columns:44px 1fr; align-items:center; gap:14px;
  padding:14px 0; border-bottom:1px solid var(--line);
}
.rank-preview-row .rank-num{font-family:'Anton', sans-serif; font-size:26px; color:var(--red); line-height:1;}
.rank-preview-row h3{font-family:'Anton', sans-serif; font-size:17px; letter-spacing:0.02em; text-transform:uppercase;}

/* ---------- FOOTER ---------- */
footer{padding:56px 0 40px; border-top:1px solid var(--line);}
footer .wrap{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px;}
.foot-links{display:flex; gap:36px; flex-wrap:wrap;}
.foot-link-item{display:flex; flex-direction:column; align-items:flex-start; gap:3px;}
.foot-links a{
  font-size:12px; letter-spacing:0.12em; text-transform:uppercase; color:var(--paper-dim);
  font-weight:600; transition:color .2s ease;
}
.foot-links a:hover{color:var(--paper);}
.foot-subline{font-size:11px; color:var(--ash); letter-spacing:0.04em; text-transform:none; font-weight:400;}
.foot-subline:hover{color:var(--paper);}

/* ---------- PAGE ARTICLE ---------- */
.article-page{padding:64px 0 96px;}
.article-header{max-width:900px; margin:0 auto 48px;}
.article-header .section-num{margin-bottom:22px;}
.article-title{font-size:clamp(36px, 6vw, 72px); line-height:0.98;}
.article-meta{
  margin-top:26px; display:flex; gap:18px; align-items:center; flex-wrap:wrap;
  font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.12em;
  text-transform:uppercase; color:var(--ash);
}
.article-meta::before{content:""; width:26px; height:2px; background:var(--red);}
.article-hero{max-width:900px; margin:0 auto 56px;}
.article-hero img{width:auto; max-width:100%; height:auto; max-height:72vh; margin:0 auto;}
.article-body{max-width:720px; margin:0 auto;}
.article-body p{
  font-size:17.5px; line-height:1.78; color:var(--paper); margin-bottom:1.35em;
}
.article-body p strong{font-weight:700; color:#fff;}
.article-body h3{
  font-family:'Anton', sans-serif; letter-spacing:0.02em; font-size:26px; line-height:1.1;
  margin:2.2em 0 0.8em; color:var(--paper);
}
.article-body figure{margin:44px 0;}
.article-body figure img{width:100%; height:auto;}
.article-body figcaption{
  margin-top:10px; font-family:'IBM Plex Mono', monospace; font-size:11px;
  color:var(--ash); letter-spacing:0.08em;
}
.article-body blockquote{
  border-left:3px solid var(--red); padding-left:22px; margin:2em 0;
  font-size:20px; line-height:1.5; color:var(--paper-dim);
}
.article-body ul, .article-body ol{margin:0 0 1.35em 1.4em; font-size:17.5px; line-height:1.7;}

/* Power Ranking : colonnes complètes */
.ranking-columns{display:grid; grid-template-columns:1fr 1fr; gap:60px; max-width:1000px; margin:0 auto;}
.ranking-list{border-top:1px solid var(--line);}
.rank-row{
  display:grid; grid-template-columns:64px 1fr; align-items:start;
  gap:24px; padding:22px 0; border-bottom:1px solid var(--line);
  transition:background .2s ease;
}
.rank-row:hover{background:rgba(237,230,216,0.03);}
.rank-num{font-family:'Anton', sans-serif; font-size:32px; color:var(--red); line-height:1;}
.rank-info h3{font-family:'Anton', sans-serif; font-size:19px; letter-spacing:0.02em; margin-bottom:6px; text-transform:uppercase;}
.rank-info p{font-size:14px; color:var(--paper-dim); line-height:1.6;}

/* Pied d'article : navigation */
.article-nav{
  max-width:720px; margin:72px auto 0; padding-top:28px; border-top:1px solid var(--line);
  display:grid; grid-template-columns:1fr 1fr; gap:24px;
}
.article-nav a{display:block; min-width:0;}
.article-nav .next{text-align:right;}
.article-nav .nav-label{
  display:block; font-family:'IBM Plex Mono', monospace; font-size:10.5px;
  letter-spacing:0.16em; text-transform:uppercase; color:var(--red); margin-bottom:8px;
}
.article-nav .nav-title{font-family:'Anton', sans-serif; font-size:18px; line-height:1.15; color:var(--paper-dim); transition:color .2s ease; text-transform:uppercase;}
.article-nav a:hover .nav-title{color:var(--paper);}
.article-return{
  max-width:720px; margin:40px auto 0; display:flex; justify-content:center;
}
.article-return a{
  display:inline-flex; align-items:center; gap:12px;
  font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.16em;
  text-transform:uppercase; color:var(--paper-dim); padding:14px 22px;
  border:1px solid var(--line); transition:color .2s ease, border-color .2s ease;
}
.article-return a:hover{color:var(--paper); border-color:var(--paper-dim);}

/* ---------- ARCHIVES ---------- */
.trio-grid{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:1px; background:var(--line);}
.trio-card{background:var(--ink); padding:38px 30px 30px;}
.trio-card p{font-size:13.5px; color:var(--paper-dim); line-height:1.6; margin-top:12px;}
.trio-tag{display:block; font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.16em; text-transform:uppercase; color:var(--red); margin-bottom:12px;}
.section-intro{font-size:14px; color:var(--ash); margin-top:12px;}

/* ---------- RESPONSIVE ---------- */
@media (max-width:1100px){
  .page-layout{column-gap:40px;}
  .encart--ranking{gap:40px;}
}
@media (max-width:960px){
  .page-layout{grid-template-columns:1fr;}
  .page-sidebar{border-left:none; padding-left:0; border-top:1px solid var(--line);}
  .page-sidebar .section:first-child{padding-top:64px;}
  .page-sidebar .encart--side .encart-figure{max-width:420px;}
  .encart--ranking{grid-template-columns:1fr;}
  .encart--ranking .encart-figure{max-width:520px;}
}
@media (max-width:860px){
  .wrap, .page-layout{padding-left:22px; padding-right:22px;}
  .hero{padding:56px 0 56px;}
  .hero-cover-row{grid-template-columns:1fr; row-gap:36px;}
  .cover-figure{max-width:420px;}
  .hero-arc{width:70vw; right:-10%; top:2%; opacity:.6;}
  .section{padding:56px 0;}
  .custom-row-inner{grid-template-columns:1fr; gap:56px;}
  .encart--feature, .encart--portrait{grid-template-columns:1fr; gap:24px;}
  .encart--portrait .encart-figure{order:0;}
  .encart--feature .encart-figure, .encart--portrait .encart-figure{max-width:460px;}
  .encart--column .encart-figure{max-width:460px;}
  .encart--edito{padding-left:20px;}
  .ranking-columns{grid-template-columns:1fr; gap:44px;}
  .rank-preview{grid-template-columns:1fr; gap:28px;}
  .trio-grid{grid-template-columns:1fr;}
  .article-page{padding:40px 0 72px;}
  .article-nav{grid-template-columns:1fr;}
  .article-nav .next{text-align:left;}
}
@media (max-width:640px){
  .masthead-inner{height:64px;}
  .site-logo-header{height:46px;}
  .issue-tag{display:none;}
  nav#main-nav a{padding:14px 22px;}
  .cover-line-text{font-size:17px;}
  .encart-title{font-size:clamp(28px, 8.5vw, 40px);}
  .encart--side .encart-title{font-size:clamp(26px, 7.5vw, 34px);}
  .encart-teaser{font-size:15px;}
  .encart--dark{padding:22px 18px 24px;}
  .article-body p, .article-body ul, .article-body ol{font-size:16.5px; line-height:1.72;}
  .article-title{font-size:clamp(32px, 10vw, 48px);}
  footer .wrap{flex-direction:column; align-items:flex-start;}
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{transition:none !important;}
}

/* Accroches longues : affichées sur quelques lignes, texte complet conservé dans le HTML */
.encart-teaser.is-clamped{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5;overflow:hidden}

/* Contact */
.contact-form{display:grid;gap:1.1rem;max-width:560px}
.contact-form label{display:grid;gap:.4rem;font-family:"IBM Plex Mono",monospace;font-size:.8rem;text-transform:uppercase;letter-spacing:.06em}
.contact-form input,.contact-form textarea{font-family:Archivo,sans-serif;font-size:1rem;padding:.7rem;border:1px solid var(--ink);background:transparent;color:var(--ink)}
.contact-form button{justify-self:start;font-family:"IBM Plex Mono",monospace;text-transform:uppercase;letter-spacing:.08em;padding:.7rem 1.4rem;border:0;background:var(--ink);color:var(--paper);cursor:pointer}
.contact-note{font-size:.9rem;opacity:.75}


/* ---------- FINITION PHOTOGRAPHIQUE — cadrage maîtrisé ----------
/* Les couvertures et les images d'articles restent intégralement visibles. */
.cover-figure img{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:contain;object-position:center;}
.article-hero img,.article-body figure img{object-fit:contain;object-position:center;}

/* Les vignettes paysage gardent un cadre paysage afin d'éviter de couper
   excessivement les côtés des photos originales. */
.encart--feature .encart-figure img[src*="japanese-connection-1"],
.encart--column .encart-figure img[src*="macao-hommes"],
.encart--column .encart-figure img[src*="macao-femmes"],
.encart--side .encart-figure img[src*="left-handed-1"],
.encart--side .encart-figure img[src*="ding-song-1"]{
  aspect-ratio:4/3;object-fit:cover;object-position:center;
}

/* Les portraits verticaux privilégient le visage et le haut du corps. */
.encart--feature .encart-figure img[src*="waldner-1"],
.encart--feature .encart-figure img[src*="truls-moregardh-1"],
.encart--side .encart-figure img[src*="truls-moregardh-1"],
.encart--side .encart-figure img[src*="dina-meshref-1"]{
  aspect-ratio:3/4;object-fit:cover;object-position:center 22%;
}

/* Images presque carrées : cadrage centré, sans étirement. */
.encart--side .encart-figure img[src*="asian-games-1"],
.encart--feature .encart-figure img[src*="power-ranking-2"]{
  aspect-ratio:1/1;object-fit:cover;object-position:center;
}

/* Empêche les débordements sur petits écrans et conserve le ratio natif
   des photos éditoriales dans le corps des articles. */
.encart-figure img{max-width:100%;}
.article-body figure{max-width:100%;overflow:hidden;}
@media(max-width:640px){
  .cover-figure{width:100%;}
  .cover-figure img{width:100%;height:auto;}
  .article-hero{margin-bottom:36px;}
  .article-hero img{max-height:none;width:100%;height:auto;}
}


/* ---------- POLISH ÉDITORIAL — HOMEPAGE N°02 ---------- */
.masthead-inner{gap:clamp(14px,2vw,30px);}
.header-quick-links{display:flex;align-items:center;gap:clamp(12px,1.8vw,26px);margin-left:auto;}
.header-quick-links a{font-family:'IBM Plex Mono',monospace;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--paper-dim);white-space:nowrap;transition:color .2s ease;}
.header-quick-links a:hover{color:var(--paper);}
.masthead-right{gap:clamp(12px,1.8vw,24px);}
.hero{padding:64px 0 68px;}
.hero-bg{background:linear-gradient(112deg,#100d0c 0%,#100d0c 56%,#741322 56.2%,#c41e3a 100%);}
.hero-bg::before{background-image:radial-gradient(rgba(237,230,216,.15) 1px,transparent 1px);background-size:12px 12px;opacity:.36;}
.hero-cover-row{grid-template-columns:minmax(230px,.78fr) minmax(0,1.22fr);column-gap:clamp(34px,6vw,90px);align-items:center;}
.cover-figure{max-width:440px;box-shadow:0 18px 55px rgba(0,0,0,.28);}
.cover-figure img{width:100%;height:auto;aspect-ratio:2/3;object-fit:contain;}
.hero-titles-col{padding:10px 0 16px;max-width:650px;}
.cover-lines-title{font-size:10px;letter-spacing:.18em;margin-bottom:22px;color:rgba(237,230,216,.76);}
.hero-feature-title{font-size:clamp(48px,6.4vw,94px);line-height:.88;letter-spacing:-.025em;text-transform:uppercase;max-width:720px;}
.hero-feature-title span{color:#e8d95b;}
.hero-feature-copy{max-width:48ch;margin-top:25px;font-size:clamp(14px,1.15vw,17px);line-height:1.65;color:rgba(237,230,216,.82);}
.hero-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:30px;}
.hero-primary-link{display:inline-flex;align-items:center;gap:20px;background:var(--paper);color:var(--ink);padding:15px 19px;font-family:'IBM Plex Mono',monospace;font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;transition:background .2s ease,transform .2s ease;}
.hero-primary-link:hover{background:#fff;transform:translateY(-2px);}
.hero-primary-link span{font-size:15px;}
.hero-secondary-link{display:inline-flex;align-items:center;gap:10px;font-family:'IBM Plex Mono',monospace;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--paper-dim);}
.hero-secondary-link:hover{color:#fff;}
#sommaire{scroll-margin-top:88px;}
.section{padding:58px 0;}
.encart-cat{font-size:10px;letter-spacing:.13em;margin-bottom:13px;}
.encart-teaser{font-size:14px;line-height:1.7;}
.encart-more{font-size:10px;}
footer{border-top:1px solid var(--line);padding:32px 0 38px;}
footer .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;}
.foot-links{display:flex;gap:24px;font-family:'IBM Plex Mono',monospace;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--paper-dim);}
.foot-links a:hover{color:var(--paper);}
@media(max-width:1000px){
  .header-quick-links{gap:12px;}
  .header-quick-links a{font-size:9px;letter-spacing:.06em;}
  .issue-tag{display:none;}
  .hero-cover-row{column-gap:34px;grid-template-columns:minmax(210px,.85fr) minmax(0,1.15fr);}
  .hero-feature-title{font-size:clamp(44px,6.2vw,72px);}
}
@media(max-width:860px){
  .masthead-inner{height:68px;}
  .header-quick-links{display:none;}
  .masthead-right{margin-left:auto;}
  .hero{padding:42px 0 48px;}
  .hero-bg{background:linear-gradient(160deg,#100d0c 0%,#100d0c 64%,#8f1527 64.2%,#c41e3a 100%);}
  .hero-cover-row{grid-template-columns:minmax(0,420px);justify-content:center;row-gap:30px;}
  .cover-figure{width:100%;max-width:360px;margin:0 auto;}
  .hero-titles-col{padding:0;max-width:620px;}
  .hero-feature-title{font-size:clamp(46px,10vw,76px);}
  .hero-feature-copy{margin-top:18px;}
  .hero-actions{margin-top:22px;}
}
@media(max-width:640px){
  .hero{padding:32px 0 40px;}
  .hero-cover-row{row-gap:26px;}
  .cover-figure{max-width:300px;}
  .cover-lines-title{margin-bottom:16px;}
  .hero-feature-title{font-size:clamp(42px,12vw,64px);}
  .hero-feature-copy{font-size:14px;}
  .hero-actions{align-items:flex-start;gap:16px;flex-direction:column;}
  .section{padding:42px 0;}
  footer .wrap{flex-direction:row;align-items:center;}
  .site-logo-footer{height:36px;}
}

.photo-slot{width:100%;aspect-ratio:4/3;background:var(--ink-2);border:1px solid var(--line)}.cover-slot{aspect-ratio:2/3;background:var(--ink-2)}.encart--feature .photo-slot{aspect-ratio:4/5}.encart--portrait .photo-slot,.encart--side .photo-slot{aspect-ratio:3/4}.article-photo{aspect-ratio:16/9}.inline-slot{min-height:240px;display:flex;align-items:end;padding:20px}.article-body p{white-space:normal}.encart-title,.article-title,.cover-line-text{overflow-wrap:anywhere}.encart-title,.article-title,.display{letter-spacing:0}.encart--side{display:block}.encart--side .encart-figure{margin-bottom:18px}.photo-slot figcaption{color:var(--ash)}.encart-figure img,.cover-figure img{aspect-ratio:auto!important;object-fit:contain!important;height:auto}.article-hero img{width:100%;height:auto;display:block}.article-inline-img{margin:32px 0}.article-inline-img img{width:100%;height:auto;display:block}.article-subtitle{font-size:1.2em;margin:8px 0 0;color:var(--ash)}
.tone-pink{color:#f28cb8}
/* Les images pleine largeur gardent leur hauteur naturelle, même sur PC. */
.article-hero img{max-height:none;aspect-ratio:auto;object-fit:contain}/* Refondre la page d’accueil selon les captures thePING */
:root{--ink:#100d0d;--ink-2:#171212;--paper:#f0e9dc;--red:#c51d3a;--line:rgba(240,233,220,.13)}
body{background:#100d0d}.wrap,.page-layout{max-width:1440px}.wrap{padding-left:clamp(20px,3vw,52px);padding-right:clamp(20px,3vw,52px)}
.masthead-inner{height:62px;gap:24px}.site-logo-header{height:42px}.masthead{background:rgba(16,13,13,.96)!important}
.header-quick-links{display:flex;align-items:center;gap:24px;margin-left:auto}.header-quick-links a{font:600 10px 'IBM Plex Mono',monospace;letter-spacing:.09em;text-transform:uppercase;color:#c8bfb2}.header-quick-links a:first-child{color:#f0e9dc}.issue-tag{font-size:9px;letter-spacing:.08em}.masthead-right{gap:18px}
.hero{padding:0;min-height:calc(100vh - 62px);display:flex;align-items:center}.hero-bg{background:linear-gradient(112deg,#100d0d 0%,#100d0d 62%,#8f1527 62.1%,#c51d3a 100%)}.hero-bg::before{background-image:radial-gradient(rgba(255,255,255,.13) 1px,transparent 1px);background-size:12px 12px;opacity:.38}
.hero-content{padding-top:34px;padding-bottom:34px}.hero-cover-row{grid-template-columns:minmax(260px,.86fr) minmax(300px,1fr);gap:clamp(30px,5vw,88px);align-items:center;max-width:1120px;margin:0 auto}.cover-figure{max-width:390px;box-shadow:0 18px 45px #0008}.cover-figure img{width:100%;height:auto;aspect-ratio:2/3;object-fit:contain!important}.hero-titles-col{padding-top:0;max-width:540px}.cover-lines-title{font-size:9px;letter-spacing:.18em;margin-bottom:22px}.hero-feature-title{font-size:clamp(48px,6.2vw,88px);line-height:.9;letter-spacing:-.015em;margin-bottom:22px}.hero-feature-copy{max-width:48ch;color:#d8cec1;font-size:13px;line-height:1.65}
.hero-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:24px}.hero-primary-link{display:inline-flex;background:#f0e9dc;color:#100d0d;padding:13px 17px;font:600 10px 'IBM Plex Mono',monospace;text-transform:uppercase}.hero-secondary-link{font:10px 'IBM Plex Mono',monospace;color:#e5d8cb}
.page-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:28px;row-gap:48px;padding:44px clamp(20px,3vw,52px) 70px;max-width:1440px;margin:0 auto}.page-main,.page-sidebar{display:contents}.page-main>.section,.page-sidebar>.section{display:contents}.page-main>.section:first-child,.page-main>.section:nth-child(2){display:none}.custom-row-inner,.custom-col{display:contents}
.page-layout .encart{min-width:0;align-self:start;display:flex;flex-direction:column;gap:0;padding:0;border:0;background:none}.page-layout .encart-figure{order:0;margin:0 0 17px;overflow:hidden;background:#211b19}.page-layout .encart-figure img{display:block;width:100%;height:auto;aspect-ratio:16/9!important;object-fit:cover!important;transition:transform .5s ease,opacity .3s ease}.page-layout .encart:hover .encart-figure img{transform:scale(1.025);opacity:.92}.page-layout .encart-text{order:1}.page-layout .encart-cat{font-size:9px;letter-spacing:.13em;margin-bottom:9px;color:#d84b60}.page-layout .encart-title{font-size:clamp(19px,1.65vw,26px);line-height:1.02;letter-spacing:-.01em}.page-layout .encart-teaser{font-size:11px;line-height:1.55;margin-top:12px;color:#bdb3a7}.page-layout .encart-more{font-size:9px;margin-top:14px;letter-spacing:.1em}.page-layout .encart--portrait .encart-figure img,.page-layout .encart--side .encart-figure img,.page-layout .encart--column .encart-figure img,.page-layout .encart--feature .encart-figure img{aspect-ratio:16/9!important;object-fit:cover!important;object-position:center!important}.page-layout .section{padding:0;border:0}
footer{background:#100d0d;border-top:1px solid var(--line);padding:32px 0}footer .wrap{display:flex;align-items:center;justify-content:space-between}.site-logo-footer{height:34px}.foot-links{display:flex;gap:24px;font:10px 'IBM Plex Mono',monospace;text-transform:uppercase;color:#bdb3a7}
@media(max-width:760px){.masthead-inner{height:58px}.site-logo-header{height:34px}.header-quick-links{gap:10px}.header-quick-links a{font-size:8px}.issue-tag{display:none}.hero{min-height:auto;padding:32px 0 42px}.hero-bg{background:linear-gradient(160deg,#100d0d 0%,#100d0d 62%,#8f1527 62.1%,#c51d3a 100%)}.hero-cover-row{grid-template-columns:minmax(100px,.7fr) minmax(0,1fr);gap:18px}.hero-feature-title{font-size:clamp(32px,8vw,52px);margin-bottom:12px}.cover-lines-title{font-size:7px;margin-bottom:12px}.hero-feature-copy{font-size:11px;line-height:1.5}.hero-actions{gap:10px;margin-top:15px}.hero-primary-link{font-size:8px;padding:10px}.hero-secondary-link{font-size:8px}.page-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 14px;padding:28px 16px 45px}.page-layout .encart-title{font-size:clamp(16px,4vw,21px)}.page-layout .encart-cat{font-size:8px}.page-layout .encart-teaser{font-size:10px}}
@media(max-width:420px){.header-quick-links a:nth-child(2){display:none}.hero-cover-row{grid-template-columns:1fr;max-width:310px}.cover-figure{max-width:190px;margin:0 auto 8px}.hero-titles-col{padding:0 3px}.hero-feature-title{font-size:48px}.page-layout{grid-template-columns:1fr}}

/* Correctif cadrage : conserver les photos entières dans les cartes de la première page. */
.page-layout .encart-figure img{height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;}


/* CORRECTION DEFINITIVE — homepage : aucune photo ne doit être coupée.
   Cette feuille est chargée après style.css : les règles sont donc placées ici. */
.page-layout .encart-figure {
  height: auto !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
}
.page-layout .encart-figure img,
.page-layout .encart--feature .encart-figure img,
.page-layout .encart--portrait .encart-figure img,
.page-layout .encart--side .encart-figure img,
.page-layout .encart--column .encart-figure img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}


/* FINAL IMAGE FIX: keep every homepage photograph at its intrinsic ratio. */
.page-layout .encart-figure {
  height: auto !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
  background: transparent !important;
}
.page-layout .encart-figure img,
.page-layout .encart--feature .encart-figure img,
.page-layout .encart--portrait .encart-figure img,
.page-layout .encart--side .encart-figure img,
.page-layout .encart--column .encart-figure img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}
.page-layout .encart:hover .encart-figure img { transform: none !important; }
.cover-figure { overflow: visible !important; }
.cover-figure img { height: auto !important; max-height: none !important; aspect-ratio: auto !important; object-fit: contain !important; }

/* =====================================================================
   thePING — corrections (couche finale, chargée après preview.css)
   1. Typographie : Anton (titres), Archivo (texte), IBM Plex Mono (étiquettes)
   2. Lisibilité : aucun texte sous 12px, texte courant à 15px minimum
   3. Palette : teintes d'accent réduites aux couleurs déjà utilisées
   4. Hero : moins de vide, couverture plus grande
   ===================================================================== */

/* 1. Les boutons et champs héritent de la police du site (plus d'Arial) */
button, input, textarea, select { font-family: inherit; }

/* 2. Tailles minimales */
.issue-tag,
.header-quick-links a,
.cover-lines-title,
.cover-line-num,
.encart-cat,
.encart-more,
.page-layout .encart-cat,
.page-layout .encart-more,
.encart--side .encart-more,
.hero-primary-link,
.hero-secondary-link,
.foot-links,
.foot-subline,
.article-meta,
.article-nav .nav-label,
.trio-tag,
.nav-cat,
nav#main-nav .nav-cat,
.section-kicker,
.encart-kicker {
  font-size: 12px !important;
}
.hero-primary-link span { font-size: 14px !important; }
.hero-feature-copy,
.page-layout .encart-teaser,
.encart-teaser,
.encart--side .encart-teaser,
.section-desc,
.rank-info p {
  font-size: 15px !important;
  line-height: 1.6 !important;
}
.hero-feature-copy { font-size: clamp(15px, 1.2vw, 17px) !important; }
.page-layout .encart-title { font-size: clamp(20px, 1.9vw, 28px) !important; }

@media (max-width: 760px) {
  .header-quick-links a { font-size: 11px !important; }
  .hero-feature-copy,
  .page-layout .encart-teaser { font-size: 14px !important; }
  .page-layout .encart-cat,
  .page-layout .encart-more { font-size: 11px !important; }
  .hero-primary-link,
  .hero-secondary-link { font-size: 11px !important; }
  .cover-lines-title { font-size: 11px !important; }
}

/* 3. Palette : une seule teinte rose, un seul jaune */
.tone-pink,
.page-layout .encart-cat { color: #d84b60; }
.tone-pink { color: #d84b60 !important; }
.hero-feature-title span { color: var(--title-yellow) !important; }

/* 4. Hero : moins de vide, couverture plus présente */
.hero { padding: 48px 0 52px !important; }
.hero-content { padding-top: 0 !important; padding-bottom: 0 !important; }
.cover-figure { max-width: 440px !important; }
.hero-titles-col { max-width: 600px !important; }

@media (max-width: 760px) {
  .hero { padding: 28px 0 36px !important; }
}

