/* ═══════════════════════════════════════════════════════════════
   PANIBAG — BLOG
   La page de présentation du blog et les articles.

   Même système que la page de vente et les pages d'information :
   Cabinet aux titres, Switzer au corps, crème kraft, charbon, un
   seul orange, aucun arrondi, aucune ombre. L'article se lit sur
   une seule colonne, à une mesure de lecture, sous le titre du blog.
   Variante presse : la page parue et le lien vers la source, en fin
   d'article (Da Vinci, 23/11/2026).
   ═══════════════════════════════════════════════════════════════ */

@font-face{font-family:Switzer;src:url(fonts/switzer-400.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Switzer;src:url(fonts/switzer-700.woff2) format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:Cabinet;src:url(fonts/cabinet-700.woff2) format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:Cabinet;src:url(fonts/cabinet-800.woff2) format('woff2');font-weight:800;font-display:swap}

:root{
  --creme:#F2EADC;
  --creme-clair:#F8F3E9;
  --charbon:#241C14;
  --txt:#241C14;
  --gris:#776756;
  --txt-inv:#EFE7DA;
  --txt-inv-attenue:#B6A692;
  --orange:#EA6020;
  --filet:#D9CDB8;
  --filet-inv:rgba(239,231,218,.2);
  --d2:clamp(34px,4.4vw,54px);
  --d3:clamp(26px,3vw,38px);
  --d4:clamp(20px,2vw,26px);
  --t1:18px;
  --t2:15px;
  --t3:12.5px;
  --ft:"Cabinet","Helvetica Neue",Arial,sans-serif;
  --fc:"Switzer","Helvetica Neue",Arial,sans-serif;
  --w:1280px;
  --mesure:68ch;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{font-family:var(--fc);color:var(--txt);background:var(--creme);
  font-size:var(--t1);line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
h1,h2,h3,h4{font-family:var(--ft);font-weight:800;letter-spacing:-.025em;text-wrap:balance}
.w{max-width:var(--w);margin:0 auto;padding:0 clamp(20px,4vw,44px)}
.lab{font-family:var(--fc);font-size:var(--t3);font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--gris)}

/* ── L'en-tête : le logo, comme sur toutes les pages ─────────── */
header{background:var(--creme);padding:26px 0 22px}
.brand{display:flex;justify-content:center}
.brand img{height:76px;width:auto}
@media(max-width:900px){.brand img{height:56px}}
@media(max-width:560px){.brand img{height:44px}}

/* ── Le titre du blog, sous le logo ───────────────────────────
   Le blog se nomme en tête de chaque page, à la taille d'un titre. */
.barre-blog{border-top:1px solid var(--filet);border-bottom:1px solid var(--filet);background:var(--creme-clair)}
.barre-blog .w{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding-block:clamp(18px,2vw,26px)}
.nom-blog{font-family:var(--ft);font-weight:800;font-size:var(--d4);letter-spacing:-.02em;line-height:1.1;text-decoration:none;color:var(--orange)}
.nom-blog:hover{color:var(--charbon)}
/* Le retour au site reste discret : en minuscules, au corps du texte courant, précédé d'une flèche. */
.retour{display:inline-flex;align-items:center;gap:8px;font-size:var(--t2);font-weight:400;color:var(--gris);text-decoration:none;white-space:nowrap}
.retour svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s}
.retour:hover{color:var(--txt)}
.retour:hover svg{transform:translateX(-3px)}

/* ── L'article : une seule colonne, centrée ──────────────────── */
.article{padding:clamp(48px,6vw,88px) 0 clamp(64px,7vw,104px)}
.col{max-width:calc(var(--mesure) + 40px);margin:0 auto;padding:0 20px}
.article .cat{color:var(--orange);margin-bottom:16px}
.article h1{font-size:var(--d2);line-height:1.04;margin-bottom:clamp(18px,2vw,24px)}
.article .meta{display:flex;flex-wrap:wrap;gap:6px 18px;padding-bottom:clamp(28px,3vw,40px);
  margin-bottom:clamp(28px,3vw,40px);border-bottom:1px solid var(--filet)}
.article .meta span+span::before{content:"";display:inline-block;width:4px;height:4px;
  background:var(--orange);vertical-align:middle;margin-right:18px;transform:translateY(-2px)}
.couv{margin:0 0 clamp(32px,3.6vw,48px)}
.couv img{width:100%;aspect-ratio:3/2;object-fit:cover}

/* La page parue, en fin d'article : entière, jamais recadrée,
   cliquable pour la lire en grand, avec le lien vers la source. */
.parue{margin-top:clamp(44px,5vw,64px);padding-top:clamp(32px,3.4vw,44px);border-top:1px solid var(--filet);
  display:grid;justify-items:center;gap:22px}
.parue figure{text-align:center}
.parue img{width:auto;max-width:100%;max-height:720px;margin:0 auto;border:1px solid var(--filet)}
.parue figcaption{font-size:var(--t3);color:var(--gris);margin-top:10px}
.btn.btn-ligne{background:transparent;color:var(--txt);box-shadow:inset 0 0 0 1.5px var(--txt)}
.btn.btn-ligne:hover{background:var(--charbon);color:var(--creme)}

/* Les mots de Ludovic Rey, cités par le journaliste */
.texte blockquote{font-family:var(--ft);font-weight:700;font-size:clamp(19px,1.6vw,22px);line-height:1.4;letter-spacing:-.01em;
  border-left:2px solid var(--orange);padding:2px 0 2px 22px;margin:26px 0}
.texte .calcul ul{margin:0;border-top:0}
.calcul li:last-child{border-bottom:0;padding-bottom:0}
.calcul li{font-size:var(--t2);color:var(--txt)}

/* ── Le texte ────────────────────────────────────────────────── */
.texte p{font-size:var(--t1);line-height:1.72;margin:0 0 18px}
.texte .chapo{font-family:var(--ft);font-weight:700;font-size:clamp(19px,1.6vw,22px);
  line-height:1.45;letter-spacing:-.008em;margin-bottom:22px}
.texte .chapo+p:not(.chapo){color:var(--txt)}
.texte b,.texte strong{font-weight:700}
.texte em{font-style:italic}
.texte a{color:var(--orange);text-decoration:underline;text-underline-offset:3px}
.texte a:hover{color:var(--charbon)}
.texte h2{font-size:clamp(24px,2.4vw,32px);line-height:1.12;letter-spacing:-.02em;
  margin:clamp(52px,5.6vw,76px) 0 20px;padding-top:clamp(26px,2.8vw,36px);
  border-top:1px solid var(--filet);scroll-margin-top:24px}
.texte h3{font-size:var(--d4);line-height:1.2;letter-spacing:-.015em;margin:36px 0 14px}

/* Les listes deviennent des lignes : une information par ligne,
   un filet entre chacune, aucune puce, comme partout sur le site.
   Le terme qui ouvre la ligne passe en gras. */
.texte ul,.texte ol{list-style:none;margin:6px 0 24px;border-top:1px solid var(--filet)}
.texte li{border-bottom:1px solid var(--filet);padding:13px 0;font-size:var(--t2);line-height:1.6;color:var(--gris)}
.texte li b{color:var(--txt)}

/* L'encadré de calcul : les hypothèses et les résultats chiffrés de
   l'article, regroupés, sur le fond alterné, signalés par le filet
   orange. Les chiffres qui comptent restent en gras. */
.calcul{background:var(--creme-clair);border-left:2px solid var(--orange);
  padding:clamp(22px,2.6vw,32px) clamp(22px,2.8vw,36px);margin:10px 0 30px}
.calcul .lab{display:block;color:var(--orange);margin-bottom:6px}
.calcul p{font-size:var(--t2);line-height:1.65;margin:0;padding:14px 0;border-bottom:1px solid var(--filet)}
.calcul p:last-child{border-bottom:0;padding-bottom:0}
.calcul b{color:var(--txt)}

/* L'exergue : la phrase que l'article veut faire retenir. */
.texte .exergue{font-family:var(--ft);font-weight:800;font-size:var(--d4);line-height:1.25;
  letter-spacing:-.02em;border-left:2px solid var(--orange);padding:4px 0 4px 22px;margin:34px 0}

.texte figure{margin:clamp(30px,3.4vw,44px) 0}
.texte figure img{width:100%;max-height:640px;object-fit:cover;background:var(--creme-clair)}
/* Une photo en hauteur garde ses proportions sans envahir la colonne. */
.texte figure.portrait{max-width:440px}
.texte figure.portrait img{max-height:none}
.texte figcaption{font-size:var(--t3);line-height:1.5;color:var(--gris);margin-top:10px}

.tableau{overflow-x:auto;margin:10px 0 30px;border-top:1px solid var(--filet)}
.tableau table{border-collapse:collapse;width:100%;font-size:var(--t2)}
.tableau th,.tableau td{text-align:left;vertical-align:top;padding:12px 14px 12px 0;border-bottom:1px solid var(--filet);line-height:1.5}
.tableau th{font-size:var(--t3);font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--gris)}

