/* ─── blog.css — romainfavier.fr/blog (mobile-first) ──────────────────
   Styles spécifiques aux pages blog (index + articles).
   Repose sur /base.css pour variables, reset, nav, layout, RGPD pill.
   ─────────────────────────────────────────────────────────────────── */

/* ─── Breadcrumb ─────────────────────────────────────────────────────── */
.breadcrumb {
  padding-top: 80px;
  padding-bottom: 18px;
}
@media (min-width: 768px) { .breadcrumb { padding-top: 90px; padding-bottom: 20px; } }
.breadcrumb ol {
  display: flex; align-items: center; gap: 8px;
  list-style: none;
  font-family: var(--ff-m); font-size: 11px; color: var(--tx2);
  letter-spacing: .05em; flex-wrap: wrap;
}
.breadcrumb li + li::before { content: '›'; opacity: .4; margin-right: 8px; }
.breadcrumb a:hover { color: var(--tx); }
.breadcrumb li:last-child { color: var(--tx2); }

/* ─── Article layout ─────────────────────────────────────────────────── */
.article-wrap {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 var(--px);
}

.article-header { padding: 32px 0 28px; }
@media (min-width: 768px) { .article-header { padding: 48px 0 40px; } }

.article-category {
  display: inline-block;
  font-family: var(--ff-m); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ac);
  border: 1px solid rgba(13,110,100,.3); border-radius: 2px;
  padding: 3px 10px; margin-bottom: 18px;
}
.article-title {
  font-family: var(--ff-d);
  font-size: clamp(26px, 7vw, 46px);
  font-weight: 300; line-height: 1.15; letter-spacing: -.02em;
  margin-bottom: 18px;
}
@media (min-width: 768px) { .article-title { font-size: clamp(32px, 5vw, 46px); margin-bottom: 20px; } }
.article-meta {
  font-family: var(--ff-m); font-size: 11px; color: var(--tx2);
  letter-spacing: .05em;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
}

/* ─── Article hero image ─────────────────────────────────────────────── */
.article-hero {
  margin-bottom: 32px;
  border-radius: 6px; overflow: hidden;
}
@media (min-width: 768px) { .article-hero { margin-bottom: 40px; } }
.article-hero img { width: 100%; height: auto; display: block; }

/* ─── Réponse directe (GEO) ──────────────────────────────────────────── */
.reponse-directe {
  background: var(--bg-warm);
  border-left: 3px solid var(--ac);
  border-radius: 0 3px 3px 0;
  padding: 18px 20px;
  margin-bottom: 36px;
}
@media (min-width: 768px) { .reponse-directe { padding: 20px 24px; margin-bottom: 48px; } }
.reponse-directe-label {
  font-family: var(--ff-m); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ac);
  margin-bottom: 8px; display: block;
}
.reponse-directe p { font-size: 14.5px; line-height: 1.75; color: var(--tx); margin: 0; }
@media (min-width: 768px) { .reponse-directe p { font-size: 15px; } }

/* ─── Article body ───────────────────────────────────────────────────── */
.article-body { font-size: 16px; line-height: 1.75; }
@media (min-width: 768px) { .article-body { font-size: 17px; line-height: 1.8; } }
.article-body p { margin-bottom: 20px; }
@media (min-width: 768px) { .article-body p { margin-bottom: 22px; } }
.article-body h2 {
  font-family: var(--ff-d);
  font-size: clamp(20px, 4.5vw, 26px);
  font-weight: 300; line-height: 1.2; letter-spacing: -.015em;
  margin: 36px 0 12px;
}
@media (min-width: 768px) { .article-body h2 { margin: 44px 0 14px; } }
.article-body ul {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: flex; flex-direction: column; gap: 8px;
}
@media (min-width: 768px) { .article-body ul { margin-bottom: 22px; } }
.article-body ul li {
  padding-left: 20px; position: relative;
  font-size: 15.5px; color: var(--tx2); line-height: 1.65;
}
@media (min-width: 768px) { .article-body ul li { font-size: 16px; } }
.article-body ul li::before { content: '—'; position: absolute; left: 0; color: var(--ac); }
.article-body strong { font-weight: 500; color: var(--tx); }
.article-body em { font-style: italic; }
.article-body a { color: var(--ac); border-bottom: 1px solid rgba(13,110,100,.4); transition: opacity .2s; }
.article-body a:hover { opacity: .75; }

