/* ─────────────────────────────────────────────────────────────────────────────
   BLOG — feuille partagée par le hub et tous les articles (créée le 04/09/2026).

   Une feuille commune plutôt qu'un <style> par page, contrairement au reste du
   site : le blog compte une quinzaine de pages qui partagent le même squelette,
   et une correction de typographie doit atteindre chaque article d'un coup.

   Règle absolue : aucune couleur en dur. Tout vient des tokens de theme.css, y
   compris les surfaces (--white devient sombre en mode nuit). Les deux couleurs
   de service ont un sens sur le site — --beak (l'orange du bec) code « On achète
   pour vous », --accent (bleu canard) code la réexpédition — et le blog le
   respecte : la pastille de catégorie d'un article prend la couleur de son sujet.
   ───────────────────────────────────────────────────────────────────────────── */

*{ box-sizing:border-box; }
html{ background:var(--white); }
body{ margin:0; background:var(--white); color:var(--ink); min-height:100vh; -webkit-font-smoothing:antialiased; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.wrap{ max-width:1100px; margin:0 auto; padding:0 22px; }
.wrap-lecture{ max-width:760px; margin:0 auto; padding:0 22px; }
.section{ padding:56px 0; }
.band-sand{ background:var(--bg-soft); }
.band-night{ background:var(--cta); color:var(--on-accent); }

/* ── Pastilles et petits textes ─────────────────────────────────────────── */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:var(--accent-dark); background:var(--accent-light);
  padding:7px 14px; border-radius:999px;
}
/* Catégories : la couleur dit le sujet avant même le titre. */
.chip{ display:inline-flex; align-items:center; gap:6px; font-size:11.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:5px 11px; border-radius:999px; }
.chip-achat{ color:var(--beak-ink); background:var(--beak-pale); }
.chip-reexp{ color:var(--accent-dark); background:var(--accent-light); }
.chip-pays{ color:var(--ink); background:var(--line); }
.meta{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px; font-size:13px; color:var(--ink-soft); }
.meta b{ color:var(--ink); font-weight:600; }
.meta .sep{ opacity:.5; }

/* ── HUB — en-tête ──────────────────────────────────────────────────────── */
.hub-hero{ padding:44px 0 36px; }
.hub-hero .wrap{ display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:28px; align-items:center; }
.hub-hero h1{ font-size:clamp(30px,4.6vw,46px); line-height:1.06; letter-spacing:-.03em; font-weight:800; margin:16px 0 14px; text-wrap:balance; }
.hub-hero .lead{ font-size:17px; line-height:1.6; color:var(--ink-soft); max-width:46ch; margin:0; }
.hub-hero img{ width:min(100%,360px); height:auto; margin:0 auto; }
@media (max-width:820px){ .hub-hero .wrap{ grid-template-columns:1fr; } .hub-hero img{ width:220px; order:-1; } }

/* ── HUB — l'article à la une ───────────────────────────────────────────── */
.une{
  display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr);
  background:var(--white); border:1px solid var(--line); border-radius:var(--r-xl);
  overflow:hidden; box-shadow:var(--shadow);
}
.une-visuel{ position:relative; min-height:320px; background:var(--bg-soft); }
.une-visuel img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 35%; }
.une-texte{ padding:38px 40px 36px; display:flex; flex-direction:column; gap:14px; }
.une-texte h2{ font-size:clamp(24px,3.2vw,34px); line-height:1.12; letter-spacing:-.025em; font-weight:800; margin:0; text-wrap:balance; }
.une-texte p{ font-size:16px; line-height:1.62; color:var(--ink-soft); margin:0; max-width:52ch; }
.une-texte .lire{ margin-top:auto; padding-top:8px; }
@media (max-width:820px){ .une{ grid-template-columns:1fr; } .une-visuel{ min-height:220px; aspect-ratio:16/9; } .une-texte{ padding:26px 24px; } }

