/* 3DJob — site de divulgação.
   Conceito: cartaz de oferta e letreiro de oficina. Parede amarela, tinta anil, preço em vermelho com
   os centavos pequenos e sublinhados, como o cartazista escreve. A calculadora é a etiqueta de preço
   pendurada na peça. Cores chapadas, sem degradê e sem sombra. */

@font-face {
  font-family: "Bungee";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/bungee-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
}

:root {
  color-scheme: light dark;

  /* A marca */
  --amarelo: #f6bd16;
  --anil: #1a2c78;
  --vermelho: #d5342b;
  --creme: #fffbea;

  /* Papéis de cada cor na página (tema claro) */
  --parede: var(--amarelo);
  --letreiro: var(--anil);
  --na-parede: var(--anil);
  --papel: var(--creme);
  --tinta: var(--anil);
  --tinta-2: #3f4e8e;
  --quadro: var(--anil);
  --no-quadro: var(--creme);
  --no-quadro-2: #ccd3f0;
  --destaque: var(--vermelho);
  --botao: var(--anil);
  --no-botao: var(--creme);
  --foco: var(--vermelho);
  --rodape: var(--anil);

  --logo-etiqueta: var(--anil);
  --logo-tinta: var(--amarelo);
  --logo-ilhos: transparent;

  --letra-letreiro: "Bungee", "Arial Black", "Archivo", sans-serif;
  --letra-texto: "Archivo", "Segoe UI", system-ui, sans-serif;
  --margem: clamp(18px, 4vw, 40px);
}

/* Oficina à noite: a parede escurece e o letreiro acende em amarelo.
   A etiqueta de preço e os cartazes continuam de papel. */
@media (prefers-color-scheme: dark) {
  :root {
    --parede: #101a4d;
    --letreiro: var(--amarelo);
    --na-parede: #f1ead0;
    --papel: #0b1238;
    --tinta: #f1ead0;
    --tinta-2: #b7bede;
    --quadro: #16246a;
    --destaque: #ff7b6c;
    --botao: var(--amarelo);
    --no-botao: var(--anil);
    --foco: var(--amarelo);
    --rodape: #070c26;

    --logo-etiqueta: var(--amarelo);
    --logo-tinta: var(--anil);
    --logo-ilhos: var(--vermelho);
  }
}

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

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

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--letra-texto);
  font-size: 1.0625rem;
  line-height: 1.55;
}

::selection { background: var(--amarelo); color: var(--anil); }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--foco);
  outline-offset: 3px;
}

[id] { scroll-margin-top: 24px; }

.so-leitor {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.pular {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 10;
  padding: 12px 16px;
  background: var(--anil);
  color: var(--creme);
  font-weight: 700;
}
.pular:focus { top: 12px; }

.miolo {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--margem);
}
.miolo--estreito { max-width: 860px; }

/* ------------------------------------------------------------ peças comuns */

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  background: var(--botao);
  color: var(--no-botao);
  font-family: var(--letra-letreiro);
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  transition: background-color 0.16s ease-out, color 0.16s ease-out;
}
.botao:hover { background: var(--vermelho); color: #fff; }
.botao:active { transform: translateY(1px); }
.botao--pequeno { min-height: 44px; padding: 8px 16px; font-size: 0.82rem; }
button.botao { border: 0; cursor: pointer; }
button.botao:disabled { background: var(--apagado, #3f4e8e); color: var(--creme); opacity: 0.45; cursor: not-allowed; }
button.elo { padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }

.elo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  transition: text-decoration-color 0.16s ease-out;
}
.elo:hover { text-decoration-color: var(--destaque); }
.elo--claro:hover { text-decoration-color: var(--amarelo); }

.titulo {
  max-width: 22ch;
  margin: 0 0 18px;
  font-family: var(--letra-letreiro);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.7vw, 3rem);
  line-height: 1.04;
  text-wrap: balance;
}

.abre {
  max-width: 60ch;
  margin: 0 0 clamp(32px, 5vw, 56px);
  color: var(--tinta-2);
  font-size: 1.16rem;
}

/* Preço de cartaz: número grande, centavos pequenos no alto e sublinhados. */
.preco {
  font-family: var(--letra-letreiro);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}
.preco b { font-weight: 400; }
.preco__rs {
  font-size: max(0.34em, 0.72rem);
  vertical-align: top;
  position: relative;
  top: 0.35em;
  margin-right: 0.18em;
}
.preco sup {
  font-size: 0.44em;
  vertical-align: top;
  position: relative;
  top: 0.14em;
  margin-left: 0.04em;
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.16em;
}

/* ------------------------------------------------------------ parede: topo e fachada */

.parede {
  position: relative;
  z-index: 1;
  background: var(--parede);
  color: var(--na-parede);
}

.topo {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1240px;
  margin-inline: auto;
  padding: 18px var(--margem);
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: inherit;
  text-decoration: none;
}
.marca__etiqueta { width: 46px; height: 46px; flex: none; }
.marca__nome { width: 98px; height: 22px; flex: none; }

.topo__nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.topo__nav a,
.topo__entrar {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
}
.topo__nav a:hover,
.topo__entrar:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
.topo__acoes {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 12px;
}

.fachada {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 430px);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  max-width: 1240px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 64px) var(--margem) 0;
}

