/* ==========================================================================
   Feng Shui em Casa — Sistema de Design Editorial
   Self-contained. Sem fontes externas, sem CDN, sem build.
   Paleta: madeira, terra, água, verde bambu e dourado suave.
   ========================================================================== */

:root {
  /* Tinta & papel */
  --ink:        #23201A;
  --ink-soft:   #47423A;
  --muted:      #5C564A;
  --faint:      #726A57;
  --paper:      #FAF7F0;
  --surface:    #FFFFFF;
  --rule:       #E7E0D2;
  --rule-soft:  #F1ECE0;

  /* Marca */
  --green:      #4E7C5B;   /* verde bambu */
  --green-deep: #2C4B39;   /* verde floresta profundo */
  --green-tint: #E9F1EA;
  --clay:       #B07A4B;   /* madeira / terracota */
  --clay-deep:  #8A5A30;
  --clay-tint:  #F6EEE3;
  --gold:       #C6A15C;   /* dourado suave */

  /* Tipografia */
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --shadow-s: 0 1px 2px rgba(35,32,26,.05), 0 2px 8px rgba(35,32,26,.04);
  --shadow-m: 0 4px 12px rgba(35,32,26,.06), 0 12px 32px rgba(35,32,26,.07);
  --shadow-l: 0 12px 28px rgba(35,32,26,.10), 0 32px 64px rgba(35,32,26,.10);

  --radius: 4px;
  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1680px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--clay-deep); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.18; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin: 0 0 14px;
}
.eyebrow--light { color: #D9BE84; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Faixa do topo ---------- */
.topbar {
  background: var(--green-deep);
  color: #CFE0D4;
  font-size: 12.5px;
  letter-spacing: .01em;
}
.topbar .wrap { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 38px; text-align: center; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: underline; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,240,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand svg { flex: none; }
.brand-name { font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: -.015em; line-height: 1.05; }
.brand-tag { display: block; font-family: var(--sans); font-size: 9.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  text-decoration: none; letter-spacing: .01em; padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); border-bottom-color: var(--green); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 9px 12px; cursor: pointer; color: var(--ink);
  font: inherit; font-size: 13px; font-weight: 600;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--clay-deep); color: #fff;
  font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .01em;
  padding: 15px 26px; min-height: 50px;
  border: none; border-radius: var(--radius); text-decoration: none;
  box-shadow: var(--shadow-s);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
  cursor: pointer;
}
.btn:hover { background: #6E4824; color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-m); }
.btn--block { display: flex; width: 100%; }
.btn--ghost {
  background: transparent; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: none;
}
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--green-deep); }
.btn--light:hover { background: #F0EDE4; color: var(--green-deep); }
.btn small { display: block; font-size: 11px; font-weight: 600; opacity: .8; }

/* ==========================================================================
   SLOT DE ANÚNCIO (AdSense) — discreto, rotulado "Publicidade"
   ========================================================================== */
.ad-slot {
  margin: 2.6em 0;
  padding: 16px 14px;
  background: var(--rule-soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-align: center;
  min-height: 120px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ad-slot .ad-label {
  font-size: 9.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 8px;
}
.ad-slot .ad-ph { font-size: 12.5px; color: var(--faint); font-style: italic; }
.ad-slot--home { max-width: 1000px; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   HOME — Hero
   ========================================================================== */
.hero {
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
  padding-top: clamp(44px, 5vw, 76px);
  padding-bottom: clamp(44px, 5vw, 76px);
}
.hero h1 {
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--green); }
.hero-lede { font-size: clamp(17px, 1.35vw, 21px); color: var(--ink-soft); line-height: 1.6; max-width: 60ch; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--rule);
  font-size: 13.5px; color: var(--muted);
}
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { flex: none; color: var(--green); }

.hero-figure { position: relative; }
.hero-figure img {
  width: 100%; height: clamp(360px, 46vw, 620px); object-fit: cover;
  border-radius: 2px; box-shadow: var(--shadow-l);
}
.hero-badge {
  position: absolute; left: -18px; bottom: 28px;
  background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid var(--green);
  padding: 16px 20px; max-width: 270px; box-shadow: var(--shadow-m);
}
.hero-badge strong { display: block; font-family: var(--serif); font-size: 17px; margin-bottom: 3px; }
.hero-badge span { font-size: 12.5px; color: var(--muted); line-height: 1.5; display: block; }

/* ---------- Títulos de seção ---------- */
.section { padding-top: clamp(52px, 6vw, 86px); padding-bottom: clamp(52px, 6vw, 86px); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding-bottom: 22px; margin-bottom: 40px; border-bottom: 2px solid var(--ink);
}
.section-head h2 { font-size: clamp(26px, 2.6vw, 38px); margin: 0; letter-spacing: -.02em; }
.section-head p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.section-head a { font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.section-head a:hover { text-decoration: underline; }

/* ---------- Grid de destaques ---------- */
.grid-features {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 52px);
}
.card { background: var(--surface); border: 1px solid var(--rule); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.card:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); border-color: #D8D0BE; color: inherit; }
.card img { width: 100%; object-fit: cover; }
.card-body { padding: clamp(20px, 2vw, 30px); display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: clamp(20px, 1.7vw, 27px); margin-bottom: 10px; letter-spacing: -.015em; }
.card p { color: var(--muted); font-size: 15px; margin: 0 0 18px; line-height: 1.6; }
.card-meta { margin-top: auto; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); display: flex; gap: 14px; align-items: center; }
.card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }

