/* ═══════════════════════════════════════════════════════════════
   VOX BATI — Blog
   Design intégré depuis la maquette "Blog VOX BATI" (Keevin).
   Responsive unique : mobile + tablette + PC. Tout scopé sous .blog.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --ink: #0a1422;
  --ink-2: #1a2a44;
  --mute: #5a6a82;
  --line: rgba(19, 39, 67, 0.08);
  --accent: #2EE87A;
  --accent-deep: #11C879;
  --bg: #f5f7fa;
  --paper: #ffffff;
  --radius: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
p, li { text-wrap: pretty; }

img { max-width: 100%; height: auto; }

/* ═══════════ HEADER (commun liste + article) ═══════════ */
.blog header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.blog-logo {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.blog-logo b { color: var(--ink); font-size: 16px; }
.blog-logo span { color: var(--accent-deep); font-size: 16px; }
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 500;
}
.nav .links { display: flex; gap: 18px; }
.nav a { color: var(--mute); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); font-weight: 600; }
.nav .cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  padding: 9px 16px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 8px 20px -6px rgba(46, 232, 122, 0.5);
  white-space: nowrap;
}
.nav .cta:hover { color: #fff; }

/* ═══════════ HERO (sombre) ═══════════ */
.hero {
  background: linear-gradient(160deg, #0a1422 0%, #132743 60%, #0a1422 100%);
  color: #fff;
  padding: 54px 24px 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 20% 0%, rgba(46, 232, 122, 0.18), transparent 60%),
    radial-gradient(40% 40% at 90% 100%, rgba(33, 150, 243, 0.12), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li:not(:last-child)::after { content: "›"; opacity: 0.4; }
.crumbs a { color: rgba(255, 255, 255, 0.6); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.hero h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin: 0 0 14px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #2EE87A, #a7ffcb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 620px;
}
.hero p.sub strong { color: #fff; font-weight: 700; }

/* ═══════════ FEATURED (grande carte sombre) ═══════════ */
.featured-row { max-width: 1100px; margin: 0 auto; padding: 28px 24px 0; }
.featured {
  background: linear-gradient(160deg, #0a1422 0%, #132743 100%);
  color: #fff;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  border: 1px solid rgba(46, 232, 122, 0.18);
  box-shadow: 0 30px 60px -24px rgba(13, 27, 42, 0.4);
  text-decoration: none;
}
.featured:hover { text-decoration: none; }
.featured .visual {
  background:
    radial-gradient(80% 60% at 50% 50%, rgba(46, 232, 122, 0.35), transparent 60%),
    linear-gradient(160deg, #11253f, #0a1422);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  position: relative;
}
.featured .visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 232, 122, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 232, 122, 0.07) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(circle, #000, transparent 75%);
  mask-image: radial-gradient(circle, #000, transparent 75%);
}
.featured .visual .badge {
  position: relative;
  z-index: 1;
  background: #fff;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 99px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.featured .info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.featured .cat {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.featured .cat::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 99px;
  background: var(--accent);
}
.featured h2 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.18;
  margin: 0;
  color: #fff;
}
.featured p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  margin: 0;
}
.featured p strong { color: #fff; }
.featured .btn {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0a1422;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
  width: fit-content;
  text-decoration: none;
}
.featured .btn:hover { background: #45ff8a; }

/* ═══════════ GRILLE D'ARTICLES ═══════════ */
.articles {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  gap: 20px;
}
.articles.grid-3 { grid-template-columns: repeat(3, 1fr); }
.articles.grid-2 { grid-template-columns: repeat(2, 1fr); }
.articles.grid-1 { grid-template-columns: 1fr; }

.post {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px -18px rgba(13, 27, 42, 0.18);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -20px rgba(13, 27, 42, 0.25);
  text-decoration: none;
}
.post .thumb {
  height: 160px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--c1, #eafff2), var(--c2, #d2f9e1));
  display: flex;
  align-items: center;
  justify-content: center;
}
.post .thumb svg { width: 56px; height: 56px; color: var(--accent-deep); opacity: 0.85; }
.post .thumb .cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 99px;
}
.post .body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.post h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}
.post .body p {
  font-size: 13px;
  color: var(--mute);
  margin: 0;
  line-height: 1.5;
}
.post .meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
  color: var(--mute);
}
.post .meta .read {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--accent-deep);
  margin-left: auto;
}

/* ═══════════ FOOTER (commun) ═══════════ */
.blog footer {
  background: #0a1422;
  color: #fff;
  padding: 32px 24px;
  margin-top: 40px;
  text-align: center;
}
.blog footer .foot-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 15px;
}
.blog footer p { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); margin: 6px 0; }
.blog footer .foot-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}
.blog footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  margin: 0 8px;
  font-size: 13px;
  font-weight: 600;
}
.blog footer a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════
   FILTRE PAR RUBRIQUE (page liste articles)
   ═══════════════════════════════════════════════════════════════ */