.btn{ display:inline-flex; align-items:center; gap:8px; background:var(--accent); color:var(--on-accent); padding:13px 22px; border-radius:999px; font-size:15px; font-weight:700; border:none; cursor:pointer; }
.btn:hover{ background:var(--accent-dark); }
.btn-beak{ background:var(--beak-deep); }
.btn-beak:hover{ background:var(--beak-ink); }
.btn-light{ background:var(--white); color:var(--accent-dark); }
.btn-light:hover{ background:var(--accent-light); }
.lien{ color:var(--accent-dark); font-weight:700; }
.lien:hover{ text-decoration:underline; }

/* ── HUB — têtes de section ─────────────────────────────────────────────── */
.section-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:22px; }
.section-head h2{ font-size:clamp(22px,2.8vw,28px); letter-spacing:-.02em; font-weight:800; margin:6px 0 0; }
.section-head p{ margin:6px 0 0; color:var(--ink-soft); font-size:15px; max-width:56ch; }

/* ── HUB — carrousel ────────────────────────────────────────────────────────
   Défilement natif avec accroche : il fonctionne sans JavaScript, au doigt comme à
   la molette. Les deux flèches ne font que déplacer le défilement — elles ne
   portent aucun état, il n'y a donc rien à synchroniser. */
.carrousel{ position:relative; }
.piste{
  display:flex; gap:18px; overflow-x:auto; scroll-snap-type:x mandatory;
  padding:6px 4px 18px; margin:0 -4px;
  scrollbar-width:none;
}
.piste::-webkit-scrollbar{ display:none; }
.piste > *{ scroll-snap-align:start; flex:0 0 min(320px, 82vw); }
.fleches{ display:flex; gap:8px; }
.fleche{
  width:40px; height:40px; border-radius:50%; border:1px solid var(--line);
  background:var(--white); color:var(--ink); display:inline-flex; align-items:center; justify-content:center;
  cursor:pointer; transition:background .15s, border-color .15s;
}
.fleche:hover{ background:var(--accent-light); border-color:var(--accent-light); color:var(--accent-dark); }
.fleche:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }
.fleche svg{ width:18px; height:18px; }

/* ── Cartes d'article (carrousel et grilles) ───────────────────────────── */
/* Pas de height:100% ici : dans le carrousel (flex), une hauteur en pourcentage compte
   comme une hauteur fixée et désactive l'étirement — les cartes sortaient à des hauteurs
   différentes selon la longueur de leur titre. En hauteur auto, flex comme grid les
   étirent toutes sur la plus haute, et le margin-top:auto de .meta aligne les pieds. */
.carte{
  display:flex; flex-direction:column; background:var(--white); border:1px solid var(--line);
  border-radius:var(--r-lg); overflow:hidden; transition:transform .18s ease, box-shadow .18s ease;
}
.carte:hover{ transform:translateY(-3px); box-shadow:var(--shadow-sm); }
.carte:focus-within{ outline:2px solid var(--accent); outline-offset:2px; }
.carte-visuel{ aspect-ratio:4/3; background:var(--bg-soft); overflow:hidden; }
.carte-visuel img{ width:100%; height:100%; object-fit:cover; object-position:center 30%; }
.carte-corps{ padding:18px 20px 20px; display:flex; flex-direction:column; gap:10px; flex:1; }
.carte-corps h3{ font-size:17.5px; line-height:1.28; letter-spacing:-.015em; font-weight:800; margin:0; text-wrap:balance; }
.carte-corps p{ font-size:14px; line-height:1.55; color:var(--ink-soft); margin:0; }
.carte-corps .meta{ margin-top:auto; padding-top:6px; font-size:12.5px; }

