/* ═══════════════════════════════════════════════════════════════════
   Fernanda Trindade Advocacia — Design System Global
   Arquivo: styles.css
   Hospedagem: /public_html/assets/css/styles.css
═══════════════════════════════════════════════════════════════════ */

/* ── Google Fonts import ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;1,400&family=Source+Serif+4:wght@300;400;600&display=swap');

/* ── Reset e base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 12pt;
  background: #FDFAF6;
  color: #2C2010;
  line-height: 1.9;
}

/* ── Layout ── */
.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

/* ── Tag de categoria ── */
.tag {
  display: inline-block;
  font-size: 9pt;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: #F5EEE6;
  color: #8B5A2B;
  border: 0.5px solid #D4A574;
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 1.25rem;
}

/* ── Imagem de capa ── */
.cover-wrap {
  width: 100%;
  margin: 1.5rem 0 1.75rem;
  border-radius: 6px;
  overflow: hidden;
  background: #EDE3D6;
  aspect-ratio: 16/7;
}
.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Títulos ── */
h1.title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24pt;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 .9rem;
  color: #1A1008;
}

h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16pt;
  font-weight: 600;
  margin: 2.75rem 0 .6rem;
  color: #1A1008;
  padding-bottom: .5rem;
  border-bottom: 0.5px solid #DDB87A;
}

h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 13pt;
  font-weight: 600;
  margin: 1.75rem 0 .5rem;
  color: #1A1008;
}

/* ── Subtítulo do artigo ── */
.subtitle {
  font-size: 12pt;
  font-weight: 300;
  color: #7A5A3A;
  margin: 0 0 2rem;
  border-left: 3px solid #C8924A;
  padding-left: 1rem;
  font-style: italic;
}

