/* ==========================================================================
   Gestorafin — sistema visual "oficina criativa"
   1. Tokens        2. Base        3. Camadas de fundo
   4. Cabeçalho     5. Rodapé      6. Componentes
   7. Hero          8. Home        9. Explorador
   10. Ferramenta   11. Projeto    12. Páginas de texto
   13. Responsivo   14. Impressão
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --papel: #fbf7f0;
  --papel-2: #f4ecdf;
  --papel-3: #ece0cd;
  --branco: #fffdf9;
  --tinta: #241c15;
  --tinta-2: #5b4a3b;
  --tinta-3: #776654;
  --terra: #c4622d;
  --terra-esc: #9d4a1d;
  --terra-clr: #f0d3bc;
  --vermelho: #ee1d24;
  --vermelho-esc: #c31419;
  --lima: #b6f35e;
  --lima-esc: #7cb52a;
  --lima-clr: #ecfbd2;
  --linha: rgba(36, 28, 21, 0.12);
  --linha-forte: rgba(36, 28, 21, 0.22);

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-full: 999px;

  --sombra-sm: 0 1px 2px rgba(36, 28, 21, 0.06), 0 2px 6px rgba(36, 28, 21, 0.05);
  --sombra-md: 0 2px 4px rgba(36, 28, 21, 0.05), 0 10px 26px -8px rgba(36, 28, 21, 0.16);
  --sombra-lg: 0 4px 8px rgba(36, 28, 21, 0.06), 0 26px 60px -18px rgba(36, 28, 21, 0.28);
  --sombra-alta: 0 40px 90px -30px rgba(36, 28, 21, 0.45);

  --fonte-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --fonte-texto: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --largura: 1240px;
  --largura-estreita: 780px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --transicao: 220ms cubic-bezier(0.32, 0.72, 0, 1);
}

/* 2. Base --------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--fonte-texto);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--fonte-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
  font-variation-settings: "SOFT" 30, "WONK" 1;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 1.5rem + 4.2vw, 4.55rem);
}
h2 {
  font-size: clamp(1.85rem, 1.3rem + 2.3vw, 3rem);
}
h3 {
  font-size: clamp(1.28rem, 1.12rem + 0.75vw, 1.68rem);
}
h4 {
  font-size: 1.09rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.05em;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--terra-esc);
  text-decoration-color: var(--terra-clr);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color var(--transicao);
}
a:hover {
  color: var(--vermelho);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ícone inline: acompanha o tamanho do texto onde estiver */
svg.i {
  width: 1.05em;
  height: 1.05em;
  vertical-align: -0.14em;
  flex: none;
}

ul,
ol {
  padding-left: 1.15em;
  margin: 0 0 1.1em;
}
li {
  margin-bottom: 0.5em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection {
  background: var(--lima);
  color: var(--tinta);
}

.pular {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--tinta);
  color: var(--papel);
  padding: 0.85rem 1.3rem;
  z-index: 200;
  border-radius: 0 0 var(--r-sm) 0;
}
.pular:focus {
  left: 0;
}

.oculto-visual {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.env {
  width: 100%;
  max-width: var(--largura);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.env-estreito {
  max-width: var(--largura-estreita);
}

.secao {
  padding-block: clamp(3.4rem, 7vw, 6.5rem);
  position: relative;
}
.secao-compacta {
  padding-block: clamp(2.4rem, 5vw, 4rem);
}

/* 3. Camadas de fundo --------------------------------------------------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.brilho {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.brilho-lima {
  background: radial-gradient(circle, rgba(182, 243, 94, 0.5), transparent 68%);
}
.brilho-terra {
  background: radial-gradient(circle, rgba(196, 98, 45, 0.28), transparent 70%);
}
.brilho-vermelho {
  background: radial-gradient(circle, rgba(238, 29, 36, 0.18), transparent 70%);
}

.faixa-papel {
  background: linear-gradient(180deg, var(--papel) 0%, var(--papel-2) 100%);
}
.faixa-escura {
  background: #201811;
  color: var(--papel);
}
.faixa-escura h2,
.faixa-escura h3 {
  color: var(--papel);
}
/* só os links de texto ficam lima: botão tem cor própria */
.faixa-escura a:not(.btn) {
  color: var(--lima);
  text-decoration-color: rgba(182, 243, 94, 0.4);
}
.faixa-escura .subtitulo,
.faixa-escura p {
  color: #cdbfae;
}
.faixa-escura strong {
  color: var(--papel);
}

/* 4. Cabeçalho ---------------------------------------------------------- */
.topo {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 247, 240, 0.82);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transicao), box-shadow var(--transicao);
}
.topo.rolou {
  border-bottom-color: var(--linha);
  box-shadow: 0 6px 24px -18px rgba(36, 28, 21, 0.5);
}
.topo-int {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 2vw, 1.6rem);
  min-height: 4.6rem;
}

.marca {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.marca img {
  height: 36px;
  width: auto;
}
.marca:hover {
  transform: translateY(-1px);
}
.marca {
  transition: transform var(--transicao);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}
.nav a {
  padding: 0.5rem 0.8rem;
  border-radius: var(--r-full);
  text-decoration: none;
  color: var(--tinta-2);
  font-size: 0.945rem;
  font-weight: 550;
  white-space: nowrap;
  transition: background var(--transicao), color var(--transicao);
}
.nav a:hover {
  background: var(--papel-3);
  color: var(--tinta);
}
.nav a[aria-current="page"] {
  color: var(--tinta);
  background: var(--lima-clr);
  box-shadow: inset 0 0 0 1px rgba(124, 181, 42, 0.35);
}

.btn-favoritos {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.5rem 0.85rem 0.5rem 0.7rem;
  border: 1px solid var(--linha);
  background: var(--branco);
  border-radius: var(--r-full);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--tinta);
  box-shadow: var(--sombra-sm);
  transition: transform var(--transicao), box-shadow var(--transicao);
}
.btn-favoritos:hover {
  transform: translateY(-1px);
  box-shadow: var(--sombra-md);
  color: var(--tinta);
}
.btn-favoritos svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--tinta-2);
  stroke-width: 1.9;
}
.btn-favoritos.tem svg {
  fill: var(--vermelho);
  stroke: var(--vermelho);
}
.btn-favoritos .conta {
  font-variant-numeric: tabular-nums;
  min-width: 1.05em;
  text-align: center;
}