.blog-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 20px;
  margin: 4px auto 8px;
  max-width: 980px;
}
.blog-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.05s;
  -webkit-tap-highlight-color: transparent;
}
.blog-filter-chip:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}
.blog-filter-chip:active { transform: scale(0.97); }
.blog-filter-chip.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.blog-filter-chip.is-active:hover {
  background: var(--ink-2);
  color: #fff;
}
.blog-filter-count {
  font-size: 11.5px;
  opacity: 0.6;
  font-weight: 500;
}
.blog-filter-chip.is-active .blog-filter-count { color: var(--accent); opacity: 1; }
.blog-filter-empty {
  text-align: center;
  color: var(--mute);
  font-size: 14px;
  margin: 24px 0 0;
  padding: 0 20px;
}

/* Mobile : scroll horizontal sans wrap (gain de place) */
@media (max-width: 600px) {
  .blog-filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 16px 4px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    /* Cache scrollbar tout en gardant le scroll */
    scrollbar-width: none;
  }
  .blog-filter-bar::-webkit-scrollbar { display: none; }
  .blog-filter-chip {
    scroll-snap-align: start;
    flex: 0 0 auto;
    padding: 7px 12px;
    font-size: 13px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PAGE ARTICLE — layout de lecture (conteneur étroit, centré)
   ═══════════════════════════════════════════════════════════════ */
.blog-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
/* PC large : on elargit pour laisser de la place au texte cote a cote
   avec les screenshots phone (.article-illustrated). 860px reste lisible
   (~90 chars/ligne max sur texte simple, ~55 chars avec image a droite). */
@media (min-width: 1024px) {
  .blog-wrap { max-width: 860px; }
}
/* PC tres large + article avec sections illustrees : on pousse le conteneur
   a 1080px pour donner de l air au grid texte+mockup. Le texte simple
   (p, h2, h3, ul, callout, faq) reste contraint a 740px pour la lisibilite
   (~75 chars/ligne max). Seuls .article-illustrated, .screenshots-grid et
   .blog-table-wrap prennent toute la largeur. */
@media (min-width: 1100px) {
  .blog-wrap:has(.article-illustrated) { max-width: 1080px; }
  .blog-wrap:has(.article-illustrated) .blog-body > p,
  .blog-wrap:has(.article-illustrated) .blog-body > h2,
  .blog-wrap:has(.article-illustrated) .blog-body > h3,
  .blog-wrap:has(.article-illustrated) .blog-body > ul,
  .blog-wrap:has(.article-illustrated) .blog-body > ol,
  .blog-wrap:has(.article-illustrated) .blog-body > .blog-callout,
  .blog-wrap:has(.article-illustrated) .blog-body > .blog-faq {
    max-width: 740px;
  }
}

/* Fil d'Ariane (article) */
.blog-breadcrumb { font-size: 14px; margin: 26px 0 10px; }
.blog-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.blog-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--mute);
}
.blog-breadcrumb li:not(:last-child)::after { content: "›"; color: var(--mute); }
.blog-breadcrumb a { color: var(--mute); text-decoration: none; }
.blog-breadcrumb a:hover { color: var(--accent-deep); }
.blog-breadcrumb li[aria-current="page"] { font-weight: 600; color: var(--ink); }

