/* Auservice2 — Design Blog & Articles (charte orange/blanc). Portée : .a2bd */
.a2bd{
  --orange:#ff7f00;        /* accent vif : boutons, barres, survols */
  --orange-ink:#b45309;    /* orange foncé : texte-lien sur blanc (contraste ≥4.5:1) */
  --orange-soft:#fff3e6;   /* fond doux */
  --ink:#1a1a1a;           /* titres */
  --body:#3f3f46;          /* texte courant */
  --muted:#71717a;         /* méta / secondaire */
  --line:#ececec;
  --bg:#faf9f7;
  --card:#ffffff;
  --radius:16px;
  --shadow:0 1px 2px rgba(20,20,20,.04),0 10px 30px rgba(20,20,20,.06);
  --shadow-hover:0 8px 18px rgba(20,20,20,.10),0 24px 48px rgba(255,127,0,.10);
  background:var(--bg);
  color:var(--body);
  font-family:"Roboto",-apple-system,Segoe UI,sans-serif;
  overflow-x:hidden;
}
.a2bd *{box-sizing:border-box;}
.a2bd h1,.a2bd h2,.a2bd h3,.a2bd h4{font-family:"Montserrat",sans-serif;color:var(--ink);line-height:1.2;text-wrap:balance;}

/* ---------- HERO blog ---------- */
.a2bd-hero{max-width:820px;margin:0 auto;padding:64px 22px 30px;text-align:center;}
.a2bd-eyebrow{color:var(--orange-ink);font-weight:700;text-transform:uppercase;letter-spacing:.12em;font-size:.8rem;margin:0 0 12px;}
.a2bd-hero h1{font-size:clamp(1.9rem,4.5vw,2.9rem);font-weight:800;margin:0 auto;max-width:16ch;}
.a2bd-hero h1::after{content:"";display:block;width:64px;height:4px;border-radius:4px;background:var(--orange);margin:18px auto 0;}
.a2bd-sub{color:var(--muted);font-size:1.08rem;line-height:1.6;margin:20px auto 0;max-width:60ch;}

/* ---------- GRILLE ---------- */
.a2bd-grid{max-width:1180px;margin:24px auto 0;padding:0 22px 30px;
  display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:30px;}
.a2bd-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  display:flex;flex-direction:column;box-shadow:var(--shadow);transition:transform .25s ease,box-shadow .25s ease;}
.a2bd-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-hover);}
.a2bd-card-media{display:block;aspect-ratio:16/10;overflow:hidden;background:#f0efec;}
.a2bd-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease;}
.a2bd-card:hover .a2bd-card-media img{transform:scale(1.06);}
.a2bd-noimg{display:flex;align-items:center;justify-content:center;height:100%;font-family:"Montserrat",sans-serif;
  font-weight:800;color:#cdb69f;letter-spacing:.04em;background:linear-gradient(135deg,#fff3e6,#f2efea);}
.a2bd-card-body{padding:22px 22px 24px;display:flex;flex-direction:column;flex:1;}
.a2bd-chip{align-self:flex-start;background:var(--orange-soft);color:var(--orange-ink);font-weight:700;
  font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;padding:4px 10px;border-radius:999px;margin-bottom:12px;}
.a2bd-card-title{font-size:1.2rem;font-weight:700;margin:0 0 10px;line-height:1.3;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.a2bd-card-title a{color:var(--ink);text-decoration:none;}
.a2bd-card:hover .a2bd-card-title a{color:var(--orange-ink);}
.a2bd-card-excerpt{color:var(--muted);font-size:.95rem;line-height:1.6;margin:0 0 18px;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.a2bd-card-link{margin-top:auto;color:var(--orange-ink);font-weight:700;text-decoration:none;font-size:.95rem;}
.a2bd-card-link span{display:inline-block;transition:transform .2s ease;}
.a2bd-card:hover .a2bd-card-link span{transform:translateX(5px);}

/* ---------- PAGINATION ---------- */
.a2bd-pagination{max-width:1180px;margin:10px auto 70px;padding:0 22px;display:flex;justify-content:center;}
.a2bd-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;
  padding:0 12px;margin:0 4px;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--ink);
  text-decoration:none;font-weight:600;transition:.2s;}
.a2bd-pagination .page-numbers.current{background:var(--orange);border-color:var(--orange);color:#fff;}
.a2bd-pagination a.page-numbers:hover{border-color:var(--orange);color:var(--orange-ink);}

/* ---------- ARTICLE ---------- */
.a2bd-single{padding-bottom:20px;}
.a2bd-article-head{max-width:780px;margin:0 auto;padding:52px 22px 0;text-align:center;}
.a2bd-back{display:inline-block;color:var(--muted);text-decoration:none;font-weight:600;font-size:.9rem;margin-bottom:20px;}
.a2bd-back:hover{color:var(--orange-ink);}
.a2bd-article-head .a2bd-chip{margin:0 auto 16px;}
.a2bd-article-head h1{font-size:clamp(1.8rem,4.2vw,2.7rem);font-weight:800;margin:0 auto;max-width:22ch;}
.a2bd-article-meta{color:var(--muted);font-size:.9rem;margin-top:18px;display:flex;gap:10px;justify-content:center;flex-wrap:wrap;align-items:center;}
.a2bd-article-meta strong{color:var(--body);}
.a2bd-dot{opacity:.5;}
.a2bd-cover{max-width:960px;margin:34px auto 0;padding:0 22px;}
.a2bd-cover img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius);display:block;}

