/* 97 Customs · PPF, wrap e anti trinco
   Preto de estúdio e o roxo da logo. As referências vêm da oficina: a porta que leva risco,
   o desenho de cobertura que o aplicador mostra no balcão, o piso xadrez do estúdio.
   Uma fonte só (Saira), hospedada aqui. */

@font-face { font-family: 'Saira'; src: url('../fontes/saira.woff2') format('woff2'); font-weight: 300 800; font-stretch: 75% 125%; font-display: swap; }

:root {
  --preto: #08070b;
  --estudio: #0f0e14;
  --grafite: #18161f;
  --linha: rgba(255, 255, 255, 0.1);
  --linha-forte: rgba(255, 255, 255, 0.22);
  --branco: #f1eff6;
  --cinza: #a8a3b6;
  --roxo: #6d32e0;
  --roxo-escuro: #5323b8;
  --roxo-texto: #b99bff;
  --ambar: #ffb547;
  --erro: #ff7a7a;
  --f-texto: 'Saira', system-ui, sans-serif;
  --margem: clamp(16px, 4vw, 40px);
  --largura: 1180px;
  --topo: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topo) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--preto); color: var(--branco);
  font-family: var(--f-texto); font-size: 1.0625rem; line-height: 1.6; overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--roxo); color: #fff; }
:focus-visible { outline: 2px solid var(--roxo-texto); outline-offset: 3px; }

