/* Lucien — site vitrine, style « Cocon » : doux, rond, chaleureux. Une colonne centrée (max 1120px), vraies captures de l'appli, petites animations. */
:root {
  --paper: #fbf4f0; --ink: #3b2a3a; --nest: #d95f45; --nest-deep: #b84a33; --moss: #cdebdd; --moss-soft: #e4f3ea; --mint-ink: #1f6b4a;
  --lilac: #b89bd9; --lilac-soft: #ece3f6; --peach: #f6d5c8; --peach-soft: #fbe6dd; --plum: #3b2a3a;
  --yolk: #e9b23a; --yolk-soft: #fbefd0; --ember: #c6452e; --mist: #8b6f84; --line: #f0e3ec; --white: #ffffff;
  --band: #3b2a3a;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif; --display: "Fraunces", Georgia, serif;
  --radius: 28px; --max: 1120px; --shadow: 0 14px 40px rgba(59, 42, 58, 0.10); --shadow-lg: 0 40px 80px rgba(59, 42, 58, 0.22);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #231a23; --ink: #f6eef2; --nest: #e8755c; --nest-deep: #d95f45; --moss: #27443a; --moss-soft: #213329; --mint-ink: #9fd9bb; --lilac-soft: #362c45; --peach: #4a3337; --peach-soft: #3a2a2d; --plum: #f6eef2; --yolk-soft: #3a2f12; --mist: #c4a9bd; --line: #3b2c3a; --white: #2d222d; --band: #3a2a39; --shadow: 0 14px 40px rgba(0,0,0,.35); --shadow-lg: 0 40px 80px rgba(0,0,0,.5); color-scheme: dark; }
}
:root[data-theme="dark"] { --paper: #231a23; --ink: #f6eef2; --nest: #e8755c; --nest-deep: #d95f45; --moss: #27443a; --moss-soft: #213329; --mint-ink: #9fd9bb; --lilac-soft: #362c45; --peach: #4a3337; --peach-soft: #3a2a2d; --plum: #f6eef2; --yolk-soft: #3a2f12; --mist: #c4a9bd; --line: #3b2c3a; --white: #2d222d; --band: #3a2a39; --shadow: 0 14px 40px rgba(0,0,0,.35); --shadow-lg: 0 40px 80px rgba(0,0,0,.5); color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; font-weight: 600; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--nest); }
h1, h2, h3 { margin: 0; line-height: 1.1; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-style: italic; font-weight: 500; letter-spacing: -0.015em; }
h1 { font-size: clamp(40px, 6.2vw, 68px); }
h2 { font-size: clamp(30px, 4.4vw, 46px); }
h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--yolk); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.wrap.narrow { max-width: 860px; }
section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.lead { font-size: clamp(18px, 1.8vw, 20px); color: var(--mist); max-width: 60ch; }
.eyebrow { font-weight: 800; color: var(--nest); margin-bottom: 12px; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.small { color: var(--mist); margin-top: 18px; font-size: 14.5px; }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* ---------- nav ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: var(--paper); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 26px; color: var(--ink); text-decoration: none; }
.brand svg { width: 32px; height: 32px; }
.nav nav { display: flex; gap: 22px; align-items: center; }
.nav nav a:not(.btn) { text-decoration: none; color: var(--ink); font-weight: 800; font-size: 15px; position: relative; }
.nav nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px; background: var(--yolk); transform: scaleX(0); transition: transform .25s; }
.nav nav a:not(.btn):hover::after { transform: scaleX(1); }
@media (max-width: 860px) { .nav nav a:not(.btn) { display: none; } .nav nav { gap: 10px; } }
@media (max-width: 720px) {
  .brand { font-size: 21px; gap: 8px; } .brand svg { width: 28px; height: 28px; }
  .nav nav .btn { white-space: nowrap; font-size: 14px; padding: 8px 16px; min-height: 40px; }
  .nav nav .lang svg { display: none; }
  .nav nav .lang select { padding: 4px 6px; font-size: 13px; }
}

