/* Mesma paleta e tipografia do site do cliente (gracademae.com):
   Georgia para títulos, Arial para corpo, sem fonte nem script externo. */
:root {
  --wine: #651f35;
  --paper: #f7f1e8;
  --gold: #b18b4d;
  --ink: #382b2b;
  --muted: #756565;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.wrap {
  max-width: 760px;
  margin: auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* Aviso discreto de rascunho, acima do cabeçalho — exigência da issue. */
.draft-banner {
  background: var(--wine);
  color: var(--paper);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.3px;
  padding: 9px 16px;
}

header {
  max-width: 900px;
  margin: auto;
  padding: 24px 28px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #651f351a;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
}

.official-logo {
  display: block;
  width: 150px;
  height: auto;
}

.header-doc-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
}

main {
  padding-top: 48px;
  padding-bottom: 70px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 2.3px;
  color: var(--gold);
  font-weight: bold;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: Georgia, serif;
  font-weight: normal;
  line-height: 1.2;
  color: var(--wine);
}

h1 {
  font-size: 42px;
  letter-spacing: -1px;
  margin: 18px 0 8px;
}

h2 {
  font-size: 26px;
  margin: 46px 0 14px;
}

h3 {
  font-size: 19px;
  margin: 26px 0 10px;
}

.updated-at {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 36px;
}

p {
  color: var(--ink);
}

main .wrap > p,
article p {
  max-width: 640px;
}

ul, ol {
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

strong {
  color: var(--wine);
}

/* Ponto pendente de decisão jurídica — precisa ficar visível, nunca some
   dentro do parágrafo (requisito da issue). */
.pendente-juridico {
  display: inline;
  background: #b18b4d26;
  border: 1px solid #b18b4d88;
  border-radius: 4px;
  padding: 1px 6px;
  color: #5b3d12;
  font-style: italic;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 30px;
  font-size: 14px;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #d8c9b8;
  vertical-align: top;
}

th {
  color: var(--wine);
  font-weight: bold;
  background: #eee1d7;
}

.faq details {
  border-bottom: 1px solid #d5c7b8;
  padding: 16px 0;
}

.faq summary {
  cursor: pointer;
  color: var(--wine);
  font-size: 16px;
  font-weight: bold;
}

.faq details p {
  margin-top: 10px;
}

.contact-card {
  background: #fcf9f3;
  border: 1px solid #d8c9b8;
  border-radius: 8px;
  padding: 24px 28px;
  margin: 24px 0 36px;
}

.contact-card a {
  font-size: 18px;
}

.steps-list {
  list-style: none;
  padding: 0;
  counter-reset: steps;
}

.steps-list li {
  counter-increment: steps;
  position: relative;
  padding-left: 38px;
  margin-bottom: 18px;
}

.steps-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--paper);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.index-list {
  list-style: none;
  padding: 0;
}

.index-list li {
  border: 1px solid #d8c9b8;
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 14px;
  background: #fcf9f3;
}

.index-list a {
  font-family: Georgia, serif;
  font-size: 20px;
  text-decoration: none;
}

.index-list p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
}

footer {
  max-width: 900px;
  margin: auto;
  padding: 32px 28px 40px;
  border-top: 1px solid #651f351a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}

footer .official-logo {
  width: 120px;
}

footer p {
  margin: 0;
  text-align: right;
}

@media (max-width: 640px) {
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  header {
    padding: 18px 20px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 22px;
  }

  .contact-card {
    padding: 18px 20px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  footer p {
    text-align: left;
  }

  table, thead, tbody, th, td, tr {
    display: block;
  }

  th {
    border-bottom: none;
  }

  td {
    padding: 6px 0;
  }

  tr {
    margin-bottom: 14px;
    border-bottom: 1px solid #d8c9b8;
  }
}