.abre-menu {
  display: none;
  margin-left: auto;
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: var(--r-sm);
  width: 2.7rem;
  height: 2.7rem;
  cursor: pointer;
  position: relative;
}
.abre-menu span,
.abre-menu span::before,
.abre-menu span::after {
  position: absolute;
  left: 50%;
  width: 17px;
  height: 2px;
  background: var(--tinta);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform var(--transicao), opacity var(--transicao);
}
.abre-menu span {
  top: 50%;
  margin-top: -1px;
}
.abre-menu span::before,
.abre-menu span::after {
  content: "";
  left: 0;
  transform: none;
}
.abre-menu span::before {
  top: -6px;
}
.abre-menu span::after {
  top: 6px;
}
.abre-menu[aria-expanded="true"] span {
  background: transparent;
}
.abre-menu[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}
.abre-menu[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* 5. Rodapé ------------------------------------------------------------- */
.rodape {
  background: #1c150f;
  color: #cdbfae;
  padding-block: clamp(2.8rem, 6vw, 4.6rem) 2rem;
  position: relative;
  overflow: hidden;
}
.rodape::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 12% 0%, rgba(182, 243, 94, 0.09), transparent 60%),
    radial-gradient(90% 70% at 90% 20%, rgba(238, 29, 36, 0.09), transparent 60%);
  pointer-events: none;
}
.rodape-grade {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 4vw, 3.2rem);
}
.rodape h2 {
  color: #fff8ec;
  font-family: var(--fonte-texto);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
  opacity: 0.65;
}
.rodape img.logo-rodape {
  height: 27px;
  width: auto;
  margin-bottom: 1rem;
}
.rodape ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rodape li {
  margin-bottom: 0.55rem;
}
.rodape a {
  color: #ded1bf;
  text-decoration: none;
  font-size: 0.95rem;
}
.rodape a:hover {
  color: var(--lima);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rodape p {
  font-size: 0.94rem;
  color: #b0a291;
}
.rodape-base {
  position: relative;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 248, 236, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  justify-content: space-between;
  font-size: 0.87rem;
  color: #9c8e7d;
}

/* 6. Componentes -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.88rem 1.55rem;
  border: 0;
  border-radius: var(--r-full);
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: -0.008em;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: transform var(--transicao), box-shadow var(--transicao), background var(--transicao);
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.btn-primario {
  background: var(--vermelho);
  color: #fff;
  box-shadow: 0 2px 0 var(--vermelho-esc), 0 12px 30px -12px rgba(238, 29, 36, 0.7);
}
.btn-primario:hover {
  background: #f5343a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 3px 0 var(--vermelho-esc), 0 20px 40px -14px rgba(238, 29, 36, 0.75);
}
.btn-primario:active {
  transform: translateY(0);
  box-shadow: 0 1px 0 var(--vermelho-esc);
}
.btn-secundario {
  background: var(--branco);
  color: var(--tinta);
  box-shadow: inset 0 0 0 1.5px var(--linha-forte), var(--sombra-sm);
}
.btn-secundario:hover {
  color: var(--tinta);
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1.5px var(--tinta-3), var(--sombra-md);
}
.btn-lima {
  background: var(--lima);
  color: var(--tinta);
  box-shadow: 0 2px 0 var(--lima-esc), 0 12px 28px -14px rgba(124, 181, 42, 0.8);
}
.btn-lima:hover {
  background: #c4f77c;
  color: var(--tinta);
  transform: translateY(-2px);
}
.btn-fantasma {
  background: transparent;
  color: var(--tinta-2);
  box-shadow: inset 0 0 0 1px var(--linha);
}
.btn-fantasma:hover {
  background: var(--branco);
  color: var(--tinta);
}
.btn-pequeno {
  padding: 0.52rem 1rem;
  font-size: 0.9rem;
}

.olho {
  font-family: var(--fonte-texto);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terra);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.olho::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.faixa-escura .olho {
  color: var(--lima);
}

.subtitulo {
  font-size: clamp(1.03rem, 1rem + 0.3vw, 1.18rem);
  color: var(--tinta-2);
  max-width: 62ch;
}

.cabeca-secao {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
}
.cabeca-secao > div:first-child {
  max-width: 60ch;
}

/* etiquetas */
.etiq {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  padding: 0.24rem 0.62rem;
  border-radius: var(--r-full);
  font-size: 0.775rem;
  font-weight: 600;
  line-height: 1.5;
  background: var(--papel-2);
  color: var(--tinta-2);
  box-shadow: inset 0 0 0 1px var(--linha);
  white-space: nowrap;
}
.etiq svg {
  width: 13px;
  height: 13px;
  opacity: 0.75;
}
.etiq-d1 {
  background: var(--lima-clr);
  color: #4d7013;
  box-shadow: inset 0 0 0 1px rgba(124, 181, 42, 0.35);
}
.etiq-d2 {
  background: #fdefd8;
  color: #8a5a10;
  box-shadow: inset 0 0 0 1px rgba(190, 140, 40, 0.3);
}
.etiq-d3 {
  background: #fbe0d4;
  color: #a2431c;
  box-shadow: inset 0 0 0 1px rgba(196, 98, 45, 0.32);
}
.etiq-forte {
  background: var(--tinta);
  color: var(--papel);
  box-shadow: none;
}
.etiq-reciclado {
  background: var(--lima-clr);
  color: #46660f;
  box-shadow: inset 0 0 0 1px rgba(124, 181, 42, 0.3);
}

/* cartões */
.cartao {
  background: var(--branco);
  border-radius: var(--r-lg);
  box-shadow: var(--sombra-sm), inset 0 0 0 1px var(--linha);
  position: relative;
}

.painel {
  background: rgba(255, 253, 249, 0.75);
  backdrop-filter: blur(10px);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--linha), var(--sombra-md);
  padding: clamp(1.15rem, 3vw, 1.8rem);
}

/* chips de filtro */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.46rem 0.92rem;
  border-radius: var(--r-full);
  border: 0;
  background: var(--branco);
  box-shadow: inset 0 0 0 1px var(--linha);
  color: var(--tinta-2);
  font-size: 0.9rem;
  font-weight: 550;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transicao);
}
.chip:hover {
  color: var(--tinta);
  box-shadow: inset 0 0 0 1px var(--tinta-3);
  transform: translateY(-1px);
}
.chip[aria-pressed="true"],
.chip.ativo {
  background: var(--tinta);
  color: var(--papel);
  box-shadow: inset 0 0 0 1px var(--tinta), 0 6px 16px -8px rgba(36, 28, 21, 0.6);
}
.chip .n {
  font-size: 0.76rem;
  opacity: 0.6;
  font-variant-numeric: tabular-nums;
}

/* campo de busca */
.busca {
  position: relative;
  display: flex;
  align-items: center;
}
.busca svg {
  position: absolute;
  left: 1.05rem;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--tinta-3);
  stroke-width: 2;
  pointer-events: none;
}
.busca input {
  width: 100%;
  padding: 0.92rem 2.6rem 0.92rem 2.9rem;
  border-radius: var(--r-full);
  border: 0;
  background: var(--branco);
  box-shadow: inset 0 0 0 1.5px var(--linha), var(--sombra-sm);
  transition: box-shadow var(--transicao);
}
.busca input:focus {
  outline: 0;
  box-shadow: inset 0 0 0 2px var(--terra), var(--sombra-md);
}
.busca input::placeholder {
  color: var(--tinta-3);
}
.busca .limpa {
  position: absolute;
  right: 0.55rem;
  border: 0;
  background: var(--papel-3);
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  line-height: 1;
  color: var(--tinta-2);
}
.busca .limpa.mostra {
  display: flex;
}

