/*
 * Coopimmo – Landing pages
 * Feuille autonome : le gabarit landing retire les styles du thème, tout ce dont la page a besoin est ici.
 * Mise en page : en-tête fixe, hero image avec formulaire à droite (dessous sur tablette et mobile),
 * puis sections alternant blanc, bleu pâle et vert pâle. Points de rupture : 1023px et 639px.
 */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #2e2e2e;
  --ink-soft: rgba(46, 46, 46, 0.9);
  --muted: #475569;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --tint-blue: #f6f9fc;
  --tint-ice: #eff5ff;
  --tint-green: #f7fcef;
  --night: #0f172a;
  --accent: #10775C;
  --lime: #85c557;
  --ok: #2bbb6e;
  --ok-bg: #def7ea;
  --err: #e5353a;
  --err-ink: #b4232a;
  --err-bg: #f7dedf;
  --warn-bg: #faecdb;
  --warn-ink: #b45f06;
  --focus: #2563eb;
  --focus-field: #60a5fa;
  --focus-halo: #dbeafe;
  --on-dark: #ffffff;
  --on-dark-soft: rgba(255, 255, 255, 0.9);
  --shadow-panel: 0 4px 20px rgba(0, 0, 0, 0.10);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.12);
  --font: 'Satoshi', 'Albert Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gl: max(16px, env(safe-area-inset-left, 0px));
  --gr: max(16px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}