.letreiro {
  margin: 0;
  color: var(--letreiro);
  font-family: var(--letra-letreiro);
  font-weight: 400;
  font-size: clamp(2.45rem, 6.5vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.fachada__sub {
  max-width: 50ch;
  margin: clamp(20px, 3vw, 32px) 0;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  font-weight: 500;
  line-height: 1.5;
}

.fachada__acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding-bottom: clamp(40px, 6vw, 88px);
}

/* ------------------------------------------------------------ a etiqueta pendurada (calculadora) */

.pendurada {
  position: relative;
  z-index: 2;
  margin-top: 46px;
  margin-bottom: -84px;
  transform-origin: 50% -46px;
  animation: balanco 1.7s cubic-bezier(0.3, 0.6, 0.3, 1) 0.15s 1 both;
}
@keyframes balanco {
  0% { transform: rotate(5deg); }
  30% { transform: rotate(-3deg); }
  55% { transform: rotate(1.6deg); }
  78% { transform: rotate(-0.6deg); }
  100% { transform: rotate(0); }
}

/* Barbante e prego. */
.pendurada__barbante {
  position: absolute;
  left: 50%;
  top: -46px;
  width: 3px;
  height: 84px;
  margin-left: -1.5px;
  background: var(--na-parede);
  z-index: 3;
}
.pendurada__barbante::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--na-parede);
}

/* O contorno anil é a própria forma de fora; o papel fica 3px para dentro. */
.etiqueta {
  --canto: 38px;
  --foco: var(--vermelho);
  --apagado: #3f4e8e;
  color-scheme: light;
  position: relative;
  padding: 3px;
  background: var(--anil);
  color: var(--anil);
  clip-path: polygon(var(--canto) 0, calc(100% - var(--canto)) 0, 100% var(--canto), 100% 100%, 0 100%, 0 var(--canto));
}
.etiqueta__papel {
  --c: calc(var(--canto) - 1px);
  padding: 74px clamp(18px, 3vw, 28px) 22px;
  background: var(--creme);
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, 0 100%, 0 var(--c));
}

.etiqueta__ilhos {
  position: absolute;
  left: 50%;
  top: 22px;
  width: 30px;
  height: 30px;
  margin-left: -15px;
  border: 5px solid var(--vermelho);
  border-radius: 50%;
  background: var(--parede);
  z-index: 2;
}

.etiqueta__titulo {
  margin: 0 0 14px;
  font-family: var(--letra-letreiro);
  font-weight: 400;
  font-size: 1.22rem;
  line-height: 1.12;
  text-align: center;
  text-wrap: balance;
}

