/*
 * propostas2026.css — CSS proprio da pagina propostas2026.html
 * Prefixo das classes: prop-
 *
 * Carregado depois de tokens.css e style.css (reset, @font-face, skip-link,
 * botoes, back-to-top e rodape vem de la) e antes de consentimento.css.
 *
 * Cores dos partidos: as mesmas da eleicoes2026.css, pelo mesmo motivo — nao sao
 * tokens da marca. Vermelho e azul identificam partidos; usar o coral do CTA
 * ou os azuis da marca confundiria o sinal de compra e associaria a marca a um
 * partido. Escopadas em .prop-main (nao em :root - ver secao 3 do CLAUDE.md).
 *   PT  #C8102E  5,9:1 sobre branco
 *   PL  #2A6FD0  4,9:1 sobre branco
 * Validadas como par categorico (daltonismo e contraste) em out/2026.
 *
 * Regra dos graficos: texto usa as cores de texto da marca, nunca a cor do
 * partido. A cor fica na barra, no marcador e no filete; o nome escrito ao lado
 * carrega a identidade, para nunca depender so da cor.
 */

.prop-main {
  --prop-pt: #C8102E;
  --prop-pl: #2A6FD0;
  --prop-pt-soft: #FBE7EA;
  --prop-pl-soft: #E6EFFB;
  --prop-line: rgba(2, 54, 76, 0.12);
}

.prop-main :is(a, button, input, summary, [tabindex]):focus-visible {
  outline: 2px solid transparent;
  box-shadow: var(--shadow-focus-ring);
}

/* ---------------------------------------------------------------------------
   Cabecalhos de secao (mesma linguagem da eleicoes2026)
   --------------------------------------------------------------------------- */

.prop-section-heading {
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
}

.prop-section-heading h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--color-brand-primary);
}

.prop-section-heading p {
  max-width: min(760px, 52ch);
  margin: 24px auto 0;
  color: var(--color-text-secondary);
  font-size: 1.08rem;
  line-height: 1.75;
  text-wrap: balance;
}

.prop-section-heading-left { margin: 0; text-align: left; }
.prop-section-heading-left p { margin-left: 0; }

.prop-section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-brand-light-80);
  color: var(--color-brand-primary);
  border: 1px solid rgba(2, 54, 76, 0.10);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.prop-section-kicker-dark {
  background: rgba(118, 207, 245, 0.12);
  color: var(--color-brand-light-30);
  border: 1px solid rgba(118, 207, 245, 0.30);
}

/* Marcador de partido: quadradinho de cor + nome escrito ao lado */
.prop-main i[aria-hidden="true"] {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border-radius: 3px;
  vertical-align: -1px;
  background: currentColor;
}

/* ---------------------------------------------------------------------------
   Hero — fundo escuro, malha de 48px (copia da eleicoes2026)
   --------------------------------------------------------------------------- */

.prop-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 22%, rgba(118, 207, 245, 0.20) 0%, rgba(118, 207, 245, 0) 34%),
    radial-gradient(circle at 15% 80%, rgba(245, 238, 93, 0.16) 0%, rgba(245, 238, 93, 0) 30%),
    linear-gradient(135deg,
      var(--color-brand-primary-deep) 0%,
      var(--color-brand-primary) 54%,
      var(--color-brand-primary-dark) 100%);
}

.prop-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.prop-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 2fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 40px;
}

.prop-hero-content {
  align-self: center;
  text-align: center;
}

.prop-hero-content h1 {
  margin: 0 auto;
  max-width: 640px;
  font-family: var(--font-heading);
  font-size: clamp(2.7rem, 4.4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: #ffffff;
}

.prop-hero-content p {
  max-width: min(600px, 52ch);
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--font-size-base);
  line-height: 1.65;
}

.prop-hero-content p strong { color: #ffffff; font-weight: 700; }

.prop-hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 24px;
  margin-top: 32px;
}