/* controles de formulário */
.campo {
  display: block;
  margin-bottom: 1.2rem;
}
.campo:last-child {
  margin-bottom: 0;
}
.campo > .rot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--tinta-3);
  margin-bottom: 0.6rem;
}
.campo > .rot .valor {
  font-family: var(--fonte-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--terra-esc);
}

select.controle,
input[type="number"].controle {
  width: 100%;
  padding: 0.7rem 2.3rem 0.7rem 0.9rem;
  border-radius: var(--r-sm);
  border: 0;
  background: var(--branco);
  box-shadow: inset 0 0 0 1.5px var(--linha);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b4a3b' stroke-width='2.2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 17px;
  cursor: pointer;
  font-size: 0.96rem;
}
select.controle:focus {
  outline: 0;
  box-shadow: inset 0 0 0 2px var(--terra);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 26px;
  background: transparent;
  cursor: pointer;
  margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--lima) var(--pc, 50%), var(--papel-3) var(--pc, 50%));
  box-shadow: inset 0 0 0 1px var(--linha);
}
input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: var(--papel-3);
}
input[type="range"]::-moz-range-progress {
  height: 6px;
  border-radius: 3px;
  background: var(--lima);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--branco);
  box-shadow: 0 0 0 2px var(--tinta), var(--sombra-sm);
  transition: transform 120ms ease;
}
input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: var(--branco);
  box-shadow: 0 0 0 2px var(--tinta);
}
input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.12);
}

.opcoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.opcoes.coluna {
  flex-direction: column;
  gap: 0.15rem;
}
.opcao {
  position: relative;
  display: inline-flex;
}
.opcao input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.opcao span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.44rem 0.85rem;
  border-radius: var(--r-full);
  background: var(--branco);
  box-shadow: inset 0 0 0 1px var(--linha);
  font-size: 0.885rem;
  font-weight: 550;
  color: var(--tinta-2);
  transition: all var(--transicao);
}
.opcao input:hover + span {
  box-shadow: inset 0 0 0 1px var(--tinta-3);
  color: var(--tinta);
}
.opcao input:checked + span {
  background: var(--lima-clr);
  color: #3f5c0e;
  box-shadow: inset 0 0 0 1.5px var(--lima-esc);
}
.opcao input:focus-visible + span {
  outline: 3px solid var(--terra);
  outline-offset: 2px;
}
.opcao.marcavel span::before {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: var(--papel);
  box-shadow: inset 0 0 0 1.5px var(--linha-forte);
  flex-shrink: 0;
  transition: all var(--transicao);
}
.opcao.marcavel input:checked + span::before {
  background: var(--lima-esc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
  box-shadow: inset 0 0 0 1.5px var(--lima-esc);
}

/* interruptor */
.chave {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  padding: 0.4rem 0;
  font-size: 0.94rem;
  font-weight: 550;
  color: var(--tinta-2);
}
.chave input {
  position: absolute;
  opacity: 0;
}
.chave .trilho {
  width: 40px;
  height: 23px;
  border-radius: var(--r-full);
  background: var(--papel-3);
  box-shadow: inset 0 0 0 1px var(--linha);
  flex-shrink: 0;
  position: relative;
  transition: background var(--transicao);
}
.chave .trilho::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--branco);
  box-shadow: var(--sombra-sm);
  transition: transform var(--transicao);
}
.chave input:checked + .trilho {
  background: var(--lima-esc);
}
.chave input:checked + .trilho::after {
  transform: translateX(17px);
}
.chave input:focus-visible + .trilho {
  outline: 3px solid var(--terra);
  outline-offset: 2px;
}
.chave:hover {
  color: var(--tinta);
}

/* barra de pontuação */
.barra {
  height: 7px;
  border-radius: 4px;
  background: var(--papel-3);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--linha);
}
.barra > i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--lima-esc), var(--lima));
  transition: width 600ms cubic-bezier(0.32, 0.72, 0, 1);
}
.barra.terra > i {
  background: linear-gradient(90deg, var(--terra-esc), var(--terra));
}

/* botão favorito */
.favorito {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px var(--linha), var(--sombra-sm);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform var(--transicao), box-shadow var(--transicao);
  flex-shrink: 0;
}
.favorito svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--tinta-2);
  stroke-width: 1.9;
  transition: fill 160ms ease, stroke 160ms ease, transform 200ms ease;
}
.favorito:hover {
  transform: scale(1.08);
  box-shadow: inset 0 0 0 1px var(--tinta-3), var(--sombra-md);
}
.favorito[aria-pressed="true"] svg {
  fill: var(--vermelho);
  stroke: var(--vermelho);
}
.favorito.pulso svg {
  animation: pulso 420ms cubic-bezier(0.32, 0.72, 0, 1);
}
/* o mesmo coração dentro de um botão de texto */
.btn[data-fav] svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  transition: fill 160ms ease, stroke 160ms ease;
}
.btn[data-fav][aria-pressed="true"] {
  color: var(--vermelho);
  box-shadow: inset 0 0 0 1.5px var(--vermelho);
}
.btn[data-fav][aria-pressed="true"] svg {
  fill: var(--vermelho);
  stroke: var(--vermelho);
}
.btn[data-fav].pulso svg {
  animation: pulso 420ms cubic-bezier(0.32, 0.72, 0, 1);
}
@keyframes pulso {
  40% {
    transform: scale(1.35);
  }
}

/* aviso vazio */
.vazio {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  border-radius: var(--r-lg);
  background: var(--papel-2);
  box-shadow: inset 0 0 0 1px var(--linha);
}
.vazio h3 {
  margin-bottom: 0.5rem;
}
.vazio p {
  color: var(--tinta-2);
  max-width: 46ch;
  margin-inline: auto;
}