.card--lead img { height: clamp(280px, 30vw, 430px); }
.card--lead h3 { font-size: clamp(26px, 2.4vw, 40px); line-height: 1.14; }
.card--lead p { font-size: 17px; max-width: 62ch; }
.card--pillar { border-top: 4px solid var(--green); }

.stack { display: grid; gap: clamp(20px, 2vw, 28px); align-content: start; }
.card--row { flex-direction: row; align-items: stretch; }
.card--row img { width: 40%; min-width: 130px; height: 100%; min-height: 150px; }
.card--row .card-body { padding: 20px 22px; }
.card--row h3 { font-size: clamp(17px, 1.3vw, 21px); }
.card--row p { font-size: 14px; margin-bottom: 14px; }

.tag {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: var(--green-deep); background: var(--green-tint);
  padding: 5px 10px; margin-bottom: 12px; align-self: flex-start;
}
.tag--pillar { color: #fff; background: var(--green); }

/* ---------- Faixa do método (escura, full-bleed) ---------- */
.band-method { background: var(--green-deep); color: #DCE8DE; }
.band-method h2 { color: #fff; font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -.02em; max-width: 22ch; }
.band-method .lede { color: #AEC6B6; font-size: 17px; max-width: 58ch; margin: 0; }
.band-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: end; margin-bottom: 52px; }
.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(24px, 2.5vw, 44px); }
.method-item { border-top: 2px solid rgba(255,255,255,.22); padding-top: 22px; }
.method-item .num { font-family: var(--serif); font-size: 13px; font-weight: 700; color: #D9BE84; letter-spacing: .1em; display: block; margin-bottom: 12px; }
.method-item h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.method-item p { font-size: 14.5px; color: #AEC6B6; margin: 0; line-height: 1.6; }

/* ---------- Roadmap / lista de tópicos ---------- */
.topic-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.topic {
  background: var(--surface); padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start;
  text-decoration: none; color: inherit;
}
.topic:hover { background: #fff; color: inherit; }
.topic .n { font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--faint); flex: none; width: 26px; }
.topic h3 { font-size: 17px; margin: 0 0 5px; line-height: 1.3; }
.topic p { margin: 0; font-size: 13px; color: var(--muted); }
.topic .status { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-top: 8px; display: block; }
.topic .status.live { color: var(--green); }

/* ==========================================================================
   LAYOUT DO ARTIGO — 3 colunas largura total
   ========================================================================== */
.article-hero { background: var(--surface); border-bottom: 1px solid var(--rule); padding-top: 40px; padding-bottom: 44px; }
.article-hero .wrap { max-width: 1680px; }
.breadcrumb { font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); text-decoration: underline; }
.breadcrumb span { margin: 0 7px; color: var(--faint); }

.ah-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
}
.ah-fig { margin: 0; }
.ah-fig img {
  width: 100%; height: clamp(300px, 32vw, 460px); object-fit: cover;
  border-radius: 2px; box-shadow: var(--shadow-m);
}
.ah-fig figcaption { font-size: 12.5px; color: var(--faint); margin-top: 10px; padding-left: 12px; border-left: 2px solid var(--rule); line-height: 1.5; }

.article-hero h1 {
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.12; letter-spacing: -.025em;
  margin-bottom: 20px;
}
.article-dek { font-size: clamp(17px, 1.3vw, 21px); color: var(--ink-soft); line-height: 1.55; max-width: 62ch; margin: 0 0 26px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 13.5px; color: var(--muted); padding-top: 20px; border-top: 1px solid var(--rule-soft); }
.byline strong { color: var(--ink); font-weight: 700; }
.byline .sep { color: var(--rule); }
.review-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-tint); color: var(--green-deep);
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em; padding: 5px 10px;
}

.layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 340px;
  gap: clamp(32px, 3.4vw, 68px);
  align-items: start;
  padding-top: clamp(36px, 4vw, 60px);
  padding-bottom: clamp(60px, 6vw, 96px);
}

/* Coluna esquerda — índice */
.rail-left { position: sticky; top: 100px; }
.rail-title { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.toc { list-style: none; margin: 0; padding: 0; }
.toc li { margin-bottom: 13px; }
.toc a { font-size: 13.5px; line-height: 1.45; color: var(--muted); text-decoration: none; display: block; padding-left: 13px; border-left: 2px solid var(--rule); }
.toc a:hover { color: var(--green); border-left-color: var(--green); }

/* Centro — a leitura */
.prose { max-width: 74ch; font-size: 18.5px; line-height: 1.75; color: var(--ink-soft); }
.prose > p { margin: 0 0 1.35em; }
.prose h2 {
  font-size: clamp(25px, 2.1vw, 34px); color: var(--ink);
  margin: 2.1em 0 .55em; letter-spacing: -.02em; line-height: 1.2;
  scroll-margin-top: 110px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: clamp(19px, 1.5vw, 23px); color: var(--ink); margin: 1.7em 0 .4em; scroll-margin-top: 110px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { margin: 0 0 1.5em; padding-left: 1.3em; }
.prose li { margin-bottom: .6em; padding-left: .25em; }
.prose li::marker { color: var(--green); font-weight: 700; }
.prose figure { margin: 2.4em 0; }
.prose figure img { width: 100%; height: clamp(300px, 52vw, 520px); object-fit: cover; border-radius: 2px; }
.prose figcaption { font-size: 13px; color: var(--faint); margin-top: 10px; padding-left: 14px; border-left: 2px solid var(--rule); line-height: 1.5; }
.prose hr { border: none; border-top: 1px solid var(--rule); margin: 2.6em 0; }

/* Bloco de resposta */
.answer {
  background: var(--green-tint);
  border: 1px solid #CFE1D4; border-left: 5px solid var(--green);
  padding: clamp(22px, 2.2vw, 30px) clamp(22px, 2.4vw, 34px);
  margin: 0 0 2.4em;
}
.answer .label { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.answer p { font-family: var(--serif); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; color: var(--green-deep); margin: 0; font-weight: 400; }

/* Destaque de dado */
.stat {
  display: grid; grid-template-columns: auto minmax(0,1fr); gap: 22px; align-items: center;
  background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--clay);
  padding: 24px 26px; margin: 2.2em 0;
}
.stat .fig { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 46px); font-weight: 700; color: var(--clay); line-height: 1.05; letter-spacing: -.02em; }
.stat p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.stat cite { display: block; font-style: normal; font-size: 12.5px; color: var(--faint); margin-top: 7px; }

/* Callout */
.note {
  background: #FFFDF6; border: 1px solid #EADFC2; padding: 22px 24px; margin: 2.2em 0;
  font-size: 16px; line-height: 1.65;
}
.note strong { display: block; font-family: var(--serif); font-size: 18px; color: var(--ink); margin-bottom: 7px; }
.note p:last-child { margin-bottom: 0; }

/* Tabela */
.table-scroll { overflow-x: auto; margin: 2.2em 0; border: 1px solid var(--rule); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15.5px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--rule-soft); }
th { background: var(--green-deep); color: #fff; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: #FCFBF7; }
td strong { color: var(--ink); }

/* FAQ */
.faq { margin: 2.6em 0 0; }
.faq details {
  border-bottom: 1px solid var(--rule); background: transparent; padding: 0;
}
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--serif); font-size: clamp(18px, 1.4vw, 21px); font-weight: 700; color: var(--ink);
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 24px; font-weight: 400; color: var(--green); line-height: 1;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "\2013"; }
.faq summary:hover { color: var(--green); }
.faq .answer-body { padding: 0 20px 24px 0; font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); }
.faq .answer-body p { margin: 0 0 1em; }
.faq .answer-body p:last-child { margin-bottom: 0; }

