/* ===== PrivTeint — styles du blog (partagé par tous les articles) — couleurs marque ===== */
:root {
  --blue-dark:  #0C1B2E;   /* navy marque */
  --blue-mid:   #1C3350;
  --ochre:      #C9A84C;    /* or marque */
  --ochre-soft: #F4EBD6;
  --sand:       #F7F5F1;
  --white:      #FFFFFF;
  --text:       #2A2A2A;
  --text-soft:  #5A5A5A;
  --border:     #E4DDD2;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--text); background: var(--white); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

.btn { display: inline-block; padding: .85rem 2rem; border-radius: 6px; font-weight: 600; font-size: .95rem; text-decoration: none; transition: opacity .18s, transform .18s; }
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn--secondary { background: var(--ochre); color: var(--blue-dark); }
.btn--primary { background: var(--blue-mid); color: var(--white); }

/* HEADER */
.blog-header { position: sticky; top: 0; z-index: 50; background: var(--blue-dark); border-bottom: 1px solid rgba(255,255,255,.08); }
.blog-header__inner { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1.5rem; gap: 1rem; max-width: 1080px; margin: 0 auto; }
.blog-logo { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: .01em; }
.blog-nav { display: flex; align-items: center; gap: 1.4rem; }
.blog-nav a { color: rgba(255,255,255,.82); text-decoration: none; font-size: .9rem; font-weight: 500; }
.blog-nav a:hover { color: #fff; }
.blog-nav__tel { font-weight: 600 !important; }
.blog-nav__cta { color: var(--blue-dark) !important; padding: .55rem 1.1rem !important; font-size: .85rem !important; }
@media (max-width: 768px) { .blog-nav a:not(.blog-nav__cta) { display: none; } }

/* LAYOUT ARTICLE */
.layout { display: grid; grid-template-columns: 1fr 300px; gap: 3.5rem; padding: 3.5rem 1.5rem; max-width: 1080px; margin: 0 auto; align-items: start; }
.breadcrumb { font-size: .8rem; color: var(--text-soft); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--text-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--ochre); }

.article__intro { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.article__intro h1 { font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: var(--blue-dark); line-height: 1.2; margin-bottom: .9rem; }
.article__intro .lead { font-size: 1.1rem; color: var(--text-soft); line-height: 1.65; }
.article__tag { display: inline-block; background: var(--ochre-soft); color: #96742a; font-size: .75rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; padding: .28rem .8rem; border-radius: 2px; margin-bottom: 1rem; }

.article__meta { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 2.2rem; font-size: .82rem; color: var(--text-soft); flex-wrap: wrap; }
.article__meta-author { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--blue-mid); }
.article__meta-author::before { content: ''; display: inline-block; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-mid); }

.article-figure { margin: 0 0 2.4rem; }
.article-figure img { max-height: 540px; width: auto; max-width: 100%; margin: 0 auto; border-radius: 10px; display: block; }
.article-figure figcaption { margin-top: .75rem; font-size: .82rem; color: var(--text-soft); text-align: center; font-style: italic; }

.article h2 { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 700; color: var(--blue-dark); margin-top: 2.8rem; margin-bottom: .9rem; line-height: 1.25; }
.article h3 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600; color: var(--blue-mid); margin-top: 1.8rem; margin-bottom: .5rem; }
.article p { margin-bottom: 1.2rem; font-size: 1rem; color: var(--text); line-height: 1.75; }
.article p:last-child { margin-bottom: 0; }