[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pular { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 16px; background: var(--branco); color: var(--preto); font-weight: 700; transform: translateY(-160%); transition: transform 0.2s; }
.pular:focus { transform: none; }

.pendente-tag::after {
  content: 'a confirmar'; margin-left: 6px; padding: 0 5px; border: 1px dashed rgba(255, 181, 71, 0.7); border-radius: 3px;
  color: var(--ambar); font-size: 0.72em; font-weight: 500; vertical-align: middle; white-space: nowrap;
}
.pendente-tag:empty::after { margin-left: 0; }

/* ---------- logo (texto em SVG com a fonte do site) ---------- */
.logo-97 { font: 800 96px/1 var(--f-texto); font-stretch: 112%; fill: url(#roxo-logo); stroke: #fff; stroke-width: 5px; paint-order: stroke; letter-spacing: -6px; }
.logo-customs { font: 800 27px/1 var(--f-texto); font-stretch: 118%; fill: url(#roxo-logo); stroke: #fff; stroke-width: 3px; paint-order: stroke; letter-spacing: 0.5px; }
.logo { width: 132px; height: 42px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border: 0; border-radius: 6px; cursor: pointer;
  background: var(--roxo); color: #fff; font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: background 0.15s;
}
.btn:hover { background: var(--roxo-escuro); }
.btn:active { transform: translateY(1px); }
.btn .ico { transition: transform 0.2s; }
.btn:hover .ico use[href="#i-seta"] { transform: translateX(3px); }
.btn-pequeno { min-height: 40px; padding: 0 16px; font-size: 0.94rem; }
.btn-grande { min-height: 56px; font-size: 1.05rem; }
.btn-claro { background: transparent; border: 1px solid var(--linha-forte); color: var(--branco); }
.btn-claro:hover { background: rgba(255, 255, 255, 0.06); }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.link-seta { display: inline-flex; align-items: center; gap: 8px; color: var(--roxo-texto); font-weight: 600; text-decoration: none; }
.link-seta:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- topo ---------- */
.topo { position: sticky; top: 0; z-index: 20; height: var(--topo); background: rgba(8, 7, 11, 0.86); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.topo.rolou { border-bottom-color: var(--linha); }
.topo-dentro { max-width: var(--largura); height: 100%; margin: 0 auto; padding: 0 var(--margem); display: flex; align-items: center; gap: 24px; }
.marca { display: block; margin-right: auto; }
.menu { display: flex; gap: 22px; }
.menu a { color: var(--cinza); text-decoration: none; font-size: 0.96rem; }
.menu a:hover { color: var(--branco); }
@media (max-width: 640px) { .menu { display: none; } }

/* ---------- seções ---------- */
main > section { max-width: var(--largura); margin: 0 auto; padding: clamp(56px, 9vw, 110px) var(--margem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 700; font-stretch: 108%; letter-spacing: -0.01em; }
.secao-sub { color: var(--cinza); margin-top: 10px; }

/* abertura */
.abre { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(36px, 6vw, 72px) !important; }
.lugar { color: var(--roxo-texto); font-weight: 600; margin-bottom: 14px; }
.abre h1 { font-size: clamp(2.4rem, 6vw, 4.3rem); font-weight: 800; font-stretch: 110%; letter-spacing: -0.02em; }
.abre-sub { margin-top: 20px; color: var(--cinza); font-size: 1.12rem; max-width: 34em; }
.abre-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.abre-foto { margin: 0; position: relative; }
.abre-foto img { width: 100%; aspect-ratio: 640 / 630; object-fit: cover; border-radius: 10px; }
/* canto da película levantado, como quando o aplicador começa a tirar o liner */
.abre-foto::after {
  content: ''; position: absolute; top: 0; right: 0; width: 74px; height: 74px; border-top-right-radius: 10px;
  background: linear-gradient(225deg, var(--preto) 0 50%, rgba(235, 230, 255, 0.85) 50% 56%, rgba(190, 180, 230, 0.35) 70%, rgba(255, 255, 255, 0.08) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.abre-foto figcaption { margin-top: 10px; color: var(--cinza); font-size: 0.9rem; }
@media (max-width: 860px) { .abre { grid-template-columns: 1fr; } }

/* teste do risco */
.risco { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.risco-texto p { margin-top: 14px; color: var(--cinza); }
.risco-texto .nota { font-size: 0.92rem; border-left: 2px solid var(--roxo); padding-left: 14px; }
.risco-texto .btn { margin-top: 22px; }
.porta { position: relative; border-radius: 14px 40px 14px 14px; overflow: hidden; aspect-ratio: 16 / 10; background: #7a0b10; touch-action: none; cursor: crosshair; box-shadow: 0 0 0 1px var(--linha); }
.porta canvas { width: 100%; height: 100%; }
.porta-rotulo { position: absolute; top: 14px; padding: 4px 10px; border-radius: 4px; background: rgba(0, 0, 0, 0.55); font-size: 0.85rem; font-weight: 600; pointer-events: none; }
.porta-rotulo-e { left: 14px; }
.porta-rotulo-d { right: 14px; color: #e5dbff; }
.porta-dica { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); padding: 6px 14px; border-radius: 20px; background: rgba(0, 0, 0, 0.55); font-size: 0.9rem; pointer-events: none; transition: opacity 0.4s; }
.porta-dica.some { opacity: 0; }
@media (max-width: 860px) { .risco { grid-template-columns: 1fr; } }

/* serviços com o desenho */
.servicos-grade { display: grid; grid-template-columns: 220px minmax(180px, 260px) 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; margin-top: 36px; }
.abas { display: flex; flex-direction: column; gap: 6px; }
.abas button {
  text-align: left; padding: 12px 16px; border-radius: 6px; border: 1px solid var(--linha); background: var(--estudio);
  color: var(--cinza); cursor: pointer; font-weight: 600; transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.abas button:hover { color: var(--branco); border-color: var(--linha-forte); }
.abas button[aria-selected="true"] { color: #fff; background: var(--roxo); border-color: var(--roxo); }
.carro { width: 100%; max-height: 460px; }
.carro .carroceria { fill: #121117; stroke: #2e2b38; stroke-width: 2; }
.carro [data-peca] { fill: #1d1b25; stroke: #3a3647; stroke-width: 1.2; transition: fill 0.35s, stroke 0.35s; }
.carro .vidro { fill: #14202a; }
.carro .farol { fill: #2b2a33; }
.carro [data-peca].coberta { fill: rgba(125, 70, 255, 0.55); stroke: #c6adff; }
.carro .vidro.coberta { fill: rgba(125, 70, 255, 0.55); }
.carro.modo-fosco [data-peca].coberta { fill: url(#fosco); stroke: #9a8fb5; }
.carro.modo-wrap [data-peca].coberta { fill: #6d32e0; stroke: #a983ff; }
.carro-frente { font: 600 9px var(--f-texto); fill: var(--cinza); text-anchor: middle; }
.painel { background: var(--estudio); border: 1px solid var(--linha); border-radius: 10px; padding: clamp(20px, 3vw, 30px); }
.painel h3 { font-size: 1.6rem; font-weight: 700; }
.painel p { margin-top: 12px; color: var(--cinza); }
.painel-cobre span:first-child, .painel-moto::before { color: var(--branco); font-weight: 600; }
.painel .link-seta { margin-top: 20px; }
@media (max-width: 980px) {
  .servicos-grade { grid-template-columns: 1fr 1fr; }
  .abas { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .carro { max-height: 380px; }
}
@media (max-width: 600px) {
  .servicos-grade { grid-template-columns: 1fr; }
  .carro { max-height: 300px; }
}

/* trabalhos */
.trabalhos-topo { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; }
/* 4 colunas: alta + larga + alta fecha cada linha; a altura fixa evita que a foto larga estique as outras */
.galeria { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(300px, 36vw, 440px); gap: 28px 12px; }
.galeria li { min-height: 0; }
.galeria figure { margin: 0; height: 100%; display: grid; grid-template-rows: 1fr auto; }
.galeria img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 8px; }
.galeria .g-larga { grid-column: span 2; }
.galeria figcaption { margin-top: 8px; font-size: 0.88rem; color: var(--cinza); }
@media (max-width: 860px) {
  .galeria { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; grid-auto-flow: dense; }
  .galeria img { height: auto; aspect-ratio: 9 / 15; }
  .galeria .g-larga img { aspect-ratio: 4 / 3; }
}

/* orçamento */
.orcamento { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.orcamento-texto > p { margin-top: 14px; color: var(--cinza); }
.contato { margin: 28px 0 0; display: grid; gap: 14px; }
.contato div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--linha); }
.contato dt { color: var(--cinza); }
.contato dd { margin: 0; }
.ficha { background: var(--estudio); border: 1px solid var(--linha); border-radius: 12px; padding: clamp(20px, 3.5vw, 34px); display: grid; gap: 20px; }
.campo { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.campo > label, legend { font-weight: 600; padding: 0; }
legend { margin-bottom: 8px; }
.opcional { color: var(--cinza); font-weight: 400; }
input:not([type="checkbox"]):not([type="radio"]), textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 6px; border: 1px solid var(--linha-forte);
  background: var(--preto); font-size: 1rem;
}
textarea { resize: vertical; min-height: 90px; }
input::placeholder, textarea::placeholder { color: #6f6a7e; }
input:focus, textarea:focus { outline: 2px solid var(--roxo); outline-offset: 0; border-color: transparent; }
[aria-invalid="true"] { border-color: var(--erro) !important; }
.opcoes, .opcoes-linha { display: flex; flex-wrap: wrap; gap: 8px; }
.opcao { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.opcoes .opcao, .opcoes-linha .opcao { padding: 10px 14px; border: 1px solid var(--linha-forte); border-radius: 6px; }
.opcoes .opcao:has(input:checked), .opcoes-linha .opcao:has(input:checked) { border-color: var(--roxo-texto); background: rgba(109, 50, 224, 0.18); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--roxo); margin: 0; flex: none; }
.aceite { align-items: flex-start; font-size: 0.92rem; color: var(--cinza); }
.aceite input { margin-top: 3px; }
.aceite a { color: var(--roxo-texto); }
.campo-escondido { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.erro { color: var(--erro); font-weight: 500; }
.pronto { border-top: 1px solid var(--linha); padding-top: 20px; display: grid; gap: 12px; }
.pronto-titulo { font-size: 1.3rem; font-weight: 700; }
.pronto p:not(.pronto-titulo) { color: var(--cinza); }
@media (max-width: 860px) { .orcamento { grid-template-columns: 1fr; } }

/* dúvidas */
.lista-duvidas { margin-top: 28px; border-top: 1px solid var(--linha); max-width: 820px; }
details { border-bottom: 1px solid var(--linha); }
summary { cursor: pointer; padding: 20px 36px 20px 0; font-weight: 600; font-size: 1.1rem; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--roxo-texto); }
details[open] summary::after { content: '−'; }
details p { padding: 0 0 22px; color: var(--cinza); max-width: 60em; }

/* rodapé com o piso xadrez do estúdio */
.rodape { margin-top: 40px; border-top: 1px solid var(--linha); }
.xadrez { height: 14px; background: repeating-conic-gradient(#1c1a24 0 25%, #0b0a0f 0 50%) 0 0 / 14px 14px; }
.rodape-dentro { max-width: var(--largura); margin: 0 auto; padding: 36px var(--margem) 44px; display: grid; gap: 14px; color: var(--cinza); font-size: 0.95rem; }
.rodape a { color: var(--branco); }
.logo-rodape { width: 150px; height: 48px; }
.rodape-legal { font-size: 0.85rem; }

/* páginas de texto (privacidade) */
.texto-legal { max-width: 760px; margin: 0 auto; padding: 48px var(--margem) 80px; }
.texto-legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.texto-legal h2 { font-size: 1.35rem; margin-top: 36px; }
.texto-legal p, .texto-legal li { color: var(--cinza); margin-top: 12px; }
.texto-legal a { color: var(--roxo-texto); }
.texto-legal .atualizado { margin-top: 10px; font-size: 0.9rem; }
