/* ============================================================
   CONTENT FEATURES — módulos distintos por página de Arrematação
   + páginas legais (privacidade / termos)
   ============================================================ */

/* ---------- LEGAL PAGES (privacidade, termos) ---------- */
.legal-page { background: var(--paper, #fff); color: var(--ink, #0e0d0c); }
.legal-hero {
  padding: 160px 0 60px;
  background: linear-gradient(180deg, #f7f5f1 0%, #fff 100%);
  border-bottom: 1px solid #ece8df;
}
.legal-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 16px 0 12px;
}
.legal-meta {
  color: #6b6760;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.legal-body { padding: 80px 0 120px; }
.legal-body-grid { max-width: 720px; }
.legal-content h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
}
.legal-content p, .legal-content ul {
  font-size: 16px;
  line-height: 1.75;
  color: #2b2823;
  font-weight: 300;
  margin: 0 0 16px;
}
.legal-content ul { padding-left: 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--accent, #c9a96a); text-decoration: underline; text-underline-offset: 3px; }
.legal-content strong { font-weight: 500; color: #1a1816; }
.legal-disclaimer {
  margin-top: 56px;
  padding: 20px 24px;
  border-left: 3px solid var(--accent, #c9a96a);
  background: #faf8f4;
  font-size: 13px;
  color: #6b6760;
  font-style: italic;
}

/* ---------- PLANEJA: tabela de custos ---------- */
.feat-cost-table {
  margin: 0 auto;
  max-width: 920px;
  background: #fff;
  border: 1px solid #ece8df;
  border-radius: 6px;
  overflow: hidden;
}
.feat-cost-table-head, .feat-cost-table-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.6fr;
  padding: 18px 24px;
  align-items: center;
}
.feat-cost-table-head {
  background: #1a1816;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.feat-cost-table-row {
  border-top: 1px solid #ece8df;
  font-size: 14px;
}
.feat-cost-table-row:nth-child(odd) { background: #faf8f4; }
.feat-cost-table-row.is-total {
  background: #f1ede2;
  font-weight: 500;
  border-top: 2px solid #1a1816;
}
.feat-cost-label { font-weight: 400; }
.feat-cost-value { font-family: var(--font-mono); }
.feat-cost-pct { color: #6b6760; font-family: var(--font-mono); font-size: 12px; }
.feat-cost-status {
  display: inline-flex;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #c9a96a;
}
.feat-cost-status.is-fix { background: #6b6760; }
.feat-cost-status.is-var { background: #c9a96a; }

/* ---------- LOCALIZAÇÃO: mock de mapa com camadas ---------- */
.feat-map-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.feat-map-canvas {
  position: relative;
  aspect-ratio: 1.4 / 1;
  background:
    repeating-linear-gradient(0deg, #f1ede2 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, #f1ede2 0 1px, transparent 1px 40px),
    radial-gradient(circle at 60% 45%, #d4e8d6 0 12%, #faf8f4 14% 100%);
  border: 1px solid #ece8df;
  border-radius: 8px;
  overflow: hidden;
}
.feat-map-pin {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 999px;
  background: var(--accent, #c9a96a);
  box-shadow: 0 0 0 5px rgba(201,169,106,0.25), 0 0 0 12px rgba(201,169,106,0.12);
  transform: translate(-50%, -50%);
}
.feat-map-poi {
  position: absolute;
  font-size: 10px;
  font-family: var(--font-mono);
  color: #1a1816;
  background: #fff;
  border: 1px solid #ece8df;
  padding: 4px 8px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
.feat-map-vector {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.feat-map-legend {
  background: #fff;
  border: 1px solid #ece8df;
  border-radius: 6px;
  padding: 22px;
}
.feat-map-legend h3 {
  font-size: 13px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  color: #6b6760;
}
.feat-map-legend ul { list-style: none; padding: 0; margin: 0; }
.feat-map-legend li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; padding: 6px 0; color: #2b2823;
}
.feat-map-legend li .dot { width: 9px; height: 9px; border-radius: 999px; }
.feat-map-legend li .dot.imovel { background: var(--accent, #c9a96a); }
.feat-map-legend li .dot.escola { background: #6390d6; }
.feat-map-legend li .dot.transporte { background: #2f6f3c; }
.feat-map-legend li .dot.comercio { background: #b06ac9; }

/* ---------- MERCADO: gráfico de curva + tabela ---------- */
.feat-chart {
  background: #fff;
  border: 1px solid #ece8df;
  border-radius: 8px;
  padding: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.feat-chart-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; margin-bottom: 18px; flex-wrap: wrap;
}
.feat-chart-head h3 { font-size: 15px; font-weight: 500; margin: 0; }
.feat-chart-head .legend {
  display: flex; gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.08em;
  color: #6b6760;
}
.feat-chart-head .legend span { display: inline-flex; align-items: center; gap: 6px; }
.feat-chart-head .legend .sw { width: 12px; height: 2px; }
.feat-chart-svg { display: block; width: 100%; height: auto; }
.feat-compare {
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
  font-size: 13px;
}
.feat-compare th, .feat-compare td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #ece8df;
}
.feat-compare th {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6760;
  background: #faf8f4;
}
.feat-compare td.num { font-family: var(--font-mono); text-align: right; }
.feat-compare tr.is-target td { background: #f1ede2; font-weight: 500; }

/* ---------- EDITAL: semáforo verde/amarelo/vermelho ---------- */
.feat-semafora {
  max-width: 920px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px;
}
.feat-traffic {
  background: #fff;
  border: 1px solid #ece8df;
  border-radius: 8px;
  padding: 24px;
  position: relative;
}
.feat-traffic-light {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.feat-traffic-light .led {
  width: 14px; height: 14px; border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.04);
}
.feat-traffic.green .led { background: #2f8a3c; }
.feat-traffic.yellow .led { background: #e0a72f; }
.feat-traffic.red .led { background: #b73a3a; }
.feat-traffic.green { border-left: 3px solid #2f8a3c; }
.feat-traffic.yellow { border-left: 3px solid #e0a72f; }
.feat-traffic.red { border-left: 3px solid #b73a3a; }
.feat-traffic h4 {
  font-size: 16px; font-weight: 500; margin: 0 0 10px;
}
.feat-traffic ul { list-style: none; padding: 0; margin: 0; font-size: 13px; color: #2b2823; }
.feat-traffic li {
  padding: 8px 0;
  border-top: 1px solid #f3eee2;
  line-height: 1.5;
}
.feat-traffic li:first-child { border-top: 0; }
.feat-traffic li::before { content: '— '; color: #6b6760; }

/* ---------- SUPORTE-ARR: timeline T-7 / T-0 / +24h ---------- */
.feat-timeline {
  max-width: 1000px; margin: 0 auto;
  position: relative;
}
.feat-timeline::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 26px;
  height: 1px;
  background: #ece8df;
}
.feat-timeline-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.feat-tl-step {
  position: relative;
  padding-top: 60px;
}
.feat-tl-step::before {
  content: '';
  position: absolute;
  top: 20px; left: 50%;
  width: 14px; height: 14px;
  background: var(--accent, #c9a96a);
  border-radius: 999px;
  transform: translateX(-50%);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--accent, #c9a96a);
}
.feat-tl-step .when {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.08em;
  color: #1a1816;
  text-align: center;
  margin-bottom: 12px;
  font-weight: 500;
}
.feat-tl-step .what {
  background: #fff;
  border: 1px solid #ece8df;
  border-radius: 6px;
  padding: 14px 14px;
  font-size: 13px;
  line-height: 1.5;
}
.feat-tl-step .what strong { display: block; font-size: 14px; margin-bottom: 4px; }

/* ---------- PÓS-LEILÃO: fluxograma ---------- */
.feat-flow {
  max-width: 1000px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
}
.feat-flow-step {
  position: relative;
  background: #fff;
  border: 1px solid #ece8df;
  border-radius: 8px;
  padding: 22px 20px;
}
.feat-flow-step .badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.1em;
  background: #1a1816; color: #fff;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.feat-flow-step h4 { font-size: 15px; font-weight: 500; margin: 0 0 6px; }
.feat-flow-step p { font-size: 12px; color: #6b6760; line-height: 1.5; margin: 0; }
.feat-flow-step .prazo {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #2f6f3c;
  letter-spacing: 0.05em;
}
.feat-flow-step::after {
  content: '→';
  position: absolute;
  right: -14px; top: 50%;
  transform: translateY(-50%);
  color: #c9a96a;
  font-size: 18px;
  font-weight: 300;
}
.feat-flow-step:last-child::after { content: none; }

/* ============================================================
   ARR RICH SECTIONS — pillars, editorial, method-detail, stats, faq
   Reaproveitam estética da BuscaPage com prefixo .arr-* pra ficar
   genérico nas 6 páginas de Arrematação.
   ============================================================ */

/* ---------- PILLARS (4 cards com ícone) ---------- */
.arr-pillars { padding: 100px 0; background: #fff; border-bottom: 1px solid #ece8df; }
.arr-pillars-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.arr-pillars-header h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 300; letter-spacing: -0.01em; margin: 0 0 16px; }
.arr-pillars-header h2 .em { font-style: italic; font-weight: 400; color: var(--accent, #c9a96a); }
.arr-pillars-header p { color: #6b6760; font-size: 16px; line-height: 1.6; font-weight: 300; }
.arr-pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid #ece8df; }
.arr-pillar {
  padding: 36px 28px;
  border-right: 1px solid #ece8df;
  position: relative;
  transition: background 0.3s ease;
}
.arr-pillar:last-child { border-right: 0; }
.arr-pillar:hover { background: #faf8f4; }
.arr-pillar-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent, #c9a96a);
  margin-bottom: 18px;
}
.arr-pillar-icon { color: #1a1816; margin-bottom: 18px; line-height: 0; }
.arr-pillar h3 { font-size: 19px; font-weight: 500; margin: 0 0 10px; letter-spacing: -0.01em; }
.arr-pillar p { font-size: 14px; line-height: 1.6; color: #2b2823; margin: 0; }

/* ---------- EDITORIAL split ---------- */
.arr-editorial { padding: 100px 0; background: #faf8f4; }
.arr-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.arr-editorial-visual {
  background: #1a1816;
  color: #fff;
  border-radius: 8px;
  padding: 60px 48px;
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.arr-editorial-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent, #c9a96a);
}
.arr-editorial-tag .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent, #c9a96a); }
.arr-editorial-mark { text-align: right; }
.arr-editorial-mark .big {
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(120px, 18vw, 220px);
  font-weight: 300;
  line-height: 0.85;
  color: var(--accent, #c9a96a);
  letter-spacing: -0.04em;
}
.arr-editorial-mark .lab {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
}
.arr-editorial-content .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #6b6760;
  margin-bottom: 20px;
}
.arr-editorial-content .eyebrow .line { width: 24px; height: 1px; background: var(--accent, #c9a96a); }
.arr-editorial-content h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  line-height: 1.15;
}
.arr-editorial-content h2 .em { font-style: italic; color: var(--accent, #c9a96a); }
.arr-editorial-content > p {
  font-size: 17px;
  line-height: 1.65;
  color: #2b2823;
  margin: 0 0 32px;
  max-width: 60ch;
}
.arr-editorial-list { display: flex; flex-direction: column; gap: 20px; }
.arr-editorial-row { display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: start; }
.arr-editorial-row .n {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent, #c9a96a);
  font-weight: 500;
  padding-top: 4px;
}
.arr-editorial-row .t { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.arr-editorial-row .d { font-size: 14px; color: #6b6760; line-height: 1.5; }

/* ---------- METHOD DETAIL ---------- */
.arr-method-detail { padding: 100px 0; background: #fff; }
.arr-method-detail-header { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.arr-method-detail-header .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #6b6760;
  margin-bottom: 16px;
}
.arr-method-detail-header .eyebrow .line { width: 24px; height: 1px; background: var(--accent, #c9a96a); }
.arr-method-detail-header h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 300; letter-spacing: -0.01em; margin: 0 0 14px; }
.arr-method-detail-header h2 .em { font-style: italic; color: var(--accent, #c9a96a); }
.arr-method-detail-header p { font-size: 16px; line-height: 1.6; color: #6b6760; font-weight: 300; }
.arr-method-detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.arr-method-detail-cell {
  padding: 32px 28px;
  border: 1px solid #ece8df;
  border-radius: 6px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.arr-method-detail-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent, #c9a96a);
  margin-bottom: 18px;
}
.arr-method-detail-cell h3 { font-size: 19px; font-weight: 500; margin: 0 0 12px; letter-spacing: -0.01em; }
.arr-method-detail-cell p { font-size: 14px; line-height: 1.6; color: #2b2823; margin: 0 0 20px; flex: 1; }
.arr-method-detail-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: #1a1816;
  color: #fff;
  border-radius: 3px;
}

/* ---------- STATS BAND ---------- */
.arr-stats { padding: 80px 0; background: #1a1816; color: #fff; }
.arr-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.arr-stats-cell { padding: 0 16px; border-left: 1px solid rgba(255,255,255,0.1); }
.arr-stats-cell:first-child { border-left: 0; padding-left: 0; }
.arr-stats-cell .num {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent, #c9a96a);
}
.arr-stats-cell .num small { font-size: 0.42em; font-weight: 300; margin-left: 4px; }
.arr-stats-cell .lab {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 16px 0 8px;
  color: rgba(255,255,255,0.85);
}
.arr-stats-cell .desc {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* ---------- FAQ ---------- */
.arr-faq { padding: 100px 0; background: #faf8f4; }
.arr-faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.arr-faq-side .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #6b6760;
  margin-bottom: 16px;
}
.arr-faq-side .eyebrow .line { width: 24px; height: 1px; background: var(--accent, #c9a96a); }
.arr-faq-side h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 300; letter-spacing: -0.01em; margin: 0 0 16px; }
.arr-faq-side h2 .em { font-style: italic; color: var(--accent, #c9a96a); }
.arr-faq-side p { font-size: 15px; color: #6b6760; line-height: 1.6; margin: 0 0 28px; max-width: 36ch; }
.arr-faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid #ece8df; }
.arr-faq-item {
  border-bottom: 1px solid #ece8df;
  padding: 24px 0;
  cursor: pointer;
}
.arr-faq-q {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  font-size: 17px; font-weight: 400; color: #1a1816;
}
.arr-faq-toggle {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid #ece8df;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent, #c9a96a);
  transition: transform 0.3s ease;
}
.arr-faq-item.is-open .arr-faq-toggle { transform: rotate(45deg); }
.arr-faq-a {
  font-size: 15px;
  line-height: 1.65;
  color: #2b2823;
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.4s ease;
}
.arr-faq-item.is-open .arr-faq-a { max-height: 500px; margin-top: 16px; }

/* ---------- RESPONSIVE — todas as seções ARR ricas ---------- */
@media (max-width: 880px) {
  .arr-pillars, .arr-editorial, .arr-method-detail, .arr-faq { padding: 60px 0; }
  .arr-stats { padding: 60px 0; }
  .arr-pillars-grid { grid-template-columns: 1fr; border-top: 0; }
  .arr-pillar { border-right: 0; border-bottom: 1px solid #ece8df; padding: 28px 20px; }
  .arr-pillar:last-child { border-bottom: 0; }
  .arr-editorial-grid { grid-template-columns: 1fr; gap: 40px; }
  .arr-editorial-visual { aspect-ratio: 1.6/1; padding: 28px 24px; }
  .arr-editorial-mark .big { font-size: clamp(80px, 24vw, 140px); }
  .arr-method-detail-grid { grid-template-columns: 1fr; gap: 12px; }
  .arr-stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .arr-stats-cell { padding: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; }
  .arr-stats-cell:nth-child(-n+2) { border-top: 0; padding-top: 0; }
  .arr-faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .arr-faq-side h2 { font-size: 28px; }
}

/* ---------- COMMON FEATURE WRAPPER ---------- */
.feat-section {
  padding: 80px 0;
  background: #faf8f4;
  border-top: 1px solid #ece8df;
  border-bottom: 1px solid #ece8df;
}
.feat-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}
.feat-section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 300;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.feat-section-header h2 .em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent, #c9a96a);
}
.feat-section-header p {
  color: #6b6760;
  font-size: 16px;
  font-weight: 300;
  margin: 0;
  line-height: 1.6;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 880px) {
  .feat-cost-table-head, .feat-cost-table-row {
    grid-template-columns: 1.4fr 1fr;
  }
  .feat-cost-table-head .col-pct, .feat-cost-table-row .feat-cost-pct,
  .feat-cost-table-head .col-status, .feat-cost-table-row .feat-cost-status { display: none; }
  .feat-map-wrap { grid-template-columns: 1fr; }
  .feat-semafora { grid-template-columns: 1fr; }
  .feat-timeline::before { display: none; }
  .feat-timeline-row { grid-template-columns: 1fr; gap: 20px; }
  .feat-tl-step { padding-top: 0; }
  .feat-tl-step::before { display: none; }
  .feat-flow { grid-template-columns: 1fr; }
  .feat-flow-step::after { display: none; }
}
