/* Formulaire de devis plein écran */
.tf-page { margin: 0; min-height: 100vh; min-height: 100dvh; color: #fff; background: radial-gradient(900px 600px at 85% -10%, rgba(21, 96, 192, .65), transparent 60%), radial-gradient(700px 500px at -10% 110%, rgba(248, 192, 16, .18), transparent 60%), var(--ink); overflow-x: hidden; }
.tf-bar { position: fixed; top: 0; left: 0; right: 0; height: 4px; background: rgba(255, 255, 255, .12); z-index: 20; }
.tf-bar span { display: block; height: 100%; width: 0; background: var(--lime); transition: width .4s ease; }
.tf-top { position: fixed; top: 4px; left: 0; right: 0; z-index: 15; display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; }
.tf-logo { background: #fff; border-radius: 12px; padding: 6px 10px; display: inline-flex; }
.tf-logo img { height: 40px; width: auto; }
.tf-top nav { display: flex; gap: 1rem; align-items: center; }
.tf-top nav a { color: #c8d4ea; text-decoration: none; font-size: .9rem; font-weight: 500; }
.tf-top nav a:hover { color: var(--lime); }
#tf { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 100px 24px 110px; }
.tf-step { width: 100%; max-width: 720px; animation: up .45s cubic-bezier(.2, .8, .2, 1) both; }
.tf-step.from-top { animation-name: down; }
@keyframes up { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes down { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
.tf-num { color: var(--lime); font-weight: 600; margin: 0 0 .4rem; font-size: .95rem; }
.tf-q { font-family: var(--display); color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.25; margin: 0 0 .5rem; letter-spacing: -.01em; }
.tf-q i { color: var(--lime); font-style: normal; }
.tf-big { font-size: clamp(2rem, 5vw, 3rem); }
.tf-sub { color: #b9c6e0; font-size: 1.1rem; margin: 0 0 1.6rem; }
.tf-sub b { color: #fff; }
.tf-hint { color: #9fb0d0; font-size: .85rem; margin: -1rem 0 .8rem; }
.tf-choices { display: grid; gap: .55rem; max-width: 520px; margin-bottom: 1.4rem; }
.tf-choice { display: flex; align-items: center; gap: .8rem; width: 100%; text-align: left; font: 500 1.05rem var(--font); color: #fff; background: rgba(255, 255, 255, .07); border: 1.5px solid rgba(255, 255, 255, .22); border-radius: 10px; padding: .7rem .9rem; cursor: pointer; transition: background .15s, border-color .15s; }
.tf-choice:hover { background: rgba(255, 255, 255, .14); }
.tf-choice kbd { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, .4); font: 700 .78rem var(--font); background: rgba(0, 0, 0, .15); }
.tf-choice em { margin-left: auto; font-style: normal; color: var(--lime); opacity: 0; font-weight: 700; }
.tf-choice.on { background: rgba(248, 192, 16, .16); border-color: var(--lime); }
.tf-choice.on kbd { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.tf-choice.on em { opacity: 1; }
.tf-choice.blink { animation: blink .4s; }
@keyframes blink { 25%, 75% { background: rgba(248, 192, 16, .35); } 50% { background: rgba(248, 192, 16, .1); } }
.tf-input { display: block; width: 100%; background: transparent; border: 0; border-bottom: 2px solid rgba(255, 255, 255, .3); border-radius: 0; color: #fff; font: 400 clamp(1.3rem, 2.6vw, 1.7rem) var(--font); padding: .4rem 0 .6rem; margin-bottom: 1.4rem; box-shadow: none; resize: none; color-scheme: dark; }
.tf-input::placeholder { color: rgba(255, 255, 255, .35); }
.tf-input:focus { outline: none; border-bottom-color: var(--lime); background: transparent; box-shadow: none; }
textarea.tf-input { font-size: 1.2rem; line-height: 1.5; margin-bottom: .4rem; }
.tf-kb { font-size: .8rem; color: #9fb0d0; margin: 0 0 1.2rem; }
.tf-ok { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.tf-ok span { font-size: .82rem; color: #9fb0d0; }
.tf-ok b { color: #fff; }
.tf-btn { display: inline-flex; align-items: center; gap: .4rem; background: var(--lime); color: var(--ink); border: 0; border-radius: 10px; padding: .75rem 1.4rem; font: 700 1.05rem var(--font); cursor: pointer; text-decoration: none; transition: transform .15s, background .15s; }
.tf-btn:hover { background: #ffd23f; transform: translateY(-1px); }
.tf-btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1.5px solid rgba(255, 255, 255, .3); }
.tf-btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.tf-err { min-height: 1.4em; margin: .8rem 0 0; color: #ffb4a8; font-weight: 600; }
.tf-err.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.tf-time { margin-top: 1.4rem; color: #9fb0d0; font-size: .9rem; }
.tf-time a { color: #c8d4ea; }
.tf-end-ic { font-size: 3rem; margin-bottom: .6rem; }
.tf-end-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.tf-nav { position: fixed; right: 24px; bottom: 24px; display: flex; gap: 2px; z-index: 15; }
.tf-nav button { width: 40px; height: 36px; border: 0; background: var(--lime); color: var(--ink); font-size: 1rem; cursor: pointer; }
.tf-nav button:first-child { border-radius: 8px 0 0 8px; }
.tf-nav button:last-child { border-radius: 0 8px 8px 0; }
.tf-nav button:disabled { opacity: .4; cursor: default; }
.tf-trust { position: fixed; left: 24px; bottom: 28px; color: #9fb0d0; font-size: .82rem; z-index: 15; }
@media (max-width: 640px) {
  .tf-top { padding: 10px 16px; }
  .tf-logo img { height: 32px; }
  .tf-top nav .tf-hide { display: none; }
  #tf { align-items: flex-start; padding: 90px 16px 100px; }
  .tf-ok span, .tf-trust { display: none; }
  .tf-nav { display: none; }
  .tf-btn { width: 100%; justify-content: center; }
  .tf-end-actions { flex-direction: column; }
}

#nl-badge-frame { display: none !important; }