.a2bd-article-body{max-width:740px;margin:0 auto;padding:38px 22px 10px;font-size:1.075rem;line-height:1.8;color:var(--body);}
.a2bd-article-body > *{margin:0 0 1.25em;}
.a2bd-article-body h2{font-size:1.7rem;font-weight:700;margin:1.9em 0 .7em;padding-left:16px;border-left:5px solid var(--orange);}
.a2bd-article-body h3{font-size:1.32rem;font-weight:700;margin:1.6em 0 .5em;color:#27272a;}
.a2bd-article-body p{margin:0 0 1.25em;}
.a2bd-article-body a{color:var(--orange-ink);text-decoration:underline;text-underline-offset:2px;}
.a2bd-article-body ul,.a2bd-article-body ol{margin:0 0 1.3em;padding-left:1.4em;}
.a2bd-article-body li{margin:.45em 0;}
.a2bd-article-body ul li::marker{color:var(--orange);}
.a2bd-article-body img{max-width:100%;height:auto;border-radius:12px;}
.a2bd-article-body blockquote{margin:1.6em 0;padding:14px 22px;background:var(--orange-soft);
  border-left:5px solid var(--orange);border-radius:0 12px 12px 0;color:#4a3a28;font-style:italic;}
.a2bd-article-body table{width:100%;border-collapse:collapse;margin:1.5em 0;font-size:.98rem;}
.a2bd-article-body th,.a2bd-article-body td{border:1px solid var(--line);padding:10px 12px;text-align:left;}
.a2bd-article-body thead th{background:var(--orange-soft);color:var(--ink);}

/* ---------- CTA fin d'article ---------- */
.a2bd-cta{max-width:840px;margin:46px auto 60px;padding:40px 26px;text-align:center;
  background:linear-gradient(135deg,#fff6ec,#fff);border:1px solid #ffe2c2;border-radius:20px;}
.a2bd-cta h2{font-size:1.55rem;font-weight:800;margin:0 0 10px;}
.a2bd-cta p{color:var(--body);margin:0 auto 22px;max-width:52ch;line-height:1.6;}
.a2bd-cta-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}
.a2bd-btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 26px;border-radius:999px;
  font-family:"Montserrat",sans-serif;font-weight:700;text-decoration:none;transition:.2s;border:2px solid var(--orange);}
.a2bd-btn{background:var(--orange);color:#fff;}
.a2bd-btn:hover{background:#e86f00;border-color:#e86f00;transform:translateY(-2px);}
.a2bd-btn-ghost{background:#fff;color:var(--orange-ink);}
.a2bd-btn-ghost:hover{background:var(--orange-soft);}

.a2bd-empty{text-align:center;padding:80px 20px;color:var(--muted);}

/* ---------- RESPONSIVE ---------- */
@media (max-width:600px){
  .a2bd-hero{padding:44px 18px 22px;}
  .a2bd-grid{grid-template-columns:1fr;gap:22px;padding:0 18px 20px;}
  .a2bd-article-head{padding-top:34px;}
  .a2bd-article-body{padding:28px 18px 6px;font-size:1.03rem;}
  .a2bd-article-body h2{font-size:1.42rem;}
  .a2bd-cover{padding:0 18px;}
  .a2bd-cta{margin:34px 14px 44px;padding:32px 20px;}
  .a2bd-btn{width:100%;}
}
@media (prefers-reduced-motion:reduce){
  .a2bd-card,.a2bd-card-media img,.a2bd-card-link span,.a2bd-btn{transition:none;}
  .a2bd-card:hover{transform:none;}
}