/* Fontes */
.sources { margin-top: 3em; padding-top: 26px; border-top: 2px solid var(--ink); }
.sources h2 { font-size: 20px !important; margin: 0 0 16px !important; }
.sources ol { padding-left: 20px; margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.sources li { margin-bottom: 11px; }
.sources a { word-break: break-word; }

/* Cross links */
.crosslinks { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 2.8em 0 0; }
.crosslink {
  display: block; background: var(--surface); border: 1px solid var(--rule);
  padding: 22px 24px; text-decoration: none; color: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.crosslink:hover { border-color: var(--green); box-shadow: var(--shadow-s); color: inherit; }
.crosslink .lbl { font-size: 10.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--clay-deep); display: block; margin-bottom: 8px; }
.crosslink strong { font-family: var(--serif); font-size: 18px; line-height: 1.3; display: block; color: var(--ink); }

/* Coluna direita */
.rail-right { position: sticky; top: 100px; display: grid; gap: 24px; }
.widget { background: var(--surface); border: 1px solid var(--rule); padding: 24px; }
.widget--author { border-top: 4px solid var(--green); }
.widget h3 { font-size: 19px; margin-bottom: 10px; }
.widget p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0 0 14px; }
.widget p:last-child { margin-bottom: 0; }
.widget a.more { font-size: 13px; font-weight: 700; text-decoration: none; }
.widget a.more:hover { text-decoration: underline; }

.author-mark { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.author-mark svg { flex: none; }
.author-mark strong { font-family: var(--serif); font-size: 16px; display: block; line-height: 1.25; color: var(--ink); }
.author-mark span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 700; }

.checklist { list-style: none; margin: 0 0 4px; padding: 0; }
.checklist li { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--muted); margin-bottom: 10px; }
.checklist svg { flex: none; color: var(--green); margin-top: 3px; }