/* ─── Avant / Après ──────────────────────────────────────────────────── */
.avant-apres {
  display: grid; grid-template-columns: 1fr;
  gap: 1px; background: var(--br);
  border: 1px solid var(--br); border-radius: 3px;
  margin: 30px 0; overflow: hidden;
}
@media (min-width: 768px) {
  .avant-apres { grid-template-columns: 1fr 1fr; margin: 36px 0; }
}
.avant-apres .avant,
.avant-apres .apres { padding: 22px 22px; font-size: 14px; line-height: 1.65; }
@media (min-width: 768px) { .avant-apres .avant, .avant-apres .apres { padding: 28px; font-size: 14.5px; } }
.avant-apres .avant { background: var(--bg-warm); color: var(--tx2); }
.avant-apres .apres { background: var(--dk); color: rgba(248,247,244,.85); }
.avant-apres .label {
  display: block;
  font-family: var(--ff-m); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 10px; opacity: .45;
}
.avant-apres .apres .label { color: var(--ac); opacity: 1; }
.avant-apres .chiffre {
  font-family: var(--ff-m); font-size: 24px; font-weight: 500;
  color: var(--ac); letter-spacing: -.02em;
}
@media (min-width: 768px) { .avant-apres .chiffre { font-size: 26px; } }

/* ─── Ce que ça ne règle pas ─────────────────────────────────────────── */
.ce-que-ca-ne-regle-pas {
  border-left: 3px solid var(--ac);
  border-radius: 0 3px 3px 0;
  background: var(--bg-warm);
  padding: 20px 22px;
  margin: 36px 0 0;
}
@media (min-width: 768px) { .ce-que-ca-ne-regle-pas { padding: 22px 26px; margin: 44px 0 0; } }
.ce-que-ca-ne-regle-pas h2 {
  font-size: 16px !important; letter-spacing: 0 !important;
  margin: 0 0 10px !important; font-weight: 500 !important;
  font-family: var(--ff-b) !important;
}
.ce-que-ca-ne-regle-pas p { font-size: 14.5px; color: var(--tx2); margin: 0; line-height: 1.75; }
@media (min-width: 768px) { .ce-que-ca-ne-regle-pas p { font-size: 15px; } }

/* ─── Séparateur + fin d'article ─────────────────────────────────────── */
.article-sep { border: none; border-top: 1px solid var(--br); margin: 36px 0 24px; }
@media (min-width: 768px) { .article-sep { margin: 40px 0 28px; } }
.article-fin p { font-size: 15px; color: var(--tx2); margin-bottom: 18px; font-style: italic; }
@media (min-width: 768px) { .article-fin p { font-size: 15.5px; margin-bottom: 20px; } }
.article-fin-ctas {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch;
  margin-top: 4px;
}
@media (min-width: 480px) { .article-fin-ctas { gap: 14px; align-items: center; } }
.article-fin .cta-bloc {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px;
  background: var(--ac); color: #fff; border-radius: 3px;
  font-size: 14px; font-weight: 500; min-height: 44px;
  transition: opacity .2s;
}
.article-fin .cta-bloc:hover { opacity: .85; }
.article-fin .cta-bloc-voice {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px;
  background: transparent; color: var(--tx);
  border: 1px solid var(--br); border-radius: 3px;
  font-size: 14px; font-weight: 500; min-height: 44px;
  transition: border-color .2s, background .2s;
}
.article-fin .cta-bloc-voice:hover {
  border-color: var(--tx); background: rgba(17,17,17,.03);
}

