/* ============================================================
 * assets/style.css
 * ----------------
 * guide-sejour.fr — Blog "Bienvenu"
 *
 * Style éditorial chaleureux, mobile-first.
 * Palette : terracotta + teal sur fond crème, typographie
 * Newsreader (serif) + Manrope (sans).
 *
 * Sommaire :
 *  1. Reset & tokens
 *  2. Base typo + utilitaires (.container, .btn, .eyebrow)
 *  3. Header + nav
 *  4. Page liste : hero, grille de cartes, strip CTA
 *  5. Page article : header, cover, corps, CTA, related
 *  6. Composants de contenu : checklist, callout, screenshot, compare
 *  7. Footer
 *  8. Page 404
 *  9. Responsive (≥ 720px, ≥ 1040px)
 * ============================================================ */


/* ============================================================
 * 1. Reset & tokens
 * ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

:root {
  /* Couleurs */
  --cream:        #FAF6EF;
  --cream-2:      #F3ECDE;
  --cream-3:      #ECE3D0;
  --ink:          #1F1B16;
  --ink-soft:     #5A5247;
  --ink-mute:     #8A8175;
  --line:         #E8E0CE;
  --line-soft:    #F0E9D9;

  --terracotta:       #C45A2B;
  --terracotta-dark:  #A04421;
  --terracotta-soft:  #FBE6D7;

  --teal:        #15514E;
  --teal-dark:   #0F3D3B;
  --teal-soft:   #E1ECE9;

  --sun:         #E8A33D;

  /* Typo */
  --font-serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Espaces */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  /* Rayons */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Ombres */
  --shadow-sm: 0 1px 2px rgba(31,27,22,.04), 0 2px 6px rgba(31,27,22,.04);
  --shadow-md: 0 6px 18px -8px rgba(31,27,22,.18), 0 2px 6px rgba(31,27,22,.06);
  --shadow-lg: 0 24px 48px -20px rgba(31,27,22,.28), 0 8px 20px -12px rgba(31,27,22,.12);
}


/* ============================================================
 * 2. Base typo + utilitaires
 * ============================================================ */
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-main { display: block; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--terracotta); }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow {
  max-width: 720px;
}

/* Eyebrow : petit label au-dessus d'un titre */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--sp-4);
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }

.btn--primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 6px 14px -8px rgba(196,90,43,.6);
}
.btn--primary:hover {
  background: var(--terracotta-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -10px rgba(196,90,43,.7);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  background: var(--cream-2);
  color: var(--ink);
}

.btn--light {
  background: var(--cream);
  color: var(--ink);
}
.btn--light:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-1px);
}


/* ============================================================
 * 3. Header + nav
 * ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, .85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand__mark {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--terracotta);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 0 var(--terracotta-dark);
}
.brand__text {
  display: flex; flex-direction: column; line-height: 1.1;
}
.brand__name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -.01em;
}
.brand__sub {
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: .04em;
}

.site-nav {
  display: none;
  gap: 4px;
}
.site-nav__link {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
}
.site-nav__link:hover {
  background: var(--cream-2);
  color: var(--ink);
}
.site-nav__link--active {
  color: var(--ink);
  background: var(--cream-2);
}

.site-header__cta { white-space: nowrap; }


/* ============================================================
 * 4. Page liste
 * ============================================================ */

/* --- Hero --- */
.blog-hero {
  padding: var(--sp-7) 0 var(--sp-6);
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  /* halo coloré derrière le titre */
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60%;
  height: 100%;
  background: radial-gradient(closest-side, rgba(232,163,61,.18), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.blog-hero .container { position: relative; z-index: 1; }

.blog-hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(34px, 7vw, 60px);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: var(--sp-4);
}
.blog-hero__title em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 400;
}

.blog-hero__lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 560px;
}

/* --- Section heading --- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--sp-6);
}
.section-head__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -.01em;
  color: var(--ink);
}
.section-head__count {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* --- Grille --- */
.blog-list { padding: var(--sp-5) 0 var(--sp-8); }

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