.widget--cta { background: var(--green-deep); border-color: var(--green-deep); color: #DCE8DE; }
.widget--cta .kicker { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #D9BE84; margin: 0 0 10px; }
.widget--cta h3 { color: #fff; }
.widget--cta p { color: #AEC6B6; font-size: 13.5px; }
.widget--cta .fine { font-size: 11.5px; color: #AEC6B6; margin-top: 12px; line-height: 1.5; }

.widget--related ul { list-style: none; margin: 0; padding: 0; }
.widget--related li { border-bottom: 1px solid var(--rule-soft); padding-bottom: 12px; margin-bottom: 12px; }
.widget--related li:last-child { border: none; padding: 0; margin: 0; }
.widget--related a { font-family: var(--serif); font-size: 15.5px; font-weight: 700; line-height: 1.35; color: var(--ink); text-decoration: none; display: block; }
.widget--related a:hover { color: var(--green); }

/* Slot de anúncio na coluna lateral */
.widget--ad { padding: 14px; background: var(--rule-soft); border-color: var(--rule); text-align: center; }
.widget--ad .ad-label { font-size: 9.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.widget--ad .ad-ph { font-size: 12px; color: var(--faint); font-style: italic; min-height: 220px; display: flex; align-items: center; justify-content: center; }

/* Aviso YMYL */
.ymyl-note {
  background: var(--clay-tint); border: 1px solid #E6D3BC; padding: 22px 24px; margin: 2.6em 0 0;
  font-size: 13.5px; line-height: 1.65; color: var(--ink-soft);
}
.ymyl-note strong { display: block; font-family: var(--sans); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--clay-deep); margin-bottom: 10px; }
.ymyl-note p { margin: 0 0 10px; }
.ymyl-note p:last-child { margin-bottom: 0; }

/* ==========================================================================
   PÁGINAS ESTÁTICAS (sobre, contato, privacidade)
   ========================================================================== */
.page-hero { background: var(--green-deep); color: #DCE8DE; padding-top: clamp(52px, 6vw, 92px); padding-bottom: clamp(52px, 6vw, 92px); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4vw, 60px); letter-spacing: -.025em; line-height: 1.1; margin-bottom: 18px; }
.page-hero p { font-size: clamp(16px, 1.3vw, 20px); color: #AEC6B6; line-height: 1.6; max-width: 55ch; margin: 0; }

.page-body { padding-top: clamp(44px, 5vw, 76px); padding-bottom: clamp(60px, 6vw, 96px); }
.page-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 4vw, 76px); align-items: start; }
.page-grid .prose { max-width: 78ch; }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; margin: 2.4em 0; }
.pillar-card { background: var(--surface); border: 1px solid var(--rule); padding: 26px 24px; }
.pillar-card svg { margin-bottom: 16px; color: var(--green); }
.pillar-card h3 { font-size: 19px; margin-bottom: 8px; }
.pillar-card p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.6; }

/* Formulário de contato */
.contact-form { display: grid; gap: 16px; max-width: 560px; margin: 2em 0; }
.contact-form label { font-size: 13px; font-weight: 700; color: var(--ink); display: block; margin-bottom: 6px; letter-spacing: .02em; }
.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 12px 14px;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }
.contact-form textarea { min-height: 150px; resize: vertical; }

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.site-footer { background: var(--ink); color: #A9A091; font-size: 14px; }
.footer-top { padding-top: clamp(48px, 5vw, 76px); padding-bottom: 44px; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 56px); }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin: 18px 0 0; line-height: 1.65; max-width: 42ch; font-size: 14px; color: #98907F; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 11px; }
.site-footer a { color: #A9A091; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding: 34px 0 44px; display: grid; gap: 20px; }
.legal-block { font-size: 12.5px; line-height: 1.7; color: #968D7C; max-width: 105ch; }
.legal-block strong { color: #CDC5B4; font-weight: 700; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 12.5px; color: #999080; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.08); }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1240px) {
  .layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .rail-left { display: none; }
  .method-grid { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 36px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 40px; }
}

@media (max-width: 1000px) {
  body { font-size: 16.5px; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 16px; box-shadow: var(--shadow-m);
  }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--rule-soft); border-left: 0; }
  .nav.open a:hover, .nav.open a[aria-current="page"] { border-bottom-color: var(--rule-soft); }
  .nav-toggle { display: block; }
  .site-header .wrap { position: relative; }

  .ah-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .ah-fig img { height: clamp(240px, 48vw, 340px); }

  .hero .wrap { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .hero-figure img { height: clamp(280px, 55vw, 420px); }
  .hero-badge { left: 12px; bottom: 12px; max-width: 240px; }

  .grid-features { grid-template-columns: minmax(0,1fr); }
  .band-head { grid-template-columns: minmax(0,1fr); gap: 20px; }

  .layout { grid-template-columns: minmax(0, 1fr); }
  .rail-right { position: static; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .prose { max-width: 100%; font-size: 17.5px; }

  .page-hero .wrap { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .page-grid { grid-template-columns: minmax(0,1fr); }
  .page-grid .rail-left { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar .wrap { min-height: 0; font-size: 11.5px; line-height: 1.5; }
  .site-header .wrap { min-height: 66px; }
  .brand-name { font-size: 18px; }
  .brand-tag { font-size: 8.5px; letter-spacing: .14em; }

  .hero h1 { font-size: clamp(30px, 8vw, 40px); }
  .hero-actions .btn { width: 100%; }
  .hero-badge { position: static; margin-top: -30px; margin-left: 12px; margin-right: 12px; max-width: none; }
  .hero-figure img { height: 260px; }

  .card--row { flex-direction: column; }
  .card--row img { width: 100%; height: 190px; min-height: 0; }
  .method-grid { grid-template-columns: minmax(0,1fr); }
  .stat { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .footer-top { grid-template-columns: minmax(0,1fr); }
  .prose h2 { margin-top: 1.7em; }
  .rail-right { grid-template-columns: minmax(0,1fr); }
  .btn { width: 100%; }
  .widget .btn { width: 100%; }
}

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

@media print {
  .site-header, .topbar, .rail-left, .rail-right, .site-footer, .ad-slot { display: none; }
  body { background: #fff; }
  .layout { grid-template-columns: 1fr; }
}

/* Acessibilidade: links em texto sempre sublinhados (nao depender so da cor) */
.prose a, .legal-block a, .article-dek a, .byline a, .note a { text-decoration: underline; }