.grille{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
@media (max-width:900px){ .grille{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:560px){ .grille{ grid-template-columns:1fr; } }

/* Destinations : un drapeau (police Twemoji chargée par theme.css) et un chiffre
   réel — le prix mesuré, pas un slogan. */
.dest{ display:flex; align-items:center; gap:14px; background:var(--white); border:1px solid var(--line); border-radius:var(--r-md); padding:16px 18px; transition:border-color .15s, background .15s; }
.dest:hover{ border-color:var(--accent-light); background:var(--accent-lighter); }
.dest .drapeau{ font-size:30px; line-height:1; flex:0 0 auto; }
.dest b{ display:block; font-size:15px; font-weight:800; }
.dest span{ display:block; font-size:12.5px; color:var(--ink-soft); margin-top:2px; }
.dest .fl{ margin-left:auto; color:var(--accent-dark); font-weight:700; }

/* Plateformes : logo réel depuis assets/logos, jamais un rendu maison. */
.plateformes{ display:flex; flex-wrap:wrap; gap:12px; }
.plateforme{ display:inline-flex; align-items:center; gap:10px; background:var(--white); border:1px solid var(--line); border-radius:999px; padding:9px 16px 9px 10px; font-size:14px; font-weight:700; }
.plateforme img{ height:22px; width:auto; }
.plateforme:hover{ border-color:var(--beak-pale); background:var(--beak-pale); color:var(--beak-ink); }

/* ── Bande finale (mêmes codes que la fin de l'accueil) ─────────────────── */
.final{ background:var(--cta); color:var(--on-accent); border-radius:var(--r-xl); padding:52px 30px; text-align:center; }
.final h2{ font-size:clamp(24px,3.4vw,34px); letter-spacing:-.025em; font-weight:800; margin:0 0 12px; text-wrap:balance; }
.final p{ font-size:16px; line-height:1.6; opacity:.92; max-width:54ch; margin:0 auto 22px; }

/* ── ARTICLE ─────────────────────────────────────────────────────────────── */
.fil{ font-size:13px; color:var(--ink-soft); display:flex; flex-wrap:wrap; gap:6px; padding:22px 0 0; }
.fil a:hover{ color:var(--accent-dark); text-decoration:underline; }

.art-tete{ padding:28px 0 26px; }
.art-tete h1{ font-size:clamp(30px,4.4vw,44px); line-height:1.08; letter-spacing:-.03em; font-weight:800; margin:16px 0 14px; text-wrap:balance; }
.art-tete .chapo{ font-size:18.5px; line-height:1.55; color:var(--ink-soft); margin:0 0 18px; }
.art-tete .meta{ padding-top:16px; border-top:1px solid var(--line); }

/* Couverture : les photos du site sont en portrait, on les cadre en 16:9 sur le
   haut du sujet. L'emplacement est le même pour toutes — pour remplacer une photo,
   il suffit de changer le src, rien d'autre ne bouge. */
.art-couv{ margin:0 0 34px; }
/* height:auto est indispensable : les <img> portent width/height en attributs (pour
   réserver la place avant chargement), et sans lui l'attribut height l'emporte sur
   l'aspect-ratio — la couverture sortait en 1,21 au lieu de 16:9. */
.art-couv img{ width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; object-position:center 32%; border-radius:var(--r-lg); background:var(--bg-soft); }
.art-couv figcaption{ font-size:12.5px; color:var(--ink-soft); margin-top:10px; }

.prose{ font-size:16.5px; line-height:1.72; }
.prose > *{ margin:0 0 18px; }
.prose h2{ font-size:24px; line-height:1.22; letter-spacing:-.02em; font-weight:800; margin:44px 0 14px; text-wrap:balance; }
.prose h2::before{ content:""; display:block; width:36px; height:3px; border-radius:2px; background:var(--accent); margin-bottom:12px; }
.art-achat .prose h2::before{ background:var(--beak); }
.prose h3{ font-size:18.5px; font-weight:800; margin:28px 0 8px; letter-spacing:-.01em; }
.prose p{ margin:0 0 18px; }
.prose a{ color:var(--accent-dark); font-weight:600; text-decoration:underline; text-underline-offset:2px; }
/* Un bouton posé dans le texte est un <a> : sans cette règle, .prose a l'emporte sur
   .btn par spécificité et le bouton sortait souligné, texte bleu foncé sur fond bleu. */
.prose a.btn{ color:var(--on-accent); text-decoration:none; }
.prose ul, .prose ol{ padding-left:22px; }
.prose li{ margin:0 0 8px; }
.prose li::marker{ color:var(--accent-dark); font-weight:700; }
.prose strong{ font-weight:700; }
.prose blockquote{ margin:26px 0; padding:4px 0 4px 20px; border-left:3px solid var(--accent); color:var(--ink-soft); font-size:17px; font-style:italic; }

/* Encadrés : le sable dit « information », l'orange pâle dit « conseil ». */
.encadre{ background:var(--bg-soft); border-radius:var(--r-md); padding:20px 24px; margin:26px 0; }
.encadre .titre{ font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--accent-dark); margin:0 0 10px; }
.encadre p:last-child, .encadre ul:last-child{ margin-bottom:0; }
.astuce{ background:var(--beak-pale); border-radius:var(--r-md); padding:18px 22px 18px 24px; margin:26px 0; border-left:4px solid var(--beak); }
.astuce .titre{ color:var(--beak-ink); }

/* Tableau de prix : chiffres tabulaires, ligne de total sobre. */
.prix{ width:100%; border-collapse:collapse; margin:8px 0 6px; font-size:15px; font-variant-numeric:tabular-nums; }
.prix th{ text-align:left; font-size:11.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-soft); padding:0 0 10px; }
.prix th:last-child, .prix td:last-child{ text-align:right; }
.prix td{ padding:11px 0; border-top:1px solid var(--line); }
.prix td:last-child{ font-weight:700; white-space:nowrap; }
.prix .note{ font-size:12.5px; color:var(--ink-soft); font-weight:400; display:block; margin-top:2px; }
.source{ font-size:12.5px; color:var(--ink-soft); margin:6px 0 0; }