.prop-hero-method {
  color: var(--color-brand-light-30);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.prop-hero-method:hover { color: #ffffff; }

.prop-candidate {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.prop-candidate picture { display: block; width: 100%; max-width: 260px; }

.prop-candidate img {
  width: 100%;
  max-width: 260px;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
}

.prop-candidate figcaption {
  display: grid;
  justify-items: center;
  gap: 2px;
  margin-top: 14px;
  width: 100%;
  max-width: 260px;
  padding-top: 14px;
  border-top: 3px solid currentColor;
}

.prop-candidate-pt figcaption { color: #ff8a8a; }
.prop-candidate-pl figcaption { color: #8fb8f2; }

.prop-candidate-party {
  font-size: var(--font-size-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prop-candidate-name {
  font-family: var(--font-heading);
  font-size: var(--font-size-md);
  line-height: 1.2;
  color: #ffffff;
}

.prop-candidate-note {
  color: rgba(255, 255, 255, 0.70);
  font-size: var(--font-size-sm);
  line-height: 1.45;
}

/* ---------------------------------------------------------------------------
   Em numeros — vem depois do escuro: comeca no azul claro e desce ao branco
   --------------------------------------------------------------------------- */

.prop-numbers {
  padding: 104px 0;
  background: linear-gradient(180deg, var(--color-brand-light-80) 0%, #ffffff 100%);
}

.prop-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.prop-stat {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--prop-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.prop-stat h3 {
  min-height: 2.5em;
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: var(--font-size-md);
  line-height: 1.25;
  color: var(--color-brand-primary);
}

.prop-stat-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.prop-stat-side { display: grid; gap: 4px; align-content: start; }

.prop-stat-party {
  color: var(--color-text-secondary);
  font-size: var(--font-size-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.prop-stat-pt .prop-stat-party i { color: var(--prop-pt); }
.prop-stat-pl .prop-stat-party i { color: var(--prop-pl); }

.prop-stat-value {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
}

.prop-stat-sub {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.35;
}

.prop-stat-meter {
  display: block;
  height: 8px;
  margin-top: 6px;
  border-radius: 4px;
  background: #E9EFF2;
  overflow: hidden;
}

.prop-stat-meter span { display: block; height: 100%; border-radius: 4px; }
.prop-stat-pt .prop-stat-meter span { background: var(--prop-pt); }
.prop-stat-pl .prop-stat-meter span { background: var(--prop-pl); }

.prop-stat-note {
  margin: auto 0 0;
  padding-top: 18px;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

/* ---------------------------------------------------------------------------
   Pesos — barras espelhadas
   --------------------------------------------------------------------------- */

.prop-weights {
  padding: 104px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-background-soft) 100%);
}

.prop-weights-card {
  padding: 28px 32px;
  background: #ffffff;
  border: 1px solid var(--prop-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.prop-weights-tools {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.prop-toggle { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

.prop-toggle button {
  min-height: 44px;
  padding: 9px 20px;
  border: 1px solid rgba(2, 54, 76, 0.55);
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--color-brand-primary);
  font: inherit;
  font-size: var(--font-size-sm);
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.prop-toggle button:hover { border-color: var(--color-brand-primary); }

.prop-toggle button.is-active {
  background: var(--color-brand-primary);
  border-color: var(--color-brand-primary);
  color: #ffffff;
}

.prop-bars-head,
.prop-bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.prop-bars-head {
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--prop-line);
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  font-weight: 800;
}

.prop-legend-pt { text-align: right; }
.prop-legend-pt i { color: var(--prop-pt); }
.prop-legend-pl i { color: var(--prop-pl); }

.prop-bar-row {
  width: 100%;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(2, 54, 76, 0.06);
  background: transparent;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.prop-bar-row:hover { background: var(--color-background-soft); }

.prop-bar-dim {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-primary);
  font-size: var(--font-size-sm);
  font-weight: 700;
  line-height: 1.25;
}

.prop-bar-dim .prop-picto img { width: 40px; height: 40px; }

.prop-picto { display: inline-flex; flex: none; }
.prop-picto img { display: block; }

.prop-bar-side {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}

.prop-bar-pt { flex-direction: row-reverse; }

.prop-bar {
  display: block;
  height: 22px;
  min-width: 2px;
  transition: width 0.35s ease;
}


/* Cantos arredondados so na ponta do dado; a base encosta no eixo central */
.prop-bar-pt .prop-bar { background: var(--prop-pt); border-radius: 4px 0 0 4px; }
.prop-bar-pl .prop-bar { background: var(--prop-pl); border-radius: 0 4px 4px 0; }

.prop-bar-label {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}


.prop-table-view { margin-top: 24px; }

.prop-table-view summary {
  color: var(--color-brand-primary);
  font-weight: 700;
  cursor: pointer;
}

.prop-table-wrap { overflow-x: auto; margin-top: 14px; }

.prop-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
  font-variant-numeric: tabular-nums;
}

.prop-table th,
.prop-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--prop-line);
  text-align: right;
}

.prop-table th:first-child { text-align: left; }
.prop-table thead th { color: var(--color-text-secondary); font-size: var(--font-size-xs); text-transform: uppercase; letter-spacing: 0.04em; }
.prop-table tfoot th, .prop-table tfoot td { font-weight: 800; border-bottom: 0; }

/* ---------------------------------------------------------------------------
   Metas
   --------------------------------------------------------------------------- */

.prop-goals {
  padding: 104px 0;
  background: linear-gradient(180deg, var(--color-background-soft) 0%, #ffffff 100%);
}

.prop-goals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.prop-goals-col h3,
.prop-explore-col h3,
.prop-wordlist h4 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 3px solid currentColor;
  font-family: var(--font-heading);
  font-size: var(--font-size-md);
  color: var(--color-text-primary);
}

.prop-goals-pt h3, .prop-explore-pt h3, .prop-wordlist-pt h4 { border-bottom-color: var(--prop-pt); }
.prop-goals-pl h3, .prop-explore-pl h3, .prop-wordlist-pl h4 { border-bottom-color: var(--prop-pl); }
.prop-goals-pt h3 i, .prop-explore-pt h3 i, .prop-wordlist-pt h4 i { color: var(--prop-pt); }
.prop-goals-pl h3 i, .prop-explore-pl h3 i, .prop-wordlist-pl h4 i { color: var(--prop-pl); }

.prop-goals-col h3 span,
.prop-explore-col h3 span {
  margin-left: auto;
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 700;
}

.prop-goals-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prop-goal {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid var(--prop-line);
  border-left: 4px solid var(--goal-cor, var(--color-brand-primary));
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.prop-goals-pt .prop-goal { --goal-cor: var(--prop-pt); }
.prop-goals-pl .prop-goal { --goal-cor: var(--prop-pl); }

.prop-goal-value {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.prop-goal-title {
  color: var(--color-text-secondary);
  font-weight: 700;
  line-height: 1.4;
}

.prop-goal-quote,
.prop-item-quote {
  margin: 4px 0 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  line-height: 1.55;
}

.prop-goal-quote cite,
.prop-item-quote cite {
  display: block;
  margin-top: 4px;
  color: var(--color-text-secondary);
  font-style: normal;
  font-size: var(--font-size-xs);
  font-weight: 700;
}

/* ---------------------------------------------------------------------------
   Vocabulario
   --------------------------------------------------------------------------- */

.prop-words {
  padding: 104px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-background-soft) 100%);
}

.prop-words-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.prop-words-card {
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--prop-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.prop-words-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  color: var(--color-brand-primary);
}

.prop-words-lead {
  margin: 10px 0 22px;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

.prop-words-foot {
  margin: 18px 0 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  line-height: 1.5;
}

.prop-terms { display: grid; gap: 4px; }

.prop-term {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 3px;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(2, 54, 76, 0.06);
  border-radius: var(--radius-sm);
}

.prop-term:hover { background: var(--color-background-soft); }

.prop-term-name {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--color-text-primary);
  font-size: var(--font-size-sm);
  font-weight: 700;
  line-height: 1.3;
}

.prop-term-bar {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 118px;
  align-items: center;
  gap: 8px;
}

.prop-term-party {
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  font-weight: 800;
}

.prop-term-track { height: 10px; }
.prop-term-track span { display: block; height: 100%; min-width: 2px; border-radius: 0 4px 4px 0; }
.prop-term-pt .prop-term-track span { background: var(--prop-pt); }
.prop-term-pl .prop-term-track span { background: var(--prop-pl); }

.prop-term-val {
  color: var(--color-text-primary);
  font-size: var(--font-size-sm);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.prop-term-val small {
  margin-left: 6px;
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  font-weight: 400;
}

.prop-wordlists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.prop-wordlist h4 { font-size: var(--font-size-base); }

.prop-wordlist ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prop-wordlist li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
}

.prop-word {
  color: var(--color-text-primary);
  font-weight: 700;
}

.prop-word-track { height: 6px; }
.prop-word-track span { display: block; height: 100%; border-radius: 0 4px 4px 0; }
.prop-wordlist-pt .prop-word-track span { background: var(--prop-pt); }
.prop-wordlist-pl .prop-word-track span { background: var(--prop-pl); }

.prop-word-n {
  color: var(--color-text-secondary);
  font-size: var(--font-size-xs);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.prop-word-n small { color: var(--color-text-muted); font-weight: 400; }

/* ---------------------------------------------------------------------------
   Explorador
   --------------------------------------------------------------------------- */

.prop-explore {
  padding: 104px 0;
  background: linear-gradient(180deg, var(--color-background-soft) 0%, #ffffff 100%);
}

.prop-filters {
  position: sticky;
  top: 0;
  z-index: 40;
  margin: 0 0 28px;
  padding: 14px 0;
  background: rgba(247, 251, 253, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--prop-line);
}

.prop-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.prop-chip {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 14px 6px 8px;
  border: 1px solid rgba(2, 54, 76, 0.30);
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--color-brand-primary);
  font: inherit;
  font-size: var(--font-size-sm);
  font-weight: 700;
  cursor: pointer;
}

.prop-chip:first-child { padding-left: 16px; }
.prop-chip .prop-picto img { width: 28px; height: 28px; }
.prop-chip:hover { border-color: var(--color-brand-primary); }

.prop-chip.is-active {
  background: var(--color-brand-primary);
  border-color: var(--color-brand-primary);
  color: #ffffff;
}

.prop-chip.is-active .prop-picto { background: #ffffff; border-radius: 50%; }

.prop-filters-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 10px;
}

.prop-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  font-weight: 700;
  cursor: pointer;
}

.prop-check input { width: 18px; height: 18px; accent-color: var(--color-brand-primary); }

.prop-search { margin-left: auto; flex: 1 1 260px; max-width: 360px; }

.prop-search input {
  width: 100%;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(2, 54, 76, 0.55);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--color-text-primary);
  font: inherit;
  font-size: var(--font-size-base);
}

.prop-explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.prop-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prop-item {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid var(--prop-line);
  border-radius: var(--radius-md);
}

.prop-item[hidden] { display: none; }

.prop-item-dim {
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.prop-item-title {
  color: var(--color-text-primary);
  line-height: 1.35;
}

.prop-item-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.prop-badge {
  padding: 3px 10px;
  border: 1px solid rgba(2, 54, 76, 0.18);
  border-radius: var(--radius-pill);
  background: var(--color-background-soft);
  color: var(--color-text-secondary);
  font-size: var(--font-size-xs);
  font-weight: 700;
}

.prop-badge-meta {
  border-color: var(--color-accent-dark);
  background: var(--color-accent-bg);
  color: var(--color-accent-deep);
}

.prop-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed rgba(2, 54, 76, 0.25);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.prop-more { margin-top: 18px; width: 100%; }
.prop-more[hidden] { display: none; }

/* ---------------------------------------------------------------------------
   Metodo — ultima secao antes do rodape escuro: termina no azul claro
   --------------------------------------------------------------------------- */

.prop-method {
  padding: 104px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-brand-light-80) 100%);
}

.prop-method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 48px;
  align-items: start;
}

.prop-method-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.prop-method-list {
  display: grid;
  gap: 18px;
  margin: 0;
}

.prop-method-list div {
  padding: 18px 22px;
  background: #ffffff;
  border: 1px solid var(--prop-line);
  border-radius: var(--radius-md);
}

.prop-method-list dt {
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-brand-primary);
}

.prop-method-list dd {
  margin: 0;
  max-width: 72ch;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ---------------------------------------------------------------------------
   Dica flutuante
   --------------------------------------------------------------------------- */

.prop-tooltip {
  position: fixed;
  z-index: 200;
  max-width: 320px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--color-brand-primary-deep);
  color: #ffffff;
  box-shadow: var(--shadow-dark-sm);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  pointer-events: none;
}

/* ---------------------------------------------------------------------------
   Responsivo
   --------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .prop-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prop-words-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 980px) {
  .prop-hero-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .prop-hero-content { grid-column: 1 / -1; grid-row: 1; }
  .prop-method-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 768px) {
  .prop-hero { padding: 72px 0 56px; }
  .prop-hero-content h1 { font-size: clamp(2.2rem, 9vw, 2.7rem); }
  .prop-candidate img { max-width: 180px; }

  .prop-numbers, .prop-weights, .prop-goals, .prop-words, .prop-explore, .prop-method { padding: 80px 0; }

  .prop-stat-grid { grid-template-columns: minmax(0, 1fr); }
  .prop-weights-card, .prop-words-card { padding: 20px 16px; }

  /* Barras espelhadas no celular: o tema sobe para uma linha propria e as
     duas barras ficam lado a lado embaixo, ainda espelhadas no centro. */
  .prop-bars-head { grid-template-columns: 1fr 1fr; }
  .prop-bars-head span:nth-child(2) { display: none; }
  .prop-bar-row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "dim dim" "pt pl";
    gap: 6px 0;
  }
  .prop-bar-dim { grid-area: dim; }
  .prop-bar-pt { grid-area: pt; padding-right: 2px; }
  .prop-bar-pl { grid-area: pl; padding-left: 2px; }
  .prop-bar-dim .prop-picto img { width: 32px; height: 32px; }

  .prop-goals-grid, .prop-explore-grid, .prop-wordlists { grid-template-columns: minmax(0, 1fr); }

  .prop-term { grid-template-columns: minmax(0, 1fr); }
  .prop-term-name { grid-row: auto; }
  .prop-term-bar { grid-template-columns: 24px minmax(0, 1fr) 104px; }

  .prop-search { margin-left: 0; max-width: none; flex-basis: 100%; }
  .prop-filters-row { gap: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .prop-bar { transition: none; }
}

/* No celular a barra de filtros nao gruda no topo: com chips, caixas e busca
   ela ocuparia um terco da tela enquanto se le a lista. */
@media (max-width: 768px) {
  .prop-filters { position: static; backdrop-filter: none; }
}

/* ===========================================================================
   Ajustes de 15/out/2026
   =========================================================================== */

/* 1. Cartoes de comparacao (par PT x PL): conteudo centralizado.
   Padrao registrado no design system, secao 4.2.1. */
.prop-stat { text-align: center; }
.prop-stat-side { justify-items: center; }
.prop-stat-meter { width: 100%; }
.prop-stat-note { text-wrap: balance; }

/* 2. Pesos: numero absoluto, escala fixa, duas vistas (barras e radar) */
.prop-weights-tools {
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.prop-weights-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  font-weight: 800;
}

.prop-view[hidden] { display: none; }

/* Barras na escala fixa: cada metade tem uma folga de 44px para o rotulo,
   e a largura da barra e medida so na area util. Sem grade vertical (pedido
   de 15/out/2026): a regua de 0 a 50 embaixo basta. */
.prop-bars .prop-bar-side {
  position: relative;
  min-height: 28px;
  background-clip: content-box;
  background-origin: content-box;
}
.prop-bars .prop-bar-pl {
  padding-right: 44px;
}
.prop-bars .prop-bar-pt {
  padding-left: 44px;
}
.prop-bars .prop-bar { position: relative; flex: none; transition: none; }
.prop-bars .prop-bar-label { position: absolute; top: 50%; transform: translateY(-50%); }
.prop-bars .prop-bar-pl .prop-bar-label { left: calc(100% + 8px); }
.prop-bars .prop-bar-pt .prop-bar-label { right: calc(100% + 8px); }

.prop-bars-axis {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px minmax(0, 1fr);
  gap: 16px;
  margin-top: 6px;
}
.prop-axis {
  height: 18px;
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  font-variant-numeric: tabular-nums;
}
.prop-axis > div { position: relative; height: 100%; }
.prop-axis-pt { padding-left: 44px; }
.prop-axis-pl { padding-right: 44px; }
.prop-axis span { position: absolute; top: 0; }
.prop-axis-pl span { transform: translateX(-50%); }
.prop-axis-pt span { transform: translateX(50%); }

/* Radar */
.prop-radar { text-align: center; }

.prop-radar-svg {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto;
  font-family: var(--font-body);
}

.prop-radar-ring { fill: none; stroke: rgba(2, 54, 76, 0.08); stroke-width: 1; }
.prop-radar-ring.is-major { stroke: rgba(2, 54, 76, 0.18); }
.prop-radar-spoke { stroke: rgba(2, 54, 76, 0.12); stroke-width: 1; }

.prop-radar-tick {
  fill: var(--color-text-muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.prop-radar-area { stroke-width: 2; stroke-linejoin: round; }
.prop-radar-area.prop-radar-pt { fill: rgba(200, 16, 46, 0.10); stroke: var(--prop-pt); }
.prop-radar-area.prop-radar-pl { fill: rgba(42, 111, 208, 0.12); stroke: var(--prop-pl); }

/* Pontos com anel na cor do fundo, para nao se fundirem quando se cruzam */
.prop-radar-dot { stroke: #ffffff; stroke-width: 2; cursor: default; }
.prop-radar-dot.prop-radar-pt { fill: var(--prop-pt); }
.prop-radar-dot.prop-radar-pl { fill: var(--prop-pl); }
.prop-radar-dot:hover { r: 7; }

.prop-radar-label { cursor: pointer; outline: none; }
.prop-radar-label text { fill: var(--color-text-primary); font-size: 13px; font-weight: 700; }
.prop-radar-label:hover text,
.prop-radar-label:focus-visible text { fill: var(--color-brand-primary); text-decoration: underline; }

.prop-radar-note {
  max-width: 62ch;
  margin: 8px auto 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  line-height: 1.55;
}

/* 3. Vocabulario: um visual por linha, temas de referencia primeiro */
.prop-words-grid { grid-template-columns: minmax(0, 1fr); }

.prop-words-card .prop-terms {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
}

.prop-words-card .prop-wordlists { gap: 40px; }

@media (max-width: 768px) {
  .prop-bars-axis { grid-template-columns: 1fr 1fr; gap: 0; }
  .prop-bars-axis > span { display: none; }
  .prop-bars .prop-bar-pt { padding-left: 34px; margin-right: 2px; }
  .prop-bars .prop-bar-pl { padding-right: 34px; margin-left: 2px; }
  .prop-axis-pt { padding-left: 34px; margin-right: 2px; }
  .prop-axis-pl { padding-right: 34px; margin-left: 2px; }
  .prop-words-card .prop-terms { grid-template-columns: minmax(0, 1fr); }
  .prop-radar-label text { font-size: 15px; }
}

.prop-weights-legend .prop-legend-pt i { color: var(--prop-pt); }
.prop-weights-legend .prop-legend-pl i { color: var(--prop-pl); }
.prop-weights-legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border-radius: 3px;
  vertical-align: -1px;
  background: currentColor;
}
.prop-radar-tick { paint-order: stroke; stroke: #ffffff; stroke-width: 3px; }

@media (max-width: 768px) {
  /* A legenda do topo ja nomeia os dois lados; o cabecalho das colunas sobrava. */
  .prop-view .prop-bars-head { display: none; }
  /* Dois zeros colados no eixo central: fica so o do lado do PL. */
  .prop-axis-pt span:first-child { display: none; }
  /* Radar no celular: largura minima para os rotulos ficarem legiveis,
     com rolagem lateral dentro do cartao (as barras sao a vista padrao). */
  .prop-radar { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .prop-radar-svg { min-width: 720px; }
  .prop-radar-note { position: sticky; left: 0; max-width: calc(100vw - 80px); }
}

/* Temas de referencia em ordem alfabetica: a leitura desce pela primeira
   coluna e continua na segunda. */
.prop-words-card .prop-terms { grid-auto-flow: column; grid-template-rows: repeat(7, auto); }
@media (max-width: 768px) {
  .prop-words-card .prop-terms { grid-auto-flow: row; grid-template-rows: none; }
}
