/* Lémo — tunnel de demande */
.tunnel-body { background: #F6F4EC; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.tunnel { max-width: 1240px; margin: 0 auto; padding: 32px 24px 64px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }

/* Panneau latéral */
.t-side { flex: 1 1 340px; max-width: 420px; min-width: 0; background: #fff; border-radius: 32px; padding: 36px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 24px; box-shadow: 0 1px 0 rgba(16,48,42,.04); }
.t-side .brand { margin-bottom: 8px; }
.t-title { font: 800 clamp(34px, 4vw, 46px)/1.04 var(--display); letter-spacing: -0.03em; margin: 0; }
.t-title em { font-style: normal; color: var(--leaf); }
.t-intro { color: var(--text); font-size: 16px; line-height: 1.6; }
.t-saving { background: var(--lemon-soft); border: 2px solid #F5DE7A; border-radius: 22px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.t-saving span { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--leaf); }
.t-saving strong { font: 800 40px/1.05 var(--display); letter-spacing: -0.03em; }
.t-saving small { font-size: 14px; color: var(--text); }
.t-progress__head { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.t-progress__head b { color: var(--leaf); }
.t-progress__bar { height: 8px; border-radius: 999px; background: #E9EEE9; overflow: hidden; }
.t-progress__bar i { display: block; height: 100%; width: 0; background: var(--leaf); border-radius: inherit; transition: width .35s ease; }
.t-steps { list-style: none; margin: 0; padding: 8px; background: var(--mist); border-radius: 22px; display: flex; flex-direction: column; gap: 4px; }
.t-steps li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 16px; color: var(--muted); }
.t-steps li b { display: block; color: var(--ink); font-size: 15px; }
.t-steps li small { font-size: 13px; }
.t-ico { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 2px solid #CBD5CF; display: flex; align-items: center; justify-content: center; font: 700 15px/1 var(--display); color: var(--muted); background: #fff; }
.t-steps li.is-current { background: #fff; box-shadow: 0 2px 10px rgba(16,48,42,.06); }
.t-steps li.is-current .t-ico { border-color: var(--leaf); color: var(--leaf); }
.t-steps li.is-done .t-ico { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.t-steps li:not(.is-current):not(.is-done) b { color: var(--muted); }
.t-mascot { width: 160px; height: auto; align-self: center; margin-top: 4px; }

/* Contenu */
.t-main { flex: 999 1 560px; min-width: 0; }
.t-card { background: #fff; border-radius: 32px; padding: 40px; display: flex; flex-direction: column; gap: 22px; }
.t-card[hidden] { display: none; }
.t-card__head { display: flex; align-items: center; gap: 16px; }
.t-card__head h2 { font-size: clamp(26px, 3vw, 34px); }
.t-badge { width: 52px; height: 52px; border-radius: 16px; background: var(--lemon-soft); color: var(--leaf); display: flex; align-items: center; justify-content: center; flex: none; }
.t-sub { color: var(--text); font-size: 16px; line-height: 1.6; }
.t-chips { display: inline-flex; gap: 8px; margin-left: 6px; flex-wrap: wrap; }
.t-chips span { font-size: 13px; font-weight: 600; background: var(--mist); color: var(--leaf); padding: 4px 10px; border-radius: 999px; }
.t-h3 { font: 700 18px/1.2 var(--display); margin: 4px 0 -6px; }
.t-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { .t-grid { grid-template-columns: minmax(0, 1fr); } .t-card, .t-side { padding: 24px; border-radius: 24px; } .t-side { position: static; max-width: none; } .t-mascot, .t-steps { display: none; } .tunnel { padding: 16px 12px 48px; gap: 16px; } }
@media (max-width: 1000px) { .t-side { position: static; max-width: none; } }

.input select, .input input[type=date] { min-height: 52px; padding: 12px 16px; border: 2px solid #CBD5CF; border-radius: 14px; font: 400 16px var(--body); color: var(--ink); background: #fff; width: 100%; }
.input select:focus, .input input[type=date]:focus { border-color: var(--leaf); outline: none; box-shadow: 0 0 0 3px rgba(31,122,77,.2); }
.input input.is-invalid, .input select.is-invalid { border-color: #C2410C; }

/* Questions oui / non */
.t-q { display: flex; flex-direction: column; gap: 10px; }
.t-q__label { font-weight: 600; font-size: 16px; }
.t-yn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.t-yn label, .t-banks label { position: relative; cursor: pointer; }
.t-yn input, .t-banks input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.t-yn span { display: flex; align-items: center; justify-content: center; min-height: 56px; border-radius: 16px; background: var(--lemon-soft); font-weight: 700; font-size: 17px; border: 2px solid transparent; transition: background .15s, color .15s; }
.t-yn label:hover span { border-color: #E9C94B; }
.t-yn input:checked + span { background: var(--ink); color: #fff; }
.t-yn input:focus-visible + span, .t-banks input:focus-visible + span { outline: 3px solid var(--leaf); outline-offset: 2px; }
.t-q.is-invalid .t-yn span { border-color: #C2410C; }
.t-note { font-size: 13px; color: var(--muted); line-height: 1.5; }
.t-note a { color: var(--leaf); }

/* Banques */
.t-banks { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .t-banks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.t-banks span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 76px; padding: 12px; border-radius: 20px; border: 2px solid var(--line); background: #fff; font-weight: 700; font-size: 16px; transition: border-color .15s, background .15s; }
.t-banks label:hover span { border-color: #B9C6BF; }
.t-banks input:checked + span { border-color: var(--leaf); background: #EEF5EF; box-shadow: inset 0 0 0 1px var(--leaf); }
.t-banks__other { grid-column: 1 / -1; }
.t-banks__other span { min-height: 60px; font-weight: 600; }
.t-banks.is-invalid span { border-color: #F2B8A0; }

/* Documents */
.t-docs { display: flex; flex-direction: column; gap: 16px; }
.t-doc-label { font-weight: 600; font-size: 15px; }
.t-later { font-size: 14px; color: var(--muted); }
.t-link { background: none; border: 0; padding: 0; font: inherit; color: var(--leaf); text-decoration: underline; cursor: pointer; }

/* Navigation */
.t-nav { display: flex; gap: 12px; margin-top: 20px; }
.t-nav[hidden] { display: none; }
.t-nav .t-next { flex: 1; min-height: 60px; font-size: 18px; }
#t-msg { margin-top: 16px; }
.t-foot { text-align: center; font-size: 14px; color: var(--muted); margin-top: 18px; }

/* Confirmation */
.t-done { align-items: center; text-align: center; padding: 56px 32px; }
.t-done img { width: 160px; height: auto; }
.t-done h2 { font-size: 40px; }

/* Étape 5 : documents ---------------------------------------------------- */
.t-stack { display: flex; flex-direction: column; gap: 20px; }
.t-stack[hidden] { display: none; }
.t-modes { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 820px) { .t-modes { grid-template-columns: minmax(0, 1fr); } }
.t-modes label { position: relative; cursor: pointer; }
.t-modes input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.t-modes span { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px; border-radius: 24px; border: 2px solid var(--line); background: #fff; transition: border-color .15s, background .15s; }
.t-modes b { font-size: 17px; }
.t-modes small { font-size: 14px; color: var(--muted); line-height: 1.45; }
.t-mode-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--mist); color: var(--muted); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; font-style: normal; }
.t-tag { align-self: flex-start; margin-top: 6px; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--leaf); background: #E3F3E9; padding: 6px 12px; border-radius: 999px; }
.t-modes label:hover span { border-color: #B9C6BF; }
.t-modes input:checked + span { border-color: var(--leaf); background: #F2F8F3; }
.t-modes input:checked + span .t-mode-ico { background: var(--leaf); color: #fff; }
.t-modes input:focus-visible + span { outline: 3px solid var(--leaf); outline-offset: 2px; }

.t-acc { background: #fff; border: 2px solid var(--line); border-radius: 24px; }
.t-acc summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; gap: 14px; min-height: 64px; }
.t-acc summary::-webkit-details-marker { display: none; }
.t-acc summary > span:last-child { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.t-acc summary b { font-size: 17px; }
.t-acc summary small { font-size: 14px; color: var(--muted); font-weight: 400; }
.t-acc summary::after { content: "+"; font: 700 28px/1 var(--display); color: var(--leaf); transition: transform .2s; }
.t-acc[open] summary::after { transform: rotate(45deg); }
.t-acc--green { background: var(--lemon-soft); border-color: #F0D35C; }
.t-acc--plain { border-radius: 20px; }
.t-acc--plain .input { padding: 0 24px 24px; }
.t-acc__play { width: 40px; height: 40px; border-radius: 50%; background: var(--leaf); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; padding-left: 2px; }
.t-howto { margin: 0; padding: 0 24px 24px 48px; display: flex; flex-direction: column; gap: 10px; line-height: 1.55; color: var(--text); }
.t-why { padding: 0 24px 24px; display: flex; flex-direction: column; gap: 10px; line-height: 1.6; color: var(--text); }

.t-safe { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.t-safe svg { flex: none; margin-top: 1px; }
#tableaux { display: flex; flex-direction: column; gap: 12px; }
.t-add { border: 2px dashed #B9C6BF; background: transparent; border-radius: 16px; min-height: 56px; font: 600 15px var(--body); color: var(--leaf); cursor: pointer; }
.t-add:hover { border-color: var(--leaf); background: #F2F8F3; }
.t-help { display: flex; gap: 12px; align-items: flex-start; background: #F2F8F3; border-radius: 18px; padding: 16px 18px; font-size: 14px; line-height: 1.5; color: var(--text); }
.t-help svg { flex: none; color: var(--leaf); margin-top: 2px; }
.t-help b { color: var(--ink); }
.t-help a { color: var(--leaf); }
.t-alert { background: #FFF6E0; border: 2px solid #F3DDA0; border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.5; color: #6B4E00; }
.t-alert b { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; }
.t-modeinfo { background: #F2F8F3; border-radius: 18px; padding: 18px 20px; line-height: 1.55; color: var(--text); }
.t-modeinfo b { color: var(--ink); }
.t-final { display: flex; gap: 16px; align-items: center; background: var(--lemon-soft); border-radius: 24px; padding: 18px 22px; }
.t-final__ico { width: 44px; height: 44px; border-radius: 50%; background: var(--leaf); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.t-final b { display: block; font-size: 16px; }
.t-final small { font-size: 14px; color: var(--text); }
.t-title--sm { font-size: clamp(30px, 3.2vw, 38px); }

/* Confirmation ------------------------------------------------------------ */
.t-done { gap: 18px; padding: 48px 40px; }
.t-done img { width: 200px; }
.t-done h2 { font-size: clamp(32px, 4vw, 44px); }
.t-done > .t-sub { max-width: 620px; }
.t-track { list-style: none; margin: 8px 0 0; padding: 28px; background: var(--mist); border-radius: 28px; width: 100%; max-width: 640px; text-align: left; display: flex; flex-direction: column; gap: 0; }
.t-track li { display: flex; gap: 18px; position: relative; padding-bottom: 26px; }
.t-track li:last-child { padding-bottom: 0; }
.t-track li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px; background: #D5DDD7; }
.t-track li.is-done::before { background: var(--leaf); }
.t-track i { width: 44px; height: 44px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 700 17px/1 var(--display); font-style: normal; background: #E9EEE9; color: var(--muted); }
.t-track li.is-done i { background: var(--leaf); color: #fff; }
.t-track li.is-current i { background: #fff; border: 2px solid var(--leaf); color: var(--leaf); }
.t-track b { display: block; font-size: 17px; margin-top: 2px; }
.t-track small { font-size: 15px; color: var(--muted); line-height: 1.5; }
.t-recap { width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: 12px; }
.t-recap > div { display: flex; align-items: center; gap: 16px; border: 2px solid var(--line); border-radius: 22px; padding: 14px 18px; text-align: left; flex-wrap: wrap; }
.t-recap i { width: 48px; height: 48px; border-radius: 14px; background: var(--mist); color: var(--leaf); display: flex; align-items: center; justify-content: center; font-style: normal; flex: none; }
.t-recap b { flex: 1; font-size: 17px; }
.t-recap .ok { color: var(--leaf); font-size: 15px; font-weight: 500; }
.t-recap .wait { color: #8A5A00; font-size: 15px; font-weight: 500; }
.t-green { color: var(--leaf); }
.t-more { width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: 12px; }
.t-more[hidden] { display: none; }
.t-steps li.is-clickable { cursor: pointer; } .t-steps li.is-clickable:hover { background: #fff; }

/* IA Lémo ------------------------------------------------------------------ */
.ia-hint { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg, #FFF8D6, #EEF7EF); font-size: 14px; line-height: 1.5; color: var(--text); }
.ia-hint b { color: var(--ink); }
.ia-badge { flex: none; font: 800 12px/1 var(--display); letter-spacing: .5px; color: var(--ink); background: var(--lemon); border: 2px solid var(--ink); border-radius: 8px; padding: 5px 7px; }
.ia-panel { display: flex; flex-direction: column; gap: 12px; }
.ia-card { border-radius: 20px; border: 2px solid var(--line); padding: 16px 18px; background: #fff; display: flex; flex-direction: column; gap: 10px; animation: ia-in .35s ease both; }
.ia-card__head { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.ia-card__head small { font-weight: 500; color: var(--muted); margin-left: auto; font-size: 13px; }
.ia-card--reading { background: #FFFDF2; border-color: #F3DDA0; }
.ia-card--done { border-color: #BFE0CA; }
.ia-card--warn { border-color: #F3C8A0; background: #FFF6EE; }
.ia-dot { width: 26px; height: 26px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.ia-card--done .ia-dot { background: var(--leaf); color: #fff; }
.ia-card--warn .ia-dot { background: #E8963C; color: #fff; }
.ia-card--reading .ia-dot { border: 3px solid #F3DDA0; border-top-color: var(--leaf); animation: ia-spin .8s linear infinite; }
.ia-scan { position: relative; height: 8px; border-radius: 999px; background: #F3EBCB; overflow: hidden; }
.ia-scan::after { content: ""; position: absolute; inset: 0; width: 40%; border-radius: inherit; background: linear-gradient(90deg, transparent, var(--lemon), transparent); animation: ia-scan 1.3s ease-in-out infinite; }
.ia-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 0; }
.ia-facts div { background: var(--mist); border-radius: 12px; padding: 8px 12px; }
.ia-facts dt { font-size: 12px; color: var(--muted); }
.ia-facts dd { margin: 2px 0 0; font-weight: 700; font-size: 15px; }
.ia-note { font-size: 13px; color: var(--muted); }
.ia-warn { font-size: 14px; color: #8A4A00; }
.ia-saving { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 20px; background: var(--ink); color: #fff; animation: ia-in .35s ease both; }
.ia-saving b { font: 800 30px/1 var(--display); color: var(--lemon); letter-spacing: -0.02em; }
.ia-saving span { font-size: 14px; color: #D3DED9; line-height: 1.4; }
.t-saving.is-updated { animation: ia-pop .6s ease; }
@keyframes ia-spin { to { transform: rotate(360deg); } }
@keyframes ia-scan { from { left: -40%; } to { left: 100%; } }
@keyframes ia-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes ia-pop { 50% { transform: scale(1.04); box-shadow: 0 0 0 6px rgba(255,208,47,.35); } }

/* Contrôle identité / banque lu par l'IA */
.ia-check { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #FFF6E0; border: 1px solid #F2D58A; }
.ia-check ul { margin: 8px 0 10px; padding-left: 18px; font-size: 14px; }
.ia-check li { margin: 3px 0; }
.ia-check small { color: #6B7A76; }
.ia-fix { min-height: 40px; padding: 8px 18px; font-size: 15px; background: var(--ink, #10302A); color: #fff; }
.ia-fix:hover { color: #fff; }

/* Fenêtre « Vous partez déjà ? » */
.bye { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(16,48,42,.45); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s ease; }
.bye[hidden] { display: none; }
.bye.is-open { opacity: 1; }
.bye__box { position: relative; width: min(460px, 100%); background: #fff; border-radius: 28px; padding: 34px 30px 26px; text-align: center; box-shadow: 0 30px 80px rgba(16,48,42,.3); transform: translateY(16px) scale(.97); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.bye.is-open .bye__box { transform: none; }
.bye__x { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 1; color: #5B6B66; cursor: pointer; border-radius: 50%; }
.bye__x:hover { background: #F1F4F2; }
.bye__lemon { width: 110px; height: 110px; margin: -6px auto 8px; display: block; animation: byeWobble 2.4s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes byeWobble { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg) translateY(2px); } }
.bye__tear { animation: byeTear 2.2s ease-in infinite; }
@keyframes byeTear { 0%, 15% { transform: translateY(0); opacity: 0; } 25%, 70% { opacity: 1; } 100% { transform: translateY(9px); opacity: 0; } }
.bye h2 { font-size: clamp(24px, 4vw, 30px); margin: 0 0 10px; }
.bye p { margin: 0 0 12px; line-height: 1.55; color: var(--text, #3B4D47); }
.bye__amount { display: inline-block; background: var(--lemon-soft, #FFF8D6); border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.bye__amount b { font-size: 18px; color: var(--ink, #10302A); }
.bye__actions { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 10px 0 14px; }
.bye__actions .btn { width: 100%; }
.bye__go { font-size: 15px; color: #5B6B66; }
.bye__ps { font-size: 13px; color: #6B7A76 !important; margin: 0 !important; }
html.bye-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .bye__lemon, .bye__tear { animation: none; } }
.t-guide { margin: 10px 0 0; }
.t-guide a { font-weight: 700; color: var(--leaf, #1F7A4D); }

/* Barre retour en haut de chaque étape */
.t-topnav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.t-topnav[hidden] { display: none; }
.t-topnav__back { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--line, #DCE4DE); background: #fff; font: 700 15px/1.2 var(--body); color: var(--ink); cursor: pointer; transition: border-color .15s, transform .15s; }
.t-topnav__back:hover { border-color: var(--ink); transform: translateX(-2px); }
.t-topnav__back:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; }
.t-topnav__count { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--leaf); }

/* Badges des banques (étape 2) */
.t-banks span { gap: 10px; }
.t-bk { font-style: normal; display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--c, var(--ink)); color: #fff; font: 800 12px/1 var(--display); letter-spacing: -.02em; box-shadow: inset 0 -3px 0 rgba(0,0,0,.18); }
.t-bk.has-logo, .t-find__badge.has-logo { background: #fff; box-shadow: none; border: 1px solid #E3E9E6; }
.t-bk img, .t-find__badge img { width: 82%; height: 82%; object-fit: contain; }
@media (max-width: 640px) { .t-banks span { flex-direction: column; gap: 6px; font-size: 14px; } }

/* Où trouver ses documents */
.t-find { background: linear-gradient(135deg, #FFF8D6, #FFFDF2); border: 2px solid #F0D35C; box-shadow: 0 10px 30px rgba(242,183,5,.15); }
.t-find summary { gap: 16px; }
.t-find summary b { font-size: 19px; }
.t-find__badge { display: inline-grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 15px; background: var(--c, #fff); color: #fff; font: 800 16px/1 var(--display); box-shadow: inset 0 -4px 0 rgba(0,0,0,.18); font-size: 24px; }
.t-find__badge:not(.has-logo):not(:empty) { font-size: 16px; }
.t-find__body { padding: 0 24px 22px; display: flex; flex-direction: column; gap: 14px; }
.t-find__docs { display: flex; flex-wrap: wrap; gap: 8px; }
.t-find__docs span { background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 700; }
.t-find__tabs { display: inline-flex; background: #fff; border-radius: 999px; padding: 4px; gap: 4px; align-self: flex-start; box-shadow: 0 1px 2px rgba(16,48,42,.08); }
.t-find__tabs[hidden] { display: none; }
.t-find__tabs button { border: 0; background: none; border-radius: 999px; padding: 9px 16px; font: 700 14px/1 var(--body); color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.t-find__tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.t-find__steps { list-style: none; margin: 0; padding: 0; counter-reset: fs; display: flex; flex-direction: column; gap: 10px; }
.t-find__steps li { counter-increment: fs; position: relative; padding: 12px 14px 12px 54px; background: #fff; border-radius: 16px; line-height: 1.5; font-size: 15px; color: var(--ink); animation: findIn .4s cubic-bezier(.2,.8,.2,1) both; }
.t-find__steps li::before { content: counter(fs); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--lemon); display: grid; place-items: center; font: 800 15px/1 var(--display); }
.t-find__steps li:last-child::before { background: var(--leaf); color: #fff; }
@keyframes findIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.t-find__tip { margin: 0; background: #fff; border-left: 4px solid var(--lemon); border-radius: 12px; padding: 10px 14px; font-size: 14px; line-height: 1.5; }
.t-find__tip[hidden] { display: none; }
.t-find__foot { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; font-size: 14px; color: var(--muted); }
.t-find__foot a { font-weight: 800; color: var(--leaf); }
@media (prefers-reduced-motion: reduce) { .t-find__steps li { animation: none; } }

/* Votre quotidien (habitudes de vie) */
.t-hab { display: flex; flex-direction: column; gap: 4px; background: #FAFCFB; border: 1px solid #E3E9E6; border-radius: 22px; padding: 18px 20px; }
.t-hab__title { font: 800 18px/1.2 var(--display); margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.t-hab__title small { font: 600 13px/1.3 var(--body); color: var(--muted); }
.t-hab__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 8px 18px; align-items: center; padding: 12px 0; border-top: 1px solid #EBF0ED; }
.t-hab__row:first-of-type { border-top: 0; }
.t-hab__row > .t-q__label { margin: 0; font-size: 15px; }
.t-hab__row > .t-note, .t-hab__row > .t-reveal { grid-column: 1 / -1; margin: 0; }
.t-hab__row select { min-height: 46px; padding: 10px 14px; border: 2px solid #CBD5CF; border-radius: 14px; font: 500 15px var(--body); color: var(--ink); background: #fff; width: 100%; }
.t-hab__row select:focus { border-color: var(--leaf); outline: none; box-shadow: 0 0 0 3px rgba(31,122,77,.2); }
.t-hab__row select.is-invalid { border-color: #C2410C; }
.t-hab__row.is-invalid .t-yn span { border-color: #C2410C; }
.t-yn--sm { gap: 8px; }
.t-yn--sm span { min-height: 44px; font-size: 14px; border-radius: 12px; padding: 6px 10px; text-align: center; line-height: 1.2; }
.t-yn--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.t-reveal { display: flex; flex-direction: column; gap: 10px; animation: revealIn .3s ease both; }
.t-reveal[hidden] { display: none; }
@keyframes revealIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.t-reveal .input input { min-height: 46px; }
.t-sports { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.t-sport { position: relative; cursor: pointer; }
.t-sport input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.t-sport span { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 14px; border: 2px solid #E3E9E6; background: #fff; transition: border-color .15s, background .15s; height: 100%; }
.t-sport b { font-size: 14px; }
.t-sport small { font-size: 12px; color: var(--muted); line-height: 1.35; }
.t-sport:hover span { border-color: #B9C6BF; }
.t-sport input:checked + span { border-color: var(--leaf); background: #EEF5EF; box-shadow: inset 0 0 0 1px var(--leaf); }
.t-sport input:focus-visible + span { outline: 3px solid var(--leaf); outline-offset: 2px; }
@media (max-width: 640px) {
  .t-hab { padding: 14px; }
  .t-hab__row { grid-template-columns: minmax(0, 1fr); }
  .t-sports { grid-template-columns: minmax(0, 1fr); }
  .t-yn--3 span { font-size: 13px; }
}
.t-reveal .input input[type=number] { max-width: 220px; }