/* --- Carte --- */
.card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}

.card__cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--cream-2);
  overflow: hidden;
}
.card__cover-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }

.card__category {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.card__body {
  padding: var(--sp-5) var(--sp-5) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}
.card__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink);
}
.card__title a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--terracotta), var(--terracotta));
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: 0 100%;
  transition: background-size .3s ease;
}
.card__title a:hover {
  color: var(--ink);
  background-size: 100% 2px;
}
.card__excerpt {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.card__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: auto;
}
.card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-2);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--terracotta);
  text-decoration: none;
}
.card__cta:hover { color: var(--terracotta-dark); gap: 10px; }

/* Carte featured (premier article) */
.card--featured .card__title { font-size: 28px; }

/* --- Strip CTA --- */
.strip-cta {
  background: var(--teal);
  color: #fff;
  padding: var(--sp-7) 0;
  margin-top: var(--sp-6);
  position: relative;
  overflow: hidden;
}
.strip-cta::before {
  content: "";
  position: absolute;
  inset: auto auto -40% -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(closest-side, rgba(232,163,61,.25), transparent 70%);
  pointer-events: none;
}
.strip-cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-5);
}
.strip-cta h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.15;
  letter-spacing: -.01em;
}
.strip-cta p {
  color: rgba(255,255,255,.78);
  font-size: 16px;
  margin-top: var(--sp-3);
}


/* ============================================================
 * 5. Page article
 * ============================================================ */

/* --- Header d'article --- */
.article-head {
  padding: var(--sp-7) 0 var(--sp-5);
}

.breadcrumb {
  font-size: 13px;
  color: var(--ink-mute);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--sp-5);
}
.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--terracotta); }
.breadcrumb__current { color: var(--ink); font-weight: 600; }

.article-head__category {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--sp-4);
}

.article-head__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(30px, 5.5vw, 50px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  max-width: 18ch;
  margin-bottom: var(--sp-5);
  text-wrap: balance;
}

.article-head__accroche {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(18px, 2.3vw, 22px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: var(--sp-5);
}

.article-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  font-size: 14px;
  color: var(--ink-mute);
}
.article-head__meta > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --- Cover de l'article (photo) --- */
.article-cover {
  height: 320px;
  border-radius: var(--r-lg);
  margin: 0 20px var(--sp-6);
  overflow: hidden;
}
.article-cover img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

/* --- Corps de l'article --- */
.article-body {
  padding-bottom: var(--sp-7);
}

/* Typographie de lecture longue */
.article-body p,
.article-body ul,
.article-body ol,
.article-body figure,
.article-body aside,
.article-body .compare {
  margin-bottom: var(--sp-5);
}
.article-body p {
  font-size: 18px;
  line-height: 1.7;
  color: #2D281F;
  text-wrap: pretty;
}
.article-body p.lede {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink);
  border-left: 3px solid var(--terracotta);
  padding-left: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.article-body h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-top: var(--sp-7);
  margin-bottom: var(--sp-4);
  scroll-margin-top: 80px;
}
.article-body h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.005em;
  color: var(--ink);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
}
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body em { font-style: italic; }
.article-body a:not(.btn) {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(21,81,78,.35);
}
.article-body a:not(.btn):hover {
  color: var(--terracotta);
  text-decoration-color: var(--terracotta);
}

/* Listes du corps */
.article-body ul {
  padding-left: 0;
  list-style: none;
}
.article-body ul > li {
  position: relative;
  padding-left: 26px;
  margin-bottom: var(--sp-3);
  font-size: 17px;
  line-height: 1.65;
  color: #2D281F;
}
.article-body ul:not(.checklist) > li::before {
  content: "";
  position: absolute;
  left: 6px; top: 12px;
  width: 8px; height: 8px;
  background: var(--terracotta);
  border-radius: 999px;
}