/* ---------- buttons ---------- */
.nav .btn .short { display: none; }
@media (max-width: 720px) { .nav .btn .long { display: none; } .nav .btn .short { display: inline; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 0; background: var(--nest); color: #fff; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; font-family: inherit; box-shadow: 0 10px 24px rgba(217, 95, 69, 0.30); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(217, 95, 69, 0.36); }
.btn:active { transform: scale(0.98); }
.btn.ghost { background: var(--white); color: var(--ink); border: 2px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--peach); }
.btn.big { min-height: 58px; padding: 14px 30px; font-size: 17px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; font-family: inherit; box-shadow: var(--shadow); }
.round:hover { border-color: var(--peach); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(70px, 9vw, 120px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 56px; } }
.hero h1 b { color: var(--nest); font-weight: 600; position: relative; white-space: nowrap; }
.hero h1 b::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .18em; background: var(--yolk); opacity: .45; border-radius: 1em; z-index: -1; transform: rotate(-1.2deg); }
.hero .lead { margin-top: 20px; }
.hero .cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; align-items: center; }
.pills-trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills-trust li { font-size: 13.5px; font-weight: 800; padding: 7px 14px 7px 30px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); position: relative; }
.pills-trust li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--moss); box-shadow: inset 0 0 0 2px var(--mint-ink); opacity: .9; }