.ficha__linha {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 6px 0;
  border-bottom: 2px dotted rgba(26, 44, 120, 0.5);
}
.ficha__rotulo {
  padding-bottom: 9px;
  font-weight: 650;
  font-stretch: 86%;
  font-size: 1rem;
  line-height: 1.2;
}
.ficha__campo {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--letra-letreiro);
}
.ficha__campo i {
  min-width: 1.4em;
  font-style: normal;
  font-size: 0.8rem;
}
.ficha__campo input,
.ficha__campo select {
  min-height: 44px;
  border: 0;
  border-bottom: 3px solid var(--anil);
  border-radius: 0;
  background: #fff;
  color: var(--anil);
}
.ficha__campo input {
  width: 96px;
  padding: 6px 8px;
  font-family: var(--letra-letreiro);
  font-size: 1.12rem;
  text-align: right;
}
.ficha__campo select {
  width: min(210px, 48vw);
  padding: 6px 8px;
  font-family: var(--letra-texto);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

/* Canhoto destacável: o resultado. */
.canhoto {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 3px dashed var(--anil);
}
.canhoto__rotulo {
  margin: 0 0 2px;
  font-weight: 650;
  font-stretch: 86%;
}
.canhoto__preco {
  margin: 0;
  color: var(--vermelho);
  font-size: clamp(3.2rem, 6vw, 4.5rem);
}
.canhoto__preco.preco--recado {
  padding: 10px 0;
  color: var(--anil);
  font-size: 1.05rem;
  line-height: 1.25;
  white-space: normal;
}

.barra {
  display: flex;
  height: 20px;
  margin: 16px 0 12px;
  border: 2px solid var(--anil);
  background: #fff;
}
.barra:empty { display: none; }
.barra span { min-width: 3px; }
.barra span + span { border-left: 2px solid var(--anil); }
.c-material { background: var(--anil); }
.c-maquina { background: repeating-linear-gradient(135deg, var(--anil) 0 2px, #fff 2px 6px); }
.c-taxas { background: var(--vermelho); }
.c-lucro { background: var(--amarelo); }
.c-embalagem { background: radial-gradient(var(--anil) 1.3px, #fff 1.6px) 0 0 / 5px 5px; }

.partes {
  display: grid;
  gap: 5px;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.3;
}
.partes div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.partes dt { display: flex; align-items: center; gap: 7px; }
.partes dt::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border: 2px solid var(--anil);
}
.partes .c-material dt::before { background: var(--anil); }
.partes .c-maquina dt::before { background: repeating-linear-gradient(135deg, var(--anil) 0 2px, #fff 2px 5px); }
.partes .c-taxas dt::before { background: var(--vermelho); }
.partes .c-lucro dt::before { background: var(--amarelo); }
.partes .c-embalagem dt::before { background: radial-gradient(var(--anil) 1.2px, #fff 1.5px) 0 0 / 4px 4px; }
.partes .c-material,
.partes .c-maquina,
.partes .c-taxas,
.partes .c-embalagem,
.partes .c-lucro { background: none; }
.partes dd {
  margin: 0;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.canhoto__aviso {
  margin: 14px 0 0;
  padding: 10px 12px;
  background: var(--vermelho);
  color: #fff;
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.4;
}

.etiqueta__nota {
  margin: 16px 0 0;
  color: var(--apagado);
  font-size: 0.8rem;
  line-height: 1.45;
}

/* Lucro: rótulo com o "?" e a escolha entre margem e markup; a dica ocupa a linha de baixo. */
.ficha__linha--lucro { flex-wrap: wrap; }
.ficha__linha--lucro .ficha__rotulo {
  display: grid;
  gap: 6px;
  padding-bottom: 2px;
}
.ficha__rotulo-topo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ficha__rotulo small {
  display: block;
  color: var(--apagado);
  font-size: 0.78rem;
  font-weight: 500;
  font-stretch: 100%;
}
.ficha__ajuda {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 2px solid var(--anil);
  border-radius: 50%;
  background: var(--creme);
  color: var(--anil);
  font-family: var(--letra-letreiro);
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
}
.ficha__ajuda::after { content: ""; position: absolute; inset: -8px; }
.ficha__ajuda:hover { background: var(--amarelo); }

.lucro-por {
  display: inline-flex;
  width: max-content;
  border: 2px solid var(--anil);
}
.lucro-por label { position: relative; cursor: pointer; }
.lucro-por input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.lucro-por span {
  display: block;
  padding: 7px 12px;
  background: #fff;
  font-weight: 750;
  font-stretch: 90%;
  font-size: 0.9rem;
  line-height: 1.3;
}
.lucro-por label + label span { border-left: 2px solid var(--anil); }
.lucro-por input:checked + span { background: var(--anil); color: var(--creme); }
.lucro-por input:focus-visible + span { outline: 3px solid var(--foco); outline-offset: 2px; }

.ficha__dica {
  flex-basis: 100%;
  margin: 0;
  color: var(--apagado);
  font-size: 0.84rem;
  line-height: 1.35;
}
.ficha__dica--alerta {
  padding: 9px 11px;
  background: var(--vermelho);
  color: #fff;
  font-weight: 600;
}
.ficha__dica button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 6px;
  padding: 6px 12px;
  border: 0;
  background: var(--creme);
  color: var(--anil);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.ficha__dica button:hover { background: var(--amarelo); }

/* Ajustar os custos: dobrado como as perguntas, com o resumo do que vale embaixo do título. */
.ajustes { border-bottom: 2px dotted rgba(26, 44, 120, 0.5); }
.ajustes summary {
  position: relative;
  display: grid;
  gap: 3px;
  min-height: 52px;
  padding: 10px 40px 10px 0;
  list-style: none;
  cursor: pointer;
}
.ajustes summary::-webkit-details-marker { display: none; }
.ajustes summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  translate: 0 -50%;
  color: var(--vermelho);
  font-family: var(--letra-letreiro);
  font-size: 1.6rem;
  line-height: 1;
}
.ajustes[open] summary::after { content: "–"; }
.ajustes__titulo {
  font-family: var(--letra-letreiro);
  font-size: 0.95rem;
  line-height: 1.2;
}
.ajustes__resumo {
  color: var(--apagado);
  font-size: 0.8rem;
  line-height: 1.35;
}
.ficha--miuda { border-top: 2px dotted rgba(26, 44, 120, 0.5); }
.ficha--miuda .ficha__linha { min-height: 50px; }
.ficha--miuda .ficha__rotulo { font-size: 0.94rem; }
.ficha--miuda .ficha__campo input { width: 88px; font-size: 1rem; }
.ficha--miuda .ficha__linha:last-child { border-bottom: 0; }
.ajustes__voltar {
  min-height: 44px;
  margin-bottom: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--anil);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  cursor: pointer;
}
.ajustes__voltar:hover { text-decoration-color: var(--vermelho); }

/* ------------------------------------------------------------ margem ou markup (o "?") */

/* Mais um papel de etiqueta: claro nos dois temas, como a calculadora. */
.explica {
  --foco: var(--vermelho);
  --botao: var(--anil);
  --no-botao: var(--creme);
  --apagado: #3f4e8e;
  color-scheme: light;
  width: min(760px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 3px solid var(--anil);
  background: var(--creme);
  color: var(--anil);
  overflow: auto;
  overscroll-behavior: contain;
}
.explica::backdrop { background: rgba(11, 18, 56, 0.74); }
.explica__papel {
  position: relative;
  padding: 22px clamp(16px, 3vw, 30px) 20px;
}
.explica__fechar {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--anil);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
}
.explica__fechar:hover { color: var(--vermelho); }
.explica__titulo {
  margin: 0 44px 8px 0;
  font-family: var(--letra-letreiro);
  font-weight: 400;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  line-height: 1.1;
}
.explica p { margin: 0; }
.explica__abre { max-width: 60ch; font-size: 0.98rem; line-height: 1.45; }
.explica__mesa {
  display: grid;
  gap: 6px;
  margin: 16px 0 18px;
  padding: 14px 0;
  border-top: 3px dashed var(--anil);
  border-bottom: 3px dashed var(--anil);
  font-size: 0.98rem;
}
.explica__mesa label { font-weight: 650; }
.explica__mesa strong { color: var(--vermelho); }
.explica__mesa input[type="range"] {
  width: 100%;
  min-height: 32px;
  margin: 0;
  accent-color: var(--vermelho);
  cursor: pointer;
}
.explica__conta { font-variant-numeric: tabular-nums; }
.explica__lados {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
}
.explica__lados section { display: grid; align-content: start; gap: 8px; font-size: 0.95rem; line-height: 1.4; }
.explica h3 {
  margin: 0;
  font-family: var(--letra-letreiro);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.2;
}
.explica__rotulo-barra { color: var(--apagado); font-size: 0.82rem; }
.explica__preco {
  display: flex;
  height: 30px;
  border: 2px solid var(--anil);
  background: #fff;
}
.explica__preco span { min-width: 2px; }
.explica__preco span + span { border-left: 2px solid var(--anil); }
.explica__blocos { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; }
.explica__bloco {
  position: relative;
  width: 30px;
  height: 30px;
  border: 2px solid var(--anil);
  background: #fff;
  overflow: hidden;
}
.explica__bloco.is-custo { margin-right: 8px; background: var(--anil); }
.explica__bloco i { position: absolute; inset: 0 auto 0 0; background: var(--amarelo); }
.explica__grande {
  color: var(--vermelho);
  font-family: var(--letra-letreiro);
  font-size: 2.3rem;
  line-height: 1;
}
.explica .explica__nota { color: var(--apagado); font-size: 0.84rem; line-height: 1.4; }
.explica__legenda {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 16px 0 6px;
}
.explica__acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 3px solid var(--anil);
}
.explica__acoes .elo { order: -1; margin-right: auto; }

/* ------------------------------------------------------------ folhas de papel */

.folha {
  background: var(--papel);
  color: var(--tinta);
  padding-block: clamp(64px, 9vw, 124px);
}

/* O caminho: seis passos presos no mesmo barbante. */
.caminho { padding-top: clamp(120px, 13vw, 170px); }

.passos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: passo;
}
.passos li {
  position: relative;
  padding: 30px 20px 0 0;
  border-top: 3px solid var(--tinta);
  counter-increment: passo;
}
.passos li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -12px;
  width: 21px;
  height: 21px;
  border: 4px solid var(--destaque);
  border-radius: 50%;
  background: var(--papel);
}
.passos strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--letra-letreiro);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.15;
}
.passos strong::before {
  content: counter(passo);
  display: block;
  margin-bottom: 8px;
  font-size: 3.3rem;
  line-height: 1;
}
.passos span {
  display: block;
  color: var(--tinta-2);
  font-size: 0.98rem;
  line-height: 1.45;
}

/* ------------------------------------------------------------ quadro de serviços (módulos) */

.quadro {
  --foco: var(--amarelo);
  background: var(--quadro);
  color: var(--no-quadro);
  padding-block: clamp(64px, 9vw, 124px);
}
.quadro .titulo { color: var(--amarelo); }
.quadro .abre { color: var(--no-quadro-2); }

.tabela {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tabela__item {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(16px, 1fr) auto;
  column-gap: 14px;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 251, 234, 0.22);
}
.tabela__item:last-child { border-bottom: 1px solid rgba(255, 251, 234, 0.22); }
.tabela__item h3 {
  margin: 0;
  font-family: var(--letra-letreiro);
  font-weight: 400;
  font-size: clamp(1.12rem, 2.3vw, 1.65rem);
  line-height: 1.1;
}
.tabela__pontos {
  align-self: end;
  margin-bottom: 0.42em;
  border-bottom: 4px dotted rgba(255, 251, 234, 0.45);
}
.tabela__item p {
  grid-column: 1 / -1;
  max-width: 64ch;
  margin: 8px 0 0;
  color: var(--no-quadro-2);
}

/* Carimbos de situação: o texto diz a situação; a cor só reforça. */
.selo {
  padding: 6px 10px 5px;
  border: 2px solid currentColor;
  font-family: var(--letra-letreiro);
  font-size: 0.76rem;
  line-height: 1.1;
  white-space: nowrap;
}
.selo--ok {
  border-color: var(--amarelo);
  background: var(--amarelo);
  color: var(--anil);
}
.selo--depois {
  border-style: dashed;
  color: var(--no-quadro-2);
}

/* ------------------------------------------------------------ feito para o Brasil */

.brasil__grade {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}
.brasil__titulo {
  position: sticky;
  top: 32px;
  margin: 0;
}

.clausula {
  padding: 26px 0 28px;
  border-top: 3px solid var(--tinta);
}
.clausula:last-child { border-bottom: 3px solid var(--tinta); }
.clausula h3 {
  margin: 0 0 8px;
  font-family: var(--letra-letreiro);
  font-weight: 400;
  font-size: 1.22rem;
  line-height: 1.15;
}
.clausula p {
  max-width: 60ch;
  margin: 0;
}

/* Os dois cartazes do degrau da Shopee. */
.degrau {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}
.clausula .degrau__lado {
  flex: 1 1 230px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  align-items: baseline;
  max-width: 330px;
  padding: 16px 18px 14px;
  background: var(--amarelo);
  color: var(--anil);
}
.degrau__rotulo {
  font-weight: 650;
  font-stretch: 86%;
  font-size: 0.95rem;
}
.degrau__anuncio { font-size: 1.9rem; justify-self: end; }
.degrau__sobra { font-size: 3.1rem; justify-self: end; }
.degrau__lado--pior .degrau__sobra { color: var(--vermelho); }

/* ------------------------------------------------------------ cartaz: quanto custa */

.cartaz {
  --botao: var(--anil);
  --no-botao: var(--creme);
  --foco: var(--vermelho);
  --destaque: var(--vermelho);
  background: var(--amarelo);
  color: var(--anil);
  padding-block: clamp(56px, 8vw, 104px);
}
.cartaz__grade {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: center;
}
.cartaz__titulo {
  margin: 0;
  font-weight: 400;
}
.cartaz__chamada {
  display: block;
  font-family: var(--letra-letreiro);
  font-size: clamp(1.35rem, 3vw, 2.3rem);
  line-height: 1;
}
.cartaz__preco {
  display: flex;
  align-items: flex-start;
  margin-top: 0.08em;
  font-size: clamp(6.6rem, 20vw, 15.5rem);
  line-height: 0.9;
}
.cartaz__rs {
  margin: 0.5em 0.14em 0 0;
  font-family: var(--letra-letreiro);
  font-size: 0.2em;
  line-height: 1;
}
/* Sombra em bloco de letreiro: o mesmo número repetido em anil, um degrau por vez. */
.sombra {
  font-family: var(--letra-letreiro);
  color: var(--vermelho);
  text-shadow: 0.006em 0.006em 0 var(--anil), 0.012em 0.012em 0 var(--anil), 0.018em 0.018em 0 var(--anil), 0.024em 0.024em 0 var(--anil), 0.030em 0.030em 0 var(--anil), 0.036em 0.036em 0 var(--anil), 0.042em 0.042em 0 var(--anil), 0.048em 0.048em 0 var(--anil), 0.054em 0.054em 0 var(--anil), 0.060em 0.060em 0 var(--anil), 0.066em 0.066em 0 var(--anil), 0.072em 0.072em 0 var(--anil);
}
.cartaz__cent {
  margin: 0.1em 0 0 0.1em;
  padding-bottom: 0.16em;
  border-bottom: 0.11em solid var(--anil);
  font-size: 0.4em;
  line-height: 1;
}
.cartaz__texto p {
  max-width: 32ch;
  margin: 0 0 24px;
  font-size: clamp(1.12rem, 1.7vw, 1.4rem);
  font-weight: 600;
  line-height: 1.4;
}

/* ------------------------------------------------------------ perguntas */

.perguntas details { border-top: 3px solid var(--tinta); }
.perguntas details:last-of-type { border-bottom: 3px solid var(--tinta); }
.perguntas summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 16px 52px 16px 0;
  font-family: var(--letra-letreiro);
  font-size: 1.06rem;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  translate: 0 -50%;
  color: var(--destaque);
  font-size: 1.9rem;
  line-height: 1;
}
.perguntas details[open] summary::after { content: "–"; }
.perguntas details p {
  max-width: 64ch;
  margin: 0 0 22px;
}

/* ------------------------------------------------------------ rodapé */

.rodape {
  --logo-etiqueta: var(--amarelo);
  --logo-tinta: var(--anil);
  --logo-ilhos: var(--vermelho);
  --foco: var(--amarelo);
  background: var(--rodape);
  color: var(--creme);
  padding-block: 40px;
}
.rodape__grade {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.rodape p { margin: 0; }
.rodape__papeis {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-size: 0.95rem;
}
.rodape__papeis a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.rodape__papeis a:hover { text-decoration-color: var(--amarelo); }

/* ------------------------------------------------------------ larguras menores */

@media (max-width: 1100px) {
  .passos { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
}

@media (max-width: 940px) {
  .topo__nav { display: none; }
  .topo__acoes { margin-left: auto; }
  .fachada { grid-template-columns: minmax(0, 1fr); }
  .fachada__acoes { padding-bottom: 8px; }
  .pendurada { max-width: 460px; margin-bottom: -64px; }
  .brasil__grade { grid-template-columns: minmax(0, 1fr); }
  .brasil__titulo { position: static; }
  .cartaz__grade { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .topo__criar { display: none; }
  .explica__lados { grid-template-columns: minmax(0, 1fr); }
  .explica__acoes .botao { flex: 1 1 100%; }
  .passos { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .passos li {
    padding: 0 0 30px 34px;
    border-top: 0;
    border-left: 3px solid var(--tinta);
  }
  .passos li:last-child { padding-bottom: 0; }
  .passos li::before { left: -12px; top: 0; }
  .passos strong::before { font-size: 2.6rem; }
  .tabela__item { grid-template-columns: minmax(0, 1fr) auto; }
  .tabela__pontos { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pendurada { animation: none; }
  .botao, .elo { transition: none; }
}