/* En-tête d'article */
.blog-article-header { margin: 8px 0 28px; }
.blog-tag {
  display: inline-block;
  background: rgba(46, 232, 122, 0.12);
  color: var(--accent-deep);
  border: 1px solid rgba(46, 232, 122, 0.25);
  font-weight: 700;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.blog-article-header h1 {
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.18;
  margin: 14px 0 12px;
  text-wrap: balance;
}
/* Mots-clés mis en avant dans les titres : gradient vert VOX BATI */
.blog-article-header h1 em,
.blog-body h2 em,
.blog-body h3 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent-deep), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: inherit;
}
.blog-meta {
  font-size: 13.5px;
  color: var(--mute);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Corps d'article */
.blog-body {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-2);
  padding-bottom: 48px;
}
/* text-wrap: pretty evite les mots orphelins en bas des paragraphes
   (chrome 117+ / safari 17.4 / firefox 121 - bien supporte en 2026) */
.blog-body p { margin: 0 0 20px; text-wrap: pretty; }
.blog-body h2 {
  font-size: clamp(22px, 3.5vw, 27px);
  font-weight: 800;
  color: var(--ink);
  margin: 40px 0 14px;
  /* text-wrap: balance equilibre les lignes des titres pour eviter
     les ruptures moches (chrome 114+ / safari 17.5 / firefox 121) */
  text-wrap: balance;
}
.blog-body h3 {
  font-size: clamp(18px, 2.6vw, 21px);
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
  margin: 28px 0 10px;
}
.blog-body ul, .blog-body ol { margin: 0 0 20px; padding-left: 24px; }
.blog-body li { margin-bottom: 8px; }
.blog-body strong { color: var(--ink); font-weight: 700; }

/* Screenshots PWA dans les articles : mockup téléphone navy VOX BATI,
   le screenshot s'intègre comme dans un écran de smartphone. Style cohérent
   avec la landing page. */
.article-screenshot {
  margin: 32px 0;
  text-align: center;
}
/* Cadre téléphone : padding sombre tout autour + radius arrondi (style iPhone)
   + ombre douce. Pas de "notch" pour ne pas masquer la barre de statut native
   du screenshot (heure + batterie + WiFi). */
.article-screenshot img {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: inline-block;
  /* Mockup phone */
  background: #0a1422;
  padding: 10px 8px;
  border-radius: 34px;
  border: 2px solid #1a2a44;
  box-shadow:
    0 25px 50px -15px rgba(13, 27, 42, 0.4),
    0 10px 20px -8px rgba(13, 27, 42, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  image-rendering: -webkit-optimize-contrast;
}
.article-screenshot figcaption {
  font-size: 13px;
  color: var(--mute);
  font-style: italic;
  margin-top: 14px;
  line-height: 1.5;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Sur tablette/desktop : taille mockup augmente legerement */
@media (min-width: 768px) {
  .article-screenshot img { max-width: 300px; }
}

/* Groupe de plusieurs screenshots par famille (ex: section "Devis BTP" avec
   stepper + PDF). Mobile-first : empile verticalement. Desktop : cote a cote. */
.screenshots-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
  align-items: center;
}
.screenshots-grid .article-screenshot {
  margin: 0;
  width: 100%;
  max-width: 320px;
}
@media (min-width: 768px) {
  .screenshots-grid {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    flex-wrap: wrap;
  }
  .screenshots-grid .article-screenshot {
    flex: 0 1 320px;
    max-width: 320px;
  }
}

/* Section illustrée : titre h3 + paragraphe descriptif à gauche,
   mockup phone à droite (desktop). Mobile : pile verticale naturelle.
   Alternance gauche/droite via .article-illustrated.flip pour le rythme visuel. */
.article-illustrated {
  margin: 36px 0;
}
.article-illustrated > h3 { margin-top: 0; }
.article-illustrated .article-screenshot { margin: 24px 0 0; }

@media (min-width: 900px) {
  /* Grid 2 col uniquement si la section contient une image (sinon le texte
     reste en bloc full width - utile quand on retire une figure) */
  .article-illustrated:has(.article-screenshot) {
    display: grid;
    grid-template-columns: 1.5fr minmax(280px, 320px);
    gap: 48px;
    align-items: center;
    margin: 56px 0;
  }
  .article-illustrated.flip:has(.article-screenshot) {
    grid-template-columns: minmax(280px, 320px) 1.5fr;
  }
  .article-illustrated.flip > .article-illustrated-text {
    order: 2;
  }
  .article-illustrated.flip > .article-screenshot {
    order: 1;
  }
  .article-illustrated > .article-screenshot {
    margin: 0;
    align-self: center;
  }
  .article-illustrated > h3 { margin-top: 0; }
}
.blog-body a { color: var(--accent-deep); font-weight: 600; }

.blog-lead {
  font-size: 19px;
  color: var(--mute);
  margin-bottom: 26px !important;
}

/* Encadré "à retenir" */
.blog-callout {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 28px 0;
}
.blog-callout .callout-title {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--ink);
}
.blog-callout p { margin: 0; }
.blog-callout strong { color: var(--ink); }

