/* Aviso de cookies no canto do ecrã (não bloqueia o site) */
.consent[hidden] { display: none; }
.consent { position: fixed; z-index: 90; right: 20px; bottom: 20px; width: min(380px, calc(100% - 32px)); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain;
    padding: 20px; border-radius: 18px; background: rgba(19,19,21,.97); border: 1px solid rgba(243,240,234,.16); box-shadow: 0 24px 60px rgba(0,0,0,.6); color: #f3f0ea;
    font: 400 .9rem/1.5 'Archivo', system-ui, sans-serif; opacity: 0; transform: translateY(16px); transition: opacity .3s, transform .4s cubic-bezier(.2,.8,.2,1); }
.consent.aberto { opacity: 1; transform: none; }
.consent__fechar { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(243,240,234,.16); background: transparent; color: #f3f0ea; font-size: 1.2rem; line-height: 1; cursor: pointer; }
.consent__fechar:hover { border-color: #f3f0ea; }
.consent h2 { margin: 0 0 6px; font: 900 1.4rem/1 'Big Shoulders Display', 'Archivo', sans-serif; text-transform: uppercase; letter-spacing: .02em; }
.consent__texto { margin: 0; color: #b3ada3; }
.consent__texto strong { color: #f3f0ea; font-weight: 600; }
.consent a { color: #f3f0ea; text-decoration-color: #d01a42; text-underline-offset: 3px; }
.consent__opcoes { display: grid; gap: 8px; margin-top: 14px; }
.consent__opcao { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(243,240,234,.12); cursor: pointer; }
.consent__opcao span { display: grid; gap: 2px; }
.consent__opcao strong { font-weight: 600; }
.consent__opcao small { color: #8a857d; font-size: .8rem; line-height: 1.4; }
.consent__opcao input { position: absolute; opacity: 0; pointer-events: none; }
.consent__opcao i { flex: none; position: relative; width: 42px; height: 24px; border-radius: 999px; background: #2c2c31; transition: background .2s; }
.consent__opcao i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #f3f0ea; transition: transform .2s; }
.consent__opcao input:checked + i { background: #17a058; }
.consent__opcao input:checked + i::after { transform: translateX(18px); }
.consent__opcao input:disabled + i { opacity: .55; }
.consent__opcao input:focus-visible + i { outline: 2px solid #d01a42; outline-offset: 2px; }
.consent__botoes { display: flex; gap: 8px; margin-top: 14px; }
.consent__botao { flex: 1; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(243,240,234,.3); background: transparent; color: #f3f0ea; font: 600 .92rem 'Archivo', system-ui, sans-serif; cursor: pointer; transition: background .2s, border-color .2s; }
.consent__botao:hover { border-color: #f3f0ea; }
.consent__botao--sim { background: #f3f0ea; border-color: #f3f0ea; color: #0c0c0d; }
.consent__botao--sim:hover { background: #fff; }
.consent__personalizar { display: block; margin: 10px auto 0; padding: 4px; border: 0; background: none; color: #b3ada3; font: 500 .85rem 'Archivo', system-ui, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent__personalizar:hover { color: #f3f0ea; }
.consent button:focus-visible, .consent a:focus-visible { outline: 2px solid #d01a42; outline-offset: 2px; }
@media (max-width: 480px) { .consent { left: 16px; right: 16px; width: auto; bottom: 16px; padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }

/* caixa de aceitar os termos no formulário de contacto */
.campo--aceito { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--texto-2, #b3ada3); cursor: pointer; }
.campo--aceito input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #d01a42; cursor: pointer; }
.campo--aceito input[aria-invalid="true"] { outline: 2px solid #ff7a93; outline-offset: 2px; }
.campo--aceito a { color: var(--texto, #f3f0ea); text-underline-offset: 3px; }