.article p.publie{font-size:var(--t3);line-height:1.6;margin:clamp(44px,5vw,64px) 0 0;padding-top:20px;border-top:1px solid var(--filet)}

/* ── La housse, à la fin de l'article ────────────────────────── */
.produit{background:var(--creme-clair);border-top:1px solid var(--filet);border-bottom:1px solid var(--filet)}
.produit .w{display:grid;grid-template-columns:minmax(0,.31fr) minmax(0,.69fr);
  gap:clamp(28px,4vw,72px);align-items:center;padding-block:clamp(44px,5vw,72px)}
.produit img{width:100%;max-width:300px;margin-inline:auto}
.produit .lab{display:block;color:var(--orange);margin-bottom:14px}
.produit p.t{font-family:var(--ft);font-weight:800;font-size:var(--d3);line-height:1.08;
  letter-spacing:-.025em;max-width:20ch;margin-bottom:clamp(22px,2.6vw,32px)}
.btn{display:inline-block;background:var(--orange);color:var(--charbon);font-family:var(--fc);
  font-weight:700;font-size:var(--t3);letter-spacing:.09em;text-transform:uppercase;line-height:1.3;
  padding:16px 28px;border:0;border-radius:0;text-decoration:none;transition:background .18s,color .18s}
.btn:hover{background:var(--charbon);color:var(--creme)}
@media(max-width:880px){
  .produit .w{grid-template-columns:minmax(0,1fr)}
  .produit img{max-width:200px;margin:0}
}

