/* VetCuritiba — página Ferramentas (hub) e blocos de apresentação das ferramentas. Mobile primeiro. */
.tl-main { padding-bottom: 96px}
.tl-intro { max-width: 640px; margin: 0 auto 14px; font-size: 14.5px; line-height: 1.55; color: #566883}
.tl-chips { max-width: 640px; margin-left: auto; margin-right: auto}
.tl-tabs { max-width: 640px; margin: 0 auto 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px}
.tl-tabs .tl-tab:last-child:nth-child(odd) { grid-column: 1 / -1}
@media (min-width: 560px) { .tl-tabs { grid-template-columns: repeat(3, 1fr)} .tl-tabs .tl-tab:last-child:nth-child(odd) { grid-column: auto} }
.tl-tab { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 10px 12px; border: 1.5px solid #d8dfee; border-radius: 14px; background: #ffffff; color: #0b1220; font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2; text-align: center; -webkit-tap-highlight-color: transparent}
.tl-tab i { font-size: 20px; flex-shrink: 0}
.tl-tab.is-on { background: #17233f; border-color: #0b1220; color: #ffffff}
.tl-tab:focus-visible { outline: 3px solid rgba(11,18,32,0.35); outline-offset: 2px}
.tl-grid { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px}
.tl-card { background: #ffffff; border: 1px solid #d8dfee; border-radius: 20px; padding: 18px; box-shadow: 0 6px 20px rgba(11,18,32,0.06); display: flex; flex-direction: column; gap: 12px}
.tl-card[hidden] { display: none}
.tl-top { display: flex; gap: 14px; align-items: center}
.tl-top h2 { font-size: 17px; line-height: 1.25; color: #0b1220; margin: 0 0 6px}
.tl-img { width: 84px; height: 84px; object-fit: contain; flex-shrink: 0; display: block}
.tl-ic { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #ffffff; flex-shrink: 0}
.tl-ic--orange { background: #e8b923}
.tl-ic--blue { background: #17233f}
.tl-ic--green { background: #5c9247}
.tl-badges { display: flex; flex-wrap: wrap; gap: 6px}
.tl-badge { font-size: 11px; font-weight: 800; letter-spacing: .2px; padding: 3px 9px; border-radius: 20px; background: #ebeff8; color: #566883}
.tl-badge--new { background: #fbf0c8; color: #8a6400}
.tl-badge--free { background: #d9f6e8; color: #1f7a37}
.tl-badge--soon { background: #e3ebfd; color: #0b1220}
.tl-desc { font-size: 14px; line-height: 1.55; color: #566883; margin: 0}
.tl-desc strong { color: #0b1220}
.tl-how { list-style: none; margin: 0; padding: 12px; border-radius: 14px; background: #f8f9fd; display: flex; flex-direction: column; gap: 8px}
.tl-how li { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: #0b1220}
.tl-how i { font-size: 18px; color: #1f7a37; flex-shrink: 0; margin-top: -1px}
.tl-card--soon { background: #f8f9fd; border-style: dashed; box-shadow: none}
.tl-empty { text-align: center; color: #566883; font-size: 14px; padding: 24px 0}
.tl-card .vp-btn { text-decoration: none}
@media (min-width: 900px) { .tl-grid, .tl-intro, .tl-chips, .tl-tabs { max-width: 760px} }

/* Cards com detalhes escondidos ("Saiba mais") */
.tl-sub { margin: 0; font-size: 13.5px; line-height: 1.4; color: #566883}
.tl-more { display: flex; flex-direction: column; gap: 12px}
.tl-more[hidden] { display: none}
.tl-note { margin: 0; font-size: 12.5px; line-height: 1.45; color: #566883}
.tl-img--tile { box-sizing: border-box; padding: 10px; background: #ffffff; border: 1px solid #d8dfee; border-radius: 20px; box-shadow: 0 2px 8px rgba(11,18,32,0.08)}
.tl-actions { display: flex; flex-wrap: wrap; gap: 10px}
.tl-actions .vp-btn { flex: 1 1 130px; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; text-align: center; white-space: nowrap; padding-left: 12px; padding-right: 12px}
.tl-actions .vp-btn--primary { flex-grow: 1.4; flex-basis: 160px}
.tl-toggle { cursor: pointer; font-family: inherit}
.tl-toggle i { transition: transform .2s ease}
.tl-toggle[aria-expanded="true"] i { transform: rotate(180deg)}
@media (prefers-reduced-motion: reduce) { .tl-toggle i { transition: none} }

/* V98 — Formata.IA: botão destacado "Solicitar desconto de estudante" (sem ícones, estilo cupom) */
.tl-promo { display: flex; align-items: stretch; border-radius: 16px; overflow: hidden; text-decoration: none; background: #17233f; color: #ffffff; box-shadow: 0 8px 18px rgba(11,18,32,0.22); transition: transform .15s ease, box-shadow .15s ease; -webkit-tap-highlight-color: transparent}
.tl-promo:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(11,18,32,0.3)}
.tl-promo:active { transform: translateY(0); box-shadow: 0 4px 10px rgba(11,18,32,0.25)}
.tl-promo:focus-visible { outline: 3px solid #e8b923; outline-offset: 3px}
.tl-promo-l { flex: 1 1 auto; min-width: 0; padding: 13px 14px 14px}
.tl-promo-tag { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8a6400}
.tl-promo-main { display: block; margin-top: 4px; font-size: 16px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em}
.tl-promo-r { flex: 0 0 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 8px; text-align: center; background: #e8b923; border-left: 2px dashed rgba(216,223,238,0.6)}
.tl-promo-r s { font-size: 11.5px; opacity: .85; line-height: 1.2}
.tl-promo-r b { font-size: 19px; font-weight: 800; line-height: 1.15; white-space: nowrap}
.tl-promo-r small { font-size: 10.5px; font-weight: 600; opacity: .95}
@media (prefers-reduced-motion: reduce) { .tl-promo { transition: none} }
@media (max-width: 360px) { .tl-promo-r { flex-basis: 100px} .tl-promo-r b { font-size: 17px} .tl-promo-main { font-size: 15px} }

/* V106 — Ferramentas: abas sublinhadas e lista de cartões */
.tl-tabs { display: flex; gap: 0; max-width: 640px; margin: 4px auto 20px; border-bottom: 1.5px solid #d8dfee}
.tl-tabs .tl-tab { flex: 1; display: block; min-height: 0; margin: 0 0 -1.5px; padding: 12px 4px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; color: #566883; font: inherit; font-size: 15px; font-weight: 800; text-align: center; box-shadow: none}
.tl-tabs .tl-tab.is-on { background: transparent; color: #0b1220; border-bottom-color: #e8b923}
.tl-tabs .tl-tab:focus-visible { outline: 3px solid rgba(11,18,32,0.35); outline-offset: -3px; border-radius: 10px}
.tl-grid { gap: 12px}
.tl-label { margin: 10px 0 0; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #566883}
.tl-label[hidden] { display: none}
.tl-grid .tl-card { border: 0; border-radius: 26px; padding: 12px 14px 12px 12px; box-shadow: var(--vz-shadow); gap: 12px}
.tl-row { display: flex; align-items: center; gap: 14px}
.tl-tile { flex: none; width: 76px; height: 76px; border-radius: 20px; display: flex; align-items: center; justify-content: center}
.tl-tile .tl-img { width: 60px; height: 60px; padding: 0; border: 0; background: none; box-shadow: none; border-radius: 0; object-fit: contain}
.tl-body { flex: 1; min-width: 0}
.tl-grid .tl-body h2 { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.15; letter-spacing: -.2px; color: #0b1220}
.tl-grid .tl-body .tl-sub { margin: 3px 0 8px; font-size: 12.5px; font-weight: 600; line-height: 1.25; color: #566883; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden}
.tl-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px}
.tl-tag { font-size: 10.5px; font-weight: 800; color: #566883; background: #e3ebfd; padding: 4px 8px; border-radius: 8px; white-space: nowrap}
.tl-tags .tl-toggle { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; padding: 4px 2px; border: 0; background: none; font: inherit; font-size: 12px; font-weight: 800; color: #1f7a37; cursor: pointer; -webkit-tap-highlight-color: transparent}
.tl-tags .tl-toggle:focus-visible { outline: 3px solid #e8b923; outline-offset: 2px; border-radius: 6px}
.tl-go { flex: none; width: 38px; height: 38px; border-radius: 50%; background: #e8b923; color:#0b1220; display: flex; align-items: center; justify-content: center; font-size: 18px; text-decoration: none; box-shadow: 0 8px 16px -8px rgba(232,185,35,0.8); -webkit-tap-highlight-color: transparent}
.tl-go:active { transform: scale(.94)}
.tl-go:focus-visible { outline: 3px solid #0b1220; outline-offset: 2px}
.tl-grid .tl-more { padding-top: 12px; border-top: 1.5px dashed #d8dfee}
.tl-grid .tl-more[hidden] { display: none}
.tl-grid .tl-actions .vp-btn--primary { flex: 1 1 100%}
@media (max-width: 359px) { .tl-tile { width: 64px; height: 64px} .tl-tile .tl-img { width: 50px; height: 50px} .tl-grid .tl-body h2 { font-size: 15px} }