/* Tableau */
.blog-table-wrap { overflow-x: auto; margin: 12px 0 24px; -webkit-overflow-scrolling: touch; }
.blog-table-hint {
  font-size: 13px;
  color: var(--mute);
  margin: 0 0 6px;
  font-style: italic;
  display: none;
}
.blog-table-note {
  font-size: 14px;
  color: var(--mute);
  margin: 8px 0 24px;
  line-height: 1.5;
}
.blog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 460px;
  background: var(--paper);
  border-radius: 12px;
  overflow: hidden;
}
.blog-table th, .blog-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.blog-table th {
  background: var(--ink);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.blog-table tr:last-child td { border-bottom: none; }
.blog-table tbody tr:nth-child(even) { background: rgba(13, 27, 42, 0.025); }

/* Pills VOX BATI pour comparatifs (remplacent les emojis ✅❌) */
.cmp-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  line-height: 1.4;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.cmp-yes {
  background: rgba(46, 232, 122, 0.16);
  color: #0d7a3a;
  border: 1px solid rgba(46, 232, 122, 0.4);
}
.cmp-no {
  background: rgba(220, 38, 38, 0.08);
  color: #991b1b;
  border: 1px solid rgba(220, 38, 38, 0.25);
}
.cmp-partial {
  background: rgba(13, 27, 42, 0.06);
  color: #475569;
  border: 1px solid rgba(13, 27, 42, 0.15);
}
.cmp-price {
  font-weight: 700;
  color: var(--ink);
  font-size: 14.5px;
}
.cmp-row-vox td {
  background: rgba(46, 232, 122, 0.07) !important;
  font-weight: 600;
}
.cmp-row-vox td:first-child {
  border-left: 3px solid #2EE87A;
}

/* Mobile-first : sur petit écran, table devient des cards */
@media (max-width: 640px) {
  .blog-table-hint { display: block; }
  .blog-table { font-size: 14px; min-width: 480px; }
  .blog-table th, .blog-table td { padding: 10px 10px; }
  .cmp-pill { font-size: 11.5px; padding: 2px 8px; }
}

/* FAQ */
.blog-faq { margin: 32px 0; }
.blog-faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
}
.blog-faq-item h3 { font-size: 17px; font-weight: 800; color: var(--ink); margin: 0 0 8px; }
.blog-faq-item p { margin: 0; color: var(--mute); font-size: 15.5px; }

/* CTA VOX BATI dans l'article */
.blog-cta {
  background: linear-gradient(160deg, #0a1422 0%, #132743 100%);
  border-radius: var(--radius);
  padding: 32px 28px;
  margin: 40px 0;
  text-align: center;
}
.blog-cta h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
}
.blog-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 20px;
  font-size: 15px;
}
/* Strong dans la CTA : couleur claire (sinon herite du strong sombre du body
   et devient invisible sur le fond sombre du CTA). */