.blob { position: absolute; z-index: 0; pointer-events: none; }
.blob path { fill: var(--peach); }
.blob.b1 { width: 620px; right: -140px; top: 20px; opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.blob.b2 { width: 380px; left: -170px; bottom: 60px; opacity: .55; animation: drift 22s ease-in-out infinite alternate-reverse; }
.blob.b2 path { fill: var(--lilac-soft); }
@keyframes drift { from { transform: translate(0,0) rotate(0deg); } to { transform: translate(-20px, 24px) rotate(14deg); } }

.hero-art { position: relative; height: 640px; max-width: 480px; width: 100%; margin: 0 auto; }
@media (max-width: 900px) { .hero-art { height: 560px; } }
@media (max-width: 480px) { .hero-art { height: 500px; } }
.device { margin: 0; background: var(--white); border-radius: 44px; padding: 10px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.device img, .device video { display: block; width: 100%; height: auto; aspect-ratio: 600 / 1298; border-radius: 34px; background: var(--paper); object-fit: cover; }
.hero-art .front { overflow: visible; }
.vid-toggle { position: absolute; right: 18px; bottom: 18px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(59,42,58,.72); color: #fff; font-size: 13px; cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.hero-art .front:hover .vid-toggle, .vid-toggle:focus-visible { opacity: 1; }
@media (hover: none) { .vid-toggle { opacity: .85; } }
.hero-art .device { position: absolute; width: 290px; }
.hero-art .front { left: 0; top: 10px; z-index: 2; animation: bob 7s ease-in-out infinite; }
.hero-art .back { right: 0; top: 70px; z-index: 1; transform: rotate(6deg); width: 260px; opacity: .97; }
@media (max-width: 480px) { .hero-art .device { width: 236px; } .hero-art .back { width: 210px; top: 60px; } }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(-1deg); } }
.float { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; background: var(--white); border-radius: 18px; padding: 10px 14px; box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 800; max-width: 240px; line-height: 1.3; animation: floaty 6s ease-in-out infinite; }
.float b { font-family: var(--display); font-style: italic; color: var(--mint-ink); font-size: 24px; font-weight: 600; }
.float .dot { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto; }
.dot.ember { background: var(--nest); box-shadow: 0 0 0 5px color-mix(in srgb, var(--nest) 20%, transparent); }
.dot.moss { background: #3aa66f; box-shadow: 0 0 0 5px rgba(58,166,111,.18); }
.float.f1 { right: -6px; top: 6px; animation-delay: -1s; }
.float.f2 { left: -26px; top: 330px; animation-delay: -3s; }
.float.f3 { right: 0; bottom: 30px; flex-direction: column; align-items: flex-start; gap: 0; animation-delay: -4.5s; }
.float.f3 span { font-size: 13px; color: var(--mist); }
@media (max-width: 480px) { .float { font-size: 12.5px; padding: 8px 12px; max-width: 190px; } .float.f2 { left: -6px; top: 270px; } .float b { font-size: 20px; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- waves & bands ---------- */
.wave { position: absolute; left: 0; width: 100%; height: 60px; display: block; }
.wave.top { top: -1px; } .wave.bottom { bottom: -1px; }
.pain { background: var(--band); color: #fff; padding-block: clamp(110px, 12vw, 160px); }
.pain .wave path { fill: var(--paper); }
.pain h2, .pain .lead, .pain p { color: #fff; }
.pain .lead { opacity: .85; margin-top: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 46px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; margin-top: 40px; }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: 1fr; gap: 22px; } }
.pain .item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 26px; }
.pain .item b { display: block; font-family: var(--display); font-style: italic; font-weight: 500; font-size: 34px; color: var(--yolk); margin-top: 10px; }
.pain .item p { opacity: .85; margin-top: 6px; font-size: 16px; }
.ico svg { width: 46px; height: 46px; fill: none; stroke: var(--peach); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- tour ---------- */
.tour { overflow: hidden; }
.tour-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 40px max(20px, calc((100vw - var(--max)) / 2 + 20px)) 30px; scrollbar-width: none; overscroll-behavior-x: contain; }
.tour-track::-webkit-scrollbar { display: none; }
.tour-card { flex: 0 0 auto; width: 280px; margin: 0; scroll-snap-align: center; }
.tour-card .device { border-radius: 40px; padding: 9px; transition: transform .35s; }
.tour-card .device img { border-radius: 31px; }
.tour-card:nth-child(odd) .device { transform: rotate(-1.5deg); }
.tour-card:nth-child(even) .device { transform: rotate(1.5deg) translateY(14px); }
.tour-card:hover .device { transform: rotate(0) translateY(-6px); }
.tour-card figcaption { margin-top: 26px; padding: 0 6px; }
.tour-card figcaption b { display: block; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 24px; color: var(--nest); }
.tour-card figcaption span { display: block; color: var(--mist); font-size: 15.5px; margin-top: 4px; }
.tour { padding-bottom: clamp(20px, 4vw, 50px); }
.tour-nav { display: flex; gap: 10px; justify-content: flex-end; }
@media (max-width: 720px) { .tour-nav { display: none; } .tour-card { width: 76vw; max-width: 300px; } }

/* ---------- savings ---------- */
.howsave { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.howsave li { padding-left: 30px; position: relative; }
.howsave li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--yolk); box-shadow: 0 0 0 5px var(--yolk-soft); }
.howsave b { display: block; font-weight: 800; }
.howsave span { color: var(--mist); font-size: 15.5px; }
.ledger { background: var(--white); border-radius: 32px; padding: 26px; box-shadow: var(--shadow-lg); min-width: 0; position: relative; }
.ledger::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; z-index: -1; border-radius: 32px; background: var(--yolk-soft); }
.ledger-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 2px dashed var(--line); margin-bottom: 4px; font-size: 14px; color: var(--mist); }
.ledger-head b { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 28px; color: var(--nest); }
.ledger-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.ledger-row b { display: block; font-size: 16px; font-weight: 800; }
.ledger-row span { color: var(--mist); font-size: 14px; }
.ledger-row em { font-style: italic; font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--mint-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ledger-foot { padding-top: 14px; font-size: 13px; color: var(--mist); }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 50px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; }
.steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 46px; border-top: 3px dashed var(--peach); z-index: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }
.steps li { text-align: center; position: relative; z-index: 1; }
.bubble { width: 92px; height: 92px; border-radius: 42% 58% 55% 45% / 50% 45% 55% 50%; display: grid; place-items: center; margin: 0 auto 18px; box-shadow: var(--shadow); }
.bubble svg { width: 44px; height: 44px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.bubble.peach { background: var(--peach); } .bubble.lilac { background: var(--lilac-soft); } .bubble.moss { background: var(--moss); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--mist); max-width: 32ch; margin: 0 auto; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }
.feature { border-radius: var(--radius); padding: 30px; min-width: 0; transition: transform .25s; }
.feature:hover { transform: translateY(-4px); }
.feature.peach { background: var(--peach-soft); } .feature.yolk { background: var(--yolk-soft); } .feature.moss { background: var(--moss-soft); } .feature.lilac { background: var(--lilac-soft); }
.feature h3 { margin-bottom: 10px; font-size: 22px; }
.feature p { color: var(--mist); font-size: 16px; }
.feature .tag { display: inline-block; font-size: 12.5px; font-weight: 800; color: var(--ink); background: var(--white); border-radius: 999px; padding: 5px 12px; margin-bottom: 14px; }

