/*
 * «Torne-se fornecedor» (13-10-2026). A linguagem da Política de Privacidade,
 * do contacto e das notícias: topo em marinho (aqui com o formulário de
 * registo ao lado), fundo claro, cartões de 18px. Marinho #002f6d, laranja
 * #ff9202 (nunca com branco por cima), Poppins, contrastes AA.
 */
.tf { --marinho: #002f6d; --marinho-escuro: #001f4a; --laranja: #ff9202; --tinta: #1b2733; --texto: #334155; --suave: #5b6b7f; --linha: #e2e8f0; --fundo: #f5f7fb; background: var(--fundo); color: var(--tinta); }
.tf *, .tf *::before, .tf *::after { box-sizing: border-box; }
.tf a:focus-visible, .tf button:focus-visible, .tf summary:focus-visible { outline: 3px solid var(--laranja); outline-offset: 2px; }

/* Topo com o registo */
.tf-topo { position: relative; overflow: hidden; background: radial-gradient(120% 140% at 85% 10%, #0b4a9c 0%, var(--marinho) 45%, var(--marinho-escuro) 100%); color: #fff; }
.tf-topo::after { content: ""; position: absolute; left: -10rem; bottom: -12rem; width: 30rem; height: 30rem; border-radius: 50%; background: radial-gradient(circle, rgba(255, 146, 2, .2), transparent 65%); pointer-events: none; }
.tf-topo__grelha { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); gap: 3rem; align-items: start; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.tf .tf-marca { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.1rem; padding: .3rem .8rem .3rem .35rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font-size: .78rem; font-weight: 600; }
.tf-marca__logo { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--laranja); color: #1b1b1b; font-size: .6rem; font-weight: 800; letter-spacing: -.02em; }
.tf-topo h1 { margin: 0; color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; }
.tf .tf-topo__descricao { max-width: 34rem; margin: 1rem 0 0; color: #dbe2eb; font-size: 1.06rem; line-height: 1.65; }
.tf-pontos { display: grid; gap: .7rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.tf-pontos li { display: flex; align-items: flex-start; gap: .6rem; color: #fff; font-size: .98rem; line-height: 1.45; }
.tf-pontos svg { flex: 0 0 auto; width: 1.35rem; height: 1.35rem; padding: .15rem; border-radius: 50%; background: rgba(255, 146, 2, .18); color: #ffbf66; }

/* Cartões */
.tf-cartao { border: 1px solid var(--linha); border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.tf-registo { padding: 1.75rem; color: var(--tinta); box-shadow: 0 24px 48px -20px rgba(0, 10, 30, .5); scroll-margin-top: 1.5rem; }
.tf .tf-registo__titulo { margin: 0 0 .3rem; color: var(--marinho); font-size: 1.3rem; font-weight: 700; }
.tf .tf-suave { margin: 0 0 1.25rem; color: var(--suave); font-size: .92rem; line-height: 1.55; }

/* Formulário */
.tf-form { margin: 0; }
.tf-par { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 .85rem; }
.tf-campo { margin-bottom: .95rem; }
.tf-campo label { display: block; margin: 0 0 .3rem; color: var(--tinta); font-size: .84rem; font-weight: 600; }
.tf-campo input { display: block; width: 100%; height: 46px; padding: 0 .9rem; border: 1px solid #c9d1db; border-radius: 10px; background: #fff; color: var(--tinta); font: inherit; font-size: .98rem; transition: border-color .15s, box-shadow .15s; }
.tf-campo input:focus { outline: none; border-color: var(--marinho); box-shadow: 0 0 0 3px rgba(0, 47, 109, .15); }
.tf-campo .reg-pw-caixa input { padding-right: 3rem; }
.tf .invalid-feedback { font-size: .8rem; }
.tf .reg-pw-regras { margin-top: .45rem; }
.tf-termos { display: flex; align-items: flex-start; gap: .55rem; margin: .25rem 0 .35rem; color: var(--texto); font-size: .86rem; font-weight: 400; line-height: 1.5; cursor: pointer; }
.tf-termos input { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin-top: .15rem; accent-color: var(--marinho); }
.tf-termos a { color: var(--marinho); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.tf-form .form-submit { margin-top: 1rem; }
.tf-form .message-error { margin-top: .85rem; }
.tf-form .message-error .alert { margin: 0; border-radius: 10px; font-size: .9rem; }
.tf .tf-entrar { margin: 1rem 0 0; color: var(--suave); font-size: .88rem; text-align: center; }
.tf-entrar a { color: var(--marinho); font-weight: 600; }

/* Botões */
.tf-botao { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .6rem 1.4rem; border: 1px solid transparent; border-radius: 999px; font-size: .98rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.tf-botao:hover { text-decoration: none; transform: translateY(-1px); }
.tf-botao--largo { width: 100%; }
.tf-botao--marinho { background: var(--marinho); color: #fff; }
.tf-botao--marinho:hover { background: var(--marinho-escuro); color: #fff; }
.tf-botao--laranja { background: var(--laranja); color: #1b1b1b; }
.tf-botao--laranja:hover { background: #ffa733; color: #1b1b1b; }

/* Secções */
.tf-seccao { padding: 4rem 0; }
.tf-seccao--branca { background: #fff; }
.tf .tf-seccao__titulo { margin: 0 0 .5rem; color: var(--marinho); font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 700; text-align: center; }
.tf .tf-seccao__sub { max-width: 36rem; margin: 0 auto; color: var(--texto); text-align: center; line-height: 1.6; }
.tf-estreito { max-width: 52rem; }

.tf-passos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 2rem 0 0; padding: 0; list-style: none; counter-reset: none; }
.tf-passos li { position: relative; padding: 1.6rem 1.5rem 1.5rem; }
.tf-passos__numero { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: .9rem; border-radius: 50%; background: var(--marinho); color: #fff; font-weight: 700; }
.tf .tf-passos h3 { margin: 0 0 .4rem; color: var(--tinta); font-size: 1.08rem; font-weight: 700; }
.tf .tf-passos p { margin: 0; color: var(--texto); font-size: .94rem; line-height: 1.6; }

.tf-vantagens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.tf-vantagem { padding: 1.6rem 1.5rem; border-radius: 18px; background: var(--fundo); }
.tf-icone { display: inline-grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: .95rem; border-radius: 14px; background: #eaf1fb; color: var(--marinho); }
.tf-icone svg { width: 1.5rem; height: 1.5rem; }
.tf .tf-vantagem h3 { margin: 0 0 .4rem; color: var(--tinta); font-size: 1.08rem; font-weight: 700; }
.tf .tf-vantagem p { margin: 0; color: var(--texto); font-size: .94rem; line-height: 1.6; }

.tf-planos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; max-width: 60rem; margin: 2rem auto 0; }
.tf-plano { position: relative; padding: 1.6rem 1.5rem; border: 1px solid var(--linha); border-radius: 18px; background: #fff; }
.tf-plano--recomendado { border-color: var(--marinho); background: var(--marinho); color: #fff; }
.tf-plano__selo { position: absolute; top: -.75rem; left: 1.5rem; padding: .2rem .7rem; border-radius: 999px; background: var(--laranja); color: #1b1b1b; font-size: .74rem; font-weight: 700; }
.tf .tf-plano h3 { margin: 0 0 .6rem; color: inherit; font-size: 1.05rem; font-weight: 700; }
.tf .tf-plano__preco { margin: 0 0 1rem; color: var(--suave); font-size: .9rem; }
.tf-plano__preco strong { color: var(--marinho); font-size: 1.75rem; font-variant-numeric: tabular-nums; }
.tf-plano--recomendado .tf-plano__preco, .tf-plano--recomendado .tf-plano__preco strong { color: #fff; }
.tf-plano ul { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.tf-plano li { display: flex; align-items: center; gap: .45rem; color: var(--texto); font-size: .92rem; }
.tf-plano--recomendado li { color: #dbe2eb; }
.tf-plano li svg { width: 1rem; height: 1rem; color: #17703f; }
.tf-plano--recomendado li svg { color: #ffbf66; }
.tf-centro { margin: 1.75rem 0 0; text-align: center; }
.tf-ligacao { color: var(--marinho); font-weight: 700; text-decoration: none; }
.tf-ligacao:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Perguntas */
.tf-perguntas { display: grid; gap: .75rem; margin-top: 2rem; }
.tf-pergunta { border: 1px solid var(--linha); border-radius: 14px; background: #fff; }
.tf-pergunta summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding: 1rem 1.25rem; color: var(--tinta); font-weight: 600; list-style: none; cursor: pointer; }
.tf-pergunta summary::-webkit-details-marker { display: none; }
.tf-pergunta summary::after { content: ""; flex: 0 0 auto; width: .6rem; height: .6rem; border-right: 2px solid var(--marinho); border-bottom: 2px solid var(--marinho); transform: rotate(45deg); transition: transform .2s ease; }
.tf-pergunta[open] summary::after { transform: rotate(-135deg); }
.tf-pergunta[open] { border-color: #c9d6e8; }
.tf-pergunta__resposta { padding: 0 1.25rem 1.15rem; color: var(--texto); font-size: .95rem; line-height: 1.65; }
.tf-pergunta__resposta p { margin: 0 0 .6rem; }
.tf-pergunta__resposta p:last-child { margin-bottom: 0; }
.tf-pergunta__resposta a { color: var(--marinho); font-weight: 600; }

/* Fecho */
.tf-fecho { padding: 3.5rem 0; background: radial-gradient(120% 140% at 15% 10%, #0b4a9c 0%, var(--marinho) 50%, var(--marinho-escuro) 100%); color: #fff; text-align: center; }
.tf .tf-fecho h2 { margin: 0 0 .5rem; color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 700; }
.tf .tf-fecho p { max-width: 34rem; margin: 0 auto 1.5rem; color: #dbe2eb; line-height: 1.6; }

@media (max-width: 991px) {
    .tf-topo__grelha { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .tf-passos, .tf-vantagens, .tf-planos { grid-template-columns: minmax(0, 1fr); max-width: 34rem; margin-left: auto; margin-right: auto; }
}
@media (max-width: 575px) {
    .tf-topo__grelha { padding-top: 2.5rem; padding-bottom: 2.5rem; }
    .tf-registo { padding: 1.35rem; }
    .tf-par { grid-template-columns: minmax(0, 1fr); }
    .tf-seccao { padding: 3rem 0; }
}
@media (prefers-reduced-motion: reduce) { .tf-botao, .tf-pergunta summary::after { transition: none; } .tf-botao:hover { transform: none; } }