/* 7. Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(2.4rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
  background: linear-gradient(170deg, var(--papel) 0%, #f6eee1 55%, var(--papel-2) 100%);
}
.hero .brilho-lima {
  width: 62vw;
  height: 62vw;
  max-width: 760px;
  max-height: 760px;
  top: -26%;
  right: -14%;
  opacity: 0.55;
}
.hero .brilho-terra {
  width: 40vw;
  height: 40vw;
  max-width: 520px;
  max-height: 520px;
  bottom: -22%;
  left: -12%;
  opacity: 0.6;
}
.hero-grade {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 {
  margin-bottom: 1.1rem;
}
.hero h1 em {
  font-style: normal;
  position: relative;
  color: var(--vermelho);
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.15em;
  height: 0.3em;
  background: var(--lima);
  z-index: -1;
  border-radius: 3px;
  transform: rotate(-0.7deg);
}
.hero .subtitulo {
  font-size: clamp(1.06rem, 1rem + 0.42vw, 1.28rem);
  margin-bottom: 1.8rem;
}
.hero-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.hero-numeros {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(1.3rem, 3vw, 2.4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--linha);
}
.hero-numeros div {
  min-width: 5.5rem;
}
.hero-numeros b {
  display: block;
  font-family: var(--fonte-display);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-numeros span {
  font-size: 0.83rem;
  color: var(--tinta-3);
  font-weight: 550;
  letter-spacing: 0.01em;
}

.hero-arte {
  position: relative;
}
.hero-arte > img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--sombra-alta), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  transform: rotate(1.1deg);
}
.hero-arte::after {
  content: "";
  position: absolute;
  inset: -8% -6% -12% -8%;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 45%, rgba(196, 98, 45, 0.16), transparent 62%);
  z-index: -1;
}
.hero-selo {
  position: absolute;
  z-index: 3;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(10px);
  border-radius: var(--r-md);
  padding: 0.7rem 0.95rem;
  box-shadow: var(--sombra-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  animation: flutua 6s ease-in-out infinite;
}
.hero-selo b {
  font-family: var(--fonte-display);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero-selo span {
  font-size: 0.78rem;
  line-height: 1.25;
  color: var(--tinta-2);
  font-weight: 550;
  max-width: 9.6rem;
  display: block;
}
.disco-lima {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lima-clr);
  box-shadow: inset 0 0 0 1px rgba(124, 181, 42, 0.35);
  color: #558016;
}
.disco-lima svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}
.hero-selo-1 {
  left: -3%;
  top: 12%;
}
.hero-selo-2 {
  right: -4%;
  bottom: 10%;
  animation-delay: -3s;
}
.hero-selo .disco {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
@keyframes flutua {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-selo {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 1ms !important;
  }
}

/* 8. Home --------------------------------------------------------------- */
/* trilha de rankings */
.trilha {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  margin-bottom: 1.6rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  /* desbota a borda direita para avisar que a lista continua */
  mask-image: linear-gradient(to right, #000 calc(100% - 3.5rem), transparent);
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 3.5rem), transparent);
}
.trilha::-webkit-scrollbar {
  height: 5px;
}
.trilha::-webkit-scrollbar-thumb {
  background: var(--linha-forte);
  border-radius: 3px;
}
.trilha .chip {
  flex-shrink: 0;
}

/* lista de ranking */
.rank-lista {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: rk;
}
.rank {
  display: grid;
  grid-template-columns: 3.3rem 128px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem 1.15rem;
  padding: 0.75rem 1.1rem 0.75rem 0.55rem;
  background: var(--branco);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--linha), var(--sombra-sm);
  margin: 0;
  position: relative;
  transition: box-shadow var(--transicao), transform var(--transicao);
}
.rank:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px var(--linha-forte), var(--sombra-md);
}
.rank .pos {
  font-family: var(--fonte-display);
  font-size: clamp(1.9rem, 1.5rem + 1vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--tinta-3);
  font-variant-numeric: tabular-nums;
  transition: color var(--transicao);
}
.rank:nth-child(-n + 3) .pos {
  color: var(--terra);
  -webkit-text-stroke: 0;
}
.rank:nth-child(1) .pos {
  color: var(--vermelho);
}
.rank .foto {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--papel-2);
  box-shadow: inset 0 0 0 1px var(--linha);
}
.rank .foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.32, 0.72, 0, 1);
}
.rank:hover .foto img {
  transform: scale(1.06);
}
.rank .corpo {
  min-width: 0;
}
.rank .corpo h3 {
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.28rem);
  margin-bottom: 0.35rem;
}
.rank .corpo h3 a {
  color: inherit;
  text-decoration: none;
}
.rank .corpo h3 a:hover {
  color: var(--terra-esc);
}
.rank .corpo p {
  font-size: 0.925rem;
  color: var(--tinta-2);
  margin-bottom: 0.55rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rank .metas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
}
.rank .lado {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  min-width: 7.2rem;
}
.rank .nota {
  text-align: right;
  width: 100%;
}
.rank .nota b {
  font-family: var(--fonte-display);
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.rank .nota b i {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--tinta-3);
  font-family: var(--fonte-texto);
}
.rank .nota span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tinta-3);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.rank .nota .barra {
  margin-top: 0.35rem;
}
.rank .acoes-linha {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.abre-detalhe {
  border: 0;
  background: var(--papel-2);
  box-shadow: inset 0 0 0 1px var(--linha);
  border-radius: var(--r-full);
  padding: 0.42rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tinta-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transicao);
}
.abre-detalhe:hover {
  background: var(--tinta);
  color: var(--papel);
}
.abre-detalhe svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transicao);
}
.abre-detalhe[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.rank .detalhe {
  grid-column: 1 / -1;
  display: none;
  padding: 1rem 0.55rem 0.35rem;
  margin-top: 0.2rem;
  border-top: 1px dashed var(--linha-forte);
}
.rank.aberto .detalhe {
  display: block;
  animation: abre 260ms cubic-bezier(0.32, 0.72, 0, 1);
}
@keyframes abre {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
.detalhe-grade {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem 1.6rem;
}
.detalhe-grade h4 {
  font-family: var(--fonte-texto);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tinta-3);
  margin-bottom: 0.45rem;
}
.detalhe-grade ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--tinta-2);
}
.detalhe-grade li {
  margin-bottom: 0.28rem;
  padding-left: 0.95rem;
  position: relative;
}
.detalhe-grade li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lima-esc);
}

