/* =============================================================
   punctumvisus.pt — main.css
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Source+Serif+4:opsz,wght@8..60,300;8..60,400&family=DM+Sans:wght@300;400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:     #1a1410;
  --ink2:    #3d3530;
  --ink3:    #6b6259;
  --cream:   #faf8f4;
  --cream2:  #f3f0ea;
  --rule:    #c8bfb0;
  --accent:  #8b1a1a;
  --green:   #2c5f2e;
  --radius:  2px;
}

html { font-size: 16px; }
body { font-family: 'DM Sans', sans-serif; color: var(--ink); background: var(--cream2); line-height: 1.6; }

.site-header-minimal { text-align: center; padding: 1.5rem 1rem 1rem; border-bottom: 0.5px solid var(--rule); background: var(--cream); }
.logo-link { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.logo-link:hover { color: var(--accent); }

.auth-page { min-height: 100vh; }
.auth-wrap { display: flex; justify-content: center; align-items: flex-start; padding: 3rem 1rem 4rem; }
.auth-card { background: var(--cream); border: 0.5px solid var(--rule); padding: 2.5rem 2.5rem 2rem; width: 100%; max-width: 460px; }
.auth-title { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; margin-bottom: 0.3rem; }
.auth-sub { font-size: 0.875rem; color: var(--ink3); margin-bottom: 1.8rem; }

.field { margin-bottom: 1.2rem; }
.field label { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink2); margin-bottom: 0.4rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="url"],
.field textarea,
select { width: 100%; padding: 0.6rem 0.75rem; border: 0.5px solid var(--rule); background: #fff; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--ink); border-radius: var(--radius); transition: border-color 0.15s; }
.field input:focus, .field textarea:focus, select:focus { outline: none; border-color: var(--ink); }
.field.has-error input { border-color: var(--accent); }
.field-error { display: block; font-size: 0.8rem; color: var(--accent); margin-top: 0.3rem; }
.hint { font-size: 0.75rem; color: var(--ink3); font-weight: 400; text-transform: none; letter-spacing: 0; }
.label-link { font-size: 0.78rem; color: var(--ink3); text-decoration: none; font-weight: 400; text-transform: none; letter-spacing: 0; }
.label-link:hover { color: var(--accent); }
.field-check { margin-bottom: 1.2rem; font-size: 0.875rem; color: var(--ink2); }
.field-check label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }

.btn-primary { display: inline-block; background: var(--ink); color: var(--cream); border: none; padding: 0.65rem 1.5rem; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; text-decoration: none; border-radius: var(--radius); transition: background 0.15s; }
.btn-primary:hover { background: var(--accent); }
.btn-primary.btn-full { width: 100%; text-align: center; }
.btn-secondary { display: inline-block; background: transparent; color: var(--ink); border: 0.5px solid var(--rule); padding: 0.65rem 1.5rem; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; text-decoration: none; border-radius: var(--radius); transition: border-color 0.15s; }
.btn-secondary:hover { border-color: var(--ink); }
.btn-secondary.btn-full { width: 100%; text-align: center; }

.alert-error { background: #fdf0f0; border-left: 3px solid var(--accent); padding: 0.7rem 1rem; font-size: 0.875rem; color: var(--accent); margin-bottom: 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; }
.auth-success { text-align: center; }
.auth-success h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 0.6rem; }
.auth-success p { color: var(--ink3); font-size: 0.9rem; margin-bottom: 1.5rem; line-height: 1.7; }
.auth-footer { text-align: center; margin-top: 1.5rem; font-size: 0.875rem; color: var(--ink3); border-top: 0.5px solid var(--rule); padding-top: 1rem; }
.auth-footer a { color: var(--ink); }
.auth-footer a:hover { color: var(--accent); }

/* ORIENTAÇÃO POLÍTICA */
.orientation-selector { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.4rem; }
.orientation-option { display: flex; align-items: center; gap: 0.4rem; padding: 0.4rem 1rem; border: 0.5px solid var(--rule); cursor: pointer; font-size: 13px; font-weight: 500; transition: all 0.15s; background: #fff; }
.orientation-option input[type="radio"] { display: none; }
.orientation-option:has(input:checked) { border-width: 2px; color: #fff; }
.orientation-esquerda:has(input:checked) { background: #c0392b; border-color: #c0392b; }
.orientation-centro:has(input:checked)   { background: #8e44ad; border-color: #8e44ad; }
.orientation-direita:has(input:checked)  { background: #1a5276; border-color: #1a5276; }
.orientation-liberal:has(input:checked)  { background: #d4830a; border-color: #d4830a; }
.orientation-esquerda:hover { border-color: #c0392b; color: #c0392b; }
.orientation-centro:hover   { border-color: #8e44ad; color: #8e44ad; }
.orientation-direita:hover  { border-color: #1a5276; color: #1a5276; }
.orientation-liberal:hover  { border-color: #d4830a; color: #d4830a; }
