/* Estilos partilhados das páginas secundárias (contacto, termos, privacidade) */
:root {
  --ink: #0B0B0B;
  --paper: #F2F2EF;
  --muted: #45453F;
  --soft: #6A6A64;
  --line: #C9C9C4;
  --accent: #C2185B;
  --display: 'Big Shoulders Display', 'Barlow', sans-serif;
  --text: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 18px; line-height: 1.6; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }

.wrap { max-width: 1360px; margin: 0 auto; padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }

/* Cabeçalho */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 64px; height: 64px; display: block; }
.brand span { font-weight: 700; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; }
.top nav a { text-decoration: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); text-decoration: none; font-family: var(--text); font-size: 12px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--ink); }
@media (max-width: 760px) { .top nav .hide-sm { display: none; } }

/* Título de página */
.page-head { padding-block: 96px 56px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.page-head h1 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(56px, 8vw, 112px); line-height: 0.88; text-transform: uppercase; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--soft); }

/* Texto legal */
.legal { padding-bottom: 120px; }
.legal h2 { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.05; text-transform: uppercase; margin: 56px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal .todo { background: #FFF1A8; color: var(--ink); padding: 0 4px; }
.toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 64px; }
.toc a { text-decoration: none; color: var(--soft); }
.toc a:hover { color: var(--ink); }

/* Formulário */
.contact { display: flex; flex-wrap: wrap; gap: 64px; padding-bottom: 120px; }
.contact form { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.contact aside { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.field input, .field select, .field textarea { font: inherit; font-size: 18px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 10px 0; min-height: 48px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: #8A8A85; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); flex: 0 0 auto; }
.hint { font-size: 14px; color: var(--soft); margin: 0; }
.error { color: var(--accent); font-size: 14px; margin: 0; }
.info { border-top: 2px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.info .big { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.1; }

/* Rodapé */
.foot { background: var(--ink); color: #B8B8B3; }
.foot .wrap { padding-block: 48px; display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-between; align-items: center; font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.foot a { color: #F2F2EF; text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