/* cartões de projeto */
.cartoes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: clamp(1rem, 2.2vw, 1.5rem);
  list-style: none;
  padding: 0;
  margin: 0;
}
.pcard {
  display: flex;
  flex-direction: column;
  background: var(--branco);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--linha), var(--sombra-sm);
  transition: transform var(--transicao), box-shadow var(--transicao);
  margin: 0;
  position: relative;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px var(--linha-forte), var(--sombra-lg);
}
.pcard .foto {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--papel-2);
  position: relative;
}
.pcard .foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.32, 0.72, 0, 1);
}
.pcard:hover .foto img {
  transform: scale(1.07);
}
.pcard .favorito {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 3;
}
.pcard .cat {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
}
.pcard .corpo {
  padding: 1rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.pcard h3 {
  font-size: 1.13rem;
  margin: 0;
}
.pcard h3 a {
  color: inherit;
  text-decoration: none;
}
.pcard h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.pcard h3 a:hover {
  color: var(--terra-esc);
}
.pcard p {
  font-size: 0.91rem;
  color: var(--tinta-2);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard .metas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  margin-top: auto;
  padding-top: 0.3rem;
}

/* categorias */
.cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: clamp(1rem, 2.2vw, 1.4rem);
  list-style: none;
  padding: 0;
  margin: 0;
}
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.1rem 1.2rem 1.3rem;
  background: var(--branco);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--linha), var(--sombra-sm);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform var(--transicao), box-shadow var(--transicao);
  margin: 0;
}
.cat-card::after {
  content: "";
  position: absolute;
  right: -30%;
  top: -30%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 243, 94, 0.25), transparent 70%);
  transition: transform 500ms cubic-bezier(0.32, 0.72, 0, 1);
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px var(--linha-forte), var(--sombra-lg);
  color: inherit;
}
.cat-card:hover::after {
  transform: scale(1.35);
}
.cat-card img {
  width: 74px;
  height: 74px;
  border-radius: var(--r-md);
  object-fit: cover;
  box-shadow: var(--sombra-sm), inset 0 0 0 1px var(--linha);
  position: relative;
}
.cat-card h3 {
  font-size: 1.2rem;
  margin: 0;
  position: relative;
}
.cat-card p {
  font-size: 0.9rem;
  color: var(--tinta-2);
  margin: 0;
  position: relative;
}
.cat-card .qtd {
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terra);
  position: relative;
}

/* blocos de destaque */
/* composição aberta, sem caixas: numeral vazado, filete e texto */
.destaques {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: clamp(1.7rem, 3.2vw, 2.8rem) clamp(1.4rem, 3vw, 2.6rem);
}
.destaque {
  position: relative;
}
.destaque .num {
  display: block;
  font-family: var(--fonte-display);
  font-size: clamp(2.5rem, 1.9rem + 1.7vw, 3.4rem);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.6px var(--lima-esc);
  margin-bottom: 0.9rem;
}
.destaque :is(h2, h3) {
  font-size: 1.14rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--linha-forte);
  margin-bottom: 0.45rem;
}
.destaque p {
  font-size: 0.945rem;
  color: var(--tinta-2);
  margin: 0;
}
/* alterna a altura de partida para a linha não ficar tabelada */
@media (min-width: 940px) {
  .destaque:nth-child(even) {
    margin-top: 1.9rem;
  }
}
.faixa-escura .destaque .num {
  -webkit-text-stroke-color: var(--lima);
}
.faixa-escura .destaque h3 {
  border-top-color: rgba(255, 253, 249, 0.2);
}
.faixa-escura .destaque p {
  color: #cdbfae;
}

/* faixa de convite para a ferramenta */
.convite {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(1.8rem, 5vw, 3.4rem);
  background: linear-gradient(135deg, #221a13 0%, #33271b 100%);
  color: var(--papel);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.convite::before {
  content: "";
  position: absolute;
  width: 55%;
  aspect-ratio: 1;
  right: -12%;
  top: -35%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 243, 94, 0.3), transparent 65%);
}
.convite::after {
  content: "";
  position: absolute;
  width: 40%;
  aspect-ratio: 1;
  left: -10%;
  bottom: -45%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 29, 36, 0.28), transparent 65%);
}
.convite > * {
  position: relative;
  z-index: 2;
}
.convite h2 {
  color: var(--papel);
}
.convite p {
  color: #d3c6b5;
}
.convite-visual {
  display: grid;
  gap: 0.6rem;
}
.convite-linha {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 0.95rem;
  border-radius: var(--r-md);
  background: rgba(255, 253, 249, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 253, 249, 0.13);
  font-size: 0.92rem;
  color: #e3d8c8;
}
.convite-linha .disco {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.convite-linha b {
  color: var(--lima);
  font-weight: 650;
}

/* faixa de ambientes */
.ambientes-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.ambientes-lista a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--r-full);
  background: var(--branco);
  box-shadow: inset 0 0 0 1px var(--linha), var(--sombra-sm);
  text-decoration: none;
  color: var(--tinta);
  font-weight: 550;
  transition: all var(--transicao);
}
.ambientes-lista a:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px var(--tinta-3), var(--sombra-md);
  color: var(--tinta);
}
.ambientes-lista span {
  font-size: 0.8rem;
  color: var(--tinta-3);
  font-variant-numeric: tabular-nums;
}
.ambientes-lista li {
  margin: 0;
}

/* metodologia */
.metodo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: center;
}
.metodo-pesos {
  display: grid;
  gap: 0.9rem;
}
.metodo-peso {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3.2rem;
  gap: 0.4rem 1rem;
  align-items: center;
}
.metodo-peso strong {
  font-size: 0.97rem;
  font-weight: 600;
}
.metodo-peso .pct {
  font-family: var(--fonte-display);
  font-weight: 800;
  text-align: right;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}
.metodo-peso .barra {
  grid-column: 1 / -1;
}
.metodo-peso small {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--tinta-3);
}

/* 9. Explorador --------------------------------------------------------- */
.explorador {
  display: grid;
  grid-template-columns: 305px minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: start;
}
.filtros {
  position: sticky;
  top: 5.7rem;
  max-height: calc(100vh - 7.2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.25rem 1.3rem 1.5rem;
  background: var(--branco);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--linha), var(--sombra-md);
  scrollbar-width: thin;
}
.filtros::-webkit-scrollbar {
  width: 6px;
}
.filtros::-webkit-scrollbar-thumb {
  background: var(--linha-forte);
  border-radius: 3px;
}
.filtros-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--linha);
}
.filtros-topo h2 {
  font-size: 1.15rem;
  margin: 0;
}
.limpa-tudo {
  border: 0;
  background: transparent;
  color: var(--terra-esc);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.2rem;
}
.limpa-tudo:hover {
  color: var(--vermelho);
}
.grupo {
  padding-block: 1rem;
  border-bottom: 1px solid var(--linha);
}
.grupo:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}
.grupo > h3 {
  font-family: var(--fonte-texto);
  font-size: 0.745rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--tinta-3);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.grupo > h3 .conta-sel {
  color: var(--lima-esc);
  letter-spacing: 0;
}
.rolagem-mats {
  max-height: 13.5rem;
  overflow-y: auto;
  padding-right: 0.3rem;
  scrollbar-width: thin;
}
.rolagem-mats::-webkit-scrollbar {
  width: 5px;
}
.rolagem-mats::-webkit-scrollbar-thumb {
  background: var(--linha-forte);
  border-radius: 3px;
}

