/* EF — consentimento de cookies (mu-plugin ef-cookies.php). Tokens do tema eurico: --laranja #D45026, --tinta #181818, --texto #444, --linha #e4e4e4, --raio 6px, --fonte Rubik. */
.efc-veu { position: fixed; inset: 0; z-index: 99998; background: rgba(0, 0, 0, .5); }
.efc-cartao, .efc-modal { font-family: var(--fonte, 'Rubik', 'Segoe UI', sans-serif); color: var(--texto, #444); }
.efc-cartao {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 99999; box-sizing: border-box;
  padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); background: #fff;
  border-top: 1px solid var(--linha, #e4e4e4); border-radius: 12px 12px 0 0; box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
}
@media (min-width: 640px) {
  .efc-cartao { left: 24px; right: auto; bottom: 24px; width: 440px; padding: 24px; border: 1px solid var(--linha, #e4e4e4); border-radius: 12px; box-shadow: 0 4px 16px rgba(0, 0, 0, .08); }
}
.efc-cartao h2 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--tinta, #181818); }
.efc-cartao p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; }
.efc-cartao .efc-links { font-size: 13px; }
.efc-cartao a, .efc-modal a { font-weight: 600; color: var(--tinta, #181818); text-decoration: underline; text-underline-offset: 3px; }
.efc-cartao a:hover, .efc-modal a:hover { color: var(--laranja, #D45026); }
.efc-botoes, .efc-modal-rodape { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.efc-botoes { margin-top: 16px; }
html body .efc-botao {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 16px; box-sizing: border-box;
  font: 700 15px/1.1 var(--fonte, 'Rubik', sans-serif); border-radius: var(--raio, 6px); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
html body .efc-principal { background: var(--laranja, #D45026); color: #fff; border: 2px solid var(--laranja, #D45026); }
html body .efc-principal:hover { background: var(--laranja-escuro, #9C3A19); border-color: var(--laranja-escuro, #9C3A19); }
html body .efc-contorno { background: #fff; color: var(--tinta, #181818); border: 2px solid var(--tinta, #181818); }
html body .efc-contorno:hover { background: var(--tinta, #181818); color: #fff; }
html body .efc-botao:focus-visible, html body .efc-ver:focus-visible, html body .efc-fechar:focus-visible, html body .efc-interruptor:focus-visible { outline: 2px solid var(--laranja, #D45026); outline-offset: 2px; }

.efc-modal-fundo { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .5); }
.efc-modal { display: flex; flex-direction: column; width: min(680px, 100%); max-height: calc(100svh - 32px); background: #fff; border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.efc-modal-topo { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 22px 24px 14px; border-bottom: 1px solid var(--linha, #e4e4e4); }
.efc-modal-topo h2 { margin: 0; font-size: 20px; font-weight: 600; color: var(--tinta, #181818); }
.efc-modal-topo p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; }
html body .efc-fechar { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; background: none; border: 0; border-radius: 50%; color: var(--tinta, #181818); cursor: pointer; }
html body .efc-fechar:hover { background: #F0F0F0; }
.efc-modal-corpo { display: grid; gap: 12px; padding: 18px 24px; overflow-y: auto; }
.efc-modal-rodape { padding: 14px 24px 20px; border-top: 1px solid var(--linha, #e4e4e4); }
@media (max-width: 520px) { .efc-modal-rodape { grid-template-columns: 1fr; } .efc-modal-topo, .efc-modal-corpo, .efc-modal-rodape { padding-left: 16px; padding-right: 16px; } }

.efc-cat { min-width: 0; padding: 16px; border: 1px solid var(--linha, #e4e4e4); border-radius: 12px; background: #fff; }
.efc-cat-topo { display: flex; gap: 16px; align-items: flex-start; }
.efc-cat-texto { flex: 1; min-width: 0; }
.efc-cat h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--tinta, #181818); }
.efc-cat p { margin: 4px 0 0; font-size: 13px; line-height: 1.6; }
.efc-cat-ctrl { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: 0 0 auto; }
html body .efc-interruptor { position: relative; display: inline-flex; align-items: center; width: 40px; height: 24px; padding: 0; border: 0; border-radius: 999px; background: #767676; cursor: pointer; transition: background-color .2s; }
html body .efc-interruptor::after { content: ''; position: absolute; inset: -10px; }
html body .efc-interruptor span { display: inline-block; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transform: translateX(2px); transition: transform .2s; }
html body .efc-interruptor[aria-checked="true"] { background: var(--laranja, #D45026); }
html body .efc-interruptor[aria-checked="true"] span { transform: translateX(18px); }
html body .efc-interruptor[aria-disabled="true"] { cursor: not-allowed; }
.efc-sempre { font-size: 11px; font-weight: 600; color: #0E6B3E; }
html body .efc-ver { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin-top: 10px; padding: 0; background: none; border: 0; font: 600 13px var(--fonte, 'Rubik', sans-serif); color: var(--tinta, #181818); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
html body .efc-ver:hover { color: var(--laranja, #D45026); }
html body .efc-ver svg { transition: transform .2s; }
html body .efc-ver[aria-expanded="true"] svg { transform: rotate(180deg); }
.efc-detalhe { margin-top: 10px; }
.efc-tabela { overflow-x: auto; border: 1px solid var(--linha, #e4e4e4); border-radius: 12px; }
.efc-tabela table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 13px; line-height: 1.5; text-align: left; }
.efc-tabela thead { background: #FAFAFA; color: var(--tinta, #181818); }
.efc-tabela th, .efc-tabela td { padding: 8px 12px; border-bottom: 1px solid var(--linha, #e4e4e4); vertical-align: top; }
.efc-tabela tbody tr:last-child th, .efc-tabela tbody tr:last-child td { border-bottom: 0; }
.efc-tabela tbody th { font: 500 12px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--tinta, #181818); white-space: nowrap; }
.efc-tabela td:nth-child(3) { min-width: 200px; }
.efc-vazio, .efc-nota { margin: 0; font-size: 13px; line-height: 1.6; }
.efc-registo { margin: 0; padding: 8px 12px; font-size: 12px; line-height: 1.6; background: #FAFAFA; border: 1px solid var(--linha, #e4e4e4); border-radius: 12px; }
.efc-registo span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; color: var(--tinta, #181818); }
.efc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { html body .efc-interruptor, html body .efc-interruptor span, html body .efc-ver svg, html body .efc-botao { transition: none; } }
html body .efc-principal:focus { background: var(--laranja, #D45026); border-color: var(--laranja, #D45026); color: #fff; }
html body .efc-contorno:focus { background: #fff; color: var(--tinta, #181818); border-color: var(--tinta, #181818); }
html body .efc-principal:hover { background: var(--laranja-escuro, #9C3A19); border-color: var(--laranja-escuro, #9C3A19); }
html body .efc-contorno:hover { background: var(--tinta, #181818); color: #fff; }
html body .efc-fechar:focus, html body .efc-ver:focus { background: none; color: var(--tinta, #181818); }
html body .efc-interruptor:focus { background: #767676; }
html body .efc-interruptor[aria-checked="true"]:focus { background: var(--laranja, #D45026); }
/* «Gerir cookies» no rodapé do tema: o kit do Elementor pintava-o como botão laranja. */
html body .gerir-cookies, html body .gerir-cookies:hover, html body .gerir-cookies:focus { background: none; border: 0; padding: 0; margin-left: 10px; min-height: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; box-shadow: none; border-radius: 0; cursor: pointer; }
html body .gerir-cookies:focus-visible { outline: 2px solid var(--laranja, #D45026); outline-offset: 2px; }
