/* Mascote "Zé Boné": canto inferior esquerdo, acima da barra "Ligar agora" no telemóvel */
.tf-mascote{position:fixed;left:20px;bottom:24px;z-index:9990;display:flex;flex-direction:column;align-items:flex-start;gap:10px;pointer-events:none;opacity:0;transform:translateY(30px) scale(.8);transition:opacity .6s cubic-bezier(.2,.7,.2,1),transform .6s cubic-bezier(.2,.7,.2,1);font-family:"Urbanist",system-ui,sans-serif}
.tf-mascote--entra{opacity:1;transform:none}
.tf-mascote--sai{opacity:0;transform:translateY(30px) scale(.8)}
.tf-mascote__fig{pointer-events:auto;border:0;padding:0;background:none;cursor:pointer;width:96px;height:96px;border-radius:50%;box-shadow:0 10px 30px rgba(0,0,0,.35),0 0 0 3px rgba(16,196,80,.0);animation:tf-flutua 3.6s ease-in-out infinite;transition:box-shadow .3s}
.tf-mascote__fig:hover,.tf-mascote__fig:focus-visible{box-shadow:0 12px 34px rgba(0,0,0,.4),0 0 0 3px #10C450;outline:none}
.tf-mascote__fig img{width:100%;height:100%;border-radius:50%;display:block}
.tf-mascote__fechar{pointer-events:auto;position:absolute;left:78px;bottom:78px;width:26px;height:26px;border-radius:50%;border:1px solid #3a3a3a;background:#0A0A0A;color:#F5F5F2;font-size:17px;line-height:22px;cursor:pointer;opacity:.85;transition:opacity .2s,transform .2s}
.tf-mascote__fechar:hover,.tf-mascote__fechar:focus-visible{opacity:1;transform:scale(1.1);border-color:#10C450;outline:none}
.tf-mascote__balao{max-width:240px;background:#0A0A0A;color:#F5F5F2;border:1px solid #2a2a2a;border-left:3px solid #10C450;border-radius:14px 14px 14px 4px;padding:12px 14px;font-size:15px;font-weight:500;line-height:1.35;box-shadow:0 14px 34px rgba(0,0,0,.35);opacity:0;transform:translateY(10px) scale(.95);transform-origin:bottom left;transition:opacity .45s cubic-bezier(.2,.7,.2,1),transform .45s cubic-bezier(.2,.7,.2,1)}
.tf-mascote--fala .tf-mascote__balao{opacity:1;transform:none}
/* Gestos com a imagem actual: acenar (balanço), polegar (salto), aponta (inclina), pisca (zoom), calmo (respira), pensa (inclina devagar) */
.tf-mascote--fala[data-gesto="acena"] .tf-mascote__fig{animation:tf-acena 1.2s cubic-bezier(.3,.6,.3,1) 2,tf-flutua 3.6s ease-in-out 2.4s infinite}
.tf-mascote--fala[data-gesto="polegar"] .tf-mascote__fig{animation:tf-salta .9s cubic-bezier(.3,.6,.3,1) 2,tf-flutua 3.6s ease-in-out 1.8s infinite}
.tf-mascote--fala[data-gesto="aponta"] .tf-mascote__fig,.tf-mascote--fala[data-gesto="aponta-baixo"] .tf-mascote__fig{animation:tf-aponta 1.4s ease-in-out 2,tf-flutua 3.6s ease-in-out 2.8s infinite}
.tf-mascote--fala[data-gesto="pisca"] .tf-mascote__fig{animation:tf-pisca 1s ease-in-out 2,tf-flutua 3.6s ease-in-out 2s infinite}
.tf-mascote--fala[data-gesto="calmo"] .tf-mascote__fig{animation:tf-respira 2.4s ease-in-out 2,tf-flutua 3.6s ease-in-out 4.8s infinite}
.tf-mascote--fala[data-gesto="pensa"] .tf-mascote__fig{animation:tf-pensa 2s ease-in-out 1,tf-flutua 3.6s ease-in-out 2s infinite}
@keyframes tf-flutua{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes tf-acena{0%,100%{transform:rotate(0)}20%{transform:rotate(-12deg)}40%{transform:rotate(10deg)}60%{transform:rotate(-8deg)}80%{transform:rotate(5deg)}}
@keyframes tf-salta{0%,100%{transform:translateY(0) scale(1)}35%{transform:translateY(-14px) scale(1.06)}60%{transform:translateY(0) scale(.97)}}
@keyframes tf-aponta{0%,100%{transform:translateX(0) rotate(0)}50%{transform:translateX(8px) rotate(6deg)}}
@keyframes tf-pisca{0%,100%{transform:scale(1)}30%{transform:scale(1.1) rotate(-4deg)}60%{transform:scale(1)}}
@keyframes tf-respira{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
@keyframes tf-pensa{0%,100%{transform:rotate(0)}50%{transform:rotate(-7deg) translateY(-3px)}}
/* Telemóvel: mais pequeno e acima da barra fixa "Ligar agora" */
@media (max-width:767px){
  .tf-mascote{left:12px;bottom:92px}
  .tf-mascote__fig{width:68px;height:68px}
  .tf-mascote__fechar{left:52px;bottom:54px;width:24px;height:24px;font-size:15px;line-height:20px}
  .tf-mascote__balao{max-width:200px;font-size:14px;padding:10px 12px}
}
/* Reduzir movimento: sem animações */
@media (prefers-reduced-motion:reduce){
  .tf-mascote,.tf-mascote__balao{transition:opacity .2s}
  .tf-mascote__fig,.tf-mascote--fala .tf-mascote__fig{animation:none!important}
}
.tf-mascote--quieta .tf-mascote__fig{animation:none!important}
/* Não tapar o ícone de cookies (canto inferior esquerdo): sobe a mascote */
.cookieadmin_re_consent ~ .tf-mascote,.tf-mascote{margin-bottom:0}
@media (min-width:768px){.tf-mascote{bottom:24px}}
/* Perguntas interactivas */
.tf-mascote__balao{pointer-events:auto}
.tf-mascote__txt{margin:0;font-size:15px;font-weight:600;line-height:1.35;color:#F5F5F2}
.tf-mascote__btns{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.tf-mascote__btns:empty{display:none}
.tf-mascote__btn{display:inline-flex;align-items:center;min-height:36px;padding:6px 12px;border-radius:999px;border:1px solid #3a3a3a;color:#F5F5F2;text-decoration:none;font-size:13.5px;font-weight:600;letter-spacing:.02em;transition:border-color .2s,color .2s,background .2s,transform .2s}
.tf-mascote__btn:hover,.tf-mascote__btn:focus-visible{border-color:#10C450;color:#10C450;outline:none;transform:translateY(-1px)}
.tf-mascote__btn--ligar{background:#FF9900;border-color:#FF9900;color:#0A0A0A}
.tf-mascote__btn--ligar:hover,.tf-mascote__btn--ligar:focus-visible{background:#ffad33;border-color:#ffad33;color:#0A0A0A}
.tf-mascote:not(.tf-mascote--fala) .tf-mascote__balao{pointer-events:none}
@media (max-width:767px){.tf-mascote__txt{font-size:14px}.tf-mascote__btn{font-size:13px;min-height:34px}}
@media (max-width:767px){.tf-mascote__balao{max-width:180px}}