/* Checklist : puces "✓" */
.article-body ul.checklist > li {
  padding-left: 34px;
}
.article-body ul.checklist > li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 22px; height: 22px;
  background: var(--terracotta-soft);
  border-radius: 999px;
}
.article-body ul.checklist > li::after {
  content: "";
  position: absolute;
  left: 7px; top: 11px;
  width: 8px; height: 5px;
  border-left: 2px solid var(--terracotta-dark);
  border-bottom: 2px solid var(--terracotta-dark);
  transform: rotate(-45deg);
}


/* ============================================================
 * 6. Composants de contenu
 * ============================================================ */

/* --- Callout --- */
.callout {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-5);
  background: var(--teal-soft);
  border-radius: var(--r-md);
  border-left: 4px solid var(--teal);
  color: var(--ink);
}
.callout__body {
  font-size: 17px;
  line-height: 1.55;
}
.callout--stat {
  background: linear-gradient(135deg, #FFF, var(--terracotta-soft));
  border: 1px solid var(--terracotta-soft);
  border-left: 4px solid var(--terracotta);
  align-items: center;
  padding: var(--sp-5) var(--sp-6);
}
.callout--stat .callout__num {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 64px;
  line-height: 1;
  color: var(--terracotta);
  letter-spacing: -.03em;
  flex-shrink: 0;
}
.callout--stat .callout__body {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* --- Capture d'écran (placeholder) --- */
.screenshot {
  display: block;
  margin: var(--sp-6) 0;
}
.screenshot__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--cream-2);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent 0 12px,
      rgba(196,90,43,.05) 12px 24px
    );
}
.screenshot__label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.screenshot figcaption {
  margin-top: var(--sp-3);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-mute);
  text-align: center;
  font-style: italic;
}

/* Variantes par contexte (inbox / app / welcome / reco) */
.screenshot__frame--inbox {
  background-color: #F1ECDD;
}
.screenshot__frame--inbox::before {
  /* faux toolbar */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 36px;
  background: #FFF;
  border-bottom: 1px solid var(--line-soft);
  border-radius: var(--r-md) var(--r-md) 0 0;
}

/* Variante "mockup smartphone" pour les captures app */
.screenshot--phone .screenshot__frame {
  width: min(280px, 70%);
  margin: 0 auto;
  aspect-ratio: 9 / 17;
  background: #1F1B16;
  border: 12px solid #1F1B16;
  border-radius: 38px;
  background-image: none;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.screenshot--phone .screenshot__frame::after {
  /* écran intérieur */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cream);
  border-radius: 26px;
}
.screenshot--phone .screenshot__frame::before {
  /* notch */
  content: "";
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #1F1B16;
  border-radius: 999px;
  z-index: 2;
}
.screenshot--phone .screenshot__label {
  position: relative;
  z-index: 3;
}