/* ── Bloco de autora ── */
.author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 1rem 1.25rem;
  background: #F5EEE6;
  border: 0.5px solid #DDB87A;
  border-radius: 8px;
  margin-bottom: 2.5rem;
}
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C8924A, #8B5A2B);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 14pt;
  color: #fff;
  flex-shrink: 0;
}
.author-name { font-size: 11pt; font-weight: 600; color: #2C2010; }
.author-role { font-size: 9.5pt; color: #8B6040; margin-top: 2px; }

/* ── Separador ── */
hr {
  border: none;
  border-top: 0.5px solid #DDB87A;
  margin: 2.5rem 0;
}

/* ── Parágrafo ── */
p {
  font-size: 12pt;
  color: #3A2A18;
  margin-bottom: 1.3rem;
  line-height: 1.9;
}

/* ── Banner do pilar (satélites) ── */
.pillar-banner {
  background: #F0F5FB;
  border: 0.5px solid #74A4D4;
  border-left: 3px solid #2B5A8B;
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin-bottom: 2.5rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 11pt;
  color: #1A3A5A;
  line-height: 1.75;
}
.pillar-banner .pi { font-size: 14pt; flex-shrink: 0; margin-top: 2px; }
.pillar-banner a { color: #2B5A8B; font-weight: 600; text-decoration: underline; }

/* ── Índice (TOC) ── */
.toc {
  background: #F5EEE6;
  border: 0.5px solid #DDB87A;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}
.toc-title {
  font-family: 'Playfair Display', serif;
  font-size: 11.5pt;
  font-weight: 600;
  color: #1A1008;
  margin-bottom: .75rem;
}
.toc ol { padding-left: 1.25rem; margin: 0; }
.toc ol li { font-size: 11pt; color: #5A3A18; padding: 3px 0; line-height: 1.6; }
.toc ol li a { color: #7A4A1E; text-decoration: none; }

/* ── Highlight (caixa dourada) ── */
.highlight {
  background: #FBF5EE;
  border-left: 3px solid #C8924A;
  padding: 1.1rem 1.4rem;
  margin: 2rem 0;
  font-size: 12pt;
  color: #3A2A18;
  line-height: 1.85;
}
.highlight strong { color: #7A4A1E; }

/* ── Alert box (informação) ── */
.alert-box {
  background: #F9F4EE;
  border: 0.5px solid #DDB87A;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
  font-size: 12pt;
  color: #5A3A18;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.8;
}
.alert-icon { font-size: 13pt; flex-shrink: 0; margin-top: 3px; }

/* ── Urgência / prazo (vermelho) ── */
.urgency {
  background: #FFF3F0;
  border: 0.5px solid #E8A090;
  border-left: 3px solid #C85A3A;
  border-radius: 0 8px 8px 0;
  padding: 1.1rem 1.4rem;
  margin: 2rem 0;
  font-size: 12pt;
  color: #5A1A08;
  line-height: 1.85;
}
.urgency strong { color: #C85A3A; }

/* ── CID badge ── */
.cid-badge {
  display: inline-block;
  background: #2C2215;
  color: #F0D9B5;
  font-family: 'Source Serif 4', serif;
  font-size: 10pt;
  font-weight: 600;
  padding: 3px 14px;
  border-radius: 20px;
  margin-bottom: 1rem;
  letter-spacing: .05em;
}

/* ── Checklist com bullets verdes ── */
ul.checklist { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
ul.checklist li {
  display: flex;
  gap: 12px;
  font-size: 12pt;
  color: #3A2A18;
  padding: 8px 0;
  border-bottom: 0.5px solid #E8D8C0;
  align-items: flex-start;
  line-height: 1.75;
}
ul.checklist li:last-child { border-bottom: none; }
.dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #E8F5E3;
  border: 0.5px solid #8BC34A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 9pt;
  color: #4A7A1E;
}

/* ── Grid de requisitos (2 colunas) ── */
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.req-card { border: 0.5px solid #E0C89A; border-radius: 8px; overflow: hidden; }
.req-head {
  background: #F5EEE6;
  padding: .8rem 1.1rem;
  border-bottom: 0.5px solid #E0C89A;
  display: flex;
  align-items: center;
  gap: 10px;
}
.req-icon { font-size: 14pt; flex-shrink: 0; }
.req-title { font-family: 'Playfair Display', serif; font-size: 11.5pt; font-weight: 600; color: #1A1008; }
.req-body { padding: .9rem 1.1rem; font-size: 11.5pt; color: #3A2A18; line-height: 1.75; }

/* ── Grid de categorias (cat-grid) ── */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.cat-card { border: 0.5px solid #E0C89A; border-radius: 8px; overflow: hidden; }
.cat-head {
  padding: .8rem 1.1rem;
  border-bottom: 0.5px solid #E0C89A;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F5EEE6;
}
.cat-icon { font-size: 16pt; flex-shrink: 0; }
.cat-title { font-family: 'Playfair Display', serif; font-size: 11.5pt; font-weight: 600; color: #1A1008; }
.cat-body { padding: .85rem 1.1rem; font-size: 11.5pt; color: #3A2A18; line-height: 1.75; }
ul.cat-list { list-style: none; padding: 0; margin: 0; }
ul.cat-list li { padding: 4px 0; border-bottom: 0.5px solid #EDE3D4; font-size: 11pt; display: flex; gap: 8px; }
ul.cat-list li:last-child { border-bottom: none; }
ul.cat-list li::before { content: "·"; color: #C8924A; font-weight: 900; flex-shrink: 0; }

/* ── Painel de comparação (distinction) ── */
.distinction {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 1.5rem 0;
  border: 0.5px solid #E0C89A;
  border-radius: 8px;
  overflow: hidden;
}
.dist-col { padding: 1.1rem 1.25rem; }
.dist-col:first-child { background: #EAF3E8; border-right: 0.5px solid #E0C89A; }
.dist-col:last-child { background: #F0F5FB; }
.dist-label { font-size: 9pt; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.dist-col:first-child .dist-label { color: #3A6A1E; }
.dist-col:last-child .dist-label { color: #1A3A6A; }
.dist-title { font-family: 'Playfair Display', serif; font-size: 12pt; font-weight: 600; color: #1A1008; margin-bottom: 6px; }
.dist-body { font-size: 11.5pt; color: #3A2A18; line-height: 1.75; }

/* ── Steps (etapas numeradas) ── */
.steps { margin: 1.25rem 0; display: flex; flex-direction: column; }
.step { display: flex; align-items: stretch; }
.step-left { display: flex; flex-direction: column; align-items: center; width: 48px; flex-shrink: 0; }
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #C8924A;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 12pt;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.step-line { width: 2px; background: #DDB87A; flex: 1; margin-top: 2px; }
.step:last-child .step-line { display: none; }
.step-body { flex: 1; padding: 0 0 2rem 1rem; }
.step-body strong { color: #1A1008; font-size: 12pt; display: block; margin-bottom: 5px; }
.step-body p { margin: 0; font-size: 12pt; color: #3A2A18; line-height: 1.8; }

/* ── Timeline ── */
.timeline { margin: 1.25rem 0; display: flex; flex-direction: column; }
.tl-item { display: flex; gap: 0; align-items: stretch; }
.tl-left { display: flex; flex-direction: column; align-items: center; width: 48px; flex-shrink: 0; }
.tl-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12pt;
  flex-shrink: 0;
  border: 2px solid #DDB87A;
  background: #F5EEE6;
}
.tl-dot.etapa { background: #F5EEE6; border-color: #C8924A; }
.tl-dot.alerta { background: #FFF3F0; border-color: #C85A3A; }
.tl-dot.admin  { background: #F0F5FB; border-color: #2B5A8B; }
.tl-dot.judicial { background: #EAF3E8; border-color: #3A6A1E; }
.tl-line { width: 2px; background: #DDB87A; flex: 1; margin-top: 2px; }
.tl-item:last-child .tl-line { display: none; }
.tl-body { flex: 1; padding: 0 0 2rem 1rem; }
.tl-body strong { color: #1A1008; font-size: 12pt; display: block; margin-bottom: 5px; }
.tl-body p { margin: 0; font-size: 12pt; color: #3A2A18; line-height: 1.8; }
.tl-duration {
  display: inline-block;
  font-size: 9pt;
  background: #F5EEE6;
  border: 0.5px solid #DDB87A;
  border-radius: 12px;
  padding: 2px 10px;
  color: #7A5A3A;
  margin-top: 5px;
}

/* ── Rights strip (§ lista legal) ── */
.rights-strip {
  background: #F5EEE6;
  border: 0.5px solid #DDB87A;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}
.rs-title {
  font-family: 'Playfair Display', serif;
  font-size: 12.5pt;
  font-weight: 600;
  color: #1A1008;
  margin-bottom: .75rem;
}
.rights-strip ul { list-style: none; padding: 0; margin: 0; }
.rights-strip ul li {
  display: flex;
  gap: 10px;
  font-size: 11.5pt;
  color: #3A2A18;
  padding: 7px 0;
  border-bottom: 0.5px solid #E8D8C0;
  line-height: 1.75;
  align-items: flex-start;
}
.rights-strip ul li:last-child { border-bottom: none; }
.rights-strip ul li::before {
  content: "§";
  color: #C8924A;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  flex-shrink: 0;
}

/* ── Tabela comparativa ── */
.compare-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 11pt; }
.compare-table th {
  background: #2C2215;
  color: #F0D9B5;
  padding: .75rem 1rem;
  text-align: left;
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 10.5pt;
  letter-spacing: .05em;
}
.compare-table td {
  padding: .75rem 1rem;
  border-bottom: 0.5px solid #E8D8C0;
  color: #3A2A18;
  vertical-align: top;
  line-height: 1.75;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: #FBF5EE; }
.compare-table td:first-child { font-weight: 600; color: #1A1008; }

/* ── Cenários (scenario cards) ── */
.scenarios { display: flex; flex-direction: column; gap: 1rem; margin: 1.25rem 0 1.75rem; }
.scenario { border: 0.5px solid #E0C89A; border-radius: 8px; overflow: hidden; }
.scenario-head {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F5EEE6;
  padding: .8rem 1.2rem;
  border-bottom: 0.5px solid #E0C89A;
}
.scenario-icon { font-size: 15pt; flex-shrink: 0; }
.scenario-label { font-family: 'Playfair Display', serif; font-size: 12pt; font-weight: 600; color: #1A1008; }
.scenario-body { padding: 1rem 1.2rem; font-size: 12pt; color: #3A2A18; line-height: 1.85; }
.scenario-body p { margin-bottom: 0; }

/* ── Strategy cards ── */
.strategies { display: flex; flex-direction: column; gap: 1rem; margin: 1.25rem 0; }
.strategy-card { border: 0.5px solid #E0C89A; border-radius: 8px; overflow: hidden; margin-bottom: 1rem; }
.strategy-head {
  background: #F5EEE6;
  padding: .85rem 1.25rem;
  border-bottom: 0.5px solid #E0C89A;
  display: flex;
  align-items: center;
  gap: 12px;
}
.strategy-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #C8924A;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 11pt;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.strategy-title { font-family: 'Playfair Display', serif; font-size: 12.5pt; font-weight: 600; color: #1A1008; }
.strategy-body { padding: 1rem 1.25rem; font-size: 12pt; color: #3A2A18; line-height: 1.85; }
.strategy-body p { margin-bottom: .75rem; }
.strategy-body p:last-child { margin-bottom: 0; }

/* ── Error cards ── */
.errors { display: flex; flex-direction: column; gap: 1rem; margin: 1.25rem 0 1.75rem; }
.error-card { border: 0.5px solid #E8A090; border-radius: 8px; overflow: hidden; }
.error-head {
  background: #FFF3F0;
  padding: .85rem 1.25rem;
  border-bottom: 0.5px solid #E8A090;
  display: flex;
  align-items: center;
  gap: 12px;
}
.error-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #C85A3A;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 11pt;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.error-title { font-family: 'Playfair Display', serif; font-size: 12.5pt; font-weight: 600; color: #1A1008; }
.error-body { padding: 1rem 1.25rem; font-size: 12pt; color: #3A2A18; line-height: 1.85; }
.error-body p { margin-bottom: .75rem; }
.error-body p:last-child { margin-bottom: 0; }
.error-fix {
  margin-top: .75rem;
  background: #EAF3E8;
  border-left: 3px solid #8BC34A;
  padding: .75rem 1rem;
  font-size: 11.5pt;
  color: #2A4A1E;
  line-height: 1.8;
  border-radius: 0 4px 4px 0;
}
.error-fix strong { color: #3A6A1E; }

/* ── Doc-category (documentação em camadas) ── */
.doc-category { border: 0.5px solid #E0C89A; border-radius: 8px; overflow: hidden; margin: 1rem 0; }
.doc-cat-head {
  background: #F5EEE6;
  padding: .85rem 1.25rem;
  border-bottom: 0.5px solid #E0C89A;
  display: flex;
  align-items: center;
  gap: 12px;
}
.doc-cat-icon { font-size: 15pt; flex-shrink: 0; }
.doc-cat-title { font-family: 'Playfair Display', serif; font-size: 12.5pt; font-weight: 600; color: #1A1008; }
.doc-cat-body { padding: .9rem 1.25rem; }
ul.doc-list { list-style: none; padding: 0; margin: 0; }
ul.doc-list li {
  display: flex;
  gap: 12px;
  font-size: 12pt;
  color: #3A2A18;
  padding: 7px 0;
  border-bottom: 0.5px solid #EDE3D4;
  align-items: flex-start;
  line-height: 1.75;
}
ul.doc-list li:last-child { border-bottom: none; }
.doc-dot {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 10pt;
  background: #EAF3E8;
  color: #3A6A1E;
  border: 0.5px solid #8BC34A;
}

/* ── Two-path panel (dois caminhos) ── */
.two-path { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.path-col { border-radius: 8px; overflow: hidden; border: 0.5px solid #E0C89A; }
.path-col.admin .path-head { background: #EAF3E8; border-color: #8BC34A; }
.path-col.judicial .path-head { background: #F0F5FB; border-color: #74A4D4; }
.path-head {
  padding: .85rem 1.25rem;
  border-bottom: 0.5px solid #E0C89A;
  font-family: 'Playfair Display', serif;
  font-size: 12pt;
  font-weight: 600;
  color: #1A1008;
  display: flex;
  align-items: center;
  gap: 10px;
}
.path-body { padding: .9rem 1.25rem; font-size: 11.5pt; color: #3A2A18; line-height: 1.75; }

/* ── Internal link card ── */
.internal-link {
  background: #F5EEE6;
  border: 0.5px solid #DDB87A;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  display: flex;
  gap: 14px;
  align-items: center;
}
.internal-link .il-icon { font-size: 20pt; flex-shrink: 0; }
.internal-link .il-label { font-size: 9pt; color: #8B6040; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.internal-link .il-title { font-family: 'Playfair Display', serif; font-size: 12pt; font-weight: 600; color: #1A1008; }
.internal-link a { color: #C8924A; font-size: 10.5pt; font-weight: 600; margin-top: 4px; display: inline-block; }

/* ── Satellite cluster (links satélites) ── */
.satellite-cluster { margin: 2rem 0; display: flex; flex-direction: column; gap: .75rem; }
.sat-link {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #F5EEE6;
  border: 0.5px solid #DDB87A;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  transition: background .15s;
}
.sat-link:hover { background: #EDE3D4; }
.sat-icon { font-size: 14pt; flex-shrink: 0; }
.sat-label { font-size: 9pt; color: #8B6040; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 3px; }
.sat-title { font-family: 'Playfair Display', serif; font-size: 11.5pt; font-weight: 600; color: #1A1008; }
.sat-arrow { margin-left: auto; color: #C8924A; font-size: 13pt; flex-shrink: 0; }

/* ── CTA final ── */
.cta {
  background: #2C2215;
  border-radius: 8px;
  padding: 2rem 1.75rem;
  margin-top: 3rem;
  text-align: center;
}
.cta h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15pt;
  color: #F0D9B5;
  margin: 0 0 .75rem;
  font-weight: 600;
  border-bottom: none;
}
.cta p { font-size: 11pt; color: #A89070; margin: 0 0 1.5rem; line-height: 1.75; }
.cta a {
  display: inline-block;
  background: #C8924A;
  color: #fff;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11pt;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  padding: .75rem 2rem;
  transition: background .15s;
}
.cta a:hover { background: #A87030; }

/* ── Responsivo ── */
@media (max-width: 600px) {
  .wrap { padding: 2rem 1.25rem 3rem; }
  h1.title { font-size: 19pt; }
  h2 { font-size: 14pt; }
  .req-grid,
  .cat-grid,
  .distinction,
  .two-path { grid-template-columns: 1fr; }
  .dist-col:first-child { border-right: none; border-bottom: 0.5px solid #E0C89A; }
  .compare-table { font-size: 10pt; }
  .compare-table th, .compare-table td { padding: .55rem .7rem; }
}
