/* ============================================================================
   blog.css — feuille COMMUNE aux pages /blog/ (VITRINE-BLOG-1, 2026-10-09)
   ----------------------------------------------------------------------------
   Les pages /modeles-de-bail/ portent leur CSS EN LIGNE, recopiée 19 fois par
   leur générateur. Le blog ne reproduit pas ce modèle : une feuille, chargée par
   chaque article, pour qu'un réglage ne se corrige pas N fois.
   Palette et gabarit repris À L'IDENTIQUE des pages /modeles-de-bail/ : un
   lecteur qui passe d'une trame à un article ne doit pas changer de site.
   `no-cache` (homepage/.htaccess, bloc 2) : pas d'empreinte dans le nom requise.
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --dark: #111827; --mid: #374151; --muted: #6b7280; --border: #e5e7eb;
  --white: #ffffff; --cream: #fafaf8; --accent: #1f5966; --a-bg: #e6f4f5;
  --orange: #f87a22; --warn-bg: #fff7ed; --warn-line: #fdba74; --warn-ink: #9a3412;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif; background: var(--cream);
  color: var(--dark); line-height: 1.6; -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: 76px; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.08); box-shadow: 0 1px 16px rgba(0,0,0,0.06);
}
.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo img { height: 56px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--mid); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--accent); }
.nav-cta { padding: 8px 18px !important; background: var(--orange) !important;
  color: var(--white) !important; border-radius: 8px !important; font-weight: 600 !important; }
main { flex: 1; padding: 132px 24px 80px; }
.inner { max-width: 820px; margin: 0 auto; }
.fil { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.fil a { color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
h1 { font-family: 'Playfair Display', serif; font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.14; margin-bottom: 14px; }
h2 { font-size: 22px; font-weight: 700; margin: 44px 0 14px; letter-spacing: -0.01em; }
h3 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; }
p, li { color: var(--mid); }
p { margin-bottom: 14px; }
ul.liste { margin: 0 0 16px 20px; }
ul.liste li { margin-bottom: 6px; }
a { color: var(--accent); }
.sub { font-size: 17px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.meta { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.encadre { background: var(--a-bg); border-radius: 14px; padding: 20px 22px; margin: 30px 0; }
.encadre h2 { margin-top: 0; }
.encadre p:last-child { margin-bottom: 0; }
.avert { background: var(--warn-bg); border: 1px solid var(--warn-line); border-left-width: 4px;
  border-radius: 10px; padding: 14px 16px; color: var(--warn-ink); font-size: 14px; margin: 24px 0; }
.tableau { width: 100%; overflow-x: auto; margin: 18px 0 8px; }
.tableau table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--white);
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.tableau th, .tableau td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border);
  vertical-align: top; }
.tableau th { background: var(--a-bg); color: var(--dark); font-weight: 600; }
.tableau tr:last-child td { border-bottom: 0; }
.outil { background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 20px; margin: 12px 0; }
.outil h3 { margin-top: 0; }
.outil p:last-child { margin-bottom: 0; }
.pays { font-size: 12px; font-weight: 600; color: var(--accent); margin-left: 6px; }
.cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 16px; margin: 18px 0 8px; }
.carte { background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 20px; text-decoration: none; color: inherit; display: block;
  transition: box-shadow .2s, transform .2s; }
.carte:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.09); }
.carte b { display: block; font-size: 16px; margin-bottom: 6px; color: var(--dark); }
.carte span { font-size: 13px; color: var(--muted); }
.carte .carte-meta { display: flex; align-items: center; gap: 8px; font-size: 12px;
  color: var(--muted); margin-bottom: 10px; }
.rubrique { display: inline-block; font-size: 11px !important; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent) !important; background: var(--a-bg);
  border-radius: 999px; padding: 2px 9px; }
.faq details { background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 18px; margin: 10px 0; }
.faq summary { font-weight: 600; cursor: pointer; color: var(--dark); }
.faq details p { margin: 10px 0 0; }
.cta { display: inline-block; margin-top: 10px; padding: 13px 26px; background: var(--orange);
  color: var(--white); border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 15px; }
.cta-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
footer { padding: 30px 48px; border-top: 1px solid var(--border); background: var(--white);
  display: flex; gap: 22px; align-items: center; font-size: 13px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; }
.foot-copy { color: var(--muted); margin-right: auto; }
.saut-contenu { position: absolute; left: -9999px; }
.saut-contenu:focus { left: 16px; top: 16px; z-index: 999; background: var(--white); padding: 10px 14px; border-radius: 8px; }
@media (max-width: 900px) { nav { padding: 0 20px; } .nav-links { display: none; } }
@media (max-width: 640px) { main { padding: 108px 16px 60px; } footer { padding: 24px 16px; }
  .tableau table { font-size: 12.5px; } .tableau th, .tableau td { padding: 7px 5px; } }