html { scroll-behavior: smooth; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.5; }
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
img { display: block; max-width: 100%; }
sup { font-size: .55em; line-height: 0; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.wrap { max-width: 1320px; margin-inline: auto; padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); }
.accent { color: var(--accent); }
.nowrap { white-space: nowrap; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.top .wrap { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 20px; min-width: 0; }
.brand .lm { height: 46px; width: auto; }
.brand .sep { width: 1px; height: 36px; background: var(--line-strong); flex: none; }
.brand .co { width: 170px; height: auto; }
.brand .name { font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--accent); }
.ic { color: var(--accent); flex: none; }
.top-right { display: flex; align-items: center; gap: 24px; }
.place { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 16px 24px; border: 0; border-radius: 8px; background: var(--night); color: var(--on-dark); font: inherit; font-weight: 700; font-size: 17px; line-height: 1.3; text-decoration: none; cursor: pointer; transition: background .5s ease, color .5s ease, box-shadow .5s ease, transform .15s ease; }
.btn:hover { background: var(--accent); color: var(--on-dark); }
.btn svg { flex: none; transition: transform .3s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn.light { background: var(--on-dark); color: var(--night); }
.btn.light:hover { background: var(--lime); color: var(--night); }
.btn.ghost { background: transparent; color: var(--night); box-shadow: inset 0 0 0 1px var(--night); min-height: 48px; padding: 12px 20px; font-size: 16px; }
.btn.ghost:hover { background: var(--night); color: var(--on-dark); }
.btn.small { min-height: 48px; padding: 12px 20px; font-size: 16px; }
.btn.block { width: 100%; }
.btn[disabled] { cursor: progress; background: var(--night); }
.note { margin-top: 10px; font-size: 14px; font-weight: 500; font-style: italic; color: var(--muted); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(max(40px, env(safe-area-inset-left, 0px)), 1fr) minmax(0, 780px) 460px minmax(max(40px, env(safe-area-inset-right, 0px)), 1fr); }
.hero-bg { grid-column: 1 / -1; grid-row: 1; position: relative; overflow: hidden; background: var(--night); min-height: 720px; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%; animation: ken 2.6s var(--ease) both; }
.hero-bg .veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,42,.86) 0%, rgba(15,23,42,.62) 40%, rgba(15,23,42,.12) 72%, rgba(15,23,42,.2) 100%); }
.hero-text { grid-column: 2; grid-row: 1; z-index: 1; align-self: center; padding-block: 56px; padding-right: 56px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; color: var(--on-dark); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 32px; background: rgba(15,23,42,.45); border: 1px solid rgba(255,255,255,.35); font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 1.8s ease-out infinite; }
.hero h1 { font-size: 56px; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; }
.hero .lede { max-width: 560px; font-size: 20px; color: var(--on-dark-soft); }
.facts { display: flex; flex-wrap: wrap; gap: 12px; }
.fact { padding: 16px 22px; border-radius: 16px; display: flex; flex-direction: column; line-height: 1.3; }
.fact small { font-size: 14px; }
.fact b { font-size: 34px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fact.white { background: var(--bg); color: var(--ink); }
.fact.white small { color: var(--muted); }
.fact.white b { color: var(--accent); }
.fact.glass { background: rgba(15,23,42,.55); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); color: var(--on-dark); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 16px; font-weight: 500; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { flex: none; stroke: var(--lime); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.trust.below { display: none; grid-column: 2; grid-row: 3; justify-content: center; padding: 24px 0 8px; color: var(--ink); }
.trust.below svg { stroke: var(--accent); }
.tel { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; color: var(--night); text-decoration: none; white-space: nowrap; }
.call { display: none; grid-column: 2; grid-row: 4; text-align: center; padding-bottom: 32px; font-size: 16px; }
.call a { color: var(--night); font-weight: 700; white-space: nowrap; }
.cta .or { margin-top: 8px; }
.cta .or a { color: var(--on-dark); font-weight: 700; white-space: nowrap; }
.form-card { grid-column: 3; grid-row: 1; z-index: 1; align-self: center; margin-block: 56px; scroll-margin-top: 110px; background: var(--bg); color: var(--ink); border-radius: 24px; box-shadow: var(--shadow-panel); padding: 28px; animation: up .9s var(--ease) .24s both; }
.form-card.glow { animation: glow 1.6s ease .3s; }
.form-card.shake { animation: shake .4s ease; }
.rise { animation: up .9s var(--ease) both; }
.d1 { animation-delay: .12s; } .d2 { animation-delay: .24s; } .d3 { animation-delay: .36s; } .d4 { animation-delay: .48s; }

/* Formulaire */
.f-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.f-step { white-space: nowrap; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.link { white-space: nowrap; border: 0; background: none; padding: 6px 0; min-height: 28px; font: inherit; font-size: 14px; font-weight: 500; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; text-underline-offset: 3px; transition: color .3s ease; }
.link:hover { color: var(--accent); }
.bar { margin-top: 8px; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 40%; border-radius: 6px; background: var(--accent); transition: width .7s var(--ease); }
.bar.s2 i { width: 80%; }
.pane { display: flex; flex-direction: column; animation: slide .45s var(--ease) both; }
.pane h2 { margin: 20px 0 4px; font-size: 24px; line-height: 1.3; font-weight: 700; }
.pane .sub { margin-bottom: 20px; font-size: 15px; color: var(--muted); }
.q { margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.q span { font-weight: 400; color: var(--muted); }
.chips2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.chips4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; }
.chip { font: inherit; font-size: 16px; font-weight: 500; min-height: 48px; padding: 10px 8px; border-radius: 32px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; transition: background .3s ease, border-color .3s ease, color .3s ease, transform .15s ease; }
.chip:hover { border-color: var(--accent); background: var(--tint-green); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-dark); }
.chip[disabled] { cursor: default; opacity: .6; }
.chip svg { width: 0; height: 16px; opacity: 0; transform: scale(.4); transition: all .35s var(--spring); }
.chip[aria-pressed="true"] svg { width: 16px; margin-right: 8px; opacity: 1; transform: scale(1); }
.civ { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.civ .q { margin: 0; }
.civ div { display: flex; gap: 8px; }
.civ .chip { min-height: 44px; padding: 8px 18px; }
.fields { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cell { min-width: 0; }
.cell.wide { grid-column: 1 / -1; }
.field { position: relative; display: block; }
.field input { width: 100%; height: 56px; padding: 22px 40px 6px 14px; font: inherit; font-size: 16px; color: #1e293b; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 4px; outline: none; transition: border-color .3s ease, box-shadow .3s ease, background .3s ease; }
.field input:hover { border-color: #94a3b8; }
.field input:focus { border-color: var(--focus-field); box-shadow: 0 0 0 2px var(--focus-halo); }
.field input[disabled] { background: var(--tint-blue); color: var(--muted); }
.field .lab { position: absolute; left: 15px; top: 17px; font-size: 16px; line-height: 22px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .2s ease; }
.field input:focus + .lab, .field input:not(:placeholder-shown) + .lab { transform: translateY(-10px) scale(.75); }
.field .mark { position: absolute; right: 12px; top: 18px; width: 20px; height: 20px; transform: scale(0); transition: transform .35s var(--spring); }
.cell.ok .mark.good, .cell.bad .mark.wrong { transform: scale(1); }
.cell.bad input { border-color: var(--err); background: #fffafa; }
.cell.bad input:focus { box-shadow: 0 0 0 2px var(--err-bg); }
.err { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--err-ink); animation: drop .25s ease both; }
.err svg { flex: none; margin-top: 2px; }
.banner { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; padding: 12px 14px; border-radius: 16px; font-size: 14px; line-height: 1.4; color: var(--ink); animation: drop .25s ease both; }
.banner svg { flex: none; margin-top: 1px; }
.banner.warn { background: var(--warn-bg); }
.banner.fail { background: var(--err-bg); }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; font-size: 12.5px; line-height: 1.45; cursor: pointer; }
.check.first { margin-top: 16px; }
.check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.check span span { color: var(--muted); }
.err.indent { margin-left: 30px; }
.submit { margin-top: 18px; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: var(--on-dark); animation: rot .8s linear infinite; }
.center { text-align: center; align-self: center; }
.rgpd { margin-top: 8px; text-align: center; font-size: 12px; line-height: 1.45; color: var(--muted); }
.done { align-items: center; text-align: center; padding: 12px 0 4px; }
.done h2 { margin: 12px 0 8px; }
.done p { font-size: 16px; color: var(--muted); }
.recap { width: 100%; margin-top: 20px; padding: 16px 18px; border-radius: 16px; background: var(--ok-bg); text-align: left; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.4; }
.recap div { display: flex; justify-content: space-between; gap: 16px; }
.recap span { color: var(--muted); }
.recap b { text-align: right; overflow-wrap: anywhere; }
.done .link { margin-top: 14px; }
.ring { stroke-dasharray: 176; stroke-dashoffset: 176; animation: draw .7s ease forwards; }
.tick { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .55s ease forwards; }
.halo { transform-box: fill-box; transform-origin: center; opacity: 0; animation: halo 1s .5s ease-out both; }

/* Chiffres clés */
.keys { border-bottom: 1px solid var(--line); }
.keys .wrap { padding-block: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.key { display: flex; flex-direction: column; gap: 2px; padding-left: 20px; border-left: 4px solid var(--tint-green); }
.key b { font-size: 40px; line-height: 1.2; font-weight: 700; color: var(--accent); }
.key span { font-size: 16px; }

/* Sections */
.sec { padding-block: 80px; }
.sec.blue { background: var(--tint-blue); }
.sec.green { background: var(--tint-green); }
.over { font-size: 17px; line-height: 1.3; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.sec h2 { margin-top: 8px; font-size: 32px; line-height: 1.3; font-weight: 700; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.photo { position: relative; padding-bottom: 28px; }
.photo .frame { height: 480px; border-radius: 16px; overflow: hidden; background: var(--line-strong); }
.photo .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 60%; transition: transform 1.4s var(--ease); }
.photo:hover .frame img { transform: scale(1.05); }
.photo .tag { position: absolute; left: 24px; bottom: 0; max-width: 340px; padding: 16px 18px; border-radius: 16px; background: var(--bg); border: 4px solid var(--tint-blue); box-shadow: var(--shadow-card); display: flex; gap: 14px; align-items: center; font-size: 15px; line-height: 1.35; font-weight: 500; }
.photo .cap { position: absolute; right: 0; bottom: 0; font-size: 12px; font-style: italic; color: var(--muted); }
.ico { flex: none; width: 48px; height: 48px; border-radius: 8px; background: var(--tint-green); display: inline-flex; align-items: center; justify-content: center; transition: transform .5s var(--spring); }
.ico svg { stroke: var(--accent); }
.prose { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.prose h2 { margin-bottom: 24px; }
.prose p { margin-bottom: 16px; max-width: 62ch; }
.prose .btn { margin-top: 16px; }
.prose .note { margin-bottom: 0; }
.head { text-align: center; margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { padding: 24px; border-radius: 16px; background: var(--bg); border: 4px solid var(--tint-ice); display: flex; flex-direction: column; gap: 12px; transition: border-color .5s ease, transform .5s ease; }
.card:hover { border-color: var(--accent); transform: translateY(-4px); }
.card:hover .ico { transform: rotate(-6deg) scale(1.08); }
.card h3 { font-size: 20px; line-height: 1.4; font-weight: 700; }
.card p { font-size: 16px; line-height: 1.45; color: var(--ink-soft); }
.card.dark { background: var(--night); border-color: var(--night); color: var(--on-dark); align-items: flex-start; }
.card.dark:hover { border-color: var(--night); transform: none; }
.card.dark p { color: var(--on-dark-soft); flex-grow: 1; }
.swipe { display: none; }
.panel { padding: 48px 56px; border-radius: 24px; background: var(--bg); box-shadow: var(--shadow-panel); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.panel .prose h2 { margin-bottom: 16px; }
.panel .accent { white-space: nowrap; }
.panel.solo { grid-template-columns: minmax(0, 1fr); }
.steps { display: flex; flex-direction: column; gap: 28px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.steps .n { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-dark); font-size: 18px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.steps .n.next { background: var(--tint-green); color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.steps h3 { font-size: 20px; line-height: 1.5; font-weight: 700; }
.steps p { font-size: 16px; line-height: 1.45; color: var(--ink-soft); }
.sec.last { padding-bottom: 40px; }
.cta { position: relative; overflow: hidden; padding: 56px; border-radius: 24px; background: var(--night); color: var(--on-dark); display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.cta .loop { position: absolute; right: -40px; top: -20px; width: 520px; height: 260px; opacity: .16; }
.cta div { position: relative; max-width: 720px; }
.cta h2 { margin: 0 0 12px; }
.cta h2 span { color: var(--lime); }
.cta p { color: var(--on-dark-soft); }
.cta .btn { position: relative; flex: none; }
.legal { padding-bottom: 40px; scroll-margin-top: 110px; }
.legal .wrap { display: flex; flex-direction: column; gap: 6px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.foot { background: #fdfdfd; border-top: 1px solid var(--line); }
.foot .wrap { padding-block: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px 32px; flex-wrap: wrap; }
.foot .who { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot .who img { width: 200px; height: auto; }
.foot .who span { max-width: 420px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.foot nav { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.foot nav a { color: var(--ink-soft); padding-block: 12px; }
.dock { display: none; }

@keyframes up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes lift { from { opacity: .35; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes slide { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes ken { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes pulse { from { box-shadow: 0 0 0 0 rgba(133,197,87,.7); } to { box-shadow: 0 0 0 10px rgba(133,197,87,0); } }
@keyframes glow { 0%, 100% { box-shadow: var(--shadow-panel); } 40% { box-shadow: 0 0 0 6px rgba(133,197,87,.6), var(--shadow-panel); } }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
@keyframes rot { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes halo { from { transform: scale(.7); opacity: .45; } to { transform: scale(1.35); opacity: 0; } }
@keyframes dockin { from { transform: translateY(100%); } to { transform: none; } }
@supports (animation-timeline: view()) {
  .reveal { animation: lift linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
}

/* Tablette */
@media (max-width: 1023px) {
  body { font-size: 17px; }
  .top .wrap { height: 72px; }
  .brand { gap: 16px; }
  .brand .lm { height: 40px; }
  .brand .sep { height: 32px; }
  .brand .co { width: 150px; }
  .place { display: none; }
  .hero { grid-template-columns: max(40px, env(safe-area-inset-left, 0px)) minmax(0, 1fr) max(40px, env(safe-area-inset-right, 0px)); }
  .hero-bg { min-height: 0; }
  .hero-bg img { object-position: 36% 50%; }
  .hero-bg .veil { background: linear-gradient(180deg, rgba(15,23,42,.5) 0%, rgba(15,23,42,.72) 55%, rgba(15,23,42,.9) 100%); }
  .hero-text { padding: 56px 0 152px; gap: 20px; }
  .hero h1 { font-size: 44px; max-width: 680px; }
  .hero .lede { font-size: 19px; max-width: 600px; }
  .fact b { font-size: 30px; }
  .hero-text .trust { display: none; }
  .trust.below { display: flex; font-size: 15px; }
  .call { display: block; }
  .top-right { gap: 20px; }
  .tel { font-size: 17px; }
  .form-card { grid-column: 2; grid-row: 2; width: 100%; max-width: 560px; justify-self: center; margin: -104px 0 0; scroll-margin-top: 92px; }
  .keys .wrap { padding-block: 32px; gap: 20px; }
  .key { padding-left: 14px; }
  .key b { font-size: 32px; }
  .key span { font-size: 14px; line-height: 1.4; }
  .sec { padding-block: 64px; }
  .over { font-size: 15px; }
  .sec h2 { font-size: 28px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .photo .frame { height: 380px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .panel { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 40px; }
  .steps { flex-direction: row; gap: 24px; padding-top: 32px; border-top: 1px solid var(--line); }
  .steps li { flex: 1 1 0; flex-direction: column; gap: 10px; }
  .steps h3 { font-size: 18px; line-height: 1.35; }
  .steps p { font-size: 15px; }
  .cta { flex-direction: column; align-items: flex-start; gap: 24px; padding: 44px 40px; }
  .sec.last { padding-bottom: 32px; }
}

/* Mobile */
@media (max-width: 639px) {
  body { font-size: 16px; }
  .wrap { padding-left: var(--gl); padding-right: var(--gr); }
  .top .wrap { height: 64px; gap: 12px; }
  .brand { gap: 12px; }
  .brand .lm { height: 32px; }
  .brand .sep { height: 28px; }
  .brand .co { width: 104px; }
  .btn.ghost { min-height: 44px; padding: 10px 14px; font-size: 15px; flex: none; }
  .top .tel { display: none; }
  .call { text-align: left; padding: 0 4px 28px; font-size: 15px; }
  .hero { grid-template-columns: var(--gl) minmax(0, 1fr) var(--gr); }
  .hero-bg img { height: 340px; inset: 0 0 auto; object-position: 34% 50%; }
  .hero-bg .veil { height: 342px; inset: 0 0 auto; background: linear-gradient(180deg, rgba(15,23,42,.1) 0%, rgba(15,23,42,.45) 50%, #0f172a 100%); }
  .hero-text { padding: 168px 0 72px; gap: 14px; }
  .pill { padding: 6px 12px; font-size: 12px; gap: 8px; }
  .hero h1 { font-size: 30px; line-height: 1.22; letter-spacing: -.01em; }
  .hero .lede { font-size: 16px; }
  .facts { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .fact { padding: 12px 14px; }
  .fact small { font-size: 12px; }
  .fact b { font-size: clamp(19px, 6vw, 23px); }
  .fact.glass { background: rgba(255,255,255,.1); backdrop-filter: none; }
  .form-card { margin-top: -48px; padding: 24px 20px; scroll-margin-top: 76px; }
  .chips4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust.below { flex-direction: column; gap: 8px; padding: 20px 4px 16px; }
  .keys { border-top: 1px solid var(--line); }
  .keys .wrap { padding-block: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .key { padding-left: 12px; }
  .key b { font-size: 28px; }
  .sec { padding-block: 40px; }
  .over { font-size: 13px; letter-spacing: .06em; }
  .sec h2 { margin-top: 6px; font-size: 24px; }
  .split { gap: 28px; }
  .photo { padding-bottom: 0; display: flex; flex-direction: column; }
  .photo .frame { height: 232px; }
  .photo .cap { position: static; align-self: flex-end; margin-top: 6px; order: 1; }
  .photo .tag { position: static; max-width: none; margin-top: 12px; padding: 12px 14px; font-size: 14px; box-shadow: var(--shadow-panel); order: 2; }
  .ico { width: 44px; height: 44px; }
  .prose h2 { margin-bottom: 20px; }
  .prose p { margin-bottom: 12px; }
  .prose .btn { width: 100%; margin-top: 12px; }
  .prose .note { align-self: center; text-align: center; }
  .head { text-align: left; margin-bottom: 20px; }
  .rail { margin-left: calc(-1 * var(--gl)); margin-right: calc(-1 * var(--gr)); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gl); scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .cards { display: flex; gap: 12px; width: max-content; padding: 0 var(--gr) 4px var(--gl); }
  .card { width: 72vw; max-width: 300px; scroll-snap-align: start; padding: 18px; gap: 10px; }
  .card:hover { transform: none; }
  .card h3 { font-size: 18px; line-height: 1.3; }
  .card p { font-size: 15px; }
  .swipe { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--muted); }
  .panel { padding: 24px 20px; gap: 24px; }
  .panel .prose h2 { margin-bottom: 12px; }
  .steps { flex-direction: column; gap: 20px; padding-top: 24px; }
  .steps li { flex-direction: row; gap: 14px; }
  .steps .n { width: 40px; height: 40px; font-size: 17px; }
  .steps h3 { font-size: 17px; line-height: 1.4; }
  .sec.last { padding-block: 32px 24px; }
  .cta { padding: 28px 20px; gap: 20px; }
  .cta .loop { right: -80px; top: -30px; width: 320px; height: 160px; }
  .cta .btn { width: 100%; }
  .legal { padding-bottom: 24px; scroll-margin-top: 76px; }
  .foot .wrap { padding-block: 24px 28px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .foot .who { flex-direction: column; align-items: flex-start; gap: 8px; }
  .foot .who img { width: 170px; }
  .foot nav { gap: 8px 24px; flex-wrap: wrap; }
  .dock { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gr) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gl); background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(0,0,0,.10); animation: dockin .7s var(--ease) 1.2s both; }
  .dock div { display: flex; flex-direction: column; line-height: 1.25; }
  .dock small { font-size: 12px; color: var(--muted); }
  .dock b { font-size: 19px; font-weight: 700; color: var(--accent); white-space: nowrap; }
  .dock .btn { flex: 1 1 auto; max-width: 180px; min-height: 48px; padding: 12px 16px; font-size: 16px; }
  .dock .btn.ghost { flex: none; width: 48px; max-width: 48px; padding: 0; margin-left: auto; }
  .dock .btn.ghost:hover svg { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .form-card, .form-card.glow, .form-card.shake, .hero-bg img, .pill i, .reveal, .pane, .err, .banner, .halo, .dock { animation: none; }
  .ring, .tick { animation: none; stroke-dashoffset: 0; }
}

/* Barre d'administration WordPress */
.admin-bar .top { top: 32px; }
@media (max-width: 782px) { .admin-bar .top { top: 46px; } }
@media (max-width: 600px) { .admin-bar .top { top: 0; } }
