/* MaPrimeHabitat – identité éco premium : forêt, sauge, crème */
:root {
	--navy: #153d32;
	--navy-2: #245c46;
	--blue: #236a4d;
	--orange: #3d9259;
	--orange-d: #246f46;
	--sun: #b7dc9e;
	--ink: #17382e;
	--muted: #5d7067;
	--line: #d9e5dc;
	--bg: #fffef9;
	--bg-alt: #f0f7ed;
	--radius: 16px;
	--shadow: 0 24px 60px rgba(6, 20, 36, .28);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 400 17px/1.55 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, .form-title { font-family: Outfit, Inter, sans-serif; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--navy); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.brand-mark svg { width: 38px; height: 38px; display: block; }
.brand-mark path { stroke: var(--orange); }
.brand-mark path:last-child { fill: var(--sun); stroke: var(--sun); }
.brand-name { font: 700 23px Outfit, sans-serif; letter-spacing: -.02em; color: #fff; }
.brand-name strong { color: var(--orange); font-weight: 700; }
.brand-logo { max-height: 44px; width: auto; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { color: #c9d6e3; text-decoration: none; font-weight: 600; font-size: 15px; }
.main-nav a:hover { color: #fff; }
.header-right { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; }
.header-phone svg { width: 18px; height: 18px; color: var(--orange); }
.header-cta { display: inline-flex; align-items: center; background: var(--orange); color: #fff; padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; }
.header-cta:hover { background: var(--orange-d); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy) var(--hero) 70% center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 22, 38, .9) 0%, rgba(8, 22, 38, .7) 38%, rgba(8, 22, 38, .15) 62%, rgba(8, 22, 38, .25) 100%), linear-gradient(0deg, rgba(8, 22, 38, .5), transparent 35%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-weight: 600; font-size: 14px; }
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(92, 159, 69, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(92, 159, 69, 0); } 100% { box-shadow: 0 0 0 0 rgba(92, 159, 69, 0); } }
.hero h1 { font-size: clamp(36px, 5vw, 62px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero h1 span { display: block; color: var(--orange); }
.lead { font-size: 19px; color: #d3dfeb; max-width: 33em; margin: 0 0 26px; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 520px; margin-bottom: 24px; }
.chip { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .07); color: #fff; font: 600 16px Inter, sans-serif; cursor: pointer; text-align: left; transition: background .15s, border-color .15s, transform .1s; backdrop-filter: blur(4px); }
.chip .ico { color: var(--sun); }
.chip:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); transform: translateY(-1px); }
.chip.is-on { background: var(--orange); border-color: var(--orange); }
.chip.is-on .ico { color: #fff; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 0; margin: 0; }
.badges li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.badges svg, .done-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--sun); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Bande de confiance ---------- */
.trust-band { background: var(--orange); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 20px; padding-bottom: 20px; }
.trust-grid div { display: flex; flex-direction: column; padding-left: 14px; border-left: 3px solid rgba(255, 255, 255, .45); }
.trust-grid b { font: 700 18px Outfit, sans-serif; }
.trust-grid span { font-size: 14px; opacity: .92; }

/* ---------- Formulaire ---------- */
.form-card { background: #fff; color: var(--ink); border-radius: 20px; box-shadow: var(--shadow); padding: 24px 24px 18px; border-top: 6px solid var(--orange); scroll-margin-top: 80px; }
.form-head { margin-bottom: 14px; }
.form-title { font-size: 23px; font-weight: 800; color: var(--navy); padding-right: 44px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.form-title span { font: 700 12px Inter, sans-serif; color: var(--orange-d); background: #eef6e9; padding: 4px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: .05em; }
.progress { height: 8px; background: #e8edf3; border-radius: 99px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 16%; background: linear-gradient(90deg, var(--sun), var(--orange)); border-radius: 99px; transition: width .35s ease; }
.step-count { position: absolute; top: 0; right: 0; margin: 0; font-size: 13px; color: var(--muted); font-weight: 700; }
.form-head { position: relative; }
.form-head .progress { margin-top: 4px; }
.step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.step.is-active { display: block; animation: in .3s ease; }
@keyframes in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
legend { font: 800 22px/1.2 Outfit, sans-serif; color: var(--navy); padding: 0; margin: 4px 0 4px; }
.hint { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.hint.small { margin: 12px 0 0; font-size: 13px; }
.sub { margin: 14px 0 8px; font-weight: 600; font-size: 15px; }
.choices { display: grid; gap: 9px; }
.choices.cols-2 { grid-template-columns: 1fr 1fr; }
.choices.cols-5 { grid-template-columns: repeat(5, 1fr); }
.choice { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 600; transition: border-color .15s, background .15s; user-select: none; }
.cols-5 .choice { justify-content: center; padding: 12px 4px; font-size: 15px; text-align: center; }
.choice:hover { border-color: #b8c6d4; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice i { flex: 0 0 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #edf2f7; }
.choice i svg { width: 26px; height: 26px; fill: none; stroke: var(--navy-2); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.choice:has(input:checked) { border-color: var(--orange); background: #f2f8ee; }
.choice:has(input:checked) i { background: var(--orange); }
.choice:has(input:checked) i svg { stroke: #fff; }
.choice:has(input:focus-visible) { outline: 3px solid #9fd0ff; outline-offset: 2px; }
.choice::after { content: ""; margin-left: auto; width: 20px; height: 20px; flex: 0 0 20px; border: 2px solid #c3cfdb; border-radius: 50%; }
.choices:has(input[type=checkbox]) .choice::after { border-radius: 6px; }
.choice:has(input:checked)::after { border-color: var(--orange); background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 4 4 10-10' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.cols-5 .choice::after, .cols-2 .choice::after { display: none; }
.field { display: block; margin: 0 0 12px; }
.field > span { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field small { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
.field input, .field select { width: 100%; height: 50px; padding: 0 14px; border: 2px solid var(--line); border-radius: 12px; font: inherit; color: inherit; background: #fff; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); }
.field.invalid input, .field.invalid select { border-color: #e2483c; background: #fff6f5; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); margin: 4px 0 6px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; flex: 0 0 20px; accent-color: var(--orange); }
.consent.invalid { color: #c0392b; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; }
.notice-out { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: #f2f8ee; border: 1px solid #cfe3c4; font-size: 15px; }
.notice-out p { margin: 0 0 6px; }
.form-error { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: #fdecea; color: #b42318; font-size: 14px; font-weight: 600; }
.form-nav { display: flex; gap: 10px; margin-top: 18px; }

/* Cases illustrées */
.choices.tiles { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choices.tiles.cols-tiles-2 { grid-template-columns: repeat(2, 1fr); }
.choice.tile { flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px 8px 12px; text-align: center; border-radius: 14px; background: #fbfcfd; min-height: 128px; }
.choice.tile::after { position: absolute; top: 8px; right: 8px; margin: 0; width: 22px; height: 22px; border-radius: 50%; border: 0; background: transparent; }
.choice.tile:has(input:checked)::after { border: 0; border-radius: 50%; background-color: var(--orange); }
.choices:has(input[type=checkbox]) .choice.tile::after { border-radius: 50%; }
.tile-art { display: grid; place-items: center; width: 100%; height: 72px; }
.tile-art svg { width: 86px; height: 70px; transition: transform .2s; }
.choice.tile:hover .tile-art svg { transform: scale(1.06); }
.tile-label { font-size: 15px; line-height: 1.2; color: var(--navy); }
.choice.tile:has(input:checked) .tile-label { color: var(--orange-d); }
.choice.tile:has(input:checked) { box-shadow: 0 6px 16px rgba(92, 159, 69, .18); }

/* ---------- Boutons ---------- */
.btn, .btn-back, .btn-small, .btn-ghost { font: 700 17px Outfit, Inter, sans-serif; border: 0; border-radius: 12px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.btn { flex: 1; min-height: 56px; padding: 0 22px; background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(92, 159, 69, .35); transition: transform .1s, background .15s; }
.btn:hover { background: var(--orange-d); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.btn-cta { flex: none; min-height: 60px; padding: 0 30px; font-size: 18px; }
.btn-back { min-height: 56px; padding: 0 18px; background: #edf2f7; color: var(--navy); font-size: 15px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.secure svg { width: 14px; height: 14px; flex: 0 0 14px; fill: none; stroke: var(--muted); stroke-width: 2; }
.done { text-align: center; padding: 10px 4px 4px; }
.done-icon { width: 72px; height: 72px; margin: 6px auto 14px; border-radius: 50%; background: #eef6e9; display: grid; place-items: center; }
.done-icon svg { width: 38px; height: 38px; stroke: var(--orange); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.kicker { margin: 0 0 10px; color: var(--orange-d); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
#solutions .kicker { text-align: center; }
.section-title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; text-align: center; color: var(--navy); margin-bottom: 40px; }

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10, 28, 46, .12); }
.service-media { position: relative; }
.service-media img, .ssc-visual { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #dfe7ef; }
.ssc-visual svg { width: 100%; height: 100%; display: block; }
.service-icon { position: absolute; left: 16px; bottom: -22px; width: 48px; height: 48px; border-radius: 12px; background: var(--orange); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(92, 159, 69, .4); }
.service-icon .ico { width: 26px; height: 26px; }
.service-body { padding: 34px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.service h3 { font-size: 21px; color: var(--navy); }
.service p { margin: 0 0 16px; color: var(--muted); font-size: 15.5px; }
.link-cta { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--orange-d); font: 700 16px Outfit, sans-serif; cursor: pointer; }
.link-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.link-cta:hover svg { transform: translateX(4px); }

/* Section installateur */
.section.dark { background: var(--navy) radial-gradient(800px 400px at 100% 0%, rgba(31, 111, 178, .35), transparent 70%); color: #fff; }
.pros-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.pros-media { position: relative; }
.pros-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; background: #1b3550; }
.pros-tag { position: absolute; right: -14px; bottom: 28px; background: var(--orange); color: #fff; padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow); }
.pros-tag b { display: block; font: 800 22px Outfit, sans-serif; }
.pros-tag span { font-size: 14px; }
.pros-copy .kicker { color: var(--sun); }
.pros-copy h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
.process { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 4px; }
.process li { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.process li:last-child { border-bottom: 0; }
.process b { font: 800 26px/1 Outfit, sans-serif; color: var(--orange); min-width: 42px; }
.process h3 { font-size: 19px; margin-bottom: 4px; }
.process p { margin: 0; color: #b9c8d7; font-size: 15.5px; }

/* Aides */
.aids { list-style: none; padding: 0; margin: 26px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.aids li { padding: 18px 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--orange); }
.aids strong { display: block; font-size: 18px; color: var(--navy); }
.aids span { color: var(--muted); font-size: 15px; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 18px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 700 22px/1 Outfit, sans-serif; color: var(--orange); }
details[open] summary::after { content: "–"; }
details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* Appel final */
.final-cta { background: linear-gradient(110deg, var(--orange-d), var(--orange) 55%, #ff8a3d); color: #fff; padding: 56px 0; }
.final-grid { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.final-cta h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; margin-bottom: 6px; }
.final-cta p { margin: 0; font-size: 18px; opacity: .95; }
.btn-light { background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(10, 28, 46, .35); }
.btn-light:hover { background: var(--navy-2); }

/* Footer */
.site-footer { background: #17294a; color: #95a7b9; padding: 36px 0 90px; font-size: 14px; }
.site-footer a { color: #d3dfeb; }
.disclaimer { max-width: 900px; margin: 0 0 16px; }
.disclaimer strong { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 10px; }
.copy { margin: 0; }

/* Pages légales */
.page-content { padding: 48px 16px 64px; }
.page-content h1 { font-size: 34px; color: var(--navy); }
.entry h2 { font-size: 22px; color: var(--navy); margin-top: 1.6em; }

.sticky-cta { display: none; }

/* Cookies */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 560px; margin: 0 auto; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: var(--shadow); padding: 16px 18px; font-size: 14px; }
.cookie-banner p { margin: 0 0 12px; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
.btn-small, .btn-ghost { padding: 10px 18px; font-size: 14px; }
.btn-small { background: var(--orange); color: #fff; }
.btn-ghost { background: #edf2f7; color: var(--navy); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.services { grid-template-columns: 1fr 1fr; }
	.main-nav { display: none; }
}
@media (max-width: 900px) {
	.hero { background-position: 75% center; }
	.hero { background-size: 100% auto, cover; background-position: top center; background-repeat: no-repeat; }
	.hero::before { background: linear-gradient(180deg, rgba(8, 22, 38, .55) 0%, rgba(8, 22, 38, .75) 30%, rgba(8, 22, 38, .96) 60%, var(--navy) 100%); }
	.hero-grid { grid-template-columns: 1fr; gap: 26px; padding-top: 30px; padding-bottom: 36px; }
	.lead { font-size: 17px; }
	.trust-grid { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
	.trust-grid b { font-size: 16px; }
	.section { padding: 56px 0; }
	.pros-grid { grid-template-columns: 1fr; gap: 32px; }
	.pros-media img { aspect-ratio: 4 / 3; }
	.pros-tag { right: 12px; bottom: 16px; }
	.aids { grid-template-columns: 1fr; }
	.final-grid { flex-direction: column; align-items: stretch; text-align: center; }
	.btn-cta { width: 100%; }
	.sticky-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; min-height: 54px; align-items: center; justify-content: center; border-radius: 14px; background: var(--orange); color: #fff; font: 700 17px Outfit, sans-serif; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .25s, opacity .25s; }
	.sticky-cta.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
	.header-cta { padding: 9px 14px; font-size: 14px; }
}
@media (max-width: 560px) {
	.services { grid-template-columns: 1fr; }
	.chip { padding: 12px; font-size: 15px; gap: 8px; }
}
@media (max-width: 420px) {
	.choices.tiles { grid-template-columns: repeat(2, 1fr); }
	.choice.tile { min-height: 118px; }
	.form-card { padding: 20px 16px 16px; border-radius: 16px; }
	.choices.cols-5 { gap: 6px; }
	.row-2 { grid-template-columns: 1fr; gap: 0; }
	.brand-name { font-size: 20px; }
	.brand-mark svg { width: 32px; height: 32px; }
	.header-cta { display: none; }
}

/* =========================================================
   Accueil clair et sobre (prioritaire sur les styles ci-dessus)
   ========================================================= */
.site-header { background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); color: var(--navy); box-shadow: 0 1px 0 var(--line); }
.brand, .brand-name { color: var(--navy); }
.main-nav a { color: #44556a; }
.main-nav a:hover { color: var(--orange-d); }
.header-phone { color: var(--navy); }

.hero { color: var(--navy); background-color: #f4f8f2; background-position: right center; }
.hero::before { background: linear-gradient(90deg, #f5f9f3 0%, rgba(245, 249, 243, .97) 34%, rgba(245, 249, 243, .75) 50%, rgba(245, 249, 243, 0) 68%); }
.hero h1 { color: var(--navy); text-shadow: none; }
.hero h1 span { color: var(--orange); }
.lead { color: #44556a; }
.eyebrow { background: #fff; border: 1px solid var(--line); color: var(--navy); box-shadow: 0 2px 8px rgba(10, 28, 46, .05); }
.chip { background: #fff; border: 1.5px solid var(--line); color: var(--navy); backdrop-filter: none; box-shadow: 0 2px 8px rgba(10, 28, 46, .05); }
.chip .ico { color: var(--orange); }
.chip:hover { background: #fff; border-color: var(--orange); }
.chip.is-on { background: var(--orange); border-color: var(--orange); color: #fff; }
.badges li { color: var(--navy); }
.badges svg { stroke: var(--orange); }
.form-card { box-shadow: 0 24px 60px rgba(10, 28, 46, .16); }

.trust-band { background: #fff; color: var(--navy); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid div { border-left-color: var(--orange); }
.trust-grid span { color: var(--muted); opacity: 1; }

@media (max-width: 900px) {
	.hero { background-size: auto 340px; background-position: 70% top; }
	.hero::before { background: linear-gradient(180deg, rgba(245, 249, 243, .15) 0, rgba(245, 249, 243, .55) 160px, #f5f9f3 330px, #f5f9f3 100%); }
	.hero-grid { padding-top: 150px; }
	.hero h1 { font-size: 36px; }
	.eyebrow { font-size: 13px; }
}

/* Chiffres clés (affichés seulement s'ils sont renseignés) */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 16px; padding-top: 36px; padding-bottom: 36px; text-align: center; }
.stats b { display: block; font: 800 clamp(30px, 3.6vw, 44px)/1.1 Outfit, sans-serif; color: var(--navy); }
.stats span { color: var(--muted); font-size: 15px; }
/* Liens vers les pages officielles */
.section.official { padding-bottom: 20px; }
.official .section-title { margin-bottom: 14px; }
.official-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.official-links a { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; background: #fff; transition: border-color .15s, transform .15s; }
.official-links a:hover { border-color: var(--orange); transform: translateY(-2px); }
.official-links b { color: var(--navy); font: 700 17px Outfit, sans-serif; }
.official-links span { color: var(--blue); font-size: 14px; }
@media (max-width: 700px) {
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.official-links { grid-template-columns: 1fr; }
}

/* Titre : mots clés surlignés */
.hero h1 { font-size: clamp(34px, 4.4vw, 56px); }
.hero h1 mark { background: #e3f1da; color: var(--orange-d); padding: 0 .08em; border-radius: .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.final-cta { background: linear-gradient(110deg, #4a8836, #5c9f45 55%, #79b862); }

/* Réalisations */
.realisations { background: var(--bg-alt); }
.real-intro { max-width: 640px; margin: -24px auto 36px; }
.real-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.real { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.real:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(29, 53, 97, .1); }
.real img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.real-body { padding: 16px 18px 18px; }
.real-city { margin: 0 0 4px; color: var(--orange-d); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.real h3 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.real-meta { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 1080px) { .real-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .real-grid { grid-template-columns: 1fr; } }

/* Personnalisation éco – version 2 */
body { background:#fffef9; }
.site-header { background:#fffef9; }
.brand-name,.main-nav a,.header-phone { color:#153d32; }
.brand-name strong { color:#3d9259; }
.hero { background-color:#edf5e9; }
.hero::before { background:linear-gradient(90deg,rgba(246,250,242,.99) 0%,rgba(246,250,242,.96) 34%,rgba(246,250,242,.76) 53%,rgba(246,250,242,.08) 79%) !important; }
.hero h1 { color:#153d32; text-shadow:none; }
.hero h1 mark { background:#d9edcf; color:#246f46; }
.lead { color:#405f50; }
.eyebrow { color:#246f46; }
.form-card { box-shadow:0 22px 65px rgba(20,65,48,.16); border-top:6px solid #3d9259; }
.header-cta,.btn-cta,.sticky-cta { background:#3d9259; }
.header-cta:hover { background:#246f46; }
.trust-band { background:#eef6e9; }
.section.dark { background:#153d32; }
.final-cta { background:linear-gradient(115deg,#164a38,#338153 65%,#56a967); }
.site-footer { background:#12382d; color:#d0ded4; }
.site-footer .copy { font-size:12px; opacity:.84; }
.site-footer .legal-operator { font-size:12px; margin-top:8px; color:#d0ded4; }
.site-footer .legal-operator a { color:#d0ded4; text-decoration:underline; }
.site-footer .footer-links a { font-size:13px; }
@media(max-width:800px){.hero::before{background:linear-gradient(180deg,rgba(246,250,242,.40) 0%,rgba(246,250,242,.91) 165px,#f6faf2 345px)!important;}}

/* === MaprimeHabitat v3 · direction artistique naturelle === */
:root { --navy:#173e34; --navy-2:#24654b; --blue:#276d4d; --orange:#58a96b; --orange-d:#307a4f; --sun:#c4e6ac; --ink:#193f34; --muted:#64776d; --line:#e0e9df; --bg:#fffef9; --bg-alt:#f4f8ee; }
.site-header { background:#ffffffed; box-shadow:0 1px 12px #183b2810; }
.brand,.brand-name,.header-phone {color:#173e34}
.brand-name strong { color:#3e925b }
.main-nav a { color:#466054; font-weight:600; }
.main-nav a:hover { color:#26814d }
.header-cta {border-radius:999px; background:#469e62; padding:11px 20px}
.hero {background-color:#edf6ed; background-position:center center; color:#183d32}
.hero::before {background:linear-gradient(90deg,#f5f8f0 0%,rgba(245,248,240,.98) 24%,rgba(245,248,240,.91) 44%,rgba(245,248,240,.38) 66%,rgba(245,248,240,.05) 100%)}
.hero-grid {grid-template-columns:1.05fr .95fr; gap:34px; padding-top:72px;padding-bottom:84px}
.hero h1 {font-size:clamp(38px,4.5vw,62px);line-height:1.11; color:#173c31; text-shadow:none;letter-spacing:-.035em}
.hero-intro {display:block;font:600 clamp(16px,1.8vw,20px) Inter,sans-serif;letter-spacing:0;color:#438658;margin-bottom:16px}
.hero mark {color:#2b8350;background:linear-gradient(transparent 72%,#d7eebd 0);padding:0}
.lead {color:#576e5f;font-size:18px;line-height:1.7;max-width:540px}
.eyebrow {color:#39794b;background:#e7f1df;border:1px solid #d3e5cf}
.chip {background:#fffdf7;color:#254936;border:1px solid #d5e3d4;box-shadow:0 3px 12px #1b47210a}
.chip .ico {color:#4b965f}
.chip:hover {background:#eaf5e5;color:#245838}
.badges li {color:#386b4b}
.form-card {box-shadow:0 22px 68px #153c2926}
.trust-band {background:#fff; color:#28533e;border-bottom:1px solid #e4ede3}
.trust-grid div {border-left:2px solid #80ba8b}
.official {background:#f8fbf5}
.official .section-title {max-width:800px;margin-left:auto;margin-right:auto}
.official-links a {background:white;border-radius:18px;box-shadow:0 8px 25px #224f1f09}
.contact-section {background:linear-gradient(120deg,#eef6e8,#fffdf7)}
.contact-grid {display:grid;grid-template-columns:.85fr 1.15fr;gap:60px;align-items:center}
.contact-copy p:not(.kicker) {font-size:18px;line-height:1.75}
.contact-card {padding:32px;border:1px solid #dce9d8;border-radius:24px;background:white;box-shadow:0 18px 60px #1c4d2d16}
.contact-card form {display:grid;gap:15px}
.contact-card .field input,.contact-card .field textarea {width:100%;font:inherit;padding:13px;border:1px solid #cbdacb;border-radius:11px;background:#fff}
.contact-card .field textarea {resize:vertical;min-height:140px}
.contact-card .consent {font-size:13px}
.contact-feedback {font-weight:700;color:#245f42}
.legal-operator {font-size:11px;opacity:.8}
@media(max-width:960px){.contact-grid{grid-template-columns:1fr;gap:26px}.main-nav{gap:11px}.main-nav a{font-size:12px}}
@media(max-width:760px){.hero::before{background:linear-gradient(180deg,rgba(245,248,240,.45),#f5f8f0 280px)}.hero-grid{grid-template-columns:1fr;padding-top:175px}.hero h1{font-size:36px}.contact-card{padding:20px}.main-nav{display:none}}

/* V4 — maison / appartement à l’étape 1 */
.housing-prompt { margin: 18px 0 10px; }
.housing-prompt strong { color: #234e3d; font-weight: 750; }

/* Étape 1 : afficher le logement uniquement après le choix propriétaire. */
.housing-prompt[hidden], .choices[hidden], .notice-out[hidden] { display: none !important; }

/* V6 : titre plus lisible, surlignage sans chevauchement */
.hero-copy h1 { font-size: clamp(32px, 3.65vw, 51px); line-height: 1.2; letter-spacing: -.027em; overflow-wrap: normal; hyphens: none; }
.hero-copy h1 .hero-intro { font-size: clamp(16px,1.7vw,20px); line-height:1.35; margin-bottom:20px; }
.hero-copy h1 mark { background:linear-gradient(transparent 64%,#d7eebd 64%); padding:0 .04em .025em; -webkit-box-decoration-break:clone; box-decoration-break:clone; line-height:inherit; }
@media (max-width:760px) { .hero-copy h1 {font-size:clamp(30px,7.5vw,40px);line-height:1.22;} }

/* V7 — mix vert doux et structure originale */
.section.dark {background:linear-gradient(125deg,#e9f3e7,#d8ead9 65%,#eff8eb)!important;color:#193e32!important;}
.section.dark .kicker {color:#458258!important;}
.section.dark .pros-copy h2,.section.dark .process h3 {color:#173e32!important;}
.section.dark .process p {color:#48675a!important;}
.section.dark .process li {border-color:#bfd8c3!important;}
.section.dark .process li>b {color:#398d55!important;}
.pros-media img {background:#e6f1e9;object-position:50% 63%;}
.pros-tag {background:#fff!important;color:#286842!important;box-shadow:0 10px 30px #214d2d20;}
.section.dark .btn-cta {background:#4f9b61!important;color:#fff!important;}
.hero-copy h1 {font-size:clamp(32px,3.5vw,50px);line-height:1.22;}
@media(max-width:760px){.section.dark {background:#e9f3e7!important;}.pros-media img {aspect-ratio:4/3;object-position:center 58%;}}

/* V8 - Aides officielles : présentation visuelle inspirée de la référence fournie */
.section.official {background:#fbfcf8; padding-top:74px; padding-bottom:76px;}
.official .kicker {color:#578a56;letter-spacing:.12em}
.official .section-title {max-width:790px;margin:16px auto 15px;color:#234e3d}
.official-intro {max-width:760px;margin:0 auto;line-height:1.75}
.official-links {margin:35px auto 18px;grid-template-columns:repeat(3,minmax(0,1fr));max-width:830px;gap:18px}
.official-links a {min-height:184px;justify-content:center;align-items:center;gap:10px;text-align:center;border:1px solid #e2ecdf;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(22,65,36,.045);padding:22px 14px}
.official-links b {color:#28583c;font-size:19px}
.official-links a span:not(.aid-symbol) {font-size:13px;color:#60736b}
.official-links .aid-symbol {width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#e7f3e2;color:#387d43;font:700 30px/1 Outfit, sans-serif}
.official-disclaimer {font-size:12px;line-height:1.65;color:#67786c;max-width:780px;margin:18px auto 0}
@media(max-width:700px){.section.official{padding-top:48px;padding-bottom:50px}.official-links{grid-template-columns:1fr;max-width:420px}.official-links a{min-height:130px}}

/* V10 : palette végétale claire et amélioration des contrastes */
.section.dark { background: linear-gradient(135deg,#eef7e9 0%,#dfeee0 100%) !important; color:#1c4235 !important; }
.section.dark .process li { border-color:rgba(29,77,51,.16) !important; }
.section.dark .process li p { color:#436455 !important; }
.section.dark .pros-copy .kicker { color:#387e4e !important; }
.section.dark .pros-copy h2, .section.dark .process h3 { color:#174734 !important; }
.section.dark .pros-tag { background:#f8fff4 !important; color:#245b3c !important; }
.footer-contact a {color:#d4ead1; text-decoration:underline; text-underline-offset:3px;}
.hero-copy h1 {line-height:1.22 !important;}
.hero-copy h1 mark { -webkit-box-decoration-break:clone; box-decoration-break:clone; background:linear-gradient(transparent 70%,#d8ebc0 70%) !important;}
@media(max-width:760px){.hero-copy h1{line-height:1.24!important;}}

/* V12 : cadrages photos des solutions et maison entière */
.service-media img {width:100%;height:100%;object-fit:cover;object-position:center center;}
.pros-media img {width:100%;height:100%;object-fit:contain;object-position:center center;background:#ecf3e9;}
@media(max-width:780px){.pros-media img{object-fit:contain;}}

/* V13: voir la maison entière, les panneaux et la pompe à chaleur sans recadrage */
.pros-media { align-self:center; width:100%; }
.pros-media img { width:100% !important; height:auto !important; aspect-ratio:16 / 9 !important; object-fit:contain !important; object-position:center center !important; border-radius:18px; }
.pros-tag { right:12px; bottom:12px; }
@media(max-width:780px){.pros-media img{aspect-ratio:16 / 9 !important; height:auto !important;}}

/* V15 : la maison reste entièrement visible et le cartouche ne masque plus la PAC. */
.pros-media img { display:block; width:100%!important; height:auto!important; aspect-ratio:auto!important; object-fit:contain!important; }
.pros-tag {right:12px!important; bottom:12px!important; padding:9px 13px!important; max-width:135px; }
.pros-tag b{font-size:16px!important;}
.pros-tag span{font-size:12px!important;}
@media(max-width:780px){.pros-media img{aspect-ratio:auto!important;}}


/* V16 : photo de la maison plus grande, proportionnée au texte (ordinateur). */
@media (min-width: 1081px) {
  #parcours .wrap.pros-grid {
    max-width: 1480px;
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
    gap: clamp(26px, 2.5vw, 44px);
    align-items: center;
  }
  #parcours .pros-media { width: 100%; min-width: 0; }
  #parcours .pros-media img {
    width: 100% !important;
    height: auto !important;
    display:block;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    border-radius: 20px;
  }
  #parcours .pros-copy h2 { font-size: clamp(29px,2.7vw,39px); line-height: 1.16; }
  #parcours .process { margin: 19px 0 24px; }
  #parcours .process li { padding: 10px 0; }
}
@media (min-width: 901px) and (max-width: 1080px) {
  #parcours .pros-grid { grid-template-columns: 1.12fr 1fr; gap: 22px; }
  #parcours .pros-media img {width:100%!important;height:auto!important;object-fit:contain!important;}
}
@media (max-width: 900px) {
  #parcours .pros-grid {grid-template-columns:1fr;gap:26px;}
  #parcours .pros-media img {width:100%!important;height:auto!important;object-fit:contain!important;}
}

/* V17 : photographie alignée sur la hauteur du parcours sur ordinateur. */
@media (min-width: 901px) {
  #parcours .wrap.pros-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: clamp(26px, 3vw, 46px) !important;
  }
  #parcours .pros-media {
    min-height: 500px;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
  }
  #parcours .pros-media img {
    width: 100% !important;
    height: 100% !important;
    min-height: 500px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 20px;
  }
  #parcours .pros-copy { align-self: center; }
}
@media (max-width: 900px) {
  #parcours .pros-media {height:auto;min-height:0;}
  #parcours .pros-media img {width:100%!important;height:auto!important;min-height:0!important;object-fit:contain!important;}
}

/* V18 : photographie visuellement plus grande, à hauteur du texte, sans recadrage. */
@media (min-width: 901px) {
 #parcours .wrap.pros-grid { grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)!important; align-items:stretch!important; }
 #parcours .pros-media { min-height:600px!important; height:auto!important; display:flex!important; align-items:center!important; justify-content:center!important; overflow:visible!important; background:transparent!important; }
 #parcours .pros-media img { width:100%!important; height:100%!important; min-height:600px!important; max-height:760px!important; object-fit:contain!important; object-position:center center!important; }
}

/* V19 : hauteur moderee, PAC mise en valeur. */
@media (min-width:901px) {
 #parcours .wrap.pros-grid {align-items:center!important;}
 #parcours .pros-media {min-height:0!important;height:auto!important;display:block!important;overflow:hidden!important;}
 #parcours .pros-media img {height:auto!important;min-height:0!important;max-height:none!important;width:100%!important;aspect-ratio:1.36!important;object-fit:cover!important;}
}


/* v24 – maquette lumineuse approuvée : vraie interface, image en fond */
:root {--navy:#10233a;--navy-2:#1b3a4c;--blue:#13883d;--orange:#269f46;--orange-d:#138338;--sun:#b9e6aa;--ink:#10233a;--muted:#647085;--line:#e0e5eb;--bg:#fff;--bg-alt:#f5f9f4;--shadow:0 20px 65px rgba(22,35,48,.18)}
.site-header{background:#fff;color:var(--navy);box-shadow:0 1px 6px rgba(0,0,0,.06)}
.brand,.brand-name{color:var(--navy)}.brand-name strong{color:#279f49}
.main-nav a{color:#1d2b3d}.main-nav a:hover{color:#198e43}
.header-phone{color:var(--navy)}.header-cta{border-radius:999px;background:#25a047;padding:12px 22px}
.hero{color:var(--navy);background-color:#d7e9e1;background-position:center center;background-size:cover;min-height:800px}
.hero::before{background:linear-gradient(90deg,rgba(255,255,255,.86) 0%,rgba(255,255,255,.72) 33%,rgba(255,255,255,.12) 56%,rgba(255,255,255,0) 76%)}
.hero-grid{max-width:1440px;grid-template-columns:minmax(0,1fr) minmax(550px,1.08fr);gap:50px;align-items:center;min-height:800px;padding-top:75px;padding-bottom:80px}
.hero-copy{position:relative;z-index:1}.eyebrow{color:#1d422c;background:#e6f6df;border:0;padding:9px 16px;font-size:15px}.dot{background:#2aa447}
.hero h1{color:#10233a;text-shadow:none;font-size:clamp(37px,3.65vw,56px);line-height:1.1;letter-spacing:-.04em;margin:0 0 18px}
.hero h1 mark{background:#e0f3d9;color:#248f3f;box-decoration-break:clone;-webkit-box-decoration-break:clone;border-radius:7px;padding:0 4px}
.hero h1 span{color:inherit}.lead{color:#34435a;font-size:18px;max-width:570px;margin-bottom:20px}
.chips{max-width:none;gap:10px;margin-bottom:20px}.chip{background:rgba(255,255,255,.94);border:1px solid #d9e1e1;border-radius:9px;color:#12233b;padding:15px 16px;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.chip .ico{color:#289e47}.chip:hover{background:#fff;border-color:#2ca64e}.chip.is-on{background:#e9f7e6;color:#173b25;border-color:#2da04b}.chip.is-on .ico{color:#279e45}
.badges{gap:12px 22px}.badges li{color:#1a3443;font-size:14px}.badges svg{stroke:#259d45}
.form-card{padding:30px 32px 24px;border:1px solid #dce6df;border-top:4px solid #2ca04c;border-radius:20px;background:#fff;box-shadow:0 18px 55px rgba(12,30,48,.17)}
.form-title{font-size:30px;padding-right:60px}.form-title span{font-size:13px;background:#e8f8e6;color:#218e3c}.form-head{margin-bottom:24px}.form-head .progress{margin-top:20px}.progress{height:12px}.progress span{background:#2da34b}.step-count{font-size:18px;top:7px}
legend{font-size:29px;margin-bottom:8px}.hint{font-size:18px;margin-bottom:20px}.choices.tiles.cols-tiles-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.choices.tiles .choice{min-height:120px;border:2px solid #e3e7ee;border-radius:15px;background:#fff;padding:16px;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.choices.tiles .choice:hover{border-color:#2aa049;background:#f8fff7}.choices.tiles .choice:has(input:checked){border-color:#279d45;background:#f1faed}
.choices.tiles .choice i{width:62px;height:62px;flex-basis:62px;background:transparent}.choices.tiles .choice i svg{width:49px;height:49px;stroke:#299e47}
.choices.tiles .choice:has(input:checked) i{background:transparent}.choices.tiles .choice:has(input:checked) i svg{stroke:#269b45}
.choices.tiles .choice span{font-size:18px}.choices.tiles.cols-tiles-2 .choice{min-height:168px;flex-direction:column;justify-content:center;gap:8px;text-align:center}
.choices.tiles.cols-tiles-2 .choice::after{display:none}.housing-prompt{margin-top:18px}
.secure{font-size:13px;margin-top:20px}.btn{background:#269e46}.btn:hover{background:#16853a}
@media(max-width:1080px){.hero-grid{grid-template-columns:minmax(0,1fr) minmax(420px,1fr);gap:22px}.form-card{padding:24px}.hero h1{font-size:39px}.choices.tiles.cols-tiles-2 .choice{min-height:140px}}
@media(max-width:780px){.hero{min-height:0;background-position:65% center}.hero::before{background:linear-gradient(180deg,rgba(255,255,255,.91),rgba(255,255,255,.74) 55%,rgba(255,255,255,.55))}.hero-grid{display:grid;grid-template-columns:1fr;min-height:0;padding-top:36px;padding-bottom:42px;gap:30px}.hero h1{font-size:clamp(34px,8vw,48px)}.form-card{width:100%}.main-nav{display:none}.header-inner{gap:8px}.header-phone{display:none}.brand-name{font-size:20px}}
@media(max-width:460px){.form-card{padding:21px 16px}.form-title{font-size:24px}.form-title span{font-size:10px}.choices.tiles.cols-tiles-2 .choice{min-height:135px;padding:10px 6px}.choices.tiles .choice span{font-size:15px}.chips{gap:8px}.chip{font-size:13px;padding:10px}.badges{gap:8px 12px}.badges li{font-size:12px}.hero h1{font-size:34px}}

/* v25 : photographie plus nette, voile blanc reduit, formulaire plus compact */
.hero::before{background:linear-gradient(90deg,rgba(255,255,255,.68) 0%,rgba(255,255,255,.48) 29%,rgba(255,255,255,.08) 51%,rgba(255,255,255,0) 70%)!important;backdrop-filter:none!important;filter:none!important}
.hero{filter:none!important;background-position:center center}
.hero-grid{grid-template-columns:minmax(0,1.12fr) minmax(440px,.88fr);gap:44px;max-width:1440px}
.form-card{padding:24px 27px 20px;max-width:570px;margin-left:auto;border-top-width:3px}
.form-title{font-size:27px}.form-head{margin-bottom:17px}.form-head .progress{margin-top:13px}
legend{font-size:25px}.hint{font-size:16px;margin-bottom:15px}
.choices.tiles.cols-tiles-2 .choice{min-height:138px;padding:12px}.choices.tiles .choice i{width:50px;height:50px;flex-basis:50px}.choices.tiles .choice i svg{width:42px;height:42px}
.secure{margin-top:14px}
@media(max-width:1080px){.hero-grid{grid-template-columns:minmax(0,1fr) minmax(390px,.9fr);gap:22px}.form-card{max-width:100%}}
@media(max-width:780px){.hero-grid{grid-template-columns:1fr}.hero::before{background:linear-gradient(180deg,rgba(255,255,255,.84),rgba(255,255,255,.68) 54%,rgba(255,255,255,.40))!important}.form-card{margin:0 auto}}

/* v26: source photo sans texte incruste; contraste et lisibilite sans flou */
.hero{background-image:var(--hero)!important;background-position:center center!important;background-size:cover!important;filter:none!important}
.hero::before{background:linear-gradient(90deg,rgba(255,255,255,.89) 0%,rgba(255,255,255,.72) 28%,rgba(255,255,255,.12) 54%,transparent 75%)!important;filter:none!important;backdrop-filter:none!important;pointer-events:none}
.hero-grid{position:relative;z-index:1;grid-template-columns:minmax(0,1.12fr) minmax(400px,.88fr)!important;gap:35px!important}
.form-card{position:relative;z-index:2;max-width:555px!important;padding:22px 25px 19px!important}
@media(max-width:780px){.hero-grid{grid-template-columns:1fr!important}.hero::before{background:linear-gradient(180deg,rgba(255,255,255,.90),rgba(255,255,255,.78) 60%,rgba(255,255,255,.55))!important}}


/* MAPRIMEHABITAT FINAL V28 — typography and clarity refinement */
:root {
  --navy: #10243b; --ink: #172b40; --muted: #657386;
  --green: #16833b; --orange: #16833b; --orange-d: #126c32; --sun: #16833b;
}
.site-header {background:rgba(255,255,255,.98)!important;color:#10243b!important;box-shadow:0 1px 12px rgba(16,36,59,.08)!important;backdrop-filter:none!important}
.brand,.brand-name{color:#10243b!important}
.brand-mark path{stroke:#16833b!important}
.brand-mark path:last-child{fill:#16833b!important;stroke:#16833b!important}
.main-nav a{color:#24384c!important;font-weight:600}
.main-nav a:hover{color:#16833b!important}
.header-phone{color:#10243b!important}
.header-phone svg{color:#16833b!important}
.header-cta,.btn,.btn-cta{background:#16833b!important;border-color:#16833b!important;color:#fff!important;box-shadow:0 5px 14px rgba(22,131,59,.16)}
.hero{position:relative;color:#10243b!important;background-color:#edf5ef!important;background-position:center center!important;background-size:cover!important;min-height:790px!important}
.hero::before{content:""!important;position:absolute!important;inset:0!important;background:linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.92) 35%,rgba(255,255,255,.64) 53%,rgba(255,255,255,.10) 76%,rgba(255,255,255,0) 100%)!important}
.hero-grid{position:relative!important;z-index:1!important;max-width:1440px!important;grid-template-columns:minmax(0,1fr) minmax(470px,.94fr)!important;gap:clamp(28px,4vw,58px)!important;align-items:center!important;min-height:790px!important;padding-top:64px!important;padding-bottom:66px!important}
.hero-copy{position:relative;z-index:2;max-width:680px}
.eyebrow{color:#176d36!important;background:#e9f6e8!important;border:1px solid #d6ead5!important;font-size:14px!important;font-weight:650!important;letter-spacing:.01em!important;box-shadow:none!important}
.dot{background:#16833b!important;box-shadow:none!important;animation:none!important}
.hero h1{color:#10243b!important;font-family:Inter,"Aptos","Segoe UI",Arial,sans-serif!important;font-size:clamp(39px,4vw,58px)!important;font-weight:750!important;line-height:1.08!important;letter-spacing:-.045em!important;text-shadow:none!important;margin:0 0 20px!important;max-width:720px!important}
.hero h1 mark{color:#16833b!important;background:linear-gradient(transparent 66%,#dcefdc 66%)!important;border-radius:0!important;padding:0 .02em .02em!important}
.hero .lead{color:#34465a!important;font-family:Inter,"Aptos","Segoe UI",Arial,sans-serif!important;font-size:clamp(17px,1.35vw,19px)!important;line-height:1.62!important;font-weight:400!important;max-width:620px!important;margin-bottom:23px!important}
.chips{gap:11px!important;margin-bottom:22px!important;max-width:620px!important}
.chip{color:#14283e!important;background:rgba(255,255,255,.96)!important;border:1px solid #e1e8e2!important;border-radius:12px!important;padding:15px 17px!important;font-family:Inter,"Aptos","Segoe UI",Arial,sans-serif!important;font-size:15px!important;font-weight:650!important;box-shadow:0 5px 16px rgba(16,36,59,.08)!important;backdrop-filter:none!important}
.chip .ico{color:#16833b!important}
.chip:hover,.chip.is-on{color:#123a25!important;background:#f2faf1!important;border-color:#b9dcb9!important}
.badges{gap:12px 22px!important}
.badges li{color:#24384b!important;font-size:14px!important;font-weight:600!important}
.badges svg{stroke:#16833b!important}
.form-card{position:relative!important;z-index:3!important;padding:26px 28px 21px!important;border:1px solid #e3e9e5!important;border-top:4px solid #16833b!important;border-radius:20px!important;background:rgba(255,255,255,.985)!important;box-shadow:0 18px 48px rgba(16,36,59,.15)!important;backdrop-filter:none!important}
.form-title{color:#10243b!important;font-size:25px!important;font-weight:750!important}
.form-title span{color:#16783a!important;background:#edf8ed!important}
legend{color:#10243b!important;font-weight:750!important}
.hint{color:#5d6b7b!important}
.choice{background:#fff!important;border:1px solid #dfe7e2!important;color:#172b40!important;box-shadow:0 3px 10px rgba(16,36,59,.045)!important}
.choice:hover,.choice:has(input:checked){border-color:#16833b!important;background:#f4faf3!important}
.progress span{background:#16833b!important}
.secure{color:#617083!important}
.trust-band{background:#fff!important;border-top:1px solid #edf1ed!important;border-bottom:1px solid #edf1ed!important}
.trust-grid>div{border-color:#e4ebe5!important}
.trust-grid b{color:#142b40!important}
.trust-grid span{color:#68778a!important}
@media(max-width:1050px){.hero-grid{grid-template-columns:minmax(0,1fr) minmax(390px,.9fr)!important;gap:25px!important}.hero h1{font-size:clamp(35px,4.4vw,48px)!important}}
@media(max-width:760px){
.hero{min-height:auto!important;background-position:58% center!important}
.hero::before{background:linear-gradient(180deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.90) 58%,rgba(255,255,255,.72) 100%)!important}
.hero-grid{display:grid!important;grid-template-columns:1fr!important;min-height:auto!important;padding-top:42px!important;padding-bottom:42px!important;gap:28px!important}
.hero-copy{max-width:none!important}
.hero h1{font-size:clamp(32px,8vw,42px)!important;line-height:1.12!important}
.hero .lead{font-size:16px!important;line-height:1.55!important}
.form-card{padding:22px 18px 18px!important}
.form-title{font-size:22px!important}
.chips{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.chip{font-size:13px!important;padding:12px 10px!important}
}

/* Final typography / clarity refinements */
.site-header{background:#fff!important;color:#10263c!important;box-shadow:0 2px 14px #10263c12!important}
.brand,.brand-name,.main-nav a,.header-phone{color:#142b40!important}
.hero{min-height:760px!important;background-position:center!important;background-size:cover!important}
.hero::before{background:linear-gradient(90deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.86) 33%,rgba(255,255,255,.46) 57%,rgba(255,255,255,.04) 80%)!important}
.hero-grid{max-width:1440px!important;grid-template-columns:minmax(0,1fr) minmax(450px,.95fr)!important;gap:38px!important;align-items:center!important;min-height:760px!important;padding-top:58px!important;padding-bottom:58px!important}
.hero h1{font-family:Inter,'Segoe UI',Arial,sans-serif!important;color:#10263c!important;font-weight:800!important;letter-spacing:-.045em!important;font-size:clamp(36px,3.8vw,55px)!important;line-height:1.1!important;text-shadow:none!important}
.hero h1 mark{color:#17813c!important;background:linear-gradient(transparent 72%,#dcefdc 72%)!important}
.hero .lead{color:#35475a!important;font-size:18px!important;line-height:1.6!important;text-shadow:none!important}
.eyebrow{color:#176d36!important;background:#e9f7e9!important;border:1px solid #d9ebd9!important}
.chip{background:#fffffff2!important;color:#162c40!important;border:1px solid #dce8e0!important;box-shadow:0 4px 14px #10263c12!important;backdrop-filter:none!important}
.badges li{color:#24394a!important}
.form-card{padding:26px 28px 20px!important;background:#fff!important;border:1px solid #e2eae3!important;border-top:4px solid #208c45!important;box-shadow:0 16px 45px #10263c26!important;backdrop-filter:none!important}
.form-title{font-size:26px!important;color:#10263c!important}
.form-card legend{color:#10263c!important}
.form-card .hint{color:#5a6a7a!important}
@media(max-width:760px){.hero{min-height:auto!important}.hero::before{background:linear-gradient(180deg,#ffffffed,#ffffffc9)!important}.hero-grid{grid-template-columns:1fr!important;min-height:auto!important;gap:25px!important;padding:36px 16px!important}.hero h1{font-size:clamp(31px,8vw,42px)!important}.form-card{padding:22px 18px!important}}

/* V29 - Maison sur la droite, verdure a gauche, PAC visible */
.hero{background-position:center center!important;background-size:cover!important;}
.hero::before{background:linear-gradient(90deg,rgba(255,255,255,.95) 0%,rgba(255,255,255,.87) 28%,rgba(255,255,255,.70) 43%,rgba(255,255,255,.22) 64%,rgba(255,255,255,0) 100%)!important;}
.hero-grid{align-items:center!important;}
.hero-copy{max-width:660px!important;}
.hero h1{color:#10243b!important;text-shadow:none!important;font-weight:800!important;}
.hero .lead{color:#273e50!important;}
@media(max-width:760px){.hero{background-position:59% center!important}.hero::before{background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.83) 62%,rgba(255,255,255,.58))!important;}}

/* V30 — compact right-side simulator, stronger modern typography */
@media (min-width: 1061px) {
.hero-grid { grid-template-columns:minmax(0,1fr) minmax(340px,410px)!important; gap:clamp(24px,3.3vw,54px)!important; }
.form-card { width:100%!important; max-width:410px!important; justify-self:end!important; padding:20px 21px 16px!important; border-radius:17px!important; }
.form-title { font-size:23px!important; }
.form-head { margin-bottom:13px!important; }
.form-head .progress { margin-top:10px!important; }
.form-card legend { font-size:20px!important; }
.form-card .hint { font-size:13px!important; margin-bottom:10px!important; }
.form-card .choices { gap:7px!important; }
.form-card .choice { padding:10px 9px!important; }
.form-card .form-nav { margin-top:11px!important; }
.form-card .secure { font-size:11px!important; margin-top:12px!important; }
.hero-copy { max-width:710px!important; }
.hero h1 { font-family:Inter,'Segoe UI',Arial,sans-serif!important; font-weight:800!important; letter-spacing:-.048em!important; font-size:clamp(39px,3.8vw,57px)!important; }
}
@media (min-width:761px) and (max-width:1060px) {
.hero-grid { grid-template-columns:minmax(0,1fr) minmax(320px,370px)!important; gap:22px!important; }
.form-card { width:100%!important; max-width:370px!important; padding:19px 18px!important; justify-self:end!important; }
.form-title { font-size:21px!important; }
.form-card .choice { padding:9px!important; }
.hero h1 { font-family:Inter,'Segoe UI',Arial,sans-serif!important; font-size:clamp(33px,4.2vw,44px)!important; }
}
@media(max-width:760px){
.hero-grid { grid-template-columns:1fr!important; }
.form-card { max-width:440px!important; width:100%!important; margin:0 auto!important; }
.hero h1 { font-family:Inter,'Segoe UI',Arial,sans-serif!important; font-weight:800!important; }
}

/* V31 — approved sharper, energetic typography; all layout and form functions unchanged */
.hero h1,.hero-copy h1 {font-family:Montserrat,Inter,'Segoe UI',Arial,sans-serif!important;font-weight:800!important;letter-spacing:-.047em!important;line-height:1.11!important;color:#0d2037!important;text-shadow:none!important;}
.hero h1 mark {font-family:inherit!important;font-weight:800!important;color:#11853c!important;}
.brand-name {font-family:Montserrat,Inter,Arial,sans-serif!important;font-weight:750!important;letter-spacing:-.04em!important;}
.chip,.main-nav a,.header-cta,.form-title,.form-card legend {font-family:Montserrat,Inter,Arial,sans-serif!important;font-weight:700!important;letter-spacing:-.025em!important;}
.hero .lead,.hint,.badges li,.form-card .secure {font-family:Inter,'Segoe UI',Arial,sans-serif!important;letter-spacing:-.012em!important;}
.hero .lead {font-weight:450!important;line-height:1.55!important;}
@media(max-width:760px){.hero h1,.hero-copy h1{line-height:1.14!important;letter-spacing:-.045em!important;}}

/* V32 - vertical balance: left text slightly higher, compact form centered */
@media(min-width:761px){.hero-grid{align-items:center!important}.hero-copy{transform:translateY(-25px)!important}.form-card{align-self:center!important;margin-top:0!important;margin-bottom:0!important}}
@media(max-width:760px){.hero-copy{transform:none!important}}

/* V33 – simulateur agrandi, centrage et typographie plus affirmée, sobre */
@media (min-width: 1061px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(490px, 530px) !important; gap: clamp(24px, 2.6vw, 42px) !important; }
  .form-card { width: 100% !important; max-width: 530px !important; justify-self: center !important; padding: 30px 31px 24px !important; border-radius: 20px !important; }
  .form-title { font-size: 27px !important; }
  .form-head { margin-bottom: 20px !important; }
  .form-card legend { font-size: 23px !important; }
  .form-card .hint { font-size: 15px !important; line-height: 1.55 !important; margin-bottom: 14px !important; }
  .form-card .choices { gap: 12px !important; }
  .form-card .choice { padding: 15px 12px !important; }
  .form-card .choice.tile { min-height: 145px !important; }
  .form-card .tile-label { font-size: 17px !important; }
  .form-card .form-nav { margin-top: 20px !important; }
  .form-card .secure { font-size: 12px !important; margin-top: 16px !important; }
}
@media (min-width: 761px) and (max-width: 1060px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 44%) !important; gap: 22px !important; }
  .form-card { max-width: none !important; justify-self: center !important; padding: 23px 23px !important; }
  .form-title { font-size: 23px !important; }
  .form-card .hint { font-size: 14px !important; }
  .form-card .choice { padding: 12px !important; }
}
.form-card { margin-left: auto !important; margin-right: auto !important; }
.form-card .form-title, .form-card legend, .form-card .tile-label,
.form-card .btn, .hero h1, .hero-copy h1 {
  font-family: Montserrat, Inter, 'Segoe UI', Arial, sans-serif !important;
  font-style: normal !important;
  letter-spacing: -.018em !important;
}
.hero h1, .hero-copy h1 { letter-spacing: -.032em !important; font-weight: 800 !important; }
.form-card .form-title, .form-card legend { font-weight: 750 !important; }
.form-card .tile-label { font-weight: 700 !important; }
.form-card .hint, .form-card .secure { letter-spacing: 0 !important; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr !important; }
  .form-card { max-width: 500px !important; width: 100% !important; padding: 24px 20px !important; }
  .form-card .tile-label { font-size: 16px !important; }
  .form-card .hint { font-size: 14px !important; }
}


/* V35 – formulaire plus grand et mieux centré dans le hero */
@media (min-width: 1180px) {
  .hero .wrap.hero-grid {
    max-width: 1140px !important;
    grid-template-columns: minmax(0, 1fr) 560px !important;
    gap: 28px !important;
    align-items: center !important;
    padding-top: 72px !important;
    padding-bottom: 78px !important;
  }
  .hero-copy {
    max-width: 560px !important;
    transform: none !important;
  }
  .form-card {
    max-width: 560px !important;
    width: 100% !important;
    justify-self: center !important;
    margin: 0 auto !important;
    padding: 34px 34px 26px !important;
    border-radius: 22px !important;
  }
  .form-title { font-size: 30px !important; }
  .form-card legend { font-size: 25px !important; }
  .form-card .hint { font-size: 15px !important; }
  .form-card .choice.tile { min-height: 156px !important; }
  .form-card .tile-label { font-size: 18px !important; }
}
@media (min-width: 900px) and (max-width: 1179px) {
  .hero .wrap.hero-grid {
    max-width: 1080px !important;
    grid-template-columns: minmax(0, 1fr) minmax(470px, 520px) !important;
    gap: 24px !important;
    align-items: center !important;
  }
  .hero-copy {
    max-width: 540px !important;
    transform: none !important;
  }
  .form-card {
    max-width: 520px !important;
    width: 100% !important;
    justify-self: center !important;
    margin: 0 auto !important;
    padding: 28px 28px 22px !important;
  }
  .form-title { font-size: 27px !important; }
  .form-card legend { font-size: 23px !important; }
}
@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr !important; }
  .form-card {
    max-width: 520px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
}


/* V36 – simulateur plus large et décalé vers le centre de l'écran */
@media (min-width: 1180px) {
  .hero .wrap.hero-grid {
    max-width: 1320px !important;
    grid-template-columns: minmax(0, 1fr) 620px !important;
    gap: 32px !important;
  }
  .hero .form-card {
    width: 620px !important;
    max-width: 620px !important;
    justify-self: center !important;
    transform: translateX(-42px) !important;
    padding: 36px 38px 28px !important;
  }
  .hero .form-title { font-size: 31px !important; }
  .hero .form-card .choice.tile { min-height: 162px !important; }
  .hero .form-card .tile-label { font-size: 19px !important; }
}
@media (min-width: 900px) and (max-width: 1179px) {
  .hero .form-card {transform:translateX(-16px) !important;}
}
@media (max-width: 899px) {
  .hero .form-card { transform:none !important; }
}


/* V37 : élargissement vers la droite sans écraser la colonne texte */
@media (min-width: 1180px) {
  .hero .wrap.hero-grid {
    max-width: 1320px !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 690px) !important;
    gap: 20px !important;
  }
  .hero .form-card {
    box-sizing: border-box !important;
    width: 690px !important;
    max-width: 690px !important;
    transform: translateX(12px) !important;
    justify-self: center !important;
    padding: 39px 42px 32px !important;
  }
  .hero .form-title { font-size: 31px !important; }
  .hero .form-card .choices { gap: 15px !important; }
  .hero .form-card .choice.tile { min-height: 170px !important; }
  .hero .form-card .tile-label { font-size: 19px !important; }
  .hero .form-card legend { font-size: 25px !important; }
}
@media (min-width: 900px) and (max-width: 1179px) {
  .hero .form-card { transform: none !important; }
}
@media (max-width: 899px) {
  .hero .form-card { max-width: 520px !important; width: 100% !important; transform: none !important; }
}


/* V38 — formulaire élargi et rehaussé, espace desktop mieux utilisé */
@media (min-width: 1180px) {
  .hero .wrap.hero-grid {
    max-width: 1440px !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 740px) !important;
    gap: 26px !important;
    align-items: center !important;
  }
  .hero .form-card {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 740px !important;
    justify-self: stretch !important;
    transform: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 49px 48px 42px !important;
    min-height: 580px !important;
    border-radius: 24px !important;
  }
  .hero .form-title { font-size: 34px !important; }
  .hero .form-head { margin-bottom: 29px !important; }
  .hero .form-card legend { font-size: 27px !important; margin-bottom: 12px !important; }
  .hero .form-card .hint { font-size: 17px !important; margin-bottom: 23px !important; }
  .hero .form-card .choices { gap: 18px !important; }
  .hero .form-card .choice.tile { min-height: 206px !important; padding: 22px 18px !important; }
  .hero .form-card .tile-label { font-size: 20px !important; }
  .hero .form-card .secure { font-size: 13px !important; margin-top: 28px !important; }
  .hero .form-card .form-nav { margin-top: 24px !important; }
}
@media (min-width: 900px) and (max-width: 1179px) {
  .hero .form-card { min-height: 500px !important; padding: 30px 27px !important; }
  .hero .form-card .choice.tile { min-height: 165px !important; }
}
@media (max-width: 899px) {
  .hero .form-card { min-height: 0 !important; max-width: 520px !important; transform: none !important; }
}

/* V39 — rééquilibrage: formulaire compact et proportionné */
@media (min-width: 1180px) {
 .hero .wrap.hero-grid { max-width: 1280px !important; grid-template-columns: minmax(0,1fr) minmax(0,590px) !important; gap: 32px !important; align-items:center !important; }
 .hero .form-card { width:100% !important; max-width:590px !important; min-height:0 !important; justify-self:center !important; transform:none !important; margin:0 auto !important; padding:30px 32px 25px !important; border-radius:20px !important; }
 .hero .form-title {font-size:28px !important;}
 .hero .form-head {margin-bottom:18px !important;}
 .hero .form-card legend {font-size:23px !important; margin-bottom:8px !important;}
 .hero .form-card .hint {font-size:15px !important; margin-bottom:14px !important;}
 .hero .form-card .choices {gap:12px !important;}
 .hero .form-card .choice.tile {min-height:150px !important; padding:16px 12px !important;}
 .hero .form-card .tile-label {font-size:17px !important;}
 .hero .form-card .secure {font-size:12px !important; margin-top:16px !important;}
 .hero .form-card .form-nav {margin-top:16px !important;}
}
@media (min-width: 900px) and (max-width: 1179px) {
 .hero .form-card {min-height:0 !important; padding:24px 24px 20px !important;}
 .hero .form-card .choice.tile {min-height:135px !important;}
}


/* V40 — formulaire plus compact, recentré et sans découpe visuelle */
@media (min-width: 1180px) {
  .hero .wrap.hero-grid {
    max-width: 1180px !important;
    grid-template-columns: minmax(0, 1fr) 520px !important;
    gap: 34px !important;
    align-items: center !important;
    padding-top: 58px !important;
    padding-bottom: 58px !important;
  }
  .hero .hero-copy {
    max-width: 560px !important;
  }
  .hero .form-card {
    width: 100% !important;
    max-width: 520px !important;
    min-height: 0 !important;
    justify-self: center !important;
    align-self: center !important;
    margin: 0 auto !important;
    padding: 22px 24px 18px !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
  }
  .hero .form-title { font-size: 24px !important; }
  .hero .form-head { margin-bottom: 14px !important; }
  .hero .form-card legend { font-size: 20px !important; margin-bottom: 6px !important; }
  .hero .form-card .hint { font-size: 14px !important; line-height: 1.45 !important; margin-bottom: 10px !important; }
  .hero .form-card .choices { gap: 10px !important; }
  .hero .form-card .choice.tile { min-height: 118px !important; padding: 12px 10px !important; }
  .hero .form-card .tile-label { font-size: 16px !important; }
  .hero .form-card .secure { font-size: 11px !important; margin-top: 12px !important; }
  .hero .form-card .form-nav { margin-top: 12px !important; }
}
@media (min-width: 900px) and (max-width: 1179px) {
  .hero .wrap.hero-grid {
    max-width: 1080px !important;
    grid-template-columns: minmax(0, 1fr) 500px !important;
    gap: 24px !important;
    align-items: center !important;
  }
  .hero .form-card {
    width: 100% !important;
    max-width: 500px !important;
    min-height: 0 !important;
    justify-self: center !important;
    margin: 0 auto !important;
    padding: 20px 20px 16px !important;
    border-radius: 18px !important;
  }
  .hero .form-title { font-size: 22px !important; }
  .hero .form-card legend { font-size: 19px !important; }
  .hero .form-card .hint { font-size: 14px !important; margin-bottom: 10px !important; }
  .hero .form-card .choice.tile { min-height: 112px !important; padding: 11px 10px !important; }
  .hero .form-card .tile-label { font-size: 15px !important; }
}
@media (max-width: 899px) {
  .hero .form-card {
    max-width: 460px !important;
    width: 100% !important;
    min-height: 0 !important;
  }
}

/* V50 — priorité au formulaire sur mobile pour les visiteurs des publicités.
   Le contenu de présentation reste accessible après le formulaire. */
@media (max-width: 899px) {
  .hero .wrap.hero-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    padding-top: 12px !important;
    padding-bottom: 26px !important;
  }
  .hero .form-card {
    order: -1 !important;
    width: 100% !important;
    max-width: 460px !important;
    margin: 0 auto !important;
    padding: 16px 14px 14px !important;
    scroll-margin-top: 62px !important;
  }
  .hero .hero-copy { order: 1 !important; transform: none !important; }
  .site-header .header-inner { height: 54px !important; min-height: 54px !important; }
  .site-header .brand-logo { max-height: 36px !important; }
  .site-header .brand-name { font-size: 19px !important; }
  .hero .form-card .form-head { margin-bottom: 8px !important; }
  .hero .form-card .form-title { font-size: 21px !important; }
  .hero .form-card legend { font-size: 19px !important; }
  .hero .form-card .hint { margin-bottom: 8px !important; }
  .hero .form-card .choices { gap: 8px !important; }
  .hero .form-card .choice.tile { min-height: 90px !important; padding: 9px 7px !important; }
  .hero .form-card .tile-label { font-size: 14px !important; }
  .hero .form-card .secure { margin-top: 10px !important; }
}

/* V52 — lisibilité renforcée des questions et réponses du formulaire */
.hero .form-card fieldset.step legend {
  font-family: Montserrat, Inter, Arial, sans-serif !important;
  font-size: 23px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: -.02em !important;
  color: #10243b !important;
  margin: 7px 0 13px !important;
}
.hero .form-card fieldset.step .hint {
  font-size: 16px !important;
  line-height: 1.45 !important;
  color: #26384a !important;
}
.hero .form-card fieldset.step .tile-label {
  font-size: 18px !important;
  line-height: 1.3 !important;
  font-weight: 750 !important;
  color: #10243b !important;
}
@media (max-width: 899px) {
  .hero .form-card fieldset.step legend { font-size: 21px !important; margin: 5px 0 12px !important; }
  .hero .form-card fieldset.step .hint { font-size: 15px !important; }
  .hero .form-card fieldset.step .tile-label { font-size: 17px !important; }
}

/* v55 : dernière étape compacte, sans case de consentement */
.hero .form-card .lead-privacy {display:none;font-size:11px;line-height:1.4;color:#586879;margin:7px 0 0;}
.hero .form-card form.is-contact-step .lead-privacy {display:block;}
@media(max-width:780px){
 .hero .form-card .step[data-step="4"] .row-2 {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;}
 .hero .form-card .step[data-step="4"] .field {min-width:0;margin:0 0 7px!important;}
 .hero .form-card .step[data-step="4"] .field>span {font-size:13px!important;margin-bottom:3px!important;}
 .hero .form-card .step[data-step="4"] .field input {height:42px!important;min-width:0;padding:0 9px!important;font-size:16px!important;}
 .hero .form-card .step[data-step="4"] legend {margin-bottom:6px!important;}
 .hero .form-card .step[data-step="4"] .hint {font-size:12px!important;line-height:1.35!important;margin:0 0 9px!important;}
 .hero .form-card .form-nav {margin-top:8px!important;}
 .hero .form-card .lead-privacy {font-size:11px;margin-top:8px;}
}

/* v56 : formulaire compact sur mobile, sans réduire la lisibilité */
@media (max-width: 780px) {
  .form-card .secure { margin-top: 7px !important; line-height: 1.35; }
  .form-card .form-title { font-size: clamp(21px, 5.2vw, 26px) !important; line-height: 1.18; padding-right: 58px !important; }
}

/* v57 : masquer uniquement le bloc de présentation sous le formulaire sur mobile. */
@media (max-width: 899px) {
  .hero .hero-copy { display: none !important; }
  .hero .hero-grid { padding-bottom: 14px !important; }
}

/* v58 - formulaire mobile plus large, sans modification de la version ordinateur */
@media (max-width: 899px) {
  .hero .wrap.hero-grid {
    width: calc(100% - 20px) !important;
    max-width: 620px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 0 !important;
  }
  .hero .form-card {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 19px 16px 16px !important;
  }
  .hero .form-card fieldset.step legend {font-size: 22px !important;}
  .hero .form-card fieldset.step .tile-label {font-size: 18px !important;}
  .hero .form-card .choice.tile {min-height: 96px !important;}
}
