/* Polices hébergées sur le site (pas d'appel à Google Fonts) */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/assets/fonts/outfit-latin.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format("woff2"); }

/* My Portique · site vitrine (base + page marketing ; le téléphone de démo est dans demo.css) */
:root {
  --navy: #0E1C36;
  --navy-2: #172A47;
  --blue: #04426B;
  --blue-2: #0A5A8F;
  --yellow: #F6AC22;
  --yellow-2: #FFC24D;
  --ink: #0E1C36;
  --text: #3C4A60;
  --muted: #6B7890;
  --line: #E3E8F0;
  --bg: #FFFFFF;
  --bg-alt: #F4F7FB;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(14, 28, 54, .25);
  --head: "Outfit", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 400 16px/1.65 var(--body); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-2); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.lead { font-size: 1.1rem; }
.eyebrow { font: 700 .8rem/1 var(--head); text-transform: uppercase; letter-spacing: .14em; color: var(--blue-2); margin-bottom: 14px; }
.note { font-size: .92rem; color: var(--muted); }

svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font: 700 1rem/1 var(--head); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s, color .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-accent { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(246, 172, 34, .8); }
.btn-accent:hover { background: var(--yellow-2); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-block { width: 100%; }

/* Barre du haut */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(14, 28, 54, .92); backdrop-filter: blur(12px); transition: box-shadow .2s; }
.topbar.scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }
.topbar-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font: 700 1.25rem/1 var(--head); }
.brand b { color: var(--yellow); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { color: rgba(255, 255, 255, .78); text-decoration: none; font: 500 .95rem/1 var(--head); transition: color .15s; }
.nav a:hover { color: #fff; }
.nav .nav-cta { display: none; }
.nav .nav-login { color: #fff; padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .2); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Hero */
/* Fond du hero : image légère sur mobile, grande image sur ordinateur */
.hero { --hero-img: url(/assets/banner-900.webp); position: relative; color: #fff; background: radial-gradient(1000px 500px at 85% 20%, rgba(10, 90, 143, .55), transparent 60%), linear-gradient(180deg, rgba(14, 28, 54, .88), rgba(14, 28, 54, .97)), var(--hero-img) center/cover; overflow: hidden; }
@media (min-width: 901px) { .hero { --hero-img: url(/assets/banner.webp); } }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 80px; background: linear-gradient(transparent, rgba(14, 28, 54, .6)); pointer-events: none; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 96px 0 110px; position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .hl { color: var(--yellow); }
.hero .eyebrow { color: var(--yellow); }
.hero .lead { color: rgba(255, 255, 255, .8); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 28px; }
.hero-proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: rgba(255, 255, 255, .75); }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--yellow); stroke-width: 3; }

/* Chiffres */
.stats { background: var(--navy); color: #fff; border-top: 1px solid rgba(255, 255, 255, .08); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); padding: 34px 0; text-align: center; }
.stats-in div + div { border-left: 1px solid rgba(255, 255, 255, .12); }
.stats strong { display: block; font: 800 2.3rem/1.1 var(--head); color: var(--yellow); }
.stats span { font-size: .92rem; color: rgba(255, 255, 255, .7); }

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .lead { color: var(--muted); }

.ic { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #E6F0F8; color: var(--blue); }

.section-dark { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, var(--blue) 140%); color: rgba(255, 255, 255, .8); }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--yellow); }
.section-dark .note { color: rgba(255, 255, 255, .6); }
.section-dark .note a { color: var(--yellow); }

/* Contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.contact-info .lead { color: var(--muted); }
.coords { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.coords li { display: flex; align-items: center; gap: 16px; color: var(--ink); font-weight: 500; }
.coords a { color: var(--ink); text-decoration: none; }
.coords a:hover { color: var(--blue-2); }
.coords .ic { width: 46px; height: 46px; }
.coords svg { width: 22px; height: 22px; }
.form { background: var(--bg-alt); border-radius: 24px; padding: 34px; display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; font: 600 .9rem/1.2 var(--head); color: var(--ink); }
.form em { font-style: normal; font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { font: 400 1rem/1.4 var(--body); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(10, 90, 143, .15); }
.form-hint { margin: 0; font-size: .82rem; color: var(--muted); text-align: center; }

/* Pied de page */
.footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 70px 0 30px; font-size: .95rem; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer nav { display: grid; gap: 8px; align-content: start; }
.footer a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer-brand p { margin: 14px 0 18px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; }
.socials a:hover { background: var(--yellow); color: var(--navy); }
.socials svg { width: 19px; height: 19px; }
.copy { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: rgba(255, 255, 255, .5); }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* Responsive */
@media (max-width: 1060px) {
  .nav { gap: 18px; }
  .topbar-cta { display: none; }
  .footer-in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); padding: 8px 16px 20px; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); transform: translateY(-120%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .nav a { padding: 15px 4px; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav .nav-login { padding-left: 4px; border-left: 0; color: var(--yellow); border-bottom: 0; }
  .nav .nav-cta { display: block; margin-top: 12px; padding: 15px; border: 0; border-radius: 99px; background: var(--yellow); color: var(--navy); text-align: center; font-weight: 700; }
  .menu-open .nav { transform: none; visibility: visible; }
  .menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .burger span:nth-child(2) { opacity: 0; }
  .menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-in { grid-template-columns: 1fr; padding: 64px 0 90px; gap: 60px; }
  .section { padding: 72px 0; }
  .contact { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 600px) {
  .stats-in { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .stats-in div:nth-child(3) { border-left: 0; }
  .form { padding: 22px; }
  .form .row { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; gap: 30px; }
  .footer nav { gap: 0; }
  .footer nav a, .footer p a { display: inline-block; padding: 9px 0; }
  .hero-in { padding: 44px 0 70px; gap: 44px; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas .btn-lg, .mk-final .btn-lg { padding: 16px 20px; font-size: 1rem; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
}

@media (max-width: 400px) {
  .hero-ctas .btn-lg svg { display: none; }
  .hero-ctas .btn-lg { padding: 16px 10px; font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ===== Page marketing ===== */
.btn-lg { padding: 17px 30px; font-size: 1.08rem; }
.btn svg { width: 20px; height: 20px; stroke-width: 2.5; }
.mk-brandline { display: block; font: 800 .9rem/1 var(--head); letter-spacing: .3em; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; }

/* Hero */
.mk-hero .hero-in { padding: 80px 0 100px; }
.mk-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); }
.mk-hero .lead strong { color: #fff; }

/* Douleurs */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain { display: flex; flex-direction: column; padding: 28px 26px 0; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 0 var(--line); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.pain:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.pain-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.pain-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--yellow); }
.pain-ic svg { width: 21px; height: 21px; }
.pain-time { font: 700 .8rem/1 var(--head); color: var(--blue-2); text-transform: uppercase; letter-spacing: .08em; background: #E6F0F8; padding: 7px 11px; border-radius: 99px; }
.pain h3 { font-size: 1.15rem; line-height: 1.3; }
.pain p { color: var(--muted); }
.pain .pain-fix { display: flex; align-items: center; gap: 10px; margin: auto -26px 0; padding: 15px 26px; background: var(--navy); color: #fff; font: 600 .92rem/1.3 var(--head); }
.pain-fix svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--yellow); color: var(--navy); stroke-width: 3.5; }
.punch { display: flex; align-items: center; gap: 24px; margin: 44px auto 0; max-width: 980px; padding: 24px 28px; border-radius: 22px; background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff; box-shadow: var(--shadow); }
.punch img { flex: none; width: 64px; height: 64px; border-radius: 50%; }
.punch p { flex: 1; margin: 0; font: 800 clamp(1.15rem, 2vw, 1.5rem)/1.3 var(--head); }
.punch span { color: var(--yellow); }
.punch .btn { flex: none; }

/* Avant / après */
.versus { max-width: 920px; margin: 0 auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.vs-row { display: grid; grid-template-columns: 1fr 1.2fr 1.4fr; align-items: center; border-bottom: 1px solid var(--line); }
.vs-row:last-child { border-bottom: 0; }
.vs-row > span { padding: 18px 22px; }
.vs-row > span:first-child { font: 700 1rem/1.3 var(--head); color: var(--ink); }
.vs-row > span:nth-child(2) { color: var(--muted); }
.vs-row > span:nth-child(2)::before { content: "✕"; color: #C0392B; font-weight: 700; margin-right: 10px; }
.vs-row > span:nth-child(3) { background: #F2FAF5; color: var(--ink); font-weight: 600; height: 100%; display: flex; align-items: center; }
.vs-row > span:nth-child(3)::before { content: "✓"; color: #14864A; font-weight: 800; margin-right: 10px; }
.vs-head > span { font: 700 .8rem/1 var(--head) !important; text-transform: uppercase; letter-spacing: .08em; padding-block: 16px; }
.vs-head > span::before { content: none !important; }
.vs-head > span:nth-child(3) { background: var(--navy); color: var(--yellow); }

/* Démo guidée */
.tour { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "head phone" "progress phone" "missions phone"; column-gap: 80px; align-items: start; }
.tour-head { grid-area: head; }
.tour-head .lead { color: rgba(255, 255, 255, .75); }
.tour-phone { grid-area: phone; align-self: center; }
.tour-missions { grid-area: missions; }
.mission-progress-wrap { grid-area: progress; }
.mission-progress { display: flex; align-items: center; gap: 14px; font: 700 .9rem/1 var(--head); color: var(--yellow); margin: 10px 0 16px; }
.mission-progress i { flex: 1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.mission-progress b { display: block; height: 100%; width: 0; background: var(--yellow); border-radius: 99px; transition: width .4s; }
.missions { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.missions li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: background .3s, border-color .3s; }
.missions strong { display: block; font: 700 1rem/1.3 var(--head); color: #fff; }
.missions small { color: rgba(255, 255, 255, .6); font-size: .86rem; }
.m-check { flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); transition: background .3s, border-color .3s; }
.missions li.ok { background: rgba(46, 209, 88, .1); border-color: rgba(46, 209, 88, .45); }
.missions li.ok strong { text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .4); }
.missions li.ok .m-check { background: #2ED158 url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27white%27 stroke-width=%273.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M6 12l4 4 8-8%27/%3E%3C/svg%3E") center/14px no-repeat; border-color: #2ED158; }
.mission-done { margin-top: 18px; padding: 22px; border-radius: 16px; background: var(--yellow); color: var(--navy); animation: pop .4s ease-out; }
.mission-done strong { display: block; font: 800 1.2rem/1.3 var(--head); }
.mission-done p { margin: 6px 0 16px; }
.mission-done .btn-accent { background: var(--navy); color: #fff; box-shadow: none; }
@keyframes pop { from { transform: scale(.95); opacity: 0; } }

/* Calculateur */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.calc-text .lead { color: var(--muted); }
.calc-fields { display: grid; gap: 26px; margin-top: 30px; }
.calc-fields label { display: grid; gap: 10px; }
.calc-fields label > span { display: flex; justify-content: space-between; font: 600 1rem/1.2 var(--head); color: var(--ink); }
.calc-fields output { font-weight: 800; color: var(--blue-2); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: var(--line); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(14, 28, 54, .35); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--yellow); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(14, 28, 54, .35); cursor: pointer; }
input[type=range]:focus-visible { outline: 3px solid var(--yellow); outline-offset: 6px; }
.calc-result { background: var(--navy); color: rgba(255, 255, 255, .75); border-radius: 26px; padding: 36px; box-shadow: var(--shadow); }
.calc-result > p { margin-bottom: 20px; }
.calc-big { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 2px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.calc-big strong { font: 800 2.6rem/1 var(--head); color: var(--yellow); white-space: nowrap; }
.calc-result .btn { margin-top: 26px; }

/* Étapes */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; background: #fff; border-radius: var(--radius); padding: 34px 28px; box-shadow: 0 2px 0 var(--line); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 58px; right: -22px; width: 22px; height: 2px; background: var(--yellow); }
.step-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); color: var(--navy); font: 800 1.3rem/1 var(--head); margin-bottom: 20px; }
.steps a { display: inline-block; padding: 10px 0; font: 700 .95rem/1 var(--head); text-decoration: none; }

/* Options */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.duo-card { border: 1px solid var(--line); border-radius: 22px; padding: 38px 34px; }
.duo-card h3 { font-size: 1.45rem; }
.duo-dark { background: var(--navy); border-color: var(--navy); color: rgba(255, 255, 255, .75); }
.duo-dark h3 { color: #fff; }
.duo-dark .eyebrow { color: var(--yellow); }

/* FAQ */
.narrow-faq { max-width: 820px; }
details { background: #fff; border-radius: 14px; margin-bottom: 12px; box-shadow: 0 1px 0 var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font: 700 1.08rem/1.35 var(--head); color: var(--ink); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--bg-alt); display: grid; place-items: center; font-size: 1.2rem; color: var(--blue); transition: transform .2s; }
details[open] summary::after { content: "–"; background: var(--yellow); color: var(--navy); }
details p { padding: 0 24px 22px; margin: 0; }

/* Final */
.mk-final { background: radial-gradient(800px 400px at 10% 0%, rgba(10, 90, 143, .5), transparent 60%), var(--navy); color: rgba(255, 255, 255, .75); padding: 100px 0; }
.mk-final h2 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.mk-final .lead { color: rgba(255, 255, 255, .75); }
.mk-final .coords li, .mk-final .coords a { color: #fff; }
.mk-final .coords .ic { background: rgba(255, 255, 255, .08); color: var(--yellow); }
.mk-final .coords { margin-top: 36px; }
.form-title { margin: 0 0 4px; font-size: 1.4rem; }
.footer-stores { display: grid; gap: 10px; justify-items: start; }
.footer-stores img { height: 44px; width: auto; }

/* Bouton fixe sur mobile */
.mobile-cta { display: none; }

@media (max-width: 1060px) {
  .tour { column-gap: 40px; }
}

@media (max-width: 900px) {
  .pains, .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .punch { flex-direction: column; text-align: center; max-width: 560px; }
  .steps li:not(:last-child)::after { display: none; }
  .calc { grid-template-columns: 1fr; }
  .tour { grid-template-columns: 1fr; grid-template-areas: "head" "progress" "phone" "missions"; row-gap: 24px; }
  .mission-progress-wrap { position: sticky; top: 72px; z-index: 10; margin: 0 -16px; padding: 4px 16px; background: rgba(14, 28, 54, .94); backdrop-filter: blur(8px); }
  .mission-progress-wrap .mission-progress { margin: 8px 0; }
  .tour-phone { display: flex; justify-content: center; }
  .duo { grid-template-columns: 1fr; }
  .mobile-cta { display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; text-align: center; background: var(--yellow); color: var(--navy); font: 800 1rem/1 var(--head); padding: 17px; border-radius: 999px; text-decoration: none; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .5); transform: translateY(140%); transition: transform .3s; }
  .past-hero .mobile-cta { transform: none; }
  .hide-cta .mobile-cta { transform: translateY(140%); }
  .mk-final { padding: 64px 0; }
  .past-hero .footer { padding-bottom: 100px; }
}

@media (max-width: 600px) {
  .vs-row { grid-template-columns: 1fr 1fr; }
  .vs-row > span:first-child { grid-column: 1 / -1; padding-bottom: 4px; }
  .vs-row > span { padding: 12px 16px; font-size: .92rem; }
  .vs-head > span:first-child { display: none; }
  .calc-result { padding: 26px; }
  .calc-big strong { font-size: 2.1rem; }
  .duo-card { padding: 28px 24px; }
}

/* ===== Pages légales ===== */
.legal { background: var(--bg); }
.legal .topbar-in { justify-content: space-between; }
.doc { max-width: 760px; padding: 40px 0 80px; }
.doc-back { margin-bottom: 24px; }
.doc-back a { font: 600 .95rem/1 var(--head); text-decoration: none; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 6px; }
.doc-date { color: var(--muted); font-size: .9rem; margin-bottom: 30px; }
.doc h2 { font-size: 1.3rem; margin: 38px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 6px; }
.doc-summary { background: #E6F0F8; border-left: 4px solid var(--yellow); border-radius: 10px; padding: 16px 20px; color: var(--ink); }
.todo { background: var(--yellow); color: var(--navy); padding: 0 4px; border-radius: 4px; font-weight: 700; }
.footer-mini { padding: 0 0 30px; }
.footer-mini .copy { margin-top: 0; border-top: 0; padding-top: 30px; }
.copy a { color: rgba(255, 255, 255, .7); }
.copy a:hover { color: var(--yellow); }
@media (max-width: 600px) {
  .legal-cta { display: none; }
  .doc { padding-top: 28px; }
  .doc p, .doc li { overflow-wrap: anywhere; }
}
