/* ═══════════════════════════════════════════════════════════
   ADesign — Feuille de style du BLOG
   Reprise stricte du CSS de index.html (topbar, header, footer,
   responsive) + styles propres aux pages blog.
   Utilisée UNIQUEMENT par /blog/ — les pages existantes du site
   conservent leur CSS inline et ne sont pas affectées.
   ═══════════════════════════════════════════════════════════ */

/* ---------- Base (identique index.html) ---------- */
:root{--bg-dark:#2b2325;--bg-darker:#231c1e;--gold:#9b744e;--gold-2:#a07957;--text:#1b1b1b;--muted:#6b6b6b;--card:#2a2426;--white:#fff;--shadow:0 10px 30px rgba(0,0,0,.18);--container:1180px}
*{box-sizing:border-box}
html,body{height:100%;overflow-x:hidden}
body{margin:0;font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--text);background:#fff}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:var(--container);margin:0 auto;padding:0 24px}
.icon{width:16px;height:16px;fill:#fff;opacity:.95}

/* ---------- Top bar ---------- */
.topbar{background:var(--gold);color:#f7f2ec;font-size:14px;line-height:1.2}
.topbar .container{display:flex;align-items:center;justify-content:space-between;padding:10px 24px;gap:14px}
.topbar .msg{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.95}
.topbar .social{display:flex;gap:10px;align-items:center}
.icon-btn{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:rgba(255,255,255,.12)}
.icon-btn:hover{background:rgba(255,255,255,.18)}

/* ---------- Header ---------- */
header{background:linear-gradient(90deg,#0f0f10 0%, #1a171a 35%, #131113 100%);position:sticky;top:0;z-index:50;box-shadow:0 8px 20px rgba(0,0,0,.18)}
.navwrap{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;position:relative}
.brand{display:flex;align-items:flex-start;gap:12px;min-width:260px}
.brandmark{width:140px;max-width:140px;height:auto}
.brandtxt{display:flex;flex-direction:column;gap:6px}
.brandtxt .sub{color:var(--gold);font-size:15px;letter-spacing:.2px}

nav{display:flex;align-items:center;gap:22px}
nav a{color:#fff;font-weight:600;letter-spacing:.6px;font-size:14px;opacity:.92;text-transform:uppercase}
nav a:hover{opacity:1}

.navbtn{display:none;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);cursor:pointer}
.navbtn svg{width:22px;height:22px;fill:#fff}

/* ---------- Sections (identique index.html) ---------- */
section{padding:64px 0}
.section-title{font-size:34px;letter-spacing:.06em;text-transform:uppercase;text-align:center;margin:0 0 28px}
.section-rule{width:220px;height:2px;background:var(--gold);margin:0 auto 40px}
.btn{display:inline-block;background:var(--gold-2);color:#fff;padding:12px 18px;border-radius:2px;font-weight:700;font-size:13px}
.btn:hover{filter:brightness(.98)}

/* ═══════════════════════════════════════════════════════════
   STYLES PROPRES AU BLOG
   ═══════════════════════════════════════════════════════════ */

/* ---------- Bandeau de tête ---------- */
.blog-hero{background:var(--bg-dark);color:#fff;padding:56px 0 48px;text-align:center}
.blog-hero h1{margin:0 0 14px;font-size:36px;letter-spacing:.06em;text-transform:uppercase;font-weight:700}
.blog-hero .lede{margin:0 auto;max-width:720px;line-height:1.8;color:#d9d3cf;font-size:15px}
.blog-hero .section-rule{margin:22px auto 0}

/* ---------- Fil d'Ariane ---------- */
.breadcrumb{font-size:13px;color:var(--muted);padding:20px 0 0}
.breadcrumb ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.breadcrumb li{display:flex;align-items:center;gap:8px}
.breadcrumb li+li::before{content:"›";color:var(--gold);font-weight:700}
.breadcrumb a{color:var(--gold-2);font-weight:600}
.breadcrumb a:hover{text-decoration:underline}
.breadcrumb [aria-current="page"]{color:var(--muted)}

/* ---------- Grille des articles ---------- */
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.post-card{display:flex;flex-direction:column;background:var(--card);color:#eae7e5;box-shadow:var(--shadow);overflow:hidden;transition:transform .2s ease}
.post-card:hover{transform:translateY(-4px)}
.post-card .thumb{height:200px;width:100%;object-fit:cover;background:#444}
.post-card .content{padding:24px 22px 26px;display:flex;flex-direction:column;flex:1}
.post-card .meta{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--gold);font-weight:700;margin:0 0 10px}
.post-card h2,.post-card h3{margin:0 0 12px;color:#fff;font-size:19px;line-height:1.4;letter-spacing:.02em}
.post-card p{margin:0 0 20px;line-height:1.75;color:#d9d3cf;font-size:14px;flex:1}
.post-card .btn{align-self:flex-start}

/* ---------- Pagination ---------- */
.pagination{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:44px;flex-wrap:wrap}
.pagination a,.pagination span{min-width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border:1px solid #ddd;font-weight:600;font-size:14px;color:var(--text)}
.pagination a:hover{border-color:var(--gold);color:var(--gold)}
.pagination .current{background:var(--gold-2);border-color:var(--gold-2);color:#fff}
.pagination .disabled{color:#bbb;border-color:#eee}

/* ---------- Article ---------- */
.post{padding:0 0 64px}
.post-header{max-width:820px;margin:0 auto;padding:34px 0 0;text-align:center}
.post-header h1{font-size:34px;line-height:1.3;letter-spacing:.02em;margin:0 0 18px}
.post-meta{font-size:13px;color:var(--muted);display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:0 0 28px}
.post-meta .sep{color:var(--gold)}
.post-cover{width:100%;max-height:460px;object-fit:cover;margin:0 0 40px;box-shadow:var(--shadow)}

.post-body{max-width:760px;margin:0 auto;font-size:16px;line-height:1.85;color:#2f2f2f}
.post-body>p:first-of-type{font-size:17px;color:#1b1b1b}
.post-body h2{font-size:25px;letter-spacing:.02em;margin:44px 0 8px;color:var(--text)}
.post-body h2::after{content:"";display:block;width:60px;height:3px;background:var(--gold);margin-top:12px}
.post-body h3{font-size:19px;margin:30px 0 10px;color:var(--text)}
.post-body p{margin:0 0 18px}
.post-body ul,.post-body ol{margin:0 0 20px;padding-left:22px}
.post-body li{margin-bottom:10px}
.post-body strong{color:#1b1b1b}
.post-body a{color:var(--gold-2);font-weight:600;text-decoration:underline}
.post-body img{margin:28px 0;box-shadow:var(--shadow)}

/* Encadré conseil */
.callout{background:#faf7f4;border-left:4px solid var(--gold);padding:22px 24px;margin:30px 0}
.callout p{margin:0;line-height:1.8}
.callout p+p{margin-top:12px}

/* ---------- FAQ ---------- */
.faq{max-width:760px;margin:48px auto 0}
.faq h2{font-size:25px;margin:0 0 24px}
.faq h2::after{content:"";display:block;width:60px;height:3px;background:var(--gold);margin-top:12px}
.faq-item{border-bottom:1px solid #e8e4e0;padding:20px 0}
.faq-item h3{margin:0 0 10px;font-size:17px;line-height:1.5}
.faq-item p{margin:0;line-height:1.8;color:#3b3b3b}

/* ---------- Bloc de conversion en fin d'article ---------- */
.post-cta{background:var(--card);color:#eae7e5;text-align:center;padding:40px 26px;margin:52px auto 0;max-width:760px;box-shadow:var(--shadow)}
.post-cta h2{margin:0 0 12px;color:#fff;font-size:22px;letter-spacing:.06em;text-transform:uppercase}
.post-cta h2::after{content:none}
.post-cta p{margin:0 auto 22px;max-width:520px;line-height:1.8;color:#d9d3cf;font-size:14px}

/* ---------- Retour à la liste ---------- */
.post-back{max-width:760px;margin:34px auto 0;text-align:center}
.post-back a{color:var(--gold-2);font-weight:600}
.post-back a:hover{text-decoration:underline}

/* ---------- État vide ---------- */
.blog-empty{text-align:center;color:var(--muted);padding:40px 0}

/* ---------- Footer (identique index.html) ---------- */
footer{background:var(--bg-dark);color:#eee}
.footer-inner{display:grid;grid-template-columns:1.2fr 1fr 1.2fr;gap:30px;padding:44px 0}
.footer-brand img{height:86px;width:auto;margin-bottom:12px}
.footer-brand h4{margin:0 0 6px;font-size:26px}
.footer-brand p{margin:0;color:#d7d0cc;font-weight:600}
.footer-col h5{margin:0 0 14px;font-size:14px;letter-spacing:.12em;text-transform:uppercase;color:#fff}
.footer-links{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.footer-links a{color:#eee;font-weight:600}
.footer-links a:hover{opacity:.85}
.contact-list{list-style:none;padding:0;margin:0;display:grid;gap:14px}
.contact-item{display:flex;gap:14px;align-items:flex-start}
.contact-badge{width:40px;height:40px;border-radius:6px;background:var(--gold-2);display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.contact-item a{color:#fff;font-weight:600}
.contact-item span.addr{color:#fff;font-weight:600}
.footer-bottom{background:var(--bg-darker);padding:14px 0;font-size:12px;color:#e7e2de}
.footer-bottom .container{display:flex;align-items:center;justify-content:center;text-align:center;gap:10px;flex-wrap:wrap}

/* ---------- Scroll top ---------- */
.scroll-top{position:fixed;right:18px;bottom:18px;width:40px;height:40px;border-radius:2px;border:0;background:rgba(0,0,0,.45);color:#fff;display:none;align-items:center;justify-content:center;cursor:pointer;z-index:90}
.scroll-top:hover{background:rgba(0,0,0,.8)}

/* ---------- Responsive (mêmes points de rupture qu'index.html) ---------- */
@media (max-width:980px){
  .post-grid{grid-template-columns:repeat(2,1fr)}
  .footer-inner{grid-template-columns:1fr;gap:26px}
  .topbar .msg{max-width:72vw}
}
@media (max-width:860px){
  nav{display:none}
  .navbtn{display:flex}
  .navopen nav{display:flex;position:absolute;left:18px;right:18px;top:100%;margin-top:12px;flex-direction:column;gap:14px;background:rgba(15,15,16,.98);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:16px;z-index:50}
}
@media (max-width:640px){
  .post-grid{grid-template-columns:1fr}
  .section-title{font-size:26px}
  .blog-hero h1{font-size:26px}
  .post-header h1{font-size:26px}
  .post-body{font-size:15px}
  .brandmark{width:120px}
  .brand{min-width:220px}
}
