.tf-commerce{--tf-shadow:0 24px 70px -36px rgba(0,72,144,.45);--tf-shadow-card:0 14px 36px -26px rgba(0,72,144,.42);border-radius:24px}
.tf-hero{position:relative;isolation:isolate;min-height:390px;display:flex;flex-direction:column;justify-content:center;overflow:hidden;padding:64px 48% 60px 48px;background:radial-gradient(circle at 78% 25%,rgba(240,168,0,.18),transparent 20%),radial-gradient(circle at 84% 72%,rgba(0,72,144,.22),transparent 29%),linear-gradient(135deg,#fff 0%,#f4f8fd 52%,#e1edf9 100%);box-shadow:var(--tf-shadow)}
.tf-hero:before{content:"TELEFER";position:absolute;z-index:-1;right:5%;top:16%;font-size:clamp(50px,8vw,104px);font-weight:950;letter-spacing:-6px;color:rgba(0,72,144,.08);transform:rotate(-7deg)}
.tf-hero:after{content:"☎  +  IA";position:absolute;right:11%;bottom:18%;padding:24px 30px;border:1px solid rgba(255,255,255,.8);border-radius:22px;background:rgba(255,255,255,.72);box-shadow:0 24px 50px -28px rgba(0,72,144,.55);backdrop-filter:blur(12px);color:var(--tf-blue);font-size:32px;font-weight:900;letter-spacing:-1px}
.tf-hero h1{font-size:clamp(38px,5vw,58px);letter-spacing:-2.2px}.tf-hero p{font-size:17px;line-height:1.7}.tf-pill{text-transform:uppercase;letter-spacing:.55px;box-shadow:inset 0 0 0 1px rgba(0,72,144,.08)}
.tf-steps{position:relative;padding:17px 24px;background:linear-gradient(90deg,var(--tf-blue-dark),var(--tf-blue));box-shadow:0 12px 30px -24px #003a75}.tf-steps span{position:relative;text-align:center;letter-spacing:.2px}.tf-steps span:before{content:"";display:block;width:9px;height:9px;margin:0 auto 7px;border-radius:50%;background:#7fa4ca;box-shadow:0 0 0 4px rgba(255,255,255,.06)}.tf-steps span.active:before{background:var(--tf-gold);box-shadow:0 0 0 5px rgba(240,168,0,.18)}
.tf-commerce form{border-radius:0 0 22px 22px;overflow:hidden;box-shadow:var(--tf-shadow)}.tf-step{padding:48px}.tf-step h2{font-size:32px;letter-spacing:-.8px}.tf-products{gap:18px}.tf-product{position:relative;padding:24px;border-radius:17px;box-shadow:var(--tf-shadow-card);transition:.2s ease}.tf-product:hover{transform:translateY(-3px);border-color:#a8c5e3}.tf-product:has(input:checked){box-shadow:0 18px 42px -28px rgba(0,72,144,.7)}.tf-product input{accent-color:var(--tf-blue);transform:scale(1.15)}
.tf-counter{margin-top:6px;padding:19px 4px}.tf-counter button{transition:.18s}.tf-counter button:hover{background:var(--tf-blue);color:#fff}.tf-counter input{font-weight:900;color:var(--tf-blue)}
.tf-button{min-height:47px;padding:14px 24px;border-radius:11px;box-shadow:0 12px 24px -16px rgba(0,72,144,.8);transition:.2s ease}.tf-button:not(:disabled):hover{transform:translateY(-2px);background:var(--tf-blue-dark);box-shadow:0 18px 30px -18px rgba(0,72,144,.85)}
.tf-grid{gap:18px}.tf-grid input,.tf-grid select{min-height:47px;border-color:#d7e0ec;transition:.18s}.tf-grid input:focus,.tf-grid select:focus{outline:0;border-color:var(--tf-blue);box-shadow:0 0 0 3px rgba(0,72,144,.1)}
.tf-summary{position:relative;background:linear-gradient(180deg,#f9fbfe,#eef4fb);padding:42px 30px}.tf-summary:before{content:"Resumo em tempo real";display:inline-block;margin-bottom:10px;color:var(--tf-gold);font-size:11px;font-weight:900;letter-spacing:.7px;text-transform:uppercase}.tf-summary h3{font-size:24px}.tf-initial{border:1px solid #f2d18c;box-shadow:0 10px 22px -20px #9a6800}
.tf-section{box-shadow:var(--tf-shadow-card)}.tf-section-head h2{font-size:34px;letter-spacing:-1px}.tf-card-grid article{transition:.2s;box-shadow:0 10px 26px -25px rgba(0,72,144,.5)}.tf-card-grid article:hover{transform:translateY(-4px);border-color:#bfd3e8}.tf-price-tables>div{box-shadow:var(--tf-shadow-card)}.tf-price-tables p{transition:.15s}.tf-price-tables p:hover{background:#eef5fc}.tf-cta{position:relative;overflow:hidden;box-shadow:0 28px 65px -34px rgba(0,58,117,.75)}.tf-cta:after{content:"";position:absolute;width:260px;height:260px;right:-95px;top:-145px;border-radius:50%;background:rgba(240,168,0,.22)}
.tf-contract-card,.tf-payment-grid{box-shadow:var(--tf-shadow-card)}.tf-contract-card{border-left:5px solid var(--tf-blue)}.tf-qr-placeholder{box-shadow:inset 0 0 0 10px #fff,0 18px 40px -27px rgba(0,72,144,.65)}.tf-success-icon{box-shadow:0 0 0 10px rgba(31,157,87,.08)}.tf-timeline div{background:#fff;box-shadow:var(--tf-shadow-card);transition:.2s}.tf-timeline div:hover{transform:translateY(-3px)}
@media(max-width:900px){.tf-hero{padding:52px 38% 50px 32px}.tf-hero:after{right:5%;font-size:24px;padding:18px}.tf-step{padding:36px 28px}}
@media(max-width:700px){.tf-commerce{border-radius:0}.tf-hero{min-height:auto;padding:42px 22px 170px}.tf-hero:before{right:4%;top:auto;bottom:70px}.tf-hero:after{left:22px;right:22px;bottom:27px;text-align:center}.tf-hero h1{font-size:40px;letter-spacing:-1.5px}.tf-steps span{text-align:left}.tf-steps span:before{display:inline-block;margin:0 8px 0 0}.tf-step{padding:32px 20px}.tf-step h2{font-size:28px}.tf-summary{padding:30px 22px}.tf-products{gap:12px}}

/* Mobile checkout: compact, touch-friendly and free of horizontal overflow. */
.tf-commerce,.tf-commerce *{box-sizing:border-box}
@media(max-width:700px){
  .tf-commerce{width:100%;max-width:100%;margin:0;overflow:clip}
  .tf-hero{min-height:0;padding:30px 18px 28px;border-radius:0;box-shadow:none}
  .tf-hero:before{right:-14px;top:auto;bottom:4px;font-size:58px;letter-spacing:-4px;transform:rotate(-5deg)}
  .tf-hero:after{display:none}
  .tf-hero h1{max-width:none;margin:14px 0 12px;font-size:clamp(30px,9vw,38px);line-height:1.08;letter-spacing:-1.2px}
  .tf-hero p{margin:0;font-size:16px;line-height:1.55}
  .tf-trust{display:grid;grid-template-columns:1fr 1fr;gap:9px 14px;margin-top:18px;font-size:13px}
  .tf-trust span:last-child{grid-column:1/-1}
  .tf-steps{position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;width:100%;padding:11px 6px;overflow:visible;scroll-margin-top:16px}
  .tf-steps span{min-width:0;text-align:center;font-size:0;line-height:1;color:#aac6e6}
  .tf-steps span:before{display:block;width:10px;height:10px;margin:0 auto 5px}
  .tf-steps span:after{content:attr(data-mobile);font-size:11px;font-weight:900}
  .tf-steps span.active:after{color:#fff}
  .tf-preview-nav{gap:6px;padding:9px 12px;overflow-x:auto;flex-wrap:nowrap}
  .tf-preview-nav strong,.tf-preview-nav small{display:none}
  .tf-preview-nav button{flex:0 0 auto;min-height:36px}
  .tf-commerce form{display:grid;grid-template-columns:minmax(0,1fr);border-left:0;border-right:0;border-radius:0;overflow:visible;box-shadow:none}
  .tf-step.active{display:block;grid-row:auto;min-width:0;padding:28px 18px 24px}
  .tf-step h2{margin:0 0 10px;font-size:26px;line-height:1.15;letter-spacing:-.55px}
  .tf-lead{font-size:14px;line-height:1.55}
  .tf-products{grid-template-columns:minmax(0,1fr);gap:12px;margin:18px 0}
  .tf-product{min-height:92px;padding:18px 16px;gap:12px;border-radius:14px;box-shadow:none}
  .tf-product:hover{transform:none}
  .tf-product input{flex:0 0 auto;width:20px;height:20px;margin:1px 0 0}
  .tf-product strong{font-size:16px}
  .tf-product small{font-size:13px;line-height:1.45}
  .tf-counter{grid-template-columns:48px minmax(72px,1fr) 48px;gap:8px;padding:16px 0}
  .tf-counter label{grid-column:1/-1;font-size:14px}
  .tf-counter button,.tf-counter input{width:100%;height:48px;min-height:48px;font-size:18px}
  .tf-grid{grid-template-columns:minmax(0,1fr);gap:14px;margin-top:18px}
  .tf-grid .wide{grid-column:auto}
  .tf-grid label{font-size:13px}
  .tf-grid input,.tf-grid select{min-width:0;min-height:50px;margin-top:5px;padding:13px 12px;font-size:16px}
  .tf-actions{flex-direction:column-reverse;gap:8px;margin-top:18px}
  .tf-button{width:100%;min-height:50px;margin-top:10px;padding:14px 16px;font-size:15px;text-align:center}
  .tf-actions .tf-button{margin-top:0}
  .tf-summary{position:static;grid-row:auto;min-width:0;padding:24px 18px 28px;border-left:0;border-top:1px solid var(--tf-line);background:#f4f8fd}
  .tf-summary h3{margin:4px 0 12px;font-size:21px}
  .tf-summary p,.tf-total,.tf-activation,.tf-initial{align-items:flex-start;gap:10px;font-size:14px}
  .tf-summary p span,.tf-initial span{min-width:0}
  .tf-summary p b,.tf-initial strong{flex:0 0 auto;text-align:right}
  .tf-initial{margin:10px 0;padding:12px}
  .tf-review-lines{margin:16px 0 18px;padding:6px 14px}
  .tf-review-lines p{align-items:flex-start;gap:7px;flex-direction:column;padding:11px 0}
  .tf-review-lines b,.tf-review-lines strong{align-self:flex-end}
  .tf-legal{padding:17px 15px;font-size:14px}
  .tf-legal ul{padding-left:20px}
  .tf-consent{align-items:flex-start;gap:11px;font-size:13px;line-height:1.55}
  .tf-consent input{flex:0 0 20px;width:20px;height:20px;margin-top:2px}
  .tf-contract-card{gap:14px;margin:18px 0;padding:18px 16px;box-shadow:none}
  .tf-status{white-space:normal}
  .tf-flow-list li{padding:13px 8px 13px 46px;font-size:14px;line-height:1.45}
  .tf-payment-grid{grid-template-columns:minmax(0,1fr);gap:20px;margin:18px 0}
  .tf-qr-placeholder{width:min(220px,100%);margin:auto}
  .tf-timeline{grid-template-columns:1fr 1fr;gap:8px;margin:24px 0}
  .tf-timeline div{padding:12px 6px;box-shadow:none}
  .tf-section{margin-top:14px;padding:30px 18px;border-left:0;border-right:0;border-radius:0;box-shadow:none}
  .tf-section-head{margin-bottom:22px;text-align:left}
  .tf-section-head h2{margin:12px 0 8px;font-size:27px;line-height:1.16;letter-spacing:-.6px}
  .tf-card-grid.three,.tf-card-grid.five,.tf-price-tables{grid-template-columns:minmax(0,1fr)}
  .tf-card-grid article{padding:18px;box-shadow:none}
  .tf-price-tables{gap:16px}
  .tf-price-tables p{align-items:flex-start;padding:11px 14px;font-size:13px}
  .tf-price-tables p span{padding-right:8px}
  .tf-price-tables p b{flex:0 0 auto;text-align:right}
  .tf-cta{margin-top:14px;padding:30px 18px;border-radius:0}
  .tf-cta h2{font-size:27px;line-height:1.18}
  .tf-cta .tf-button{width:100%}
}
@media(max-width:420px){
  .tf-hero{padding:26px 16px 24px}
  .tf-hero h1{font-size:30px}
  .tf-trust{grid-template-columns:1fr;gap:7px}
  .tf-trust span:last-child{grid-column:auto}
  .tf-step.active{padding:24px 16px 22px}
  .tf-summary{padding:22px 16px 26px}
  .tf-timeline{grid-template-columns:1fr}
  .tf-timeline div:last-child{grid-column:auto}
  .tf-price-tables p{gap:8px}
}
