/* Identidade Lupa Sistemas — ver marca/identidade.html */
:root {
  /* Cores do logo */
  --grafite: #1a1a1a;
  --salvia: #536c67;
  --brasa: #d45500;

  /* Derivadas */
  --papel: #faf8f5;
  --salvia-clara: #e9efed;
  --salvia-escura: #3e524e;
  --texto-suave: #5d6461;
  --linha: #e6e2dc;
  --branco: #ffffff;

  --fonte-titulo: "Anaheim", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --fonte-texto: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--papel);
  color: var(--grafite);
  font: 16px/1.65 var(--fonte-texto);
}

img { max-width: 100%; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

a { color: var(--salvia); text-underline-offset: 3px; }
a:hover { color: var(--salvia-escura); }

h1, h2, h3 { font-family: var(--fonte-titulo); font-weight: 400; }

/* Cabeçalho */
.topo {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 248, 245, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}
.topo-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-block; }
.brand img { display: block; height: 48px; width: auto; }
.menu { display: flex; gap: 24px; }
.menu a { color: var(--grafite); text-decoration: none; font-size: 15px; font-weight: 500; }
.menu a:hover { color: var(--brasa); }
@media (max-width: 480px) { .menu { gap: 14px; } .menu a { font-size: 14px; } }

/* Títulos e elementos da marca */
h1 {
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}

.traco {
  display: block;
  width: 64px;
  height: 3px;
  background: var(--brasa);
  margin: 24px 0;
  border: 0;
}

.lead {
  font-size: 18px;
  color: var(--texto-suave);
  margin: 0;
  max-width: 540px;
}

.rotulo {
  font-family: var(--fonte-titulo);
  font-weight: 400;
  font-size: 20px;
  color: var(--salvia);
  margin: 0 0 24px;
}
.rotulo::before { content: "<"; }
.rotulo::after { content: ">"; }
.rotulo-topo { margin-bottom: 12px; }

/* Botões */
.botoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.botao {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 8px;
  background: var(--grafite);
  color: var(--branco);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: background .15s;
}
.botao:hover { background: var(--salvia-escura); color: var(--branco); }
.botao-sec { background: transparent; color: var(--grafite); box-shadow: inset 0 0 0 1px var(--grafite); }
.botao-sec:hover { background: var(--grafite); }

/* Abertura */
.hero { padding: 56px 0 72px; }
.hero-in { display: grid; gap: 48px; align-items: center; }
@media (min-width: 880px) { .hero-in { grid-template-columns: 1fr 1.05fr; gap: 56px; } .hero { padding: 72px 0 96px; } }

.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: 6% 4%;
  background: radial-gradient(120% 90% at 70% 50%, var(--salvia-clara) 0%, rgba(233, 239, 237, 0) 70%);
  border-radius: 40px;
}

