/* ============================================================
   PLASMETAL FAVA — sistema "oficina de laca"
   primer claro · verniz quase-preto · vermelho-laca · nude fibra
   verde reservado EXCLUSIVAMENTE para CTAs de WhatsApp
   ============================================================ */

:root {
  --primer: #eae7e0;
  --primer-fundo: #f3f1ec;
  --verniz: #17150f;
  --verniz-suave: #2a2620;
  --laca: #c4331b;
  --laca-escura: #9c2712;
  --nude: #d9a98c;
  --fita: #b7b1a4;
  --zap: #1da851;
  --zap-escuro: #157c3c;

  --fonte-display: "Bricolage Grotesque", "Archivo", sans-serif;
  --fonte-corpo: "Archivo", system-ui, sans-serif;
  --fonte-mono: "Spline Sans Mono", monospace;

  --largura-max: 1120px;
  --raio: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--fonte-corpo);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--verniz);
  background: var(--primer-fundo);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--fonte-display);
  font-stretch: 87%;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

a { color: inherit; }

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

/* ---------- utilitários de marca ---------- */

.carimbo {
  font-family: var(--fonte-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--laca);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1rem;
}
.carimbo::before {
  content: "";
  width: 2.2em;
  height: 2px;
  background: var(--laca);
}
.carimbo-claro { color: var(--nude); }
.carimbo-claro::before { background: var(--nude); }

.grifo {
  color: var(--laca);
  font-style: normal;
}
.grifo-claro { color: var(--nude); font-style: normal; }

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--fonte-corpo);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.9em 1.6em;
  border-radius: var(--raio);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn svg { width: 1.3em; height: 1.3em; fill: currentColor; flex: none; }

.btn-zap {
  background: var(--zap);
  color: #fff;
  box-shadow: 0 4px 0 var(--zap-escuro);
}
.btn-zap:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--zap-escuro); }
.btn-zap:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--zap-escuro); }

.btn-fantasma {
  background: transparent;
  color: var(--verniz);
  border: 2px solid var(--verniz);
}
.btn-fantasma:hover { background: var(--verniz); color: var(--primer-fundo); }

.btn-grande { font-size: 1.2rem; padding: 1em 1.9em; }

/* ---------- topo ---------- */

.topo {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: var(--largura-max);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
}

.marca {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
}
.marca-simbolo { width: 34px; height: 34px; fill: var(--laca); flex: none; }
.marca-nome {
  font-family: var(--fonte-display);
  font-weight: 800;
  font-stretch: 87%;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.marca-nome em { font-style: normal; color: var(--laca); }

.topo-nav { display: flex; gap: 1.5rem; }
.topo-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
}
.topo-nav a:hover { border-bottom-color: var(--laca); }

.btn-topo { padding: 0.6em 1.1em; font-size: 0.9rem; }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--largura-max);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4.5rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.hero-apoio {
  font-size: 1.15rem;
  max-width: 34em;
  margin-bottom: 2rem;
  color: var(--verniz-suave);
}
.hero-apoio strong { color: var(--verniz); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1rem; }

.hero-micro {
  font-family: var(--fonte-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--verniz-suave);
}

/* ---------- comparador antes/depois (assinatura) ---------- */

.comparador { width: 100%; }

.comparador-palco {
  position: relative;
  aspect-ratio: 400 / 560;
  max-height: 560px;
  margin: 0 auto;
  background:
    radial-gradient(ellipse 75% 55% at 50% 88%, rgba(23, 21, 15, 0.14), transparent 70%),
    linear-gradient(180deg, var(--primer) 0%, #e0dcd2 100%);
  border-radius: var(--raio);
  overflow: hidden;
  touch-action: none;
  --corte: 50%;
}

.lado {
  position: absolute;
  inset: 0;
}
.lado svg { width: 100%; height: 100%; display: block; }

.lado-depois { clip-path: inset(0 0 0 var(--corte)); }

.etiqueta {
  position: absolute;
  top: 14px;
  font-family: var(--fonte-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.35em 0.8em;
}
.etiqueta-antes { left: 14px; background: var(--verniz); color: var(--primer); }
.etiqueta-depois { right: 14px; background: var(--laca); color: #fff; }

.divisor {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--corte);
  width: 4px;
  margin-left: -2px;
  background: var(--verniz);
  pointer-events: none;
}
.divisor-cabo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--verniz);
  border: 3px solid var(--primer-fundo);
  display: grid;
  place-items: center;
}
.divisor-cabo::before {
  content: "\2194";
  color: var(--primer);
  font-size: 1.1rem;
  font-weight: 700;
}

.comparador-controle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}

.comparador-legenda {
  font-family: var(--fonte-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--verniz-suave);
  margin-top: 0.8rem;
}

/* ---------- faixa ---------- */

.faixa {
  background: var(--laca);
  color: #fff;
  overflow: hidden;
  padding: 0.65rem 0;
}
.faixa p {
  font-family: var(--fonte-display);
  font-stretch: 87%;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ---------- seções ---------- */

.secao {
  max-width: var(--largura-max);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.secao-cabeca { max-width: 42em; margin-bottom: 3rem; }
.secao-cabeca h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  margin-bottom: 0.8rem;
}
.secao-apoio { color: var(--verniz-suave); font-size: 1.1rem; }

.secao-cta { margin-top: 3rem; text-align: center; }

/* ---------- fichas de serviço ---------- */

.fichas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ficha {
  background: #fff;
  border: 1px solid var(--fita);
  border-radius: var(--raio);
  overflow: hidden;
}
.ficha-visual { border-bottom: 1px solid var(--fita); }
.ficha-visual svg { width: 100%; height: auto; display: block; }
.ficha h3 {
  font-size: 1.2rem;
  font-weight: 700;
  padding: 1.1rem 1.2rem 0.3rem;
}
.ficha-troca {
  font-family: var(--fonte-mono);
  font-size: 0.82rem;
  padding: 0 1.2rem 1.2rem;
  color: var(--verniz-suave);
}
.ficha-troca s { color: var(--fita); }
.ficha-troca .seta { color: var(--laca); }

/* ---------- como funciona (escura) ---------- */

.secao-escura {
  max-width: none;
  background: var(--verniz);
  color: var(--primer);
}
.secao-escura .secao-cabeca,
.secao-escura .passos,
.secao-escura .secao-cta {
  max-width: var(--largura-max);
  margin-left: auto;
  margin-right: auto;
}
.secao-escura .secao-cabeca { margin-bottom: 3rem; }

.passos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  list-style: none;
  counter-reset: passo;
}

