/* Thème du Club Soigner l'Habitat, d'après la maquette Club.dc.html validée le 16/11/2026 */
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/montserrat-latin.woff2") format("woff2");
}

:root {
    --navy: #354463;
    --navy-dark: #22304a;
    --navy-card: #2c3a56;
    --teal: #0f6f63;
    --teal-dark: #0b5249;
    --lime: #a4c863;
    --text: #354463;
    --muted: #5a6878;
    --grey-bg: #f6f7f9;
    --line: #e9edf1;
    --line-2: #dfe4ec;
    --radius: 16px;
    --gh-font-heading: "Montserrat", Arial, sans-serif;
    --gh-font-body: "Montserrat", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: "Montserrat", Arial, sans-serif;
    color: var(--text);
    background: #ffffff;
    font-size: 16px;
    line-height: 1.6;
}
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
img { max-width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.stack-8 { display: flex; flex-direction: column; gap: 8px; }
.stack-28 { display: flex; flex-direction: column; gap: 28px; }
.stack-32 { display: flex; flex-direction: column; gap: 32px; }
.stack-36 { display: flex; flex-direction: column; gap: 36px; }

/* Typographie */
.eyebrow { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow-lg { font-size: 13px; letter-spacing: 0.14em; }
.eyebrow-lime { color: var(--lime); }
.eyebrow-grey { color: #4a5767; }
.lead { margin: 0; font-size: 18px; color: var(--muted); }
.muted { color: var(--muted); }
.small { margin: 0; font-size: 13px; }
.h2-lg { margin: 0; font-size: 38px; line-height: 1.15; font-weight: 800; }
.h2 { margin: 0; font-size: 34px; line-height: 1.2; font-weight: 800; }
.h3 { margin: 0; font-size: 24px; line-height: 1.25; font-weight: 800; }

/* Boutons */
.btn { display: inline-block; text-align: center; text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; line-height: 1.3; cursor: pointer; }
.btn-lg { font-size: 17px; padding: 14px 26px; }
.btn-sm { padding: 10px 20px; font-weight: 800; align-self: flex-start; }
.btn-block { display: block; width: 100%; margin-top: auto; }
.btn-navy { background: var(--navy); color: #ffffff; }
.btn-navy:hover { background: var(--navy-dark); color: #ffffff; }
.btn-lime { background: var(--lime); color: var(--navy-dark); font-weight: 800; }
.btn-lime:hover { background: #93b955; color: var(--navy-dark); }
.btn-outline-teal { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-outline-teal:hover { background: #f2f8f7; }
.btn-outline-grey { border-color: var(--muted); color: #4a5767; align-self: flex-start; }
.btn-disabled { background: var(--line); color: var(--muted); cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* En-tête */
.site-header { border-bottom: 1px solid var(--line); background: #ffffff; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 16px; padding-bottom: 16px; }
.nav-brand { text-decoration: none; color: var(--text); display: flex; flex-direction: column; line-height: 1.05; }
.nav-brand:hover { color: var(--text); }
.nav-brand-small { font-size: 13px; font-weight: 600; color: var(--muted); }
.nav-brand-big { font-size: 20px; font-weight: 800; letter-spacing: 0.02em; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 26px; flex: 1 1 auto; font-weight: 600; font-size: 15px; }
.nav-links a, .nav-signin { color: var(--text); text-decoration: none; }
.nav-links a:hover, .nav-signin:hover { color: var(--teal); }
.nav-signin { font-weight: 700; padding: 10px 16px; margin-left: auto; }

/* Accueil */
.hero { background: var(--grey-bg); }
.hero-inner { padding-top: 56px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 32px; }
.hero-head { display: flex; flex-direction: column; gap: 14px; max-width: 46em; }
.hero-title { margin: 0; font-size: 50px; line-height: 1.12; font-weight: 800; letter-spacing: -0.01em; }
.hero-cols { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.hero-video { flex: 1 1 480px; min-width: 0; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.video-placeholder { aspect-ratio: 16 / 9; background: var(--navy); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #ffffff; font-weight: 600; font-size: 15px; text-align: center; padding: 16px; }
.play-round { width: 72px; height: 72px; border-radius: 50%; background: var(--lime); color: var(--navy-dark); display: flex; align-items: center; justify-content: center; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.audiences { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.audiences li { display: flex; gap: 12px; }
.aud-label { flex: none; width: 140px; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 2px; }
.aud-habitants { border-top: 1px solid var(--line-2); padding-top: 12px; color: var(--teal); }

.figures { background: var(--navy); color: #ffffff; }
.figures-grid { padding-top: 28px; padding-bottom: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.figures-grid > div { display: flex; flex-direction: column; font-size: 15px; }
.fig-big { font-size: 30px; font-weight: 800; color: var(--lime); line-height: 1.3; }

.section { padding-top: 80px; padding-bottom: 80px; }
.section-tight { padding-top: 48px; padding-bottom: 48px; }
.section-grey { background: var(--grey-bg); }
.section-navy { background: var(--navy); color: #ffffff; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 46em; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: stretch; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

.tier { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; background: #ffffff; position: relative; }
.tier h3 { margin: 0; font-size: 22px; font-weight: 800; }
.tier-head { display: flex; flex-direction: column; gap: 4px; }
.tier-head .muted { margin: 0; font-size: 15px; }
.tier-pro { border: 2px solid var(--navy); }
.tier-flag { position: absolute; top: -14px; left: 32px; background: var(--lime); color: var(--navy-dark); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.tier-price-block { display: flex; flex-direction: column; gap: 4px; }
.tier-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; line-height: 1; }
.price { margin: 0; font-size: 38px; font-weight: 800; line-height: 1; }
.price small { font-size: 16px; font-weight: 600; }
.price-old { font-size: 20px; font-weight: 600; color: var(--muted); }
.tier-soon { border: 1px dashed #b9c2cc; background: var(--grey-bg); padding: 28px 32px; gap: 16px; }
.tier-soon-teal { border-color: #8fc7bd; background: #f2f8f7; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.checks li { display: flex; gap: 10px; }
.checks svg { flex: none; margin-top: 4px; color: var(--teal); }
.checks-grey svg, .checks .soon, .checks .soon svg { color: var(--muted); }

.panel { background: #ffffff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.panel p { margin: 0; }
.panel-big { font-size: 26px; font-weight: 800; line-height: 1.2; }
.panel-mid { font-size: 22px; font-weight: 800; line-height: 1.25; }
.replay-link { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--text); }
.replay-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.replay-thumb-empty { background: var(--navy); color: var(--lime); display: flex; align-items: center; justify-content: center; }
.replay-title { font-weight: 700; }

.pillar { border-top: 4px solid var(--lime); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text); }
.pillar:hover { color: var(--text); }
.pillar:hover .pillar-title { color: var(--teal); }
.pillar-num { font-size: 44px; font-weight: 800; line-height: 1; }
.pillar-title { font-size: 20px; font-weight: 800; }

.letter { background: var(--navy-card); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: #ffffff; }
.letter:hover { color: #ffffff; background: #33446a; }
.letter-title { font-size: 20px; line-height: 1.3; font-weight: 700; }
.letter-excerpt { font-size: 15px; color: var(--line-2); }

.promise { display: flex; flex-wrap: wrap; gap: 40px; }
.promise-head { flex: 1 1 320px; display: flex; flex-direction: column; gap: 10px; }
.promise-list { flex: 2 1 520px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.promise-list li { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.promise-list li:last-child { border-bottom: 0; }

/* Cartes d'articles (listes) */
.card { background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); }
.card-link:hover .card-title { color: var(--teal); }
.card-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.card-title { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 800; }
.card-excerpt { margin: 0; font-size: 15px; color: var(--muted); }
.card-meta { margin: 0; font-size: 13px; color: var(--muted); }
.badge-pro { color: var(--navy); }
.pagination { display: flex; gap: 16px; align-items: center; justify-content: center; color: var(--muted); }

/* Article */
.article { padding-bottom: 80px; }
.article-head { max-width: 800px; padding-top: 56px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 12px; }
.article-head p { margin: 0; }
.article-title { margin: 0; font-size: 40px; line-height: 1.15; font-weight: 800; }
.article-image { max-width: 1000px; margin: 0 auto 32px; }
.article-image img { border-radius: var(--radius); width: 100%; }
.gh-content { max-width: 800px; font-size: 18px; line-height: 1.7; }
.gh-content > * + * { margin-top: 1.1em; margin-bottom: 0; }
.gh-content h2 { font-size: 28px; line-height: 1.25; margin-top: 1.6em; }
.gh-content h3 { font-size: 22px; line-height: 1.3; margin-top: 1.4em; }
.gh-content figure { margin-left: 0; margin-right: 0; }
.gh-content img { border-radius: 10px; }
.gh-content iframe { max-width: 100%; }
.gh-content blockquote { margin-left: 0; padding-left: 20px; border-left: 4px solid var(--lime); }
.kg-width-wide { position: relative; width: min(1000px, 100vw - 48px); left: 50%; transform: translateX(-50%); }
.kg-width-full { position: relative; width: 100vw; left: 50%; transform: translateX(-50%); }
.kg-width-full img { border-radius: 0; }
.gate { background: var(--grey-bg); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.gate p, .gate h2 { margin: 0; }

/* Conférences : accroche et calendrier */
.tag-intro { max-width: 46em; }
.agenda-box { border: 2px solid var(--lime); border-radius: var(--radius); padding: 28px 32px; display: flex; flex-direction: column; gap: 10px; background: #fbfdf6; }
.agenda-box .h3 { margin: 0; }
.agenda-content p { margin: 6px 0 0; font-size: 17px; }
.agenda-content p:last-child { color: var(--muted); font-size: 15px; }

/* Espace gratuit et ressources */
.gh-content-wide { max-width: 1200px; }
.books { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; margin-top: 18px; }
.book { display: flex; gap: 18px; align-items: flex-start; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.book .btn { white-space: nowrap; font-size: 14px; padding: 8px 16px; }
.book img { width: 110px; flex: none; border-radius: 6px; box-shadow: 0 4px 14px rgba(34,48,74,.18); }
.book h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.3; }
.book p { margin: 0 0 12px; font-size: 15px; color: var(--muted); }
.offer { margin-top: 18px; border: 2px solid var(--lime); border-radius: var(--radius); padding: 24px 28px; background: #fbfdf6; }
.offer p { margin: 0 0 8px; }
.offer .price-line { font-size: 26px; font-weight: 800; }
.res-cta { display: flex; flex-direction: column; gap: 6px; padding: 28px 32px; border-radius: var(--radius); background: var(--navy); color: #ffffff; text-decoration: none; }
.res-cta:hover { color: #ffffff; background: var(--navy-dark); }
.res-cta .eyebrow { color: var(--lime); }
.res-cta .muted { color: var(--line-2); }
.res-cta-title { font-size: 24px; font-weight: 800; }
.rubriques { display: flex; flex-wrap: wrap; gap: 10px; }
.rub { font: inherit; font-size: 14px; font-weight: 700; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #ffffff; color: var(--text); cursor: pointer; }
.rub:hover { border-color: var(--teal); color: var(--teal); }
.rub.is-active { background: var(--navy); border-color: var(--navy); color: #ffffff; }

/* Sommaire des piliers */
.course-nav { max-width: 800px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.course-nav ol { margin: 12px 0 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.course-nav a { text-decoration: none; color: var(--text); font-weight: 600; }
.course-nav a:hover { color: var(--teal); }

/* Pied de page */
.site-footer { background: var(--navy-dark); color: var(--line); }
.footer-inner { padding-top: 44px; padding-bottom: 44px; display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; font-size: 14px; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-name { font-weight: 800; letter-spacing: 0.02em; }
.footer-motto { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--lime); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: flex-start; }
.footer-links a { color: var(--line); }

/* Mobile */
@media (max-width: 720px) {
    .hero-title { font-size: 34px; }
    .h2-lg { font-size: 30px; }
    .h2 { font-size: 27px; }
    .article-title { font-size: 30px; }
    .section { padding-top: 56px; padding-bottom: 56px; }
    .tier { padding: 26px 22px; }
    .audiences li { flex-direction: column; gap: 2px; }
    .aud-label { width: auto; }
    .nav-links { order: 3; flex-basis: 100%; }
    .hero-video, .hero-text { flex-basis: 100%; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* Assistant du Club (page /assistant-club/) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chat { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.chat-log { display: flex; flex-direction: column; gap: 12px; }
.chat-msg { padding: 14px 16px; border-radius: var(--radius); line-height: 1.55; overflow-wrap: anywhere; }
.chat-msg p { margin: 0 0 8px; } .chat-msg p:last-child { margin-bottom: 0; }
.chat-msg ul { margin: 4px 0 8px 20px; padding: 0; }
.chat-msg a { color: var(--teal); text-decoration: underline; }
.chat-q { align-self: flex-end; background: var(--navy); color: #ffffff; max-width: 85%; }
.chat-a { background: #f3f5f8; color: var(--navy-dark); }
.chat-wait { color: #6b7385; font-style: italic; }
.chat-err { background: #fdf0ee; color: #8a2d1f; }
.chat-form { display: flex; flex-direction: column; gap: 10px; }
.chat-form textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 12px 14px; border: 1px solid #c9cfda; border-radius: var(--radius); resize: vertical; }
.chat-form button { align-self: flex-end; }
.chat-note { font-size: 14px; }
.res-cta + .res-cta { margin-top: 16px; }

/* Bulle de l'Assistant SLH */
.bot { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.bot-toggle { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--navy); color: #ffffff; box-shadow: 0 6px 20px rgba(34, 48, 74, .3); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.bot-toggle:hover { background: var(--navy-dark); }
.bot.is-open .bot-toggle { background: var(--lime); color: var(--navy-dark); }
.bot-panel { width: min(400px, calc(100vw - 32px)); height: min(600px, calc(100vh - 120px)); background: #ffffff; border-radius: var(--radius); box-shadow: 0 12px 40px rgba(34, 48, 74, .25); display: flex; flex-direction: column; overflow: hidden; }
.bot-panel[hidden] { display: none; }
.bot-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 16px; background: var(--navy); color: #ffffff; }
.bot-head strong { display: block; font-size: 16px; }
.bot-head span { font-size: 13px; opacity: .85; }
.bot-close { background: none; border: 0; color: #ffffff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.bot-panel .chat { flex: 1; min-height: 0; max-width: none; padding: 14px 16px; gap: 10px; }
.bot-panel .chat-log { flex: 1; min-height: 0; overflow-y: auto; }
.bot-panel .chat-msg { font-size: 15px; padding: 10px 12px; }
.bot-panel .chat-form textarea { font-size: 15px; }
.bot-panel .chat-note { font-size: 12px; color: #6b7385; margin: 0; }
@media (max-width: 560px) {
    .bot { right: 12px; bottom: 12px; }
    .bot.is-open { inset: 0; right: 0; bottom: 0; padding: 0; }
    .bot.is-open .bot-panel { width: 100vw; height: 100vh; border-radius: 0; }
    .bot.is-open .bot-toggle { display: none; }
}

/* Logo du Club dans l'en-tête */
.nav-logo { display: block; height: 52px; width: auto; }
@media (max-width: 560px) { .nav-logo { height: 40px; } }

/* v0.5.0 (17/11/2026) : visuel d'accueil, Lettres illustrées, étude de cas « bientôt », menu sur une ligne */
.hero-image { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--navy); }
.panel-soon { background: #fbfbfc; border: 1px dashed var(--line); }
.panel-soon .panel-mid { color: var(--muted); }
.letter { overflow: hidden; }
.letter-thumb { display: block; width: calc(100% + 52px); margin: -26px -26px 6px; aspect-ratio: 16 / 9; object-fit: cover; }
.letter-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nav-links { flex-wrap: nowrap; white-space: nowrap; }
@media (max-width: 1180px) {
    .nav { gap: 12px 22px; }
    .nav-links { gap: 8px 18px; font-size: 14px; }
    .nav-signin { padding: 10px 6px; }
}
@media (max-width: 1040px) {
    .nav-links { order: 3; flex-basis: 100%; flex-wrap: wrap; white-space: normal; gap: 8px 22px; font-size: 15px; }
}

/* v0.5.9 (20/11/2026) : en-tête au gabarit de soigner-l-habitat.com (bloc de 130 px, fixé en haut, liens 17 px demi-gras)
   et liseré vert lime en haut pour reconnaître le site du Club */
html { scroll-padding-top: 150px; }
.site-header { position: sticky; top: 0; z-index: 50; border-top: 6px solid var(--lime); }
.nav { min-height: 124px; padding-top: 0; padding-bottom: 0; }
.nav-logo { height: 52px; }
.nav-links { font-size: 17px; font-weight: 600; gap: 8px 28px; }
.nav-signin { font-size: 17px; }
@media (max-width: 1180px) {
    .nav-links { font-size: 16px; gap: 8px 20px; }
}
@media (max-width: 1040px) {
    .nav { min-height: 0; padding-top: 18px; padding-bottom: 18px; }
    html { scroll-padding-top: 170px; }
}
@media (max-width: 720px) {
    .site-header { position: static; }
    html { scroll-padding-top: 0; }
    .nav-links { font-size: 15px; }
}

/* v0.5.10 (20/11/2026) : en-tête sur une ligne (connecté ou non), logo aéré, menu replié sous 1100 px
   comme soigner-l-habitat.com (logo, bouton à trois traits, menu déroulant) */
.nav { flex-wrap: nowrap; gap: 0 32px; min-height: 124px; padding-top: 14px; padding-bottom: 14px; }
.nav-brand { flex: 0 0 auto; padding: 6px 0; }
.nav-menu { display: flex; align-items: center; gap: 28px; flex: 1 1 auto; min-width: 0; }
.nav-links { order: 0; flex: 1 1 auto; flex-basis: auto; flex-wrap: nowrap; white-space: nowrap; font-size: 17px; font-weight: 600; gap: 8px 28px; }
.nav-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; white-space: nowrap; }
.nav-actions .nav-signin { margin-left: 0; padding: 10px 6px; }
.nav-burger { display: none; margin-left: auto; padding: 10px; border: 0; background: transparent; color: var(--navy); cursor: pointer; border-radius: 8px; }
.nav-burger:hover { background: var(--grey-bg); }
@media (max-width: 1280px) {
    .nav { gap: 0 24px; }
    .nav-menu { gap: 20px; }
    .nav-links { font-size: 16px; gap: 8px 20px; }
}
@media (max-width: 1100px) {
    .site-header { position: sticky; }
    .nav { flex-wrap: wrap; min-height: 0; padding-top: 16px; padding-bottom: 16px; }
    .nav-burger { display: inline-flex; }
    .nav-menu { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 18px; }
    .site-header.is-open .nav-menu { display: flex; }
    .site-header.is-open { max-height: 100vh; overflow-y: auto; }
    .nav-links { flex-direction: column; flex-wrap: nowrap; gap: 0; font-size: 17px; white-space: normal; }
    .nav-links a { padding: 13px 2px; border-bottom: 1px solid var(--line); }
    .nav-actions { flex-direction: column; align-items: stretch; gap: 10px; margin: 14px 0 0; }
    .nav-actions .nav-signin { padding: 10px 2px; }
    .nav-actions .btn { text-align: center; }
    .site-header.is-open .b-l1 { d: path("M6 6l12 12"); }
    .site-header.is-open .b-l2 { opacity: 0; }
    .site-header.is-open .b-l3 { d: path("M6 18L18 6"); }
    html { scroll-padding-top: 110px; }
}
@media (max-width: 720px) {
    .site-header { position: sticky; }
    .nav-logo { height: 44px; }
    html { scroll-padding-top: 100px; }
}

/* v0.5.11 (20/11/2026) : en-tête au modèle du nouveau site (preprod.soigner-l-habitat.com/accueil-2026/) :
   110 px, liseré de 4 px en haut (vert lime pour le Club, orange sur le site principal), filet teal de 3 px en bas, ombre légère,
   liens gras 16 px soulignés au survol, bouton arrondi de 44 px ; sous 1100 px, bouton « ☰ Menu » et carte déroulante à droite */
html { scroll-padding-top: 0; }
.site-header { position: relative; z-index: 50; border-top: 4px solid var(--lime); border-bottom: 3px solid var(--teal); box-shadow: 0 4px 14px rgba(54, 54, 54, .1); }
.nav { position: relative; flex-wrap: nowrap; gap: 0 32px; min-height: 103px; padding-top: 10px; padding-bottom: 10px; }
.nav-brand { padding: 0; }
.nav-logo { height: 46px; }
.nav-menu { gap: 28px; }
.nav-links { font-size: 16px; font-weight: 700; gap: 0 28px; letter-spacing: .01em; }
.nav-links a { padding: 6px 0; border-bottom: 3px solid transparent; }
.nav-links a:hover { color: var(--text); border-bottom-color: var(--lime); }
.nav-actions { gap: 18px; }
.nav-actions .nav-signin { font-size: 16px; font-weight: 700; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav-actions .nav-signin:hover { color: var(--text); border-bottom-color: var(--lime); }
.nav-actions .btn { min-height: 44px; display: inline-flex; align-items: center; padding: 0 22px; border-radius: 6px; font-size: 17px; font-weight: 800; }
.nav-burger { gap: 8px; align-items: center; padding: 8px 14px; border: 2px solid var(--text); border-radius: 8px; color: var(--text); font: inherit; font-size: 17px; font-weight: 700; }
.nav-burger:hover { background: #ffffff; }
.site-header.is-open .nav-burger { background: var(--text); color: #ffffff; }
@media (max-width: 1280px) {
    .nav { gap: 0 24px; }
    .nav-menu { gap: 20px; }
    .nav-links { gap: 0 20px; }
}
@media (max-width: 1100px) {
    .site-header { position: relative; }
    .site-header.is-open { max-height: none; overflow: visible; }
    .nav { flex-wrap: nowrap; min-height: 97px; padding-top: 10px; padding-bottom: 10px; }
    .nav-menu { display: none; position: absolute; top: calc(100% + 4px); right: 16px; width: 290px; max-width: calc(100vw - 32px);
                flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0; background: #ffffff; border-radius: 10px;
                box-shadow: 0 12px 32px rgba(34, 48, 74, .16); z-index: 60; }
    .site-header.is-open .nav-menu { display: flex; }
    .nav-links { flex-direction: column; gap: 0; font-size: 17px; }
    .nav-links a { padding: 14px 22px; border-bottom: 1px solid #eeebe5; }
    .nav-links a:hover { border-bottom-color: #eeebe5; background: var(--grey-bg); }
    .nav-actions { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
    .nav-actions .nav-signin { padding: 14px 22px; font-size: 17px; border-bottom: 1px solid #eeebe5; }
    .nav-actions .nav-signin:hover { border-bottom-color: #eeebe5; background: var(--grey-bg); }
    .nav-actions .btn { min-height: 0; background: transparent; color: var(--teal); padding: 14px 22px; border-radius: 0; font-size: 17px; font-weight: 700; justify-content: flex-start; }
    .nav-actions .btn:hover { background: var(--grey-bg); }
    html { scroll-padding-top: 0; }
}
@media (max-width: 720px) {
    .site-header { position: relative; }
    .nav-logo { height: 40px; }
}

/* v0.6.0 (20/11/2026) : polices du nouveau site soigner-l-habitat.com (décision de Geo, variante C) :
   titres en Anton majuscules, textes et menu en Raleway. Fichiers hébergés dans le thème (aucun appel à Google Fonts). */
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/raleway-latin-var.woff2") format("woff2"); }
@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/anton-latin.woff2") format("woff2"); }
body, button, input, select, textarea { font-family: "Raleway", Arial, sans-serif; }
.hero-title, .h2-lg, .h2, .h3, .tier h3, .article-title, .price, .panel-big, .pillar-num, .fig-big, .res-cta-title, .offer .price-line, .post-content h2, .post-content h3 {
    font-family: "Anton", "Arial Narrow", Arial, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .01em;
}
.price small { font-family: "Raleway", Arial, sans-serif; text-transform: none; font-weight: 700; }
.post-content h2, .post-content h3 { line-height: 1.2; }

/* v0.6.1 : publics de l'accueil en cartes, mots clés en gras */
.hero-text .lead strong { color: var(--navy); font-weight: 700; }
.audiences { gap: 10px; }
.audiences li.aud { display: block; background: #fff; border: 1px solid var(--line-2); border-left: 4px solid var(--navy); border-radius: 10px; padding: 14px 18px; color: var(--text); }
.audiences li.aud p { margin: 0; line-height: 1.55; }
.audiences li.aud strong { font-weight: 700; }
.aud-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px !important; }
.audiences li.aud .aud-label { width: auto; padding-top: 0; }
.aud-tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--navy); color: #fff; white-space: nowrap; }
.aud-eleves { border-left-color: var(--lime) !important; }
.aud-eleves .aud-tag { background: var(--lime); color: var(--navy-dark); }
.audiences li.aud-habitants { border-top: 1px solid var(--line-2); border-left-color: var(--teal); padding-top: 14px; color: var(--text); }
.aud-habitants .aud-label { color: var(--teal); }
.aud-habitants .aud-tag { background: var(--teal); }