/* ---------- AI chat ---------- */
.ai { background: var(--white); border-radius: 48px; margin: 0 clamp(8px, 2vw, 24px); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 32px; position: relative; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--moss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231f6b4a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.chat { background: var(--paper); border-radius: 32px; padding: 22px; display: grid; gap: 12px; min-width: 0; box-shadow: inset 0 0 0 1px var(--line); }
.msg { max-width: 86%; padding: 13px 17px; border-radius: 22px; font-size: 15.5px; line-height: 1.45; }
.msg.u { background: var(--nest); color: #fff; margin-left: auto; border-bottom-right-radius: 6px; }
.msg.a { background: var(--white); border-bottom-left-radius: 6px; box-shadow: var(--shadow); }
.msg .src { display: block; font-size: 12px; color: var(--mist); margin-top: 6px; }
.chat.typing .msg { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .45s, transform .45s; }
.chat.typing .msg.shown { opacity: 1; transform: none; }

/* ---------- pricing ---------- */
.period { display: inline-flex; gap: 4px; padding: 5px; margin-top: 30px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); }
.period button { border: 0; background: none; font: inherit; font-weight: 800; font-size: 15px; color: var(--mist); padding: 10px 18px; border-radius: 999px; cursor: pointer; }
.period button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.period em { font-style: normal; font-size: 12px; background: var(--yolk); color: #3b2a3a; padding: 2px 8px; border-radius: 999px; margin-left: 4px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; align-items: stretch; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card { position: relative; background: var(--white); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; box-shadow: var(--shadow); border: 2px solid transparent; min-width: 0; }
.card.star { border-color: var(--nest); transform: translateY(-8px); }
@media (max-width: 1000px) { .card.star { transform: none; } }
.card h3 { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 28px; }
.card .who { color: var(--mist); font-size: 14.5px; margin-top: 2px; min-height: 2.6em; }
.card .amount { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; }
.card .amount b { font-size: 40px; font-weight: 900; letter-spacing: -0.03em; }
.card .amount small { color: var(--mist); font-weight: 800; }
.card .eq { font-size: 13.5px; color: var(--mint-ink); font-weight: 800; min-height: 1.5em; }
.card .for { color: var(--mist); font-size: 14.5px; margin: 12px 0 10px; }
.card ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14.5px; }
.card li { padding-left: 22px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--moss); }
.card .people { margin: 14px 0 14px; font-weight: 800; font-size: 15px; }
.card .ppl { color: var(--nest); letter-spacing: 2px; }
.card .btn { margin-top: auto; font-size: 15px; padding: 10px 16px; white-space: nowrap; }
.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--nest); color: #fff; font-size: 12.5px; font-weight: 800; padding: 5px 14px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 14px rgba(217,95,69,.3); }
.included { margin-top: 28px; background: var(--yolk-soft); border-radius: var(--radius); padding: 26px 28px; }
.included h3 { margin-bottom: 14px; }
.included ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 36px; }
@media (max-width: 720px) { .included ul { columns: 1; } }
.included li { break-inside: avoid; padding: 0 0 10px 30px; position: relative; }
.included li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23d95f45' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* ---------- trust ---------- */
.trust { background: var(--moss-soft); padding-block: clamp(110px, 12vw, 160px); }
.trust .wave path { fill: var(--paper); }
.trust-grid { margin: 40px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-grid li { background: var(--white); border-radius: 22px; padding: 22px 22px 22px 62px; position: relative; box-shadow: var(--shadow); }
.trust-grid li::before { content: ""; position: absolute; left: 20px; top: 22px; width: 28px; height: 28px; border-radius: 10px; background: var(--moss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8.3-7 10-4-1.7-7-5.5-7-10V6z' fill='none' stroke='%231f6b4a' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M9 12l2 2 4-4' fill='none' stroke='%231f6b4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.trust-grid b { display: block; font-weight: 800; }
.trust-grid span { color: var(--mist); font-size: 15px; }

/* ---------- faq ---------- */
details { background: var(--white); border-radius: 22px; margin-bottom: 10px; box-shadow: var(--shadow); overflow: hidden; }
summary { cursor: pointer; padding: 20px 24px; font-weight: 800; font-size: 17.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: var(--peach-soft); color: var(--nest); display: grid; place-items: center; font-size: 22px; line-height: 1; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 24px 22px; color: var(--mist); max-width: 70ch; }

/* ---------- waitlist ---------- */
.join { background: var(--band); color: #fff; border-radius: 40px; padding: clamp(36px, 5vw, 64px); position: relative; overflow: hidden; }
.join::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: rgba(246,213,200,.07); }
.join > * { position: relative; z-index: 1; }
.join h2, .join p { color: #fff; }
.join p { opacity: .85; max-width: 56ch; margin-top: 12px; }
.lucien-art { position: absolute !important; right: clamp(16px, 4vw, 56px); top: clamp(20px, 3vw, 40px); width: clamp(140px, 20vw, 230px); animation: floaty 7s ease-in-out infinite; }
@media (max-width: 760px) { .lucien-art { position: static !important; display: block; width: 150px; margin: 0 0 10px; } }
.form { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 26px; max-width: 560px; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.form input, .form select { min-height: 54px; border-radius: 999px; border: 2px solid transparent; padding: 12px 20px; font: inherit; font-size: 16px; font-weight: 700; background: #fff; color: #3b2a3a; width: 100%; }
.form .wide { grid-column: 1 / -1; }
.join .ok, .join .err { margin-top: 14px; font-weight: 700; }
.join .err { color: #ffd0c8; }
.join .alt { margin-top: 16px; font-size: 14px; opacity: .85; }
.copy { background: none; border: 1px solid rgba(255,255,255,0.4); color: #fff; border-radius: 8px; padding: 2px 8px; font: inherit; font-size: 13px; cursor: pointer; margin-left: 6px; }

/* ---------- footer ---------- */
footer { padding: 40px 0 60px; color: var(--mist); font-size: 14.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
footer a { color: var(--mist); }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 16px; }
.legal h2 { font-size: 24px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink); font-size: 16.5px; }
.legal ul { padding-left: 22px; }
.legal .meta { color: var(--mist); margin-bottom: 8px; }

/* ---------- language switcher & RTL ---------- */
.lang { display: inline-flex; align-items: center; gap: 6px; color: var(--mist); }
.lang svg { width: 20px; height: 20px; }
.lang select { border: 2px solid var(--line); background: var(--white); color: var(--ink); border-radius: 999px; padding: 6px 10px; font: inherit; font-weight: 800; font-size: 14px; }
html[dir="rtl"] .nav nav, html[dir="rtl"] .hero .cta, html[dir="rtl"] footer .wrap { flex-direction: row-reverse; }
html[dir="rtl"] .feature, html[dir="rtl"] .legal, html[dir="rtl"] .card { text-align: right; }
html[dir="rtl"] .howsave li, html[dir="rtl"] .checks li, html[dir="rtl"] .card li { padding-left: 0; padding-right: 30px; }
html[dir="rtl"] .howsave li::before, html[dir="rtl"] .checks li::before, html[dir="rtl"] .card li::before { left: auto; right: 0; }
html[dir="rtl"] .included li { padding: 0 30px 10px 0; } html[dir="rtl"] .included li::before { left: auto; right: 0; }
html[dir="rtl"] .trust-grid li { padding: 22px 62px 22px 22px; } html[dir="rtl"] .trust-grid li::before { left: auto; right: 20px; }
html[dir="rtl"] .msg.u { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .pills-trust li { padding: 7px 30px 7px 14px; } html[dir="rtl"] .pills-trust li::before { left: auto; right: 12px; }

/* ---------- Ouverture : nœud papillon et nom de Lucien ---------- */
#intro { display: none; }
.js #intro { display: grid; position: fixed; inset: 0; z-index: 1000; place-items: center; background: var(--paper); cursor: pointer; transition: opacity .45s ease, visibility .45s; }
html.intro-on { overflow: hidden; }
#intro.intro-fin { opacity: 0; visibility: hidden; }
.intro-inner { display: grid; justify-items: center; gap: 18px; }
.intro-noeud { width: clamp(96px, 26vw, 128px); height: auto; overflow: visible; }
.intro-noeud * { transform-box: view-box; transform-origin: 32px 32px; }
.intro-rond { animation: intro-rond .55s cubic-bezier(.34,1.56,.64,1) both; }
.intro-aile { animation: intro-aile .6s cubic-bezier(.34,1.56,.64,1) .35s both; }
.intro-aile.d { animation-delay: .42s; }
.intro-centre { animation: intro-centre .45s cubic-bezier(.34,1.8,.64,1) .78s both; }
.intro-noeud { animation: intro-salut .5s ease-in-out 1.15s both; }
.intro-titre { font-family: var(--display); font-style: italic; font-weight: 600; font-size: clamp(40px, 11vw, 60px); line-height: 1; color: var(--plum); letter-spacing: -0.02em; animation: intro-titre .6s cubic-bezier(.22,1,.36,1) 1s both; }
@keyframes intro-rond { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes intro-aile { from { transform: scaleX(0) scaleY(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes intro-centre { from { transform: scale(0) rotate(-30deg); } to { transform: none; } }
@keyframes intro-salut { 0%, 100% { transform: rotate(0); } 35% { transform: rotate(-8deg); } 70% { transform: rotate(5deg); } }
@keyframes intro-titre { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- Le calcul des oublis ---------- */
.simu { background: var(--peach-soft); }
.simu-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; margin-top: 34px; align-items: start; }
.simu-list { background: var(--white); border-radius: 28px; box-shadow: var(--shadow); padding: 8px 20px; }
.simu-row { display: grid; grid-template-columns: 1fr 92px; grid-template-areas: "nom prix" "choix choix"; gap: 8px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; transition: background .2s; }
.simu-row:last-child { border-bottom: 0; }
.simu-row b { grid-area: nom; font-size: 16px; }
.simu-prix { grid-area: prix; width: 100%; border: 2px solid var(--line); border-radius: 12px; padding: 6px 8px; font: inherit; font-weight: 800; text-align: right; background: var(--paper); color: var(--ink); }
.simu-choix { grid-area: choix; display: flex; gap: 6px; flex-wrap: wrap; }
.simu-choix button { font: inherit; font-size: 13.5px; font-weight: 800; border-radius: 999px; padding: 6px 12px; border: 2px solid var(--line); background: var(--white); color: var(--mist); cursor: pointer; }
.simu-choix button[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: var(--paper); }
.simu-row.perdu .simu-choix button[aria-pressed="true"] { background: var(--nest); border-color: var(--nest); color: #fff; }
.simu-row.garde .simu-choix button[aria-pressed="true"] { background: var(--mint-ink); border-color: var(--mint-ink); color: #fff; }
.simu-row.perdu b { color: var(--nest); text-decoration: line-through; text-decoration-thickness: 2px; }
.simu-total { position: sticky; top: 96px; background: var(--white); border-radius: 28px; box-shadow: var(--shadow-lg); padding: 26px; text-align: center; display: grid; gap: 4px; justify-items: center; }
.simu-total > span { font-weight: 800; color: var(--mist); }
.simu-total #simu-an { font-family: var(--display); font-style: italic; font-weight: 600; font-size: clamp(52px, 7vw, 76px); line-height: 1.05; color: var(--nest); font-variant-numeric: tabular-nums; }
.simu-total small { color: var(--mist); font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.simu-total #simu-mois { font-weight: 700; }
.simu-garde { color: var(--mint-ink); font-size: 14.5px; font-weight: 700; margin-bottom: 8px; }
.simu-total .btn { margin-top: 8px; }
.simu-total .small { margin-top: 10px; font-size: 13px; }
@media (max-width: 860px) { .simu-grid { grid-template-columns: 1fr; } .simu-total { position: static; } }

/* ---------- Un vrai majordome ---------- */
.butler-grid { align-items: start; }
.butler-h { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 26px; margin: 26px 0 8px; }
.butler p { color: var(--mist); }
.mock-lettre, .mock-dossier { background: var(--white); border-radius: 30px; box-shadow: var(--shadow-lg); padding: 24px; position: relative; }
.mock-lettre::before, .mock-dossier::before { content: ""; position: absolute; inset: 16px -12px -12px 16px; z-index: -1; border-radius: 30px; background: var(--lilac-soft); }
.mock-dossier::before { background: var(--peach); }
.mock-tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mock-tete svg { width: 38px; height: 38px; }
.mock-tete span { font-size: 13px; font-weight: 800; color: var(--mist); }
.mock-lettre h3 { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 25px; line-height: 1.15; margin: 0 0 8px; }
.mock-lettre > p { color: var(--ink) !important; font-size: 15.5px; }
.mock-lettre ul, .mock-dossier ul { list-style: none; margin: 14px 0 0; padding: 0; }
.mock-lettre li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.mock-lettre li span { flex: 1; }
.mock-lettre li em { font-style: italic; font-family: var(--display); font-weight: 600; color: var(--mint-ink); font-size: 19px; white-space: nowrap; }
.mock-lettre .d { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; background: var(--peach); color: var(--ink); font-size: 14px; flex: 0 0 auto; }
.mock-lettre .d.lil { background: var(--lilac-soft); color: var(--lilac-ink, #5a3f6e); font-size: 12px; }
.mock-lettre .d.vert { background: var(--moss); color: var(--mint-ink); }
.mock-sign { font-family: var(--display); font-style: italic; text-align: right; margin-top: 12px; color: var(--ink) !important; }
.mock-dossier-tete { display: flex; gap: 14px; align-items: center; }
.mock-jauge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 19px; background: conic-gradient(var(--nest) 0 80%, var(--line) 80% 100%); position: relative; flex: 0 0 auto; }
.mock-jauge::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--white); }
.mock-jauge { isolation: isolate; } .mock-jauge::before { z-index: -1; }
.mock-dossier h3 { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 24px; margin: 0; }
.mock-dossier-tete span:not(.mock-jauge) { color: var(--mist); font-weight: 700; font-size: 14px; }
.mock-dossier li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 10px 12px; margin-top: 8px; border-radius: 14px; background: var(--paper); border-left: 4px solid var(--mint-ink); font-weight: 700; font-size: 14.5px; }
.mock-dossier li b { font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 9px; background: var(--moss); color: var(--mint-ink); }
.mock-dossier li.warn { border-left-color: var(--yolk); }
.mock-dossier li.warn b { background: var(--yolk-soft); color: #7a5a0e; }
.mock-dossier li small { grid-column: 1 / -1; color: var(--mist); font-weight: 600; font-size: 13px; }
.mock-btn { display: inline-block; margin-top: 16px; background: var(--nest); color: #fff; font-weight: 800; border-radius: 999px; padding: 10px 18px; font-size: 14.5px; }
[dir="rtl"] .mock-dossier li { border-left: 0; border-right: 4px solid var(--mint-ink); }
[dir="rtl"] .mock-dossier li.warn { border-right-color: var(--yolk); }
@media (min-width: 1100px) { .simu-row { grid-template-columns: 1fr auto 86px; grid-template-areas: "nom choix prix"; } }
@media (max-width: 860px) {
  .simu-choix button { font-size: 12.5px; padding: 5px 9px; }
  .simu-total { position: sticky; bottom: 10px; z-index: 5; grid-template-columns: 1fr auto; grid-template-areas: "lab an" "mois an" "cta cta"; text-align: left; justify-items: start; align-items: center; gap: 2px 12px; padding: 14px 18px; border: 2px solid var(--peach); }
  .simu-total > span { grid-area: lab; font-size: 13.5px; }
  .simu-total #simu-an { grid-area: an; font-size: 40px; justify-self: end; }
  .simu-total #simu-mois { grid-area: mois; font-size: 13px; color: var(--mist); }
  .simu-total small, .simu-total .simu-garde, .simu-total .small { display: none; }
  .simu-total .btn { grid-area: cta; justify-self: stretch; min-height: 42px; padding: 8px 16px; font-size: 14.5px; margin-top: 8px; }
}

.aussi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.aussi-item { background: var(--white); border-radius: 24px; box-shadow: var(--shadow); padding: 20px; display: grid; gap: 6px; align-content: start; }
.aussi-item b { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 20px; }
.aussi-item span:not(.aussi-ico) { color: var(--mist); font-size: 15px; }
.aussi-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px; }
.aussi-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aussi-ico.moss { background: var(--moss); } .aussi-ico.peach { background: var(--peach); } .aussi-ico.lilac { background: var(--lilac-soft); }
@media (max-width: 860px) { .aussi { grid-template-columns: 1fr; } }

/* Pour qui */
.pourqui { padding-bottom: clamp(20px, 4vw, 40px); }
.pq-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
@media (max-width: 1000px) { .pq-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pq-grille { grid-template-columns: 1fr; } }
.pq { background: var(--white); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); min-width: 0; }
.pq:first-child { background: var(--moss-soft, #e4f3ea); }
.pq-tetes { display: flex; margin-bottom: 14px; }
.pq-tetes img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 3px var(--white); }
.pq-tetes img + img { margin-left: -12px; }
.pq .tag { display: inline-block; font-size: 12.5px; font-weight: 800; background: var(--paper, #fbf4f0); border-radius: 999px; padding: 5px 12px; }
.pq:first-child .tag { background: var(--white); }
.pq h3 { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.25; margin: 12px 0 8px; }
.pq p { font-size: 15.5px; opacity: .85; }

/* Modules et packs */
.modules-site { margin-top: 34px; }
.modules-site h3 { font-family: var(--display); font-weight: 600; font-size: 26px; margin-top: 18px; }
.ms-grille, .ps-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 16px 0 10px; }
.ps-grille { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .ms-grille, .ps-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ms-grille, .ps-grille { grid-template-columns: 1fr; } }
.ms, .ps { background: var(--white); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); min-width: 0; }
.ms b, .ps b { display: block; font-size: 17px; }
.ms p, .ps p { font-size: 14.5px; opacity: .85; margin: 6px 0 10px; }
.ms-prix, .ps-prix { font-weight: 800; color: var(--nest); font-size: 15px; }
.ms-prix em, .ps-prix em { font-style: normal; font-weight: 600; color: var(--ink); opacity: .7; font-size: 13px; }
.ps-prix strong { font-family: var(--display); font-size: 24px; }
.ps.star { background: var(--yolk-soft); border: 2px solid var(--nest); }

/* Comptables */
.comptables .wrap { max-width: 820px; }
.cpt-liste { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.cpt-liste li { position: relative; padding-left: 30px; font-size: 17px; }
.cpt-liste li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 14px; height: 8px; border-left: 3px solid var(--nest); border-bottom: 3px solid var(--nest); transform: rotate(-45deg); }
.cpt-offre { font-weight: 800; color: var(--nest); font-size: 18px; margin: 0 0 4px; }
.cpt-form { grid-template-columns: 1fr 1fr; max-width: 720px; }
.cpt-form input { border-color: var(--line, #f0e3ec); }
.cpt-form .btn { grid-column: 1 / -1; }
@media (max-width: 560px) { .cpt-form { grid-template-columns: 1fr; } }

/* ---------- Pour qui : profils indépendant et bailleur ---------- */
.pq-ico { width: 56px; height: 56px; border-radius: 50%; margin-left: -12px; display: grid; place-items: center; background: var(--lilac-soft, #efe7f6); box-shadow: 0 0 0 3px var(--white); }
.pq-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--plum, #3b2a3a); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Les espaces (modules) ---------- */
.espaces { padding: 90px 0 70px; }
.espaces-grille { display: grid; grid-template-columns: repeat(3, 280px); justify-content: center; gap: 28px; margin-top: 36px; }
.espaces-grille .tour-card { width: auto; }
.espaces-lien { text-align: center; margin-top: 28px; }
@media (max-width: 960px) {
  .espaces-grille { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; justify-content: flex-start; padding: 6px 4px 18px; scrollbar-width: none; }
  .espaces-grille::-webkit-scrollbar { display: none; }
  .espaces-grille .tour-card { flex: 0 0 260px; }
}

/* ---------- Bouton collant sur téléphone ---------- */
.cta-colle { display: none; }
@media (max-width: 720px) {
  .cta-colle { display: block; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40; text-align: center; padding: 15px 18px; border-radius: 16px; background: var(--nest); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 10px 30px rgba(59, 42, 58, .25); transform: translateY(140%); transition: transform .3s; }
  .cta-colle.on { transform: none; }
}

/* menu : sur une ligne ; les liens secondaires disparaissent quand la place manque */
.nav nav a, .nav .btn { white-space: nowrap; }
@media (max-width: 1340px) { .nav nav a.nav-sec { display: none; } }
.legal .tableau { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15.5px; }
.legal .tableau th, .legal .tableau td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal .tableau th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--mist); }
.legal .modele { background: var(--white); border-left: 3px solid var(--nest); border-radius: 0 14px 14px 0; padding: 14px 16px; font-style: italic; }
html[dir="rtl"] .legal .tableau th, html[dir="rtl"] .legal .tableau td { text-align: right; }
.boucle-titre { margin: 26px 0 10px; font-weight: 800; color: var(--plum); }
.boucle { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; counter-reset: b; }
.boucle li { position: relative; padding: 12px 12px 12px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow); counter-increment: b; min-width: 0; }
.boucle li::before { content: counter(b); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--yolk); color: var(--plum); font-weight: 800; font-size: 13px; margin-bottom: 6px; }
.boucle li:last-child::before { content: "✓"; background: var(--mint-ink); color: var(--paper); }
.boucle b { display: block; font-size: 15px; }
.boucle span { display: block; font-size: 13px; color: var(--mist); line-height: 1.4; margin-top: 2px; }
.espaces-remplir { text-align: center; max-width: 620px; margin: 22px auto 0; color: var(--mist); }
.hero .lead strong, .hero-text .lead strong { color: var(--ink); }