.screenshot__frame--app::after  { background: linear-gradient(180deg, #FFF, #F6EFE2); }
.screenshot__frame--welcome::after { background: linear-gradient(180deg, #F4D3B8, #FAF6EF); }
.screenshot__frame--reco::after { background: linear-gradient(180deg, #E1ECE9, #FAF6EF); }

/* Vraies photos */
.screenshot--photo {
  margin: var(--sp-6) auto;
  max-width: 640px;
}
.screenshot--photo img {
  display: block;
  width: 100%;
  max-height: 420px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  object-position: center top;
}
.screenshot--photo.screenshot--portrait {
  max-width: 380px;
}
.screenshot--photo.screenshot--portrait img {
  max-height: 680px;
  border-radius: var(--r-xl);
  object-position: center center;
}
.screenshot--photo figcaption {
  margin-top: var(--sp-3);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-mute);
  text-align: center;
  font-style: italic;
}

/* --- Phone mockup (article) --- */
.bp-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: var(--sp-7) auto;
}
.bp-frame {
  position: relative;
  width: 264px;
  background: #1e1a17;
  border-radius: 42px;
  padding: 9px;
  box-shadow: 0 40px 100px rgba(0,0,0,.38), 0 0 0 1px rgba(255,255,255,.07);
  transform: rotate(-1.5deg);
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.bp-frame:hover { transform: rotate(0deg) scale(1.02); }
.bp-frame::before {
  content: '';
  position: absolute;
  top: 15px; left: 50%;
  transform: translateX(-50%);
  width: 74px; height: 22px;
  background: #0d0a08;
  border-radius: 12px;
  z-index: 10;
}
.bp-screen {
  background: #faf6ef;
  border-radius: 34px;
  overflow: hidden;
  font-family: 'Manrope', var(--font-sans);
}
.bp-hero {
  height: 210px;
  background: linear-gradient(180deg, transparent 40%, rgba(42,37,32,.62) 100%),
              linear-gradient(135deg, #c8593a 0%, #8b3a24 50%, #4a5d3a 100%);
  position: relative;
  overflow: hidden;
}
.bp-hero svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: .9;
}
.bp-hero-content {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  color: #faf6ef; z-index: 2;
}
.bp-eyebrow {
  font-size: 8px; letter-spacing: .25em; text-transform: uppercase;
  opacity: .8; margin-bottom: 4px; font-weight: 500;
}
.bp-title {
  font-family: 'Fraunces', serif;
  font-weight: 300; font-size: 24px;
  line-height: 1.05; letter-spacing: -.02em;
}
.bp-title em { font-style: italic; }
.bp-badge {
  display: inline-block; margin-top: 8px;
  padding: 3px 9px;
  background: rgba(250,246,239,.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(250,246,239,.3);
  border-radius: 100px; font-size: 9px; font-weight: 500;
}
.bp-quickbar {
  margin: -18px 14px 0;
  background: #faf6ef;
  border-radius: 14px; padding: 11px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  box-shadow: 0 8px 24px rgba(42,37,32,.13);
  position: relative; z-index: 3;
}
.bp-qi { text-align: center; padding: 3px; }
.bp-qi + .bp-qi { border-left: 1px solid #ede4d3; }
.bp-qi-icon { font-size: 13px; margin-bottom: 2px; }
.bp-qi-label { font-size: 7px; letter-spacing: .12em; text-transform: uppercase; color: #8a8175; margin-bottom: 1px; }
.bp-qi-value { font-family: 'Fraunces', serif; font-size: 11px; font-weight: 500; color: #2a2520; }
.bp-section-title {
  padding: 18px 16px 10px;
  font-family: 'Fraunces', serif;
  font-size: 14px; font-weight: 500; letter-spacing: -.01em;
  color: #2a2520;
}
.bp-cards {
  padding: 0 12px 18px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.bp-card {
  border-radius: 14px; padding: 11px;
  display: flex; flex-direction: column;
  justify-content: space-between; gap: 14px;
  aspect-ratio: 1 / 1.05;
}
.bp-card-label { font-family: 'Fraunces', serif; font-size: 11px; font-weight: 500; line-height: 1.2; }
.bp-card.c1 { background: linear-gradient(135deg, #c8593a, #8b3a24); color: #faf6ef; }
.bp-card.c2 { background: #f5efe6; border: 1px solid #ede4d3; color: #2a2520; }
.bp-card.c3 { background: #e1ece9; border: 1px solid #c5ddd8; color: #15514e; }
.bp-card.c4 { background: #fdf3e8; border: 1px solid #f0e0c4; color: #7a4a14; }
.bp-caption {
  margin-top: 16px;
  font-size: 13px; font-style: italic;
  color: var(--ink-mute);
  text-align: center; line-height: 1.5;
  max-width: 290px;
}

/* --- Comparaison avant / après --- */
.compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin: var(--sp-6) 0;
}
.compare__col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
}
.compare__col ul { padding-left: 0; list-style: none; margin-bottom: var(--sp-4); }
.compare__col ul li {
  padding-left: 22px;
  margin-bottom: var(--sp-2);
  position: relative;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.compare__col ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 2px;
}
.compare__col--bad ul li::before { background: var(--ink-mute); }
.compare__col--good ul li::before { background: var(--terracotta); }

.compare__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: var(--sp-3);
}
.compare__col--bad .compare__tag {
  background: #F4EEDF; color: var(--ink-soft);
}
.compare__col--good .compare__tag {
  background: var(--terracotta-soft); color: var(--terracotta-dark);
}
.compare__verdict {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  padding-top: var(--sp-3);
  border-top: 1px dashed var(--line);
}

/* --- CTA d'article --- */
.article-cta {
  padding: var(--sp-7) 0;
}
.article-cta__card {
  background: var(--teal);
  color: #FFF;
  border-radius: var(--r-xl);
  padding: var(--sp-7) var(--sp-5);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.article-cta__card::before {
  content: "";
  position: absolute;
  inset: -60% -20% auto auto;
  width: 80%;
  height: 200%;
  background: radial-gradient(closest-side, rgba(232,163,61,.3), transparent 70%);
  pointer-events: none;
}
.article-cta__card > * { position: relative; }
.article-cta__kicker {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  font-weight: 600;
  margin-bottom: var(--sp-4);
}
.article-cta__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(26px, 4.5vw, 38px);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: var(--sp-4);
}
.article-cta__title em {
  font-style: italic;
  color: var(--sun);
  font-weight: 400;
}
.article-cta__lede {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,.82);
  max-width: 520px;
  margin: 0 auto var(--sp-6);
}
.article-cta__reassure {
  margin-top: var(--sp-4);
  font-size: 13px;
  color: rgba(255,255,255,.6);
}

/* --- Related --- */
.related {
  padding: var(--sp-5) 0 var(--sp-8);
}
.related__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--sp-4);
}
.related__card {
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.related__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.related__cover {
  height: 120px;
  overflow: hidden;
}
.related__cover img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.related__body { padding: var(--sp-5); }
.related__category {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--sp-3);
}
.related__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: var(--sp-3);
  color: var(--ink);
}
.related__excerpt {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: var(--sp-4);
}
.related__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--terracotta);
  font-weight: 600;
  font-size: 14.5px;
}


/* ============================================================
 * 7. Footer
 * ============================================================ */
.site-footer {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  padding-top: var(--sp-8);
  margin-top: var(--sp-7);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
}
.brand--footer .brand__mark { background: var(--teal); box-shadow: 0 2px 0 var(--teal-dark); }
.site-footer__tagline {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-top: var(--sp-4);
  max-width: 320px;
}
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.site-footer__col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: var(--sp-4);
}
.site-footer__col ul { list-style: none; }
.site-footer__col li { margin-bottom: 10px; }
.site-footer__col a {
  font-size: 14.5px;
  color: var(--ink-soft);
  text-decoration: none;
}
.site-footer__col a:hover { color: var(--terracotta); }

.site-footer__bottom {
  margin-top: var(--sp-7);
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-mute);
}


/* ============================================================
 * 8. Page 404
 * ============================================================ */
.error-page { padding: var(--sp-9) 0; }
.error-page__inner { max-width: 560px; }
.error-page h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.1;
  margin-bottom: var(--sp-4);
  letter-spacing: -.01em;
}
.error-page p { color: var(--ink-soft); margin-bottom: var(--sp-5); font-size: 17px; }


/* ============================================================
 * 9. Responsive
 * ============================================================ */
@media (min-width: 720px) {
  .container { padding: 0 32px; }

  .blog-hero { padding: var(--sp-8) 0 var(--sp-7); }
  .blog-list { padding: var(--sp-7) 0 var(--sp-9); }

  .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
  }

  .strip-cta__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .strip-cta__text { max-width: 60%; }

  .article-cover { height: 320px; margin: 0 32px var(--sp-7); }

  .article-cta__card { padding: var(--sp-8) var(--sp-7); }

  .related__card {
    grid-template-columns: 220px 1fr;
  }
  .related__cover { height: 100%; min-height: 180px; }

  .compare {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1.2fr 2fr;
    gap: var(--sp-8);
  }
}

@media (min-width: 1040px) {
  .site-nav { display: flex; }

  .blog-hero__title { font-size: 64px; }

  /* Première carte mise en valeur en pleine largeur */
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}