.alert-box { background: var(--ochre-soft); border: 1.5px solid var(--ochre); border-radius: 10px; padding: 1.4rem 1.6rem; margin: 2rem 0; font-size: .97rem; line-height: 1.65; }
.alert-box strong { color: #96742a; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin: 2.5rem 0; }
.stat { background: var(--white); padding: 1.5rem 1rem 1.4rem; text-align: center; }
.stat__num { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 800; color: var(--ochre); line-height: 1; display: block; margin-bottom: .3rem; }
.stat__label { font-size: .8rem; color: var(--text-soft); line-height: 1.3; }

.analogy { background: var(--blue-dark); color: var(--white); border-radius: 12px; padding: 1.8rem 2rem; margin: 2rem 0; }
.analogy h3 { color: var(--ochre) !important; margin-top: 0 !important; font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: .8rem; }
.analogy p { color: rgba(255,255,255,.85); font-size: .97rem; margin-bottom: 0; }

.compare-wrap { margin: 2rem 0; }
.compare-wrap table { width: 100%; border-collapse: collapse; font-size: .9rem; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.compare-wrap thead { background: var(--blue-dark); color: var(--white); }
.compare-wrap th { padding: .9rem 1rem; text-align: left; font-weight: 600; }
.compare-wrap td { padding: .75rem 1rem; border-bottom: 1px solid var(--border); }
.compare-wrap tr:last-child td { border-bottom: none; }
.compare-wrap tr:nth-child(even) td { background: var(--sand); }
.tag-good { color: #2E7D32; font-weight: 600; }
.tag-bad { color: #C62828; font-weight: 600; }
.tag-mid { color: #96742a; font-weight: 600; }

.pull-quote { border-left: 3px solid var(--ochre); padding: 1rem 1.5rem; margin: 2rem 0; background: var(--ochre-soft); border-radius: 0 8px 8px 0; }
.pull-quote p { font-family: var(--font-serif); font-style: italic; font-size: 1.12rem; color: var(--blue-dark); margin: 0 !important; }

.steps { list-style: none; margin: 1.5rem 0 2rem; counter-reset: steps; }
.steps li { display: flex; gap: 1rem; margin-bottom: 1.2rem; align-items: flex-start; counter-increment: steps; }
.steps li::before { content: counter(steps); display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; border-radius: 50%; background: var(--blue-mid); color: var(--white); font-weight: 700; font-size: .85rem; margin-top: 2px; flex-shrink: 0; }
.steps li div strong { color: var(--blue-mid); display: block; margin-bottom: .2rem; }

.benefits { list-style: none; margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: .8rem; }
.benefits li { display: flex; align-items: flex-start; gap: .75rem; font-size: .97rem; }
.benefits li::before { content: ''; display: inline-block; width: 20px; height: 20px; min-width: 20px; border-radius: 50%; background: var(--blue-mid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 00-1.414 0L8 12.586 4.707 9.293a1 1 0 00-1.414 1.414l4 4a1 1 0 001.414 0l8-8a1 1 0 000-1.414z'/%3E%3C/svg%3E") center/12px no-repeat; margin-top: 2px; }

.faq { margin: 2.5rem 0; }
.faq-item { border: 1px solid var(--border); border-radius: 8px; margin-bottom: .8rem; overflow: hidden; }
.faq-q { font-weight: 600; font-size: .97rem; padding: 1rem 1.2rem; background: var(--sand); color: var(--blue-dark); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--ochre); flex-shrink: 0; }
.faq-a { padding: 1rem 1.2rem; font-size: .92rem; color: var(--text); line-height: 1.65; }

.cta-inline { background: var(--sand); border: 1px solid var(--border); border-radius: 10px; padding: 2rem; margin: 2.5rem 0; text-align: center; }
.cta-inline p { font-size: .95rem; color: var(--text-soft); margin-bottom: 1.2rem; }

.sidebar { position: sticky; top: 5rem; }
.sidebar-card { background: var(--blue-dark); color: var(--white); border-radius: 12px; padding: 1.8rem 1.5rem; margin-bottom: 1.5rem; }
.sidebar-card h4 { font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: .6rem; line-height: 1.3; }
.sidebar-card p { font-size: .88rem; color: rgba(255,255,255,.78); margin-bottom: 1.4rem; line-height: 1.55; }
.sidebar-card .btn { width: 100%; text-align: center; }
.sidebar-card .tel { display: block; text-align: center; color: rgba(255,255,255,.6); font-size: .82rem; margin-top: .8rem; text-decoration: none; }
.sidebar-card .tel:hover { color: var(--white); }
.sidebar-urgency { border: 2px solid var(--ochre); border-radius: 12px; padding: 1.2rem 1.3rem; background: var(--ochre-soft); margin-bottom: 1.5rem; text-align: center; }
.sidebar-urgency p { font-size: .88rem; color: var(--text); margin-bottom: .8rem; line-height: 1.45; }
.sidebar-urgency strong { color: #96742a; display: block; font-size: 1rem; margin-bottom: .4rem; }
.sidebar-info { border: 1px solid var(--border); border-radius: 12px; padding: 1.4rem 1.3rem; background: var(--white); margin-bottom: 1.5rem; }
.sidebar-info h5 { font-size: .75rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 1rem; }
.info-item { display: flex; gap: .6rem; margin-bottom: .7rem; font-size: .85rem; align-items: flex-start; }
.info-item strong { color: var(--blue-mid); min-width: 24px; }
.related { border: 1px solid var(--border); border-radius: 12px; padding: 1.4rem 1.3rem; background: var(--white); }
.related h5 { font-size: .75rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 1rem; }
.related-link { display: block; font-size: .85rem; color: var(--blue-mid); text-decoration: none; padding: .5rem 0; border-bottom: 1px solid var(--border); line-height: 1.4; }
.related-link:last-child { border-bottom: none; }
.related-link:hover { color: var(--ochre); }

.cta-banner { background: var(--blue-dark); padding: 4rem 2rem; text-align: center; margin-top: 4rem; }
.cta-banner h2 { font-family: var(--font-serif); font-size: clamp(1.5rem, 3.5vw, 2.4rem); color: var(--white); margin-bottom: .8rem; }
.cta-banner p { color: rgba(255,255,255,.72); font-size: 1rem; margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }

/* FOOTER */
.blog-footer { background: #08131f; color: rgba(255,255,255,.8); padding: 2.6rem 0 1.4rem; }
.blog-footer__inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; max-width: 1080px; margin: 0 auto; padding: 0 1.5rem 1.6rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.blog-footer__brand p { font-size: .85rem; color: rgba(255,255,255,.6); margin: .6rem 0 1.1rem; max-width: 360px; line-height: 1.55; }
.blog-review { display: inline-flex; align-items: center; gap: 8px; padding: .6rem 1.15rem; border-radius: 999px; background: var(--ochre); color: var(--blue-dark); text-decoration: none; font-weight: 600; font-size: .85rem; }
.blog-review:hover { opacity: .9; }
.blog-footer__links { display: flex; flex-direction: column; gap: .55rem; }
.blog-footer__links a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .9rem; }
.blog-footer__links a:hover { color: #fff; }
.blog-footer__bottom { display: flex; justify-content: space-between; max-width: 1080px; margin: 0 auto; padding: 1.2rem 1.5rem 0; font-size: .8rem; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: .5rem; }
.blog-footer__bottom a { color: rgba(255,255,255,.7); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 768px) { .blog-footer__inner { grid-template-columns: 1fr; } }

/* INDEX BLOG */
.blog-hero { background: var(--sand); border-bottom: 1px solid var(--border); padding: 3.2rem 1.5rem 2.6rem; text-align: center; }
.blog-hero h1 { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--blue-dark); margin-bottom: .7rem; }
.blog-hero p { color: var(--text-soft); max-width: 560px; margin: 0 auto; font-size: 1.02rem; }
.posts { max-width: 1080px; margin: 0 auto; padding: 3rem 1.5rem 4rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.post-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; text-decoration: none; }
.post-card:hover { box-shadow: 0 10px 30px rgba(12,27,46,.12); transform: translateY(-2px); }
.post-card__img { aspect-ratio: 16/10; overflow: hidden; background: var(--sand); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.3rem 1.4rem 1.5rem; }
.post-card__tag { display: inline-block; background: var(--ochre-soft); color: #96742a; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .24rem .7rem; border-radius: 2px; margin-bottom: .7rem; }
.post-card__title { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; color: var(--blue-dark); line-height: 1.3; margin-bottom: .5rem; }
.post-card__excerpt { font-size: .9rem; color: var(--text-soft); line-height: 1.55; margin-bottom: .9rem; }
.post-card__meta { font-size: .78rem; color: var(--text-soft); }

@media (max-width: 768px) {
  .layout { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.2rem; }
  .sidebar { position: static; }
  .stats { grid-template-columns: 1fr; }
  .article h2 { font-size: 1.4rem; }
  .compare-wrap { overflow-x: auto; }
}

/* ===== Composants supplementaires (articles republies) ===== */
.scenario{background:var(--sand);border-left:3px solid var(--ochre);border-radius:0 10px 10px 0;padding:1.5rem 1.8rem;margin:2rem 0}
.scenario__title{font-family:var(--font-serif);font-weight:700;font-size:1.05rem;color:var(--blue-dark);margin-bottom:.6rem}
.scenario p{font-size:.95rem;margin-bottom:0;color:var(--text)}
.alert{background:var(--ochre-soft);border:1px solid var(--ochre);border-radius:10px;padding:1.2rem 1.5rem;margin:2rem 0;font-size:.95rem}
.alert strong{color:#96742a}
.compare{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--border);border-radius:10px;overflow:hidden;margin:2rem 0}
.compare-col{padding:1.5rem;background:var(--white)}
.compare-col--bad{background:#FFF5F5}
.compare-col--good{background:#F0F7F0}
.compare-col__title{font-weight:600;font-size:.9rem;margin-bottom:1rem}
.compare-col--bad .compare-col__title{color:#C62828}
.compare-col--good .compare-col__title{color:#2E7D32}
.compare-col ul{list-style:none;font-size:.9rem}
.compare-col ul li{padding:.35rem 0;border-bottom:1px solid var(--border)}
.compare-col ul li:last-child{border-bottom:none}
.compare-table{width:100%;border-collapse:collapse;margin:2rem 0;font-size:.9rem;border-radius:10px;overflow:hidden;border:1px solid var(--border)}
.compare-table thead{background:var(--blue-dark);color:var(--white)}
.compare-table th{padding:.9rem 1rem;text-align:left;font-weight:600}
.compare-table td{padding:.8rem 1rem;border-bottom:1px solid var(--border)}
.compare-table tr:last-child td{border-bottom:none}
.compare-table tr:nth-child(even) td{background:var(--sand)}
.compare-table .tag-green{color:#2E7D32;font-weight:600}
.compare-table .tag-orange{color:#96742a;font-weight:600}
.compare-table .tag-blue{color:var(--blue-mid);font-weight:600}
.roi-box{background:var(--blue-dark);color:var(--white);border-radius:12px;padding:2rem 1.8rem;margin:2.5rem 0}
.roi-box h3{color:var(--ochre)!important;margin-top:0!important;font-family:var(--font-serif);font-size:1.2rem;margin-bottom:1rem}
.roi-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.6rem 0;border-bottom:1px solid rgba(255,255,255,.12);font-size:.92rem}
.roi-row:last-child{border-bottom:none}
.roi-row strong{color:var(--ochre);text-align:right;white-space:nowrap}
@media(max-width:768px){.compare{grid-template-columns:1fr}.compare-table{font-size:.8rem}}
/* ===== Header + footer du site sur les articles (mode clair force) ===== */
body.blog-article{padding-top:92px}
body.blog-article .site-header,body.blog-article .site-header.scrolled{background:linear-gradient(135deg,rgba(255,255,255,.6) 0%,rgba(255,255,255,.42) 45%,rgba(255,255,255,.55) 100%)!important;border-color:rgba(12,27,46,.1)!important;box-shadow:0 6px 26px rgba(8,17,30,.14),inset 0 1px 1px rgba(255,255,255,.55)!important}
body.blog-article .site-header .header-logo img{filter:none!important}
body.blog-article .site-header .header-nav a,body.blog-article .site-header .nav-mega-trigger,body.blog-article .site-header .header-tel{color:#0C1B2E!important}
body.blog-article .site-header .header-nav a:hover{background:rgba(12,27,46,.06)!important}
body.blog-article .site-header .burger span{background:#0C1B2E!important}
body.blog-article .site-header .header-devis{border-color:#C9A84C!important;color:#0C1B2E!important}
body.blog-article .site-footer{margin-top:0}
@media(max-width:900px){body.blog-article{padding-top:84px}}
/* ── Fil d'ariane des articles ──
   main.css l.1177 pose `.breadcrumb span { color: rgba(255,255,255,.35) }` : c'est prévu pour
   les hero NAVY du site principal. Sur le blog, le fond est clair → le dernier élément
   (la page courante) devenait invisible sur TOUS les articles. On le repasse en gris lisible.
   `display:inline` : la règle globale le mettait en bloc, ce qui le renvoyait à la ligne. */
.blog-article .breadcrumb span { color: var(--text-soft); display: inline; }

/* ══ LISIBILITÉ MOBILE DES ARTICLES ══
   Bug constaté à 386 px : le contenu de certains articles se rendait sur 406 à 533 px de large
   et se retrouvait coupé à droite (texte illisible).
   Cause : `.layout` est une grille, et un élément de grille a `min-width:auto` par défaut —
   il REFUSE de se réduire sous la largeur intrinsèque de son contenu. Un tableau large ou une
   image à largeur fixe étirait donc toute la colonne, et TOUS les paragraphes héritaient de
   cette largeur. `min-width:0` autorise la colonne à respecter l'écran. */
.layout > *, .article, .sidebar { min-width: 0; }

/* Filets de sécurité : plus rien ne doit pouvoir étirer la colonne */
.article img, .article figure, .article video, .article iframe { max-width: 100%; height: auto; }
.article pre, .article code { white-space: pre-wrap; word-break: break-word; }
.article a { word-break: break-word; }

@media (max-width: 768px) {
  /* Les tableaux deviennent scrollables horizontalement au lieu d'imposer leur largeur.
     Certains articles n'ont pas de conteneur `overflow-x` autour de leur tableau. */
  .article table { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
                   font-size: .88rem; }
  .article table th, .article table td { white-space: normal; padding-left: .6rem; padding-right: .6rem; }
  /* Confort de lecture sur petit écran */
  .article__intro .lead { font-size: 1.03rem; }
  .layout { padding-left: 1.1rem; padding-right: 1.1rem; }
}


/* Un tableau large doit defiler dans sa propre boite, jamais
   entrainer la page avec lui : a 390 px, cinq colonnes ne tiennent
   pas, et 75 % des visiteurs sont sur telephone. */
.table-defile { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 2rem 0; }
.table-defile .compare-table { margin: 0; min-width: 32rem; }
.table-defile caption {
  caption-side: top; text-align: left; padding: 0 0 .55rem;
  font-size: .82rem; font-weight: 600; color: var(--text-soft);
}


/* Fil d'Ariane : main.css le passe en `display:flex` sans autoriser
   le retour a la ligne. Sur telephone, les elements se compriment
   sous leur largeur de texte et les mots se coupent au milieu. */
.blog-article .breadcrumb { flex-wrap: wrap; row-gap: .15rem; }
.blog-article .breadcrumb > * { flex: 0 0 auto; }

/* Vignette sans photo.
   Un article peut n'avoir aucune image — c'est le cas des sujets
   juridiques. Plutôt qu'un visuel sans rapport pioché ailleurs,
   qui mentirait sur le contenu, on assume un aplat. */
.post-card__img--texte {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #0f2238, #1b3a5c);
  min-height: 180px;
}
.post-card__img--texte span { font-size: 3rem; line-height: 1; opacity: .9; }

/* ═══════════════════════════════════════════════════════════════
   COMPARATIF DE TEMPÉRATURE ANIMÉ (14/09/2026)

   Les barres se remplissent quand le bloc entre dans l'écran. Aucun
   script ajouté : main.js pose déjà la classe « visible » sur les
   éléments « reveal » au défilement — on s'y accroche. Un observateur
   de plus ferait le même travail deux fois.

   Le mouvement est coupé si le visiteur demande moins d'animations.
   ═══════════════════════════════════════════════════════════════ */
.thermo{
  margin: 2rem 0; padding: 1.5rem 1.4rem;
  background: #0C1B2E; border-radius: 14px;
}
.thermo-titre{
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #C9A84C; margin: 0 0 1.2rem;
}
.thermo-ligne{ display: grid; grid-template-columns: 1fr; gap: .4rem; margin-bottom: 1.1rem; }
.thermo-haut{ display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.thermo-label{ font-size: .92rem; font-weight: 600; color: rgba(255,255,255,.88); }
.thermo-val{
  font-family: var(--font-head, inherit); font-weight: 800; font-size: 1.15rem;
  font-variant-numeric: tabular-nums; color: #fff;
}
.thermo-piste{ height: 10px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.thermo-jauge{
  display: block; height: 100%; width: 0; border-radius: 999px;
  transition: width 1.1s cubic-bezier(.22,.7,.25,1);
}
.thermo-jauge--sans{ background: linear-gradient(90deg, #D97A45, #C9503A); }
.thermo-jauge--avec{ background: linear-gradient(90deg, #4E8FA8, #3E6E86); }
/* C'est « visible », posée par main.js au défilement, qui déclenche. */
.thermo.visible .thermo-jauge--sans{ width: 100%; }
.thermo.visible .thermo-jauge--avec{ width: 62%; transition-delay: .18s; }
.thermo-note{
  margin: .2rem 0 0; font-size: .82rem; line-height: 1.6;
  color: rgba(255,255,255,.62);
}
@media (prefers-reduced-motion: reduce){
  .thermo-jauge{ transition: none; }
}

/* ===== Correctifs 04/10/2026 ===== */
/* main.css donne aux .steps la grille 4 colonnes de l'accueil :
   dans un article, c'est une liste numérotée verticale. */
.article .steps{ display:block; }
/* Le titre de l'encadré sombre héritait de la couleur foncée des h4 : invisible. */
.sidebar-card h4{ color:var(--white); }

/* ===== Colonne latérale des articles — design actuel du site (12/10/2026) =====
   L'ancienne reprenait les jetons du premier blog (Playfair, bouton
   rectangle, cartes à 12 px). Ici : titres Manrope, boutons en pilule,
   cartes à 20 px, carte sombre avec le liseré « verre » de l'en-tête.
   Collage : la colonne (≈ 935 px) dépasse la hauteur d'un écran
   d'ordinateur ; collée en entier, elle repassait forcément sous
   l'en-tête flottant (capture de Mathys, 12/10). Désormais seule la
   carte « devis » colle, sous l'en-tête (104 + 14 + 20 px) : le résumé
   et les liens se lisent en haut puis défilent normalement. */
body.blog-article .layout{ align-items: stretch; }
body.blog-article .sidebar{
  position: static; display: flex; flex-direction: column; gap: 16px;
}
body.blog-article .sidebar-info, body.blog-article .sidebar-urgency{ order: 1; }
body.blog-article .related{ order: 2; }
body.blog-article .sidebar-card{
  order: 3; position: sticky; z-index: 2;
  top: calc(var(--header-h, 104px) + var(--header-top, 14px) + 20px);
}
/* Téléphone : la colonne passe sous l'article. La carte devis vient en
   premier, pour ne pas toucher le bandeau de fin qui dit la même chose. */
@media (max-width: 768px){
  body.blog-article .sidebar-card{ order: 0; position: static; }
}
body.blog-article .sidebar > *{ margin: 0; }

body.blog-article .sidebar-card{
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(201,168,76,.16), transparent 55%),
    linear-gradient(160deg, #15293f 0%, #0C1B2E 62%);
  border: 1px solid rgba(255,255,255,.08); border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 18px 40px rgba(12,27,46,.22);
  padding: 26px 24px 22px;
}
body.blog-article .sidebar-card h4{
  font-family: var(--font-head, 'Manrope', sans-serif); font-weight: 800;
  font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.25; margin-bottom: .55rem;
}
body.blog-article .sidebar-card p{ font-size: .88rem; color: rgba(255,255,255,.74); margin-bottom: 1.15rem; }
body.blog-article .sidebar-card .btn{
  display: block; border-radius: 999px; padding: .85rem 1.2rem;
  background: var(--gold, #C9A84C); color: #0C1B2E;
  font-family: var(--font-head, 'Manrope', sans-serif); font-weight: 800; font-size: .92rem;
  box-shadow: 0 8px 22px rgba(201,168,76,.32);
  transition: background .18s, transform .18s; opacity: 1;
}
body.blog-article .sidebar-card .btn:hover{ background: var(--gold-light, #d9bc72); transform: translateY(-1px); opacity: 1; }
body.blog-article .sidebar-card .tel{
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  margin-top: .6rem; padding: .7rem 1rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 600; font-size: .84rem;
  transition: background .18s, border-color .18s;
}
body.blog-article .sidebar-card .tel::before{
  content: ''; width: 15px; height: 15px; flex-shrink: 0; background: var(--gold, #C9A84C);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.blog-article .sidebar-card .tel:hover{ background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.32); color: #fff; }

body.blog-article .sidebar-info,
body.blog-article .related,
body.blog-article .sidebar-urgency{
  background: #fff; border: 1px solid rgba(12,27,46,.08); border-radius: 20px;
  box-shadow: 0 1px 3px rgba(12,27,46,.06), 0 6px 20px rgba(12,27,46,.05);
  padding: 20px 20px 14px;
}
body.blog-article .sidebar-urgency{ border-color: rgba(201,168,76,.5); background: #FBF7EC; padding-bottom: 18px; }
body.blog-article .sidebar-info h5,
body.blog-article .related h5{
  font-family: var(--font-head, 'Manrope', sans-serif); font-weight: 800;
  font-size: .7rem; letter-spacing: .12em; color: #96742a; margin-bottom: .85rem;
}
body.blog-article .info-item{ gap: .7rem; margin-bottom: .75rem; align-items: center; }
body.blog-article .info-item > strong{
  display: grid; place-items: center; width: 32px; height: 32px; min-width: 32px;
  border-radius: 50%; background: #F4F1EA; font-size: .92rem; line-height: 1;
}
body.blog-article .info-item > span{ font-size: .85rem; line-height: 1.45; color: #2A2A2A; }
body.blog-article .info-item > span strong{ color: #0C1B2E; }

body.blog-article .related-link{
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .62rem 0; font-weight: 600; color: #0C1B2E;
  border-bottom: 1px solid rgba(12,27,46,.07); transition: color .18s;
}
body.blog-article .related-link::after{
  content: '→'; color: #b08838; flex-shrink: 0; transition: transform .18s;
}
body.blog-article .related-link:hover{ color: #96742a; }
body.blog-article .related-link:hover::after{ transform: translateX(3px); }
body.blog-article .related-link:last-child{
  justify-content: center; margin-top: .7rem; padding: .6rem 1rem;
  border: 1px solid rgba(12,27,46,.12); border-radius: 999px; font-size: .82rem;
}
body.blog-article .related-link:last-child:hover{ border-color: #b08838; }
body.blog-article .related-link:focus-visible,
body.blog-article .sidebar-card a:focus-visible{ outline: 2px solid #C9A84C; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce){
  body.blog-article .related-link::after, body.blog-article .sidebar-card .btn{ transition: none; }
}

/* ===== Lecture des articles (12/10/2026) ===== */
/* Titres : la police du reste du site (Manrope), plus le Playfair du premier blog.
   On garde l'italique à empattements pour les citations : c'est une voix, pas un titre. */
body.blog-article{ --font-serif: var(--font-head, 'Manrope', system-ui, sans-serif); }
body.blog-article .article__intro h1{ font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
body.blog-article .article h2{ font-weight: 800; font-size: clamp(1.3rem, 3.2vw, 1.6rem); letter-spacing: -.015em; scroll-margin-top: calc(var(--header-h, 104px) + var(--header-top, 14px) + 24px); }
body.blog-article .article h3{ font-family: var(--font-head, inherit); font-weight: 800; }
body.blog-article .pull-quote p{ font-family: 'Playfair Display', Georgia, serif; }
body.blog-article .cta-banner h2{ font-weight: 800; letter-spacing: -.02em; }

/* Sommaire — construit par main.js à partir des h2.
   Téléphone : repliable, sous le chapeau. Ordinateur : dans la colonne,
   collé avec la carte devis, la partie en cours surlignée. */
.art-sommaire{ margin: 0 0 1.8rem; border: 1px solid rgba(12,27,46,.1); border-radius: 16px; background: #fff; }
.art-sommaire summary{
  display: flex; align-items: center; gap: 1rem; cursor: pointer;
  list-style: none; padding: .9rem 1.1rem; min-height: 48px;
  font-family: var(--font-head, inherit); font-weight: 800; font-size: .95rem; color: #0C1B2E;
}
.art-sommaire summary::-webkit-details-marker{ display: none; }
.art-sommaire summary span{ font-weight: 600; font-size: .8rem; color: #5A5A5A; margin-left: auto; }
.art-sommaire summary::after{ content: ''; width: 9px; height: 9px; border-right: 2px solid #b08838; border-bottom: 2px solid #b08838; transform: rotate(45deg) translateY(-2px); transition: transform .18s; flex-shrink: 0; }
.art-sommaire[open] summary::after{ transform: rotate(-135deg) translateY(-2px); }
.art-sommaire summary:focus-visible{ outline: 2px solid #C9A84C; outline-offset: 2px; border-radius: 16px; }
.art-sommaire ol{ list-style: none; margin: 0; padding: 0 .6rem .7rem; counter-reset: s; }
.art-sommaire li{ counter-increment: s; margin: 0; font-size: .9rem !important; }
.art-sommaire a{
  display: flex; gap: .7rem; padding: .55rem .5rem; border-radius: 10px; text-decoration: none;
  color: #1C3350; line-height: 1.4; transition: background .15s, color .15s;
}
.art-sommaire a::before{ content: counter(s, decimal-leading-zero); font: 800 .72rem/1.9 var(--font-head, inherit); color: #b08838; flex-shrink: 0; }
.art-sommaire a:hover{ background: #F7F5F1; }
.art-sommaire a[aria-current="true"]{ background: #F4EBD6; color: #0C1B2E; font-weight: 600; }
.art-sommaire--colonne{ display: none; }

@media (min-width: 769px){
  .art-sommaire--article{ display: none; }
  /* Sommaire + carte devis collés ensemble ; le sommaire défile en interne s'il est long. */
  body.blog-article .sb-colle{
    order: 3; position: sticky; top: calc(var(--header-h, 104px) + var(--header-top, 14px) + 20px);
    display: flex; flex-direction: column; gap: 16px;
    max-height: calc(100vh - var(--header-h, 104px) - var(--header-top, 14px) - 40px);
  }
  body.blog-article .sb-colle .sidebar-card{ position: static; order: 0; flex-shrink: 0; }
  .art-sommaire--colonne{ display: flex; flex-direction: column; min-height: 0; margin: 0; border-radius: 20px; box-shadow: 0 1px 3px rgba(12,27,46,.06), 0 6px 20px rgba(12,27,46,.05); }
  .art-sommaire--colonne .art-sommaire-titre{ font: 800 .7rem/1 var(--font-head, inherit) !important; letter-spacing: .12em; text-transform: uppercase; color: #96742a; padding: 18px 20px 8px; margin: 0; }
  .art-sommaire--colonne ol{ overflow-y: auto; min-height: 0; padding: 0 10px 12px; scrollbar-width: thin; }
  .art-sommaire--colonne a{ font-size: .84rem; padding: .45rem .5rem; }
  /* Le sommaire dit déjà où l'on est : la carte devis passe en version courte. */
  body.blog-article .sb-colle .sidebar-card{ padding: 20px 20px 18px; }
  body.blog-article .sb-colle .sidebar-card p{ display: none; }
}
@media (prefers-reduced-motion: reduce){ .art-sommaire summary::after, .art-sommaire a{ transition: none; } }

/* Téléphone : auteur sur sa ligne, puis « date · durée » — plus de point orphelin. */
@media (max-width: 768px){
  body.blog-article .article__meta{ gap: .35rem .6rem; }
  body.blog-article .article__meta-author{ flex-basis: 100%; margin-bottom: .2rem; }
  body.blog-article .article__meta > span:nth-child(2){ display: none; }
}

/* ===== Fin d'article : « Passer de l'article à votre projet » (12/10/2026) =====
   Généré par banque-articles.py. Solution(s) liée(s), situations traitées,
   zone d'intervention. Téléphone d'abord : cartes en ligne, puces qui défilent. */
.art-suite{
  margin: 3rem 0 0; padding: 22px 18px 20px; border-radius: 20px;
  background: #F7F5F1; border: 1px solid rgba(12,27,46,.08);
}
.article .art-suite-titre{
  font-family: var(--font-head, inherit); font-weight: 800; font-size: 1.2rem !important;
  letter-spacing: -.01em; color: #0C1B2E; margin: 0 0 1rem !important; line-height: 1.25;
}
.as-sols{ display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; }
.as-sol{
  display: grid; grid-template-columns: 76px minmax(0,1fr) auto; gap: 14px; align-items: center;
  padding: 8px 14px 8px 8px; border-radius: 14px; background: #fff; text-decoration: none; color: #0C1B2E;
  border: 1px solid rgba(12,27,46,.08); transition: border-color .18s, box-shadow .18s;
}
.as-sol:hover{ border-color: rgba(201,168,76,.55); box-shadow: 0 10px 26px rgba(12,27,46,.1); }
.as-sol:focus-visible{ outline: 2px solid #C9A84C; outline-offset: 3px; }
.as-sol img{ width: 76px; height: 76px; object-fit: cover; border-radius: 10px; display: block; }
.as-sol-txt{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.as-sol-txt strong{ font-family: var(--font-head, inherit); font-weight: 800; font-size: 1rem; }
.as-sol-txt span{ font-size: .85rem; line-height: 1.4; color: #5A5A5A; }
.as-fleche{ color: #b08838; font-weight: 800; transition: transform .18s; }
.as-sol:hover .as-fleche{ transform: translateX(3px); }
.as-ligne{ margin-top: 1.2rem; }
.article .as-label{
  font: 800 .7rem/1 var(--font-head, inherit) !important; letter-spacing: .12em; text-transform: uppercase;
  color: #96742a; margin: 0 0 .6rem !important;
}
.as-chips{ display: flex; flex-wrap: wrap; gap: 8px; }
.as-chips a{
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  background: #fff; border: 1px solid rgba(12,27,46,.12); color: #0C1B2E; text-decoration: none;
  font-weight: 700; font-size: .85rem; transition: border-color .18s, color .18s;
}
.as-chips a:hover{ border-color: #b08838; color: #96742a; }
.article .as-zone-txt{ margin: 0 !important; font-size: .9rem !important; line-height: 1.6; color: #2A2A2A; }
.as-zone-txt a{ color: #96742a; font-weight: 700; white-space: nowrap; }
@media (min-width: 640px){
  .art-suite{ padding: 28px 28px 24px; }
  .as-sols{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .as-sol{ grid-template-columns: minmax(0,1fr); padding: 0; overflow: hidden; align-items: start; }
  .as-sol img{ width: 100%; height: auto; aspect-ratio: 16/9; border-radius: 0; }
  .as-sol-txt{ padding: 12px 16px 16px; }
  .as-fleche{ display: none; }
}
@media (prefers-reduced-motion: reduce){ .as-sol, .as-fleche{ transition: none; } }

/* Tableaux → fiches sur téléphone (classe posée par main.js) */
@media (max-width: 639px){
  .article .table-defile:has(.tb-fiches){ overflow: visible; }
  .article table.tb-fiches{ display: block; border: 0; border-radius: 0; background: none; margin: 1.5rem 0; min-width: 0 !important; width: 100%; }
  .article table.tb-fiches caption{ display: block; text-align: left; margin-bottom: .6rem; }
  .article table.tb-fiches thead{ display: none; }
  .article table.tb-fiches tbody{ display: flex; flex-direction: column; gap: 10px; }
  .article table.tb-fiches tr{
    display: block; background: #fff; border: 1px solid rgba(12,27,46,.1); border-radius: 14px; padding: 12px 14px;
  }
  /* Intitulé au-dessus, valeur en dessous : en grille, un <strong> au
     milieu d'une cellule devenait une case à part et cassait la ligne. */
  .article table.tb-fiches th, .article table.tb-fiches td{
    display: block; padding: .45rem 0 !important; border: 0 !important; background: none !important;
    text-align: left; font-size: .92rem; overflow-wrap: anywhere;
  }
  .article table.tb-fiches tr > :first-child{
    font-family: var(--font-head, inherit); font-weight: 800; font-size: 1rem; color: #0C1B2E;
    padding-bottom: .55rem !important; margin-bottom: .1rem; border-bottom: 1px solid rgba(12,27,46,.08) !important;
  }
  .article table.tb-fiches td + td, .article table.tb-fiches th + td{ border-top: 0 !important; }
  .article table.tb-fiches td::before{
    content: attr(data-label); display: block; margin-bottom: .1rem;
    font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #96742a;
  }
  .article table.tb-fiches td[data-label=""]::before{ display: none; }
}
/* Ordinateur : deux cartes solution alignées, quel que soit le texte */
@media (min-width: 640px){ .as-sol{ grid-template-rows: auto 1fr; align-content: start; } }

/* ===== Correctifs téléphone (12/10/2026, captures de Mathys) ===== */
/* Bandeau de fin : collé au pied de page bleu, il héritait des coins arrondis
   des bandeaux de main.css → quatre coins blancs entre deux aplats bleus. */
body.blog-article .cta-banner{ border-radius: 0; display: block; margin-bottom: 0; }
/* Listes à coches : en flex, chaque morceau (<strong>, texte, <em>) devenait
   une colonne — « Le / type / de / vitrage » sur quatre lignes. */
.benefits li{ display: block; position: relative; padding-left: 2rem; }
.benefits li::before{ position: absolute; left: 0; top: .2em; }
/* Fiche chantier : les valeurs ne passaient pas à la ligne et sortaient de l'écran. */
.roi-row strong{ white-space: normal; }
@media (max-width: 640px){
  .roi-box{ padding: 1.5rem 1.2rem; }
  .roi-row{ flex-direction: column; align-items: flex-start; gap: .15rem; }
  .roi-row strong{ text-align: left; }
}
/* Composants d'article au design actuel : rayons 16–20 px, titres Manrope,
   carte sombre avec le liseré « verre » de l'en-tête. */
body.blog-article .alert-box{ border-radius: 16px; border-width: 1px; padding: 1.2rem 1.3rem; }
body.blog-article .pull-quote{ border-radius: 0 16px 16px 0; }
body.blog-article .roi-box, body.blog-article .analogy{
  border-radius: 20px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(201,168,76,.14), transparent 55%), linear-gradient(160deg, #15293f 0%, #0C1B2E 62%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 14px 34px rgba(12,27,46,.18);
}
body.blog-article .roi-box h3, body.blog-article .analogy h3{ font-family: var(--font-head, inherit); font-weight: 800; letter-spacing: -.01em; }
/* Boutons des articles : pilule or du site, plus le rectangle du premier blog */
body.blog-article .cta-banner .btn, body.blog-article .article .btn, body.blog-article .cta-inline .btn{
  border-radius: 999px; font-family: var(--font-head, inherit); font-weight: 800; padding: .9rem 1.6rem;
  box-shadow: 0 8px 22px rgba(201,168,76,.28);
}
