/* Hombres · Encuentros de Descripción — hoja única de estilos
   Paleta sóbria: papel/tinta. Sem estética mística. */

:root {
  --paper: #f5f3ef;
  --paper-2: #ece9e2;
  --ink: #1a1a1e;
  --warm: #3a3a42;
  --accent: #b8860b;
  --crisis: #9f1239;
  --line: #d8d4cc;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
}

.wrap { max-width: 42rem; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .5rem 1.25rem; padding-top: 1.25rem; padding-bottom: 1.25rem;
}
.brand {
  font-size: 1.35rem; color: var(--ink); text-decoration: none; letter-spacing: .01em;
}
.site-header nav { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; }
.site-header nav a {
  color: var(--warm); text-decoration: none; font-size: .95rem;
}
.site-header nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.site-header nav a.nav-cta {
  color: var(--accent); font-weight: bold;
}
.site-header nav a.nav-cta:hover { color: var(--ink); }

/* ---------- Conteúdo ---------- */
main { padding: 2.5rem 0 3.5rem; }
.hero { padding: 3.5rem 0 2rem; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.2rem); font-weight: normal; line-height: 1.15; letter-spacing: -0.02em; }
.sub { color: var(--warm); font-style: italic; margin-top: .5rem; }

h2 { font-size: 1.35rem; margin: 2.75rem 0 1rem; font-weight: bold; }
h3 { font-size: 1.1rem; margin: 2rem 0 .75rem; }
p { margin-bottom: 1rem; }
ul, ol { margin: 0 0 1.25rem 0; list-style: none; }
li { padding-left: 1.35rem; position: relative; margin-bottom: .7rem; }
ul li::before { content: "—"; position: absolute; left: 0; color: var(--warm); }
ol { counter-reset: step; }
ol li::before {
  counter-increment: step; content: counter(step) ".";
  position: absolute; left: 0; color: var(--warm);
}
strong { font-weight: bold; }

.note {
  border-left: 3px solid var(--accent);
  padding: .85rem 1.1rem; margin: 1.75rem 0;
  background: var(--paper-2); font-style: italic;
}
.warning {
  border-left: 3px solid var(--crisis);
  padding: .85rem 1.1rem; margin: 1.75rem 0;
  background: #f7ecec;
}

/* ---------- Botões ---------- */
.btn, button.btn {
  display: inline-block;
  background: var(--accent); color: #fff;
  text-decoration: none; border: none; cursor: pointer;
  font: inherit; font-weight: bold;
  padding: 1rem 2rem; border-radius: 4px;
  transition: background .2s ease;
}
.btn:hover { background: var(--ink); }
.btn-secondary {
  display: inline-block; color: var(--warm); text-decoration: underline;
  text-underline-offset: 4px; margin-top: 1rem;
}

/* ---------- Acordeão (FAQ) ---------- */
details {
  border-bottom: 1px solid var(--line);
  padding: .35rem 0;
}
details summary {
  cursor: pointer; padding: .85rem 0;
  font-weight: bold; list-style: none;
  position: relative; padding-right: 2rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+"; position: absolute; right: .25rem; top: 50%;
  transform: translateY(-50%); color: var(--accent);
  font-size: 1.4rem; line-height: 1;
}
details[open] summary::after { content: "–"; }
details summary:hover { color: var(--warm); }
details .a { padding: 0 0 1.1rem 0; }
.faq-cat { margin-top: 2.5rem; }
.faq-cat:first-of-type { margin-top: 1.5rem; }

/* ---------- Formulário ---------- */
form p { margin-bottom: 1.25rem; }
label { display: block; font-weight: bold; margin-bottom: .4rem; font-size: .95rem; }
label .req { color: var(--crisis); }
input[type="text"], input[type="email"], textarea, select {
  width: 100%; font: inherit;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 4px;
  padding: .8rem 1rem;
}
textarea { min-height: 7rem; resize: vertical; }
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--accent); outline-offset: 1px;
}
.checkbox-label { display: flex; gap: .6rem; align-items: flex-start; font-weight: normal; }
.checkbox-label input { margin-top: .35rem; width: auto; }
.hidden { position: absolute; left: -9999px; }

/* ---------- Rodapé ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.25rem 0 3rem;
  font-size: .88rem; color: var(--warm);
}
.site-footer nav { margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.site-footer a { color: var(--warm); }
.site-footer .crisis { color: var(--crisis); margin-top: .75rem; }
.site-footer .fine { font-size: .8rem; margin-top: .75rem; }

/* ---------- Acessibilidade ---------- */
a:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}