.resultados-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.resultados-topo .conta-res {
  font-size: 0.95rem;
  color: var(--tinta-2);
}
.resultados-topo .conta-res b {
  font-family: var(--fonte-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--tinta);
  letter-spacing: -0.02em;
  margin-right: 0.15rem;
}
.ordenar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--tinta-3);
  font-weight: 600;
}
.ordenar select.controle {
  width: auto;
  min-width: 13.5rem;
  padding-block: 0.52rem;
  font-size: 0.9rem;
}
.aplicados {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.aplicados:empty {
  display: none;
}
.tag-aplicada {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.4rem 0.32rem 0.75rem;
  border-radius: var(--r-full);
  background: var(--lima-clr);
  box-shadow: inset 0 0 0 1px rgba(124, 181, 42, 0.4);
  font-size: 0.83rem;
  font-weight: 600;
  color: #3f5c0e;
}
.tag-aplicada button {
  border: 0;
  background: rgba(63, 92, 14, 0.14);
  color: #3f5c0e;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  line-height: 1;
  padding: 0;
}
.tag-aplicada button:hover {
  background: #3f5c0e;
  color: var(--lima-clr);
}

.barra-filtros-movel {
  display: none;
}

.ranking-cabeca {
  padding: clamp(1.2rem, 3vw, 1.9rem) clamp(1.2rem, 3vw, 2rem);
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, var(--papel-2), var(--branco));
  box-shadow: inset 0 0 0 1px var(--linha);
  margin-bottom: 1.4rem;
}
.ranking-cabeca h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.15rem);
  margin-bottom: 0.4rem;
}
.ranking-cabeca p {
  color: var(--tinta-2);
  max-width: 68ch;
  margin: 0;
  font-size: 0.98rem;
}

/* 10. Ferramenta -------------------------------------------------------- */
.ferramenta-grade {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: start;
}
.ferramenta-controles {
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: var(--branco);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--linha), var(--sombra-md);
}
.ferramenta-saida {
  position: sticky;
  top: 5.7rem;
}
.placar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: var(--r-md);
  background: var(--tinta);
  color: var(--papel);
  margin-bottom: 1rem;
  box-shadow: var(--sombra-md);
}
.placar b {
  font-family: var(--fonte-display);
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lima);
}
.placar span {
  font-size: 0.92rem;
  color: #c9bbaa;
  line-height: 1.35;
}
.combina {
  display: grid;
  gap: 0.7rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.combina li {
  margin: 0;
}
.combina-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.65rem 0.9rem 0.65rem 0.6rem;
  background: var(--branco);
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--linha), var(--sombra-sm);
  transition: transform var(--transicao), box-shadow var(--transicao);
}
.combina-item:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px var(--linha-forte), var(--sombra-md);
}
.combina-item .foto {
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--papel-2);
}
.combina-item .foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.combina-item h3 {
  font-size: 1.03rem;
  margin: 0 0 0.25rem;
}
.combina-item h3 a {
  color: inherit;
  text-decoration: none;
}
.combina-item h3 a:hover {
  color: var(--terra-esc);
}
.combina-item .porque {
  font-size: 0.855rem;
  color: var(--tinta-2);
  margin: 0;
}
.combina-item .aderencia {
  text-align: right;
  min-width: 4.2rem;
}
.combina-item .aderencia b {
  font-family: var(--fonte-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: block;
  line-height: 1;
}
.combina-item .aderencia small {
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--tinta-3);
  font-weight: 700;
}
.combina-item.alta {
  box-shadow: inset 0 0 0 1.5px var(--lima-esc), var(--sombra-sm);
}
.combina-item.alta .aderencia b {
  color: var(--lima-esc);
}

/* 11. Página de projeto ------------------------------------------------- */
.migalhas {
  font-size: 0.85rem;
  color: var(--tinta-3);
  margin-bottom: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.5rem;
  align-items: center;
  list-style: none;
  padding: 0;
}
.migalhas li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.migalhas li + li::before {
  content: "›";
  color: var(--tinta-3);
  opacity: 0.7;
}
.migalhas a {
  color: var(--tinta-2);
  text-decoration: none;
}
.migalhas a:hover {
  color: var(--terra-esc);
  text-decoration: underline;
}

.projeto-topo {
  position: relative;
  overflow: hidden;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(2rem, 5vw, 3.2rem);
  background: linear-gradient(170deg, var(--papel) 0%, #f6eee1 70%, var(--papel-2) 100%);
}
.projeto-topo .brilho-lima {
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  top: -30%;
  right: -10%;
  opacity: 0.5;
}
.projeto-topo-grade {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.projeto-topo h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.35rem);
  margin-bottom: 0.85rem;
}
.projeto-topo .resumo {
  font-size: clamp(1.03rem, 1rem + 0.35vw, 1.2rem);
  color: var(--tinta-2);
  margin-bottom: 1.4rem;
  max-width: 56ch;
}
.projeto-topo .metas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.projeto-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.projeto-arte {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sombra-alta), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  transform: rotate(-1deg);
}

.fichas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.ficha {
  padding: 1rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--branco);
  box-shadow: inset 0 0 0 1px var(--linha), var(--sombra-sm);
}
.ficha .rot {
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tinta-3);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}
.ficha .rot svg {
  width: 14px;
  height: 14px;
  stroke: var(--terra);
  fill: none;
  stroke-width: 2;
}
.ficha b {
  font-family: var(--fonte-display);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  display: block;
}
.ficha small {
  font-size: 0.82rem;
  color: var(--tinta-3);
  display: block;
  margin-top: 0.15rem;
}

