/* VOUCH — todos os botões com o aspeto do botão "Acesso Exclusivo" do topo:
   cápsula com contorno dourado e fundo dourado translúcido; ao passar o rato fica dourado cheio.
   Exceções com o botão dourado antigo: classe "btn-classico" (Enviar Email, Solicitar Contacto) e o Entrar da password.
   Este ficheiro é carregado depois dos estilos de cada página, por isso tem prioridade. */
.btn.btn:not(.btn-classico), .f-btn.f-btn:not(.btn-classico), .access-btn.access-btn {
    border-radius: 9999px;
    border: 1px solid rgba(216,183,99,0.35);
    background: rgba(216,183,99,0.1);
    color: #D8B763;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    font-size: 13px;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn.btn:not(.btn-classico):hover, .btn.btn:not(.btn-classico):focus-visible,
.f-btn.f-btn:not(.btn-classico):hover, .f-btn.f-btn:not(.btn-classico):focus-visible,
.access-btn.access-btn:hover, .access-btn.access-btn:focus-visible {
    background: linear-gradient(135deg, #A88647 0%, #D8B763 30%, #F5E2A4 50%, #D8B763 70%, #8A6521 100%);
    color: #0B132B;
    border-color: transparent;
}
.access-btn.access-btn { font-size: 11px; font-weight: 500; }
.btn.btn:disabled, .f-btn.f-btn:disabled { opacity: .6; cursor: wait; }
.btn.btn:not(.btn-classico):disabled:hover, .f-btn.f-btn:not(.btn-classico):disabled:hover {
    background: rgba(216,183,99,0.1); color: #D8B763; border-color: rgba(216,183,99,0.35);
}
@media (max-width: 760px) { .access-btn.access-btn { font-size: 10px; } }

/* ===== Formulários (CI VOUCH): sem caixas. Cada campo é só uma linha fina dourada que desvanece,
   igual às linhas por cima dos títulos. Ao escrever, a linha acende. Vale para todas as páginas. ===== */
:root body .f-input.f-input.f-input, :root body #pw#pw {
    background-color: transparent;
    background-image: linear-gradient(90deg, rgba(216,183,99,0.75), rgba(216,183,99,0.12));
    background-repeat: no-repeat; background-position: left bottom; background-size: 100% 1px;
    border: 0; border-bottom: 1px solid transparent; border-radius: 0; box-shadow: none;
    padding: 12px 0 11px; min-height: 0;
    transition: background-image .3s ease, border-color .3s ease;
}
:root body .f-input.f-input.f-input:focus, :root body #pw#pw:focus {
    background-image: linear-gradient(90deg, #D8B763, #F5E2A4 45%, rgba(216,183,99,0.35));
    background-size: 100% 1px; outline: none;
}
/* setinha das listas, com a mesma linha por baixo */
:root body select.f-input.f-input.f-input {
    padding-right: 28px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23D8B763' stroke-width='1.6'/%3E%3C/svg%3E"), linear-gradient(90deg, rgba(216,183,99,0.75), rgba(216,183,99,0.12));
    background-position: right 4px center, left bottom; background-size: 12px 8px, 100% 1px; background-repeat: no-repeat;
}
/* lista selecionada (depois de escolher fica em foco): mantém a setinha e a linha em baixo */
:root body select.f-input.f-input.f-input:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23D8B763' stroke-width='1.6'/%3E%3C/svg%3E"), linear-gradient(90deg, #D8B763, #F5E2A4 45%, rgba(216,183,99,0.35));
    background-position: right 4px center, left bottom; background-size: 12px 8px, 100% 1px; background-repeat: no-repeat;
}
/* caixas de texto longas: a mesma linha, sem caixa à volta */
:root body textarea.f-input.f-input.f-input { min-height: 84px; resize: vertical; }
/* datas e horas: limpas, com o ícone do calendário discreto */
:root body input[type=date].f-input.f-input.f-input, :root body input[type=time].f-input.f-input.f-input { min-height: 0; }
.f-input[type=date]::-webkit-calendar-picker-indicator, .f-input[type=time]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
.f-input[type=date]::-webkit-calendar-picker-indicator:hover, .f-input[type=time]::-webkit-calendar-picker-indicator:hover { opacity: 1; }
/* etiquetas dos campos: pequenas, espaçadas, douradas (como os pequenos títulos da Demo) */
:root body .f-label.f-label { font-size: 11px; letter-spacing: 0.16em; color: #D8B763; font-weight: 600; margin-bottom: 2px; }
html[data-tema="claro"] body .f-label.f-label { color: #8A6521; }
/* a password da Demo também sem caixa */
:root body #pw#pw { text-align: center; padding-left: 52px; padding-right: 52px; }

/* Selo do rodapé: liga à Rede Vouch Verified; ao passar o rato sobe um pouco, ganha brilho dourado e o texto acende */
footer a.ft-marca { text-decoration: none; display: flex; width: max-content; margin-left: auto; margin-right: auto; cursor: pointer; }
footer a.ft-marca img, footer a.ft-marca .ft-v { transition: transform .45s cubic-bezier(.2,.8,.2,1), filter .45s ease; }
footer a.ft-marca span { transition: color .3s ease, letter-spacing .45s ease; }
footer a.ft-marca:hover img, footer a.ft-marca:focus-visible img, footer a.ft-marca:hover .ft-v, footer a.ft-marca:focus-visible .ft-v { transform: translateY(-3px) scale(1.12); /* o V amplia e brilha, sempre direito (Bruno, 15 nov) */ filter: drop-shadow(0 8px 18px rgba(216,183,99,0.45)) brightness(1.08); }
footer a.ft-marca:hover span, footer a.ft-marca:focus-visible span { color: #F5E2A4; letter-spacing: 0.26em; }
html[data-tema="claro"] footer a.ft-marca:hover span { color: #8A6521; }
footer a.ft-marca:focus-visible { outline: none; }
@media (prefers-reduced-motion: reduce) { footer a.ft-marca img, footer a.ft-marca .ft-v, footer a.ft-marca span { transition: none; } }

/* ===== Menu "Como Funciona" (computador): sem caixa, no CI. Sem sombra nem cantos; o fundo é o do cabeçalho
   e as margens desvanecem para a página. Abre com um desfocado suave; o risco dourado curto já se desenha ao passar. ===== */
@media (min-width: 1061px) {
    :root body .nav-drop .drop {
        background: rgba(11,19,43,0.97); box-shadow: none; border: 0; border-radius: 0;
        padding: 18px 28px 22px; left: -28px;
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 22px, #000 calc(100% - 22px), transparent), linear-gradient(transparent, #000 10px, #000 calc(100% - 22px), transparent);
        -webkit-mask-composite: source-in;
        mask-image: linear-gradient(90deg, transparent, #000 22px, #000 calc(100% - 22px), transparent), linear-gradient(transparent, #000 10px, #000 calc(100% - 22px), transparent);
        mask-composite: intersect;
        filter: blur(6px); transition: opacity .3s ease, transform .3s ease, filter .35s ease, visibility .3s;
    }
    :root body .nav-drop:hover .drop, :root body .nav-drop:focus-within .drop { filter: none; }
    html[data-tema="claro"] body .nav-drop .drop { background: rgba(255,255,255,0.97); box-shadow: none; }
}
@media (min-width: 1061px) and (prefers-reduced-motion: reduce) { :root body .nav-drop .drop { filter: none; transition: none; } }

/* rodapé: todos os links iguais (Política, Termos…); ao passar o rato ficam dourados com o sublinhado fino que desvanece */
:root body footer .f-reservada a:hover, :root body footer .f-reservada a:focus-visible { color: #D8B763; }
:root body footer .f-reservada a:hover::after, :root body footer .f-reservada a:focus-visible::after { transform: scaleX(1); opacity: 1; }
html[data-tema="claro"] body footer .f-reservada a:hover, html[data-tema="claro"] body footer .f-reservada a:focus-visible { color: #8A6521; }

/* ===== Rodapé no telemóvel: com 3 ligações (Área reservada, Política, Termos), mudam de linha sem o "·" ===== */
@media (max-width: 640px) { :root body footer .f-reservada { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 22px; } :root body footer .f-sep { display: none; } }

/* rodapé: só o V da VOUCH em vez do selo Verified (Bruno, 14 nov) — ouro liso em pequeno; no tema claro, o dourado escuro */
footer .ft-marca .ft-v { display: block; width: 36px; height: 37px; color: #C5A059; }
html[data-tema="claro"] footer .ft-marca .ft-v { color: #8A6521; }

/* confirmações VOUCH (Bruno, 15 nov): logótipo em cima, o visto em traço fino dourado (sem círculo) que se desenha ao abrir, depois o texto */
.v-ok { display: block; margin: 0 auto 18px; color: #D8B763; overflow: visible; }
html[data-tema="claro"] .v-ok { color: #8A6521; }
.v-ok path { stroke-dasharray: 44; stroke-dashoffset: 44; animation: vOk .7s .2s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes vOk { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .v-ok path { animation: none; stroke-dashoffset: 0; } }