/* ── À lire aussi, et la page de présentation du blog ────────── */
.suite{padding:clamp(56px,6.5vw,96px) 0}
.suite h2{font-size:var(--d3);line-height:1.08;margin-bottom:clamp(28px,3.4vw,44px)}
.cartes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,2.6vw,36px)}
.carte{display:flex;flex-direction:column;text-decoration:none;border-top:1px solid var(--filet);padding-top:18px}
.carte figure{aspect-ratio:3/2;overflow:hidden;background:var(--creme-clair);margin-bottom:18px}
.carte figure img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.carte:hover figure img{transform:scale(1.03)}
/* Une parution de presse se pose comme sur la page de vente : sous un
   passe-partout (fond clair, liseré, marge), le scan au format 4:3,
   cadré sur le haut de la page. */
.carte figure.cadre{aspect-ratio:auto;overflow:visible;background:#FDFBF7;border:1px solid var(--filet);
  padding:26px 12px 12px;transition:border-color .18s}
.carte figure.cadre img{aspect-ratio:4/3;height:auto;object-fit:cover;object-position:top center;border:0;transform:none}
.carte:hover figure.cadre{border-color:var(--orange)}
.carte:hover figure.cadre img{transform:none}
.carte .lab{color:var(--orange);margin-bottom:10px}
.carte h3{font-size:clamp(19px,1.7vw,23px);line-height:1.2;letter-spacing:-.015em;transition:color .18s}
.carte:hover h3{color:var(--orange)}
.carte p{font-size:var(--t2);line-height:1.6;color:var(--gris);margin-top:10px}
.carte .meta{margin-top:14px}
/* La page de présentation : le titre du blog est le h1, à la taille du bandeau. */
h1.nom-blog{margin:0}
.carte p.lab.meta{font-size:var(--t3);line-height:1.6;color:var(--gris);margin-top:12px}
.suite .cat-liste{display:block;color:var(--orange);margin-bottom:12px}
.cartes{row-gap:clamp(36px,4vw,56px)}
/* La page /blog : deux colonnes, les parutions vont par paires. */
.cartes.deux{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(24px,3.4vw,48px)}
@media(max-width:880px){.cartes{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.cartes{grid-template-columns:minmax(0,1fr)}}

/* ── Le pied : charbon, comme sur les pages d'information ────── */
.final{background:var(--charbon);color:var(--txt-inv);padding:clamp(56px,6.5vw,90px) 0 32px}
.final .t1{font-family:var(--ft);font-weight:800;font-size:var(--d3);line-height:1.08;
  letter-spacing:-.025em;max-width:16ch;margin-bottom:18px}
.final .t2{font-family:var(--ft);font-weight:800;font-size:var(--d4);line-height:1.25;
  letter-spacing:-.02em;color:var(--txt-inv);max-width:24ch;margin-bottom:clamp(26px,3vw,38px)}
.final .btn:hover{background:var(--txt-inv);color:var(--charbon)}
.final .foot{margin-top:clamp(52px,6vw,88px);border-top:1px solid var(--filet-inv);padding-top:26px}
.final .legal{font-size:var(--t3);color:var(--txt-inv-attenue);line-height:2}
.final .legal a{text-decoration:underline;text-underline-offset:3px}
.final .legal a:hover{color:var(--txt-inv)}

/* ── Le bouton de retour en haut ─────────────────────────────── */
.haut{position:fixed;right:20px;bottom:20px;width:48px;height:48px;border:0;border-radius:0;
  background:var(--charbon);color:var(--creme);display:grid;place-items:center;cursor:pointer;
  opacity:0;pointer-events:none;transition:opacity .2s}
.haut.on{opacity:1;pointer-events:auto}
.haut svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.haut:hover{background:var(--orange);color:var(--charbon)}

@media(max-width:700px){.w{padding:0 20px}}
