/* ==========================================================================
   Pagina Noleggio: sezione «Noleggio solo test» (cliente 13/11/2026, punto
   60; t4-noleggio.js). Distinta dal noleggio gara: testo a sinistra, scheda
   con prezzo, assistenza e pulsante a destra, modulo che si apre sotto.
   - .t4nt        griglia testo + scheda
   - .t4nt-card   prezzo («Prezzo su richiesta» se il pannello non ne ha uno),
                  assistenza inclusa / facoltativa / non prevista, pulsante
   - .t4nt-form   richiesta breve (POST /api/kart-request, kind=noleggio_test)
   Token e .t4-pill da t4-fx.css. Misure in px con clamp(): la root del tema
   cambia valore con la larghezza. Movimento solo con prefers-reduced-motion:
   no-preference.
   ========================================================================== */
.t4nt { align-items: start; color: var(--t4-navy); display: grid; font-family: var(--t4-mono); font-size: 15px; gap: clamp(20px, 3vw, 56px); grid-template-columns: minmax(0, 1fr); line-height: 1.6; margin-top: clamp(16px, 2vw, 32px); }
@media (min-width: 992px) { .t4nt { grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr); } }
.t4nt *, .t4nt *::before, .t4nt *::after { box-sizing: border-box; }
.t4nt :focus-visible { outline: 2px solid var(--t4-blue); outline-offset: 3px; }
.t4nt a:not(.t4-pill) { color: var(--t4-blue); }
.t4nt [hidden] { display: none !important; }
.t4nt-text { min-width: 0; }
.t4nt-text p { margin: 0 0 14px; max-width: 62ch; }
.t4nt-note { border-left: 3px solid var(--t4-blue); font-size: 13px; opacity: .85; padding-left: 12px; }

/* scheda: prezzo, assistenza, pulsante */
.t4nt-card { background: var(--t4-grad); border-radius: 24px; box-shadow: 0 24px 60px rgba(14, 20, 48, .18); color: #fff; min-width: 0; padding: clamp(20px, 2vw, 32px); }
.t4nt-facts { margin: 0 0 20px; }
.t4nt-facts > div { border-bottom: 1px solid rgba(255, 255, 255, .2); padding: 0 0 14px; }
.t4nt-facts > div + div { padding-top: 14px; }
.t4nt-facts dt { color: #c9d4ff; font-size: 11px; letter-spacing: .12em; margin: 0 0 6px; text-transform: uppercase; }
.t4nt-facts dd { margin: 0; }
.t4nt-facts dd strong { display: block; font-family: var(--t4-head); font-size: 18px; font-weight: 500; letter-spacing: -.01em; line-height: 1.2; }
.t4nt-facts dd span { display: block; font-size: 12px; line-height: 1.5; margin-top: 4px; opacity: .82; }
.t4nt-facts dd .t4nt-price { font-size: clamp(32px, 2.8vw, 46px); letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.t4nt-facts dd .t4nt-price--req { font-size: clamp(24px, 2vw, 32px); text-transform: uppercase; white-space: normal; }
.t4nt-card .t4-pill { max-width: 100%; white-space: normal; }
@media (max-width: 479px) { .t4nt-card .t4-pill { height: auto; justify-content: space-between; min-height: 48px; padding-block: 6px; width: 100%; } .t4nt-card .t4-pill__label { height: auto; overflow: visible; } .t4nt-card .t4-pill__label > span { text-shadow: none; } }

/* modulo */
.t4nt-form { background: #fff; border: 1px solid var(--t4-hair); border-radius: 24px; grid-column: 1 / -1; min-width: 0; padding: clamp(20px, 2.4vw, 36px); }
.t4nt-form h3 { color: var(--t4-navy); font-family: var(--t4-head); font-size: clamp(22px, 1.8vw, 30px); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; margin: 0; text-transform: uppercase; }
.t4nt-form h3:focus { outline: none; }
.t4nt-form__why { margin: 10px 0 0; max-width: 62ch; opacity: .8; }
.t4nt-fields { display: grid; gap: 18px 16px; grid-template-columns: minmax(0, 1fr); margin-top: 20px; }
@media (min-width: 768px) { .t4nt-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .t4nt-field--full { grid-column: 1 / -1; } }
.t4nt-field { min-width: 0; }
.t4nt-field label { display: block; font-size: 11px; letter-spacing: .08em; line-height: 1.45; margin-bottom: 7px; opacity: .85; text-transform: uppercase; }
.t4nt-field label i, .t4nt-check label i { color: var(--t4-blue); font-style: normal; }
.t4nt-field :is(input, textarea) { appearance: none; background: #fff; border: 1px solid rgba(14, 20, 48, .45); border-radius: 12px; color: var(--t4-navy); font: inherit; font-size: 16px; padding: 12px 14px; width: 100%; }
.t4nt-field textarea { min-height: 96px; resize: vertical; }
.t4nt-field :is(input, textarea):focus-visible { border-color: var(--t4-blue); outline-offset: 2px; }
.t4nt-field input::placeholder, .t4nt-field textarea::placeholder { color: rgba(14, 20, 48, .42); }
.t4nt-field input[type=date]::-webkit-date-and-time-value { min-height: 1.5em; text-align: left; }
.t4nt-check { align-items: flex-start; align-self: center; display: flex; flex-wrap: wrap; gap: 0 12px; line-height: 1.5; min-width: 0; }
.t4nt-check input { accent-color: var(--t4-blue); flex: 0 0 auto; height: 20px; margin: 1px 0 0; width: 20px; }
.t4nt-check label { flex: 1 1 0; min-width: 0; }
.t4nt [aria-invalid=true] { border-color: #b42318 !important; }
.t4nt-err { color: #b42318; flex-basis: 100%; font-size: 12.5px; line-height: 1.4; margin: 6px 0 0; }
.t4nt-hp { height: 1px; left: -10000px; overflow: hidden; position: absolute; width: 1px; }
.t4nt-send { align-items: center; border-top: 1px solid var(--t4-hair); display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 24px; padding-top: 20px; }
.t4nt-send [aria-busy=true] { cursor: wait; opacity: .6; }
.t4nt-msg { font-weight: 700; margin: 0; }
.t4nt-msg:empty { display: none; }
.t4nt-msg.is-ok { color: #166534; }
.t4nt-msg.is-err { color: #b42318; }

@media (prefers-reduced-motion: no-preference) {
  .t4nt-form:not([hidden]) { animation: t4nt-in .45s var(--t4-ease) both; }
  @keyframes t4nt-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .t4nt-field :is(input, textarea) { transition: border-color .25s ease; }
}