/* Telas dos produtos em fila, com profundidade; a que recebe o mouse se endireita (sem mudar a ordem) */
.colagem { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1 / .64; perspective: 1600px; }
.janela {
  --s: 1;
  position: absolute; top: 50%; width: 66%;
  background: var(--branco);
  border: 1px solid #dcdcd8; border-radius: 10px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(26, 26, 26, .16);
  transform-origin: left center;
  transform: translateY(-50%) rotateY(-16deg) scale(var(--s));
  transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
}
.j1 { left: 0;   --s: .84; z-index: 1; }
.j2 { left: 17%; --s: .92; z-index: 2; }
.j3 { left: 34%; --s: 1;   z-index: 3; }
/* Faixas fixas sobre a parte visível de cada tela, para o hover acertar a tela certa */
.zona { position: absolute; top: 0; bottom: 0; z-index: 20; }
.z1 { left: 0; width: 17%; }
.z2 { left: 17%; width: 17%; }
.z3 { left: 34%; right: 0; }
.zona:hover ~ .janela { filter: saturate(.7) brightness(.97); }
.z1:hover ~ .j1, .z2:hover ~ .j2, .z3:hover ~ .j3 {
  filter: none;
  transform: translateY(-50%) rotateY(0deg) scale(1.04);
  box-shadow: 0 28px 56px rgba(26, 26, 26, .24);
}
.janela img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.janela-barra { display: flex; align-items: center; gap: 4px; padding: 6px 9px; background: #f4f4f2; border-bottom: 1px solid #e3e3df; }
.janela-barra i { width: 6px; height: 6px; border-radius: 50%; background: #cfcfca; }
.janela-barra span { margin-left: 6px; font-size: 10px; color: #8a8f8d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (prefers-reduced-motion: reduce) { .janela { transition: none; } }

/* Fatos */
.fatos { border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); background: var(--branco); }
.fatos-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.fatos-in div { padding: 24px 0; }
.fatos-in b { display: block; font-family: var(--fonte-titulo); font-weight: 400; font-size: 28px; line-height: 1.2; }
.fatos-in span { color: var(--texto-suave); font-size: 14px; }

/* Blocos */
.bloco { padding: 88px 0; scroll-margin-top: 60px; }
.bloco-claro { background: var(--salvia-clara); }
.bloco-branco { background: var(--branco); border-top: 1px solid var(--linha); }

/* Produtos: um card por linha, imagem e texto alternando de lado */
.prods { display: flex; flex-direction: column; gap: 20px; }
.prod {
  display: grid; grid-template-columns: 1fr;
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: 14px;
  overflow: hidden;
  color: var(--grafite); text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
@media (min-width: 600px) {
  .prod { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; }
  .prod:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .prod:nth-child(even) .prod-tela { order: 2; }
}
.prod:hover { color: var(--grafite); transform: translateY(-3px); border-color: #d9d4cc; box-shadow: 0 14px 32px rgba(26, 26, 26, .08); }
.prod-tela { background: var(--salvia-clara); padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.prod-tela > * { width: 100%; max-width: 380px; margin-left: auto; margin-right: auto; }
.prod-barra {
  box-sizing: border-box; display: flex; align-items: center; gap: 5px;
  background: #f4f4f2; border: 1px solid #dcdcd8; border-bottom: 0;
  border-radius: 8px 8px 0 0; padding: 7px 10px;
}
.prod-barra i { width: 7px; height: 7px; border-radius: 50%; background: #cfcfca; }
.prod-barra span { margin-left: 8px; font-size: 11px; color: #8a8f8d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod-tela img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: 1px solid #dcdcd8; border-top: 0; border-radius: 0 0 6px 6px; box-shadow: 0 8px 20px rgba(26, 26, 26, .08); }
.prod-corpo { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 600px) { .prod-corpo { padding: 28px 32px; } .prod-tela { padding: 20px; } }
@media (min-width: 960px) { .prod-corpo { padding: 40px 48px; } .prod-tela { padding: 28px; } }
.prod-seg { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--salvia); }
.prod-corpo h3 { font-size: 30px; line-height: 1.1; margin: 6px 0 8px; }
.prod-corpo p { margin: 0 0 20px; color: var(--texto-suave); font-size: 16px; max-width: 460px; }
.prod-link { font-size: 14px; font-weight: 500; color: var(--salvia-escura); }
.prod-link::after { content: " →"; color: var(--brasa); transition: margin .15s; }
.prod:hover .prod-link::after { margin-left: 4px; }

/* Cards */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: 12px;
  padding: 26px;
  color: var(--grafite);
}
.card h3 { font-size: 26px; line-height: 1.15; margin: 0 0 8px; }
.card p { margin: 0; color: var(--texto-suave); }
.card-num { display: block; font-family: var(--fonte-titulo); color: var(--brasa); font-size: 18px; margin-bottom: 18px; }
.card-link { text-decoration: none; transition: border-color .15s, transform .15s; }
.card-link:hover { color: var(--grafite); border-color: var(--salvia); transform: translateY(-2px); }
.card-link p { color: var(--salvia-escura); font-weight: 500; }
.card-wa { position: relative; }
.card-icone, .wa-icone { width: 28px; height: 28px; display: block; margin-bottom: 14px; }
.card-icone { color: var(--salvia); }
.wa-icone { color: #25d366; }
.card-wa:hover { border-color: #25d366; }
.horario { color: var(--texto-suave); font-size: 14px; margin: 20px 0 0; }

/* Sobre */
.sobre-in { display: grid; gap: 24px; }
@media (min-width: 820px) { .sobre-in { grid-template-columns: 1fr 1.2fr; gap: 64px; } }
.sobre-destaque { font-family: var(--fonte-titulo); font-size: clamp(28px, 4vw, 38px); line-height: 1.15; margin: 0; }
.sobre-in p { margin-top: 0; }

/* Rodapé */
.rodape { background: var(--grafite); color: #b9bdbb; font-size: 14px; padding: 56px 0 0; }
.rodape a { color: #e3e6e4; text-decoration: none; }
.rodape a:hover { color: var(--branco); text-decoration: underline; }
.rodape-in { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: 40px; }
.rodape img { height: 44px; width: auto; }
.rodape h4 { color: var(--branco); font-family: var(--fonte-titulo); font-weight: 400; font-size: 18px; margin: 0 0 10px; }
.rodape p { margin: 12px 0 0; line-height: 1.9; }
.rodape h4 + p { margin-top: 0; }
.rodape-fim { border-top: 1px solid #2e2e2e; padding-top: 20px; padding-bottom: 28px; font-size: 13px; color: #8d9290; }

/* Páginas de texto (privacidade, termos) */
main.doc { padding: 56px 0 88px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(34px, 6vw, 46px); }
.doc .updated { color: var(--texto-suave); font-size: 14px; margin: 0 0 32px; }
.doc h2 {
  font-size: 24px;
  color: var(--salvia-escura);
  margin: 40px 0 8px;
}
.doc ul, .doc ol { padding-left: 20px; }
