/* ==========================================================================
   SnapDoor — Landing page do servico completo (/full-service/)
   Carregada SO nessa pagina, depois de style.css e promo.css: a faixa do
   topo, os botoes, o hero, as avaliacoes, o FAQ e o formulario ja vem de
   promo.css. Aqui entram so as pecas proprias desta pagina: o raio-X da
   porta, o hodometro e a ficha de servico.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Raio-X da porta (hero)
   O desenho e um SVG decorativo que escala com a coluna; as etiquetas sao
   links em HTML por cima dele, posicionadas em % do desenho, para o texto
   continuar legivel no celular. O centro do numero de cada etiqueta fica
   exatamente na ponta da linha laranja.
   -------------------------------------------------------------------------- */
.sv-xray { margin: var(--sp-2) 0 0; width: 100%; }
@media (min-width: 980px) {
  .sv-xray { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}
.sv-xray__stage { position: relative; }
.sv-xray svg { width: 100%; height: auto; display: block; overflow: visible; }

/* Traco com espessura fixa na tela: o desenho encolhe no celular, a linha
   nao some. */
.sv-xray svg * { vector-effect: non-scaling-stroke; }
#sv-grid circle { fill: rgba(255,255,255,.09); }
.sv-grid { fill: url(#sv-grid); }

.sv-line   { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.5; }
.sv-faint  { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1; }
.sv-dash   { stroke-dasharray: 3 4; }
.sv-door   { fill: rgba(255,255,255,.035); stroke: rgba(255,255,255,.6); stroke-width: 1.5; }
.sv-roller { fill: #000; stroke: rgba(255,255,255,.7); stroke-width: 1.5; }
.sv-hinge  { fill: rgba(255,255,255,.08); stroke: rgba(255,255,255,.6); stroke-width: 1.5; }
.sv-bolt   { fill: rgba(255,255,255,.6); }
.sv-shaft  { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 3; }
.sv-drum   { fill: #0A0D10; stroke: rgba(255,255,255,.7); stroke-width: 1.5; }
.sv-cable  { fill: none; stroke: rgba(255,255,255,.5); stroke-width: 1; }
.sv-spring { fill: #0A0D10; stroke: rgba(255,255,255,.75); stroke-width: 1.5; }
.sv-coil   { fill: none; stroke: rgba(255,255,255,.5); stroke-width: 1; }
.sv-motor  { fill: #0E1317; stroke: rgba(255,255,255,.7); stroke-width: 1.5; }
.sv-lamp   { fill: rgba(255,214,150,.35); }
.sv-lead   { fill: none; stroke: var(--brand-orange); stroke-width: 1.25; opacity: .85; }
.sv-dot    { fill: var(--brand-orange); stroke: rgba(253,152,45,.3); stroke-width: 6; }

.sv-spot {
  position: absolute; left: var(--x); top: var(--y); z-index: 1;
  display: inline-flex; align-items: center; gap: .45em;
  padding: .22em .8em .22em .22em;
  border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-pill);
  background: rgba(10,13,16,.92);
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(.7rem, .55rem + .4vw, .95rem); line-height: 1;
  color: var(--white); text-decoration: none; white-space: nowrap;
  /* padding .22em + borda 1px + raio do numero .8em */
  transform: translate(calc(-1.02em - 1px), -50%);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.sv-spot b {
  display: grid; place-items: center;
  width: 1.6em; height: 1.6em; border-radius: 50%;
  background: var(--brand-orange); color: var(--promo-black);
  font-weight: 700;
}
/* Etiqueta crescendo para a esquerda: numero na ponta direita */
.sv-spot[data-side="left"] {
  flex-direction: row-reverse;
  padding: .22em .22em .22em .8em;
  transform: translate(calc(-100% + 1.02em + 1px), -50%);
}
.sv-spot:hover { border-color: var(--brand-orange); background: #1A1208; }
.sv-spot:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 2px; }

.sv-xray figcaption {
  margin-top: var(--sp-2);
  text-align: right;
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--step--1); letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

/* --------------------------------------------------------------------------
   2. Hodometro — "How hard has your door worked?"
   Mesmo preto do hero, como o "Hear the difference" da LP do motor. A
   frase tem os dois numeros editaveis no meio; o painel da direita mostra
   o contador no estilo do painel de carro e a barra da vida da mola.
   -------------------------------------------------------------------------- */
.sv-odo {
  background: #000;
  color: var(--white);
  padding-top: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.sv-odo__head { max-width: 40rem; margin-inline: auto; text-align: center; }
.sv-odo .lp-h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); letter-spacing: -.03em; }
.sv-odo__sub { margin: var(--sp-3) 0 0; font-size: var(--step-0); color: rgba(255,255,255,.78); }

.sv-odo__panel {
  max-width: 960px;
  margin: clamp(1.75rem, 1rem + 2.5vw, 3rem) auto 0;
  display: grid; gap: var(--sp-6);
  padding: clamp(1.25rem, .8rem + 2vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--promo-panel);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.1),
    0 30px 120px -20px rgba(253,152,45,.35);
}
@media (min-width: 820px) {
  .sv-odo__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
}

.sv-odo__q {
  margin: 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.9rem);
  line-height: 1.9;
  color: var(--white);
}
.sv-step {
  display: inline-flex; align-items: center; gap: 2px;
  vertical-align: middle;
  padding: 2px;
  border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-sm);
  background: #000;
  line-height: 1;
}
.sv-step output {
  min-width: 2ch; padding-inline: .3em;
  text-align: center; font-variant-numeric: tabular-nums;
  color: var(--brand-orange);
}
.sv-step button {
  display: grid; place-items: center;
  width: max(1.5em, 40px); height: max(1.5em, 40px);
  border-radius: 6px;
  background: rgba(255,255,255,.08); color: var(--white);
  font-size: .85em; line-height: 1;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.sv-step button:hover:not(:disabled) { background: var(--brand-orange); color: var(--promo-black); }
.sv-step button:disabled { opacity: .3; cursor: default; }
.sv-step button:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 2px; }

.sv-odo__year { margin: var(--sp-3) 0 0; color: rgba(255,255,255,.72); }
.sv-odo__year strong { color: var(--white); font-variant-numeric: tabular-nums; }
.sv-odo__cta { margin: var(--sp-5) 0 0; }
@media (max-width: 599px) { .sv-odo__cta .lp-btn { width: 100%; } }

/* O contador: tambores escuros com o numero branco, o ultimo em laranja,
   como a casa decimal de um hodometro. */
.sv-odo__meter {
  margin: 0;
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--sp-2) var(--sp-3);
}
.sv-odo__digits { display: inline-flex; gap: 4px; }
.sv-odo__digits span {
  display: grid; place-items: center;
  width: 1.05em; height: 1.4em;
  border-radius: 6px;
  background: linear-gradient(#000, #1C2329 50%, #000);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 1.6rem + 2.8vw, 3.6rem); line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}
.sv-odo__digits span:last-child {
  background: var(--brand-orange); color: var(--promo-black); box-shadow: none;
}
.sv-odo__unit {
  padding-bottom: .35em;
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* Barra da vida nominal da mola, com marcas a cada quarto */
.sv-odo__gauge {
  position: relative;
  height: 10px; margin-top: var(--sp-5);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.1);
  overflow: hidden;
}
.sv-odo__gauge::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    transparent calc(25% - 1px), #000 0 calc(25% + 1px),
    transparent 0 calc(50% - 1px), #000 0 calc(50% + 1px),
    transparent 0 calc(75% - 1px), #000 0 calc(75% + 1px),
    transparent 0);
}
.sv-odo__fill {
  position: absolute; inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #FFC98F, var(--brand-orange));
  transition: width .35s var(--ease);
}
[data-level="over"] .sv-odo__fill {
  background: linear-gradient(90deg, var(--brand-orange), var(--superlift-red));
}
.sv-odo__scale {
  display: flex; justify-content: space-between;
  margin: .45rem 0 0;
  font-size: var(--step--1); font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,.5);
}
.sv-odo__pct { margin: var(--sp-4) 0 0; color: rgba(255,255,255,.78); }
.sv-odo__pct strong {
  font-family: var(--font-display); font-size: var(--step-1);
  font-variant-numeric: tabular-nums; color: var(--white);
}
.sv-odo__msg { margin: var(--sp-2) 0 0; font-weight: 500; color: var(--white); }
[data-level="high"] .sv-odo__msg,
[data-level="over"] .sv-odo__msg { color: #FFC98F; }

.sv-odo__close {
  max-width: 46rem; margin: var(--sp-6) auto 0;
  text-align: center;
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--step-1); line-height: 1.4;
  color: var(--white);
}
.sv-odo__note {
  max-width: 46rem; margin: var(--sp-3) auto 0;
  text-align: center; font-size: var(--step--1);
  color: rgba(255,255,255,.55);
}

/* --------------------------------------------------------------------------
   3. Ficha de servico (#checklist)
   Um cartao de oficina: cabecalho preto com a marca, uma linha por ponto
   com a foto real e o visto, e o carimbo "Serviced" no rodape.
   -------------------------------------------------------------------------- */
.sv-card {
  position: relative;
  max-width: 980px; margin-inline: auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.sv-card__head {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--sp-2) var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--promo-black);
  color: var(--white);
}
.sv-card__title {
  margin: 0; padding-left: var(--sp-4);
  border-left: 1px solid rgba(255,255,255,.22);
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.sv-card__price {
  margin: 0 0 0 auto;
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--step-1); color: var(--white);
}
.sv-card__price span { font-weight: 600; font-size: var(--step--1); color: rgba(255,255,255,.7); white-space: nowrap; }
/* Quebra de linha so entre os itens ("Per door • Including GST • No call-out fee") */
.sv-nowrap { white-space: nowrap; }

