/* Kiwi Assurance Moto : habillage du site (en-tête, pied, accueil, pages). */
:root {
  color-scheme: light;
  --k-fond: #ffffff;
  --k-texte: #141417;
  --k-accent: #3f7d20;
  --k-lien: #2f5f17;
  --k-lave: #eef5e6;
  --k-encre: #1f2a37;
  --k-orange: #c2410c;
  --k-gris: #4b5563;
  --k-bord: #d8e3cf;
  --k-titre: 'Quantico', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --k-corps: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --k-large: 1100px;
}
html, body { background: var(--k-fond); color: var(--k-texte); }
body { font-family: var(--k-corps); font-size: 17px; line-height: 1.65; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--k-titre); font-weight: 700; color: var(--k-encre); line-height: 1.2; }
a { color: var(--k-lien); }
.kv-icone { flex: none; vertical-align: -0.2em; }

/* ---------- Bandeau des derniers titres ---------- */
.bh-k1w1-bandeau { display: flex; align-items: center; gap: 12px; background: var(--k-encre); color: #fff; font-size: 14px; padding: 0 8px 0 16px; min-height: 44px; overflow: hidden; }
.bh-k1w1-bandeau__label { font-family: var(--k-titre); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #cfe8bf; white-space: nowrap; }
.bh-k1w1-bandeau__defile { flex: 1; min-width: 0; overflow: hidden; }
.bh-k1w1-bandeau .kv-piste { display: flex; gap: 40px; white-space: nowrap; width: max-content; }
.bh-k1w1-bandeau a { color: #fff; text-decoration: none; line-height: 44px; }
.bh-k1w1-bandeau a:hover { text-decoration: underline; }
.bh-k1w1-bandeau [data-fermer] { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: #fff; cursor: pointer; flex: none; }

/* ---------- En-tête ---------- */
.g-header { background: #fff; border-bottom: 1px solid var(--k-bord); }
.g-header .g-nav { max-width: 1180px; min-height: 76px; gap: 32px; }
.g-brand img { height: 48px; width: auto; max-height: 64px; }
.g-brand__name { font-family: var(--k-titre); font-weight: 700; color: var(--k-encre); }
.g-brand__sub { color: var(--k-gris); }
.g-navlinks { gap: 32px; }
.g-navlinks a { white-space: nowrap; color: var(--k-encre); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.g-navlinks a.is-active, .g-navlinks a:hover { color: var(--k-accent); }
.g-nav__cta { white-space: nowrap; min-height: 44px; gap: 8px; display: inline-flex; align-items: center; background: var(--k-accent); color: #fff; border-color: var(--k-accent); }
.g-nav__cta:hover { background: var(--k-lien); color: #fff; }
.g-nav__toggle { min-width: 44px; min-height: 44px; }
@media (max-width: 1180px) { .g-navlinks { gap: 24px; } .g-header .g-nav { gap: 24px; } }
.g-brand { flex-shrink: 0; }
.g-brand__name { white-space: nowrap; }

/* ---------- Pied de page ---------- */
.bh-k1w1-pied { background: var(--k-lave); border-top: 1px solid var(--k-bord); padding: 28px 16px 24px; margin-top: 0; }
.bh-k1w1-pied__in { max-width: var(--k-large); margin: 0 auto; text-align: center; display: grid; gap: 10px; justify-items: center; }
.bh-k1w1-pied__logo img { height: 40px; width: auto; display: block; }
.bh-k1w1-pied__liens { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 22px; }
.bh-k1w1-pied__liens a { color: var(--k-encre); font-weight: 600; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.bh-k1w1-pied__liens a:hover { color: var(--k-accent); text-decoration: underline; }
.bh-k1w1-pied__legal, .bh-k1w1-pied__credit { margin: 0; font-size: 14px; color: var(--k-gris); }
.bh-k1w1-pied__legal a, .bh-k1w1-pied__credit a { color: var(--k-lien); }

/* ---------- Accueil : cadre commun ---------- */
.bh-k1w1-bloc { padding: 64px 16px; }
.bh-k1w1-bloc--lave { background: var(--k-lave); }
.bh-k1w1-in { max-width: var(--k-large); margin: 0 auto; }
.bh-k1w1-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.bh-k1w1-tete h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); }
.bh-k1w1-tete p { margin: 6px 0 0; color: var(--k-gris); max-width: 62ch; }
.bh-k1w1-lien { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--k-lien); min-height: 44px; text-decoration: none; }
.bh-k1w1-lien:hover { text-decoration: underline; }
.bh-k1w1-sur { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--k-lien); text-decoration: none; }
.bh-k1w1-meta { font-size: 14px; color: var(--k-gris); }
.bh-k1w1-carte { background: #fff; border: 1px solid var(--k-bord); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.bh-k1w1-carte img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; max-height: 320px; }
.bh-k1w1-carte__corps { padding: 18px 20px 22px; display: grid; gap: 8px; }
.bh-k1w1-carte h3 { margin: 0; font-size: 20px; }
.bh-k1w1-carte h3 a { color: var(--k-encre); text-decoration: none; }
.bh-k1w1-carte h3 a:hover { color: var(--k-accent); }
.bh-k1w1-carte p { margin: 0; color: #374151; }
.bh-k1w1-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 8px; font-weight: 700; text-decoration: none; background: var(--k-accent); color: #fff; border: 2px solid var(--k-accent); }
.bh-k1w1-btn:hover { background: var(--k-lien); border-color: var(--k-lien); color: #fff; }
.bh-k1w1-btn--clair { background: transparent; color: #fff; border-color: #fff; }
.bh-k1w1-btn--clair:hover { background: #fff; color: var(--k-encre); }
.g-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* 1. hero-une */
.bh-k1w1-hero { display: grid; grid-template-columns: 55% 45%; min-height: calc(100vh - 120px); background: var(--k-lave); }
.bh-k1w1-hero__media img { width: 100%; height: 100%; max-height: 480px; min-height: 100%; object-fit: cover; display: block; }
.bh-k1w1-hero__media { overflow: hidden; max-height: calc(100vh - 120px); }
.bh-k1w1-hero__texte { padding: 48px clamp(20px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.bh-k1w1-hero__texte h1 { margin: 0; font-size: clamp(32px, 3.6vw, 50px); }
.bh-k1w1-hero__texte h1 a { color: var(--k-encre); text-decoration: none; }
.bh-k1w1-hero__texte p { margin: 0; font-size: 19px; color: #374151; }

/* 2. unes secondaires */
.bh-k1w1-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.bh-k1w1-duo .bh-k1w1-carte h3 { font-size: 24px; }

/* 3. dossier assurance */
.bh-k1w1-dossier { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.bh-k1w1-dossier__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.bh-k1w1-dossier__liste li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--k-bord); border-radius: 10px; overflow: hidden; }
.bh-k1w1-dossier__liste img { width: 120px; height: 100%; min-height: 96px; object-fit: cover; display: block; }
.bh-k1w1-dossier__liste h3 { font-size: 17px; margin: 0; padding-right: 12px; }
.bh-k1w1-dossier__liste h3 a { color: var(--k-encre); text-decoration: none; }
.bh-k1w1-pastille { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--k-accent); color: #fff; }

/* 4. bascule */
.bh-k1w1-bascule { display: grid; gap: 24px; }
.bh-k1w1-bascule .kv-interrupteur { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--k-bord); justify-self: start; flex-wrap: wrap; }
.bh-k1w1-bascule .kv-interrupteur button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; font-weight: 700; color: var(--k-encre); cursor: pointer; font: inherit; font-weight: 700; }
.bh-k1w1-bascule .kv-interrupteur button[aria-pressed="true"], .bh-k1w1-bascule .kv-interrupteur button.kv-actif { background: var(--k-accent); color: #fff; }
.bh-k1w1-bascule__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bh-k1w1-bascule__col { background: #fff; border: 1px solid var(--k-bord); border-radius: 10px; padding: 24px; }
.bh-k1w1-bascule__col h3 { margin: 0 0 10px; display: flex; gap: 10px; align-items: center; }
.bh-k1w1-bascule__col ul { margin: 0; padding-left: 20px; }

/* 6. quiz */
.bh-k1w1-quiz { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--k-bord); border-radius: 12px; padding: 28px; }
.bh-k1w1-quiz [data-question] { border-top: 1px solid var(--k-bord); padding: 16px 0; }
.bh-k1w1-quiz [data-question-texte] { font-weight: 600; margin: 0 0 8px; }
.bh-k1w1-quiz [data-explication] { margin: 8px 0 0; color: #374151; }
.bh-k1w1-quiz button { min-height: 44px; min-width: 72px; }

/* 7. classement */
.bh-k1w1-classement { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; counter-reset: rang; }
.bh-k1w1-classement li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; counter-increment: rang; padding: 16px 0; border-bottom: 1px solid var(--k-bord); }
.bh-k1w1-classement li::before { content: counter(rang, decimal-leading-zero); font-family: var(--k-titre); font-weight: 700; font-size: 48px; line-height: 1; color: var(--k-accent); }
.bh-k1w1-classement h3 { margin: 0 0 6px; font-size: 19px; }
.bh-k1w1-classement h3 a { color: var(--k-encre); text-decoration: none; }
.bh-k1w1-classement p { margin: 0; color: #374151; font-size: 15px; }

/* 8. frise bonus */
.bh-k1w1-frise { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.bh-k1w1-frise img { width: 100%; max-height: 320px; object-fit: cover; border-radius: 10px; display: block; }
.bh-k1w1-frise ol { list-style: none; margin: 0; padding: 0 0 0 24px; border-left: 3px solid var(--k-accent); display: grid; gap: 20px; }
.bh-k1w1-frise [data-jalon] strong { display: block; font-family: var(--k-titre); font-size: 28px; color: var(--k-encre); }
.bh-k1w1-frise [data-jalon] span { color: #374151; }
.bh-k1w1-frise [data-jalon].is-alerte strong { color: var(--k-orange); }

/* 9. sélection : cartes horizontales */
.bh-k1w1-horiz { display: grid; gap: 20px; }
.bh-k1w1-horiz .bh-k1w1-carte { flex-direction: row; }
.bh-k1w1-horiz .bh-k1w1-carte img { width: 300px; aspect-ratio: 4/3; flex: none; }

/* 10. étapes */
.bh-k1w1-etapes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.bh-k1w1-etapes [data-etapes-visuel] { width: 100%; max-height: 420px; object-fit: cover; border-radius: 10px; display: block; }
.bh-k1w1-etapes ol { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 14px; counter-reset: etape; }
.bh-k1w1-etapes li { counter-increment: etape; display: grid; grid-template-columns: 44px 1fr; gap: 14px; background: #fff; border: 1px solid var(--k-bord); border-radius: 10px; padding: 14px 16px; }
.bh-k1w1-etapes li::before { content: counter(etape); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--k-accent); color: #fff; font-family: var(--k-titre); font-weight: 700; }
.bh-k1w1-etapes li h3 { margin: 0 0 4px; font-size: 18px; }
.bh-k1w1-etapes li p { margin: 0; font-size: 15px; color: #374151; }

/* 11. rubriques */
.bh-k1w1-tuiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bh-k1w1-tuile { display: grid; gap: 10px; padding: 28px; border-radius: 12px; background: #fff; border: 1px solid var(--k-bord); text-decoration: none; color: var(--k-texte); }
.bh-k1w1-tuile:hover { border-color: var(--k-accent); }
.bh-k1w1-tuile h3 { margin: 0; font-size: 22px; }
.bh-k1w1-tuile p { margin: 0; color: #374151; font-size: 15px; }
.bh-k1w1-tuile__compte { font-family: var(--k-titre); font-size: 40px; font-weight: 700; color: var(--k-accent); line-height: 1; }

/* 12. fil complet */
.bh-k1w1-fil { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 48px; }
.bh-k1w1-fil li { break-inside: avoid; padding: 14px 0; border-bottom: 1px solid var(--k-bord); display: grid; gap: 4px; }
.bh-k1w1-fil a { color: var(--k-encre); font-weight: 600; text-decoration: none; }
.bh-k1w1-fil a:hover { color: var(--k-accent); }

/* 13. auteurs */
.bh-k1w1-auteurs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: center; }
.bh-k1w1-auteurs img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; display: block; }
.bh-k1w1-auteurs h3 { font-size: 17px; margin: 0; }
.bh-k1w1-auteurs h3 a { color: var(--k-encre); text-decoration: none; }
.bh-k1w1-auteurs p { margin: 4px 0 0; font-size: 14px; color: var(--k-gris); }

/* 14. à propos (bande encre) */
.bh-k1w1-encre { background: var(--k-encre); color: #fff; }
.bh-k1w1-encre h2 { color: #fff; margin: 0 0 12px; font-size: clamp(26px, 3vw, 34px); }
.bh-k1w1-encre p { color: #e5e7eb; max-width: 70ch; margin: 0 0 22px; }
.bh-k1w1-encre .bh-k1w1-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* 15. message de saison */
.bh-k1w1-saison { background: var(--k-lave); border-left: 6px solid var(--k-orange); border-radius: 10px; padding: 22px 26px; display: flex; gap: 16px; align-items: flex-start; }
.bh-k1w1-saison p { margin: 0; }
.bh-k1w1-saison strong { font-family: var(--k-titre); color: var(--k-encre); }

/* ---------- Accueil : blocs pratiques condensés (contenu intact) ---------- */
[data-bloc="bascule-formule"], [data-bloc="quiz-garanties"], [data-bloc="etapes-sinistre"], [data-bloc="rubriques"], [data-bloc="auteurs"], [data-bloc="a-propos"], [data-bloc="message-saison"] { padding-top: 28px; padding-bottom: 28px; }
[data-bloc="bascule-formule"] .bh-k1w1-tete, [data-bloc="quiz-garanties"] .bh-k1w1-tete, [data-bloc="etapes-sinistre"] .bh-k1w1-tete, [data-bloc="rubriques"] .bh-k1w1-tete, [data-bloc="auteurs"] .bh-k1w1-tete { margin-bottom: 14px; }
[data-bloc="bascule-formule"] .bh-k1w1-bascule { gap: 14px; }
.bh-k1w1-bascule__col { padding: 16px 20px; }
.bh-k1w1-quiz { max-width: none; padding: 16px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.bh-k1w1-quiz [data-quiz-score] { grid-column: 1 / -1; margin: 0 0 4px; }
.bh-k1w1-quiz [data-question] { padding: 10px 0; }
.bh-k1w1-etapes { gap: 28px; align-items: start; }
.bh-k1w1-etapes [data-etapes-visuel] { max-height: 260px; }
.bh-k1w1-etapes ol { gap: 8px; }
.bh-k1w1-etapes li { padding: 10px 14px; }
.bh-k1w1-tuiles { grid-template-columns: 1fr; gap: 10px; }
.bh-k1w1-tuile { grid-template-columns: 32px 240px 120px 1fr; align-items: center; gap: 16px; padding: 14px 20px; }
.bh-k1w1-tuile__compte { font-size: 28px; }
.bh-k1w1-auteurs img { width: 72px; height: 72px; }
.bh-k1w1-encre p { margin-bottom: 14px; }
.bh-k1w1-saison { padding: 14px 20px; }
.bh-k1w1-vedette h2 { margin: 6px 0 8px; }
.bh-k1w1-vedette h2 a { color: var(--k-encre); text-decoration: none; }
.bh-k1w1-vedette h2 a:hover { color: var(--k-accent); }

/* ---------- Pages internes ---------- */
[data-usine-page="interne"] { max-width: 1100px; margin: 0 auto; padding: 48px 16px 64px; }
[data-usine-page="interne"] > * { max-width: 75ch; }
/* L'article porte le KitArticle : sa colonne .ka-cote doit tenir à côté du corps, donc pas de plafond 75ch ici */
.bh-k1w1-article > .g-prose { max-width: none; }
[data-usine-page="interne"] .bh-k1w1-large, [data-usine-page="interne"] .g-grid-3 { max-width: none; }
.bh-k1w1-heros { background: var(--k-lave); padding: 56px 16px 40px; }
.bh-k1w1-heros h1 { margin: 6px 0 12px; font-size: clamp(30px, 4vw, 44px); }
.bh-k1w1-heros p { margin: 0; max-width: 70ch; font-size: 18px; color: #374151; }
.bh-k1w1-article { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.bh-k1w1-retour { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.bh-k1w1-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.bh-k1w1-tags a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--k-lave); color: var(--k-lien); font-size: 14px; font-weight: 600; text-decoration: none; }
.g-prose img, .g-article img { max-height: 480px; object-fit: cover; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .bh-k1w1-hero { grid-template-columns: 1fr; min-height: 0; }
  .bh-k1w1-hero__media { max-height: none; }
  .bh-k1w1-hero__media img { height: 45vh; min-height: 0; }
  .bh-k1w1-duo, .bh-k1w1-dossier, .bh-k1w1-bascule__cols, .bh-k1w1-frise, .bh-k1w1-etapes, .bh-k1w1-tuiles, .bh-k1w1-classement, .g-grid-3 { grid-template-columns: 1fr; }
  .bh-k1w1-auteurs { grid-template-columns: repeat(2, 1fr); }
  .bh-k1w1-fil { columns: 1; }
  .bh-k1w1-horiz .bh-k1w1-carte { flex-direction: column; }
  .bh-k1w1-horiz .bh-k1w1-carte img { width: 100%; }
  .bh-k1w1-bloc { padding: 32px 12px; }
  .bh-k1w1-classement li, .bh-k1w1-etapes li { grid-template-columns: 1fr; gap: 8px; }
  .bh-k1w1-classement li::before { font-size: 32px; }
  .bh-k1w1-etapes li { padding: 12px; }
  .bh-k1w1-frise ol { padding-left: 12px; }
  .bh-k1w1-quiz { grid-template-columns: 1fr; padding: 14px; }
  .bh-k1w1-bascule__col { padding: 14px; }
  .bh-k1w1-tuile { grid-template-columns: 1fr; gap: 8px; padding: 14px; }
  .bh-k1w1-bandeau__label { display: none; }
  .g-header .g-nav { min-height: 64px; }
  .g-brand img { height: 40px; }
}

/* Pré-contrôle : marque sur une ligne, une centrée, colonnes lisibles */
.g-brand__text { flex-direction: row; align-items: baseline; gap: .3em; white-space: nowrap; }
@media (min-width: 1280px) { .bh-k1w1-hero { max-width: 1100px; margin-inline: auto; min-height: 0; } }
.g-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bh-k1w1-form input, .bh-k1w1-form textarea { width: 100%; max-width: 560px; padding: 10px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; }
@media (max-width: 700px) {
  .g-grid-3 { grid-template-columns: 1fr; }
  .g-card__body { padding: 14px; }
  .g-persona { flex-direction: column; }
  .g-section > .g-container { padding-inline: 12px; }
}

/* Boucle 2 : base.css du thème est servi après ce fichier, la grille 2 colonnes doit gagner en spécificité.
   Cartes de rubrique et bios d’équipe ≥ 300 px de texte à 1440 ; carte seule en fin de grille sur toute la largeur. */
main .g-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
main .g-grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 700px) {
  main .g-grid-3 { grid-template-columns: 1fr; }
  main .g-grid-3 > :last-child:nth-child(odd) { grid-column: auto; }
}
/* Header : le menu suit le logo, le bouton part à droite (socle:header-groupe) */
.g-header .g-navlinks { margin-left: 0; margin-right: auto; }
/* Message du mois à 390 : icône au-dessus du texte, colonne pleine largeur */
@media (max-width: 640px) {
  .bh-k1w1-saison { flex-direction: column; gap: 8px; padding: 14px 14px; }
  .g-header .g-brand img { height: 36px; }
  .g-header .g-brand { min-height: 44px; }
}
/* colonne_etroite : dans la colonne latérale, les fiches « Pour continuer la lecture » prennent toute la largeur (texte >= 300 px à 390 et 1440) */
aside.ka-cote .ka-cote-in .ka-lie:not(:first-child) { width: 100% !important; }

/* ---------- Passe builder-4 ---------- */
.g-header .bh-k1w1-bandeau { width: 100%; box-sizing: border-box; }
[data-bloc="une"].bh-k1w1-hero { max-width: none; margin: 0; min-height: calc(100svh - 120px); background: #eef5e6; }
@media (min-width: 1280px) { [data-bloc="une"].bh-k1w1-hero { max-width: none; margin: 0; min-height: calc(100svh - 120px); } }
@media (max-width: 900px) { [data-bloc="une"].bh-k1w1-hero { min-height: 0; } }
[data-bloc="une"] .bh-k1w1-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
[data-bloc="une"] .bh-k1w1-hero__actions a { min-height: 44px; display: inline-flex; align-items: center; }
[data-bloc="rubrique-assurance"] .bh-k1w1-dossier { align-items: stretch; }
[data-bloc="rubrique-assurance"] .bh-k1w1-dossier > .bh-k1w1-carte img { max-height: 360px; }
[data-bloc="rubrique-equipement"] .g-grid-3 { grid-template-columns: repeat(3, 1fr); }
[data-bloc="rubrique-equipement"] .g-grid-3 > * { grid-column: auto !important; }
[data-bloc="rubrique-conduite"] .bh-k1w1-grille4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
[data-bloc="rubrique-conduite"] .bh-k1w1-grille4 img { max-height: 220px; object-fit: cover; }
@media (max-width: 1024px) { [data-bloc="rubrique-conduite"] .bh-k1w1-grille4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { [data-bloc="rubrique-equipement"] .g-grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { [data-bloc="rubrique-conduite"] .bh-k1w1-grille4 { grid-template-columns: 1fr; } }
[data-bloc="message-saison"] .bh-k1w1-saison { border-left: 0; background: #eef5e6; color: #1f2a37; }
[data-bloc="message-saison"] .bh-k1w1-saison a, [data-bloc="message-saison"] .bh-k1w1-saison svg { color: #2f5f17; }

.bh-k1w1-pied { background: #1f2a37; border-top: 0; color: #eef5e6; }
.bh-k1w1-pied a, .bh-k1w1-pied p, .bh-k1w1-pied__titre { color: #eef5e6; }
.bh-k1w1-pied a:hover { color: #fff; }
.bh-k1w1-pied img { filter: brightness(0) invert(1); }
.bh-k1w1-pied__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); justify-content: center; gap: 48px; margin: 24px auto; }
.bh-k1w1-pied__titre { font-family: var(--k-titre); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; }
.bh-k1w1-pied__liens { list-style: none; margin: 0; padding: 0; }
.bh-k1w1-pied__liens a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.bh-k1w1-pied__social { list-style: none; padding: 0; display: flex; justify-content: center; gap: 16px; }

.bh-k1w1-grille3 { grid-template-columns: repeat(3, 1fr); }
.bh-k1w1-grille3 > * { grid-column: auto !important; }
@media (max-width: 900px) { .bh-k1w1-grille3 { grid-template-columns: 1fr; } }
.bh-k1w1-pilules { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.bh-k1w1-pilules a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #eef5e6; color: #2f5f17; text-decoration: none; font-weight: 600; }
.bh-k1w1-pilules a:hover { background: #3f7d20; color: #fff; }
[data-usine-page="interne"] .bh-k1w1-bio, [data-usine-page="interne"] .bh-k1w1-pilules { max-width: none; }

[data-usine-page="interne"]:not(:has(.g-grid-3, .bh-k1w1-contact)) > * { max-width: 720px; margin-inline: auto; }
[data-usine-page="interne"] .bh-k1w1-contact { max-width: none; display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.bh-k1w1-contact__carte { background: #eef5e6; border-radius: 12px; padding: 28px; }
.bh-k1w1-contact__carte ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.bh-k1w1-contact__carte li { display: flex; gap: 12px; align-items: flex-start; }
.bh-k1w1-contact__carte svg { color: #2f5f17; flex: none; }
@media (max-width: 900px) { [data-usine-page="interne"] .bh-k1w1-contact { grid-template-columns: 1fr; } }
.bh-k1w1-portraits { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; text-align: center; }
.bh-k1w1-portraits a { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #1f2a37; text-decoration: none; }
.bh-k1w1-portraits img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
@media (max-width: 900px) { .bh-k1w1-portraits { grid-template-columns: repeat(2, 1fr); } }

/* builder-4 (portier) : conteneur du kit article à 1100 px, sans plafond 75ch */
.bh-k1w1-kit{max-width:1100px;margin-inline:auto;padding-inline:clamp(1rem,3vw,2rem);box-sizing:border-box}
[data-usine-page="interne"].bh-k1w1-article > .bh-k1w1-kit{max-width:1100px;width:100%}
/* Hauteur réelle du header sticky (bandeau inclus), mesurée : 139 px desktop, 131 px mobile */
:root{--header-h:139px}
@media (max-width:640px){:root{--header-h:131px}}
html{scroll-padding-top:calc(var(--header-h) + 16px)}
/* Pré-contrôle 04/12 : hero contenu à 1100 px (fond étendu sans élargir la boîte), sans trou vertical */
[data-bloc="une"].bh-k1w1-hero{min-height:0}
[data-bloc="une"] .bh-k1w1-hero__media{max-height:none}
[data-bloc="une"] .bh-k1w1-hero__media img{max-height:520px;height:100%;min-height:100%}
@media (min-width:1280px){[data-bloc="une"].bh-k1w1-hero{max-width:1100px;margin-inline:auto;min-height:0;box-shadow:0 0 0 100vmax #eef5e6;clip-path:inset(0 -100vmax)}}
@media (max-width:900px){[data-bloc="une"] .bh-k1w1-hero__media img{height:45vh;min-height:0}}
[data-bloc="rubrique-conduite"] .bh-k1w1-grille4{grid-template-columns:repeat(2,1fr)}
@media (max-width:640px){[data-bloc="rubrique-conduite"] .bh-k1w1-grille4{grid-template-columns:1fr}}
@media (max-width:640px){.bh-k1w1-contact__carte{padding:16px}.bh-k1w1-contact__carte li{flex-direction:column;gap:6px}}
@media (max-width:480px){.bh-k1w1-kit{padding-inline:6px}}