/* Appel inséré dans le texte : orange pour l'achat, canard pour la réexpédition. */
.cta-inline{ border-radius:var(--r-lg); padding:26px 28px; margin:34px 0; display:grid; grid-template-columns:1fr auto; gap:18px; align-items:center; }
.cta-inline.achat{ background:var(--beak-pale); }
.cta-inline.reexp{ background:var(--accent-light); }
.cta-inline b{ display:block; font-size:17px; font-weight:800; margin-bottom:4px; letter-spacing:-.01em; }
.cta-inline span{ font-size:14px; color:var(--ink-soft); }
@media (max-width:600px){ .cta-inline{ grid-template-columns:1fr; } }

/* FAQ d'article : un <details> par question, comme sur faq.html. */
.faq details{ border-top:1px solid var(--line); padding:14px 0; }
.faq details:last-child{ border-bottom:1px solid var(--line); }
.faq summary{ cursor:pointer; list-style:none; font-weight:800; font-size:16px; display:flex; justify-content:space-between; gap:14px; align-items:center; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; font-size:20px; color:var(--accent-dark); flex:0 0 auto; transition:transform .15s; }
.faq details[open] summary::after{ transform:rotate(45deg); }
.faq details p{ margin:10px 0 0; color:var(--ink-soft); font-size:15px; line-height:1.65; }

.auteur{ display:flex; align-items:center; gap:14px; margin:40px 0 0; padding:20px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.auteur img{ width:52px; height:52px; border-radius:50%; }
.auteur b{ display:block; font-size:15px; }
.auteur span{ font-size:13.5px; color:var(--ink-soft); }

.lire-aussi{ padding:48px 0 60px; }
.lire-aussi h2{ font-size:22px; letter-spacing:-.02em; font-weight:800; margin:0 0 18px; }

@media (prefers-reduced-motion: reduce){
  .carte{ transition:none; } .carte:hover{ transform:none; }
  .piste{ scroll-behavior:auto; }
}
