/* Páginas informativas e links de rodapé. Usa os tokens de styles.css (--red, --ink, --gray, --line, --poster, --mono). */

/* links do rodapé (também usados na página inicial) */
.foot-links { margin-top: 20px; }
.foot-links ul { display: flex; flex-wrap: wrap; gap: 0 clamp(16px, 3vw, 36px); }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.foot-links a:hover { text-decoration-thickness: 4px; }
.foot-links a[aria-current="page"] { text-decoration-style: double; }
.foot .foot-operator { margin-top: 6px; }

/* páginas essenciais */
.doc { padding: clamp(28px, 6vw, 72px) 0 clamp(40px, 8vw, 96px); }
.doc-in { max-width: 760px; margin: 0 auto; padding: 0 var(--pad); }
.doc .back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 20px; color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.doc .back:hover { color: var(--red); }
.doc h1 { font-family: var(--poster); font-weight: 400; text-transform: uppercase; line-height: .95; letter-spacing: .005em; font-size: clamp(44px, 9vw, 96px); overflow-wrap: anywhere; margin-bottom: 20px; }
.doc .lead { font-size: 18px; max-width: 62ch; margin-bottom: 8px; }
.doc .updated { color: var(--gray); font-size: 14px; font-family: var(--mono); letter-spacing: .04em; margin-top: 12px; }
.doc h2 { font-family: var(--poster); font-weight: 400; text-transform: uppercase; line-height: 1; letter-spacing: .005em; font-size: clamp(26px, 4vw, 36px); margin: 40px 0 12px; padding-top: 16px; border-top: 4px solid var(--red); overflow-wrap: anywhere; }
.doc h3 { font-size: 18px; margin: 20px 0 6px; }
.doc p, .doc li { max-width: 68ch; line-height: 1.55; overflow-wrap: anywhere; }
.doc p + p { margin-top: 12px; }
.doc ul.bullets { list-style: disc; padding-left: 22px; margin-top: 10px; }
.doc ul.bullets li + li { margin-top: 8px; }
.doc a:not(.back):not(.btn) { color: #b80f14; font-weight: 700; text-underline-offset: 3px; }
.doc a:not(.back):not(.btn):hover { color: var(--ink); }
.doc .alert-box { border: 2px solid var(--ink); border-left: 8px solid var(--red); padding: 14px 16px; margin-top: 20px; max-width: 68ch; }
.doc .alert-box p + p { margin-top: 8px; }

/* caixas de e-mail na página de contato */
.mailboxes { display: grid; gap: 12px; margin-top: 16px; }
.mailboxes li { border: 2px solid var(--ink); padding: 14px 16px; max-width: none; }
.mailboxes .for { display: block; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin-bottom: 4px; }
.mailboxes a { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(16px, 4.2vw, 20px); overflow-wrap: anywhere; word-break: break-word; }
.mailboxes .about { margin-top: 2px; font-size: 15px; }
@media (min-width: 700px) { .mailboxes { grid-template-columns: 1fr 1fr; } }

@media (forced-colors: active) {
  .doc .alert-box { border-left-color: CanvasText; }
}

/* seletor de idioma PT / ENG no cabeçalho (todas as páginas); mesmas cores e cantos retos do restante */
.lang-switch { display: inline-flex; flex: none; gap: 4px; margin-left: auto; }
.lang-switch + .top-search { margin-left: 0; }
.lang-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 10px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1; cursor: pointer; border-radius: 0; }
.lang-btn:hover { background: #eee; }
.lang-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lang-btn .flag { font-size: 20px; line-height: 1; }
@media (max-width: 820px) {
  .lang-switch { gap: 2px; }
  .lang-btn { flex-direction: column; gap: 2px; padding: 2px 6px; font-size: 12px; }
  .lang-btn .flag { font-size: 16px; }
}
@media (forced-colors: active) {
  .lang-btn[aria-pressed="true"] { border: 5px double Highlight; outline: 3px solid CanvasText; outline-offset: -8px; }
  .lang-btn[aria-pressed="true"]:focus-visible { outline: 3px solid Highlight; outline-offset: 3px; }
}