.projeto-grade {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
.projeto-lado {
  position: sticky;
  top: 5.7rem;
  display: grid;
  gap: 1rem;
}
.bloco {
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
  border-radius: var(--r-lg);
  background: var(--branco);
  box-shadow: inset 0 0 0 1px var(--linha), var(--sombra-sm);
}
.bloco > h2,
.bloco > h3 {
  font-size: 1.16rem;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}
.bloco-lima {
  background: linear-gradient(150deg, var(--lima-clr), var(--branco));
  box-shadow: inset 0 0 0 1px rgba(124, 181, 42, 0.3);
}
.bloco-terra {
  background: linear-gradient(150deg, #fbe9dc, var(--branco));
  box-shadow: inset 0 0 0 1px rgba(196, 98, 45, 0.22);
}

.progresso {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--tinta-2);
  margin-bottom: 0.9rem;
}
.progresso .barra {
  flex: 1;
}
.progresso .pc {
  font-variant-numeric: tabular-nums;
  color: var(--lima-esc);
}

.lista-check {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.1rem;
}
.lista-check li {
  margin: 0;
}
.item-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.5rem 0.15rem;
  cursor: pointer;
  border-radius: var(--r-xs);
  font-size: 0.945rem;
  line-height: 1.5;
  transition: background var(--transicao);
}
.item-check:hover {
  background: rgba(36, 28, 21, 0.035);
}
.item-check input {
  position: absolute;
  opacity: 0;
}
.item-check .caixa {
  width: 19px;
  height: 19px;
  border-radius: 5px;
  background: var(--papel);
  box-shadow: inset 0 0 0 1.6px var(--linha-forte);
  flex-shrink: 0;
  margin-top: 0.16rem;
  transition: all var(--transicao);
}
.item-check input:checked + .caixa {
  background: var(--lima-esc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
  box-shadow: inset 0 0 0 1.6px var(--lima-esc);
}
.item-check input:focus-visible + .caixa {
  outline: 3px solid var(--terra);
  outline-offset: 2px;
}
.item-check input:checked ~ .txt {
  color: var(--tinta-3);
  text-decoration: line-through;
  text-decoration-color: var(--linha-forte);
}

/* passos */
.passos {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: passo;
  display: grid;
  gap: 0.85rem;
}
.passo {
  counter-increment: passo;
  position: relative;
  padding: clamp(1.1rem, 2.5vw, 1.5rem) clamp(1.1rem, 2.5vw, 1.6rem) clamp(1.1rem, 2.5vw, 1.5rem)
    clamp(3.6rem, 6vw, 4.6rem);
  background: var(--branco);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--linha), var(--sombra-sm);
  margin: 0;
  transition: box-shadow var(--transicao), background var(--transicao);
}
.passo::before {
  content: counter(passo);
  position: absolute;
  left: clamp(0.9rem, 2vw, 1.3rem);
  top: clamp(1rem, 2.4vw, 1.35rem);
  font-family: var(--fonte-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--terra);
  font-variant-numeric: tabular-nums;
}
.passo h3 {
  font-size: 1.13rem;
  margin-bottom: 0.4rem;
  padding-right: 2.2rem;
}
.passo p {
  color: var(--tinta-2);
  margin: 0;
  font-size: 0.985rem;
}
.passo .marca-passo {
  position: absolute;
  right: clamp(0.8rem, 2vw, 1.2rem);
  top: clamp(0.9rem, 2.2vw, 1.25rem);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 0;
  background: var(--papel-2);
  box-shadow: inset 0 0 0 1px var(--linha);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all var(--transicao);
}
.passo .marca-passo svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--tinta-3);
  stroke-width: 3;
  stroke-linecap: round;
}
.passo .marca-passo:hover {
  box-shadow: inset 0 0 0 1px var(--lima-esc);
}
.passo.feito {
  background: var(--lima-clr);
  box-shadow: inset 0 0 0 1px rgba(124, 181, 42, 0.35);
}
.passo.feito::before {
  color: var(--lima-esc);
}
.passo.feito .marca-passo {
  background: var(--lima-esc);
  box-shadow: none;
}
.passo.feito .marca-passo svg {
  stroke: #fff;
}
.passo.feito h3 {
  color: #3f5c0e;
}

/* listas de conteúdo */
.lista-marcada {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}
.lista-marcada li {
  position: relative;
  padding-left: 1.85rem;
  margin: 0;
  color: var(--tinta-2);
}
.lista-marcada li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--lima-clr) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237cb52a' stroke-width='3.6' stroke-linecap='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 0.72rem no-repeat;
}
.lista-marcada.cuidado li::before {
  background: #fbe0d4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4622d' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 8v5M12 16.5v.5'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}
/* ferramentas: marca neutra, porque o check aqui daria ideia de item concluído */
.lista-marcada.ferr li::before {
  background: var(--papel-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23776654' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 6.5a3.5 3.5 0 104.9 3.2l-2.1 2.1 3.1 3.1-4.2 4.2-3.1-3.1-5 5-2.8-2.8 5-5-3.1-3.1 4.2-4.2 3.1 3.1z'/%3E%3C/svg%3E") center / 0.72rem no-repeat;
}
.lista-marcada.erro li::before {
  background: #fbdcdd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ee1d24' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
}

/* índice iniciante */
.indice-caixa {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}
.indice-nota {
  font-family: var(--fonte-display);
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--terra-esc);
}
.indice-nota i {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--tinta-3);
  font-family: var(--fonte-texto);
  font-weight: 600;
}
.criterios {
  display: grid;
  gap: 0.7rem;
}
.criterio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.6rem;
  gap: 0.25rem 0.7rem;
  align-items: center;
  font-size: 0.9rem;
}
.criterio b {
  font-weight: 600;
  color: var(--tinta-2);
}
.criterio .v {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--tinta);
  font-size: 0.86rem;
}
.criterio .barra {
  grid-column: 1 / -1;
  height: 5px;
}

/* perguntas */
.faq {
  display: grid;
  gap: 0.6rem;
}
.faq details {
  background: var(--branco);
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--linha), var(--sombra-sm);
  overflow: hidden;
}
.faq summary {
  padding: 1rem 3rem 1rem 1.2rem;
  cursor: pointer;
  font-weight: 620;
  font-size: 1.02rem;
  position: relative;
  list-style: none;
  transition: background var(--transicao);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  width: 15px;
  height: 15px;
  margin-top: -7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4622d' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--transicao);
}
.faq details[open] summary::after {
  transform: rotate(135deg);
}
.faq summary:hover {
  background: var(--papel-2);
}
.faq .resposta {
  padding: 0 1.2rem 1.2rem;
  color: var(--tinta-2);
  font-size: 0.975rem;
}

/* aviso de segurança */
.aviso {
  display: flex;
  gap: 0.9rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--r-md);
  background: #fdf1e6;
  box-shadow: inset 0 0 0 1px rgba(196, 98, 45, 0.26);
  font-size: 0.945rem;
  color: #7a4318;
}
.aviso svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  stroke: var(--terra);
  fill: none;
  stroke-width: 2;
  margin-top: 0.1rem;
}
.aviso strong {
  color: #66370f;
}

/* 12. Páginas de texto -------------------------------------------------- */
.texto {
  font-size: 1.055rem;
}
.texto h2 {
  font-size: clamp(1.55rem, 1.3rem + 1.1vw, 2.05rem);
  margin-top: 2.4rem;
}
.texto h3 {
  margin-top: 1.9rem;
  font-size: 1.28rem;
}
.texto h2:first-child,
.texto h3:first-child {
  margin-top: 0;
}
.texto ul,
.texto ol {
  color: var(--tinta-2);
}
.texto li {
  margin-bottom: 0.6rem;
}
.texto strong {
  color: var(--tinta);
}
.texto .destacado {
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border-radius: var(--r-md);
  background: var(--papel-2);
  box-shadow: inset 0 0 0 1px var(--linha);
  margin-block: 1.8rem;
}
.texto .destacado p:last-child {
  margin-bottom: 0;
}
.texto dl {
  margin: 1.5rem 0;
}
.texto dt {
  font-weight: 700;
  margin-top: 1.1rem;
}
.texto dd {
  margin: 0.2rem 0 0;
  color: var(--tinta-2);
}
.sumario {
  padding: 1.15rem 1.4rem;
  border-radius: var(--r-md);
  background: var(--branco);
  box-shadow: inset 0 0 0 1px var(--linha);
  margin-bottom: 2.2rem;
}
.sumario h2 {
  font-size: 0.76rem !important;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-family: var(--fonte-texto);
  color: var(--tinta-3);
  margin: 0 0 0.7rem !important;
}
.sumario ol {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.95rem;
}
.sumario li {
  margin-bottom: 0.35rem;
}