/* ─── FAQ ────────────────────────────────────────────────────────────── */
.faq-section {
  margin-top: 48px; padding-top: 36px;
  border-top: 1px solid var(--br);
}
@media (min-width: 768px) { .faq-section { margin-top: 60px; padding-top: 44px; } }
.faq-section > h2 {
  font-family: var(--ff-d);
  font-size: clamp(20px, 4.5vw, 26px);
  font-weight: 300; letter-spacing: -.015em;
  margin-bottom: 24px;
}
@media (min-width: 768px) { .faq-section > h2 { margin-bottom: 32px; } }
.faq-section .faq-item {
  padding: 20px 0; border-bottom: 1px solid var(--br);
}
@media (min-width: 768px) { .faq-section .faq-item { padding: 22px 0; } }
.faq-section .faq-item:last-child { border-bottom: none; }
.faq-section .faq-q {
  font-family: var(--ff-d); font-size: 17px; font-weight: 400;
  letter-spacing: -.01em; line-height: 1.3; margin-bottom: 8px;
}
@media (min-width: 768px) { .faq-section .faq-q { font-size: 18px; } }
.faq-section .faq-a { font-size: 14px; color: var(--tx2); line-height: 1.75; }
@media (min-width: 768px) { .faq-section .faq-a { font-size: 14.5px; } }

/* ─── À lire aussi ───────────────────────────────────────────────────── */
.a-lire-aussi {
  margin-top: 48px; padding-top: 36px;
  border-top: 1px solid var(--br);
}
@media (min-width: 768px) { .a-lire-aussi { margin-top: 60px; padding-top: 44px; } }
.a-lire-aussi h2 {
  font-family: var(--ff-m); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--tx2);
  margin-bottom: 20px;
}
@media (min-width: 768px) { .a-lire-aussi h2 { margin-bottom: 22px; } }
.a-lire-aussi ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.a-lire-aussi li a {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--ff-d); font-size: 16px; font-weight: 400;
  color: var(--tx); transition: color .2s; line-height: 1.35;
}
@media (min-width: 768px) { .a-lire-aussi li a { font-size: 17px; } }
.a-lire-aussi li a:hover { color: var(--ac); }
.a-lire-aussi li a::before { content: '→'; color: var(--ac); font-size: 14px; flex-shrink: 0; font-family: var(--ff-b); }

/* ─── Blog index ─────────────────────────────────────────────────────── */
.blog-hero {
  padding: 100px 0 48px;
  border-bottom: 1px solid var(--br);
}
@media (min-width: 768px)  { .blog-hero { padding: 110px 0 56px; } }
@media (min-width: 1024px) { .blog-hero { padding: 120px 0 60px; } }

.blog-hero-label {
  font-family: var(--ff-m); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--tx2);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
}
@media (min-width: 768px) { .blog-hero-label { font-size: 11px; gap: 16px; margin-bottom: 28px; } }
.blog-hero-label::after { content: ''; width: 36px; height: 1px; background: currentColor; opacity: .35; }
@media (min-width: 768px) { .blog-hero-label::after { width: 48px; } }

.blog-hero h1 {
  font-family: var(--ff-d);
  font-size: clamp(34px, 8vw, 60px);
  font-weight: 300; line-height: 1.1; letter-spacing: -.03em;
  margin-bottom: 18px;
}
@media (min-width: 768px) { .blog-hero h1 { font-size: clamp(42px, 6vw, 60px); } }
.blog-hero p {
  font-size: 16px; font-weight: 300; color: var(--tx2);
  max-width: 520px; line-height: 1.7;
}
@media (min-width: 768px) { .blog-hero p { font-size: 17px; } }

.blog-list { padding: 40px 0 56px; }
@media (min-width: 768px) { .blog-list { padding: 56px 0; } }
.blog-grid { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--br); }

.blog-card {
  display: grid; grid-template-columns: 1fr;
  gap: 14px; align-items: stretch;
  padding: 24px 0; border-bottom: 1px solid var(--br);
  border-left: 3px solid transparent; margin-left: -3px; padding-left: 0;
  color: inherit; transition: border-color .25s;
}
@media (min-width: 600px) {
  .blog-card {
    grid-template-columns: 140px 1fr auto;
    gap: 22px; align-items: center;
    padding: 28px 0;
  }
}
@media (min-width: 1024px) { .blog-card { padding: 32px 0; gap: 24px; } }

.blog-card-thumb {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover; border-radius: 4px;
  display: block;
  transition: opacity .25s;
}
@media (min-width: 600px) { .blog-card-thumb { width: 140px; flex-shrink: 0; } }