.blog-cta p strong { color: #fff; font-weight: 800; }
/* Code promo : vert accent VOX BATI pour ressortir comme une offre */
.blog-cta p strong.code-promo {
  color: var(--accent);
  background: rgba(46, 232, 122, 0.15);
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

/* Badge "FR" sur le bandeau RGPD : design propre VOX BATI (navy + vert),
   remplace l'emoji drapeau qui faisait moins pro */
.trust-badge {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(46, 232, 122, 0.12);
  border: 1px solid rgba(46, 232, 122, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
  vertical-align: 2px;
  margin-right: 2px;
}

/* Bandeau "Offre de lancement" en contexte article (pas dans .blog-cta) :
   fond vert leger + bordure verte, plus visible que le paragraphe standard.
   Le code promo a sa propre classe .code-promo (gradient vert). */
.blog-promo-launch {
  background: linear-gradient(135deg, rgba(46, 232, 122, 0.08), rgba(17, 200, 121, 0.04));
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
  font-size: 15px;
  line-height: 1.6;
}
.blog-promo-launch strong { color: var(--ink); }
.blog-promo-launch strong.code-promo {
  color: var(--accent-deep);
  background: rgba(46, 232, 122, 0.18);
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  font-weight: 800;
}
/* Sélecteur .blog-cta .blog-cta-btn : spécificité (0,0,2,0) pour battre
   .blog-body a (0,0,1,1) qui sinon repeint le texte en vert sur vert.
   color en #0a1422 !important : garantie absolue de lisibilité du CTA. */
.blog-cta .blog-cta-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: var(--accent);
  color: #0a1422 !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  padding: 18px 40px;
  border-radius: 14px;
  text-decoration: none;
  min-height: 60px;
  box-shadow: 0 14px 30px -8px rgba(46, 232, 122, 0.55);
}
.blog-cta .blog-cta-btn small {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  color: #0a1422 !important;
  opacity: 0.78;
}
.blog-cta .blog-cta-btn:hover { background: #45ff8a; color: #0a1422 !important; }

.blog-cta-trust {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 13px !important;
  margin: 18px 0 0 !important;
  padding: 12px 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 1.5;
}
.blog-cta-trust a {
  color: #2ee87a;
  text-decoration: underline;
}
.blog-cta-trust a:hover { color: #45ff8a; }

.blog-source {
  font-size: 12.5px;
  color: var(--mute);
  font-style: italic;
  margin-top: 8px;
}

.blog-disclaimer {
  font-size: 13.5px;
  color: var(--mute);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

/* ─── Tablette ─── */
@media (min-width: 601px) and (max-width: 1024px) {
  .articles.grid-3, .articles.grid-2 { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 44px 20px 52px; }
  .hero h1 { font-size: 34px; }
  .featured h2 { font-size: 23px; }
  .blog-wrap { max-width: 680px; padding: 0 32px; }
}

/* ─── PC ─── */
@media (min-width: 1025px) {
  .blog-wrap { max-width: 680px; }
  .blog-body p { margin-bottom: 22px; }
}

/* ─── Mobile ─── */
@media (max-width: 600px) {
  .blog header { padding: 10px 16px; }
  .blog-logo b, .blog-logo span { font-size: 14px; }
  .nav .links { display: none; }
  .nav .cta { padding: 8px 13px; font-size: 11.5px; }

  .hero { padding: 38px 18px 46px; }
  .hero h1 { font-size: 27px; }
  .hero p.sub { font-size: 14px; }

  .featured-row { padding: 18px 16px 0; }
  .featured { grid-template-columns: 1fr; }
  .featured .visual { min-height: 140px; }
  .featured .info { padding: 22px; gap: 11px; }
  .featured h2 { font-size: 20px; }

  .articles { padding: 18px 16px; gap: 14px; }
  .articles.grid-3, .articles.grid-2 { grid-template-columns: 1fr; }
  .post .thumb { height: 130px; }

  .blog footer { padding: 28px 18px; }

  /* Article */
  .blog-wrap { padding: 0 18px; }
  .blog-body { font-size: 17px; line-height: 1.8; }
  .blog-body h2 { margin: 34px 0 12px; }
  .blog-body p { margin-bottom: 18px; }
  .blog-body li { margin-bottom: 10px; }
  .blog-article-header h1 { font-size: 26px; }
  .blog-lead { font-size: 17px; }
  .blog-callout { padding: 16px 18px; }
  .blog-cta { padding: 26px 20px; }
  .blog-cta .blog-cta-btn { width: 100%; padding: 16px 24px; font-size: 17px; }
  .blog-faq-item { padding: 16px 18px; }
}
