/* ==========================================================================
   Mes CEE — feuille de style
   Charte : Bleu nuit #12355B · Vert économie #0F7B5F · Ambre #F6B93B · Beiges #F3ECDF / #FAF5EC (aucun fond blanc)
   ========================================================================== */

@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url('/fonts/poppins-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url('/fonts/poppins-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap; src: url('/fonts/poppins-latin-700-normal.woff2') format('woff2'); }

:root {
  --brand: #12355B;
  --brand-700: #0C2742;
  --brand-50: #E2EAF2;
  --green: #0F7B5F;
  --green-600: #0B6650;
  --green-100: #E2F3EC;
  --sun: #F6B93B;
  --sun-100: #FEF3DA;
  --bg: #F3ECDF;
  --beige-200: #EAE0CD;
  --field: #FDF9F2;
  --card: #FAF5EC;
  --line: #DFD3BE;
  --ink: #1B2B3A;
  --muted: #546474;
  --danger: #B42318;
  --danger-100: #FDECEA;

  --font-head: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(18, 53, 91, .06);
  --shadow: 0 1px 2px rgba(18, 53, 91, .05), 0 12px 32px -14px rgba(18, 53, 91, .22);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(52px, 7vw, 96px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--green-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--brand); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 64ch; }
.center { text-align: center; }
@media (max-width: 640px) { .hide-sm { display: none !important; } }

.draft-banner { background: var(--sun-100); color: var(--brand); font-size: .85rem; padding: 8px 0; border-bottom: 1px solid #F1D798; }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.35em;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd);
  border-radius: 12px; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); color: var(--btn-fg); }