.blog-card:hover .blog-card-thumb { opacity: .85; }
.blog-card:hover { border-color: var(--ac); }
.blog-card:hover .blog-card-title { color: var(--ac); }
.blog-card:hover .blog-card-arrow { transform: translateX(5px); color: var(--ac); }
.blog-card-content { display: flex; flex-direction: column; gap: 8px; }
.blog-card-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  font-family: var(--ff-m); font-size: 10.5px; color: var(--tx2); letter-spacing: .06em;
}
.blog-card-cat { color: var(--ac); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.blog-card-title {
  font-family: var(--ff-d); font-size: 19px; font-weight: 400;
  line-height: 1.25; letter-spacing: -.01em; transition: color .2s;
}
@media (min-width: 768px) { .blog-card-title { font-size: 21px; line-height: 1.2; } }
.blog-card-excerpt {
  font-size: 14px; color: var(--tx2); line-height: 1.6; max-width: 600px;
}
.blog-card-arrow {
  display: none;
  font-size: 20px; color: var(--tx3); transition: transform .2s, color .2s;
}
@media (min-width: 600px) { .blog-card-arrow { display: inline; } }

/* ─── Lead magnet inline (fin d'article) ──────────────────────────── */
.lead-inline {
  margin: 44px 0 28px;
  background: linear-gradient(135deg, rgba(13,110,100,.05) 0%, rgba(198,106,63,.04) 100%);
  border: 1px solid var(--br); border-radius: 4px;
  padding: 22px;
  display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center;
  text-align: left;
}
@media (min-width: 600px) {
  .lead-inline {
    grid-template-columns: auto 1fr;
    gap: 24px; padding: 24px 28px;
    margin: 48px 0 32px;
  }
}
@media (min-width: 768px) { .lead-inline { padding: 26px 30px; gap: 28px; margin: 56px 0 36px; } }

.lead-inline-cover {
  width: 70px; aspect-ratio: 1/1.414;
  background: var(--bg-warm);
  border: 1px solid var(--br); border-radius: 2px;
  padding: 10px 9px;
  display: flex; flex-direction: column; justify-content: space-between;
  transform: rotate(-2deg);
  box-shadow: 0 8px 18px rgba(17,17,17,.07);
  flex-shrink: 0;
}
@media (min-width: 600px) { .lead-inline-cover { width: 84px; } }
.lead-inline-cover-logo {
  font-family: var(--ff-d); font-size: 9px; font-weight: 700;
  border: 1px solid var(--tx); border-radius: 2px;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
}
.lead-inline-cover-title {
  font-family: var(--ff-d); font-size: 12px; font-weight: 300;
  letter-spacing: -.01em; line-height: 1.1;
}
.lead-inline-cover-title em { color: var(--ac); font-style: italic; }
.lead-inline-body { display: flex; flex-direction: column; gap: 4px; }
.lead-inline-eyebrow {
  font-family: var(--ff-m); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ac); margin-bottom: 4px;
}
.lead-inline-title {
  font-family: var(--ff-d); font-size: 18px; font-weight: 400;
  letter-spacing: -.01em; line-height: 1.25;
}
@media (min-width: 768px) { .lead-inline-title { font-size: 20px; line-height: 1.2; } }
.lead-inline-title em { color: var(--ac); font-style: italic; }
.lead-inline-p {
  font-size: 14px; color: var(--tx2); line-height: 1.55;
  margin: 6px 0 12px;
}
.lead-inline-cta {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  padding: 11px 18px;
  background: var(--tx); color: var(--bg); border-radius: 3px;
  font-size: 13px; font-weight: 500; min-height: 40px;
  transition: opacity .2s;
}
.lead-inline-cta:hover { opacity: .85; }

/* ─── Footer (blog) ──────────────────────────────────────────────────── */
footer {
  padding: 28px 0; border-top: 1px solid var(--br);
  background: var(--bg); margin-top: 60px;
}
@media (min-width: 768px) { footer { margin-top: 80px; } }
.footer-in {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  font-size: 12.5px; color: var(--tx2);
}
@media (min-width: 600px) {
  .footer-in { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px 22px; }
@media (min-width: 768px) { .footer-links { gap: 24px; } }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--tx); }
.siret { font-family: var(--ff-m); font-size: 11px; color: var(--tx2); }
