/* Placas de reposição e travas do piso (lp.floty.com/pisos/#reposicao e #lista) — 28/10/2026. SEM PREÇO.
   Gerado por ~/floty-lps/lps-produto/pisos/patch_pisos.py. Vem depois do /style.css e do /pisos/pisos.css; só classes pr-*.
   Da página de 06/10 só muda a altura dos botões de ação (46 → 48 px, regra da Floty: botão principal ≥ 48 px). */
[hidden] { display: none !important; }
.lp-hero .actions .btn, .final-cta .btn, .calc-acoes .btn { min-height: 48px; }
.pr { --pr-azul: #0B5F86; --pr-azul-2: #0A4E70; --pr-abismo: #072A3D; --pr-amarelo: #F5B41E; --pr-amarelo-claro: #FFF4D6;
  --pr-linha: #DCE5EA; --pr-fundo: #F4F7F9; scroll-margin-top: 84px; }
.pr .section-head { margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.pr .section-head p.pr-intro { margin-top: .9rem; max-width: 64ch; color: #2F3A40; }

/* link novo no topo (fundo escuro) */
.pr-topo-link { margin-top: 1rem; }
.pr-topo-link a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: #fff; font-weight: 800; text-decoration: underline;
  text-underline-offset: .22em; text-decoration-color: var(--float, #F5B41E); text-decoration-thickness: 2px; }
.pr-topo-link a:hover { color: #FFE7A8; }

/* link novo nos 3 cartões de modelo (#modelos) */
.pr-card-link { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; font-weight: 800; color: #0B5F86; text-underline-offset: .2em; }

/* ---------- ferramenta: desenho + placa escolhida + «meça» ---------- */
.pr-ferr { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); grid-template-areas: "mapa peca" "medir peca";
  gap: clamp(1.1rem, 2.6vw, 2.2rem); align-items: start; }
.pr-mapa { grid-area: mapa; container-type: inline-size; min-width: 0; background: #fff; border: 1px solid var(--pr-linha); border-radius: 20px;
  padding: clamp(.6rem, .3rem + 1vw, 1.1rem); }
.pr-desenho { position: relative; width: 100%; aspect-ratio: var(--ar); }
.pr-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: 12px; }
.pr-svg-t { display: none; }
.pr-pl .pr-halo, .pr-pl .pr-hl { transition: opacity .2s ease; }
.pr-pl.on .pr-halo { opacity: 1; }
.pr-pl.trava .pr-halo { opacity: .35; }
.pr-pl.trava .pr-hl { opacity: .95; }

.pr-marca { position: absolute; left: var(--x); top: var(--y); z-index: 2; transform: translate(-50%, -50%); width: 38px; height: 38px; padding: 0;
  border-radius: 50%; border: 3px solid #fff; background: var(--pr-azul); color: #fff; font: 800 1.05rem/1 var(--f-display); cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 4px 12px rgba(7,42,61,.3); transition: transform .15s ease, background-color .15s ease; }
.pr-marca::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; } /* alvo de toque ≥ 44 px */
.pr-marca:hover { transform: translate(-50%, -50%) scale(1.1); }
.pr-marca[aria-pressed="true"] { background: var(--pr-amarelo); color: #1C1C1C; transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 0 6px rgba(245,180,30,.35), 0 4px 12px rgba(7,42,61,.3); }
.pr-marca:focus-visible, .pr-leg:focus-visible, .pr-cor:focus-visible, .pr-q-ctl button:focus-visible, .pr-lista-itens button:focus-visible {
  outline: 3px solid var(--pr-amarelo); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .pr-marca[data-pulso] { animation: pr-pulso 1.6s ease-out 2; }
  @keyframes pr-pulso { 0% { box-shadow: 0 0 0 0 rgba(11,95,134,.55); } 100% { box-shadow: 0 0 0 16px rgba(11,95,134,0); } }
}
.pr-rot { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); pointer-events: none; text-align: center;
  white-space: nowrap; font: 700 .8rem/1.25 var(--f-ui); color: #33444F; }
.pr-rot b { display: block; font: 800 .9rem/1.2 var(--f-display); color: var(--pr-abismo); }

.pr-legenda { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem .5rem; }
.pr-leg { width: 100%; min-height: 44px; display: flex; align-items: center; gap: .5rem; padding: .3rem .7rem .3rem .35rem; border: 1.5px solid var(--pr-linha);
  border-radius: 999px; background: #fff; font: 700 .9rem/1.15 var(--f-ui); color: var(--pr-abismo); cursor: pointer; text-align: left; }
.pr-leg b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pr-azul); color: #fff;
  font: 800 .88rem/1 var(--f-display); }
.pr-leg[aria-pressed="true"] { border-color: var(--pr-amarelo); background: #FFF6DD; }
.pr-leg[aria-pressed="true"] b { background: var(--pr-amarelo); color: #1C1C1C; }
.pr-mapa-nota { margin: .7rem 0 0; font-size: .82rem; color: var(--muted); }

@container (max-width: 520px) {
  .pr-desenho { aspect-ratio: var(--art); }
  .pr-svg-w { display: none; }
  .pr-svg-t { display: block; }
  .pr-marca, .pr-rot { left: var(--xt); top: var(--yt); }
  .pr-marca { width: 32px; height: 32px; font-size: .95rem; border-width: 2.5px; }
  .pr-rot { font-size: .74rem; }
  .pr-rot b { font-size: .8rem; }
  .pr-leg { font-size: .84rem; }
}

/* placa escolhida */
.pr-peca { grid-area: peca; min-width: 0; scroll-margin-top: 90px; background: #fff; border: 2px solid var(--pr-abismo); border-radius: 20px;
  padding: clamp(1rem, .8rem + 1vw, 1.5rem); display: grid; gap: .8rem; box-shadow: 0 18px 40px -24px rgba(7,42,61,.45); }
.pr-peca:focus { outline: none; }
.pr-peca-topo { display: flex; gap: .8rem; align-items: center; }
.pr-n { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--pr-amarelo); color: #1C1C1C;
  font: 800 1.3rem/1 var(--f-display); }
.pr-rotulo { display: block; font: 800 .74rem/1.2 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pr-peca h3 { margin: .1rem 0 0; font: 700 clamp(1.3rem, 1.1rem + .8vw, 1.65rem)/1.15 var(--f-display); color: var(--pr-abismo); }
.pr-foto { position: relative; margin: 0; background: #fff; border: 1px solid var(--pr-linha); border-radius: 14px; aspect-ratio: 16 / 10; overflow: hidden; }
.pr-foto img { position: absolute; inset: 5%; width: 90%; height: 90%; object-fit: contain; }
.pr-como { margin: 0; color: #2A3C47; }
.pr-trava-aviso { margin: 0; padding: .65rem .85rem; border-radius: 10px; background: var(--pr-amarelo-claro); border-left: 4px solid var(--pr-amarelo);
  font-weight: 700; color: #3D2E00; }
.pr-cores-box { display: grid; gap: .45rem; }
.pr-cores-box > span { font: 800 .74rem/1.2 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pr-cores-box > span b { letter-spacing: 0; text-transform: none; color: var(--pr-abismo); font-size: .92rem; margin-left: .3rem; }
.pr-cores { display: flex; flex-wrap: wrap; gap: .4rem; }
.pr-cor { min-height: 44px; display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem .35rem .45rem; border-radius: 999px;
  border: 1.5px solid var(--pr-linha); background: #fff; font: 700 .9rem/1 var(--f-ui); color: var(--pr-abismo); cursor: pointer; }
.pr-cor i { width: 22px; height: 22px; border-radius: 6px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.pr-cor[aria-checked="true"] { border-color: var(--pr-azul); background: #EAF4F9; box-shadow: inset 0 0 0 1.5px var(--pr-azul); }
.pr-cor-nota { margin: 0; font-size: .86rem; color: var(--muted); }
.pr-fic { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); border-top: 1px solid var(--pr-linha); }
.pr-fic div { display: contents; }
.pr-fic dt, .pr-fic dd { margin: 0; padding: .45rem 0; border-bottom: 1px solid var(--pr-linha); }
.pr-fic dt { font: 800 .78rem/1.5 var(--f-ui); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-right: 1rem; }
.pr-fic dd { font-weight: 700; color: var(--pr-abismo); }
.pr-fic #pr-cod { font: 800 1.15rem/1.3 var(--f-display); letter-spacing: .02em; }
.pr-q { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.pr-q > label { font: 800 .9rem/1.2 var(--f-ui); color: var(--pr-abismo); }
.pr-q > label small { display: block; font-weight: 600; color: var(--muted); font-size: .8rem; }
.pr-q-ctl { display: inline-flex; align-items: center; border: 1.5px solid var(--pr-linha); border-radius: 999px; overflow: hidden; background: #fff; }
.pr-q-ctl button { width: 44px; height: 44px; border: 0; background: transparent; font: 800 1.3rem/1 var(--f-display); color: var(--pr-azul); cursor: pointer; }
.pr-q-ctl button:hover { background: var(--pr-fundo); }
.pr-q-ctl input { width: 4.4rem; height: 44px; border: 0; text-align: center; font: 800 1.2rem/1 var(--f-display); color: var(--pr-abismo); background: transparent;
  -moz-appearance: textfield; appearance: textfield; }
.pr-q-ctl input::-webkit-outer-spin-button, .pr-q-ctl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pr-q-ctl input:focus { outline: none; background: var(--pr-amarelo-claro); }
.pr-acoes { display: flex; flex-wrap: wrap; gap: .6rem; }
.pr-acoes .btn { flex: 1 1 13rem; justify-content: center; min-height: 52px; }
.pr-ok { margin: 0; padding: .6rem .8rem; border-radius: 10px; background: #E7F7EE; color: #12512E; font-weight: 700; }
.pr-ok a { color: inherit; }
.pr-ficha { margin: 0; font-size: .92rem; }
.pr-ficha a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; color: var(--pr-azul); }

/* «meça a sua placa» */
.pr-medir { grid-area: medir; min-width: 0; background: var(--pr-fundo); border: 1px solid var(--pr-linha); border-radius: 18px;
  padding: clamp(1rem, .8rem + 1vw, 1.4rem); display: grid; gap: .75rem; }
.pr-medir h3 { margin: 0; font: 700 clamp(1.15rem, 1rem + .5vw, 1.35rem)/1.2 var(--f-display); color: var(--pr-abismo); }
.pr-medir-campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.pr-medir label { display: grid; gap: .3rem; font-weight: 800; font-size: .9rem; color: var(--pr-abismo); }
.pr-medir label small { font-weight: 600; color: var(--muted); }
.pr-m { display: flex; align-items: center; gap: .4rem; background: #fff; border: 1.5px solid var(--pr-linha); border-radius: 10px; padding: 0 .75rem;
  color: var(--muted); font-weight: 700; }
.pr-m:focus-within { border-color: var(--pr-azul); box-shadow: 0 0 0 3px rgba(11,95,134,.15); }
.pr-m input { width: 100%; min-width: 0; min-height: 48px; border: 0; background: transparent; font: 700 1.3rem/1 var(--f-display); color: var(--ink);
  padding: .55rem 0; outline: none; }
.pr-res { margin: 0; min-height: 3.4em; padding: .65rem .85rem; border-left: 4px solid var(--pr-azul); background: #fff; border-radius: 0 10px 10px 0;
  font-weight: 700; color: var(--pr-abismo); }
.pr-res.ok { border-left-color: #1FA463; }
.pr-res.fora { border-left-color: #D7322B; }
.pr-premissa { margin: 0; font-size: .8rem; color: var(--muted); }

/* trava, quando trocar, como trocar */
.pr-saber { margin-top: clamp(1.6rem, 3.4vw, 2.6rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 1.1rem; }
.pr-bloco { min-width: 0; background: #fff; border: 1px solid var(--pr-linha); border-radius: 18px; padding: clamp(1rem, .8rem + 1vw, 1.5rem); }
.pr-bloco-trava { background: var(--pr-abismo); border-color: var(--pr-abismo); color: #E8F2F7; }
.pr-bloco h3 { margin: 0 0 .5rem; font: 700 clamp(1.15rem, 1rem + .5vw, 1.4rem)/1.2 var(--f-display); color: var(--pr-abismo); }
.pr-bloco-trava h3 { color: #fff; }
.pr-bloco p + p { margin-top: .6rem; }
.pr-bloco h4 { margin: 1rem 0 .4rem; font: 800 .78rem/1.2 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--pr-amarelo); }
.pr-quando { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.pr-quando li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: .55rem; align-items: start; }
.pr-quando li::before { content: ""; width: 10px; height: 10px; margin-top: .45em; border-radius: 3px; background: var(--pr-amarelo); }
.pr-passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1rem; counter-reset: pr; }
.pr-passos li { counter-increment: pr; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: .6rem; align-items: start; }
.pr-passos li::before { content: counter(pr); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pr-azul);
  color: #fff; font: 800 .95rem/1 var(--f-display); }
.pr-passos b { display: block; font: 700 1rem/1.25 var(--f-display); color: var(--pr-abismo); }
.pr-passos span { display: block; color: #2F3A40; font-size: .95rem; }
.pr-dica { margin: 1rem 0 0; padding: .7rem .9rem; border-radius: 10px; background: var(--pr-fundo); font-size: .92rem; color: #2F3A40; }
.pr-foto-wa { margin-top: 1.1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.4rem;
  padding: clamp(.9rem, .7rem + 1vw, 1.3rem) clamp(1rem, .8rem + 1vw, 1.5rem); border: 2px dashed #B9CCD6; border-radius: 18px; background: #FBFDFE; }
.pr-foto-wa p { margin: 0; max-width: 60ch; color: #2F3A40; }
.pr-foto-wa p b { color: var(--pr-abismo); }
.pr-foto-wa .btn { min-height: 48px; }

/* ---------- lista de orçamento (sem valor, sem total) ---------- */
.pr-lista { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.2rem, 4vw, 2.6rem); align-items: start; }
.pr-lista-caixa { background: #fff; border: 1px solid var(--pr-linha); border-radius: 18px; padding: clamp(1.1rem, 3vw, 1.6rem); min-width: 0; }
.pr-lista-vazia { margin: 0; color: var(--muted); }
.pr-lista-itens { list-style: none; margin: 0; padding: 0; }
.pr-lista-itens li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .4rem .8rem; align-items: center; padding: .55rem 0;
  border-bottom: 1px solid var(--pr-linha); }
.pr-li-nome { font-weight: 700; color: var(--pr-abismo); }
.pr-li-cod { white-space: nowrap; color: var(--muted); }
.pr-lista-itens .pr-q-ctl output { min-width: 3.2rem; text-align: center; font: 800 1.05rem/1 var(--f-display); color: var(--pr-abismo); }
.pr-lista-itens .pr-tirar { min-height: 44px; border: 0; background: none; color: #9B2C2C; font-weight: 800; cursor: pointer; font-size: .86rem; padding: 0 .3rem; }
.pr-lista-nota { margin: .7rem 0 0; font-size: .86rem; color: var(--muted); }
.pr-lista-nota a { font-weight: 800; }
.pr-lista-form { display: grid; gap: .8rem; }
.pr-lista-form label { display: grid; gap: .3rem; font-weight: 700; font-size: .92rem; }
.pr-lista-form input { font: 600 1rem/1.2 var(--f-ui); min-height: 48px; padding: .75rem .85rem; border: 1.5px solid var(--pr-linha); border-radius: 10px; background: #fff; }
.pr-lista-form input:focus { outline: none; border-color: var(--pr-azul); box-shadow: 0 0 0 3px rgba(11,95,134,.15); }
.pr-lista-form .btn { justify-content: center; min-height: 52px; }

@media (max-width: 980px) {
  .pr-ferr { grid-template-columns: minmax(0, 1fr); grid-template-areas: "mapa" "peca" "medir"; }
  .pr-saber { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .pr-lista { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .pr-passos { grid-template-columns: minmax(0, 1fr); }
  .pr-lista-itens li { grid-template-columns: auto minmax(0, 1fr); }
  .pr-lista-itens .pr-li-nome { grid-column: 1 / -1; }
  .pr-lista-itens .pr-tirar { justify-self: end; }
  .pr-foto-wa .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .pr-marca, .pr-pl .pr-halo, .pr-pl .pr-hl { transition: none; } }
