/* FONI — style du configurateur (site + panneau). Palette chaude : crème, brun chocolat, terracotta. */
:root {
  --tt-bg: #fff7ea; --tt-card: #fffdf8; --tt-ink: #3b2a1e; --tt-soft: #8a6f58; --tt-line: rgba(90, 60, 30, .14);
  --tt-accent: #d9703b; --tt-accent-d: #c25a28; --tt-accent-l: #fde6d6; --tt-green: #4f9a6b;
  --tt-font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.tt-form { font-family: var(--tt-font); color: var(--tt-ink); display: flex; flex-direction: column; gap: 14px; }
.tt-form * { box-sizing: border-box; }
.tt-sec { background: var(--tt-card); border: 1px solid var(--tt-line); border-radius: 18px; padding: 16px 16px 14px; box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 6px 18px rgba(90, 55, 20, .05); }
.tt-sec h3 { margin: 0 0 4px; font-size: 15px; font-weight: 700; letter-spacing: .1px; }
.tt-hint { margin: 0 0 10px; color: var(--tt-soft); font-size: 13px; line-height: 1.35; }
.tt-sub { margin: 14px 0 7px; color: var(--tt-soft); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.tt-sub:first-of-type { margin-top: 6px; }
.tt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tt-chip { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1.5px solid var(--tt-line); font-size: 13.5px; font-weight: 600; transition: transform .12s, border-color .15s, background .15s, box-shadow .15s; }
.tt-chip:hover { transform: translateY(-1px); border-color: rgba(217, 112, 59, .5); }
.tt-chip:focus-visible, .tt-age:focus-visible, .tt-input:focus-visible { outline: 3px solid rgba(217, 112, 59, .4); outline-offset: 2px; }
.tt-chip.tt-on { border-color: var(--tt-accent); background: var(--tt-accent-l); box-shadow: 0 0 0 3px rgba(217, 112, 59, .14); }
.tt-sw { width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .12) inset, 0 1px 2px rgba(0, 0, 0, .12); flex: none; }
.tt-colors .tt-sw { width: 26px; height: 26px; }
.tt-dots .tt-chip { padding: 7px; border-radius: 50%; }
.tt-none { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--tt-soft); font-size: 15px; }
.tt-emo { font-size: 18px; line-height: 1; }
.tt-ages { display: grid; gap: 8px; }
.tt-age { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 12px; align-items: center; padding: 11px 13px; border-radius: 14px; background: #fff; border: 1.5px solid var(--tt-line); transition: .15s; }
.tt-age:hover { border-color: rgba(217, 112, 59, .5); transform: translateY(-1px); }
.tt-age.tt-on { border-color: var(--tt-accent); background: var(--tt-accent-l); box-shadow: 0 0 0 3px rgba(217, 112, 59, .14); }
.tt-age.tt-soon { opacity: .55; cursor: not-allowed; filter: grayscale(.4); }
.tt-age.tt-soon:hover { transform: none; border-color: inherit; }
.tt-badge { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; background: var(--tt-accent-l, #fbe9dd); color: var(--tt-accent, #d9703b); padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.tt-age-i { font-size: 26px; width: 36px; text-align: center; }
.tt-age b { display: block; font-size: 14px; } .tt-age small { display: block; color: var(--tt-soft); font-size: 12.5px; margin-top: 2px; line-height: 1.3; }
.tt-input { all: unset; box-sizing: border-box; width: 100%; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1.5px solid var(--tt-line); font-size: 17px; font-weight: 700; }
.tt-input:focus { border-color: var(--tt-accent); }
.tt-size { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-top: 14px; font-size: 13px; color: var(--tt-soft); font-weight: 700; }
.tt-size input { accent-color: var(--tt-accent); width: 100%; }
.tt-size-v { color: var(--tt-ink); min-width: 64px; text-align: right; }
.tt-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 600; }
.tt-toggle input { position: absolute; opacity: 0; }
.tt-knob { width: 40px; height: 24px; border-radius: 999px; background: #d8cbb9; position: relative; transition: .2s; flex: none; }
.tt-knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: .2s; }
.tt-toggle input:checked + .tt-knob { background: var(--tt-green); } .tt-toggle input:checked + .tt-knob::after { transform: translateX(16px); }
.tt-toggle input:focus-visible + .tt-knob { outline: 3px solid rgba(217, 112, 59, .4); outline-offset: 2px; }
.tt-btn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: var(--tt-ink); color: #fff7ea; font: 700 15px var(--tt-font); transition: transform .12s, background .15s, box-shadow .15s; box-shadow: 0 6px 16px rgba(59, 42, 30, .25); }
.tt-btn:hover { background: #55392a; transform: translateY(-1px); } .tt-btn:active { transform: scale(.98); }
.tt-btn:focus-visible { outline: 3px solid rgba(217, 112, 59, .5); outline-offset: 3px; }
.tt-btn.tt-accent { background: var(--tt-accent); box-shadow: 0 6px 18px rgba(217, 112, 59, .4); } .tt-btn.tt-accent:hover { background: var(--tt-accent-d); }
.tt-btn.tt-ghost { background: transparent; color: var(--tt-ink); box-shadow: none; border: 1.5px solid var(--tt-line); } .tt-btn.tt-ghost:hover { background: #fff; }
.tt-btn.tt-danger { background: #b64233; box-shadow: 0 6px 16px rgba(182, 66, 51, .3); } .tt-btn.tt-danger:hover { background: #9d3629; }
.tt-btn[disabled] { opacity: .45; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .tt-form * { transition: none !important; animation: none !important; } }
