/* Maison interactive */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2-variations'),
       url('../assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #2c3248;
  --ink-2: #5b6178;
  --bg: #edf3f7;
  --surface: #ffffff;
  --surface-2: #f6f9fb;
  --line: #d8e2e9;
  --lime: #b7d348;
  --lime-hover: #a9c63a;
  --lime-tint: #f2f8de;
  --teal: #008d99;
  --teal-ink: #007a85;
  --teal-tint: #e1f2f4;
  --brand: var(--teal);
  --brand-strong: var(--teal-ink);
  --brand-tint: var(--teal-tint);
  --warn-bg: #fff6e0;
  --warn-ink: #6b4a00;
  --error: #b42318;
  --error-bg: #fdecea;
  --radius: 18px;
  --radius-sm: 12px;
  --elevation: 0 18px 48px rgb(44 50 72 / 0.16);
  --topbar-h: 64px;
  --hs: 44px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--teal-ink); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
[tabindex='-1']:focus { outline: none; }

.visually-hidden {
  position: absolute !important; 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: 12px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.seo-static { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
/* Écran de chargement */
.app[aria-busy='true'] { min-height: 100vh; min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 18px; }
.app[aria-busy='true']::before { content: ''; width: 180px; height: 43px; background: url('../assets/brand/logo-evole-energies-habitat.svg') center / contain no-repeat; }
.app[aria-busy='true'] .boot-loading { display: grid; justify-items: center; gap: 14px; padding: 0; }
.app[aria-busy='true'] .boot-loading::before { content: ''; width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--teal-tint); border-top-color: var(--teal); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.boot-loading, .boot-error { padding: 48px 24px; text-align: center; color: var(--ink-2); }

/* ------------------------------ Boutons ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; text-align: center;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:not(.btn--link):hover:not(:disabled) { transform: translateY(-1px); }
.btn:not(.btn--link):active:not(:disabled) { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
/* Principal */
.btn--primary { background: var(--lime); color: var(--ink); }
.btn--primary:hover:not(:disabled) { background: var(--lime-hover); }
/* Secondaire */
.btn--secondary { background: var(--ink); color: #fff; }
.btn--secondary:hover:not(:disabled) { background: #3b4260; }
/* Tertiaire */
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover:not(:disabled) { border-color: var(--ink); }
.btn--ghost.is-active { background: var(--teal-tint); border-color: var(--teal); }
.btn--link { background: none; border: 0; padding: 8px 4px; min-height: 44px; color: var(--teal-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 17px; }
.project__send .btn, .view--project .actions .btn { min-height: 54px; }
.btn--xl { min-height: 62px; padding: 16px 28px; font-size: 18px; }
.btn--block { width: 100%; }
.btn__arrow { display: inline-block; transition: transform .2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--house { border-color: var(--ink); }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--teal-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip--toggle[aria-pressed='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip--reco[aria-pressed='true'] { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.chip--reco[aria-pressed='false'] { border-style: dashed; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip--check input { accent-color: var(--teal-ink); width: 18px; height: 18px; margin: 0; }
.chip--check:has(input:checked) { background: var(--teal-tint); border-color: var(--teal); }

/* ------------------------------ En-tête ------------------------------ */
.topbar {
  position: sticky; top: 0; z-index: 30; height: var(--topbar-h);
  display: flex; align-items: center; gap: 24px; padding: 0 24px;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: baseline; gap: 6px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand { align-items: center; }
.brand__logo { display: block; height: 40px; width: auto; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav__link {
  position: relative; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
  color: var(--ink-2); font-weight: 600; font-size: 15px; text-decoration: none; border-radius: 999px;
}
.nav__link:hover { color: var(--ink); background: var(--bg); }
.nav__link[aria-current='page'] { color: var(--ink); background: var(--teal-tint); }
.nav__link--project { border: 1px solid var(--line); }
.nav__icon { display: inline-grid; }
.badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
.nav__link--project.is-bumped, .nav__link--project.is-bumped .badge { animation: bump .5s var(--ease); }
.topbar__actions { display: flex; gap: 8px; }
.topbar .btn--primary { min-height: 42px; padding: 8px 18px; font-size: 15px; }

/* ------------------------------- Vues -------------------------------- */
.main { outline: none; }
.view { max-width: 1180px; margin: 0 auto; padding: 32px 24px 64px; }
.view__head { margin-bottom: 24px; max-width: 720px; }
/* Hiérarchie */
.view__title { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.view__title:focus { outline: none; }
.view__lead { margin-top: 8px; color: var(--ink); font-size: 18px; max-width: 60ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; color: var(--teal-ink); }
.muted { color: var(--ink-2); }
.empty { padding: 24px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); }
.notice { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--teal-tint); margin-bottom: 12px; }
.notice--warn { background: var(--warn-bg); color: var(--warn-ink); }
.notice--error { background: var(--error-bg); color: var(--error); }
.notice--error p { margin-top: 4px; }
.disclaimer { font-size: 14px; color: var(--ink-2); padding: 12px 16px; border-left: 4px solid var(--teal); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 16px; }
.reassure { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 14px; border-radius: 999px; background: var(--lime-tint); color: var(--ink); font-size: 14px; font-weight: 700; }
.reassure__icon { display: inline-grid; color: var(--teal-ink); }

/* ------------------------------ Accueil ------------------------------ */
body[data-view='home'] .topbar, body[data-view='home'] .cart { display: none; }
body[data-view='project'] .cart, body[data-view='contact'] .cart { display: none; }
body[data-view='home'] { padding-bottom: 0; background: #fff; }
body[data-view='trades'], body[data-view='quiz'], body[data-view='results'], body[data-view='project'] { position: relative; min-height: 100vh; min-height: 100dvh; }
body[data-view='trades']::before, body[data-view='quiz']::before,
body[data-view='results']::before, body[data-view='project']::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  right: 0; bottom: 0;
  --iso-w: clamp(180px, 23.4vw, 342px);
  width: var(--iso-w); height: calc(var(--iso-w) * 317 / 202 * 0.88);
  background: url('../assets/brand/evole-iso.svg') no-repeat right top / 100% auto;
}
@media (max-width: 900px) {
  body[data-view='trades']::before, body[data-view='quiz']::before,
  body[data-view='results']::before, body[data-view='project']::before { --iso-w: 135px; bottom: calc(64px + env(safe-area-inset-bottom)); }
}
.view--home { position: relative; max-width: none; padding: 0; height: 100vh; height: 100dvh; min-height: 560px; display: grid; align-items: center; overflow: hidden; }
.home__media { position: absolute; inset: 0; }
.home__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.home__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(255 255 255 / .98) 0%, rgb(255 255 255 / .94) 38%, rgb(255 255 255 / .3) 64%, transparent 82%); }
.home__content { position: relative; max-width: calc(820px + 6vw); padding: clamp(20px, 4vh, 48px) 24px clamp(20px, 4vh, 48px) max(24px, 6vw); animation: rise .6s var(--ease) both; }
.home__brand { display: flex; align-items: center; gap: 4px; font-size: 18px; color: var(--ink-2); margin-bottom: clamp(16px, 4vh, 40px); }
.home__brand strong { color: var(--ink); font-weight: 800; letter-spacing: -0.02em; }
.home__title { max-width: 700px; font-size: clamp(32px, min(4.4vw, 6.6vh), 60px); font-weight: 800; letter-spacing: -0.035em; margin-top: 10px; text-wrap: balance; }
.text-accent { color: var(--teal); }
.home__lead { font-size: clamp(16px, 2.2vh, 19px); color: var(--ink); margin-top: clamp(10px, 2vh, 18px); max-width: 540px; }
.home__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(18px, 3.5vh, 32px); }
.home__actions .btn { flex: 0 0 auto; white-space: nowrap; }
.home__promises { list-style: none; display: grid; gap: 6px; margin-top: clamp(14px, 2.6vh, 24px); color: var(--ink); font-weight: 600; }
.home__promises li { display: flex; gap: 10px; align-items: center; }
.home__promises li::before { content: '✓'; width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 800; }
.home__more { margin-top: clamp(12px, 2vh, 20px); color: var(--ink-2); }
@media (max-height: 700px) and (min-width: 761px) { .home__promises { display: none; } }

/* ------------------------------ Maison ------------------------------- */
.view--house { max-width: none; padding: 16px 24px 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 24px; align-items: start; }
.view--house.has-card { grid-template-columns: minmax(0, 1fr) minmax(340px, 400px); }
.house__main {
  --stage-w: min(100%, calc((100dvh - var(--topbar-h) - 128px) * 1.7921));
  grid-column: 1; grid-row: 1; min-width: 0;
}
.view--house > .card { grid-column: 2; grid-row: 1; }
.house__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 auto 12px; max-width: var(--stage-w, none); }
.house__intro .view__title { font-size: clamp(22px, 2.2vw, 28px); }
.house__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.house__shortcut {
  display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 8px 14px;
  font-size: 14px; color: var(--ink); text-decoration: none; background: var(--lime-tint); border: 1px solid var(--lime); border-radius: 999px;
}
.house__shortcut strong { color: var(--ink); }
.house__shortcut:hover { background: var(--lime); }
.house__shortcut-q { color: var(--ink-2); }
@media (min-width: 1024px) and (min-height: 560px), (orientation: landscape) and (max-height: 500px) and (min-width: 600px) {
  /* Grand écran */
  .view--house { padding-top: 14px; padding-bottom: 16px; }
  .house__head { flex-wrap: nowrap; align-items: center; margin-bottom: 10px; max-width: max(var(--stage-w), min(100%, 980px)); }
  .house__intro { flex: 1 1 auto; min-width: 0; }
  .house__intro .view__title { font-size: clamp(16px, 1.1vw, 20px); line-height: 1.25; white-space: nowrap; }
  .house__intro .view__title.is-wrapped { white-space: normal; }
  .house__tools { flex: none; flex-wrap: nowrap; }
  .house__shortcut-q { display: none; }
  .zoom { flex-direction: column; }
  .house__stagewrap .house__controls { align-items: flex-start; }
}

.house__frame { position: relative; max-width: var(--stage-w); margin: 0 auto; }
.house__stagewrap { position: relative; }
.stage {
  position: relative; overflow: hidden; margin: 0 auto;
  width: var(--stage-w);
  aspect-ratio: 2000 / 1116;
  border-radius: var(--radius); background: #dce7ee;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.stage:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.stage.is-zoomed { cursor: grab; }
.stage.is-dragging { cursor: grabbing; }
.stage.is-dragging .hotspot, .stage.is-dragging .shape { pointer-events: none; }
.stage.can-pan-y { touch-action: none; }
.stage.is-loading { background: linear-gradient(100deg, #dce7ee 30%, #eaf1f5 50%, #dce7ee 70%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
.stage__canvas { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; --z: 1; }
.stage__canvas.is-animating { transition: transform .35s var(--ease); }
.stage__image { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
.stage__shapes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.shape { fill: #dedd14; fill-opacity: 0; stroke: #dedd14; stroke-opacity: 0; stroke-width: 1.5; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill-opacity .15s, stroke-opacity .15s; }
.shape.is-hover { fill-opacity: .6; stroke-opacity: .9; }
.shape.is-selected { fill-opacity: .3; }
.shape.is-selected.is-hover { fill-opacity: .6; }
.stage__layer { position: absolute; inset: 0; pointer-events: none; }
.stage__layer .hotspot { pointer-events: auto; }
.stage__error { position: absolute; inset: auto 16px 16px 16px; padding: 12px 16px; background: var(--surface); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.house__controls { position: absolute; right: 12px; top: 12px; z-index: 6; display: flex; align-items: center; gap: 8px; }
.house__controls .chip--reco { min-height: 46px; box-shadow: 0 2px 10px rgb(44 50 72 / .12); }
.zoom { position: static; z-index: 6; display: flex; gap: 4px; padding: 4px; background: rgb(255 255 255 / .92); border-radius: 14px; }
.zoom__btn {
  width: 38px; height: 38px; display: grid; place-items: center; padding: 0;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.zoom__btn svg { display: block; }
.zoom__btn:hover:not(:disabled) { border-color: var(--ink); }
.zoom__btn:disabled { opacity: .45; cursor: default; }
.zoom__btn--reset svg { width: 16px; height: 16px; }
.stage::before, .stage::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 36px; z-index: 5; pointer-events: none; opacity: 0; transition: opacity .2s;
  background-repeat: no-repeat; background-position: center; background-size: 20px;
}
.stage::before { left: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c3248' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E"), linear-gradient(90deg, rgb(255 255 255 / .85), rgb(255 255 255 / 0)); background-size: 20px, 100% 100%; }
.stage::after { right: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c3248' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E"), linear-gradient(270deg, rgb(255 255 255 / .85), rgb(255 255 255 / 0)); background-size: 20px, 100% 100%; }
.stage.can-left::before, .stage.can-right::after { opacity: 1; }
.pan-hint { display: none; }
@media (max-width: 760px), (pointer: coarse) {
  .pan-hint {
    position: absolute; left: 50%; bottom: 14px; z-index: 6; transform: translateX(-50%);
    display: none; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; white-space: nowrap;
    background: rgb(44 50 72 / .9); color: #fff; font-weight: 700; font-size: 14px; pointer-events: none;
  }
  .stage.can-right .pan-hint:not(.is-done), .stage.can-left .pan-hint:not(.is-done) { display: inline-flex; }
  .pan-hint__hand { display: inline-block; animation: pan-hint 1.6s ease-in-out infinite; }
}
@keyframes pan-hint { 0%, 100% { transform: translateX(-6px); } 50% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .pan-hint__hand { animation: none; } }
.zoom__hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 7; padding: 10px 16px; border-radius: 999px; background: rgb(44 50 72 / .9); color: #fff; font-weight: 600; font-size: 14px; pointer-events: none; }
.house__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 10px auto 0; max-width: var(--stage-w, none); }

/* Points interactifs */
.hotspot {
  position: absolute; z-index: 1;
  width: var(--hs); height: var(--hs); padding: 0; margin: 0;
  --k: 1;
  transform: translate(-50%, -50%) scale(calc(var(--k) / var(--z, 1)));
  border: 0; border-radius: 50%; background: transparent; cursor: pointer;
  transition: transform .2s var(--ease), opacity .2s, filter .2s;
  -webkit-tap-highlight-color: transparent;
}
.view--house.is-intro .hotspot { animation: pop .45s var(--ease) both; animation-delay: var(--delay, 0ms); }
.view--house.is-intro .hotspot::after { animation: hs-pulse .9s ease-out calc(var(--delay, 0ms) + 450ms) 1; }
.hotspot__icon { width: 100%; height: 100%; border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 2px rgb(255 255 255 / .9), 0 0 0 3px rgb(44 50 72 / .12); }
.hotspot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 3px solid transparent; transition: border-color .2s; }
.hotspot:hover, .hotspot.is-linked { --k: 1.1; z-index: 3; }
.hotspot:hover::after, .hotspot.is-linked::after { border-color: #dedd14; }
.hotspot:focus-visible { outline: none; z-index: 3; }
.hotspot:focus-visible::after { border-color: var(--ink); }
.hotspot.is-selected { --k: 1.14; z-index: 4; }
.hotspot.is-selected::after { border-color: var(--teal); }
.hotspot.is-reco::before { content: '★'; position: absolute; top: -6px; right: -6px; z-index: 1; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 12px; box-shadow: 0 0 0 2px #fff; }
.hotspot.in-project:not(.is-reco)::before { content: '✓'; position: absolute; top: -6px; right: -6px; z-index: 1; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 0 0 2px #fff; }
.hotspot.is-dimmed { opacity: .5; filter: grayscale(.8); }
.hotspot.is-dimmed:hover, .hotspot.is-dimmed:focus-visible { opacity: 1; filter: none; }
.hotspot__label {
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 4px);
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 700;
  opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s var(--ease);
}
.hotspot:hover .hotspot__label, .hotspot.is-linked .hotspot__label, .hotspot:focus-visible .hotspot__label, .hotspot.is-selected .hotspot__label,
.show-labels .hotspot__label { opacity: 1; transform: translate(-50%, 0); }
.show-labels .hotspot__label { font-size: 12px; padding: 4px 10px; }
.hotspot.is-selected.label-off:not(:hover):not(:focus-visible) .hotspot__label { opacity: 0; }
/* Maison affichée petite */
.is-compact { --hs: 26px; }
.is-compact .hotspot__label { display: none; }

/* ------------------------------- Fiche ------------------------------- */
.card {
  touch-action: pan-y;
  grid-column: 2; grid-row: 1 / span 5;
  position: sticky; top: calc(var(--topbar-h) + 16px);
  max-height: calc(100vh - var(--topbar-h) - 32px); max-height: calc(100dvh - var(--topbar-h) - 32px);
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--elevation);
  animation: slide-in .28s var(--ease) both;
}
.card__grip { display: none; }
.card__close {
  position: absolute; top: 12px; right: 18px; z-index: 10;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg); color: var(--ink);
  font-size: 26px; line-height: 1; cursor: pointer;
}
.card__close:hover { background: var(--line); }
.card__close, .cart__close, .share__close, .toast__close, .cart__remove, .attach__chip button { transition: transform .25s var(--ease), background-color .2s, color .2s; }
:is(.card__close, .cart__close, .share__close, .toast__close, .cart__remove, .attach__chip button):hover { transform: rotate(90deg); }
:is(.card__close, .cart__close, .share__close, .toast__close, .cart__remove, .attach__chip button):active { transform: rotate(90deg) scale(.88); }
.cart__close:hover, .share__close:hover { background: var(--line); }
@media (prefers-reduced-motion: reduce) { :is(.card__close, .cart__close, .share__close, .toast__close, .cart__remove, .attach__chip button):is(:hover, :active) { transform: none; } }
/* Fiche */
.card__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 28px 28px 0; }
.card__body::-webkit-scrollbar { width: 12px; }
.card__body::-webkit-scrollbar-track { background: transparent; margin-block: 20px; }
.card__body::-webkit-scrollbar-thumb { background: #b9c5cf; border-radius: 999px; border: 3px solid var(--surface); }
.card__body::-webkit-scrollbar-thumb:hover { background: #8f9cab; }
@supports (-moz-appearance: none) { .card__body { scrollbar-width: thin; scrollbar-color: #b9c5cf transparent; } }
/* Changement de variante */
@keyframes card-slide-next { from { opacity: 0; transform: translateX(24px); } }
@keyframes card-slide-prev { from { opacity: 0; transform: translateX(-24px); } }
.card__body.is-slide-next > :not(.card__project--sticky):not(.card__header):not(.card__variants) { animation: card-slide-next .3s var(--ease); }
.card__body.is-slide-prev > :not(.card__project--sticky):not(.card__header):not(.card__variants) { animation: card-slide-prev .3s var(--ease); }
.card__header { display: flex; gap: 14px; align-items: flex-start; padding-right: 44px; }
.card__icon { width: 52px; height: 52px; flex: none; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.card__eyebrow { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-ink); }
.card__title { font-size: 23px; font-weight: 800; margin-top: 2px; }
.card__title:focus { outline: none; }
.card__summary { margin-top: 16px; line-height: 1.5; }
/* Choix du type */
.card__variants { position: relative; display: flex; gap: 4px; margin-top: 14px; padding: 4px; background: var(--bg); border-radius: 999px; }
.card__variants-indicator {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px - (var(--n) - 1) * 4px) / var(--n));
  transform: translateX(calc(var(--i) * (100% + 4px))); border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 2px var(--teal);
  transition: transform .3s var(--ease);
}
.card__variant { position: relative; z-index: 1; }
.card__variant {
  flex: 1; min-height: 40px; padding: 6px 12px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--ink-2); background: transparent;
}
.card__variant:hover { color: var(--ink); }
.card__variant.is-active { color: var(--ink); }
.card__variant:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.card__onhouse {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-top: 12px; padding: 8px 14px;
  font-weight: 700; font-size: 14px; color: var(--teal-ink); text-decoration: none;
  background: var(--teal-tint); border: 1px solid transparent; border-radius: 999px;
}
.card__onhouse:hover { border-color: var(--teal); }
.card__summary { font-size: 17px; font-weight: 600; color: var(--ink); }
.card__reco { display: inline-block; white-space: nowrap; margin-top: 6px; padding: 2px 10px; border-radius: 999px; background: var(--lime-tint); border: 1px solid var(--lime); font-size: 13px; font-weight: 700; }
.card__section { margin-top: 24px; }
/* Titres de rubrique */
.card__h { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.card__h-icon { display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--teal-tint); color: var(--teal-ink); }
.card__h--benefits .card__h-icon { background: var(--lime); color: var(--ink); }
.card__section p { color: var(--ink); line-height: 1.55; }
.card__section ul { padding-left: 18px; }
.card__section li + li { margin-top: 8px; }
.card__section--vigilance { padding: 16px 18px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.card__section--vigilance li { color: var(--ink-2); font-size: 15px; }
.card__section--benefits { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--lime-tint); }
.benefits { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.benefit { margin: 0 !important; }
.benefit details { height: 100%; background: var(--surface); border: 1px solid transparent; border-radius: var(--radius-sm); }
.benefit details[open] { border-color: var(--lime); grid-column: 1 / -1; }
.benefit summary { display: grid; gap: 8px; padding: 16px 34px 16px 16px; cursor: pointer; list-style: none; position: relative; }
.benefit__icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #fff3c4; color: #8a6100; }
.benefit:nth-child(3n+2) .benefit__icon { background: var(--lime); color: var(--ink); }
.benefit:nth-child(3n) .benefit__icon { background: var(--teal-tint); color: var(--teal-ink); }
.benefit__text { display: grid; gap: 4px; }
.benefit__text strong { font-size: 15px; line-height: 1.3; }
.benefit summary::-webkit-details-marker { display: none; }
.benefit summary::after { content: '+'; position: absolute; right: 12px; top: 12px; font-weight: 800; color: var(--teal-ink); font-size: 18px; }
.benefit details[open] summary::after { content: '–'; }
.benefit__text > span { color: var(--ink-2); font-size: 13px; line-height: 1.45; }
.benefit__more { padding: 0 14px 12px; font-size: 14px; }
.benefit__more ul { padding-left: 18px; margin-bottom: 8px; }
/* Pictogrammes des rubriques */
.card__h-icon { background: #fff3c4; color: #8a6100; }
/* Les aides */
.card__section--aids { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--teal-tint); border: 1px solid rgb(0 141 153 / .25); }
.card__h--aids .card__h-icon { background: var(--teal); color: #fff; }
.card__aids { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.card__aids li { position: relative; padding-left: 24px; color: var(--ink); font-weight: 600; }
.card__aids li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--teal-ink); font-weight: 800; }
.card__aids-note { margin-top: 12px; font-size: 13px; }
.card__more-hint { font-size: 14px; margin-bottom: 8px; }
.card__more-list { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.card__more-item {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; text-align: left; cursor: pointer;
  font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.card__more-item:hover { border-color: var(--teal); background: var(--teal-tint); }
.card__more-item > span:not(.card__more-arrow) { display: grid; gap: 2px; flex: 1; }
.card__more-item strong { font-size: 15px; }
.card__more-item > span > span { font-size: 13px; color: var(--ink-2); }
.card__more-icon { width: 36px; height: 36px; flex: none; }
.card__more-arrow { color: var(--teal-ink); font-weight: 800; }
.card__global { margin-top: 10px; font-size: 14px; }
.card__global .btn--link { min-height: 0; padding: 0; }
.benefit__label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin: 8px 0 4px; }
.card__disclaimer { margin-top: 24px; font-size: 13px; color: var(--ink-2); }
.card__note { font-size: 14px; color: var(--ink-2); }
.card__note--url strong { color: var(--ink); word-break: break-all; }
.card__actions { display: grid; gap: 10px; margin-top: 16px; }
@media (max-width: 760px) { .card__body { padding: 22px 18px 0; } .card__section { margin-top: 20px; } }
.card__actions .btn { width: 100%; }
.card__pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.card__pager .btn { white-space: nowrap; }
.view--house .view__title { text-wrap-style: balance; }
.card__project.card__project--sticky {
  position: sticky; bottom: 0; z-index: 3; grid-template-columns: 1fr auto; align-items: center; gap: 10px;
  margin: 20px 0 0; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); border: 0; border-radius: 0;
  background: var(--surface);
}
.card__project.card__project--sticky.is-stuck { box-shadow: 0 -12px 16px -12px rgb(44 50 72 / .25); }
.card__project--sticky + .card__actions { margin-top: 0; }
.card__actions .btn, .card__project--sticky .btn--project { min-height: 48px; padding: 10px 20px; font-size: 15px; }
.card__project.card__project--sticky.is-active { background: var(--surface); }
/* Solution ajoutée */
.card__project--sticky .btn--project { white-space: nowrap; }
.card__project.card__project--sticky .btn--project.is-active { background: var(--lime-tint); border-color: var(--lime); color: var(--ink); }
.card__project--sticky .card__project-link { white-space: nowrap; color: var(--teal-ink); }
.card__project--order.card__project--sticky { grid-template-columns: 1fr; }
.card__info { position: relative; display: inline-grid; }
.card__info-btn { position: relative; outline: none; width: 22px; height: 22px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--teal-ink); background: var(--surface); color: var(--teal-ink); font: italic 800 13px/1 Georgia, serif; cursor: help; }
.card__info-btn::after { content: ''; position: absolute; inset: -11px; }
.card__info-btn:focus-visible { box-shadow: 0 0 0 3px var(--teal-tint); }
.card__info-text { display: none; position: absolute; right: -6px; bottom: calc(100% + 10px); width: min(280px, 80vw); margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--ink); color: #fff; font-size: 14px; line-height: 1.4; box-shadow: var(--elevation); }
/* Bulle d'aide */
.card__info.is-open .card__info-text, .card__info:has(.card__info-btn:focus-visible) .card__info-text { display: block; }
.card__info.is-open .card__info-btn { background: var(--teal-ink); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .card__info:hover .card__info-text { display: block; }
  .card__info:hover .card__info-btn { background: var(--teal-ink); color: #fff; }
}
.card__project { display: grid; gap: 6px; margin-top: 16px; padding: 12px; border: 2px dashed var(--line); border-radius: var(--radius-sm); }
.card__project.is-active { border-style: solid; border-color: var(--lime); background: var(--lime-tint); }
.card__project .btn--project { width: 100%; background: var(--surface); border: 2px solid var(--ink); color: var(--ink); }
.card__project .btn--project.is-active { border-color: var(--ink); background: var(--lime); }
.card__project-help { font-size: 13px; color: var(--ink-2); }
.card__project-link { font-weight: 700; font-size: 14px; }
@media (min-width: 1024px) {
  .card--drawer { position: fixed; top: calc(var(--topbar-h) + 16px); right: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px)); max-height: none; z-index: 40; }
  .view--trades.has-card { margin-left: max(24px, calc(50vw - 640px)); margin-right: 470px; }
  .view--results.has-card { margin-left: max(24px, calc(50vw - 640px)); margin-right: 470px; }
}

/* ------------------------- Nos solutions (par projet) ------------------------- */
.projet-nav {
  position: sticky; top: var(--topbar-h); z-index: 20;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 4px -24px 32px; padding: 10px 24px; background: var(--bg);
  border-bottom: 1px solid transparent;
}
.projet-nav::-webkit-scrollbar { display: none; }
.projet-nav__chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 14px 4px 4px;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); background: var(--surface); white-space: nowrap;
  border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
}
.projet-nav__chip:hover { border-color: var(--teal); }
.projet-nav__chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.projet-nav__icon { width: 34px; height: 34px; }

.projet:not(.projet--featured) { margin-top: 56px; padding: 36px; border-radius: 22px; background: var(--surface); }
.projet:not(.projet--featured) .sol-card { background: transparent; border-color: var(--line); }
.projet:not(.projet--featured) .sol-card:hover, .projet:not(.projet--featured) .sol-card[aria-current='true'] { border-color: var(--teal); }
.projet:not(.projet--featured) .projet__title { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.02em; }
@media (max-width: 760px) { .projet:not(.projet--featured) { margin-top: 40px; padding: 24px 16px; border-radius: 18px; } }
.projet { margin-top: 64px; scroll-margin-top: calc(var(--topbar-h) + 88px); }
.projet__head { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.projet__icon { width: 52px; height: 52px; flex: none; }
.projet__title { font-size: clamp(20px, 2.2vw, 24px); font-weight: 800; letter-spacing: -0.01em; scroll-margin-top: calc(var(--topbar-h) + 88px); }
.projet__title:focus { outline: none; }
.projet__promise { color: var(--ink); margin-top: 2px; }
.projet__count { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--teal-tint); color: #006d77; font-size: 13px; font-weight: 700; letter-spacing: 0; vertical-align: middle; }
.projet:not(.projet--featured) .projet__icon { width: 64px; height: 64px; }
.projet__cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; padding: 0; }

/* Rénovation globale */
.projet--featured {
  margin-top: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px 20px;
  padding: 22px 24px; border-radius: var(--radius); background: var(--ink); color: #fff;
}
.projet--featured .projet__icon { width: 60px; height: 60px; }
.projet--featured .projet__promise { color: rgb(255 255 255 / .82); }
.projet--featured .btn--secondary { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.projet--featured .btn--secondary:hover { background: var(--lime-hover); }

.sol-card {
  width: 100%; height: 100%; display: flex; align-items: flex-start; gap: 14px; min-height: 76px;
  padding: 18px; text-align: left; font: inherit; color: var(--ink); cursor: pointer;
  background: var(--surface); border: 1px solid transparent; border-radius: var(--radius);
  transition: border-color .15s, transform .15s;
}
.sol-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.sol-card:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.sol-card__icon { width: 44px; height: 44px; flex: none; }
.sol-card__text { flex: 1; display: grid; gap: 4px; }
.sol-card__name { font-weight: 800; font-size: 18px; line-height: 1.3; }
.sol-card__summary { font-size: 16px; line-height: 1.5; color: var(--ink); }
.sol-card__more { margin-top: 6px; font-size: 15px; font-weight: 800; color: var(--teal-ink); }
.sol-card__arrow { display: inline-block; transition: transform .15s; }
.sol-card:hover .sol-card__arrow { transform: translateX(3px); }
.sol-card[aria-current='true'] { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }

.projet-help {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 72px; padding: 22px 24px; border-radius: var(--radius); background: var(--lime-tint); border: 1px solid var(--lime);
}
.projet-help__title { font-size: 19px; font-weight: 800; }
.projet-help p { color: var(--ink); margin-top: 2px; max-width: 60ch; }
@media (prefers-reduced-motion: reduce) { .sol-card { transition: none; } .sol-card:hover { transform: none; } }
@media (max-width: 760px) {
  .projet--featured { grid-template-columns: auto 1fr; }
  .projet--featured .btn { grid-column: 1 / -1; }
  .projet-nav { margin-inline: -16px; padding-inline: 16px; }
  .projet { margin-top: 48px; }
}

/* --------------------------- France Rénov' --------------------------- */
.france-renov { margin: 48px auto 0; display: flex; justify-content: center; }
.france-renov > * { display: block; width: min(100%, 520px); }
.france-renov img { display: block; width: 100%; height: auto; background: #fff; }
.france-renov__link:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
/* Accueil */
.france-renov--home { position: absolute; right: max(24px, 3vw); bottom: max(20px, 3vh); margin: 0; z-index: 2; }
.france-renov--home > * { width: clamp(280px, 26vw, 380px); }
.france-renov--home img { box-shadow: 0 6px 24px rgb(44 50 72 / .18); }

/* --------------------------- Questionnaire --------------------------- */
.view--project, .view--contact, .view--results { max-width: 1180px; }
.view--quiz { max-width: 820px; }
.quiz__form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.quiz__progress { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.quiz__bar { height: 8px; background: var(--bg); border-radius: 999px; margin: 8px 0 24px; overflow: hidden; }
.quiz__bar span { display: block; height: 100%; background: var(--teal); border-radius: 999px; transition: width .3s var(--ease); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-size: 21px; font-weight: 800; margin-bottom: 14px; padding: 0; letter-spacing: -0.01em; }
legend:focus { outline: none; }
.hint { color: var(--ink-2); font-size: 14px; margin: -8px 0 12px; }
.options { display: grid; gap: 10px; }
.options--grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.options--inline { display: flex; flex-wrap: wrap; }
/* Cartes illustrées */
.options--tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.option-tile { position: relative; display: grid; justify-items: center; align-content: center; gap: 12px; min-height: 168px; padding: 24px 12px 20px; background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; text-align: center; transition: border-color .15s, transform .15s; }
.option-tile:hover { border-color: var(--ink-2); transform: translateY(-2px); }
/* Case à cocher */
.option-tile__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.option-tile:has(input:checked) { border-color: var(--ink); }
.option-tile:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.option-tile__img { width: 96px; height: 72px; }
.option-tile__label { font-size: 17px; color: var(--ink); }
.option-tile:has(input:checked) .option-tile__label { font-weight: 800; }
.option-tile__check { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--teal); background: var(--surface); }
.option-tile:has(input:checked) .option-tile__check { background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
/* Chauffage */
.options--tiles-chauffage { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.options--tiles-chauffage .option-tile { min-height: 136px; padding: 20px 10px 16px; }
.options--tiles-chauffage .option-tile__img { width: 56px; height: 56px; }
/* Cartes sans illustration */
.options--tiles-text { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.options--tiles-text .option-tile { min-height: 96px; padding: 36px 14px 18px; }
.options--tiles-text .option-tile__label { text-wrap: balance; }
/* Réponses en liste */
.options--list { grid-template-columns: 1fr; gap: 8px; }
.options--list .option-tile { min-height: 56px; justify-items: start; align-content: center; padding: 14px 56px 14px 20px; text-align: left; }
.options--list .option-tile__check { top: 50%; transform: translateY(-50%); right: 16px; }
.options--list .option-tile:hover { transform: none; }
/* Surface */
.surface-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: center; }
.house-build svg { display: block; width: 100%; height: auto; }
.house-build .room, .house-build .roof, .house-build__unknown {
  transform-box: fill-box; transform-origin: 50% 100%;
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), opacity .25s;
}
.house-build .room { transform: scaleY(0); opacity: 0; }
.house-build .room--1 { transform: none; opacity: .35; }
.house-build .roof--low { opacity: .35; }
.house-build .roof--high { opacity: 0; transform: translateY(20px); }
.house-build__unknown { opacity: 0; transform: scale(.4); transform-origin: 50% 50%; }
.house-build[data-size] :is(.room--1, .roof--low) { opacity: 1; }
.house-build[data-size=''] :is(.room--1, .roof--low) { opacity: .35; }
.house-build:is([data-size='70-100'], [data-size='100-150'], [data-size='plus-150']) .room--2,
.house-build:is([data-size='100-150'], [data-size='plus-150']) .room--3,
.house-build[data-size='plus-150'] .room--4 { transform: none; opacity: 1; }
.house-build:is([data-size='100-150'], [data-size='plus-150']) .roof--low { opacity: 0; transform: translateY(-20px); }
.house-build:is([data-size='100-150'], [data-size='plus-150']) .roof--high { opacity: 1; transform: none; }
.house-build[data-size='inconnue'] .room--1, .house-build[data-size='inconnue'] .roof--low { opacity: .35; }
.house-build[data-size='inconnue'] .house-build__unknown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .house-build .room, .house-build .roof, .house-build__unknown { transition: none; } }
@media (max-width: 760px) {
  .surface-layout { grid-template-columns: 1fr; gap: 12px; }
  .house-build { order: -1; width: min(220px, 70%); justify-self: center; }
}
/* Priorités */
.options--tiles-rich { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.options--tiles-rich .option-tile { align-content: start; gap: 6px; padding: 20px 40px 18px 18px; justify-items: start; text-align: left; }
.option-tile__desc { font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.option-tile--multi .option-tile__check { border-radius: 7px; }
@media (prefers-reduced-motion: reduce) { .option-tile { transition: none; } .option-tile:hover { transform: none; } }
@media (max-width: 440px) {
  .options--tiles { gap: 8px; }
  .option-tile { min-height: 136px; padding: 20px 6px 14px; gap: 8px; }
  .option-tile__img { width: 72px; height: 54px; }
  .option-tile__label { font-size: 15px; }
  .option-tile__check { top: 8px; right: 8px; width: 22px; height: 22px; }
  .options--tiles-text { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .options--tiles-text.options--list { grid-template-columns: 1fr; }
  /* Type de logement */
  .options--tiles-logement { grid-template-columns: 1fr; }
  .options--tiles-logement .option-tile { grid-template-columns: auto 1fr; justify-items: start; align-items: center; min-height: 72px; padding: 10px 48px 10px 12px; gap: 14px; text-align: left; }
  .options--tiles-logement .option-tile__img { width: 64px; height: 48px; }
  .options--tiles-logement .option-tile__check { top: 50%; right: 14px; transform: translateY(-50%); }
  /* Textes longs */
  .option-tile__label { overflow-wrap: anywhere; hyphens: auto; }
  .lead-form .options--tiles-compact .option-tile { padding: 10px 40px 10px 12px; }
  .lead-form .options--tiles-compact .option-tile__label { font-size: 15px; }
  .options--tiles-chauffage { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .options--tiles-chauffage .option-tile { min-height: 116px; }
  .options--tiles-chauffage .option-tile__img { width: 48px; height: 48px; }

  .options--tiles-text .option-tile { min-height: 84px; padding: 32px 10px 14px; }
  .options--tiles-rich { grid-template-columns: 1fr; }
  .options--tiles-rich .option-tile { padding: 16px 40px 14px 16px; }
  .options--tiles-text.options--list .option-tile { min-height: 52px; padding: 12px 48px 12px 16px; }
  .options--tiles-text.options--list .option-tile__check { top: 50%; right: 14px; }
}
.option { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 12px 16px; background: var(--surface-2); border: 2px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-weight: 600; transition: border-color .15s, background-color .15s; }
.option:hover { border-color: var(--ink-2); }
.option:has(input:checked) { border-color: var(--teal); background: var(--teal-tint); }
.option:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.option input { width: 20px; height: 20px; margin: 0; accent-color: var(--teal-ink); flex: none; }
.option--rich span { display: grid; gap: 2px; }
.option--rich small { font-weight: 500; color: var(--ink-2); font-size: 14px; }
.option--inline { min-height: 46px; white-space: nowrap; }
.option--block { white-space: normal; margin-top: 12px; align-items: flex-start; font-weight: 500; }
.reno { display: grid; justify-items: center; gap: 16px; padding: 40px 24px; text-align: center; background: var(--surface); border-radius: var(--radius); }
.reno__title { font-size: 24px; font-weight: 800; }
.reno__house { width: min(320px, 90%); }
.reno__house svg { display: block; width: 100%; height: auto; }
.reno__house :is(.reno-1, .reno-2, .reno-3, .reno-4, .reno-done) {
  opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: 50% 100%;
  transition: opacity .35s, transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.reno__house:is([data-stage='1'], [data-stage='2'], [data-stage='3'], [data-stage='4']) .reno-1,
.reno__house:is([data-stage='2'], [data-stage='3'], [data-stage='4']) .reno-2,
.reno__house:is([data-stage='3'], [data-stage='4']) .reno-3,
.reno__house[data-stage='4'] :is(.reno-4, .reno-done) { opacity: 1; transform: none; }
.reno__bar { width: min(320px, 90%); height: 8px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.reno__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--lime), var(--teal)); transition: width .7s var(--ease); }
.reno__message { min-height: 1.6em; font-size: 17px; font-weight: 600; color: var(--ink); }
.reno__skip { font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .reno__house :is(.reno-1, .reno-2, .reno-3, .reno-4, .reno-done), .reno__bar span { transition: none; } }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 12px; }
.quiz__nav .btn { white-space: nowrap; }
@media (max-width: 440px) { .quiz__nav .btn { padding-left: 18px; padding-right: 18px; } }
.quiz__skip { margin-top: 16px; text-align: center; }
.field-error { color: var(--error); font-weight: 600; font-size: 14px; margin-top: 8px; }

/* ----------------------------- Résultats ----------------------------- */
/* Résultats */
.results__recap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 20px;
  padding: 18px 20px; border-radius: var(--radius); background: var(--ink); color: #fff;
}
.results__count { font-size: 17px; font-weight: 700; margin-right: auto; }
.results__count strong { display: inline-grid; place-items: center; min-width: 34px; height: 34px; margin-right: 6px; padding: 0 8px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 18px; }
.results__answers { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; flex-basis: 100%; order: 3; }
.results__answers li { padding: 4px 12px; border-radius: 999px; background: rgb(255 255 255 / .12); font-size: 14px; font-weight: 600; }
.results__edit { color: #fff; font-weight: 700; font-size: 14px; text-underline-offset: 3px; }
.notice--advice { display: flex; gap: 10px; align-items: flex-start; }
.notice__icon { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; font-size: 13px; font-style: normal; }
.results__lists { display: grid; gap: 12px; }
.results__bulk { display: flex; justify-content: flex-end; }
.results__bulk-done { margin: 0; padding: 10px 16px; border-radius: 999px; background: var(--lime-tint); font-weight: 700; color: var(--ink); }
.results__group-title { margin-top: 12px; font-size: 22px; font-weight: 800; }
.results__group-hint { margin: -8px 0 4px; font-size: 14px; color: var(--ink-2); }
.reco-list--top { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.reco-list--top .reco { border-color: var(--lime); }
.reco-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 20px; padding: 0; }
.reco { display: flex; flex-direction: column; gap: 18px; background: var(--surface); border: 1px solid transparent; border-radius: var(--radius); padding: 24px; }
.reco.is-in-project { border-color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }
.reco__head { display: flex; align-items: center; gap: 14px; }
.reco__icon { width: 52px; height: 52px; flex: none; }
.reco__trade { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); }
.reco__name { font-size: 20px; font-weight: 800; line-height: 1.25; }
.reco__summary { font-weight: 600; color: var(--ink); }
.reco__benefits-title { font-size: 13px; font-weight: 800; color: var(--ink-2); margin-bottom: 10px; }
.reco__benefits ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.reco__benefit { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.reco__benefit .benefit__icon { flex: none; }
.reco__benefit:nth-child(3n+2) .benefit__icon { background: var(--lime); color: var(--ink); }
.reco__benefit:nth-child(3n) .benefit__icon { background: var(--teal-tint); color: var(--teal-ink); }
.reco__why { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.reco__why-check { width: 20px; height: 20px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 800; }
.reco__more { margin-top: -8px; font-size: 14px; color: var(--ink-2); }
.reco__more summary { cursor: pointer; font-weight: 700; color: var(--teal-ink); width: fit-content; }
.reco__reasons { list-style: none; padding: 8px 0 0; margin: 0; display: grid; gap: 6px; }
.reco__need { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--lime-tint); color: var(--ink); font-size: 13px; font-weight: 700; }
.reco__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 16px; }
.btn--project-toggle.is-active { border-color: var(--lime); background: var(--lime-tint); }
.view--results .disclaimer { margin: 0 0 16px; }
.results__next { margin-top: 28px; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.results__next-title { font-size: 20px; font-weight: 800; }
.results__next > p { color: var(--ink); margin-top: 4px; }
.results__next .actions { margin-top: 16px; }

/* ------------------------------- Projet ------------------------------ */
.project__count { font-weight: 800; margin-bottom: 12px; }
.project__items { list-style: none; display: grid; gap: 10px; }
.project__item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.project__icon { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.project__info { display: grid; gap: 2px; min-width: 0; }
.project__name { justify-self: start; padding: 0; border: 0; background: none; font: inherit; font-size: 17px; font-weight: 800; color: var(--ink); text-align: left; cursor: pointer; }
.project__name:hover { text-decoration: underline; }
.project__trade { color: var(--teal-ink); font-size: 13px; font-weight: 700; }
.project__summary { color: var(--ink); font-size: 15px; }
.project__send { display: grid; gap: 0; margin-top: 20px; padding: 20px; background: var(--lime-tint); border: 1px solid var(--lime); border-radius: var(--radius); }
.project__empty { font-size: 17px; font-weight: 700; }
/* Chronologie d'un projet */
.journey { margin: 28px 0; padding: 26px 28px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.journey__title { font-size: 22px; font-weight: 800; margin-bottom: 22px; text-wrap: balance; }
.journey__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.journey__step { position: relative; display: grid; gap: 14px; align-content: start; }
.journey__icon { position: relative; z-index: 1; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; box-shadow: 0 0 0 6px #e3f1f2; }
.journey__step:nth-child(2) .journey__icon { background: #0a7f8a; }
.journey__step:nth-child(3) .journey__icon { background: #0b6f7a; }
.journey__step:nth-child(4) .journey__icon { background: var(--ink); box-shadow: 0 0 0 6px #e4e6ec; }
.journey__step:not(:last-child)::before { content: ''; position: absolute; top: 29px; left: 78px; right: -2px; height: 2px; background-image: linear-gradient(90deg, var(--lime), var(--teal)); border-radius: 2px; }
.journey__text { display: grid; gap: 4px; color: var(--ink); font-size: 15px; line-height: 1.45; }
.journey__label { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #006d77; }
.journey__name { color: var(--ink); font-size: 17px; line-height: 1.3; }
.journey--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.journey--dark .journey__title { color: #fff; }
.journey--dark .journey__label { color: var(--lime); }
.journey--dark .journey__name { color: #fff; }
.journey--dark .journey__text { color: #d9dce6; }
.journey--dark .journey__icon { box-shadow: 0 0 0 6px rgb(255 255 255 / .12); }
.journey--dark .journey__step:nth-child(4) .journey__icon { background: var(--lime); color: var(--ink); box-shadow: 0 0 0 6px rgb(255 255 255 / .12); }
/* Variante verticale */
.journey--compact { padding: 22px 22px 24px; }
.journey--compact .journey__title { font-size: 18px; margin-bottom: 16px; }
.journey--compact .journey__steps { grid-template-columns: 1fr; gap: 18px; }
.journey--compact .journey__step { grid-template-columns: auto 1fr; gap: 14px; }
.journey--compact .journey__icon { width: 46px; height: 46px; box-shadow: 0 0 0 4px #e3f1f2; }
.journey--compact .journey__icon svg { width: 22px; height: 22px; }
.journey--compact .journey__step:not(:last-child)::before { top: 58px; bottom: -6px; left: 22px; right: auto; width: 2px; height: auto; background-image: linear-gradient(180deg, var(--lime), var(--teal)); border-radius: 2px; }
.journey--compact .journey__text { font-size: 14px; gap: 2px; }
.journey--compact .journey__name { font-size: 15px; }
@media (max-width: 760px) {
  .journey { padding: 20px 16px 22px; }
  .journey__title { font-size: 19px; margin-bottom: 16px; }
}
.journey { container: journey / inline-size; }
@container journey (max-width: 900px) {
  .journey__steps { grid-template-columns: 1fr; gap: 18px; }
  .journey__step { grid-template-columns: auto 1fr; gap: 16px; }
  .journey__icon { width: 50px; height: 50px; box-shadow: 0 0 0 4px #e3f1f2; }
  .journey__icon svg { width: 22px; height: 22px; }
  .journey__step:not(:last-child)::before { top: 62px; bottom: -6px; left: 24px; right: auto; width: 2px; height: auto; background-image: linear-gradient(180deg, var(--lime), var(--teal)); border-radius: 2px; }
  .journey__text { gap: 2px; max-width: 60ch; }
}
@container journey (max-width: 520px) {
  .journey__text { font-size: 14px; }
  .journey__name { font-size: 15px; }
}
.project__how { margin-top: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.project__how-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin-bottom: 12px; }
.project__steps { list-style: none; display: grid; gap: 14px; }
.project__step { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.project__step > span:last-child { display: grid; gap: 2px; color: var(--ink); }
.project__step strong { color: var(--ink); }
.project__step-num { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 800; }

/* ---------------------------- Confirmation --------------------------- */
.toast {
  position: fixed; left: 50%; top: calc(var(--topbar-h) + 12px); z-index: 60; transform: translate(-50%, -12px); opacity: 0;
  display: flex; align-items: center; gap: 12px; max-width: min(560px, calc(100vw - 24px)); padding: 10px 10px 10px 16px;
  background: var(--ink); color: #fff; border-radius: 14px; box-shadow: var(--elevation);
  transition: opacity .2s, transform .2s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast__icon { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 800; }
.toast__text { font-weight: 600; }
.toast__action { flex: none; min-height: 40px; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--lime); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.toast__close { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 22px; cursor: pointer; }

/* ------------------------------ Contact ------------------------------ */
.lead-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
/* Code postal et commune */
.field-row--place { grid-template-columns: minmax(110px, 210px) 1fr; grid-template-rows: auto auto auto; row-gap: 6px; }
.field-row--place > .field { grid-row: span 3; grid-template-rows: subgrid; align-content: start; }
@media (max-width: 560px) { .field-row--place { grid-template-columns: minmax(96px, 120px) 1fr; column-gap: 12px; } }
.field-place > .hint { margin-top: 6px; }
.option--block a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.lead-form legend { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
/* Formulaire de contact */
.lead-form .options--tiles-compact { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
/* Créneaux de rappel */
.lead-form .options--tiles-compact.options--slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lead-form .options--slots > :first-child { grid-column: 1 / -1; }
@media (max-width: 560px) { .lead-form .options--tiles-compact.options--slots { grid-template-columns: 1fr 1fr; } }
.lead-form .options--tiles-compact .option-tile { min-height: 52px; justify-items: start; padding: 12px 48px 12px 16px; text-align: left; }
.lead-form .options--tiles-compact .option-tile__check { top: 50%; right: 14px; transform: translateY(-50%); width: 24px; height: 24px; }
.lead-form .options--tiles-compact .option-tile:hover { transform: none; }
.lead-form .option-tile__label { font-weight: 400; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; }
.field .hint { margin: 0; }
.req { font-weight: 500; color: var(--ink-2); font-size: 14px; }
.field input:not([type='radio']):not([type='checkbox']), .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 10px 14px; font: inherit; color: var(--ink);
  background: var(--surface); border: 1.5px solid #c3cfd8; border-radius: var(--radius-sm);
}
.field select { appearance: none; background: var(--surface) 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='%232c3248' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 40px; }
.field textarea { resize: vertical; }
.field input:not([type='radio']):not([type='checkbox']):focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--teal); outline-offset: 0; border-color: var(--ink); }
.field.has-error input:not([type='radio']):not([type='checkbox']), .field.has-error textarea { border-color: var(--error); }
.attach { display: grid; gap: 12px; padding: 16px 18px; background: #f3f8e4; border: 1px solid #d9e8a6; border-radius: var(--radius-sm); }
.attach.is-off { background: var(--surface-2); border-color: var(--line); }
.attach__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.attach__check { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 800; }
.attach.is-off .attach__check { background: var(--line); }
.attach__title { font-size: 16px; font-weight: 800; }
.attach__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.attach__chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 4px 4px 12px; border-radius: 999px; background: #fff; border: 1px solid #d9e8a6; font-size: 14px; font-weight: 700; }
.attach__chip button { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); font-size: 18px; line-height: 1; cursor: pointer; }
.attach__chip button:hover, .attach__chip button:focus-visible { background: var(--surface-2); color: var(--ink); }
.attach__answers, .attach__hint { margin: 0; font-size: 14px; color: var(--ink-2); }
.attach__hint { font-size: 13px; }
/* Interrupteur accessible */
.switch { position: relative; display: inline-grid; cursor: pointer; }
.switch input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch__track { width: 46px; height: 26px; border-radius: 999px; background: #b8bdcb; position: relative; transition: background .2s var(--ease); }
.switch__track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s var(--ease); }
.switch input:checked + .switch__track { background: var(--teal); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--teal); outline-offset: 2px; }
/* Mentions légales */
.lead-legal { display: grid; gap: 8px; }
.lead-legal p { margin: 0; }
.privacy { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.privacy .link { display: inline-block; min-height: 24px; padding: 2px 0; }
/* Badge reCAPTCHA masqué */
.grecaptcha-badge { visibility: hidden; }
.recaptcha-note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.recaptcha-note a { color: inherit; display: inline-block; min-height: 24px; }
/* Page contact */
.view--contact .view__head { max-width: 680px; }
.contact__layout { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: start; }
.contact__aside { display: grid; gap: 20px; }
.contact__aside > .journey { margin: 0; }
@media (min-width: 1024px) {
  .contact__layout { grid-template-columns: minmax(0, 1fr) 370px; gap: 28px; }
}
@media (min-width: 1024px) and (min-height: 1120px) {
  .contact__aside { position: sticky; top: 84px; }
}
.lead-form { box-shadow: 0 10px 30px rgba(44, 50, 72, .08); }
.lead-form__title { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
.lead-form__num { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 15px; font-weight: 800; }
.lead-details { display: grid; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.lead-details > .hint { margin: -10px 0 0; }
.lead-more { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
.lead-more > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 16px; font-weight: 700; cursor: pointer; list-style: none; }
.lead-more > summary::-webkit-details-marker { display: none; }
.lead-more > summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s var(--ease); }
.lead-more[open] > summary::after { transform: rotate(-135deg); }
.lead-more__body { display: grid; gap: 18px; padding: 4px 16px 18px; }
.lead-form__submit { display: grid; gap: 8px; justify-items: center; }
.lead-form__reassure { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.lead-form__reassure-icon { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 800; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 10px; }
/* Envoi */
.lead-form.is-hidden-for-send { display: none; }
.sending { display: grid; justify-items: center; gap: 16px; padding: 44px 24px 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.sending__house { width: min(320px, 90%); }
.sending__house svg { display: block; width: 100%; height: auto; }
.sending__house .w { opacity: 0; animation: light-on .35s ease forwards; }
.sending__house .w1 { animation-delay: .2s; } .sending__house .w2 { animation-delay: .45s; } .sending__house .w3 { animation-delay: .7s; }
.sending__house .w4 { animation-delay: .95s; } .sending__house .w5 { animation-delay: 1.2s; } .sending__house .w6 { animation-delay: 1.45s; } .sending__house .w7 { animation-delay: 1.7s; }
@keyframes light-on { to { opacity: 1; } }
.sending__house .door { transform-box: fill-box; transform-origin: left center; transition: transform .45s var(--ease); }
.sending.is-done .door { transform: scaleX(.25); }
.sending__house .done { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); transition: opacity .3s ease .25s, transform .4s var(--ease) .25s; }
.sending.is-done .done { opacity: 1; transform: none; }
.sending__bar { width: min(320px, 90%); height: 8px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.sending__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--lime), var(--teal)); animation: send-progress 1.9s var(--ease) forwards; }
@keyframes send-progress { to { width: 85%; } }
.sending.is-done .sending__bar span { animation: send-done .3s ease forwards; }
@keyframes send-done { from { width: 85%; } to { width: 100%; } }
.sending__text { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); }

/* Confirmation */
.success__mark { margin-bottom: 6px; }
.success__circle { fill: var(--lime-tint); stroke: var(--lime); stroke-width: 3; stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw .6s var(--ease) forwards; }
.success__check { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw .35s var(--ease) .5s forwards; }
.success > :not(.success__mark) { animation: rise .45s var(--ease) .55s both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
/* Envoi en cours */
.btn.is-sending:disabled { opacity: 1; cursor: progress; }
.btn.is-sending::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgb(44 50 72 / .25); border-top-color: var(--ink); animation: spin .8s linear infinite; }
.salon-countdown { font-weight: 600; color: var(--ink-2); }

/* ------------------------------ Overlay ------------------------------ */
.overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgb(28 32 48 / .55); backdrop-filter: blur(3px); }
.overlay__box { max-width: 520px; background: var(--surface); border-radius: 22px; padding: 32px; box-shadow: var(--elevation); display: grid; gap: 12px; text-align: center; }
.overlay__box h2 { font-size: 26px; }
.overlay__box .actions { justify-content: center; }

/* ------------------------- Bouton « Mon projet » ------------------------- */
.cart { position: fixed; right: 24px; bottom: 24px; z-index: 45; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; transition: right .25s var(--ease), bottom .25s var(--ease); }
.cart__button {
  display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 7px 22px 7px 8px;
  font: inherit; font-size: 16px; font-weight: 800; color: #fff;
  background: var(--ink); border: 2px solid #fff; border-radius: 999px; cursor: pointer;
  animation: cart-in .35s var(--ease) both; transition: background-color .15s;
}
.cart__button:hover { background: #3b4260; }
.cart__iconwrap { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); }
.cart__count {
  position: absolute; top: -6px; right: -8px; min-width: 24px; height: 24px; padding: 0 6px;
  display: grid; place-items: center; border-radius: 999px; background: #fff; color: var(--ink);
  font-size: 13px; font-weight: 800; box-shadow: 0 0 0 2px var(--ink);
}
.cart.is-empty .cart__count { color: var(--ink-2); }
.cart__button[aria-expanded='true'] { background: var(--teal-ink); }
.cart__button.is-bumped { animation: cart-bump .6s var(--ease); }
.cart__button.is-bumped .cart__count { animation: cart-bump .6s var(--ease); background: var(--lime); }
.cart__panel {
  width: 340px; max-width: calc(100vw - 32px); max-height: min(70vh, 540px); overflow: auto; padding: 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--elevation); display: grid; gap: 12px;
  animation: rise .2s var(--ease) both;
}
.cart__head { display: flex; justify-content: space-between; align-items: center; }
.cart__title { font-weight: 800; font-size: 18px; }
.cart__close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bg); font-size: 22px; cursor: pointer; color: var(--ink); }
.cart__empty { display: grid; gap: 12px; color: var(--ink-2); }
.cart__list { list-style: none; display: grid; gap: 8px; }
.cart__item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.cart__icon { width: 36px; height: 36px; border-radius: 50%; }
.cart__name { padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); text-align: left; cursor: pointer; }
.cart__name:hover { text-decoration: underline; }
.cart__remove { width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); font-size: 20px; cursor: pointer; }
.cart__remove:hover { background: var(--line); color: var(--ink); }
.cart__details { justify-self: center; font-weight: 700; font-size: 14px; }
.cart__ghost { position: fixed; z-index: 90; width: 44px; height: 44px; border-radius: 50%; pointer-events: none; }

/* ---------------------------- Animations ----------------------------- */
@keyframes hs-pulse { from { transform: scale(.9); opacity: 1; border-color: var(--lime); } to { transform: scale(1.55); opacity: 0; border-color: var(--lime); } }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -50%) scale(calc(.4 / var(--z, 1))); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes slide-in { from { opacity: 0; transform: translateX(16px); } }
@keyframes slide-up { from { transform: translateY(100%); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes bump { 30% { transform: scale(1.18); } 60% { transform: scale(.96); } }
@keyframes cart-in { from { opacity: 0; transform: translateY(24px); } }
@keyframes cart-bump { 25% { transform: scale(1.1) rotate(-3deg); } 55% { transform: scale(.96) rotate(1deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
}

/* ---------------------------- Responsive ----------------------------- */
@media (min-width: 761px) {
  .house__tools .chip--toggle:last-child { display: none; }
}
@media (max-width: 1023px) {
  .view--house, .view--house.has-card { grid-template-columns: minmax(0, 1fr); padding: 12px 12px 24px; }
  /* Fiche en feuille */
  .card {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    top: max(24px, 5vh); top: max(24px, 5dvh); height: auto; max-height: none; border-radius: 22px 22px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
    animation: slide-up .3s var(--ease) both;
  }
  .card__grip { display: block; width: 44px; height: 5px; border-radius: 999px; background: var(--line); margin: 10px auto 0; }
  .card__header { padding-right: 56px; }
  .card__actions { grid-template-columns: 1fr 1fr; }
  .card-backdrop:not([hidden]) {
    display: block; position: fixed; inset: 0; z-index: 45; background: rgb(44 50 72 / .35);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade-in .25s ease both;
  }
  body.has-card { overflow: hidden; }
}
@media (max-width: 900px) {
  .topbar { gap: 8px; padding: 0 12px; }
  .brand__logo { height: 32px; }
  .nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; margin: 0;
    justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: var(--surface); border-top: 1px solid var(--line);
  }
  .topbar__actions { margin-left: auto; }
  .nav__link { flex-direction: column; gap: 0; font-size: 13px; line-height: 1.15; padding: 0 4px; min-height: 44px; justify-content: center; text-align: center; border-radius: 999px; }
  .nav__link--project { white-space: nowrap; }
  .nav__link--project { flex-direction: row; gap: 6px; padding: 0 12px; border: 1px solid var(--line); background: var(--surface); }
  /* Barre du bas */
  .nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(52px, auto); align-items: center; gap: 6px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
  .nav__link--project .nav__icon { display: inline-grid; }
  .nav__link--project .badge { position: static; }
  .badge { position: absolute; top: 2px; right: 4px; height: 18px; min-width: 18px; padding: 0 5px; font-size: 11px; background: var(--lime); color: var(--ink); }
  .cart { display: none; }
  body { padding-bottom: 64px; }
  /* Fiche ouverte */
}
@media (max-width: 440px) {
  /* Téléphones */
  .nav__link { white-space: nowrap; }
  .nav__link--project { padding: 0 10px; min-width: 52px; min-height: 44px; justify-content: center; flex-shrink: 0; }
  .nav__link:not(.nav__link--project) { min-width: 0; white-space: normal; }
  .nav__project-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 360px) {
  /* Très petits écrans */
  .nav__link { font-size: 12px; white-space: normal; padding: 0 2px; }
}
@media (max-width: 760px) {
  :root { --topbar-h: 56px; --hs: 44px; }
  .view { padding: 20px 16px 40px; }
  .topbar .btn--primary { font-size: 14px; padding: 8px 14px; white-space: nowrap; min-height: 40px; }
  /* Sur téléphone */
  .toast { left: 8px; right: 8px; max-width: none; transform: translateY(-12px); flex-wrap: wrap; }
  .toast.is-visible { transform: translateY(0); }
  /* Fiche ouverte */
  body.has-card .toast { top: auto; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .toast__text { flex: 1 1 60%; }
  .view--home { height: 100vh; height: 100dvh; min-height: 0; align-items: end; }
  .home__media img { height: 40%; object-position: 58% 0; }
  .home__media::after { background: linear-gradient(180deg, rgb(255 255 255 / 0) 0%, rgb(255 255 255 / .85) 30%, rgb(255 255 255) 42%); }
  .home__content { padding: 16px 16px 24px; }
  .france-renov--home { position: static; justify-content: flex-start; padding: 0 16px 20px; }
  .france-renov--home > * { width: min(100%, 340px); }
  .france-renov--home img { box-shadow: none; border: 1px solid var(--line); }
  .home__brand { margin-bottom: 8px; font-size: 16px; }
  .home__title { font-size: clamp(26px, 4.2vh, 34px); }
  .home__lead { font-size: 15px; }
  .home__actions { flex-direction: column; gap: 10px; }
  .home__actions .btn { flex: none; width: 100%; min-height: 56px; white-space: normal; justify-content: space-between; text-align: left; }
  .home__promises { display: none; }
  .house__head { align-items: start; }
  .house__shortcut-q { display: none; }
  /* Maison */
  .stage { width: 100%; aspect-ratio: auto; height: min(58vh, 520px, calc((100vw - 32px) * 1.116)); height: min(58dvh, 520px, calc((100vw - 32px) * 1.116)); }
  /* Noms des pastilles */
  .house__labels-btn { display: none; }
  /* Fiche ouverte */
  body.has-card .topbar { position: relative; }
  /* Boutons de zoom */
  .house__controls { position: static; justify-content: flex-end; flex-wrap: wrap; margin-top: 8px; }
  .zoom { justify-content: flex-end; padding: 0; background: none; }
  .card__actions { grid-template-columns: 1fr; }
  .quiz__form, .lead-form { padding: 20px; }
}

.card-backdrop { display: none; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* --------------------------- Confirmation --------------------------- */
.confirm { width: min(420px, calc(100vw - 32px)); padding: 26px; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--ink); }
.confirm::backdrop { background: rgb(44 50 72 / .55); }
.confirm__title { font-size: 20px; line-height: 1.3; }
.confirm__text { margin-top: 8px; color: var(--ink); }
.confirm__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.btn--danger { background: #b42318; color: #fff; }
.btn--danger:hover { background: #912018; }
.project__reset { margin-top: 16px; color: var(--ink-2); }

/* ------------------- Sélection sur le téléphone (QR) ------------------- */
.share { width: min(440px, calc(100vw - 32px)); padding: 28px; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--ink); text-align: center; }
.share::backdrop { background: rgb(44 50 72 / .55); }
.share__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg); font-size: 24px; color: var(--ink); cursor: pointer; }
.share__title { font-size: 22px; line-height: 1.25; padding: 0 40px; }
.share__text { color: var(--ink); margin-top: 8px; }
.share__qr { width: min(280px, 100%); margin: 20px auto 8px; }
.share__qr svg { display: block; width: 100%; height: auto; }
.share .reassure { margin: 8px 0 20px; font-weight: 600; font-size: 13px; border-radius: var(--radius-sm); }
/* Sur téléphone */
@media (max-width: 760px) { .share-btn { display: none; } }
.share-btn { gap: 8px; }
.share-btn__icon { flex: none; }

/* ------------------------- Réassurance (contact) ------------------------- */
/* Carte de confiance */
.trust { margin: 0; padding: 24px 22px; border-radius: var(--radius); background: var(--ink); color: #fff; box-shadow: 0 12px 30px rgba(44, 50, 72, .18); }
.trust__title { font-size: 20px; font-weight: 800; color: #fff; text-wrap: balance; }
.trust__figures { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.trust__figure { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .07); font-size: 15px; color: #d9dce6; }
.trust__figure-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); }
.trust__figure-value { font-size: 20px; font-weight: 800; color: #fff; }
.trust__subtitle { margin-top: 20px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.trust__labels { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 10px 0 0; padding: 0; }
.trust__label { display: grid; place-items: center; gap: 4px; min-height: 64px; padding: 8px; background: #fff; border-radius: var(--radius-sm); text-align: center; color: var(--ink); }
.trust__label img { display: block; max-width: 100%; height: 40px; width: auto; object-fit: contain; }
.trust__detail { font-size: 13px; color: var(--ink-2); }
.trust__call { margin-top: 20px; padding: 16px; border-radius: var(--radius-sm); background: rgb(255 255 255 / .08); }
.trust__call-title { margin: 0; font-size: 15px; font-weight: 700; color: #fff; }
.trust__call-number { display: inline-block; margin: 4px 0; font-size: 26px; font-weight: 800; color: var(--lime); text-decoration: none; letter-spacing: .01em; }
a.trust__call-number:hover { text-decoration: underline; }
.trust__call-hint { margin: 0; font-size: 13px; color: #c3c7d4; }
.trust__intro { margin: 10px 0 0; font-size: 13px; color: #c3c7d4; }
.trust__area { margin-top: 12px; font-size: 14px; }
.trust__reviews h3 { margin-top: 14px; font-size: 14px; }
.trust__review { margin: 8px 0 0; }
.trust__review blockquote { margin: 0; font-style: italic; }
.trust__review figcaption { font-size: 13px; color: #c3c7d4; }

/* Commande de combustible */
.card__project--order { border-style: solid; border-color: var(--lime); background: var(--lime-tint); }
.results__restart { margin-left: auto; }
.options--chips { gap: 8px; }
.options--chips .option { min-height: 44px; padding: 8px 14px; }

/* ---------------------------- Mode salon ----------------------------- */
.mode-salon { font-size: 18px; --hs: 64px; }
.mode-salon .btn { min-height: 58px; font-size: 18px; padding: 12px 28px; }
.mode-salon .btn--sm { min-height: 52px; font-size: 16px; }
.mode-salon .nav__link { font-size: 17px; min-height: 52px; padding: 0 16px; }
.mode-salon .hotspot__label { font-size: 15px; }
.mode-salon .card__title { font-size: 26px; }
.mode-salon .home__title { font-size: clamp(36px, min(5vw, 7vh), 64px); }
.mode-salon .topbar { --topbar-h: 72px; height: 72px; }
.mode-salon { user-select: none; -webkit-user-select: none; }
.mode-salon input, .mode-salon textarea { user-select: text; -webkit-user-select: text; }
@media (max-width: 1023px) { .mode-salon { --hs: 56px; } }
@media (max-width: 760px) {
  .mode-salon { --hs: 50px; } .mode-salon .is-compact { --hs: 26px; }
  .mode-salon .brand__logo { height: 24px; }
  .mode-salon .topbar__actions .btn { padding: 8px 12px; font-size: 14px; }
}

/* --------------------------- Mode iframe ----------------------------- */
.mode-embed .topbar { position: relative; }
.mode-embed .view--home { min-height: 560px; }

/* Outils */
.actions-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.actions-tools__label { font-size: 14px; color: var(--ink-2); }
.actions-tools .btn:not(.results__restart) { min-height: 44px; padding: 0; border: 0; background: none; color: var(--teal-ink); font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.actions-tools .btn:not(.results__restart):hover { color: var(--ink); }
.actions-tools .results__restart { margin-left: auto; }
.project__send .actions { margin: 0; }
/* ------------------- Sélection à imprimer / enregistrer en PDF ------------------- */
.print-btn { display: inline-flex; align-items: center; gap: 8px; }
.print-sheet { display: none; }
/* ---------------- Téléphone à l'horizontale (hauteur réduite) ---------------- */
@media (orientation: landscape) and (max-height: 500px) and (min-width: 600px) {
  /* En-tête */
  :root { --topbar-h: 48px; --hs: 36px; }
  .topbar { gap: 6px; padding: 0 max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left)); }
  .brand__logo { height: 26px; }
  .nav {
    position: static; display: flex; align-items: center; gap: 2px; margin: 0 auto 0 8px; padding: 0;
    background: none; border: 0; grid-template-columns: none;
  }
  .nav__link { flex-direction: row; min-height: 36px; padding: 0 9px; font-size: 13px; white-space: nowrap; }
  .nav__link--project { min-height: 36px; padding: 0 10px; }
  .topbar .btn--primary { min-height: 36px; padding: 6px 12px; font-size: 13px; }
  body { padding-bottom: 0; }
  .view { padding: 16px 24px 32px; }
  .view__head { margin-bottom: 16px; }
  .view__title { font-size: clamp(24px, 3.4vw, 32px); }
  .view__lead { font-size: 16px; }

  /* Accueil */
  .view--home { height: auto; min-height: calc(100vh - 48px); min-height: calc(100dvh - 48px); align-items: center; }
  .home__media img { height: 100%; object-position: 70% 50%; }
  .home__media::after { background: linear-gradient(90deg, rgb(255 255 255) 0%, rgb(255 255 255 / .96) 46%, rgb(255 255 255 / .4) 66%, transparent 82%); }
  .home__content { max-width: 58vw; padding: 16px 24px; }
  .home__brand { margin-bottom: 6px; }
  .home__title { font-size: clamp(22px, 7vh, 30px); }
  .home__lead { font-size: 15px; max-width: 48ch; }
  .home__actions { flex-direction: row; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
  .home__actions .btn { width: auto; min-height: 44px; padding: 10px 18px; font-size: 15px; white-space: nowrap; }
  .home__more { display: none; }
  .france-renov--home { display: none; }

  /* Maison */
  .view--house { padding: 8px 16px 12px; }
  .house__head { margin-bottom: 8px; align-items: center; }
  .house__intro .view__title { font-size: 15px; }
  .house__shortcut, .house__tools .chip { min-height: 34px; padding: 6px 12px; font-size: 13px; }
  .house__tools .chip--toggle:last-child { display: none; }
  .house__labels-btn { display: none; }
  .stage { width: var(--stage-w); aspect-ratio: 2000 / 1116; height: auto; }
  .house__controls { position: absolute; right: 8px; top: 8px; margin: 0; }
  .zoom { flex-direction: column; padding: 3px; background: rgb(255 255 255 / .92); }
  .zoom__btn { width: 32px; height: 32px; }

  /* Fiche */
  .card {
    left: auto; top: 0; bottom: 0; width: min(440px, 58vw); height: auto; max-height: none;
    border-radius: 22px 0 0 22px; animation: slide-in .28s var(--ease) both;
  }
  .card__grip { display: none; }
  body.has-card .topbar { position: sticky; }
  .card__close { top: 8px; right: 12px; width: 40px; height: 40px; box-shadow: 0 2px 8px rgb(44 50 72 / .15); }
  .card__body { padding-top: 20px; }
}
@media (orientation: landscape) and (max-height: 500px) and (min-width: 600px) and (max-width: 799px) {
  .nav__project-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav__link { padding: 0 7px; }
}

/* ------------------------ Finitions d'interface ------------------------ */
.home__actions .btn--secondary, .card__actions .btn--secondary { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.home__actions .btn--secondary:hover, .card__actions .btn--secondary:hover { background: var(--ink); color: #fff; }

/* Transitions entre écrans */
.view:not([hidden]) { animation: fade-in .24s ease; }

.sol-card__more { display: none; }
.projet:not(.projet--featured) .sol-card { border-color: #e3eaef; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.projet:not(.projet--featured) .sol-card:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: 0 12px 28px rgb(44 50 72 / .10); }

/* Mon projet */
@media (min-width: 1024px) {
  .project__list:has(.project__send) { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 0 32px; align-items: start; }
  .project__list:has(.project__send) > * { grid-column: 1; }
  .project__list .project__send { grid-column: 2; grid-row: 1 / span 6; position: sticky; top: calc(var(--topbar-h) + 24px); margin-top: 0; }
  .project__list .project__send .actions { flex-direction: column; align-items: stretch; }
  .project__list .project__send .btn { width: 100%; }
}

/* Chargement en douceur */
.home__media img, .stage__image { transition: opacity .5s ease; }
.home__media img.is-pending, .stage.is-loading .stage__image { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .projet:not(.projet--featured) .sol-card:hover { transform: none; } }

/* ------------------------------ Cookies ------------------------------ */
/* Bandeau */
.cookies {
  position: fixed; left: 16px; bottom: 16px; z-index: 90; width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto;
  display: grid; gap: 12px; padding: 20px; border-radius: var(--radius); background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 12px 40px rgb(44 50 72 / .22);
}
.cookies[hidden] { display: none; }
.cookies__title { font-size: 18px; font-weight: 800; }
.cookies__text { margin: 0; font-size: 14px; line-height: 1.5; }
.cookies__text a { color: var(--teal-ink); font-weight: 700; }
.cookies__details { display: grid; gap: 8px; }
.cookies__purpose { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--bg); font-size: 14px; cursor: pointer; }
.cookies__purpose > span:last-child { display: grid; gap: 2px; }
.cookies__purpose > span:last-child > span { color: var(--ink-2); font-size: 13px; }
.cookies__purpose input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal-ink); }
.cookies__check { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 5px; background: var(--ink-2); color: #fff; font-size: 12px; font-weight: 800; }
.cookies__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookies__actions .btn { min-height: 44px; padding: 8px 14px; font-size: 14px; }
.cookies__actions .cookies__more { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .cookies { left: 8px; right: 8px; bottom: calc(72px + env(safe-area-inset-bottom)); width: auto; padding: 16px; }
}
.cookie-manage {
  position: fixed; left: 12px; bottom: 12px; z-index: 40; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: rgb(255 255 255 / .92); color: var(--ink-2); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer;
}
.cookie-manage:hover { color: var(--ink); border-color: var(--ink-2); }
.cookie-manage[hidden] { display: none; }
@media (max-width: 900px) { .cookie-manage { bottom: calc(72px + env(safe-area-inset-bottom)); left: 8px; } }
@media (max-width: 900px) { body[data-view='home'] .cookie-manage { bottom: calc(10px + env(safe-area-inset-bottom)); } }
@media (max-width: 760px) { .france-renov--home { padding-bottom: 54px; } }
@media (orientation: landscape) and (max-height: 500px) and (min-width: 600px) { .cookie-manage { bottom: 8px; } }
body.has-card .cookie-manage, body:not([data-view='home']) .cookie-manage { display: none; }
/* Mention de mesure sur la borne */
.salon-measure { position: fixed; left: 16px; bottom: 12px; z-index: 40; max-width: min(520px, calc(100vw - 32px)); margin: 0; padding: 6px 12px; border-radius: 12px; background: rgb(255 255 255 / .92); color: var(--ink-2); font-size: 13px; line-height: 1.4; }
body:not([data-view='home']) .salon-measure { display: none; }
@media print { .cookies, .cookie-manage { display: none !important; } }

@media print {
  @page { margin: 16mm; }
  body.is-printing { background: #fff !important; padding: 0 !important; }
  body.is-printing > :not(.print-sheet) { display: none !important; }
  body.is-printing::before { display: none !important; }
  body.is-printing .print-sheet { display: block; color: #2c3248; font: 11pt/1.45 'Plus Jakarta Sans', Arial, sans-serif; }
  .print-sheet, .print-sheet * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .print-sheet__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 6mm; border-bottom: 0.6mm solid #b7d348; }
  .print-sheet__head img { height: 13mm; width: auto; }
  .print-sheet__head p { margin: 0; display: grid; justify-items: end; gap: 1mm; color: #4a5068; font-size: 9.5pt; }
  .print-sheet__head p strong { color: #2c3248; font-size: 12pt; }
  .print-sheet h1 { margin: 7mm 0 3mm; font-size: 22pt; line-height: 1.15; letter-spacing: -0.02em; }
  .print-sheet h2 { margin: 7mm 0 3mm; font-size: 13pt; color: #007a85; }
  .print-sheet h3 { margin: 0; font-size: 11.5pt; line-height: 1.3; }
  .print-sheet section { break-inside: avoid; }
  /* Longue sélection */
  .print-sheet section:has(> .print-sheet__solutions) { break-inside: auto; }
  .print-sheet h2 { break-after: avoid; }
  .print-sheet__certs { display: flex; align-items: center; gap: 4mm; padding: 3mm 4mm; border-radius: 3mm; background: #f4f8fa; }
  .print-sheet__certs p { margin: 0; flex: none; max-width: 30mm; font-size: 8.5pt; font-weight: 800; line-height: 1.25; color: #006d77; }
  .print-sheet__certs ul { flex: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3mm; }
  .print-sheet__certs li { display: grid; place-items: center; height: 14mm; padding: 1.5mm; border-radius: 2mm; background: #fff; }
  .print-sheet__certs img { max-width: 100%; max-height: 11mm; width: auto; height: auto; object-fit: contain; }
  .print-sheet__answers ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2mm; }
  .print-sheet__answers li { padding: 1mm 3mm; border-radius: 10mm; background: #e1f2f4; font-size: 9.5pt; font-weight: 700; color: #2c3248; }
  /* Solutions */
  .print-sheet__solutions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4mm; }
  .print-sheet__solutions > li { display: grid; grid-template-columns: auto 1fr; gap: 3mm; padding: 4mm; border: 0.3mm solid #dfe5ea; border-radius: 3mm; break-inside: avoid; }
  .print-sheet__num { width: 7mm; height: 7mm; display: grid; place-items: center; border-radius: 50%; background: #b7d348; color: #2c3248; font-size: 9.5pt; font-weight: 800; }
  .print-sheet__trade { margin: 0 0 0.5mm; font-size: 7.5pt; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #006d77; }
  .print-sheet__solutions p:not(.print-sheet__trade) { margin: 1mm 0 1.5mm; font-size: 9.5pt; line-height: 1.4; color: #2c3248; }
  .print-sheet__solutions ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8mm; }
  .print-sheet__solutions ul li { position: relative; padding-left: 5mm; font-size: 9pt; color: #4a5068; }
  .print-sheet__solutions ul li::before { content: '✓'; position: absolute; left: 0; top: 0; font-weight: 800; color: #6f8f12; }
  /* Frise des étapes */
  .print-sheet__journey, .print-sheet__trust { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .print-sheet__journey { margin-top: 7mm; padding: 5mm 6mm 6mm; border-radius: 4mm; background: #eef7f8; }
  .print-sheet__journey h2 { margin-top: 0; }
  .print-sheet__journey .print-sheet__step-icon, .print-sheet__journey .print-sheet__steps > li:nth-child(4) .print-sheet__step-icon { box-shadow: 0 0 0 1.2mm #fff; }
  .print-sheet__steps { list-style: none; margin: 3mm 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5mm; }
  .print-sheet__steps > li { position: relative; display: grid; align-content: start; gap: 1mm; font-size: 9.5pt; line-height: 1.4; color: #4a5068; }
  .print-sheet__steps > li:not(:last-child)::before { content: ''; position: absolute; top: 5.5mm; left: 14mm; right: -3mm; height: 0.6mm; border-radius: 1mm; background: linear-gradient(90deg, #b7d348, #008d99); }
  .print-sheet__step-icon { width: 11mm; height: 11mm; margin-bottom: 2mm; display: grid; place-items: center; border-radius: 50%; background: #008d99; color: #fff; box-shadow: 0 0 0 1.2mm #e3f1f2; }
  .print-sheet__steps > li:nth-child(2) .print-sheet__step-icon { background: #0a7f8a; }
  .print-sheet__steps > li:nth-child(3) .print-sheet__step-icon { background: #0b6f7a; }
  .print-sheet__steps > li:nth-child(4) .print-sheet__step-icon { background: #2c3248; box-shadow: 0 0 0 1.2mm #e4e6ec; }
  .print-sheet__step-icon svg { width: 5.5mm; height: 5.5mm; }
  .print-sheet__step-label { font-size: 7.5pt; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #006d77; }
  .print-sheet__steps strong { color: #2c3248; font-size: 10.5pt; line-height: 1.3; }
  .print-sheet__figures { list-style: none; margin: 3mm 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4mm; }
  .print-sheet__figures > li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 3mm; padding: 3mm; border: 1px solid #dfe5ea; border-radius: 3mm; font-size: 9.5pt; color: #4a5068; }
  .print-sheet__figures strong { display: block; font-size: 13pt; color: #2c3248; }
  .print-sheet__figure-icon { width: 9mm; height: 9mm; display: grid; place-items: center; border-radius: 50%; background: #b7d348; color: #2c3248; }
  .print-sheet__figure-icon svg { width: 5mm; height: 5mm; }
  .print-sheet__labels-intro { margin: 2mm 0 0; font-size: 8.5pt; color: #4a5068; }
  /* Contact */
  .print-sheet__contact { margin-top: 7mm; padding: 5mm 6mm; border-radius: 4mm; background: #2c3248; color: #fff; }
  .print-sheet__contact h2 { margin: 0 0 1mm; color: #fff; }
  .print-sheet__contact p { margin: 0; color: #d9dce6; font-size: 10pt; }
  .print-sheet__contact .print-sheet__phone { margin: 1mm 0 2mm; font-size: 20pt; font-weight: 800; color: #b7d348; letter-spacing: .01em; }
  @page sheet { margin: 0; }
  .print-sheet { position: relative; page: sheet; padding: 16mm; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .print-sheet__iso { position: fixed; right: 0; bottom: 0; z-index: -1; opacity: .6; width: 70mm; height: auto; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .print-sheet__note { margin-top: 8mm; font-size: 8.5pt; color: #4a5068; }
  /* Bandeau France Rénov' en fin de document, sur toute la largeur */
  .print-sheet__renov { display: block; width: 100%; height: auto; margin: 8mm auto 0; break-inside: avoid; }
}
