/* ===== Tarification — page de conversion (design system Ordeo) ===== */

/* Réassurance */
.tx-assure { list-style: none; margin: 1.8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.tx-assure li { display: inline-flex; align-items: center; gap: .5rem; font-size: .95rem; font-weight: 500; color: var(--fg); }
.tx-assure i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--terra); color: var(--navy); }
.tx-assure svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 1. Hero ---------- */
.tx-hero { position: relative; overflow: clip; padding: calc(var(--bar-h) + var(--hdr-h) + clamp(1.6rem, 4vw, 3rem)) 0 clamp(4rem, 8vw, 6rem); }
.tx-hero__grid { display: grid; gap: 3.5rem; align-items: center; }
.tx-hero__t { font-size: clamp(2.8rem, 6.6vw, 6.2rem); letter-spacing: -.048em; line-height: .96; max-width: 12ch; }
.tx-hero__t em { color: var(--terra); }
.tx-hero__p { margin: 1.6rem 0 2rem; font-size: clamp(1.08rem, 1.45vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 32rem; }
.tx-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.tx-hero__vis { position: relative; justify-self: center; width: min(100%, 440px); padding: 2.5rem 1rem; }
.tx-doc { position: relative; padding: 1.8rem 1.8rem 1.5rem; border-radius: 22px; background: #fffdfb; box-shadow: 0 0 0 1px rgba(13,27,42,.06), 0 40px 80px -40px rgba(13,27,42,.45); transform: rotate(-2.5deg); }
.tx-doc::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #f6ede4; transform: rotate(5deg) translate(14px, 10px); z-index: -1; box-shadow: 0 0 0 1px rgba(13,27,42,.05); }
.tx-doc__k { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 0 0 1rem; font: 600 .7rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #6b7487; }
.tx-doc__k em { font-style: normal; padding: .35rem .7rem; border-radius: 999px; border: 1.5px solid var(--terra); color: var(--terra-ink); transform: rotate(4deg); }
.tx-doc__t { margin: 0 0 1.2rem; font: 400 clamp(1.5rem, 2.4vw, 1.9rem)/1.1 var(--f-display); color: var(--navy); }
.tx-doc__t i { color: var(--terra-ink); }
.tx-doc__mods { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.tx-doc__mods li { display: flex; align-items: center; gap: .8rem; font-size: .98rem; color: var(--navy); }
.tx-doc__mods b { flex-shrink: 0; position: relative; width: 22px; height: 22px; border-radius: 7px; background: var(--terra); }
.tx-doc__mods b::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--navy); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }
.tx-doc__mods li.is-off { color: #a0a7b4; text-decoration: line-through; text-decoration-color: rgba(13,27,42,.25); }
.tx-doc__mods li.is-off b { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(13,27,42,.2); }
.tx-doc__mods li.is-off b::after { display: none; }
.js .tx-doc__mods li { animation: txPick 9s var(--ease) infinite; animation-delay: calc(var(--k) * 1.8s); }
@keyframes txPick { 0%, 76%, 100% { transform: none; } 80% { transform: translateX(6px); } 84% { transform: none; } }
.tx-doc__foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1.4rem; padding-top: 1rem; border-top: 1px dashed rgba(13,27,42,.18); font-size: .85rem; color: #6b7487; }
.tx-doc__foot b { font: italic 400 1.1rem var(--f-display); color: var(--navy); }
.tx-note { position: absolute; padding: .45rem .9rem; border-radius: 999px; background: var(--navy); color: var(--cream); font: italic 400 .95rem var(--f-display); white-space: nowrap; box-shadow: 0 14px 30px -16px rgba(13,27,42,.6); }
.tx-note--a { top: .4rem; right: -.4rem; transform: rotate(3deg); }
.tx-note--b { bottom: .6rem; left: -.6rem; background: var(--terra); color: var(--navy); transform: rotate(-3deg); }
@media (min-width: 1000px) { .tx-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 4rem; } }

/* ---------- 2. Sur-mesure ---------- */
.tx-fit { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.tx-fit__grid { display: grid; gap: 3rem; align-items: center; }
.tx-fit__t { font-size: clamp(2.1rem, 4.2vw, 3.6rem); letter-spacing: -.035em; line-height: 1.04; max-width: 16ch; }
.tx-fit__t em { color: var(--terra); }
.tx-fit__p { margin: 1.3rem 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.6; max-width: 31rem; }
.tx-fit__list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .75rem; max-width: 31rem; }
.tx-fit__list li { position: relative; padding-left: 1.6rem; font-size: .98rem; line-height: 1.5; color: var(--muted); }
.tx-fit__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 4px color-mix(in srgb, var(--terra) 18%, transparent); }
.tx-fit__list b { color: var(--fg); font-weight: 600; }
.tx-sw { display: inline-flex; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--white) 70%, transparent); box-shadow: 0 0 0 1px var(--line); margin-bottom: 1rem; }
.tx-sw button { all: unset; cursor: pointer; padding: .6rem 1.1rem; border-radius: 999px; font: 600 .86rem var(--f-body); color: var(--muted); transition: background .35s var(--ease), color .35s; }
.tx-sw button[aria-checked="true"] { background: var(--navy); color: var(--cream); }
.tx-sw button:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
.tx-board { position: relative; aspect-ratio: 1 / .92; border-radius: 26px; background: #fffdfb; box-shadow: 0 0 0 1px rgba(13,27,42,.07), 0 40px 80px -50px rgba(13,27,42,.45); overflow: hidden; container-type: inline-size; }
.tx-board__box { position: absolute; left: 7%; top: 10%; width: 86%; height: 62%; border-radius: 18px; border: 2px dashed rgba(13,27,42,.22); opacity: 0; transition: opacity .5s var(--ease); }
.tx-board__box span { position: absolute; left: 1rem; top: -.75rem; padding: 0 .5rem; background: #fffdfb; font: 600 .68rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #6b7487; }
.tx-board__hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.6); display: grid; justify-items: center; gap: .3rem; opacity: 0; transition: opacity .5s var(--ease), transform .7s var(--ease); z-index: 2; }
.tx-board__hub svg { width: 15cqw; height: 15cqw; }
.tx-board__hub b { padding: .35rem .75rem; border-radius: 999px; background: var(--navy); color: var(--cream); font: 400 clamp(.75rem, 3cqw, .95rem) var(--f-display); white-space: nowrap; }
.tx-board__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.tx-board__lines line { stroke: var(--terra); stroke-width: .5; stroke-dasharray: 2 1.6; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .6s var(--ease) .25s; }
.tx-tile { position: absolute; left: var(--sx); top: var(--sy); transform: translate(-50%, -50%); z-index: 3; display: grid; justify-items: center; gap: .15rem; padding: .55rem .8rem; border-radius: 14px; background: var(--white); box-shadow: 0 0 0 1px rgba(13,27,42,.1), 0 10px 22px -14px rgba(13,27,42,.45); text-align: center; transition: left .8s var(--ease), top .8s var(--ease), opacity .5s, background .4s, box-shadow .4s; min-width: 30cqw; }
.tx-tile b { font: 600 clamp(.7rem, 2.9cqw, .9rem)/1.2 var(--f-body); color: var(--navy); }
.tx-tile small { font-size: clamp(.6rem, 2.3cqw, .74rem); color: #6b7487; }
.tx-tile__p { position: absolute; top: -.6rem; left: -.6rem; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--navy); color: var(--cream); font: 600 .7rem var(--f-body); font-style: normal; transition: transform .4s var(--ease); }
.tx-tile__pk { display: none; } .tx-tile__ck { display: block; }
/* état « construit autour de vous » */
[data-state="custom"] .tx-board__hub { opacity: 1; transform: translate(-50%, -50%); }
[data-state="custom"] .tx-board__lines line { opacity: .8; }
[data-state="custom"] .tx-tile.is-extra { opacity: .28; box-shadow: 0 0 0 1px rgba(13,27,42,.08); }
[data-state="custom"] .tx-tile.is-extra b { text-decoration: line-through; }
[data-state="custom"] .tx-tile.is-reuse { box-shadow: 0 0 0 2px #2f8f6a, 0 10px 22px -14px rgba(13,27,42,.45); }
[data-state="custom"] .tx-tile--own { background: var(--terra); box-shadow: 0 10px 24px -12px rgba(228,106,74,.7); }
[data-state="custom"] .tx-tile--own small { color: var(--navy); }
/* état « offre prédéfinie » */
[data-state="pack"] .tx-board__box { opacity: 1; }
[data-state="pack"] .tx-tile { left: var(--px); top: var(--py); }
[data-state="pack"] .tx-tile__pk { display: block; } [data-state="pack"] .tx-tile__ck { display: none; }
[data-state="pack"] .tx-tile__p { transform: scale(0); }
[data-state="pack"] .tx-tile.is-extra { background: #f3ede6; }
[data-state="pack"] .tx-tile.is-reuse { opacity: .55; }
[data-state="pack"] .tx-tile--own { background: transparent; box-shadow: 0 0 0 1.5px dashed; outline: 1.5px dashed rgba(200,69,42,.6); outline-offset: 0; }
.tx-board__cap { display: none; margin: 1rem 0 0; text-align: center; font: italic 400 1.02rem/1.4 var(--f-display); color: var(--muted); }
.tx-fit__demo[data-state="pack"] [data-cap-pack], .tx-fit__demo[data-state="custom"] [data-cap-custom] { display: block; animation: txIn .4s var(--ease); }
@media (min-width: 1000px) { .tx-fit__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 5rem; } }

/* ---------- 3. Simulateur ---------- */
.tx-sim { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.tx-sim__head { max-width: 760px; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.tx-sim__t { font-size: clamp(2.2rem, 4.6vw, 4rem); letter-spacing: -.04em; line-height: 1.02; }
.tx-sim__t em { color: var(--terra-soft); }
.tx-sim__p { margin: 1.2rem 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.6; max-width: 36rem; }
.tx-sim__grid { display: grid; gap: 2rem; }
.tx-sim__in { display: grid; gap: 1.5rem; align-content: start; padding: clamp(1.4rem, 3vw, 2rem); border-radius: 24px; background: var(--navy-2); box-shadow: inset 0 0 0 1px var(--line); }
.tx-fld label { display: flex; justify-content: space-between; align-items: center; gap: .6rem; font: 500 .95rem var(--f-body); color: var(--fg); }
.tx-hyp { font: 600 .62rem var(--f-body); letter-spacing: .12em; text-transform: uppercase; padding: .25rem .55rem; border-radius: 999px; background: rgba(228,106,74,.18); color: var(--terra-soft); }
.tx-fld__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; margin-top: .55rem; }
.tx-fld small { display: block; margin-top: .45rem; font-size: .8rem; line-height: 1.4; color: var(--muted); }
.tx-fld input[type="range"] { --pct: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; touch-action: pan-y; }
.tx-fld input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--terra) var(--pct), rgba(250,244,239,.14) var(--pct)); }
.tx-fld input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: rgba(250,244,239,.14); }
.tx-fld input[type="range"]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--terra); }
.tx-fld input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 5px rgba(228,106,74,.35), 0 4px 10px rgba(0,0,0,.35); transition: transform .2s var(--ease); }
.tx-fld input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 5px rgba(228,106,74,.35); }
.tx-fld input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.tx-fld input[type="range"]:focus-visible { outline: none; }
.tx-fld input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px var(--terra), 0 4px 10px rgba(0,0,0,.35); }
.tx-fld input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px var(--terra); }
.tx-num { display: inline-flex; align-items: baseline; gap: .2rem; padding: .35rem .7rem; border-radius: 12px; background: rgba(250,244,239,.06); box-shadow: inset 0 0 0 1px var(--line); }
.tx-num input { all: unset; width: 2.6ch; text-align: right; font: 400 1.35rem var(--f-display); color: var(--fg); -moz-appearance: textfield; }
.tx-num input::-webkit-outer-spin-button, .tx-num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tx-num:focus-within { box-shadow: inset 0 0 0 2px var(--terra); }
.tx-num em { font-style: normal; font-size: .9rem; color: var(--muted); }
.tx-fld--hyp { padding: 1rem; margin: -.2rem -.4rem; border-radius: 16px; background: rgba(228,106,74,.07); box-shadow: inset 0 0 0 1px rgba(228,106,74,.22); }
.tx-more summary { cursor: pointer; font-size: .88rem; color: var(--terra-soft); list-style: none; display: inline-flex; align-items: center; gap: .4rem; }
.tx-more summary::-webkit-details-marker { display: none; }
.tx-more summary::before { content: "+"; display: grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; font-size: .9rem; transition: transform .3s var(--ease); }
.tx-more[open] summary::before { transform: rotate(45deg); }
.tx-more summary:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 6px; }
.tx-more .tx-fld { margin-top: 1rem; }
.tx-sim__out { display: grid; gap: 1.4rem; align-content: start; }
.tx-big { display: grid; gap: 1px; border-radius: 24px; overflow: hidden; background: var(--line); }
.tx-big > div { padding: clamp(1.3rem, 2.6vw, 1.8rem); background: var(--navy); }
.tx-big__a { background: linear-gradient(140deg, rgba(228,106,74,.16), rgba(228,106,74,.04)) , var(--navy) !important; }
.tx-big__k { display: block; font: 600 .7rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--terra-soft); }
.tx-big b { display: block; margin-top: .5rem; font: 300 clamp(3rem, 7vw, 5.4rem)/1 var(--f-display); letter-spacing: -.04em; color: var(--fg); font-variant-numeric: tabular-nums; }
.tx-big__b b { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.tx-big b small { font: 400 clamp(1rem, 1.6vw, 1.25rem) var(--f-body); letter-spacing: 0; color: var(--muted); }
.tx-big p { margin: .7rem 0 0; color: var(--muted); font-size: .95rem; }
.tx-big strong { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
.tx-bar__track { position: relative; height: 14px; border-radius: 99px; background: rgba(250,244,239,.12); overflow: hidden; }
.tx-bar__rec { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; border-radius: 99px; background: var(--terra); transition: width .45s var(--ease); }
.tx-bar__leg { display: flex; gap: 1.2rem; margin-top: .6rem; font-size: .8rem; color: var(--muted); }
.tx-bar__leg span { display: inline-flex; align-items: center; gap: .4rem; }
.d { width: 10px; height: 10px; border-radius: 3px; } .d--rec { background: var(--terra); } .d--use { background: rgba(250,244,239,.22); }
.tx-days__grid { display: flex; flex-wrap: wrap; gap: 4px; }
.tx-days__grid i { width: 11px; height: 11px; border-radius: 3px; background: rgba(250,244,239,.14); transition: background .35s var(--ease); }
.tx-days__grid i.is-rec { background: var(--terra); }
.tx-days__leg { margin: .5rem 0 0; font-size: .76rem; color: var(--muted); }
.tx-now { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.tx-now dt { font-size: .8rem; color: var(--muted); }
.tx-now dd { margin: .25rem 0 0; font: 400 1.35rem var(--f-display); color: var(--fg); font-variant-numeric: tabular-nums; }
.tx-legal { margin: 0; padding: 1rem 1.1rem; border-radius: 14px; background: rgba(250,244,239,.05); box-shadow: inset 0 0 0 1px var(--line); font-size: .84rem; line-height: 1.55; color: #c9cfdb; }
.tx-sim__cta { display: grid; gap: .6rem; justify-items: start; }
.tx-sim__cta small { font-size: .8rem; color: var(--muted); }
@media (min-width: 1000px) { .tx-sim__grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 3rem; align-items: start; } .tx-sim__in { position: sticky; top: calc(var(--bar-h) + var(--hdr-h) + 24px); } }

/* ---------- 4. Projection ---------- */
.tx-proj { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.tx-proj__grid { display: grid; gap: 2.5rem; align-items: start; }
.tx-proj__t { font-size: clamp(2rem, 3.8vw, 3.2rem); letter-spacing: -.035em; line-height: 1.05; max-width: 15ch; }
.tx-proj__sentence { margin: 1.6rem 0 0; font: 400 clamp(1.35rem, 2.1vw, 1.85rem)/1.6 var(--f-display); letter-spacing: -.015em; color: var(--fg); }
.tx-pick { all: unset; cursor: pointer; display: inline; padding: .05em .45em; margin: 0 .05em; border-radius: 999px; font-style: italic; color: var(--terra-ink); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--terra) 45%, transparent); background: transparent; box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: background .3s var(--ease), color .3s, box-shadow .3s; }
.tx-pick:hover { background: color-mix(in srgb, var(--terra) 12%, transparent); }
.tx-pick:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
.tx-pick[aria-pressed="true"] { background: var(--navy); color: var(--cream); box-shadow: none; font-style: normal; }
.tx-proj__hint { margin: 1rem 0 0; font-size: .88rem; color: var(--muted); }
.tx-proj__out { position: relative; padding: clamp(1.4rem, 3vw, 2rem); border-radius: 24px; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(13,27,42,.35); min-height: 16rem; display: grid; align-content: start; gap: 1rem; }
.tx-proj__empty { margin: 0; padding: 2.5rem 1rem; text-align: center; font: italic 400 1.15rem var(--f-display); color: var(--muted); border: 1.5px dashed var(--line); border-radius: 16px; }
.tx-proj__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.tx-proj__list > li { display: none; padding: 1rem 1.1rem; border-radius: 16px; background: var(--cream); border-left: 3px solid var(--terra); }
.tx-proj__list > li.is-on { display: block; animation: txIn .45s var(--ease); }
@keyframes txIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tx-proj__exp { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0; font: 600 .72rem var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--terra-ink); }
.tx-proj__exp a { text-transform: none; letter-spacing: 0; font-size: .85rem; color: var(--navy); }
.tx-proj__gain { margin: .4rem 0 .6rem; font: 400 1.12rem/1.35 var(--f-display); color: var(--navy); }
.tx-proj__ex { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tx-proj__ex li { padding: .3rem .7rem; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-size: .8rem; color: #4c5668; }
.tx-proj__send { justify-self: start; }
.tx-proj__send:disabled { opacity: .45; cursor: not-allowed; }
html.rm .tx-proj__list > li.is-on { animation: none; }
@media (min-width: 1000px) { .tx-proj__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 5rem; } .tx-proj__out { position: sticky; top: calc(var(--bar-h) + var(--hdr-h) + 24px); } }

/* ---------- 5 + 6. Devis et coûts ---------- */
.tx-quote { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.tx-quote__grid { display: grid; gap: 2.5rem; align-items: center; }
.tx-quote__t, .tx-cost__t { font-size: clamp(2.1rem, 4vw, 3.4rem); letter-spacing: -.035em; line-height: 1.04; max-width: 14ch; }
.tx-quote__t em, .tx-cost__t em { color: var(--terra); }
.tx-flow { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) 70px minmax(0, .9fr); align-items: center; }
.tx-flow__in { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.tx-flow__in li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: 18px; background: color-mix(in srgb, var(--white) 80%, transparent); box-shadow: 0 0 0 1px var(--line); }
.tx-flow__in li > span { flex-shrink: 0; font: 300 1.8rem/1 var(--f-display); color: var(--terra); min-width: 2.2ch; }
.tx-flow__in b { display: block; font: 400 1.2rem/1.2 var(--f-display); color: var(--fg); }
.tx-flow__in p { margin: .25rem 0 0; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.tx-flow__lines { width: 100%; height: 100%; }
.tx-flow__lines path { fill: none; stroke: var(--terra); stroke-width: 1.5; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.tx-flow__out { display: grid; justify-items: center; gap: .5rem; padding: 1.6rem 1.2rem; border-radius: 22px; background: var(--navy); color: var(--cream); text-align: center; box-shadow: 0 0 0 8px color-mix(in srgb, var(--terra) 14%, transparent), 0 30px 60px -30px rgba(13,27,42,.6); }
.tx-flow__out svg { width: 56px; height: 56px; }
.tx-flow__out b { font: 400 1.25rem/1.2 var(--f-display); }
.tx-flow__out span { font-size: .8rem; color: #a9b3c4; }
.tx-cost { display: grid; gap: 2.5rem; margin-top: clamp(4rem, 8vw, 6rem); padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
.tx-cost__p { margin: 1.2rem 0 0; color: var(--muted); font-size: 1.02rem; line-height: 1.6; max-width: 30rem; }
.tx-time { position: relative; display: grid; gap: .8rem; }
.tx-time__axis { display: flex; justify-content: space-between; margin-left: calc(42% + 1rem); padding-bottom: .4rem; border-bottom: 1px solid var(--line); font: 600 .66rem var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tx-time__row { display: grid; grid-template-columns: 42% 1fr; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px dashed var(--line); }
.tx-time__lbl b { display: block; font: 400 1.18rem/1.2 var(--f-display); color: var(--fg); }
.tx-time__lbl p { margin: .3rem 0 .45rem; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.tx-time__lbl em { font-style: normal; font: 600 .64rem var(--f-body); letter-spacing: .12em; text-transform: uppercase; padding: .25rem .55rem; border-radius: 999px; background: color-mix(in srgb, var(--terra) 14%, transparent); color: var(--terra-ink); }
.tx-time__viz { position: relative; height: 34px; }
.tx-time__viz i { position: absolute; top: 50%; transform: translateY(-50%); left: 0; }
.tx-time__block { width: 32%; height: 26px; border-radius: 8px; background: var(--terra); }
.tx-time__ticks { left: 32% !important; right: 0; height: 14px; background: repeating-linear-gradient(90deg, var(--navy) 0 6px, transparent 6px 22px); border-radius: 3px; opacity: .7; }
.tx-time__dots { left: 32% !important; right: 0; height: 10px; background: radial-gradient(circle, var(--terra-ink) 3px, transparent 3.5px) 0 50% / 26px 10px repeat-x; opacity: .6; }
.tx-time__row--run .tx-time__lbl em { background: rgba(13,27,42,.08); color: var(--navy); }
.js .tx-time .tx-time__viz i { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease); }
.js .tx-time.in .tx-time__viz i, html.rm .tx-time .tx-time__viz i { clip-path: inset(0 0 0 0); }
.tx-time__row--run .tx-time__viz i { transition-delay: .35s; } .tx-time__row--care .tx-time__viz i { transition-delay: .6s; }
.tx-time__rule { margin: .4rem 0 0; font-size: .92rem; color: var(--fg); }
.tx-time__rule::before { content: "↺"; margin-right: .5rem; color: var(--terra-ink); }
@media (min-width: 1000px) { .tx-quote__grid, .tx-cost { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 5rem; } }
@media (max-width: 760px) {
  .tx-flow { grid-template-columns: 1fr; gap: 0; }
  .tx-flow__lines { display: none; }
  .tx-flow__out { margin-top: 1.4rem; }
  .tx-flow__out::before { content: ""; position: absolute; }
  .tx-time__axis { display: none; }
  .tx-time__row { grid-template-columns: 1fr; gap: .6rem; }
}

/* ---------- 7. Preuve ---------- */
.tx-proof { padding-block: clamp(4.5rem, 9vw, 7.5rem); overflow: clip; }
.tx-proof__grid { display: grid; gap: 3rem; align-items: center; }
.tx-proof__shots { position: relative; padding-bottom: 8%; }
.tx-proof__lap { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 0 0 1px rgba(250,244,239,.1), 0 40px 80px -40px rgba(0,0,0,.7); }
.tx-proof__mob { position: absolute; right: -2%; bottom: 0; width: 26%; height: auto; border-radius: 18px; border: 5px solid #0a1520; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.tx-proof__t { font-size: clamp(2rem, 3.8vw, 3.2rem); letter-spacing: -.035em; line-height: 1.05; max-width: 15ch; }
.tx-proof__t em { color: var(--terra-soft); }
.tx-proof__p { margin: 1.2rem 0 0; color: var(--muted); line-height: 1.6; max-width: 32rem; }
.tx-proof__mods { list-style: none; margin: 1.6rem 0 0; padding: 0; counter-reset: m; display: grid; gap: .1rem; }
.tx-proof__mods li { counter-increment: m; display: grid; grid-template-columns: 2.2rem 1fr; padding: .75rem 0; border-top: 1px solid var(--line); }
.tx-proof__mods li::before { content: counter(m, decimal-leading-zero); grid-row: 1 / span 2; font: 400 .9rem var(--f-display); color: var(--terra-soft); padding-top: .15rem; }
.tx-proof__mods b { font: 400 1.1rem var(--f-display); }
.tx-proof__mods span { font-size: .88rem; color: var(--muted); }
.tx-proof__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin: 1.8rem 0 0; }
@media (min-width: 1000px) { .tx-proof__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 5rem; } }

/* ---------- 8 + 9. Parcours et conversion ---------- */
.tx-path { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.tx-path__head { max-width: 720px; }
.tx-path__t { font-size: clamp(2.1rem, 4.2vw, 3.6rem); letter-spacing: -.035em; line-height: 1.04; }
.tx-path__t em { color: var(--terra); }
.tx-path__p { margin: 1.2rem 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.6; max-width: 34rem; }
.tx-path__steps { list-style: none; margin: clamp(2.4rem, 5vw, 3.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; position: relative; }
.tx-path__steps::before { content: ""; position: absolute; left: 1.4rem; right: 12%; top: 1.4rem; height: 2px; background: linear-gradient(90deg, var(--terra), color-mix(in srgb, var(--terra) 25%, transparent)); transform-origin: left; }
.js .tx-path__steps::before { transform: scaleX(0); transition: transform 1.4s var(--ease); }
.js .tx-path__steps.in::before, html.rm .tx-path__steps::before { transform: none; }
.tx-path__steps li { position: relative; }
.tx-path__n { position: relative; z-index: 1; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--bg, var(--cream)); box-shadow: inset 0 0 0 2px var(--terra); font: 400 1.05rem var(--f-display); color: var(--terra-ink); }
.tx-path__steps li:last-child .tx-path__n { background: var(--navy); color: var(--cream); box-shadow: 0 0 0 6px color-mix(in srgb, var(--terra) 25%, transparent); }
.tx-path__steps b { display: block; margin-top: 1rem; font: 400 1.2rem/1.2 var(--f-display); color: var(--fg); }
.tx-path__steps p { margin: .4rem 0 0; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.tx-final { display: grid; gap: 2rem; align-items: center; margin-top: clamp(3.5rem, 7vw, 5rem); padding: clamp(2rem, 5vw, 3.5rem); border-radius: 32px; background: var(--navy); color: var(--cream); box-shadow: 0 50px 100px -60px rgba(13,27,42,.8); position: relative; overflow: hidden; }
.tx-final::after { content: ""; position: absolute; right: -8%; top: -30%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(228,106,74,.28), transparent 65%); pointer-events: none; }
.tx-final__t { font-size: clamp(2.1rem, 4.4vw, 3.8rem); letter-spacing: -.04em; line-height: 1.02; color: var(--cream); max-width: 13ch; }
.tx-final__t em { color: var(--terra-soft); }
.tx-final__p { margin: 1.1rem 0 0; color: #c9cfdb; font-size: 1.05rem; line-height: 1.6; max-width: 30rem; }
.tx-final__act { position: relative; z-index: 1; display: grid; gap: .4rem; justify-items: start; }
.tx-assure--light li { color: var(--cream); }
@media (min-width: 1000px) { .tx-final { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; } }
@media (max-width: 999px) { .tx-path__steps { grid-template-columns: 1fr 1fr; } .tx-path__steps::before { display: none; } }
@media (max-width: 560px) { .tx-path__steps { grid-template-columns: 1fr; gap: 1.2rem; } .tx-path__steps li { display: grid; grid-template-columns: 2.8rem 1fr; column-gap: 1rem; } .tx-path__steps b { margin-top: .5rem; } .tx-path__steps p { grid-column: 2; } }

/* Préremplissage du formulaire */
.tx-prefill { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; margin: 0 0 .6rem; padding: .7rem 1rem; border-radius: 14px; background: rgba(13,27,42,.1); font-size: .9rem; color: var(--navy); }
.tx-prefill button { all: unset; cursor: pointer; font-weight: 600; text-decoration: underline; }
.tx-prefill button:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* Mouvement réduit */
html.rm .tx-doc__mods li { animation: none; }
html.rm .tx-tile, html.rm .tx-board__hub, html.rm .tx-bar__rec, html.rm .tx-days__grid i { transition: none; }
@media (prefers-reduced-motion: reduce) { .tx-doc__mods li { animation: none !important; } .tx-tile, .tx-bar__rec { transition: none !important; } }

@media (max-width: 640px) {
  .tx-board { aspect-ratio: 1 / 1.25; }
  .tx-tile { min-width: 0; width: 27cqw; max-width: 27cqw; padding: .5rem .45rem; }
  .tx-tile b { font-size: .72rem; } .tx-tile small { font-size: .62rem; }
  .tx-board__hub svg { width: 18cqw; height: 18cqw; }
  .tx-hero__vis { padding: 2.5rem .4rem 2rem; }
}