.btn--primary { --btn-bg: var(--green); }
.btn--primary:hover { --btn-bg: var(--green-600); }
.btn--secondary { --btn-bg: var(--brand); }
.btn--secondary:hover { --btn-bg: var(--brand-700); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--brand); --btn-bd: var(--brand); }
.btn--ghost:hover { --btn-bg: var(--brand-50); }
.btn--on-dark { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .6); }
.btn--on-dark:hover { --btn-bg: rgba(255, 255, 255, .1); }
.btn--sm { min-height: 40px; padding: .5em 1em; font-size: .92rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.actions--center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-family: var(--font-head); font-weight: 600; color: var(--brand); text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__name { font: 700 1.45rem/1 var(--font-head); color: var(--brand); letter-spacing: -.02em; }
.brand__name b { color: var(--green); font-weight: 700; }
.brand__tag { display: block; font: 500 .72rem/1.2 var(--font-body); color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__name b { color: #7FD8B6; }
.site-footer .brand__tag { color: #B8C7D6; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 245, 236, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.main-nav { display: flex; align-items: center; gap: 20px; }
.nav-list { display: flex; gap: 2px; list-style: none; }
.nav-item { position: relative; }
.nav-trigger { display: inline-flex; align-items: center; gap: 4px; padding: 10px 10px; white-space: nowrap; font: 500 .98rem/1 var(--font-head); color: var(--brand); background: none; border: 0; border-radius: 10px; cursor: pointer; }
.nav-trigger:hover, .nav-item:focus-within .nav-trigger, .nav-item.is-open .nav-trigger { background: var(--brand-50); }
.nav-item.is-active .nav-trigger { box-shadow: inset 0 -3px 0 var(--green); border-radius: 0; }
.nav-trigger__chev { transition: transform .2s; }
.nav-link { display: inline-flex; padding: 10px 10px; white-space: nowrap; font: 500 .98rem/1 var(--font-head); color: var(--brand); text-decoration: none; border-radius: 10px; }
.nav-link:hover { background: var(--brand-50); color: var(--brand); }
.nav-link[aria-current] { box-shadow: inset 0 -3px 0 var(--green); border-radius: 0; }
.subnav { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); min-width: 340px; padding: 10px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
.subnav::before { content: ''; position: absolute; inset: -14px 0 auto; height: 14px; }
.subnav ul { list-style: none; display: grid; gap: 2px; }
.subnav a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.subnav a:hover, .subnav a[aria-current] { background: var(--bg); }
.subnav__icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--green-100); color: var(--green); }
.subnav__label { display: block; font: 600 .96rem/1.3 var(--font-head); color: var(--brand); }
.subnav__desc { display: block; font-size: .85rem; color: var(--muted); line-height: 1.4; }
@media (min-width: 1181px) {
  .nav-item:hover .subnav, .nav-item:focus-within .subnav, .nav-item.is-open .subnav { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav-item:hover .nav-trigger__chev, .nav-item.is-open .nav-trigger__chev { transform: rotate(180deg); }
}
.burger { display: none; background: none; border: 0; padding: 8px; color: var(--brand); cursor: pointer; border-radius: 10px; }
.burger__close { display: none; }
@media (max-width: 1180px) {
  .burger { display: inline-flex; }
  .burger[aria-expanded="true"] .burger__open { display: none; }
  .burger[aria-expanded="true"] .burger__close { display: block; }
  .main-nav { position: fixed; inset: 76px 0 0 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 16px; padding: 12px var(--gutter) 120px; background: var(--card); overflow-y: auto; opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .main-nav.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-trigger, .nav-link { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 1.08rem; border-radius: 0; }
  .nav-trigger:hover, .nav-item:focus-within .nav-trigger, .nav-link:hover { background: none; }
  .nav-item.is-active .nav-trigger, .nav-link[aria-current] { box-shadow: none; }
  .nav-item.is-open .nav-trigger__chev { transform: rotate(180deg); }
  .subnav { position: static; transform: none; min-width: 0; box-shadow: none; border: 0; padding: 0 0 12px; background: transparent; opacity: 1; visibility: visible; display: none; }
  .subnav::before { display: none; }
  .nav-item.is-open .subnav { display: block; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--white { background: var(--beige-200); }
.section--tint { background: var(--brand-50); }
.section--dark { background: var(--brand); color: #DCE6F0; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: #C3D2E1; }
.section--tight { padding: calc(var(--section) * .55) 0; }
.page-hero + .section--tight, .section--tight + .section--tight { padding-top: 0; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-block; font: 600 .8rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.section--dark .eyebrow { color: var(--sun); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .grid-3, .split { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--card); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.card h3 { margin-bottom: .4em; }
.card > :last-child { margin-bottom: 0; }
.card--tint { background: var(--brand-50); border-color: #D3E0EE; }
.card--green { background: var(--green-100); border-color: #C3E6D8; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 600 .72rem/1.6 var(--font-head); letter-spacing: .04em; text-transform: uppercase; background: var(--brand-50); color: var(--brand); }
.badge--green { background: var(--green-100); color: var(--green-600); }
.badge--off { background: #EEF0F2; color: var(--muted); }

/* ---------- Hero accueil ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(52px, 7vw, 88px); background: linear-gradient(180deg, var(--card) 0%, var(--bg) 100%); }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero h1::after, .page-hero h1::after { content: ''; display: block; width: 64px; height: 5px; margin-top: .45em; border-radius: 5px; background: var(--sun); }
.section-head--center h1::after, .error-page h1::after { margin-left: auto; margin-right: auto; }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 22px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--brand); }
.chips .icon { color: var(--green); }

/* Portes d'entrée */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.door { display: flex; flex-direction: column; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.door:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #B9CCE0; color: var(--ink); }
.door__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--brand-50); color: var(--brand); margin-bottom: 16px; }
.door--green .door__icon { background: var(--green-100); color: var(--green); }
.door--warn .door__icon { background: var(--danger-100); color: var(--danger); }
.door h3 { font-size: 1.15rem; }
.door p { font-size: .96rem; color: var(--muted); flex: 1; }
@media (max-width: 900px) { .doors { grid-template-columns: 1fr; } }

/* Tuiles de travaux */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.tile { display: flex; flex-direction: column; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #B9CCE0; color: var(--ink); }
.tile__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green-100); color: var(--green); margin-bottom: 14px; }
.tile h3 { font-size: 1.04rem; margin-bottom: .3em; }
.tile p { font-size: .9rem; color: var(--muted); margin: 0; flex: 1; }
.tile__meta { margin-top: 12px; font: 600 .78rem/1 var(--font-head); color: var(--green-600); letter-spacing: .03em; }

/* ---------- Formulaires ---------- */
.field { display: grid; gap: 6px; margin-bottom: 14px; align-content: start; }
.field > span { font-size: .92rem; font-weight: 600; color: var(--brand); }
.field small { color: var(--muted); font-size: .84rem; }
input, select, textarea { width: 100%; min-height: 52px; box-sizing: border-box; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--field); border: 1.5px solid #CBBFA8; border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(18, 53, 91, .14); }
input:user-invalid, select:user-invalid { border-color: var(--danger); }
.input-suffix { position: relative; display: block; }
.input-suffix input { padding-right: 52px; }
.input-suffix em { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); font-weight: 600; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 10px; font-size: .92rem; }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--brand); }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--green-100); color: var(--green-600); font-weight: 500; }
.form-status.is-error { background: var(--danger-100); color: var(--danger); }

/* ---------- Encadrés ---------- */
.callout { display: flex; gap: 18px; align-items: flex-start; padding: clamp(18px, 3vw, 26px); border-radius: var(--radius); background: var(--sun-100); border: 1px solid #F1D798; margin: 1.6em 0; }
.callout__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sun); color: var(--brand-700); }
.callout__title { font: 700 1.06rem/1.35 var(--font-head); color: var(--brand); margin-bottom: 4px; }
.callout > div > :last-child { margin-bottom: 0; }
.callout--danger { background: var(--danger-100); border-color: #F5C6C0; }
.callout--danger .callout__icon { background: var(--danger); color: #fff; }
.callout--info { background: var(--brand-50); border-color: #D3E0EE; }
.callout--info .callout__icon { background: var(--brand); color: #fff; }
.callout--green { background: var(--green-100); border-color: #C3E6D8; }
.callout--green .callout__icon { background: var(--green); color: #fff; }
@media (max-width: 560px) { .callout { flex-direction: column; } }

.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { flex: none; margin-top: 3px; padding: 2px; border-radius: 50%; background: var(--green-100); color: var(--green); width: 22px; height: 22px; }
.x-list .icon { background: var(--danger-100); color: var(--danger); }
.section--dark .check-list .icon { background: rgba(255,255,255,.12); color: var(--sun); }

/* ---------- Étapes ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 22px 20px; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); }
.step__num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 1rem/1 var(--font-head); margin-bottom: 14px; }
.step--key { border: 2px solid var(--sun); }
.step--key .step__num { background: var(--sun); color: var(--brand-700); }
.step h3 { font-size: 1.02rem; }
.step p { font-size: .93rem; color: var(--muted); margin: 0; }
.step__flag { display: inline-block; margin-top: 10px; font: 700 .74rem/1.4 var(--font-head); letter-spacing: .04em; text-transform: uppercase; color: #8A5A00; }
.section--dark .step { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.section--dark .step p { color: #C3D2E1; }

/* Circuit (comment ça marche) */
.flow { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: f; }
.flow li { position: relative; padding: 20px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.flow li:not(:last-child)::after { content: '→'; position: absolute; right: -12px; top: 50%; transform: translate(50%, -50%); color: var(--green); font-weight: 700; font-size: 1.2rem; z-index: 1; }
.flow .icon { margin: 0 auto 10px; color: var(--green); }
.flow strong { display: block; font-family: var(--font-head); color: var(--brand); margin-bottom: 4px; }
.flow span { font-size: .88rem; color: var(--muted); }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; }
  .flow li:not(:last-child)::after { content: '↓'; right: 50%; top: auto; bottom: -12px; transform: translate(50%, 50%); }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.section-head--center + .faq { margin: 0 auto; }
.faq__item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 20px; cursor: pointer; list-style: none; font: 600 1rem/1.4 var(--font-head); color: var(--brand); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { flex: none; transition: transform .2s; }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__answer { padding: 0 20px 18px; color: var(--muted); }
.faq__answer p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { padding: var(--section) 0; }
.cta-band__inner { position: relative; text-align: center; padding: clamp(44px, 6vw, 72px) clamp(24px, 5vw, 64px); background: var(--brand); color: #DCE6F0; border-radius: var(--radius-lg); overflow: hidden; }
.cta-band__inner h2 { color: #fff; max-width: 720px; margin: 0 auto .4em; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.cta-band__inner p { max-width: 620px; margin: 0 auto; }
.cta-band__inner::after { content: ''; position: absolute; right: -70px; bottom: -70px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .05); }
.cta-band .btn--primary { --btn-bg: var(--card); --btn-fg: var(--brand); }
.cta-band .btn--primary:hover { --btn-bg: var(--green-100); }

/* ---------- Page hero ---------- */
.breadcrumbs { padding-top: 22px; font-size: .86rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.breadcrumbs li + li::before { content: '›'; margin-right: 6px; color: #9AAABA; }
.breadcrumbs a { color: var(--muted); }
.page-hero { padding: clamp(24px, 4vw, 44px) 0 clamp(36px, 5vw, 60px); }
.page-hero h1 { max-width: 22ch; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: .88rem; color: var(--muted); }
.page-hero__meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Mise en page article ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.article__aside { position: sticky; top: 100px; display: grid; gap: 16px; }
@media (max-width: 980px) { .article { grid-template-columns: minmax(0, 1fr); } .article__aside { position: static; } }
.toc { padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); font-size: .92rem; }
.toc p { font: 600 .8rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 8px; }
.toc a { text-decoration: none; color: var(--brand); }
.toc a:hover { text-decoration: underline; }
.aside-cta { padding: 22px; background: var(--brand); color: #DCE6F0; border-radius: var(--radius); }
.aside-cta strong { display: block; font: 700 1.1rem/1.3 var(--font-head); color: #fff; margin-bottom: 6px; }
.aside-cta p { font-size: .92rem; }
.aside-cta .btn { --btn-bg: var(--card); --btn-fg: var(--brand); width: 100%; }

.prose { max-width: 760px; }
.prose > h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: 1.8em; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.2em; display: grid; gap: .45em; }
.prose ul.check-list { padding-left: 0; }
.prose li::marker { color: var(--green); }
.prose .placeholder { background: var(--sun-100); padding: 0 4px; border-radius: 4px; }
.keyfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 1.6em; }
.keyfact { padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.keyfact span { display: block; font-size: .82rem; color: var(--muted); }
.keyfact strong { display: block; font: 700 1.1rem/1.3 var(--font-head); color: var(--brand); margin-top: 2px; }
.source-note { margin-top: 2.4em; padding-top: 16px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }

/* ---------- Tableaux ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); margin: 0 0 1.4em; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-head); font-weight: 600; color: var(--brand); background: var(--bg); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }
caption { caption-side: bottom; padding: 10px 16px; font-size: .84rem; color: var(--muted); text-align: left; }

/* ---------- Simulateur ---------- */
.sim { max-width: 820px; margin: 0 auto; }
.sim__progress { display: flex; gap: 6px; margin-bottom: 22px; }
.sim__progress span { flex: 1; height: 6px; border-radius: 99px; background: var(--line); transition: background-color .3s; }
.sim__progress span.is-done { background: var(--brand); }
.sim__progress span.is-current { background: var(--green); }
.sim__panel { background: var(--card); border-radius: var(--radius-lg); border: 1px solid var(--line); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.sim__step { display: none; }
.sim__step.is-active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sim__step h2 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
.sim__count { font: 600 .8rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 18px 0 8px; border: 0; padding: 0; }
.choices legend { padding: 0; margin-bottom: 8px; font-weight: 600; color: var(--brand); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; min-height: 0; }
.choice span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); font-weight: 600; font-family: var(--font-head); color: var(--brand); font-size: .98rem; transition: border-color .15s, background-color .15s; }
.choice span small { font: 400 .85rem/1.4 var(--font-body); color: var(--muted); }
.choice span .icon { color: var(--green); margin-bottom: 4px; }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand); }
.choice input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.sim__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.sim__error { color: var(--danger); font-weight: 500; margin: 8px 0 0; min-height: 1.5em; }
.result-hero { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 18px 0; }
.result-big { padding: 22px; border-radius: var(--radius); background: var(--brand); color: #DCE6F0; }
.result-big strong { display: block; font: 700 clamp(1.7rem, 4vw, 2.3rem)/1.15 var(--font-head); color: #fff; margin: 4px 0; }
.result-big--light { background: var(--green-100); color: var(--muted); }
.result-big--light strong { color: var(--green-600); }
@media (max-width: 600px) { .result-hero { grid-template-columns: 1fr; } }
.hypotheses { font-size: .86rem; color: var(--muted); margin-top: 14px; }
.hypotheses summary { cursor: pointer; font-weight: 600; color: var(--brand); }
.hypotheses ul { padding-left: 1.2em; margin-top: 8px; display: grid; gap: 4px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Glossaire ---------- */
.glossary { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.glossary dt { font: 600 1.04rem/1.3 var(--font-head); color: var(--brand); padding-top: 18px; border-top: 1px solid var(--line); }
.glossary dd { margin: 6px 0 18px; color: var(--muted); }
@media (max-width: 760px) { .glossary { grid-template-columns: 1fr; } }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 22px; }
.anchor-nav a { display: inline-block; padding: 7px 15px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: .92rem; }
.anchor-nav a:hover { border-color: var(--brand); }

/* ---------- Plan du site ---------- */
.sitemap-cols { columns: 3 260px; column-gap: 40px; }
.sitemap-cols section { break-inside: avoid; margin-bottom: 28px; }
.sitemap-cols ul { list-style: none; display: grid; gap: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-700); color: #B8C7D6; padding: clamp(44px, 6vw, 72px) 0 26px; font-size: .94rem; }
.site-footer a { color: #E2EAF2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1fr 3.2fr; gap: clamp(32px, 5vw, 64px); padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand p { margin: 18px 0; max-width: 34ch; }
.footer-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.footer-cols h2 { font-size: .94rem; color: #fff; margin-bottom: 14px; }
.footer-cols ul { list-style: none; display: grid; gap: 8px; }
.footer-disclaimer { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .84rem; }
.footer-disclaimer p { margin: 0; max-width: 100ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 22px; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- CTA mobile ---------- */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: block; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--brand); box-shadow: 0 -8px 24px rgba(12,39,66,.25); }
  .sticky-cta .btn { width: 100%; --btn-bg: var(--card); --btn-fg: var(--brand); }
  body { padding-bottom: 68px; }
  body.no-sticky .sticky-cta { display: none; }
  body.no-sticky { padding-bottom: 0; }
}

.error-page { text-align: center; padding: clamp(64px, 10vw, 140px) 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 420px) { .site-header .brand__tag { display: none; } }

/* ---------- Méga-menu « Travaux éligibles » ---------- */
.main-nav .btn { white-space: nowrap; }
.mega__head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; padding: 0 8px 8px; border-bottom: 1px solid var(--line); font: 700 .8rem/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--green-600) !important; text-decoration: none; }
.mega__head:hover { text-decoration: underline; }
.mega__group + .mega__group { margin-top: 20px; }
.subnav--mega .mega__list { gap: 0; }
.subnav--mega .mega__list a { display: block; padding: 5px 8px; border-radius: 8px; font-size: .86rem; font-weight: 400; line-height: 1.4; color: var(--ink); }
.subnav--mega .mega__list a:hover { color: var(--brand); }
.subnav--mega .mega__list a:hover, .subnav--mega .mega__list a[aria-current] { background: var(--bg); }
.mega__promo { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; border-radius: var(--radius); background: var(--brand); color: #C9D6E3; font-size: .9rem; }
.mega__promo strong { font: 700 1.05rem/1.3 var(--font-head); color: #fff; }
.mega__promo p { margin: 0; }
.mega__promo-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sun); color: var(--brand-700); }
.subnav--mega .mega__promo a { padding: 0; }
.mega__promo .link-arrow { color: #fff; font-size: .92rem; }
.mega__promo .btn { --btn-bg: var(--card); --btn-fg: var(--brand); margin-top: 4px; padding: .5em 1em !important; }
.mega__promo .mega__all { color: #C9D6E3 !important; font-size: .85rem; text-decoration: underline; }
@media (min-width: 1181px) {
  .nav-item--mega { position: static; }
  .subnav--mega { top: 100%; width: min(1120px, calc(100vw - 32px)); padding: 26px; }
  .subnav--mega::before { inset: -22px 0 auto; height: 22px; }
  .mega { display: grid; grid-template-columns: 250px repeat(2, minmax(0, 1fr)) 240px; gap: 28px; }
}
@media (max-width: 1180px) {
  .subnav--mega { padding-bottom: 16px; }
  .mega__col + .mega__col { margin-top: 20px; }
  .mega__promo { margin-top: 20px; }
}
/* Mobile : sans backdrop-filter, sinon le menu en position fixe reste enfermé dans l'en-tête */
@media (max-width: 1180px) {
  .site-header { backdrop-filter: none; background: var(--card); }
  .main-nav { top: var(--nav-top, 76px); }
}
@media (max-width: 720px) { body.nav-open .sticky-cta { display: none; } }
.hero__visual .hero-illu { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (max-width: 900px) { .hero__visual { max-width: 520px; } }
@media (min-width: 961px) and (max-width: 1180px) { .footer-top { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Méga-menu : image de survol à gauche, sur toute la hauteur */
.mega__media { position: relative; min-height: 300px; border-radius: var(--radius); overflow: hidden; background: var(--brand-50); }
.mega__media figure { position: absolute; inset: 0; margin: 0; }
.mega__media figure[hidden] { display: none; }
.mega__media img { width: 100%; height: 100%; object-fit: cover; }
.mega__placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 100%; padding: 20px; text-align: center; color: var(--brand); border: 2px dashed #C5D3E2; border-radius: var(--radius); }
.mega__placeholder .icon { width: 64px; height: 64px; padding: 12px; border-radius: 18px; background: var(--card); color: var(--green); }
.mega__placeholder strong { font: 600 1rem/1.3 var(--font-head); }
.mega__placeholder small { font-size: .8rem; color: var(--muted); }
@media (max-width: 1180px) { .mega__media { display: none; } }
/* ---------- Bandeau du haut ---------- */
.utility-bar { background: var(--brand-700); color: #DCE6F0; font-size: .86rem; }
.utility-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.utility-bar a { color: #DCE6F0; text-decoration: none; }
.utility-bar a:hover, .utility-bar a[aria-current] { color: #fff; text-decoration: underline; }
.utility-bar__phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; white-space: nowrap; }
.utility-bar__phone .icon { color: #7FD8B6; }
.utility-bar ul { display: flex; gap: 20px; list-style: none; }
@media (max-width: 480px) { .utility-bar { font-size: .76rem; } .utility-bar__inner { gap: 10px; } .utility-bar ul { gap: 10px; } .utility-bar li { white-space: nowrap; } .utility-bar__phone .icon { display: none; } }

/* ---------- Accueil : photo en fond du bandeau principal ---------- */
.hero--photo { position: relative; overflow: hidden; display: flex; align-items: center; min-height: clamp(520px, 62vh, 680px); padding: clamp(56px, 8vw, 104px) 0; background: var(--bg); }
.hero__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 72% center; }
.hero--photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(243, 236, 223, .97) 0%, rgba(243, 236, 223, .92) 34%, rgba(243, 236, 223, .55) 52%, rgba(243, 236, 223, 0) 70%); }
.hero--photo .container { position: relative; z-index: 2; }
.hero__content { max-width: 580px; }
.hero--photo .lead { color: #3E4C5B; }
@media (max-width: 900px) {
  .hero--photo { min-height: 0; align-items: flex-end; padding-top: 220px; }
  .hero__bg { object-position: 60% top; height: 320px; }
  .hero--photo::before { background: linear-gradient(180deg, rgba(243, 236, 223, 0) 0, rgba(243, 236, 223, .6) 180px, rgba(243, 236, 223, 1) 300px); }
}

/* ---------- En-tête (logo + menu) sur fond bleu foncé ---------- */
.site-header { background: var(--brand); border-bottom-color: var(--brand-700); }
.site-header .brand__name { color: #fff; }
.site-header .brand__name b { color: #7FD8B6; }
.site-header .brand__tag { color: #B8C7D6; }
.site-header .brand__mark > rect:first-child { fill: #1F4C7A; }
.site-header .burger { color: #fff; }
@media (min-width: 1181px) {
  .site-header .nav-trigger, .site-header .nav-link { color: #E2EAF2; }
  .site-header .nav-trigger:hover, .site-header .nav-item:focus-within .nav-trigger, .site-header .nav-item.is-open .nav-trigger { background: rgba(255, 255, 255, .1); color: #fff; }
  .site-header .nav-item.is-active .nav-trigger { box-shadow: inset 0 -3px 0 #7FD8B6; }
}
@media (max-width: 1180px) { .site-header { background: var(--brand); } }
/* Menu mobile ouvert : même fond bleu foncé que l'en-tête */
@media (max-width: 1180px) {
  .main-nav { background: var(--brand); }
  .site-header .nav-item { border-bottom-color: rgba(255, 255, 255, .14); }
  .site-header .nav-trigger { color: #E2EAF2; }
  .site-header .subnav a { color: #E2EAF2; }
  .site-header .subnav a:hover, .site-header .subnav a[aria-current] { background: rgba(255, 255, 255, .08); }
  .site-header .subnav__label { color: #fff; }
  .site-header .subnav__desc { color: #B8C7D6; }
  .site-header .subnav__icon { background: rgba(255, 255, 255, .08); color: #7FD8B6; }
  .site-header .mega__head { color: #7FD8B6 !important; border-bottom-color: rgba(255, 255, 255, .14); }
  .site-header .subnav--mega .mega__list a { color: #E2EAF2; }
  .site-header .mega__promo { background: var(--brand-700); }
}
@media (max-width: 1180px) {
  .site-header .nav-trigger:hover, .site-header .nav-item:focus-within .nav-trigger, .site-header .nav-item.is-open .nav-trigger { background: none; color: #fff; }
}
/* Photo produit sur fond blanc : image entière, blanc fondu dans le beige (multiply) */
.mega__media figure.is-product { background: var(--card); display: flex; align-items: center; justify-content: center; padding: 18px; }
.mega__media figure.is-product[hidden] { display: none; }
.mega__media figure.is-product img { height: auto; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; filter: brightness(1.12) contrast(1.05); }
/* Méga-menu : lien partenaire (panneaux solaires) */
.mega__head:is(span) { cursor: default; }
.mega__head:is(span):hover { text-decoration: none; }
.mega__ext { display: inline-block; margin-left: 5px; vertical-align: -1px; color: var(--muted); }
.mega__note { display: block; font-size: .78rem; color: var(--muted); }
@media (max-width: 1180px) { .site-header .mega__note, .site-header .mega__ext { color: #B8C7D6; } }

/* ===== Retouches visuelles (novembre 2026) ===== */
/* Cartes travaux avec photo */
.tile--photo { padding: 0; overflow: hidden; }
.tile--photo h3, .tile--photo p { padding: 0 20px; }
.tile--photo h3 { margin-top: 16px; }
.tile--photo p { padding-bottom: 20px; }
.tile__media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--beige-200); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile--photo:hover .tile__media img { transform: scale(1.04); }
.tile__media.is-product, .page-hero__media.is-product { background: var(--card); display: flex; align-items: center; justify-content: center; padding: 14px; }
.tile__media.is-product img, .page-hero__media.is-product img { object-fit: contain; mix-blend-mode: multiply; filter: brightness(1.12) contrast(1.05); }
.tiles:has(.tile--photo) { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
@media (min-width: 900px) { .tiles:has(.tile--photo) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* En-tête des fiches travaux avec photo */
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-hero__media { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--beige-200); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { order: -1; aspect-ratio: 16 / 9; }
}


/* Accueil : « J'ai un projet de travaux » mis en avant */
.door--featured { background: var(--brand); border-color: var(--brand); color: #DCE6F0; box-shadow: var(--shadow); }
.door--featured:hover { color: #DCE6F0; border-color: var(--brand); }
.door--featured h3 { color: #fff; }
.door--featured p { color: #C9D6E3; }
.door--featured .door__icon { background: rgba(255, 255, 255, .12); color: #7FD8B6; }
.door__btn { align-self: flex-start; margin-top: 4px; }

/* Logo officiel Mes CEE */
.brand__logo { display: block; height: 52px; width: auto; }
.site-footer .brand__logo { height: 58px; }
@media (max-width: 720px) { .site-header .brand__logo { height: 38px; } }

/* ===== Charte jaune (logo officiel) : boutons jaunes, accents bleus sur fond clair, jaunes sur fond bleu =====
   Le vert reste seulement là où il veut dire « c'est bon » (coches, encadrés verts, messages de succès). */
:root { --sun-600: #E5A21F; }
a:hover { color: var(--brand-700); }

/* Boutons principaux : jaune, texte bleu nuit (contraste 8,6:1) */
.btn--primary, .cta-band .btn--primary, .aside-cta .btn, .mega__promo .btn { --btn-bg: var(--sun); --btn-fg: var(--brand-700); }
.btn--primary:hover, .cta-band .btn--primary:hover, .aside-cta .btn:hover, .mega__promo .btn:hover { --btn-bg: var(--sun-600); --btn-fg: var(--brand-700); }
@media (max-width: 720px) { .sticky-cta .btn { --btn-bg: var(--sun); --btn-fg: var(--brand-700); } }

/* Mots mis en avant sur fond clair : bleu nuit, rappel jaune */
.hero h1 em { color: var(--brand); background: linear-gradient(transparent 62%, rgba(246, 185, 59, .55) 62%); padding: 0 .08em; }
.eyebrow, .sim__count { color: var(--brand); }
.eyebrow::before { content: ''; display: inline-block; width: 18px; height: 3px; margin-right: 8px; vertical-align: middle; border-radius: 3px; background: var(--sun); }
.tile__meta { color: var(--brand); }
.mega__head { color: var(--brand) !important; }
.prose li::marker, .flow li:not(:last-child)::after { color: var(--brand); }
.nav-item.is-active .nav-trigger, .nav-link[aria-current] { box-shadow: inset 0 -3px 0 var(--sun); }
.sim__progress span.is-current { background: var(--sun); }

/* Pastilles d'icônes : fond jaune pâle, icône bleu nuit */
.subnav__icon, .tile__icon, .door--green .door__icon, .mega__placeholder .icon { background: var(--sun-100); color: var(--brand); }
.choice span .icon, .flow .icon, .chips .icon { color: var(--brand); }

/* Sur fond bleu foncé : jaune à la place du vert menthe */
.utility-bar__phone .icon, .door--featured .door__icon { color: var(--sun); }
.site-header .nav-item.is-active .nav-trigger { box-shadow: inset 0 -3px 0 var(--sun); }
@media (max-width: 1180px) {
  .site-header .subnav__icon { color: var(--sun); }
  .site-header .mega__head { color: var(--sun) !important; }
}

/* Encadré « Vous quittez le fioul ou le gaz ? » du méga-menu : tout aligné à gauche */
.btn .icon { flex: none; }
.subnav--mega .mega__promo .link-arrow { display: inline; line-height: 1.4; }
.mega__promo .link-arrow .icon { display: inline-block; vertical-align: -3px; margin-left: 4px; }
.subnav--mega .mega__promo .btn { width: 100%; justify-content: center; gap: .5em; }
.subnav--mega .mega__promo .mega__all { display: inline; }

/* Alignements (novembre 2026)
   1. Les listes « composants » (étapes, parcours, coches…) s'alignent sur le texte, sans retrait de liste */
.prose ul[class], .prose ol[class] { padding-left: 0; }
/* 2. Colonne de droite (sommaire, simulateur) alignée sur le premier bloc sous le titre de section */
@media (min-width: 981px) {
  .article:has(.prose > h2:first-child) .article__aside { margin-top: calc(1.7 * clamp(1.4rem, 2.4vw, 1.75rem)); }
}
/* 3. Un encadré placé juste sous un titre ne rajoute pas d'espace au-dessus */
.prose > h2 + .callout { margin-top: 0; }

/* Photos de l'accueil (novembre 2026) */
.steps-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(28px, 4vw, 44px); }
.steps-intro .section-head { margin-bottom: 0; }
.steps-intro .actions { margin-top: 20px; }
.steps-intro__media { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.steps-intro__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .steps-intro { grid-template-columns: 1fr; } .steps-intro__media { aspect-ratio: 16 / 9; } }

.cta-band__inner { isolation: isolate; }
.cta-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
.cta-band__inner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,39,66,.5), rgba(12,39,66,.72)); }
.cta-band__inner::after { z-index: -1; }
.cta-band__inner p { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.sim__thanks { margin-top: 20px; padding: 14px 18px; border-radius: var(--radius); background: var(--green-100, #EAF5EF); color: var(--brand); font-weight: 500; }
.sim__thanks:empty { display: none; }
.link-list { columns: 2 200px; column-gap: 32px; padding-left: 1.2em; }
.link-list li { margin-bottom: 6px; }
.city-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.city-links .chip { display: inline-block; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--brand); font-weight: 600; text-decoration: none; }
.city-links .chip:hover { border-color: var(--sun); background: #FFF8E6; }

/* Test anti-arnaque */
.scamtest { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 900px) { .scamtest { grid-template-columns: 1fr; } }
.scamtest__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: q; }
.scamtest__q { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; counter-increment: q; transition: border-color .2s, background-color .2s; }
.scamtest__q.is-flagged[data-level="rouge"] { border-color: #F5C6C0; background: var(--danger-100); }
.scamtest__q.is-flagged[data-level="orange"] { border-color: #F1D798; background: var(--sun-100); }
.scamtest__label { font-weight: 600; color: var(--brand); margin: 0 0 2px; }
.scamtest__label::before { content: counter(q) ". "; color: var(--muted, #6b7785); }
.scamtest__hint { font-size: .9rem; color: var(--muted, #6b7785); margin: 0 0 10px; }
.scamtest__answers { display: flex; gap: 10px; }
.scamtest__answers label { position: relative; cursor: pointer; }
/* Case invisible limitée au bouton Oui/Non (sinon elle prend toute la largeur et capte les clics à côté) */
.scamtest__answers input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.scamtest__answers label:hover span { border-color: var(--brand); }
.scamtest__answers span { display: inline-block; min-width: 72px; text-align: center; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg, #fff); font-weight: 600; color: var(--brand); }
.scamtest__answers input:checked + span { background: var(--brand); color: #fff; border-color: var(--brand); }
.scamtest__answers input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 2px; }
.scamtest__result { position: sticky; top: 110px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
@media (max-width: 900px) { .scamtest__result { position: static; } }
.scamtest__verdict { border-radius: var(--radius); padding: 16px 18px; background: var(--brand-50); }
.scamtest__verdict[data-verdict="rouge"] { background: var(--danger); color: #fff; }
.scamtest__verdict[data-verdict="orange"] { background: var(--sun); color: var(--brand-700); }
.scamtest__verdict[data-verdict="vert"] { background: var(--green-100); color: var(--brand); }
.scamtest__title { font: 700 1.35rem/1.2 var(--font-head); margin: 0 0 4px; color: inherit; }
.scamtest__verdict[data-verdict="vide"] .scamtest__title, .scamtest__verdict[data-verdict="vert"] .scamtest__title { color: var(--brand); }
.scamtest__text { margin: 0; color: inherit; }
.scamtest__reasons { margin: 16px 0 0; padding-left: 1.2em; font-size: .95rem; }
.scamtest__reasons li { margin-bottom: 8px; }
.scamtest__next { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .95rem; }
.scamtest__next ul { padding-left: 1.2em; margin: 6px 0 0; }
.scamtest__cta { margin: 16px 0 0; font-size: .92rem; }
.cat-tiles__title { font-size: 1.35rem; margin: 0 0 18px; }
.link-list--wide { columns: 1; padding-left: 1.2em; } .link-list--wide li { margin-bottom: 10px; font-weight: 500; }
.city-links__more { margin-top: 20px; }
/* WhatsApp */
.btn--whatsapp { --btn-bg: #1d7d45; --btn-fg: #fff; }
.btn--whatsapp:hover { --btn-bg: #166a39; }
.sim__wa { margin-top: 14px; }
.sim__wa a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
/* Bouton WhatsApp flottant : reste en bas à droite pendant le défilement */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 55; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; background: #1d7d45; color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none; box-shadow: 0 8px 24px rgba(12, 39, 66, .28); transition: transform .2s ease, background .2s ease; }
.wa-float:hover { background: #166a39; transform: translateY(-2px); color: #fff; }
.wa-float:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
@media (max-width: 720px) {
  .wa-float { right: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); padding: 9px 14px 9px 10px; font-size: .9rem; }
  body.no-sticky .wa-float { bottom: calc(16px + env(safe-area-inset-bottom)); }
  body.nav-open .wa-float { display: none; }
}
@media print { .wa-float { display: none; } }
/* Simulateur, étape 1 : familles de travaux */
.choice--cat { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; }
.choice--cat span { min-height: 120px; justify-content: center; font-size: 1.1rem; }
.choice--cat:hover span { border-color: var(--brand); }
.choice--cat:focus-visible span { outline: 3px solid var(--sun); outline-offset: 2px; }
.sim__cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sim__back-cats { grid-column: 1 / -1; justify-self: start; padding: 4px 0; border: 0; background: none; color: var(--brand); font-weight: 600; text-decoration: underline; cursor: pointer; font-size: .95rem; }
.choices[hidden] { display: none; }
/* Simulateur : familles cochables, travaux multiples, détail par travaux */
.choice--cat[aria-pressed="true"] span { border-color: var(--brand); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand); }
.choice--cat[aria-pressed="true"] span::after { content: "✓"; position: absolute; top: 10px; right: 14px; font-weight: 700; color: var(--brand); }
.choice--cat span { position: relative; }
.sim__hint { margin: 4px 0 0; }
.sim__lines { list-style: none; padding: 0; margin: 18px 0; border-top: 1px solid var(--line); }
.sim__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sim__lines strong { white-space: nowrap; color: var(--brand); }
[data-qty-fields] .field { margin-bottom: 14px; }

/* Résultat du simulateur : étiquette jaune et titre en majuscules */
.sim__count--sun { display: inline-block; background: var(--sun); color: var(--brand); padding: 6px 12px; border-radius: 999px; }
.sim__title-up { text-transform: uppercase; letter-spacing: .02em; }

/* Résultat : titre centré, montant dans un cadre plus compact */
[data-step="resultat"] > .sim__count, [data-step="resultat"] > h2 { display: table; margin-left: auto; margin-right: auto; text-align: center; }
.result-hero { justify-items: center; }
.result-hero .result-big { width: 100%; max-width: 440px; padding: 16px 22px; text-align: center; }

/* Simulateur (24/11/2026) : demande d'étude sous le montant, page allégée sur téléphone */
.choices--2 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.sim__contact { margin: 22px 0 8px; padding: clamp(18px, 3vw, 26px); border: 2px solid var(--sun); border-radius: var(--radius-lg); background: #fff; }
.sim__contact[hidden] { display: none; }
.sim__contact h3 { margin: 0 0 6px; font-size: 1.2rem; color: var(--brand); }
.sim__contact .choices { margin-top: 12px; }
.sim__warn { margin: 4px 0 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: #fff4e0; color: #6b4300; font-size: .95rem; }
.sim__warn[hidden] { display: none; }
.sim__thanks:empty { display: none; }
.sim__thanks { margin: 18px 0; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--green-100); color: var(--green-600); font-weight: 600; }
.consent input { width: 24px; height: 24px; min-height: 0; flex: none; }
/* Simulateur, mobile : bouton WhatsApp au-dessus du bouton « Continuer » fixé en bas */
@media (max-width: 820px) { body.page-sim .wa-float { bottom: calc(84px + env(safe-area-inset-bottom)); } }
@media (max-width: 820px) {
  body.page-sim .page-hero__media { display: none; }
  body.page-sim .page-hero .lead { display: none; }
  body.page-sim .page-hero { padding-bottom: 12px; }
}

/* Simulateur, étape 1 : tous les travaux visibles sans faire défiler (cases compactes, sans description) */
[data-step="travaux"] .choices { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin: 14px 0 0; }
[data-step="travaux"] .choices legend { margin-bottom: 6px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
[data-step="travaux"] .choice span { flex-direction: row; align-items: center; gap: 10px; padding: 10px 12px; font-size: .92rem; line-height: 1.25; }
[data-step="travaux"] .choice span .icon { margin: 0; flex: none; }
[data-step="travaux"] .choice span small { display: none; }
[data-step="travaux"] .sim__nav { margin-top: 18px; }
@media (max-width: 820px) {
  body.page-sim .breadcrumbs, body.page-sim .page-hero .eyebrow, body.page-sim .page-hero__meta { display: none; }
  body.page-sim .page-hero { padding-top: 14px; padding-bottom: 8px; }
  body.page-sim .page-hero h1 { font-size: 1.55rem; margin: 0; }
  body.page-sim .page-hero h1::after { display: none; }
  body.page-sim .section--tight { padding-top: 8px; }
  body.page-sim .sim__progress { margin-bottom: 12px; }
  body.page-sim .sim__panel { padding: 16px 14px; }
  [data-step="travaux"] h2 { font-size: 1.2rem; margin: 0; }
  [data-step="travaux"] .sim__count { margin-bottom: 6px; }
  [data-step="travaux"] .sim__hint { display: none; }
  [data-step="travaux"] .choices { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
  [data-step="travaux"] .choices legend { margin-bottom: 4px; }
  [data-step="travaux"] .choice span { padding: 8px 9px; gap: 7px; font-size: .82rem; min-height: 48px; }
  [data-step="travaux"] .choice span .icon { width: 18px; height: 18px; }
  /* Bouton toujours visible en bas de l'écran */
  [data-step="travaux"] .sim__nav { position: sticky; bottom: 0; margin: 12px -14px -16px; padding: 10px 14px 12px; background: var(--card); border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-lg) var(--radius-lg); z-index: 2; }
  [data-step="travaux"] .sim__nav .btn { flex: 1; justify-content: center; }
}
/* Simulateur : en-tête réduit au titre sur tous les écrans, pour voir l'étape 1 en entier dès l'arrivée */
body.page-sim .page-hero__media, body.page-sim .page-hero .lead { display: none; }
body.page-sim .page-hero__grid { grid-template-columns: 1fr; }
body.page-sim .page-hero { padding-top: 18px; padding-bottom: 6px; }
body.page-sim .page-hero h1 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
body.page-sim .page-hero__meta { margin-top: 8px; }
@media (min-width: 821px) {
  [data-step="travaux"] .choices { grid-template-columns: repeat(4, 1fr); margin-top: 12px; }
  [data-step="travaux"] .sim__hint { display: none; }
  [data-step="travaux"] h2 { margin-bottom: 0; }
  body.page-sim .sim__progress { margin-bottom: 14px; }
  body.page-sim .sim__panel { padding: 24px 32px; }
  body.page-sim .section--tight { padding-top: 10px; }
}
body.page-sim .breadcrumbs, body.page-sim .page-hero .eyebrow, body.page-sim .page-hero__meta { display: none; }
body.page-sim .page-hero h1::after { display: none; }
body.page-sim .page-hero h1 { margin: 0; }
@media (min-width: 821px) { body.page-sim .sim { max-width: 980px; } }

/* Résultat du simulateur : deux chemins sous le montant, contacts directs, partage */
.sim__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 10px; }
.sim__cta .btn { justify-content: center; min-height: 52px; text-align: center; }
.sim__cta .btn[aria-expanded="true"] { box-shadow: inset 0 0 0 2px var(--brand); }
.sim__direct { text-align: center; margin: 6px 0 4px; color: var(--muted); }
.sim__direct a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.sim__share { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 8px 0 16px; }
.sim__share .btn { gap: 6px; }
.sim__recap .consent + .consent { margin-top: 8px; }
.sim__recap [data-recap-phone] { margin-top: 12px; max-width: 320px; }
.sim__recap [data-recap-phone][hidden] { display: none; }
.sim__contact[hidden] { display: none; }
@media (max-width: 620px) {
  .sim__cta { grid-template-columns: 1fr; }
}

/* Bandeau cookies : « Tout refuser » et « Accepter » au même niveau (recommandation CNIL) */
.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; display: flex; justify-content: center; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { max-width: 760px; width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(18, 53, 91, .25); padding: 16px 18px; display: flex; gap: 16px; align-items: center; }
.cookie-banner__inner p { margin: 0; font-size: .9rem; line-height: 1.45; }
.cookie-banner__actions { display: flex; gap: 10px; flex: none; }
.cookie-banner__actions .btn { min-width: 120px; justify-content: center; }
@media (max-width: 700px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions .btn { flex: 1; min-width: 0; }
}
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Résultat du simulateur, mise en page : détail en carte, encadré « Et maintenant ? », infos regroupées */
[data-step="resultat"] .sim__lines { list-style: none; padding: 0; margin: 0 0 6px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
[data-step="resultat"] .sim__lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
[data-step="resultat"] .sim__lines li:last-child { border-bottom: 0; }
[data-step="resultat"] .sim__lines li strong { white-space: nowrap; color: var(--brand); }
.sim__next { margin: 22px 0 8px; padding: 22px 20px 18px; border-radius: var(--radius-lg); background: var(--sun-100); border: 1px solid #F1D798; text-align: center; }
.sim__next-title { font: 700 1.2rem/1.2 var(--font-head); color: var(--brand); margin: 0 0 14px; }
.sim__next .sim__cta { margin: 0; }
.sim__cta .btn { gap: 8px; }
.sim__cta .btn--ghost { background: var(--card); }
.sim__reassure { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin: 12px 0 0; color: var(--brand); font-weight: 600; }
.sim__reassure span { display: inline-flex; align-items: center; gap: 5px; }
.sim__reassure .icon { color: var(--green); }
.sim__next .sim__direct { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed #E3C77A; }
.chip-link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--brand); }
.chip-link:hover { border-color: var(--brand); color: var(--brand); }
.sim__info { margin: 18px 0; padding: 16px 18px; border-radius: var(--radius); background: var(--brand-50); font-size: .95rem; }
.sim__info-title { font-weight: 700; color: var(--brand); margin: 0 0 6px; }
.sim__info p { margin: 0 0 8px; }
.sim__info p:last-child { margin: 0; }
.sim__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0 8px; font-weight: 600; }
.sim__nav--end { flex-wrap: wrap; }
.sim__nav--end .btn { gap: 6px; }
.sim__share-status { text-align: right; margin: 6px 0 0; }
.sim__share-status:empty { display: none; }
@media (max-width: 620px) {
  .sim__next { padding: 18px 14px 14px; }
  .sim__nav--end .btn { flex: 1; justify-content: center; }
}

/* Simulateur, étapes 2 à 4 : menus déroulants à la même hauteur que les champs, cartes plus compactes */
select { -webkit-appearance: none; appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2312355B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
.sim__step:not([data-step="travaux"]) .choices .choice span { flex-direction: row; align-items: center; gap: 12px; padding: 16px 18px; font-size: 1.02rem; }
.sim__step:not([data-step="travaux"]) .choices .choice span .icon { margin: 0; }
[data-fossil], [data-fossil-keep] { padding: 14px 16px 2px; margin-bottom: 14px; border: 1px solid var(--line); border-left: 4px solid var(--sun); border-radius: var(--radius-sm); background: var(--bg); }
[data-fossil][hidden], [data-fossil-keep][hidden] { display: none; }
[data-fossil] .field > span, [data-fossil-keep] .field > span { font-weight: 600; line-height: 1.4; }
.sim__req { margin: 4px 0 0; }
.sim__error:empty { min-height: 0; margin: 0; }
.sim__step .sim__nav { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
[data-step="travaux"] .sim__nav { border-top: 0; padding-top: 0; }
@media (max-width: 820px) { [data-step="travaux"] .sim__nav { border-top: 1px solid var(--line); padding-top: 10px; } }
.field > label { font-size: .92rem; font-weight: 600; color: var(--brand); }
.stepper { display: grid; grid-template-columns: 52px 1fr 52px; border: 1.5px solid #CBBFA8; border-radius: var(--radius-sm); background: var(--field); overflow: hidden; }
.stepper:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(18, 53, 91, .14); }
.stepper input { border: 0; border-radius: 0; text-align: center; font-weight: 700; font-size: 1.1rem; box-shadow: none !important; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper button { border: 0; background: var(--brand-50); color: var(--brand); font: 700 1.4rem/1 var(--font-head); cursor: pointer; }
.stepper button:hover { background: #dbe5f0; }
[data-step="logement"] .choices { grid-template-columns: 1fr 1fr; }
@media (max-width: 420px) { [data-step="logement"] .choices .choice span { padding: 14px 12px; gap: 8px; } }

/* Résultat du simulateur, version compacte */
[data-step="resultat"] > .sim__count { margin-bottom: 6px; padding: 4px 10px; font-size: .72rem; }
[data-step="resultat"] > h2.sim__title-up { font-size: clamp(1.05rem, 1.8vw, 1.3rem); margin: 0 auto 10px; }
[data-step="resultat"] .result-hero { margin: 8px 0 12px; }
[data-step="resultat"] .result-hero .result-big { padding: 10px 20px 12px; max-width: 400px; }
[data-step="resultat"] .result-big > span { font-size: .85rem; }
[data-step="resultat"] .result-big strong { font-size: clamp(1.5rem, 3vw, 1.95rem); margin: 2px 0 0; }
[data-step="resultat"] .sim__lines li { padding: 7px 14px; font-size: .92rem; }
[data-step="resultat"] .sim__lines li strong { font-size: .92rem; }
.sim__next { margin: 14px 0 6px; padding: 14px 16px 12px; }
.sim__next-title { font-size: 1.02rem; margin-bottom: 10px; }
.sim__cta .btn { min-height: 46px; padding-top: 10px; padding-bottom: 10px; }
.sim__reassure { margin-top: 8px; }
.sim__next .sim__direct { margin-top: 10px; padding-top: 10px; }
.chip-link { padding: 5px 11px; font-size: .85rem; }
[data-step="resultat"] .callout { margin: 14px 0; padding: 14px 16px; }
.sim__info { margin: 12px 0; padding: 12px 16px; font-size: .9rem; }
.sim__links { margin: 10px 0 4px; font-size: .92rem; }

/* Rappel des travaux choisis (étape 2 du simulateur) */
.sim__chosen { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 6px 0 4px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--brand-50); color: var(--brand); font-size: .95rem; }
.sim__chosen[hidden] { display: none; }
.sim__chosen .linklike { font-weight: 600; }
/* Bandeau cookies : texte court sur téléphone */
.cookie-banner__short { display: none; }
@media (max-width: 700px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; }
  .cookie-banner__inner { padding: 12px 14px; gap: 10px; }
  .cookie-banner__long { display: none; }
  .cookie-banner__short { display: inline; }
  .cookie-banner__actions { flex-direction: row; }
}
/* Simulateur sur téléphone : WhatsApp en icône seule, pour ne pas couvrir « Continuer » */
@media (max-width: 820px) {
  body.page-sim .wa-float { padding: 11px; bottom: calc(96px + env(safe-area-inset-bottom)); }
  body.page-sim .wa-float__label { display: none; }
}

/* Bandeau cookies affiché : rien ne doit rester caché dessous (barre du simulateur, barre « Estimer », WhatsApp, fin de page) */
body.has-cookie-banner { padding-bottom: var(--cb-h, 0px); }
body.has-cookie-banner .wa-float { bottom: calc(var(--cb-h, 0px) + 12px); }
@media (max-width: 720px) {
  body.has-cookie-banner:not(.no-sticky) { padding-bottom: calc(var(--cb-h, 0px) + 68px); }
  body.has-cookie-banner:not(.no-sticky) .sticky-cta { bottom: var(--cb-h, 0px); }
  body.has-cookie-banner:not(.no-sticky) .wa-float { bottom: calc(var(--cb-h, 0px) + 78px); }
}
@media (max-width: 820px) {
  body.has-cookie-banner .sim__step .sim__nav { bottom: var(--cb-h, 0px); }
  body.page-sim.has-cookie-banner .wa-float { bottom: calc(var(--cb-h, 0px) + 96px); }
  /* Saisie au clavier : le bandeau, WhatsApp et la barre « Estimer » s'effacent pour ne pas masquer le champ */
  body.is-typing .cookie-banner, body.is-typing .wa-float, body.is-typing .sticky-cta { display: none !important; }
}

/* Boutons Oui / Non (étape 2) : la case invisible couvre exactement son bouton */
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; flex: 1 1 0; min-width: 88px; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 12px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); font: 600 .98rem/1.2 var(--font-head); color: var(--brand); text-align: center; transition: border-color .15s, background-color .15s; }
.seg label:hover span { border-color: var(--brand); }
.seg input:checked + span { border-color: var(--brand); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand); }
.seg input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.field > small { margin-top: -2px; }
/* Résultat : une ligne qui rassure sous le montant ; l'e-mail en lien discret sous le bouton principal */
.result-note { max-width: 440px; margin: 8px auto 0; text-align: center; font-size: .88rem; color: var(--muted); }
.sim__next .sim__cta { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
.sim__alt { margin: 10px 0 0; }
.sim__alt .linklike { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand); }
/* Mobile : « Continuer » reste visible en bas de l'écran à toutes les étapes */
@media (max-width: 820px) {
  .sim__step:not([data-step="resultat"]) .sim__nav { position: sticky; bottom: 0; margin: 12px -14px -16px; padding: 10px 14px 12px; background: var(--card); border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-lg) var(--radius-lg); z-index: 2; }
  body.has-cookie-banner .sim__step:not([data-step="resultat"]) .sim__nav { bottom: var(--cb-h, 0px); }
}
/* Simulateur sur téléphone : WhatsApp rangé dans la barre du bas (le bouton flottant pouvait couvrir « Continuer ») */
.sim__wa-mini { display: none; }
@media (max-width: 820px) {
  body.page-sim .wa-float { display: none; }
  .sim__wa-mini { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: #1d7d45; color: #fff; }
  .sim__wa-mini:hover { color: #fff; background: #166a39; }
  .sim__step .sim__nav { align-items: center; }
  [data-step="travaux"] .sim__nav .btn { flex: 1; }
}
[data-step="travaux"] .sim__nav { justify-content: flex-end; }
@media (max-width: 820px) { [data-step="travaux"] .sim__nav { justify-content: space-between; gap: 10px; } }
@media (max-width: 820px) {
  body.page-sim.sim-result .wa-float { display: inline-flex; bottom: calc(16px + env(safe-area-inset-bottom)); padding: 9px 14px 9px 10px; }
  body.page-sim.sim-result .wa-float__label { display: inline; }
  body.page-sim.sim-result.has-cookie-banner .wa-float { bottom: calc(var(--cb-h, 0px) + 12px); }
}
/* Question oubliée : encadré rouge, message juste en dessous */
.is-invalid .seg span, .is-invalid .choice span, .field.is-invalid input, .field.is-invalid select { border-color: var(--danger); }
.is-invalid > legend, .field.is-invalid > span { color: var(--danger); }
.is-invalid + .sim__error { margin: 4px 0 12px; }
/* Téléphone : « Continuer » ne déborde plus de la carte sur les petits écrans */
@media (max-width: 820px) {
  .sim__step .sim__nav .btn { min-width: 0; padding-left: 14px; padding-right: 14px; }
  .sim__step .sim__nav [data-next] { flex: 1 1 auto; justify-content: center; }
}
/* Pendant la saisie, le bandeau cookies est masqué : la barre « Continuer » redescend tout en bas */
@media (max-width: 820px) { body.is-typing .sim__step:not([data-step="resultat"]) .sim__nav { bottom: 0; } }
/* Écran du résultat sur téléphone : pas de bouton WhatsApp flottant (il recouvrait « Faire étudier mon projet ») ;
   WhatsApp reste dans « Une question ? » juste sous les boutons */
@media (max-width: 820px) { body.page-sim.sim-result .wa-float { display: none !important; } }
/* Prime affichée après les coordonnées : écran de résultat « verrouillé » */
.sim--verrou [data-cta], .sim--verrou [data-result-more], .sim--verrou [data-share], .sim--verrou .sim__lines { display: none !important; }
.result-hero--verrou .result-big strong { filter: blur(7px); user-select: none; }
.sim__verrou-txt { text-align: center; margin: 12px auto 4px; max-width: 520px; }
.sim--verrou [data-contact] { margin-top: 12px; border-color: var(--sun, #F6B93B); }
/* Coordonnées déjà envoyées : plus de bouton « Faire étudier », seulement les contacts directs */
.sim--envoye .sim__cta, .sim--envoye .sim__alt { display: none !important; }
/* Formulaire affiché directement sous le montant (26/11/2026) : le bloc « Et maintenant ? » ne revient qu'après l'envoi */
.sim--formulaire [data-cta] { display: none !important; }
.sim--formulaire [data-contact] { margin-top: 12px; border-color: var(--sun, #F6B93B); }
/* Reste à charge (26/11/2026) : encadré rouge à côté du montant ; empilé sur téléphone */
[data-step="resultat"] .result-hero--rac { grid-template-columns: 1fr 1fr; max-width: 820px; margin-inline: auto; align-items: stretch; justify-items: stretch; }
[data-step="resultat"] .result-hero--rac .result-big { max-width: none; }
.sim__rac { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 10px 20px 12px; border: 2px solid #C0392B; border-radius: var(--radius); background: #FDECEA; color: #7B1E14; }
.sim__rac-titre { font-weight: 700; color: #C0392B; text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; }
.sim__rac strong { display: block; font: 700 clamp(1.4rem, 3.4vw, 2rem)/1.15 var(--font-head); color: #C0392B; margin: 4px 0; }
.sim__rac span:last-child { font-size: .9rem; }
@media (max-width: 600px) { [data-step="resultat"] .result-hero--rac { grid-template-columns: 1fr; } }

/* Pages travaux : 4 étapes en 2 colonnes dans le texte, tableau des primes */
.prose .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; margin: 0 0 1.4em; }
@media (max-width: 560px) { .prose .steps { grid-template-columns: 1fr; } }
.table-prime th[scope="row"] { min-width: 7.5em; }
.table-prime td { font-variant-numeric: tabular-nums; }
.prime-accroche { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 16px 20px; margin: 0 0 1.2em; background: var(--brand, #12355B); color: #fff; border-radius: var(--radius); }
.prime-accroche strong { font-family: var(--font-head, inherit); font-size: clamp(1.5rem, 4vw, 2rem); color: var(--sun, #F6B93B); line-height: 1.15; }
.prime-accroche span { font-size: .95rem; opacity: .92; }
.table-prime th[scope="row"] small { display: block; font-weight: 500; font-size: .78rem; color: var(--muted); }

/* Pages d'arrivée des annonces (27/11/2026) */
.site-header--lp .header-inner { justify-content: space-between; }
.site-header--lp .brand { pointer-events: none; }
.lp-tel span { white-space: nowrap; }
.lp-hero { background: var(--brand); color: #fff; padding: clamp(28px, 5vw, 56px) 0; }
.lp-hero .eyebrow { color: var(--sun); }
.lp-hero h1 { color: #fff; font-size: clamp(1.8rem, 4.4vw, 2.8rem); line-height: 1.15; margin: 8px 0 14px; }
.lp-hero .lead { color: #DCE6F0; }
.lp-accent { color: var(--sun); }
.lp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.lp-hero__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg, 18px); }
.lp-confiance { margin-top: 18px; }
.lp-confiance li { color: #fff; }
.lp-confiance svg { color: var(--sun); }
.lp-sim { background: var(--bg); }
.lp-sim__titre { text-align: center; margin-bottom: 14px; }
.lp-body { max-width: 820px; }
.lp-body h2 { margin-top: 1.8em; }
.lp-body h3 { font-size: 1.1rem; margin: 1.4em 0 .4em; }
.site-footer--lp { padding: 28px 0; }
.site-footer--lp p { margin: 0 0 10px; }
@media (max-width: 760px) {
  .lp-hero__grid { grid-template-columns: 1fr; }
  .lp-hero__img { display: none; }
  .lp-tel span { display: none; }
}
@media (max-width: 760px) {
  .lp-hero { padding: 22px 0 18px; }
  .lp-hero .lead { font-size: 1rem; margin-bottom: 0; }
  .lp-hero .lp-confiance { display: none; }
}
.lp-body .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; margin: 0 0 1.4em; }
@media (max-width: 560px) { .lp-body .steps { grid-template-columns: 1fr; } }
/* Encadré « reste à charge » des pages d'arrivée (version grand chiffre) */
.lp-rac { display: flex; align-items: center; gap: clamp(14px, 3vw, 24px); margin: 6px 0 20px; padding: clamp(14px, 2.5vw, 20px) clamp(16px, 3vw, 26px); background: var(--sun); color: var(--brand); border-radius: 18px; text-decoration: none; box-shadow: 0 10px 28px rgba(0,0,0,.28); max-width: 580px; position: relative; overflow: hidden; transition: transform .15s ease; }
.lp-rac::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-100%); animation: lp-reflet 3.2s ease-in-out 1s infinite; pointer-events: none; }
@keyframes lp-reflet { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .lp-rac::after { animation: none; display: none; } }
.lp-rac:hover { transform: translateY(-2px); }
.lp-rac__zero { flex: 0 0 auto; font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; font-size: clamp(4rem, 11vw, 5.6rem); line-height: .9; letter-spacing: -.04em; color: var(--brand); }
.lp-rac__zero small { font-size: .5em; letter-spacing: 0; }
.lp-rac__texte { display: flex; flex-direction: column; gap: 2px; }
.lp-rac__sur { font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; font-size: clamp(1.1rem, 2.6vw, 1.4rem); line-height: 1.15; }
.lp-rac__texte strong { font-size: clamp(.95rem, 2vw, 1.05rem); font-weight: 600; }
.lp-rac__btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 7px 14px; background: var(--brand); color: #fff; border-radius: 999px; font-weight: 700; font-size: .9rem; }
.lp-sim__titre span { color: var(--muted); font-weight: 500; }
@media (max-width: 760px) { .lp-sim__titre span { display: block; font-size: .8em; } }
/* Encadré « 0 € » sur le reste du site : un peu plus compact */
.lp-rac--site { margin: 16px 0 18px; max-width: 520px; }
.prose .lp-rac { text-decoration: none; }
.prose .lp-rac__btn { color: #fff; }
.page-sim .lp-rac--site { margin: 12px 0 4px; }
/* Bandeau « 0 € » de la page simulateur : discret, aligné sur le simulateur */
.rac-bandeau { display: flex; align-items: center; gap: 16px; max-width: 880px; margin: 0 auto 18px; padding: 12px 20px; background: #FEF3DA; border: 1px solid var(--sun); border-left: 6px solid var(--sun); border-radius: 12px; color: var(--brand); }
.rac-bandeau__zero { flex: 0 0 auto; font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; font-size: 2.4rem; line-height: 1; letter-spacing: -.03em; }
.rac-bandeau__zero small { font-size: .55em; }
.rac-bandeau__texte { display: flex; flex-direction: column; gap: 2px; font-size: .95rem; line-height: 1.35; }
.rac-bandeau__texte strong { font-size: 1.02rem; }
.rac-bandeau__texte span { color: var(--muted); font-size: .88rem; }
@media (max-width: 560px) { .rac-bandeau { padding: 10px 14px; gap: 12px; } .rac-bandeau__zero { font-size: 2rem; } }
.page-sim .rac-bandeau { max-width: 980px; }
/* Page simulateur : le grand encadré jaune, aligné et centré sur le simulateur */
.lp-rac--sim { max-width: 820px; margin: 0 auto 22px; justify-content: center; }
.page-sim .lp-rac--sim { max-width: 980px; }
.lp-rac--sim .lp-rac__texte { flex: 0 1 auto; }
.form-mentions { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line, rgba(0,0,0,.08)); }
.form-mentions p { margin: 0 0 8px; }
.accord-pub { margin-top: 4px; }
.accord-pub .consent span { font-size: .85rem; color: var(--muted); }

/* Choix du créneau de rappel (formulaire du simulateur, 28/11/2026) */
.rdv { margin: 4px 0 16px; padding: 14px 0 0; border-top: 1px solid var(--line); }
.rdv__titre { font-weight: 600; color: var(--brand); margin: 0 0 10px; }
.rdv__jours { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -2px 8px; scrollbar-width: thin; }
.rdv__jour { flex: 0 0 auto; min-width: 90px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; text-align: center; cursor: pointer; font: inherit; color: var(--brand); line-height: 1.2; }
.rdv__jour b { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.rdv__jour small { display: block; color: var(--muted); font-size: .78rem; }
.rdv__jour[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand); }
.rdv__heures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .rdv__heures { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rdv__heure { min-height: 44px; padding: 8px 6px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: 600 .95rem/1 var(--font-head); color: var(--brand); cursor: pointer; }
.rdv__heure[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.rdv__heure:disabled { color: #9aa3ad; background: #f3f4f6; cursor: not-allowed; text-decoration: line-through; }
.rdv__asap { margin: 10px 0 0; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: 600 .95rem/1 var(--font-head); color: var(--brand); cursor: pointer; width: 100%; }
.rdv__asap[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.rdv__jour:focus-visible, .rdv__heure:focus-visible, .rdv__asap:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.rdv__recap { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--green-100, #EAF5EF); color: var(--brand); font-weight: 500; }
@media (min-width: 640px) { .rdv__asap { width: auto; min-width: 220px; } }

/* Question de départ du simulateur : deux chemins (28/11/2026) */
.sim__chemin h2 { margin: 0; }
.sim:not(.sim--chemin) .sim__chemin { display: none; }
.sim--chemin .sim__step, .sim--chemin .sim__progress { display: none !important; }
.chemin { display: grid; gap: 12px; margin: 18px 0 8px; }
@media (min-width: 640px) { .chemin { grid-template-columns: 1fr 1fr; } }
.chemin__btn { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; text-align: left; padding: 18px; border: 2px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; font: inherit; color: var(--ink, #1B2B3A); transition: border-color .15s, box-shadow .15s; }
.chemin__btn:hover, .chemin__btn:focus-visible { border-color: var(--brand); box-shadow: 0 6px 18px rgba(18, 53, 91, .12); outline: none; }
.chemin__btn[aria-pressed="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--brand-50); }
.chemin__ico { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.chemin__btn--travaux .chemin__ico { background: #FEF3DA; }
.chemin__btn b { font: 700 1.08rem/1.25 var(--font-head); color: var(--brand); }
.chemin__btn > span:last-child { font-size: .92rem; color: var(--muted); line-height: 1.35; }
.chemin__signe { margin: 14px 0 4px; padding: 14px 16px; border-radius: 14px; background: #FEF3DA; border: 1px solid var(--sun); }
.chemin__q { font-weight: 600; color: var(--brand); margin: 0 0 10px; }
.chemin__choix { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chemin__choix .btn { justify-content: center; }
.chemin__suite { margin: 10px 0 0; }
/* Résultat « travaux » : le reste à charge en vedette, la prime en encadré secondaire */
.result-big--rac strong { font-size: clamp(2rem, 6vw, 2.6rem); }
.result-big--rac small { display: block; margin-top: 6px; font-size: .9rem; line-height: 1.4; }
.sim__rac--prime { border-color: var(--line); background: #fff; color: var(--muted); }
.sim__rac--prime .sim__rac-titre, .sim__rac--prime strong { color: var(--brand); }
.sim__inclus { list-style: none; padding: 0; margin: 6px 0 16px; display: grid; gap: 8px; }
.sim__inclus li { display: flex; gap: 10px; align-items: flex-start; }
.sim__inclus li::before { content: "✓"; flex: 0 0 24px; height: 24px; border-radius: 12px; background: var(--green-100, #EAF5EF); color: var(--green); font-weight: 700; display: grid; place-items: center; font-size: .8rem; }
.sim__signe-alerte { margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: #FDECEA; border: 1px solid #E8B4AE; color: #7B1E14; }

/* Pages travaux : haut de page compact, titre en majuscules, montant visible dès l'arrivée (28/11/2026) */
.page-hero--compact { padding: clamp(14px, 2.5vw, 26px) 0 clamp(18px, 3vw, 30px); }
.page-hero--compact h1 { font-size: clamp(1.45rem, 3.2vw, 2.3rem); line-height: 1.15; text-transform: uppercase; letter-spacing: .01em; max-width: none; margin-bottom: .2em; }
.page-hero--compact h1::after { width: 48px; height: 4px; margin-top: .35em; }
.page-hero--compact .eyebrow { margin-bottom: 8px; }
.page-hero--compact .lead { font-size: 1rem; margin: 10px 0 0; max-width: 60ch; }
.page-hero--compact .page-hero__meta { margin-top: 10px; font-size: .82rem; }
@media (min-width: 861px) { .page-hero--compact .page-hero__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; } }
.page-hero--compact .page-hero__media { aspect-ratio: 4 / 3; max-height: 300px; width: 100%; }
@media (max-width: 860px) {
  .page-hero--compact .page-hero__media { aspect-ratio: 21 / 9; max-height: 150px; }
}
.hero-prime { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 14px 0 4px; padding: 14px 18px; border-radius: var(--radius); background: var(--brand); color: #DCE6F0; }
.hero-prime__montant { margin: 0; flex: 1 1 260px; }
.hero-prime__montant strong { display: block; font: 700 clamp(1.5rem, 3.4vw, 2rem)/1.15 var(--font-head); color: var(--sun); }
.hero-prime__montant span { font-size: .92rem; }
.hero-prime .btn { flex: 0 0 auto; }
@media (max-width: 520px) { .hero-prime .btn { width: 100%; justify-content: center; } }
.enbref { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 0 0 1.4em; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); font-size: .92rem; color: var(--muted); }
.enbref__titre { font: 700 .75rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.enbref strong { color: var(--brand); }
.enbref a { margin-left: auto; font-weight: 600; }
.page-hero--compact .hero-actions { margin: 14px 0 4px; }
@media (max-width: 520px) { .page-hero--compact .hero-actions .btn { width: 100%; justify-content: center; } }

/* Après l'envoi des coordonnées (28/11/2026, 2ᵉ version) : WhatsApp ou choix de l'heure du rappel */
.sim--envoye [data-cta] { display: none !important; }
.sim__apres { margin: 16px 0 8px; padding: 20px; border-radius: var(--radius-lg); background: #fff; border: 2px solid var(--sun); }
.sim__apres h3 { margin: 0 0 6px; font-size: 1.2rem; }
.sim__apres-intro { margin: 0 0 14px; color: var(--muted); }
.sim__apres-choix { display: grid; gap: 10px; }
@media (min-width: 640px) { .sim__apres-choix { grid-template-columns: 1fr 1fr; } }
.sim__apres-choix .btn { justify-content: center; gap: 8px; min-height: 50px; }
.sim__apres-choix .btn[aria-expanded="true"] { box-shadow: inset 0 0 0 2px var(--brand); }
.sim__apres .rdv { margin: 16px 0 0; }
.sim__apres .rdv__recap[hidden] { display: none; }
.sim__apres [data-rdv-ok] { margin-top: 12px; }
.sim__apres [data-rdv-ok]:disabled { opacity: .5; cursor: not-allowed; }
.rdv__fait { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--green-100, #EAF5EF); color: var(--brand); }
/* Passage design 1 */
.sim--envoye .sim__thanks { font-weight: 500; font-size: .95rem; padding: 12px 16px; margin-bottom: 0; }
.sim__apres-choix .btn { white-space: nowrap; }
.sim__apres-choix .btn svg { flex: 0 0 auto; }
/* Passage design 3 */
.sim__apres--agenda .sim__apres-choix .btn--whatsapp { display: none; }
.sim__apres--agenda .sim__apres-intro { display: none; }
.sim__apres .rdv { padding-top: 12px; }
.sim__apres .rdv__titre { font-weight: 500; color: var(--muted); font-size: .92rem; margin-bottom: 8px; }
@media (min-width: 360px) and (max-width: 639px) { .sim__apres .rdv__heures { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sim__apres .rdv__heure { font-size: .88rem; padding: 8px 4px; } }
.rdv__alt { text-align: center; margin: 10px 0 0; }
/* Passage design 5 */
.sim__apres-choix[hidden], .sim__apres .rdv[hidden] { display: none; }
.rdv__fait { font-size: 1rem; line-height: 1.5; }
.sim__apres--agenda .sim__apres-choix { grid-template-columns: 1fr; }

/* Résultat affiché : plus de bandeau « 0 € » ni de « Vérifier mon cas » au-dessus (28/11/2026) */
body.sim-result .rac-bandeau, body.sim-result .lp-hero .lp-rac { display: none; }

/* Revue qualité du 28/11/2026 */
/* Accueil (ordinateur) : texte lisible sur la photo, le voile clair couvre toute la colonne de texte */
@media (min-width: 901px) {
  .hero--photo::before { background: linear-gradient(90deg, rgba(243, 236, 223, .98) 0%, rgba(243, 236, 223, .95) 42%, rgba(243, 236, 223, .8) 50%, rgba(243, 236, 223, 0) 68%); }
}
/* Téléphone : le bouton WhatsApp devient une pastille ronde, pour ne plus cacher le texte au-dessus de la barre « Estimer mes primes » */
@media (max-width: 820px) {
  .wa-float { width: 52px; height: 52px; padding: 0; justify-content: center; }
  .wa-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wa-float__logo { width: 26px; height: 26px; }
}

/* Pages travaux : encadré jaune « 0 € » à la même largeur que le cadre bleu du montant (28/11/2026) */
.prose .prime-accroche + .lp-rac--site { max-width: none; width: 100%; box-sizing: border-box; }
/* Fin de tunnel (28/11/2026, 3ᵉ version) : maintenant ou créneau, ce qui va se passer, pièces à préparer */
.sim__apres-choix .btn[hidden] { display: none; }
.sim__apres-wa { margin: 10px 0 0; text-align: center; }
.sim__apres-wa a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.sim__apres-wa[hidden] { display: none; }
.sim__suite { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.sim__suite-titre { font: 700 .95rem/1.3 var(--font-head); color: var(--brand); margin: 0 0 8px; }
.sim__etapes { margin: 0 0 14px; padding-left: 0; list-style: none; counter-reset: etape; display: grid; gap: 8px; }
.sim__etapes li { counter-increment: etape; display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.sim__etapes li::before { content: counter(etape); flex: 0 0 24px; height: 24px; border-radius: 12px; background: var(--brand); color: #fff; font: 700 .8rem/24px var(--font-head); text-align: center; }
.sim__suite .sim__inclus { margin-bottom: 10px; }
.sim__suite-note { margin: 0; }
.rdv__agenda { margin: 8px 0 0; }
.sim__apres-choix { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .sim__apres-choix { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.sim__apres-choix .btn { width: 100%; min-width: 0; white-space: normal; }
.sim__apres-choix .btn { white-space: nowrap; font-size: .98rem; padding-left: 14px; padding-right: 14px; }

/* Page Professionnels (28/11/2026) */
.nav-pro { display: none; }
@media (max-width: 1180px) { .nav-pro { display: block; text-align: center; font-weight: 600; padding: 10px; color: var(--brand); text-decoration: underline; } }
.pro-offres { display: grid; gap: 16px; }
@media (min-width: 760px) { .pro-offres { grid-template-columns: 1fr 1fr; } }
.pro-offre h2 { font-size: 1.25rem; margin: 10px 0 6px; }
.pro-offre p { margin: 0 0 10px; }
.pro-offre__ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.pro-offre__ico--sun { background: #FEF3DA; }
.pro-titre { margin: 32px 0 12px; }
.pro-etapes { max-width: 760px; }
.pro-form { max-width: 760px; }
.pro-form .seg { flex-wrap: wrap; }
@media (max-width: 520px) { .pro-form .seg { display: grid; grid-template-columns: 1fr; } }

/* Pages d’arrivée des annonces : lien « Vous avez déjà un devis ? » (28/11/2026) */
.sim__chemin-alt { margin: 0 0 12px; font-size: .92rem; color: var(--muted); text-align: right; }
.sim__chemin-alt .linklike { font-weight: 600; }
.sim__chemin-alt[hidden], .sim--chemin .sim__chemin-alt { display: none; }
.sim__chemin .chemin[hidden], .sim__chemin .chemin__suite[hidden] { display: none; }

/* Bandeau France Rénov' obligatoire (arrêté du 7/07/2026) : fond blanc, deux liserés noirs, message non altéré */
.frenov { background: #fff; border-top: 2px solid #161616; border-bottom: 2px solid #161616; }
.frenov__lien { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 32px); max-width: var(--container); margin: 0 auto; padding: 14px var(--gutter); color: #161616; text-decoration: none; }
.frenov__lien:hover .frenov__msg b, .frenov__lien:focus-visible .frenov__msg b { text-decoration: underline; }
.frenov__marque { display: flex; align-items: center; gap: 12px; flex: none; }
.frenov__sep { width: 1px; align-self: stretch; background: #161616; margin: 4px 0; }
.frenov__msg { font: 400 .98rem/1.4 var(--font-body); }
.frenov__msg b { font-weight: 700; }
@media (max-width: 640px) { .frenov__lien { flex-direction: column; align-items: flex-start; gap: 8px; } .frenov__msg { font-size: .92rem; } }

/* Bloc-marque République française (règles reprises du Système de design de l'État, DSFR) et logo officiel France Rénov' */
.frenov__rf{display:inline-block;font-weight:700;line-height:1.03175em;letter-spacing:-.01em;text-transform:uppercase;vertical-align:middle;text-indent:-.1em;font-size:1.05rem;color:#161616;font-family:Marianne,arial,sans-serif;print-color-adjust:exact}
.frenov__rf::before{width:2.75rem;height:1rem;margin-bottom:0.3333333333rem;background-size:2.75rem 1.125rem,2.75rem 1rem,0;background-position:0 -0.0625rem,0 0,0 0;content:"";display:block;background-repeat:no-repeat,no-repeat,no-repeat;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 18'%3E%3Cpath fill='%23fff' d='M11.3 10.2c-.9.6-1.7 1.3-2.3 2.1v-.1c.4-.5.7-1 1-1.5.4-.2.7-.5 1-.8.5-.5 1-1 1.7-1.3.3-.1.5-.1.8 0-.1.1-.2.1-.4.2H13v-.1c-.3.3-.7.5-1 .9-.1.2-.2.6-.7.6 0 .1.1 0 0 0zm1.6 4.6c0-.1-.1 0-.2 0l-.1.1-.1.1-.2.2s.1.1.2 0l.1-.1c.1 0 .2-.1.2-.2.1 0 .1 0 .1-.1 0 .1 0 0 0 0zm-1.6-4.3c.1 0 .2 0 .2-.1s.1-.1.1-.1v-.1c-.2.1-.3.2-.3.3zm2.4 1.9s0-.1 0 0c.1-.1.2-.1.3-.1.7-.1 1.4-.3 2.1-.6-.8-.5-1.7-.9-2.6-1h.1c-.1-.1-.3-.1-.5-.2h.1c-.2-.1-.5-.1-.7-.2.1 0 .2-.2.2-.3h-.1c-.4.2-.6.5-.8.9.2.1.5 0 .7.1h-.3c-.1 0-.2.1-.2.2h.1c-.1 0-.1.1-.2.1.1.1.2 0 .4 0 0 .1.1.1.1.1-.1 0-.2.1-.3.3-.1.2-.2.2-.3.3v.1c-.3.2-.6.5-.9.8v.1c-.1.1-.2.1-.2.2v.1c.4-.1.6-.4 1-.5l.6-.3c.2 0 .3-.1.5-.1v.1h.2c0 .1-.2 0-.1.1s.3.1.4 0c.2-.2.3-.2.4-.2zM12.4 14c-.4.2-.9.2-1.2.4 0 0 0 .1-.1.1 0 0-.1 0-.1.1-.1 0-.1.1-.2.2l-.1.1s0 .1.1 0l.1-.1s-.1.1-.1.2V15.3l-.1.1s0 .1-.1.1l-.1.1.2-.2.1-.1h.2s0-.1.1-.1c.1-.1.2-.2.3-.2h.1c.1-.1.3-.1.4-.2.1-.1.2-.2.3-.2.2-.2.5-.3.8-.5-.1 0-.2-.1-.3-.1 0 .1-.2 0-.3 0zM30 9.7c-.1.2-.4.2-.6.3-.2.2 0 .4.1.5.1.3-.2.5-.4.5.1.1.2.1.2.1 0 .2.2.2.1.4s-.5.3-.3.5c.1.2.1.5 0 .7-.1.2-.3.4-.5.5-.2.1-.4.1-.6 0-.1 0-.1-.1-.2-.1-.5-.1-1-.2-1.5-.2-.1 0-.3.1-.4.1-.1.1-.3.2-.4.3l-.1.1c-.1.1-.2.2-.2.3-.1.2-.2.4-.2.6-.2.5-.2 1 0 1.4 0 0 1 .3 1.7.6.2.1.5.2.7.4l1.7 1H13.2l1.6-1c.6-.4 1.3-.7 2-1 .5-.2 1.1-.5 1.5-.9.2-.2.3-.4.5-.5.3-.4.6-.7 1-1l.3-.3s0-.1.1-.1c-.2.1-.2.2-.4.2 0 0-.1 0 0-.1s.2-.2.3-.2v-.1c-.4 0-.7.2-1 .5h-.2c-.5.2-.8.5-1.2.7v-.1c-.2.1-.4.2-.5.2-.2 0-.5.1-.8 0-.4 0-.7.1-1.1.2-.2.1-.4.1-.6.2v.1l-.2.2c-.2.1-.3.2-.5.4l-.5.5h-.1l.1-.1.1-.1c0-.1.1-.1.1-.2.2-.1.3-.3.5-.4 0 0-.1 0 0 0 0 0 0-.1.1-.1l-.1.1c-.1.1-.1.2-.2.2v-.1-.1l.2-.2c.1-.1.2-.1.3-.2h.1c-.2.1-.3.1-.5.2H14h-.1c0-.1.1-.1.2-.2h.1c1-.8 2.3-.6 3.4-1 .1-.1.2-.1.3-.2.1-.1.3-.2.5-.3.2-.2.4-.4.5-.7v-.1c-.4.4-.8.7-1.3 1-.6.2-1.3.4-2 .4 0-.1.1-.1.1-.1 0-.1.1-.1.1-.2h.1s0-.1.1-.1h.1c-.1-.1-.3.1-.4 0 .1-.1 0-.2.1-.2h.1s0-.1.1-.1c.5-.3.9-.5 1.3-.7-.1 0-.1.1-.2 0 .1 0 0-.1.1-.1.3-.1.6-.3.9-.4-.1 0-.2.1-.3 0 .1 0 .1-.1.2-.1v-.1h0c0-.1.1 0 .2-.1h-.1c.1-.1.2-.2.4-.2 0-.1-.1 0-.1-.1h.1-.5c-.1 0 0-.1 0-.1.1-.2.2-.5.3-.7h-.1c-.3.3-.8.5-1.2.6h-.2c-.2.1-.4.1-.5 0-.1-.1-.2-.2-.3-.2-.2-.1-.5-.3-.8-.4-.7-.2-1.5-.4-2.3-.3.3-.1.7-.2 1.1-.3.5-.2 1-.3 1.5-.3h-.3c-.4 0-.9.1-1.3.2-.3.1-.6.2-.9.2-.2.1-.3.2-.5.2v-.1c.3-.4.7-.7 1.1-.8.5-.1 1.1 0 1.6.1.4 0 .8.1 1.1.2.1 0 .2.2.3.3.2.1.4 0 .5.1v-.2c.1-.1.3 0 .4 0 .2-.2-.2-.4-.3-.6v-.1c.2.2.5.4.7.6.1.1.5.2.5 0-.2-.3-.4-.6-.7-.9v-.2c-.1 0-.1 0-.1-.1-.1-.1-.1-.2-.1-.3-.1-.2 0-.4-.1-.5-.1-.2-.1-.3-.1-.5-.1-.5-.2-1-.3-1.4-.1-.6.3-1 .6-1.5.2-.4.5-.7.8-1 .1-.4.3-.7.6-1 .3-.3.6-.5.9-.6.3-.1.5-.2.8-.3l2.5-.4H25l1.8.3c.1 0 .2 0 .2.1.1.1.3.2.4.2.2.1.4.3.6.5.1.1.2.3.1.4-.1.1-.1.4-.2.4-.2.1-.4.1-.6.1-.1 0-.2 0-.4-.1.5.2.9.4 1.2.8 0 .1.2.1.3.1v.1c-.1.1-.1.1-.1.2h.1c.1-.1.1-.4.3-.3.2.1.2.3.1.4-.1.1-.2.2-.4.3v.2c.1.1.1.2.2.4s.1.5.2.7c.1.5.2.9.2 1.4 0 .2-.1.5 0 .7l.3.6c.1.2.2.3.3.5.2.3.6.6.4 1zm-15.6 5.2c-.1 0-.1.1-.1.1s.1 0 .1-.1zm5.8-1.8c-.1.1 0 0 0 0zm-6.7-.2c0 .1.1 0 .1 0 .2-.1.5 0 .6-.2-.1-.1-.2 0-.2-.1-.1 0-.2 0-.2.1-.1.1-.3.1-.3.2z'/%3E%3Cpath fill='gray' d='M27.9 6.8c.1 0 .3 0 .3.1-.1.2-.4.3-.6.5h-.1c-.1.1-.1.2-.1.2h-.3c.1.1.3.2.5.2l.1.1h.2V8c-.1.1-.2.1-.4.1.2.1.5.1.7 0 .2-.1 0-.4.1-.5-.1 0 0-.1-.1-.1.1-.1.1-.2.2-.2s.1 0 .2-.1c0-.1-.1-.1-.1-.2.2-.1.3-.3.3-.5 0-.1-.3-.1-.4-.2h-.5c-.2 0-.3.1-.5.1l-.6.3c.2-.1.4-.1.7-.2 0 .3.2.3.4.3'/%3E%3C/svg%3E"),linear-gradient(90deg,#000091 0%,#000091 50%,#e1000f 50%,#e1000f 100%),linear-gradient(90deg,#000 0%,#000 100%);forced-color-adjust:none}
.frenov__rf::after{min-width:2.625rem;background-size:5.25rem 3.75rem;background-position:0 calc(100% + 1.875rem);padding-top:2.2083333333rem;content:"";display:block;background-repeat:no-repeat;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 252 180'%3E%3Cdefs%3E%3Csymbol id='a' viewBox='0 0 11 15.5'%3E%3Cpath d='M10.4 5.3C11.9 1.5 10.1 0 7.9 0 4.2 0 0 6.5 0 11.7c0 2.5 1.2 3.8 3 3.8 2.1 0 4.3-2 6.2-5.5h-1c-1.2 1.5-2.6 2.6-3.9 2.6-1.3 0-2-.8-2-2.6a10.7 10.7 0 01.3-2.2zm-4-3.1c1.1 0 2 .8 1.5 2.6L3.1 6.1c.8-2.2 2.2-4 3.4-4z'/%3E%3C/symbol%3E%3Csymbol id='b' viewBox='0 0 12.4 21.8'%3E%3Cuse width='11' height='15.5' y='6.4' href='%23a'/%3E%3Cpath d='M7.9 4.7L12.4.6V0h-3L6.7 4.7H8z'/%3E%3C/symbol%3E%3Csymbol id='c' viewBox='0 0 11.5 19'%3E%3Cpath d='M1.7 5.7h2.6L.1 17.1a1.3 1.3 0 001.2 2c3 0 6.4-2.6 7.8-6.2h-.7a9.4 9.4 0 01-5.1 3.5L7 5.7H11l.5-1.6H7.7L9 0H7.6L4.9 4.1l-3.2.4v1.2z'/%3E%3C/symbol%3E%3Csymbol id='d' viewBox='0 0 9.8 21.9'%3E%3Cpath d='M7.6 8c.3-1-.4-1.6-1-1.6-2.2 0-5 2.1-6 5h.7A5.6 5.6 0 014.4 9L.1 20.3a1.1 1.1 0 001 1.6c2.2 0 4.7-2 5.8-5H6A5.6 5.6 0 013 19.5zM8 3.7a1.8 1.8 0 001.8-1.8A1.8 1.8 0 008 0a1.8 1.8 0 00-1.8 1.8A1.8 1.8 0 008 3.6'/%3E%3C/symbol%3E%3Csymbol id='e' viewBox='0 0 14.8 15.5'%3E%3Cpath d='M3.3 3.1c.7 0 1 1 0 3.4l-3 6.8c-.7 1.3 0 2.2 1.2 2.2a1.3 1.3 0 001.5-1l3-8C7.4 4.8 10 3 11 3s.8.6.3 1.6l-4.6 9a1.3 1.3 0 001.1 1.9c2.3 0 5-2 6-5h-.6A5.6 5.6 0 0110 13l4-8a6.1 6.1 0 00.8-2.8A2 2 0 0012.6 0c-2 0-3.6 2.2-6 5V2.8C6.6 1.4 6.1 0 4.8 0 3.2 0 1.8 2.5.7 4.9h.7c.7-1.1 1.3-1.8 2-1.8'/%3E%3C/symbol%3E%3Csymbol id='f' viewBox='0 0 12 15.5'%3E%3Cpath d='M11.8 3.5c.5-1.9.2-3.5-1.2-3.5-1.8 0-2.3 1.2-4 5V2.8C6.5 1.3 6 0 4.6 0 3.1 0 1.7 2.5.5 5h.8C2 3.7 2.8 3 3.3 3c.7 0 1 1 0 3.4l-3 6.8c-.7 1.3 0 2.1 1.2 2.1a1.3 1.3 0 001.5-1l3-8a50.3 50.3 0 012.6-3h3.2z'/%3E%3C/symbol%3E%3Csymbol id='g' viewBox='0 0 14.7 16.2'%3E%3Cpath d='M10.5 13.1c-.6 0-1-1 0-3.4L14.6.1 13.4 0l-1.3 1.3h-.3C6.1 1.3 0 8.6 0 14.2a2 2 0 002.1 2.1c1.7 0 3.3-2.4 5.2-5l-.1 1c-.3 2.6.6 4 2 4 1.5 0 3-2.4 4-4.9h-.7c-.7 1.1-1.5 1.8-2 1.8zM7.9 9.8c-1.3 1.6-3.4 3.5-4.3 3.5-.5 0-.9-.5-.9-1.6 0-3.5 4-8.2 6-8.2a4.2 4.2 0 011.4.2z'/%3E%3C/symbol%3E%3Csymbol id='h' viewBox='0 0 21.9 19.8'%3E%3Cpath d='M11.2 19.8l.3-.9c-3.8-.7-4.3-.7-2.7-4.8l1.4-3.9h3c1.9 0 1.9.9 1.6 3h1l2.6-6.9h-1c-1 1.6-1.8 2.9-3.8 2.9h-3l2-5.6c.8-2 1.1-2.4 3.7-2.4h.7c2.6 0 3 .7 3 3.5h1l.9-4.7H7.3L7 .9c3 .6 3.3.9 2 4.8L5.7 14c-1.5 3.9-2 4.2-5.5 4.8l-.3.9z'/%3E%3C/symbol%3E%3Csymbol id='i' viewBox='0 0 10.1 21.9'%3E%3Cpath d='M2.9 19.4L10.1.3 9.8 0l-5 .6v.6l1 .7c.9.7.6 1.3-.2 3.4L.2 19.9a1.3 1.3 0 001.1 2c2.3 0 4.7-2.1 5.8-5h-.7a6.5 6.5 0 01-3.5 2.5'/%3E%3C/symbol%3E%3Csymbol id='j' viewBox='0 0 18 22'%3E%3Cpath d='M18 .6h-4.3a3.8 3.8 0 00-2.1-.6A6.6 6.6 0 005 6.5a3.3 3.3 0 003 3.6c-1.9.8-3 1.8-3 2.9a1.7 1.7 0 00.9 1.5c-4.3 1.3-6 2.8-6 4.7 0 2 2.6 2.8 5.6 2.8 5.3 0 9.6-2.7 9.6-5.1 0-1.8-1.6-2.5-4.3-3.3-2.2-.7-3.2-.8-3.2-1.6A2.4 2.4 0 019 10.2a6.6 6.6 0 006.1-6.5 4.5 4.5 0 00-.2-1.5h2.5zM9.8 16.2c2.1.7 3 1 3 1.6 0 1.4-2 2.5-5.6 2.5-2.7 0-4-.6-4-2 0-1.5 1.4-2.5 3.5-3.3a21.5 21.5 0 003 1.2zM9 9c-1 0-1.3-.8-1.3-1.7 0-2.8 1.4-6.2 3.5-6.2 1 0 1.3.8 1.3 1.6 0 2.9-1.4 6.3-3.5 6.3z'/%3E%3C/symbol%3E%3Csymbol id='k' viewBox='0 0 23 25.1'%3E%3Cpath d='M14.3 15.6c1.9 0 2 .8 1.6 2.8H17l2.5-6.8h-1c-1 1.6-1.7 2.9-3.8 2.9h-4.1l2-5.6c.7-2 1-2.4 3.7-2.4H18c2.6 0 3 .7 3 3.5h1l.9-4.7H7.3l-.3.9c3 .6 3.3.9 2 4.8l-3.2 8.4c-1.5 3.9-2 4.2-5.6 4.8l-.2 1h17.4l3.2-5h-1.2c-2 2-4 3.8-8 3.8-4.7 0-4.3-.3-2.7-4.6l1.4-3.8h4.2zm2.3-11.8L21 .6V0h-3l-2.6 3.9h1.2v-.1z'/%3E%3C/symbol%3E%3Csymbol id='l' viewBox='0 0 13.6 21.8'%3E%3Cpath d='M11.4 6.4c-2 0-4 2.2-5.8 4.8L9.6.3 9.4 0l-5 .6V1l1 .8c.9.7.6 1.3-.2 3.4L.8 16.8A13.9 13.9 0 000 19c0 1.4 1.8 2.7 3.5 2.7 3.8 0 10-6.9 10-12.2 0-2.3-.5-3.2-2.1-3.2zM4.8 19.5c-.8 0-1.9-.7-1.9-1.3a15.5 15.5 0 01.8-2.2L5 12.7C6.3 11 8.4 9.3 9.6 9.3c.7 0 1.2.4 1.2 1.5 0 3.1-2.9 8.7-6 8.7z'/%3E%3C/symbol%3E%3Csymbol id='m' viewBox='0 0 19.2 19.9'%3E%3Cpath d='M17.6 0H7.3L7 .9c3 .6 3.3.9 2 4.8l-3.2 8.5c-1.5 3.9-2 4.2-5.5 4.8L0 20h15.7l3.5-6H18c-2 2-4.2 4.8-7.7 4.8-2.7 0-3-.5-1.6-4.5l3.1-8.5c1.4-3.9 2-4.2 5.5-4.8z'/%3E%3C/symbol%3E%3Csymbol id='n' viewBox='0 0 126 90'%3E%3Cuse width='12.4' height='21.8' x='112.7' y='66.1' href='%23b'/%3E%3Cuse width='11.5' height='19' x='102.2' y='69' href='%23c'/%3E%3Cuse width='9.8' height='21.9' x='93.6' y='66.1' href='%23d'/%3E%3Cuse width='14.8' height='15.5' x='77.2' y='72.5' href='%23e'/%3E%3Cuse width='12' height='15.5' x='65.7' y='72.5' href='%23f'/%3E%3Cuse width='11' height='15.5' x='54.3' y='72.5' href='%23a'/%3E%3Cuse width='11.5' height='19' x='43.7' y='69' href='%23c'/%3E%3Cuse width='14.7' height='16.2' x='28.9' y='71.8' href='%23g'/%3E%3Cuse width='12' height='15.5' x='19.6' y='72.5' href='%23f'/%3E%3Cuse width='21.9' height='19.8' y='67.6' href='%23h'/%3E%3Cuse width='12.4' height='21.8' x='77.3' y='33.1' href='%23b'/%3E%3Cuse width='11.5' height='19' x='66.8' y='36' href='%23c'/%3E%3Cuse width='9.8' height='21.9' x='58.2' y='33' href='%23d'/%3E%3Cuse width='10.1' height='21.9' x='49.4' y='33.1' href='%23i'/%3E%3Cuse width='14.7' height='16.2' x='34.9' y='38.8' href='%23g'/%3E%3Cuse width='18' height='22' x='18.6' y='39.4' href='%23j'/%3E%3Cuse width='23' height='25.1' y='29.3' href='%23k'/%3E%3Cuse width='12.4' height='21.8' x='76.8' y='.1' href='%23b'/%3E%3Cuse width='11.5' height='19' x='66.2' y='2.9' href='%23c'/%3E%3Cuse width='12' height='15.5' x='54.8' y='6.5' href='%23f'/%3E%3Cuse width='11' height='15.5' x='43.4' y='6.4' href='%23a'/%3E%3Cuse width='13.6' height='21.8' x='29.4' y='.1' href='%23l'/%3E%3Cuse width='9.8' height='21.9' x='20.6' href='%23d'/%3E%3Cuse width='19.2' height='19.9' y='1.4' href='%23m'/%3E%3C/symbol%3E%3C/defs%3E%3Cuse fill='%23000' width='126' height='90' x='0' y='0' href='%23n'/%3E%3Cuse fill='%23fff' width='126' height='90' x='126' y='90' href='%23n'/%3E%3C/svg%3E")}
.frenov__logo{display:block;width:auto;height:64px}

/* Revue design du 01/12/2026 : zones à toucher d'au moins 44 px sur téléphone, WhatsApp qui ne recouvre plus le texte */
@media (max-width: 720px) {
  /* 1. Bandeau du haut : numéro et liens plus grands et plus faciles à toucher */
  body:not(.page-lp):not(.page-sim) .utility-bar { font-size: .875rem; }
  body:not(.page-lp):not(.page-sim) .utility-bar a { display: inline-flex; align-items: center; min-height: 44px; }
  /* 3. Menu et bouton « Estimer mes primes » du bas */
  body:not(.page-lp):not(.page-sim) .burger { padding: 10px; min-width: 44px; min-height: 44px; }
  body:not(.page-lp):not(.page-sim) .sticky-cta .btn { min-height: 48px; }
  /* 2. WhatsApp : rangé dans la barre du bas, à gauche du bouton, au lieu de flotter sur le texte */
  body:not(.no-sticky):not(.page-sim):not(.page-lp) .wa-float { left: 16px; right: auto; bottom: calc(10px + env(safe-area-inset-bottom)); width: 48px; height: 48px; padding: 0; justify-content: center; box-shadow: none; z-index: 61; transform: none; }
  body:not(.no-sticky):not(.page-sim):not(.page-lp) .wa-float__label { display: none; }
  body:not(.no-sticky):not(.page-sim):not(.page-lp) .sticky-cta .btn { width: calc(100% - 60px); margin-left: 60px; }
  /* Pages sans barre du bas (contact…) : icône seule, plus petite, collée au bord */
  body.no-sticky:not(.page-sim):not(.page-lp) .wa-float { right: 8px; width: 48px; height: 48px; padding: 0; justify-content: center; }
  body.no-sticky:not(.page-sim):not(.page-lp) .wa-float__label { display: none; }
  /* Petits liens : « Nos sources », « Le détail de la prime », « Gérer les cookies » */
  body:not(.page-lp):not(.page-sim) :is(.page-hero__meta a, .enbref a, button.linklike[data-consent-open]) { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Simulateur (02/12/2026) : réassurance à l'étape 1 et raison du téléphone */
.sim__rassure { margin: 6px 0 0; font-size: .9rem; font-weight: 600; color: var(--green-600, #0F7B5F); }
.field__aide { display: block; margin-top: 4px; font-size: .82rem; color: var(--muted); font-weight: 400; }
