/* Vitrine Azur — blog (complète styles.css) */
.blog { padding: 110px 0 72px; }
.blog-nav { display: flex; align-items: center; gap: 22px; }
.blog-nav a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; opacity: .85; }
.blog-nav a:not(.btn):hover { opacity: 1; }
.blog-nav a { white-space: nowrap; }
.fil { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.fil a { color: var(--muted); }
.tag { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--azur); }

/* ---- Accueil du blog ---- */
.blog-tete h1 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 5vw, 56px); letter-spacing: -.02em; line-height: 1.08; }
.rubriques { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.rubriques a { text-decoration: none; font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); }
.rubriques a:hover { border-color: var(--azur); color: var(--azur); }
.rubrique { margin-top: 52px; scroll-margin-top: 90px; }
.rubrique h2, .lire-aussi h2 { font-family: var(--display); font-weight: 600; font-size: 26px; margin-bottom: 18px; }
.cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.carte-article {
  display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s, border-color .2s;
}
.carte-article:hover { transform: translateY(-3px); border-color: rgba(24, 110, 172, .35); }
.carte-article strong { font-family: var(--display); font-size: 20px; font-weight: 600; line-height: 1.25; }
.carte-article__desc { font-size: 15px; color: var(--muted); line-height: 1.5; }
.carte-article__meta { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--muted); }

/* ---- Article ---- */
.article { max-width: 760px; }
.article__tete h1 { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 4.6vw, 48px); letter-spacing: -.02em; line-height: 1.1; margin-top: 10px; text-wrap: balance; }
.article__meta { margin-top: 16px; font-size: 15px; color: var(--muted); }
.sommaire { margin-top: 32px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: 15.5px; }
.sommaire p { font-weight: 600; margin-bottom: 6px; }
.sommaire ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.sommaire a { color: var(--ink); text-decoration-color: rgba(11, 27, 43, .25); text-underline-offset: 3px; }
.sommaire a:hover { color: var(--azur); }
.article__corps { margin-top: 34px; font-size: 18px; line-height: 1.72; }
.article__corps > p:first-child { font-size: 20px; line-height: 1.6; color: var(--ink); }
.article__corps p, .article__corps ul, .article__corps ol { margin: 0 0 18px; }
.article__corps h2 { font-family: var(--display); font-weight: 600; font-size: 29px; line-height: 1.2; margin: 44px 0 14px; scroll-margin-top: 90px; }
.article__corps h3 { font-size: 20px; margin: 30px 0 10px; }
.article__corps ul, .article__corps ol { padding-left: 24px; }
.article__corps li { margin-bottom: 8px; }
.article__corps li::marker { color: var(--azur); }
.article__corps a { color: var(--azur); text-underline-offset: 3px; }
.article__corps code { font-size: .88em; background: #eef2f6; padding: 1px 6px; border-radius: 5px; }
.encadre { margin: 26px 0; padding: 18px 22px; background: #eaf3fa; border-left: 4px solid var(--azur); border-radius: 0 12px 12px 0; }
.encadre p { margin: 0 !important; font-size: 17px; }
.tableau-defile { overflow-x: auto; margin: 22px 0; }
.article__corps table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; background: #fff; border-radius: 12px; overflow: hidden; }
.article__corps th, .article__corps td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article__corps th { background: #f1efe9; font-weight: 600; font-size: 15px; }
.article__corps tr:last-child td { border-bottom: 0; }

.appel { margin-top: 52px; padding: 30px; background: var(--navy); color: #fff; border-radius: 20px; }
.appel__titre { font-family: var(--display); font-size: 25px; font-weight: 600; margin-bottom: 8px; }
.appel p { color: rgba(255, 255, 255, .82); }
.appel__boutons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.lire-aussi { margin-top: 64px; }

@media (max-width: 700px) {
  .blog { padding-top: 96px; }
  .blog-nav { gap: 14px; }
  .blog-nav a:first-child { display: none; }
  .article__corps { font-size: 17px; }
  .article__corps > p:first-child { font-size: 18.5px; }
  .article__corps h2 { font-size: 25px; }
  .appel { padding: 24px 20px; }
}
@media (max-width: 440px) {
  .blog-nav { gap: 12px; }
  .blog-nav .btn { padding: 9px 13px; font-size: 13px; }
  .blog .logo span, .nav .logo span { font-size: 19px; }
}
@media (max-width: 360px) {
  .blog-nav a:not(.btn) { display: none; }
}