.sv-card__list { list-style: none; margin: 0; padding: 0; }
.sv-check {
  display: grid; align-items: center;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: var(--sp-4) var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px dashed var(--grey-300);
  transition: background-color .3s var(--ease);
}
.sv-check:last-child { border-bottom: 0; }
/* Quem chega por uma etiqueta do raio-X ve a linha dela acesa */
.sv-check:target { background: var(--brand-orange-soft); }

.sv-check__media { position: relative; display: block; }
.sv-check__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-sm);
}
.sv-check__n {
  position: absolute; left: -8px; top: -8px;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-orange); color: var(--promo-black);
  box-shadow: 0 0 0 3px var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: .85rem;
}
.sv-check:target .sv-check__n { box-shadow: 0 0 0 3px var(--brand-orange-soft); }
.sv-check__body h3 { margin: 0; font-size: var(--step-1); color: var(--text); }
.sv-check__body p {
  margin: .2rem 0 0;
  font-size: var(--step-0); line-height: 1.5; color: var(--text-muted);
}
.sv-check__tick {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 2px solid var(--brand-orange); border-radius: 8px;
  color: var(--brand-orange-dark);
}
.sv-check__tick svg { width: 20px; height: 20px; stroke-width: 3; }

@media (max-width: 599px) {
  .sv-card__head, .sv-check { padding-inline: var(--sp-4); }
  /* Logo e preco na primeira linha, "Service job card" embaixo, sem o fio */
  .sv-card__head { display: grid; grid-template-columns: auto auto; justify-content: space-between; }
  .sv-card__title { grid-column: 1 / -1; grid-row: 2; padding-left: 0; border-left: 0; }
  .sv-check { grid-template-columns: 68px minmax(0, 1fr) auto; gap: var(--sp-3) var(--sp-4); }
  .sv-check__n { width: 24px; height: 24px; left: -6px; top: -6px; font-size: .78rem; }
  .sv-check__tick { width: 28px; height: 28px; border-radius: 6px; }
  .sv-check__tick svg { width: 16px; height: 16px; }
}

.sv-card__foot {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--grey-50);
  border-top: 1px solid var(--border);
}
.sv-card__promises {
  list-style: none; margin: 0; padding: 0 9rem 0 0;
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
}
.sv-card__promises li { display: flex; align-items: center; gap: .5rem; font-weight: 500; color: var(--text); }
.sv-card__promises svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--brand-orange-dark); }

/* Carimbo de oficina, torto como carimbo de verdade */
.sv-stamp {
  position: absolute; right: var(--sp-5); top: 50%;
  translate: 0 -50%; rotate: -8deg;
  padding: .3rem .8rem;
  border: 3px solid var(--brand-orange-dark); border-radius: 6px;
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--step-1); letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-orange-dark);
  opacity: .85;
  pointer-events: none;
}
@media (max-width: 599px) {
  .sv-card__foot { padding-inline: var(--sp-4); }
  .sv-card__promises { padding-right: 0; }
  .sv-stamp { position: static; translate: none; margin-left: auto; font-size: var(--step-0); }
}