.passo { position: relative; padding-top: 0.5rem; }
.passo-num {
  font-family: var(--fonte-display);
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--nude);
  display: block;
  margin-bottom: 0.6rem;
}
.passo h3 { font-size: 1.35rem; margin-bottom: 0.5rem; color: #fff; }
.passo p { color: var(--fita); }
.passo strong { color: var(--nude); }

/* ---------- quanto custa ---------- */

.conta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.conta-lado {
  border-radius: var(--raio);
  padding: 2rem;
}
.conta-novo {
  background: #fff;
  border: 1px solid var(--fita);
}
.conta-reforma {
  background: var(--laca);
  color: #fff;
}

.conta-rotulo {
  font-family: var(--fonte-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.8rem;
}
.conta-novo .conta-rotulo { color: var(--verniz-suave); }

.conta-valor {
  font-family: var(--fonte-display);
  font-weight: 800;
  font-stretch: 87%;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 0.6rem;
}
.conta-a { font-size: 0.5em; font-weight: 400; }
.conta-nota { font-size: 0.92rem; opacity: 0.85; }

.conta-vs {
  align-self: center;
  font-family: var(--fonte-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--fita);
}

.conta-extra {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--verniz-suave);
}

/* ---------- locação + contrato ---------- */

.secao-locacao { padding-top: 0; }

.locacao-grade {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}
.locacao-grade .secao-cabeca { margin-bottom: 0; }

.locacao-lista {
  list-style: none;
  margin: 1.5rem 0 2rem;
}
.locacao-lista li {
  padding-left: 1.6em;
  position: relative;
  margin-bottom: 0.5rem;
}
.locacao-lista li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--laca);
  font-weight: 700;
}

.cartao-contrato {
  background: var(--verniz);
  color: var(--primer);
  border-radius: var(--raio);
  padding: 2rem;
  position: sticky;
  top: 1.5rem;
}
.cartao-contrato h3 { font-size: 1.5rem; color: #fff; margin-bottom: 0.7rem; }
.cartao-contrato p { color: var(--fita); margin-bottom: 1.2rem; }

.link-laca {
  color: var(--nude);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--laca);
  padding-bottom: 2px;
}
.link-laca:hover { color: #fff; }

/* ---------- dúvidas ---------- */

.duvidas { max-width: 46em; }

.duvidas details {
  border-bottom: 1px solid var(--fita);
}
.duvidas summary {
  font-family: var(--fonte-display);
  font-weight: 700;
  font-stretch: 90%;
  font-size: 1.15rem;
  padding: 1.2rem 2.5rem 1.2rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.duvidas summary::-webkit-details-marker { display: none; }
.duvidas summary::after {
  content: "+";
  position: absolute;
  right: 0.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--laca);
}
.duvidas details[open] summary::after { content: "\2212"; }
.duvidas details p {
  padding: 0 0 1.4rem;
  color: var(--verniz-suave);
  max-width: 40em;
}

/* ---------- fecho ---------- */

.fecho {
  background: var(--verniz);
  color: var(--primer);
  text-align: center;
  padding: 5.5rem 1.5rem;
}
.fecho h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  max-width: 18em;
  margin: 0 auto 1rem;
}
.fecho p { color: var(--fita); margin-bottom: 2.2rem; }

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

.rodape {
  background: #0f0d09;
  color: var(--fita);
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.92rem;
}
.rodape-marca {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--fonte-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.8rem;
}
.rodape-marca .marca-simbolo { width: 26px; height: 26px; }
.rodape-marca em { font-style: normal; color: var(--laca); }
.rodape p { margin-bottom: 0.3rem; }
.rodape-fino { font-size: 0.8rem; opacity: 0.7; }
.rodape a { color: var(--fita); }

/* ---------- botão flutuante ---------- */

.zap-flutuante {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--zap);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.8em 1.3em;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(23, 21, 15, 0.3);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.zap-flutuante svg { width: 1.3em; height: 1.3em; fill: currentColor; }
.zap-flutuante.visivel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ---------- revelação ao rolar ---------- */

.revelar {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.revelar.na-tela {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .revelar { opacity: 1; transform: none; }
}

/* ---------- responsivo ---------- */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 2rem; }
  .comparador-palco { max-width: 400px; }
  .fichas { grid-template-columns: 1fr; }
  .passos { grid-template-columns: 1fr; gap: 2.5rem; }
  .conta { grid-template-columns: 1fr; }
  .conta-vs { justify-self: center; }
  .locacao-grade { grid-template-columns: 1fr; }
  .cartao-contrato { position: static; }
  .topo-nav { display: none; }
}

@media (max-width: 480px) {
  .btn-topo span { display: none; }
  .hero h1 { font-size: 2.4rem; }
  .secao { padding: 3.5rem 1.25rem; }
  .marca-nome { font-size: 1.05rem; }
  .marca-simbolo { width: 28px; height: 28px; }
}