.pagina-cabeca {
  padding-top: clamp(2rem, 4vw, 3.2rem);
  padding-bottom: clamp(1.6rem, 3.5vw, 2.6rem);
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, var(--papel), var(--papel-2));
}
.pagina-cabeca .brilho-lima {
  width: 40vw;
  height: 40vw;
  max-width: 480px;
  max-height: 480px;
  top: -40%;
  right: -8%;
  opacity: 0.45;
}
.pagina-cabeca > .env {
  position: relative;
  z-index: 2;
}
.pagina-cabeca h1 {
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3.1rem);
  margin-bottom: 0.7rem;
}

/* utilidades pontuais */
.mt-pequeno {
  margin: 0.7rem 0 0;
}
.mt {
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
}
.centro {
  text-align: center;
}
.centro .subtitulo,
.centro .olho {
  margin-inline: auto;
}
.centro .olho::before {
  display: none;
}
.grade-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.8rem);
}
.pilha {
  display: grid;
  gap: 1rem;
}
.linha-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}
.disco {
  border-radius: 50%;
}
.nota-rodape {
  font-size: 0.87rem;
  color: var(--tinta-3);
}

/* 13. Responsivo -------------------------------------------------------- */
@media (max-width: 1080px) {
  .explorador {
    grid-template-columns: 270px minmax(0, 1fr);
  }
  .projeto-grade {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
  .rank {
    grid-template-columns: 2.8rem 106px minmax(0, 1fr) auto;
  }
}

@media (max-width: 920px) {
  .nav,
  .btn-favoritos .rot-fav {
    display: none;
  }
  .abre-menu {
    display: block;
    order: 3;
  }
  .btn-favoritos {
    margin-left: auto;
    order: 2;
  }
  .nav.aberto {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.8rem var(--gutter) 1.2rem;
    background: var(--papel);
    border-bottom: 1px solid var(--linha);
    box-shadow: var(--sombra-lg);
    margin: 0;
  }
  .nav.aberto a {
    padding: 0.8rem 1rem;
    font-size: 1.02rem;
    border-radius: var(--r-sm);
  }
  .hero-grade,
  .projeto-topo-grade,
  .metodo,
  .convite,
  .ferramenta-grade {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-arte {
    order: -1;
    max-width: 560px;
    margin-inline: auto;
  }
  .hero-selo-1 {
    left: 0;
  }
  .hero-selo-2 {
    right: 0;
  }
  .projeto-grade {
    grid-template-columns: minmax(0, 1fr);
  }
  .projeto-lado,
  .ferramenta-saida,
  .filtros {
    position: static;
    max-height: none;
  }
  .projeto-arte {
    max-width: 620px;
    margin-inline: auto;
  }

  /* filtros como painel deslizante */
  .explorador {
    grid-template-columns: minmax(0, 1fr);
  }
  .barra-filtros-movel {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    margin-bottom: 1rem;
  }
  .barra-filtros-movel .btn {
    flex: 1;
  }
  .caixa-filtros {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 120;
    max-height: 86vh;
    transform: translateY(101%);
    transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1);
    background: var(--papel);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    box-shadow: 0 -20px 60px -20px rgba(36, 28, 21, 0.5);
    display: flex;
    flex-direction: column;
    padding-top: 0.6rem;
  }
  .caixa-filtros.aberta {
    transform: translateY(0);
  }
  .caixa-filtros .puxador {
    width: 44px;
    height: 4px;
    border-radius: 2px;
    background: var(--linha-forte);
    margin: 0.3rem auto 0.5rem;
    flex-shrink: 0;
  }
  .caixa-filtros .filtros {
    box-shadow: none;
    background: transparent;
    overflow-y: auto;
    max-height: none;
    flex: 1;
    padding-bottom: 5.5rem;
  }
  .caixa-filtros .fecha-filtros {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.9rem var(--gutter) 1.1rem;
    background: linear-gradient(to top, var(--papel) 60%, transparent);
    display: block;
  }
  .caixa-filtros .fecha-filtros .btn {
    width: 100%;
  }
  .veu {
    position: fixed;
    inset: 0;
    background: rgba(36, 28, 21, 0.45);
    backdrop-filter: blur(2px);
    z-index: 110;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transicao);
  }
  .veu.ativo {
    opacity: 1;
    pointer-events: auto;
  }
  .rodape-grade {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.fecha-filtros {
  display: none;
}

@media (max-width: 620px) {
  .rank {
    grid-template-columns: 2.2rem 66px minmax(0, 1fr);
    padding: 0.8rem 0.85rem 0.8rem 0.4rem;
    gap: 0.6rem 0.7rem;
  }
  .rank .foto {
    align-self: start;
  }
  .rank .pos {
    align-self: start;
    font-size: 1.6rem;
    padding-top: 0.15rem;
    /* nesse tamanho o contorno vazado fica ilegível */
    -webkit-text-stroke: 0;
    color: var(--tinta-3);
  }
  .rank .lado {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    width: 100%;
    padding-top: 0.2rem;
  }
  .rank .nota {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    width: auto;
    text-align: left;
  }
  .rank .nota span {
    margin: 0;
  }
  .rank .nota .barra {
    display: none;
  }
  .combina-item {
    grid-template-columns: 70px minmax(0, 1fr) auto;
  }
  .hero-numeros {
    gap: 1rem 1.6rem;
  }
  .fichas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rodape-grade {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }
  .cartoes {
    grid-template-columns: minmax(0, 1fr);
  }
  .passo {
    padding-left: 1.1rem;
    padding-top: 2.6rem;
  }
  .passo::before {
    top: 0.9rem;
    left: 1.15rem;
  }
  .passo h3 {
    padding-right: 2.6rem;
  }
}

/* 14. Impressão --------------------------------------------------------- */
@media print {
  .topo,
  .rodape,
  .projeto-lado,
  .favorito,
  .projeto-acoes,
  .similares,
  .barra-filtros-movel,
  .filtros,
  body::before,
  .brilho {
    display: none !important;
  }
  body {
    background: #fff;
    font-size: 11pt;
  }
  .projeto-grade {
    grid-template-columns: 1fr;
  }
  .passo,
  .bloco,
  .ficha,
  .faq details {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
  .projeto-arte {
    max-width: 11cm;
    box-shadow: none;
    transform: none;
  }
  .faq .resposta {
    display: block !important;
  }
  a {
    color: #000;
    text-decoration: none;
  }
}
